From c84e6ffaf80d3139a0c434864613c96762e6eaf9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 31 Oct 2023 00:22:14 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2242) --- .../v1alpha/analyticsadmin-api.json | 22 +- analyticsadmin/v1alpha/analyticsadmin-gen.go | 56 +++++ analyticsadmin/v1beta/analyticsadmin-api.json | 22 +- analyticsadmin/v1beta/analyticsadmin-gen.go | 56 +++++ .../v1/androiddeviceprovisioning-api.json | 16 +- .../v1/androiddeviceprovisioning-gen.go | 46 ++-- .../v1/androidmanagement-api.json | 18 +- androidmanagement/v1/androidmanagement-gen.go | 37 +++- androidpublisher/v3/androidpublisher-api.json | 15 +- androidpublisher/v3/androidpublisher-gen.go | 3 - apigee/v1/apigee-api.json | 66 +++--- apigee/v1/apigee-gen.go | 170 +++++++-------- billingbudgets/v1/billingbudgets-api.json | 15 +- billingbudgets/v1/billingbudgets-gen.go | 11 + .../v1beta1/billingbudgets-api.json | 15 +- billingbudgets/v1beta1/billingbudgets-gen.go | 11 + content/v2.1/content-api.json | 65 ++++-- content/v2.1/content-gen.go | 112 ++++++++-- documentai/v1/documentai-api.json | 13 +- documentai/v1/documentai-gen.go | 16 +- documentai/v1beta2/documentai-api.json | 13 +- documentai/v1beta2/documentai-gen.go | 16 +- documentai/v1beta3/documentai-api.json | 27 +-- documentai/v1beta3/documentai-gen.go | 48 ++--- .../v1/mybusinesslodging-api.json | 19 +- mybusinesslodging/v1/mybusinesslodging-gen.go | 20 +- places/v1/places-api.json | 8 +- places/v1/places-gen.go | 16 +- .../v1/servicenetworking-api.json | 44 +++- servicenetworking/v1/servicenetworking-gen.go | 201 ++++++++++++++++++ 30 files changed, 901 insertions(+), 296 deletions(-) diff --git a/analyticsadmin/v1alpha/analyticsadmin-api.json b/analyticsadmin/v1alpha/analyticsadmin-api.json index 4bfe9575289..8fe6f4f15f2 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-api.json +++ b/analyticsadmin/v1alpha/analyticsadmin-api.json @@ -4298,7 +4298,7 @@ } } }, - "revision": "20231018", + "revision": "20231027", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { @@ -5822,6 +5822,10 @@ "readOnly": true, "type": "boolean" }, + "defaultConversionValue": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue", + "description": "Optional. Defines a default value/currency for a conversion event." + }, "deletable": { "description": "Output only. If set, this event can currently be deleted with DeleteConversionEvent.", "readOnly": true, @@ -5839,6 +5843,22 @@ }, "type": "object" }, + "GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue": { + "description": "Defines a default value/currency for a conversion event. Both value and currency must be provided.", + "id": "GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue", + "properties": { + "currencyCode": { + "description": "When a conversion event for this event_name has no set currency, this currency will be applied as the default. Must be in ISO 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more.", + "type": "string" + }, + "value": { + "description": "This value will be used to populate the value for all conversions of the specified event_name where the event \"value\" parameter is unset.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "GoogleAnalyticsAdminV1alphaConversionValues": { "description": "Conversion value settings for a postback window for SKAdNetwork conversion value schema.", "id": "GoogleAnalyticsAdminV1alphaConversionValues", diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index 97f54330d2b..f993f3d20f3 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -3093,6 +3093,10 @@ type GoogleAnalyticsAdminV1alphaConversionEvent struct { // created per property. Custom bool `json:"custom,omitempty"` + // DefaultConversionValue: Optional. Defines a default value/currency + // for a conversion event. + DefaultConversionValue *GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue `json:"defaultConversionValue,omitempty"` + // Deletable: Output only. If set, this event can currently be deleted // with DeleteConversionEvent. Deletable bool `json:"deletable,omitempty"` @@ -3133,6 +3137,58 @@ func (s *GoogleAnalyticsAdminV1alphaConversionEvent) MarshalJSON() ([]byte, erro return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue: +// Defines a default value/currency for a conversion event. Both value +// and currency must be provided. +type GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue struct { + // CurrencyCode: When a conversion event for this event_name has no set + // currency, this currency will be applied as the default. Must be in + // ISO 4217 currency code format. See + // https://en.wikipedia.org/wiki/ISO_4217 for more. + CurrencyCode string `json:"currencyCode,omitempty"` + + // Value: This value will be used to populate the value for all + // conversions of the specified event_name where the event "value" + // parameter is unset. + Value float64 `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrencyCode") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CurrencyCode") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue) UnmarshalJSON(data []byte) error { + type NoMethod GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue + var s1 struct { + Value gensupport.JSONFloat64 `json:"value"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Value = float64(s1.Value) + return nil +} + // GoogleAnalyticsAdminV1alphaConversionValues: Conversion value // settings for a postback window for SKAdNetwork conversion value // schema. diff --git a/analyticsadmin/v1beta/analyticsadmin-api.json b/analyticsadmin/v1beta/analyticsadmin-api.json index 5f76b5ebd95..af9a0a7e74c 100644 --- a/analyticsadmin/v1beta/analyticsadmin-api.json +++ b/analyticsadmin/v1beta/analyticsadmin-api.json @@ -1628,7 +1628,7 @@ } } }, - "revision": "20231004", + "revision": "20231027", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1betaAccessBetweenFilter": { @@ -2241,6 +2241,10 @@ "readOnly": true, "type": "boolean" }, + "defaultConversionValue": { + "$ref": "GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue", + "description": "Optional. Defines a default value/currency for a conversion event." + }, "deletable": { "description": "Output only. If set, this event can currently be deleted with DeleteConversionEvent.", "readOnly": true, @@ -2258,6 +2262,22 @@ }, "type": "object" }, + "GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue": { + "description": "Defines a default value/currency for a conversion event. Both value and currency must be provided.", + "id": "GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue", + "properties": { + "currencyCode": { + "description": "When a conversion event for this event_name has no set currency, this currency will be applied as the default. Must be in ISO 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more.", + "type": "string" + }, + "value": { + "description": "This value will be used to populate the value for all conversions of the specified event_name where the event \"value\" parameter is unset.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "GoogleAnalyticsAdminV1betaCustomDimension": { "description": "A definition for a CustomDimension.", "id": "GoogleAnalyticsAdminV1betaCustomDimension", diff --git a/analyticsadmin/v1beta/analyticsadmin-gen.go b/analyticsadmin/v1beta/analyticsadmin-gen.go index fc889d6e8b8..745911577f7 100644 --- a/analyticsadmin/v1beta/analyticsadmin-gen.go +++ b/analyticsadmin/v1beta/analyticsadmin-gen.go @@ -1339,6 +1339,10 @@ type GoogleAnalyticsAdminV1betaConversionEvent struct { // created per property. Custom bool `json:"custom,omitempty"` + // DefaultConversionValue: Optional. Defines a default value/currency + // for a conversion event. + DefaultConversionValue *GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue `json:"defaultConversionValue,omitempty"` + // Deletable: Output only. If set, this event can currently be deleted // with DeleteConversionEvent. Deletable bool `json:"deletable,omitempty"` @@ -1379,6 +1383,58 @@ func (s *GoogleAnalyticsAdminV1betaConversionEvent) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue: +// Defines a default value/currency for a conversion event. Both value +// and currency must be provided. +type GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue struct { + // CurrencyCode: When a conversion event for this event_name has no set + // currency, this currency will be applied as the default. Must be in + // ISO 4217 currency code format. See + // https://en.wikipedia.org/wiki/ISO_4217 for more. + CurrencyCode string `json:"currencyCode,omitempty"` + + // Value: This value will be used to populate the value for all + // conversions of the specified event_name where the event "value" + // parameter is unset. + Value float64 `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CurrencyCode") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "CurrencyCode") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue) UnmarshalJSON(data []byte) error { + type NoMethod GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue + var s1 struct { + Value gensupport.JSONFloat64 `json:"value"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Value = float64(s1.Value) + return nil +} + // GoogleAnalyticsAdminV1betaCustomDimension: A definition for a // CustomDimension. type GoogleAnalyticsAdminV1betaCustomDimension struct { diff --git a/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json b/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json index bc03927bb48..43d7e312c06 100644 --- a/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json +++ b/androiddeviceprovisioning/v1/androiddeviceprovisioning-api.json @@ -851,13 +851,18 @@ } } }, - "revision": "20230906", + "revision": "20231029", "rootUrl": "https://androiddeviceprovisioning.googleapis.com/", "schemas": { "ClaimDeviceRequest": { "description": "Request message to claim a device on behalf of a customer.", "id": "ClaimDeviceRequest", "properties": { + "configurationId": { + "description": "Optional. The unique identifier of the configuration (internally known as profile) to set for the section.", + "format": "int64", + "type": "string" + }, "customerId": { "description": "The ID of the customer for whom the device is being claimed.", "format": "int64", @@ -894,7 +899,7 @@ "type": "string" }, "simlockProfileId": { - "description": "Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile.", + "description": "Optional. ", "format": "int64", "type": "string" } @@ -1709,6 +1714,11 @@ "description": "Identifies one claim request.", "id": "PartnerClaim", "properties": { + "configurationId": { + "description": "Optional. The unique identifier of the configuration (internally known as profile) to set for the section.", + "format": "int64", + "type": "string" + }, "customerId": { "description": "The ID of the customer for whom the device is being claimed.", "format": "int64", @@ -1745,7 +1755,7 @@ "type": "string" }, "simlockProfileId": { - "description": "Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile.", + "description": "Optional. ", "format": "int64", "type": "string" } diff --git a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go index 990f836a89b..4abef7a3eb2 100644 --- a/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go +++ b/androiddeviceprovisioning/v1/androiddeviceprovisioning-gen.go @@ -259,6 +259,10 @@ type PartnersVendorsCustomersService struct { // ClaimDeviceRequest: Request message to claim a device on behalf of a // customer. type ClaimDeviceRequest struct { + // ConfigurationId: Optional. The unique identifier of the configuration + // (internally known as profile) to set for the section. + ConfigurationId int64 `json:"configurationId,omitempty,string"` + // CustomerId: The ID of the customer for whom the device is being // claimed. CustomerId int64 `json:"customerId,omitempty,string"` @@ -286,12 +290,10 @@ type ClaimDeviceRequest struct { // "SECTION_TYPE_ZERO_TOUCH" - Zero-touch enrollment section type. SectionType string `json:"sectionType,omitempty"` - // SimlockProfileId: Optional. Must and can only be set when - // DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique - // identifier of the SimLock profile. + // SimlockProfileId: Optional. SimlockProfileId int64 `json:"simlockProfileId,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "CustomerId") to + // ForceSendFields is a list of field names (e.g. "ConfigurationId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -299,12 +301,13 @@ type ClaimDeviceRequest struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CustomerId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ConfigurationId") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -1739,6 +1742,10 @@ func (s *OperationPerDevice) MarshalJSON() ([]byte, error) { // PartnerClaim: Identifies one claim request. type PartnerClaim struct { + // ConfigurationId: Optional. The unique identifier of the configuration + // (internally known as profile) to set for the section. + ConfigurationId int64 `json:"configurationId,omitempty,string"` + // CustomerId: The ID of the customer for whom the device is being // claimed. CustomerId int64 `json:"customerId,omitempty,string"` @@ -1767,12 +1774,10 @@ type PartnerClaim struct { // "SECTION_TYPE_ZERO_TOUCH" - Zero-touch enrollment section type. SectionType string `json:"sectionType,omitempty"` - // SimlockProfileId: Optional. Must and can only be set when - // DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique - // identifier of the SimLock profile. + // SimlockProfileId: Optional. SimlockProfileId int64 `json:"simlockProfileId,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "CustomerId") to + // ForceSendFields is a list of field names (e.g. "ConfigurationId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1780,12 +1785,13 @@ type PartnerClaim struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CustomerId") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "ConfigurationId") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index 2ea24c9a1ba..44800c6e74c 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1095,7 +1095,7 @@ } } }, - "revision": "20231016", + "revision": "20231025", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -1568,7 +1568,7 @@ ], "enumDescriptions": [ "Unspecified. Defaults to AUTO_UPDATE_DEFAULT.", - "The app is automatically updated with low priority to minimize the impact on the user.The app is updated when all of the following constraints are met: The device is not actively used. The device is connected to an unmetered network. The device is charging.The device is notified about a new update within 24 hours after it is published by the developer, after which the app is updated the next time the constraints above are met.", + "The default update mode.The app is automatically updated with low priority to minimize the impact on the user.The app is updated when all of the following constraints are met: The device is not actively used. The device is connected to an unmetered network. The device is charging. The app to be updated is not running in the foreground.The device is notified about a new update within 24 hours after it is published by the developer, after which the app is updated the next time the constraints above are met.", "The app is not automatically updated for a maximum of 90 days after the app becomes out of date.90 days after the app becomes out of date, the latest available version is installed automatically with low priority (see AUTO_UPDATE_DEFAULT). After the app is updated it is not automatically updated again until 90 days after it becomes out of date again.The user can still manually update the app from the Play Store at any time.", "The app is updated as soon as possible. No constraints are applied.The device is notified immediately about a new update after it becomes available." ], @@ -1657,7 +1657,7 @@ "enumDescriptions": [ "Unspecified. Defaults to AVAILABLE.", "The app is automatically installed and can be removed by the user.", - "The app is automatically installed and can't be removed by the user.", + "The app is automatically installed regardless of a set maintenance window and can't be removed by the user.", "The app is blocked and can't be installed. If the app was installed under a previous policy, it will be uninstalled. This also blocks its instant app functionality.", "The app is available to install.", "The app is automatically installed and can't be removed by the user and will prevent setup from completion until installation is complete.", @@ -2021,7 +2021,7 @@ "type": "string" }, "newPassword": { - "description": "For commands of type RESET_PASSWORD, optionally specifies the new password.", + "description": "For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new password must be at least 6 characters long if it is numeric in case of Android 14 devices. Else the command will fail with INVALID_VALUE.", "type": "string" }, "resetPasswordFlags": { @@ -3850,7 +3850,9 @@ "NOT_AVAILABLE_IN_COUNTRY", "NO_LICENSES_REMAINING", "NOT_ENROLLED", - "USER_INVALID" + "USER_INVALID", + "NETWORK_ERROR_UNRELIABLE_CONNECTION", + "INSUFFICIENT_STORAGE" ], "enumDescriptions": [ "This value is disallowed.", @@ -3863,7 +3865,9 @@ "The app is not available in the user's country.", "There are no licenses available to assign to the user.", "The enterprise is no longer enrolled with Managed Google Play or the admin has not accepted the latest Managed Google Play Terms of Service.", - "The user is no longer valid. The user may have been deleted or disabled." + "The user is no longer valid. The user may have been deleted or disabled.", + "A network error on the user's device has prevented the install from succeeding. This usually happens when the device's internet connectivity is degraded, unavailable or there's a network configuration issue. Please ensure the device has access to full internet connectivity on a network that meets Android Enterprise Network Requirements (https://support.google.com/work/android/answer/10513641). App install or update will automatically resume once this is the case.", + "The user's device does not have sufficient storage space to install the app. This can be resolved by clearing up storage space on the device. App install or update will automatically resume once the device has sufficient storage." ], "type": "string" }, @@ -5591,7 +5595,7 @@ "Follow the default update behavior for the device, which typically requires the user to accept system updates.", "Install automatically as soon as an update is available.", "Install automatically within a daily maintenance window. This also configures Play apps to be updated within the window. This is strongly recommended for kiosk devices because this is the only way apps persistently pinned to the foreground can be updated by Play.If autoUpdateMode is set to AUTO_UPDATE_HIGH_PRIORITY for an app, then the maintenance window is ignored for that app and it is updated as soon as possible even outside of the maintenance window.", - "Postpone automatic install up to a maximum of 30 days." + "Postpone automatic install up to a maximum of 30 days. This policy does not affect security updates (e.g. monthly security patches)." ], "type": "string" } diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index d58c6b80a5a..9e67e54237f 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -878,13 +878,14 @@ type ApplicationPolicy struct { // Possible values: // "AUTO_UPDATE_MODE_UNSPECIFIED" - Unspecified. Defaults to // AUTO_UPDATE_DEFAULT. - // "AUTO_UPDATE_DEFAULT" - The app is automatically updated with low - // priority to minimize the impact on the user.The app is updated when - // all of the following constraints are met: The device is not actively - // used. The device is connected to an unmetered network. The device is - // charging.The device is notified about a new update within 24 hours - // after it is published by the developer, after which the app is - // updated the next time the constraints above are met. + // "AUTO_UPDATE_DEFAULT" - The default update mode.The app is + // automatically updated with low priority to minimize the impact on the + // user.The app is updated when all of the following constraints are + // met: The device is not actively used. The device is connected to an + // unmetered network. The device is charging. The app to be updated is + // not running in the foreground.The device is notified about a new + // update within 24 hours after it is published by the developer, after + // which the app is updated the next time the constraints above are met. // "AUTO_UPDATE_POSTPONED" - The app is not automatically updated for // a maximum of 90 days after the app becomes out of date.90 days after // the app becomes out of date, the latest available version is @@ -993,8 +994,8 @@ type ApplicationPolicy struct { // "INSTALL_TYPE_UNSPECIFIED" - Unspecified. Defaults to AVAILABLE. // "PREINSTALLED" - The app is automatically installed and can be // removed by the user. - // "FORCE_INSTALLED" - The app is automatically installed and can't be - // removed by the user. + // "FORCE_INSTALLED" - The app is automatically installed regardless + // of a set maintenance window and can't be removed by the user. // "BLOCKED" - The app is blocked and can't be installed. If the app // was installed under a previous policy, it will be uninstalled. This // also blocks its instant app functionality. @@ -1562,7 +1563,9 @@ type Command struct { ErrorCode string `json:"errorCode,omitempty"` // NewPassword: For commands of type RESET_PASSWORD, optionally - // specifies the new password. + // specifies the new password. Note: The new password must be at least 6 + // characters long if it is numeric in case of Android 14 devices. Else + // the command will fail with INVALID_VALUE. NewPassword string `json:"newPassword,omitempty"` // ResetPasswordFlags: For commands of type RESET_PASSWORD, optionally @@ -4397,6 +4400,18 @@ type NonComplianceDetail struct { // Play Terms of Service. // "USER_INVALID" - The user is no longer valid. The user may have // been deleted or disabled. + // "NETWORK_ERROR_UNRELIABLE_CONNECTION" - A network error on the + // user's device has prevented the install from succeeding. This usually + // happens when the device's internet connectivity is degraded, + // unavailable or there's a network configuration issue. Please ensure + // the device has access to full internet connectivity on a network that + // meets Android Enterprise Network Requirements + // (https://support.google.com/work/android/answer/10513641). App + // install or update will automatically resume once this is the case. + // "INSUFFICIENT_STORAGE" - The user's device does not have sufficient + // storage space to install the app. This can be resolved by clearing up + // storage space on the device. App install or update will automatically + // resume once the device has sufficient storage. InstallationFailureReason string `json:"installationFailureReason,omitempty"` // NonComplianceReason: The reason the device is not in compliance with @@ -6756,6 +6771,8 @@ type SystemUpdate struct { // it is updated as soon as possible even outside of the maintenance // window. // "POSTPONE" - Postpone automatic install up to a maximum of 30 days. + // This policy does not affect security updates (e.g. monthly security + // patches). Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "EndMinutes") to diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index 090fb25712b..9978d12ebff 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -4047,7 +4047,7 @@ } } }, - "revision": "20231012", + "revision": "20231030", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -5413,8 +5413,7 @@ "CAN_MANAGE_ORDERS", "CAN_MANAGE_APP_CONTENT", "CAN_VIEW_NON_FINANCIAL_DATA", - "CAN_VIEW_APP_QUALITY", - "CAN_MANAGE_DEEPLINKS" + "CAN_VIEW_APP_QUALITY" ], "enumDeprecated": [ false, @@ -5430,7 +5429,6 @@ false, false, false, - false, false ], "enumDescriptions": [ @@ -5447,8 +5445,7 @@ "Manage orders and subscriptions.", "Manage policy related pages.", "View app information (read-only).", - "View app quality data such as Vitals, Crashes etc.", - "Manage the deep links setup of an app." + "View app quality data such as Vitals, Crashes etc." ], "type": "string" }, @@ -7762,8 +7759,7 @@ "CAN_MANAGE_ORDERS_GLOBAL", "CAN_MANAGE_APP_CONTENT_GLOBAL", "CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL", - "CAN_VIEW_APP_QUALITY_GLOBAL", - "CAN_MANAGE_DEEPLINKS_GLOBAL" + "CAN_VIEW_APP_QUALITY_GLOBAL" ], "enumDescriptions": [ "Unknown or unspecified permission.", @@ -7783,8 +7779,7 @@ "Manage orders and subscriptions.", "Manage policy related pages on all apps for the developer.", "View app information and download bulk reports (read-only).", - "View app quality information for all apps for the developer.", - "Manage the deep links setup for all apps for the developer." + "View app quality information for all apps for the developer." ], "type": "string" }, diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index 99853578f69..a058737386b 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -2829,7 +2829,6 @@ type Grant struct { // "CAN_VIEW_NON_FINANCIAL_DATA" - View app information (read-only). // "CAN_VIEW_APP_QUALITY" - View app quality data such as Vitals, // Crashes etc. - // "CAN_MANAGE_DEEPLINKS" - Manage the deep links setup of an app. AppLevelPermissions []string `json:"appLevelPermissions,omitempty"` // Name: Required. Resource name for this grant, following the pattern @@ -6955,8 +6954,6 @@ type User struct { // download bulk reports (read-only). // "CAN_VIEW_APP_QUALITY_GLOBAL" - View app quality information for // all apps for the developer. - // "CAN_MANAGE_DEEPLINKS_GLOBAL" - Manage the deep links setup for all - // apps for the developer. DeveloperAccountPermissions []string `json:"developerAccountPermissions,omitempty"` // Email: Immutable. The user's email address. diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index 3c69d708f00..c47918ac735 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -9458,10 +9458,10 @@ }, "path": "v1/{+parent}/apicategories", "request": { - "$ref": "GoogleCloudApigeeV1ApiCategoryData" + "$ref": "GoogleCloudApigeeV1ApiCategory" }, "response": { - "$ref": "GoogleCloudApigeeV1ApiCategory" + "$ref": "GoogleCloudApigeeV1ApiCategoryResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -9511,7 +9511,7 @@ }, "path": "v1/{+name}", "response": { - "$ref": "GoogleCloudApigeeV1ApiCategory" + "$ref": "GoogleCloudApigeeV1ApiCategoryResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -9561,10 +9561,10 @@ }, "path": "v1/{+name}", "request": { - "$ref": "GoogleCloudApigeeV1ApiCategoryData" + "$ref": "GoogleCloudApigeeV1ApiCategory" }, "response": { - "$ref": "GoogleCloudApigeeV1ApiCategory" + "$ref": "GoogleCloudApigeeV1ApiCategoryResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" @@ -9609,7 +9609,7 @@ } } }, - "revision": "20231016", + "revision": "20231030", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -9898,51 +9898,51 @@ "type": "object" }, "GoogleCloudApigeeV1ApiCategory": { - "description": "The API category resource wrapped with response status, error_code, etc.", + "description": "`ApiCategory` represents an API category. [Catalog items](/apigee/docs/reference/apis/apigee/rest/v1/organizations.sites.apidocs) can be tagged with API categories; users viewing the API catalog in the portal will have the option to browse the catalog by category.", "id": "GoogleCloudApigeeV1ApiCategory", "properties": { - "data": { - "$ref": "GoogleCloudApigeeV1ApiCategoryData", - "description": "Details of the category." - }, - "errorCode": { - "description": "Unique error code for the request, if any.", + "id": { + "description": "ID of the category (a UUID).", "type": "string" }, - "message": { - "description": "Description of the operation.", + "name": { + "description": "Name of the category.", "type": "string" }, - "requestId": { - "description": "Unique ID of the request.", + "siteId": { + "description": "Name of the portal.", "type": "string" }, - "status": { - "description": "Status of the operation.", + "updateTime": { + "description": "Time the category was last modified in milliseconds since epoch.", + "format": "int64", "type": "string" } }, "type": "object" }, - "GoogleCloudApigeeV1ApiCategoryData": { - "description": "`ApiCategoryData` represents an API category. Catalog items can be tagged with API categories; users viewing the API catalog in the portal will have the option to browse the catalog by category.", - "id": "GoogleCloudApigeeV1ApiCategoryData", + "GoogleCloudApigeeV1ApiCategoryResponse": { + "description": "The API category resource wrapped with response status, error_code, etc.", + "id": "GoogleCloudApigeeV1ApiCategoryResponse", "properties": { - "id": { - "description": "ID of the category (a UUID).", + "data": { + "$ref": "GoogleCloudApigeeV1ApiCategory", + "description": "The API category resource." + }, + "errorCode": { + "description": "Unique error code for the request, if any.", "type": "string" }, - "name": { - "description": "Name of the category.", + "message": { + "description": "Description of the operation.", "type": "string" }, - "siteId": { - "description": "Name of the portal.", + "requestId": { + "description": "Unique ID of the request.", "type": "string" }, - "updateTime": { - "description": "Time the category was last modified in milliseconds since epoch.", - "format": "int64", + "status": { + "description": "Status of the operation.", "type": "string" } }, @@ -13251,9 +13251,9 @@ "id": "GoogleCloudApigeeV1ListApiCategoriesResponse", "properties": { "data": { - "description": "Details of the categories.", + "description": "The API category resources.", "items": { - "$ref": "GoogleCloudApigeeV1ApiCategoryData" + "$ref": "GoogleCloudApigeeV1ApiCategory" }, "type": "array" }, diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index 25a48870107..b82209690ec 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -1731,29 +1731,26 @@ func (s *GoogleCloudApigeeV1AnalyticsConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudApigeeV1ApiCategory: The API category resource wrapped -// with response status, error_code, etc. +// GoogleCloudApigeeV1ApiCategory: `ApiCategory` represents an API +// category. Catalog items +// (/apigee/docs/reference/apis/apigee/rest/v1/organizations.sites.apidoc +// s) can be tagged with API categories; users viewing the API catalog +// in the portal will have the option to browse the catalog by category. type GoogleCloudApigeeV1ApiCategory struct { - // Data: Details of the category. - Data *GoogleCloudApigeeV1ApiCategoryData `json:"data,omitempty"` - - // ErrorCode: Unique error code for the request, if any. - ErrorCode string `json:"errorCode,omitempty"` - - // Message: Description of the operation. - Message string `json:"message,omitempty"` + // Id: ID of the category (a UUID). + Id string `json:"id,omitempty"` - // RequestId: Unique ID of the request. - RequestId string `json:"requestId,omitempty"` + // Name: Name of the category. + Name string `json:"name,omitempty"` - // Status: Status of the operation. - Status string `json:"status,omitempty"` + // SiteId: Name of the portal. + SiteId string `json:"siteId,omitempty"` - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` + // UpdateTime: Time the category was last modified in milliseconds since + // epoch. + UpdateTime int64 `json:"updateTime,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "Data") to + // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1761,7 +1758,7 @@ type GoogleCloudApigeeV1ApiCategory struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Data") to include in API + // NullFields is a list of field names (e.g. "Id") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1776,25 +1773,29 @@ func (s *GoogleCloudApigeeV1ApiCategory) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudApigeeV1ApiCategoryData: `ApiCategoryData` represents an -// API category. Catalog items can be tagged with API categories; users -// viewing the API catalog in the portal will have the option to browse -// the catalog by category. -type GoogleCloudApigeeV1ApiCategoryData struct { - // Id: ID of the category (a UUID). - Id string `json:"id,omitempty"` +// GoogleCloudApigeeV1ApiCategoryResponse: The API category resource +// wrapped with response status, error_code, etc. +type GoogleCloudApigeeV1ApiCategoryResponse struct { + // Data: The API category resource. + Data *GoogleCloudApigeeV1ApiCategory `json:"data,omitempty"` - // Name: Name of the category. - Name string `json:"name,omitempty"` + // ErrorCode: Unique error code for the request, if any. + ErrorCode string `json:"errorCode,omitempty"` - // SiteId: Name of the portal. - SiteId string `json:"siteId,omitempty"` + // Message: Description of the operation. + Message string `json:"message,omitempty"` - // UpdateTime: Time the category was last modified in milliseconds since - // epoch. - UpdateTime int64 `json:"updateTime,omitempty,string"` + // RequestId: Unique ID of the request. + RequestId string `json:"requestId,omitempty"` - // ForceSendFields is a list of field names (e.g. "Id") to + // Status: Status of the operation. + Status string `json:"status,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Data") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1802,7 +1803,7 @@ type GoogleCloudApigeeV1ApiCategoryData struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") to include in API + // NullFields is a list of field names (e.g. "Data") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as @@ -1811,8 +1812,8 @@ type GoogleCloudApigeeV1ApiCategoryData struct { NullFields []string `json:"-"` } -func (s *GoogleCloudApigeeV1ApiCategoryData) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudApigeeV1ApiCategoryData +func (s *GoogleCloudApigeeV1ApiCategoryResponse) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudApigeeV1ApiCategoryResponse raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -6515,8 +6516,8 @@ func (s *GoogleCloudApigeeV1KeystoreConfig) MarshalJSON() ([]byte, error) { // GoogleCloudApigeeV1ListApiCategoriesResponse: The response for // `ListApiCategoriesRequest`. type GoogleCloudApigeeV1ListApiCategoriesResponse struct { - // Data: Details of the categories. - Data []*GoogleCloudApigeeV1ApiCategoryData `json:"data,omitempty"` + // Data: The API category resources. + Data []*GoogleCloudApigeeV1ApiCategory `json:"data,omitempty"` // ErrorCode: Unique error code for the request, if any. ErrorCode string `json:"errorCode,omitempty"` @@ -60401,22 +60402,22 @@ func (c *OrganizationsSharedflowsRevisionsDeploymentsListCall) Do(opts ...google // method id "apigee.organizations.sites.apicategories.create": type OrganizationsSitesApicategoriesCreateCall struct { - s *Service - parent string - googlecloudapigeev1apicategorydata *GoogleCloudApigeeV1ApiCategoryData - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header + s *Service + parent string + googlecloudapigeev1apicategory *GoogleCloudApigeeV1ApiCategory + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } // Create: Creates a new API category. // // - parent: Name of the portal. Use the following structure in your // request: `organizations/{org}/sites/{site}`. -func (r *OrganizationsSitesApicategoriesService) Create(parent string, googlecloudapigeev1apicategorydata *GoogleCloudApigeeV1ApiCategoryData) *OrganizationsSitesApicategoriesCreateCall { +func (r *OrganizationsSitesApicategoriesService) Create(parent string, googlecloudapigeev1apicategory *GoogleCloudApigeeV1ApiCategory) *OrganizationsSitesApicategoriesCreateCall { c := &OrganizationsSitesApicategoriesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent - c.googlecloudapigeev1apicategorydata = googlecloudapigeev1apicategorydata + c.googlecloudapigeev1apicategory = googlecloudapigeev1apicategory return c } @@ -60453,7 +60454,7 @@ func (c *OrganizationsSitesApicategoriesCreateCall) doRequest(alt string) (*http } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudapigeev1apicategorydata) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudapigeev1apicategory) if err != nil { return nil, err } @@ -60474,13 +60475,14 @@ func (c *OrganizationsSitesApicategoriesCreateCall) doRequest(alt string) (*http } // Do executes the "apigee.organizations.sites.apicategories.create" call. -// Exactly one of *GoogleCloudApigeeV1ApiCategory or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudApigeeV1ApiCategory.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was +// Exactly one of *GoogleCloudApigeeV1ApiCategoryResponse or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudApigeeV1ApiCategoryResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *OrganizationsSitesApicategoriesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudApigeeV1ApiCategory, error) { +func (c *OrganizationsSitesApicategoriesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudApigeeV1ApiCategoryResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -60499,7 +60501,7 @@ func (c *OrganizationsSitesApicategoriesCreateCall) Do(opts ...googleapi.CallOpt if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &GoogleCloudApigeeV1ApiCategory{ + ret := &GoogleCloudApigeeV1ApiCategoryResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -60529,10 +60531,10 @@ func (c *OrganizationsSitesApicategoriesCreateCall) Do(opts ...googleapi.CallOpt // }, // "path": "v1/{+parent}/apicategories", // "request": { - // "$ref": "GoogleCloudApigeeV1ApiCategoryData" + // "$ref": "GoogleCloudApigeeV1ApiCategory" // }, // "response": { - // "$ref": "GoogleCloudApigeeV1ApiCategory" + // "$ref": "GoogleCloudApigeeV1ApiCategoryResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform" @@ -60760,13 +60762,14 @@ func (c *OrganizationsSitesApicategoriesGetCall) doRequest(alt string) (*http.Re } // Do executes the "apigee.organizations.sites.apicategories.get" call. -// Exactly one of *GoogleCloudApigeeV1ApiCategory or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudApigeeV1ApiCategory.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was +// Exactly one of *GoogleCloudApigeeV1ApiCategoryResponse or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudApigeeV1ApiCategoryResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *OrganizationsSitesApicategoriesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudApigeeV1ApiCategory, error) { +func (c *OrganizationsSitesApicategoriesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudApigeeV1ApiCategoryResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -60785,7 +60788,7 @@ func (c *OrganizationsSitesApicategoriesGetCall) Do(opts ...googleapi.CallOption if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &GoogleCloudApigeeV1ApiCategory{ + ret := &GoogleCloudApigeeV1ApiCategoryResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -60815,7 +60818,7 @@ func (c *OrganizationsSitesApicategoriesGetCall) Do(opts ...googleapi.CallOption // }, // "path": "v1/{+name}", // "response": { - // "$ref": "GoogleCloudApigeeV1ApiCategory" + // "$ref": "GoogleCloudApigeeV1ApiCategoryResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform" @@ -60976,12 +60979,12 @@ func (c *OrganizationsSitesApicategoriesListCall) Do(opts ...googleapi.CallOptio // method id "apigee.organizations.sites.apicategories.patch": type OrganizationsSitesApicategoriesPatchCall struct { - s *Service - name string - googlecloudapigeev1apicategorydata *GoogleCloudApigeeV1ApiCategoryData - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header + s *Service + name string + googlecloudapigeev1apicategory *GoogleCloudApigeeV1ApiCategory + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header } // Patch: Updates an API category. @@ -60989,10 +60992,10 @@ type OrganizationsSitesApicategoriesPatchCall struct { // - name: Name of the category. Use the following structure in your // request: // `organizations/{org}/sites/{site}/apicategories/{apicategory}`. -func (r *OrganizationsSitesApicategoriesService) Patch(name string, googlecloudapigeev1apicategorydata *GoogleCloudApigeeV1ApiCategoryData) *OrganizationsSitesApicategoriesPatchCall { +func (r *OrganizationsSitesApicategoriesService) Patch(name string, googlecloudapigeev1apicategory *GoogleCloudApigeeV1ApiCategory) *OrganizationsSitesApicategoriesPatchCall { c := &OrganizationsSitesApicategoriesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name - c.googlecloudapigeev1apicategorydata = googlecloudapigeev1apicategorydata + c.googlecloudapigeev1apicategory = googlecloudapigeev1apicategory return c } @@ -61029,7 +61032,7 @@ func (c *OrganizationsSitesApicategoriesPatchCall) doRequest(alt string) (*http. } reqHeaders.Set("User-Agent", c.s.userAgent()) var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudapigeev1apicategorydata) + body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudapigeev1apicategory) if err != nil { return nil, err } @@ -61050,13 +61053,14 @@ func (c *OrganizationsSitesApicategoriesPatchCall) doRequest(alt string) (*http. } // Do executes the "apigee.organizations.sites.apicategories.patch" call. -// Exactly one of *GoogleCloudApigeeV1ApiCategory or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GoogleCloudApigeeV1ApiCategory.ServerResponse.Header or (if a -// response was returned at all) in error.(*googleapi.Error).Header. Use -// googleapi.IsNotModified to check whether the returned error was +// Exactly one of *GoogleCloudApigeeV1ApiCategoryResponse or error will +// be non-nil. Any non-2xx status code is an error. Response headers are +// in either +// *GoogleCloudApigeeV1ApiCategoryResponse.ServerResponse.Header or (if +// a response was returned at all) in error.(*googleapi.Error).Header. +// Use googleapi.IsNotModified to check whether the returned error was // because http.StatusNotModified was returned. -func (c *OrganizationsSitesApicategoriesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudApigeeV1ApiCategory, error) { +func (c *OrganizationsSitesApicategoriesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudApigeeV1ApiCategoryResponse, error) { gensupport.SetOptions(c.urlParams_, opts...) res, err := c.doRequest("json") if res != nil && res.StatusCode == http.StatusNotModified { @@ -61075,7 +61079,7 @@ func (c *OrganizationsSitesApicategoriesPatchCall) Do(opts ...googleapi.CallOpti if err := googleapi.CheckResponse(res); err != nil { return nil, gensupport.WrapError(err) } - ret := &GoogleCloudApigeeV1ApiCategory{ + ret := &GoogleCloudApigeeV1ApiCategoryResponse{ ServerResponse: googleapi.ServerResponse{ Header: res.Header, HTTPStatusCode: res.StatusCode, @@ -61105,10 +61109,10 @@ func (c *OrganizationsSitesApicategoriesPatchCall) Do(opts ...googleapi.CallOpti // }, // "path": "v1/{+name}", // "request": { - // "$ref": "GoogleCloudApigeeV1ApiCategoryData" + // "$ref": "GoogleCloudApigeeV1ApiCategory" // }, // "response": { - // "$ref": "GoogleCloudApigeeV1ApiCategory" + // "$ref": "GoogleCloudApigeeV1ApiCategoryResponse" // }, // "scopes": [ // "https://www.googleapis.com/auth/cloud-platform" diff --git a/billingbudgets/v1/billingbudgets-api.json b/billingbudgets/v1/billingbudgets-api.json index 0b03e979fa4..a28d9d29a6e 100644 --- a/billingbudgets/v1/billingbudgets-api.json +++ b/billingbudgets/v1/billingbudgets-api.json @@ -275,7 +275,7 @@ } } }, - "revision": "20230903", + "revision": "20231029", "rootUrl": "https://billingbudgets.googleapis.com/", "schemas": { "GoogleCloudBillingBudgetsV1Budget": { @@ -307,6 +307,19 @@ "$ref": "GoogleCloudBillingBudgetsV1NotificationsRule", "description": "Optional. Rules to apply to notifications sent based on budget spend and thresholds." }, + "ownershipScope": { + "enum": [ + "OWNERSHIP_SCOPE_UNSPECIFIED", + "ALL_USERS", + "BILLING_ACCOUNT" + ], + "enumDescriptions": [ + "Unspecified ownership scope, same as ALL_USERS.", + "Both billing account-level users and project-level users have full access to the budget, if the users have the required IAM permissions.", + "Only billing account-level users have full access to the budget. Project-level users have read-only access, even if they have the required IAM permissions." + ], + "type": "string" + }, "thresholdRules": { "description": "Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for `pubsubTopic` notifications. Required if using email notifications.", "items": { diff --git a/billingbudgets/v1/billingbudgets-gen.go b/billingbudgets/v1/billingbudgets-gen.go index e7f96091fe0..c3f5192289c 100644 --- a/billingbudgets/v1/billingbudgets-gen.go +++ b/billingbudgets/v1/billingbudgets-gen.go @@ -215,6 +215,17 @@ type GoogleCloudBillingBudgetsV1Budget struct { // based on budget spend and thresholds. NotificationsRule *GoogleCloudBillingBudgetsV1NotificationsRule `json:"notificationsRule,omitempty"` + // Possible values: + // "OWNERSHIP_SCOPE_UNSPECIFIED" - Unspecified ownership scope, same + // as ALL_USERS. + // "ALL_USERS" - Both billing account-level users and project-level + // users have full access to the budget, if the users have the required + // IAM permissions. + // "BILLING_ACCOUNT" - Only billing account-level users have full + // access to the budget. Project-level users have read-only access, even + // if they have the required IAM permissions. + OwnershipScope string `json:"ownershipScope,omitempty"` + // ThresholdRules: Optional. Rules that trigger alerts (notifications of // thresholds being crossed) when spend exceeds the specified // percentages of the budget. Optional for `pubsubTopic` notifications. diff --git a/billingbudgets/v1beta1/billingbudgets-api.json b/billingbudgets/v1beta1/billingbudgets-api.json index fde813ff767..369dc83ac65 100644 --- a/billingbudgets/v1beta1/billingbudgets-api.json +++ b/billingbudgets/v1beta1/billingbudgets-api.json @@ -269,7 +269,7 @@ } } }, - "revision": "20230903", + "revision": "20231029", "rootUrl": "https://billingbudgets.googleapis.com/", "schemas": { "GoogleCloudBillingBudgetsV1beta1AllUpdatesRule": { @@ -331,6 +331,19 @@ "readOnly": true, "type": "string" }, + "ownershipScope": { + "enum": [ + "OWNERSHIP_SCOPE_UNSPECIFIED", + "ALL_USERS", + "BILLING_ACCOUNT" + ], + "enumDescriptions": [ + "Unspecified ownership scope, same as ALL_USERS.", + "The Budget is fully accessible to both billing account users and resource users, provided that they have the required IAM permissions.", + "Only billing account users have full access to the `Budget`, resource-level users have read-only access, provided that they have the required IAM permissions." + ], + "type": "string" + }, "thresholdRules": { "description": "Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. Optional for `pubsubTopic` notifications. Required if using email notifications.", "items": { diff --git a/billingbudgets/v1beta1/billingbudgets-gen.go b/billingbudgets/v1beta1/billingbudgets-gen.go index 9fdc17a245b..f537b93be22 100644 --- a/billingbudgets/v1beta1/billingbudgets-gen.go +++ b/billingbudgets/v1beta1/billingbudgets-gen.go @@ -289,6 +289,17 @@ type GoogleCloudBillingBudgetsV1beta1Budget struct { // `billingAccounts/{billingAccountId}/budgets/{budgetId}`. Name string `json:"name,omitempty"` + // Possible values: + // "OWNERSHIP_SCOPE_UNSPECIFIED" - Unspecified ownership scope, same + // as ALL_USERS. + // "ALL_USERS" - The Budget is fully accessible to both billing + // account users and resource users, provided that they have the + // required IAM permissions. + // "BILLING_ACCOUNT" - Only billing account users have full access to + // the `Budget`, resource-level users have read-only access, provided + // that they have the required IAM permissions. + OwnershipScope string `json:"ownershipScope,omitempty"` + // ThresholdRules: Optional. Rules that trigger alerts (notifications of // thresholds being crossed) when spend exceeds the specified // percentages of the budget. Optional for `pubsubTopic` notifications. diff --git a/content/v2.1/content-api.json b/content/v2.1/content-api.json index 81247559c50..3c7f68d3aab 100644 --- a/content/v2.1/content-api.json +++ b/content/v2.1/content-api.json @@ -6488,7 +6488,7 @@ } } }, - "revision": "20231027", + "revision": "20231030", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -6523,6 +6523,10 @@ }, "type": "array" }, + "businessIdentity": { + "$ref": "AccountBusinessIdentity", + "description": "The business identity attributes can be used to self-declare attributes that let customers know more about your business." + }, "businessInformation": { "$ref": "AccountBusinessInformation", "description": "The business information of the account." @@ -6646,6 +6650,37 @@ }, "type": "object" }, + "AccountBusinessIdentity": { + "description": "The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. NEXT ID: 7.", + "id": "AccountBusinessIdentity", + "properties": { + "blackOwned": { + "$ref": "AccountIdentityType", + "description": "Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." + }, + "includeForPromotions": { + "description": "Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won't affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.", + "type": "boolean" + }, + "latinoOwned": { + "$ref": "AccountIdentityType", + "description": "Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." + }, + "smallBusiness": { + "$ref": "AccountIdentityType", + "description": "Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to \"US\". It is also not allowed for marketplaces, but it is allowed to marketplace sellers." + }, + "veteranOwned": { + "$ref": "AccountIdentityType", + "description": "Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." + }, + "womenOwned": { + "$ref": "AccountIdentityType", + "description": "Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to \"US\". This field is not allowed for marketplaces or marketplace sellers." + } + }, + "type": "object" + }, "AccountBusinessInformation": { "id": "AccountBusinessInformation", "properties": { @@ -6770,6 +6805,12 @@ }, "type": "object" }, + "AccountIdentityType": { + "description": "The account identity type used to specify attributes.", + "id": "AccountIdentityType", + "properties": {}, + "type": "object" + }, "AccountImageImprovements": { "description": "This improvement will attempt to automatically correct submitted images if they don't meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973)", "id": "AccountImageImprovements", @@ -10672,7 +10713,7 @@ "id": "LocalInventory", "properties": { "availability": { - "description": "Availability of the product. For accepted attribute values, see the local product inventory feed specification.", + "description": "The availability of the product. For accepted attribute values, see the local product inventory feed specification.", "type": "string" }, "customAttributes": { @@ -10683,7 +10724,7 @@ "type": "array" }, "instoreProductLocation": { - "description": "In-store product location.", + "description": "The in-store product location.", "type": "string" }, "kind": { @@ -10691,32 +10732,32 @@ "type": "string" }, "pickupMethod": { - "description": "Supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the local product inventory feed specification.", + "description": "The supported pickup method for this offer. Unless the value is \"not supported\", this field must be submitted together with `pickupSla`. For accepted attribute values, see the local product inventory feed specification.", "type": "string" }, "pickupSla": { - "description": "Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the local product inventory feed specification.", + "description": "The expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the local product inventory feed specification.", "type": "string" }, "price": { "$ref": "Price", - "description": "Price of the product." + "description": "The price of the product." }, "quantity": { - "description": "Quantity of the product. Must be nonnegative.", + "description": "The quantity of the product. Must be nonnegative.", "format": "uint32", "type": "integer" }, "salePrice": { "$ref": "Price", - "description": "Sale price of the product. Mandatory if `sale_price_effective_date` is defined." + "description": "The sale price of the product. Mandatory if `sale_price_effective_date` is defined." }, "salePriceEffectiveDate": { "description": "A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates may be specified as 'null' if undecided.", "type": "string" }, "storeCode": { - "description": "Required. Store code of this local inventory resource.", + "description": "Required. The store code of this local inventory resource.", "type": "string" } }, @@ -14020,7 +14061,7 @@ "type": "number" }, "predictedGrossProfitChangeFraction": { - "description": "The predicted change in gross profit as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in gross profit.", + "description": "*Deprecated*: This field is no longer supported and will start returning 0. The predicted change in gross profit as a fraction after introducing the suggested price compared to current active price. For example, 0.05 is a 5% predicted increase in gross profit.", "format": "double", "type": "number" }, @@ -14030,11 +14071,11 @@ "type": "number" }, "predictedMonthlyGrossProfitChangeCurrencyCode": { - "description": "The predicted monthly gross profit change currency (ISO 4217 code).", + "description": "*Deprecated*: This field is no longer supported and will start returning USD for all requests. The predicted monthly gross profit change currency (ISO 4217 code).", "type": "string" }, "predictedMonthlyGrossProfitChangeMicros": { - "description": "The predicted change in gross profit in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) after introducing the suggested price for a month compared to current active price.", + "description": "*Deprecated*: This field is no longer supported and will start returning 0. The predicted change in gross profit in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) after introducing the suggested price for a month compared to current active price.", "format": "int64", "type": "string" }, diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index 93560219727..42f8d1f82fc 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -714,6 +714,11 @@ type Account struct { // to the account by CSS Center. AutomaticLabelIds googleapi.Uint64s `json:"automaticLabelIds,omitempty"` + // BusinessIdentity: The business identity attributes can be used to + // self-declare attributes that let customers know more about your + // business. + BusinessIdentity *AccountBusinessIdentity `json:"businessIdentity,omitempty"` + // BusinessInformation: The business information of the account. BusinessInformation *AccountBusinessInformation `json:"businessInformation,omitempty"` @@ -933,6 +938,72 @@ func (s *AccountAutomaticImprovements) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AccountBusinessIdentity: The business identity attributes +// (https://support.google.com/merchants/answer/10342414) can be used to +// self-declare attributes that let customers know more about your +// business. NEXT ID: 7. +type AccountBusinessIdentity struct { + // BlackOwned: Specifies whether the business identifies itself as being + // black-owned. This optional field is only available for merchants with + // a business country set to "US". This field is not allowed for + // marketplaces or marketplace sellers. + BlackOwned *AccountIdentityType `json:"blackOwned,omitempty"` + + // IncludeForPromotions: Required. By setting this field, your business + // may be included in promotions for all the selected attributes. If you + // clear this option, it won't affect your identification with any of + // the attributes. For this field to be set, the merchant must self + // identify with at least one of the `AccountIdentityType`. If none are + // included, the request will be considered invalid. + IncludeForPromotions bool `json:"includeForPromotions,omitempty"` + + // LatinoOwned: Specifies whether the business identifies itself as + // being latino-owned. This optional field is only available for + // merchants with a business country set to "US". This field is not + // allowed for marketplaces or marketplace sellers. + LatinoOwned *AccountIdentityType `json:"latinoOwned,omitempty"` + + // SmallBusiness: Specifies whether the business identifies itself as a + // small business. This optional field is only available for merchants + // with a business country set to "US". It is also not allowed for + // marketplaces, but it is allowed to marketplace sellers. + SmallBusiness *AccountIdentityType `json:"smallBusiness,omitempty"` + + // VeteranOwned: Specifies whether the business identifies itself as + // being veteran-owned. This optional field is only available for + // merchants with a business country set to "US". This field is not + // allowed for marketplaces or marketplace sellers. + VeteranOwned *AccountIdentityType `json:"veteranOwned,omitempty"` + + // WomenOwned: Specifies whether the business identifies itself as being + // women-owned. This optional field is only available for merchants with + // a business country set to "US". This field is not allowed for + // marketplaces or marketplace sellers. + WomenOwned *AccountIdentityType `json:"womenOwned,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BlackOwned") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BlackOwned") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *AccountBusinessIdentity) MarshalJSON() ([]byte, error) { + type NoMethod AccountBusinessIdentity + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type AccountBusinessInformation struct { // Address: The address of the business. Use `\n` to add a second // address line. @@ -1170,6 +1241,11 @@ func (s *AccountIdentifier) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AccountIdentityType: The account identity type used to specify +// attributes. +type AccountIdentityType struct { +} + // AccountImageImprovements: This improvement will attempt to // automatically correct submitted images if they don't meet the image // requirements (https://support.google.com/merchants/answer/6324350), @@ -7851,7 +7927,7 @@ func (s *ListReturnPolicyOnlineResponse) MarshalJSON() ([]byte, error) { // LocalInventory: Local inventory resource. For accepted attribute // values, see the local product inventory feed specification. type LocalInventory struct { - // Availability: Availability of the product. For accepted attribute + // Availability: The availability of the product. For accepted attribute // values, see the local product inventory feed specification. Availability string `json:"availability,omitempty"` @@ -7861,32 +7937,32 @@ type LocalInventory struct { // "regular" }`. CustomAttributes []*CustomAttribute `json:"customAttributes,omitempty"` - // InstoreProductLocation: In-store product location. + // InstoreProductLocation: The in-store product location. InstoreProductLocation string `json:"instoreProductLocation,omitempty"` // Kind: Identifies what kind of resource this is. Value: the fixed // string "content#localInventory" Kind string `json:"kind,omitempty"` - // PickupMethod: Supported pickup method for this offer. Unless the + // PickupMethod: The supported pickup method for this offer. Unless the // value is "not supported", this field must be submitted together with // `pickupSla`. For accepted attribute values, see the local product // inventory feed specification. PickupMethod string `json:"pickupMethod,omitempty"` - // PickupSla: Expected date that an order will be ready for pickup + // PickupSla: The expected date that an order will be ready for pickup // relative to the order date. Must be submitted together with // `pickupMethod`. For accepted attribute values, see the local product // inventory feed specification. PickupSla string `json:"pickupSla,omitempty"` - // Price: Price of the product. + // Price: The price of the product. Price *Price `json:"price,omitempty"` - // Quantity: Quantity of the product. Must be nonnegative. + // Quantity: The quantity of the product. Must be nonnegative. Quantity int64 `json:"quantity,omitempty"` - // SalePrice: Sale price of the product. Mandatory if + // SalePrice: The sale price of the product. Mandatory if // `sale_price_effective_date` is defined. SalePrice *Price `json:"salePrice,omitempty"` @@ -7895,7 +7971,7 @@ type LocalInventory struct { // specified as 'null' if undecided. SalePriceEffectiveDate string `json:"salePriceEffectiveDate,omitempty"` - // StoreCode: Required. Store code of this local inventory resource. + // StoreCode: Required. The store code of this local inventory resource. StoreCode string `json:"storeCode,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -13729,10 +13805,11 @@ type PriceInsights struct { // increase in conversions). PredictedConversionsChangeFraction float64 `json:"predictedConversionsChangeFraction,omitempty"` - // PredictedGrossProfitChangeFraction: The predicted change in gross - // profit as a fraction after introducing the suggested price compared - // to current active price. For example, 0.05 is a 5% predicted increase - // in gross profit. + // PredictedGrossProfitChangeFraction: *Deprecated*: This field is no + // longer supported and will start returning 0. The predicted change in + // gross profit as a fraction after introducing the suggested price + // compared to current active price. For example, 0.05 is a 5% predicted + // increase in gross profit. PredictedGrossProfitChangeFraction float64 `json:"predictedGrossProfitChangeFraction,omitempty"` // PredictedImpressionsChangeFraction: The predicted change in @@ -13741,12 +13818,15 @@ type PriceInsights struct { // increase in impressions. PredictedImpressionsChangeFraction float64 `json:"predictedImpressionsChangeFraction,omitempty"` - // PredictedMonthlyGrossProfitChangeCurrencyCode: The predicted monthly - // gross profit change currency (ISO 4217 code). + // PredictedMonthlyGrossProfitChangeCurrencyCode: *Deprecated*: This + // field is no longer supported and will start returning USD for all + // requests. The predicted monthly gross profit change currency (ISO + // 4217 code). PredictedMonthlyGrossProfitChangeCurrencyCode string `json:"predictedMonthlyGrossProfitChangeCurrencyCode,omitempty"` - // PredictedMonthlyGrossProfitChangeMicros: The predicted change in - // gross profit in micros (1 millionth of a standard unit, 1 USD = + // PredictedMonthlyGrossProfitChangeMicros: *Deprecated*: This field is + // no longer supported and will start returning 0. The predicted change + // in gross profit in micros (1 millionth of a standard unit, 1 USD = // 1000000 micros) after introducing the suggested price for a month // compared to current active price. PredictedMonthlyGrossProfitChangeMicros int64 `json:"predictedMonthlyGrossProfitChangeMicros,omitempty,string"` diff --git a/documentai/v1/documentai-api.json b/documentai/v1/documentai-api.json index bc930acf32a..dea7bcb4516 100644 --- a/documentai/v1/documentai-api.json +++ b/documentai/v1/documentai-api.json @@ -1042,7 +1042,7 @@ } } }, - "revision": "20230923", + "revision": "20231026", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -1656,7 +1656,7 @@ "type": "object" }, "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata": { - "description": "The metadata proto of ResyncDataset method.", + "description": "The metadata proto of `ResyncDataset` method.", "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata", "properties": { "commonMetadata": { @@ -1664,7 +1664,7 @@ "description": "The basic metadata of the long-running operation." }, "datasetResyncStatuses": { - "description": "The list of dataset resync statuses. Not checked when `dataset_documents` is specified in ResyncRequest.", + "description": "The list of dataset resync statuses. Not checked when ResyncDatasetRequest.dataset_documents is specified.", "items": { "$ref": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus" }, @@ -1698,7 +1698,7 @@ }, "status": { "$ref": "GoogleRpcStatus", - "description": "The status of resyncing the dataset with regards to the detected inconsistency. Empty if `validate_only` is true in the request." + "description": "The status of resyncing the dataset with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." } }, "type": "object" @@ -1729,7 +1729,7 @@ }, "status": { "$ref": "GoogleRpcStatus", - "description": "The status of resyncing the document with regards to the detected inconsistency. Empty if `validate_only` is true in the request." + "description": "The status of resyncing the document with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." } }, "type": "object" @@ -7675,7 +7675,8 @@ "properties": { "documentWarehouseConfig": { "$ref": "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig", - "description": "Optional. Document AI Warehouse-based dataset configuration." + "deprecated": true, + "description": "Optional. Derepcated. Warehouse-based dataset configuration is not supported today." }, "gcsManagedConfig": { "$ref": "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig", diff --git a/documentai/v1/documentai-gen.go b/documentai/v1/documentai-gen.go index acb33422ec5..1ef3f2758e1 100644 --- a/documentai/v1/documentai-gen.go +++ b/documentai/v1/documentai-gen.go @@ -1388,13 +1388,13 @@ func (s *GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse) MarshalJS } // GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata: The metadata -// proto of ResyncDataset method. +// proto of `ResyncDataset` method. type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata struct { // CommonMetadata: The basic metadata of the long-running operation. CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` // DatasetResyncStatuses: The list of dataset resync statuses. Not - // checked when `dataset_documents` is specified in ResyncRequest. + // checked when ResyncDatasetRequest.dataset_documents is specified. DatasetResyncStatuses []*GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus `json:"datasetResyncStatuses,omitempty"` // IndividualDocumentResyncStatuses: The list of document resync @@ -1440,8 +1440,8 @@ type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus stru DatasetInconsistencyType string `json:"datasetInconsistencyType,omitempty"` // Status: The status of resyncing the dataset with regards to the - // detected inconsistency. Empty if `validate_only` is true in the - // request. + // detected inconsistency. Empty if ResyncDatasetRequest.validate_only + // is `true`. Status *GoogleRpcStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. @@ -1488,8 +1488,8 @@ type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResync DocumentInconsistencyType string `json:"documentInconsistencyType,omitempty"` // Status: The status of resyncing the document with regards to the - // detected inconsistency. Empty if `validate_only` is true in the - // request. + // detected inconsistency. Empty if ResyncDatasetRequest.validate_only + // is `true`. Status *GoogleRpcStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "DocumentId") to @@ -11281,8 +11281,8 @@ func (s *GoogleCloudDocumentaiV1beta3CommonOperationMetadata) MarshalJSON() ([]b // GoogleCloudDocumentaiV1beta3Dataset: A singleton resource under a // Processor which configures a collection of documents. type GoogleCloudDocumentaiV1beta3Dataset struct { - // DocumentWarehouseConfig: Optional. Document AI Warehouse-based - // dataset configuration. + // DocumentWarehouseConfig: Optional. Derepcated. Warehouse-based + // dataset configuration is not supported today. DocumentWarehouseConfig *GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig `json:"documentWarehouseConfig,omitempty"` // GcsManagedConfig: Optional. User-managed Cloud Storage dataset diff --git a/documentai/v1beta2/documentai-api.json b/documentai/v1beta2/documentai-api.json index dba399c1763..2bee4d1bb7b 100644 --- a/documentai/v1beta2/documentai-api.json +++ b/documentai/v1beta2/documentai-api.json @@ -292,7 +292,7 @@ } } }, - "revision": "20230923", + "revision": "20231026", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -906,7 +906,7 @@ "type": "object" }, "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata": { - "description": "The metadata proto of ResyncDataset method.", + "description": "The metadata proto of `ResyncDataset` method.", "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata", "properties": { "commonMetadata": { @@ -914,7 +914,7 @@ "description": "The basic metadata of the long-running operation." }, "datasetResyncStatuses": { - "description": "The list of dataset resync statuses. Not checked when `dataset_documents` is specified in ResyncRequest.", + "description": "The list of dataset resync statuses. Not checked when ResyncDatasetRequest.dataset_documents is specified.", "items": { "$ref": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus" }, @@ -948,7 +948,7 @@ }, "status": { "$ref": "GoogleRpcStatus", - "description": "The status of resyncing the dataset with regards to the detected inconsistency. Empty if `validate_only` is true in the request." + "description": "The status of resyncing the dataset with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." } }, "type": "object" @@ -979,7 +979,7 @@ }, "status": { "$ref": "GoogleRpcStatus", - "description": "The status of resyncing the document with regards to the detected inconsistency. Empty if `validate_only` is true in the request." + "description": "The status of resyncing the document with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." } }, "type": "object" @@ -4727,7 +4727,8 @@ "properties": { "documentWarehouseConfig": { "$ref": "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig", - "description": "Optional. Document AI Warehouse-based dataset configuration." + "deprecated": true, + "description": "Optional. Derepcated. Warehouse-based dataset configuration is not supported today." }, "gcsManagedConfig": { "$ref": "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig", diff --git a/documentai/v1beta2/documentai-gen.go b/documentai/v1beta2/documentai-gen.go index 51d3a95fbe3..c75e98096ca 100644 --- a/documentai/v1beta2/documentai-gen.go +++ b/documentai/v1beta2/documentai-gen.go @@ -1340,13 +1340,13 @@ func (s *GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse) MarshalJS } // GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata: The metadata -// proto of ResyncDataset method. +// proto of `ResyncDataset` method. type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata struct { // CommonMetadata: The basic metadata of the long-running operation. CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` // DatasetResyncStatuses: The list of dataset resync statuses. Not - // checked when `dataset_documents` is specified in ResyncRequest. + // checked when ResyncDatasetRequest.dataset_documents is specified. DatasetResyncStatuses []*GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus `json:"datasetResyncStatuses,omitempty"` // IndividualDocumentResyncStatuses: The list of document resync @@ -1392,8 +1392,8 @@ type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus stru DatasetInconsistencyType string `json:"datasetInconsistencyType,omitempty"` // Status: The status of resyncing the dataset with regards to the - // detected inconsistency. Empty if `validate_only` is true in the - // request. + // detected inconsistency. Empty if ResyncDatasetRequest.validate_only + // is `true`. Status *GoogleRpcStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. @@ -1440,8 +1440,8 @@ type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResync DocumentInconsistencyType string `json:"documentInconsistencyType,omitempty"` // Status: The status of resyncing the document with regards to the - // detected inconsistency. Empty if `validate_only` is true in the - // request. + // detected inconsistency. Empty if ResyncDatasetRequest.validate_only + // is `true`. Status *GoogleRpcStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "DocumentId") to @@ -7663,8 +7663,8 @@ func (s *GoogleCloudDocumentaiV1beta3CommonOperationMetadata) MarshalJSON() ([]b // GoogleCloudDocumentaiV1beta3Dataset: A singleton resource under a // Processor which configures a collection of documents. type GoogleCloudDocumentaiV1beta3Dataset struct { - // DocumentWarehouseConfig: Optional. Document AI Warehouse-based - // dataset configuration. + // DocumentWarehouseConfig: Optional. Derepcated. Warehouse-based + // dataset configuration is not supported today. DocumentWarehouseConfig *GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig `json:"documentWarehouseConfig,omitempty"` // GcsManagedConfig: Optional. User-managed Cloud Storage dataset diff --git a/documentai/v1beta3/documentai-api.json b/documentai/v1beta3/documentai-api.json index e7b8d4601a3..98a52950292 100644 --- a/documentai/v1beta3/documentai-api.json +++ b/documentai/v1beta3/documentai-api.json @@ -1284,7 +1284,7 @@ } } }, - "revision": "20230923", + "revision": "20231026", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -1898,7 +1898,7 @@ "type": "object" }, "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata": { - "description": "The metadata proto of ResyncDataset method.", + "description": "The metadata proto of `ResyncDataset` method.", "id": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata", "properties": { "commonMetadata": { @@ -1906,7 +1906,7 @@ "description": "The basic metadata of the long-running operation." }, "datasetResyncStatuses": { - "description": "The list of dataset resync statuses. Not checked when `dataset_documents` is specified in ResyncRequest.", + "description": "The list of dataset resync statuses. Not checked when ResyncDatasetRequest.dataset_documents is specified.", "items": { "$ref": "GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus" }, @@ -1940,7 +1940,7 @@ }, "status": { "$ref": "GoogleRpcStatus", - "description": "The status of resyncing the dataset with regards to the detected inconsistency. Empty if `validate_only` is true in the request." + "description": "The status of resyncing the dataset with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." } }, "type": "object" @@ -1971,7 +1971,7 @@ }, "status": { "$ref": "GoogleRpcStatus", - "description": "The status of resyncing the document with regards to the detected inconsistency. Empty if `validate_only` is true in the request." + "description": "The status of resyncing the document with regards to the detected inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`." } }, "type": "object" @@ -5695,7 +5695,8 @@ "properties": { "documentWarehouseConfig": { "$ref": "GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig", - "description": "Optional. Document AI Warehouse-based dataset configuration." + "deprecated": true, + "description": "Optional. Derepcated. Warehouse-based dataset configuration is not supported today." }, "gcsManagedConfig": { "$ref": "GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig", @@ -6120,7 +6121,7 @@ "description": "Document identifier." }, "labelingState": { - "description": "Labelling state of the document.", + "description": "Labeling state of the document.", "enum": [ "DOCUMENT_LABELING_STATE_UNSPECIFIED", "DOCUMENT_LABELED", @@ -6129,9 +6130,9 @@ ], "enumDescriptions": [ "Default value if the enum is not set.", - "Document has been labelled.", - "Document has not been labelled.", - "Document has been auto-labelled." + "Document has been labeled.", + "Document has not been labeled.", + "Document has been auto-labeled." ], "type": "string" }, @@ -7904,11 +7905,11 @@ "type": "string" }, "returnTotalSize": { - "description": "Optional. Controls if the ListDocuments request requires a total size of matched documents. See ListDocumentsResponse.total_size. Enabling this flag may adversely impact performance. Defaults to false.", + "description": "Optional. Controls if the request requires a total size of matched documents. See ListDocumentsResponse.total_size. Enabling this flag may adversely impact performance. Defaults to false.", "type": "boolean" }, "skip": { - "description": "Optional. Number of results to skip beginning from the `page_token` if provided. https://google.aip.dev/158#skipping-results. It must be a non-negative integer. Negative values wil be rejected. Note that this is not the number of pages to skip. If this value causes the cursor to move past the end of results, `ListDocumentsResponse.document_metadata` and `ListDocumentsResponse.next_page_token` will be empty.", + "description": "Optional. Number of results to skip beginning from the `page_token` if provided. https://google.aip.dev/158#skipping-results. It must be a non-negative integer. Negative values will be rejected. Note that this is not the number of pages to skip. If this value causes the cursor to move past the end of results, ListDocumentsResponse.document_metadata and ListDocumentsResponse.next_page_token will be empty.", "format": "int32", "type": "integer" } @@ -7926,7 +7927,7 @@ "type": "array" }, "nextPageToken": { - "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "description": "A token, which can be sent as ListDocumentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" }, "totalSize": { diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index e0969298274..13773f2c99f 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -1376,13 +1376,13 @@ func (s *GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse) MarshalJS } // GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata: The metadata -// proto of ResyncDataset method. +// proto of `ResyncDataset` method. type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata struct { // CommonMetadata: The basic metadata of the long-running operation. CommonMetadata *GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata `json:"commonMetadata,omitempty"` // DatasetResyncStatuses: The list of dataset resync statuses. Not - // checked when `dataset_documents` is specified in ResyncRequest. + // checked when ResyncDatasetRequest.dataset_documents is specified. DatasetResyncStatuses []*GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus `json:"datasetResyncStatuses,omitempty"` // IndividualDocumentResyncStatuses: The list of document resync @@ -1428,8 +1428,8 @@ type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus stru DatasetInconsistencyType string `json:"datasetInconsistencyType,omitempty"` // Status: The status of resyncing the dataset with regards to the - // detected inconsistency. Empty if `validate_only` is true in the - // request. + // detected inconsistency. Empty if ResyncDatasetRequest.validate_only + // is `true`. Status *GoogleRpcStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. @@ -1476,8 +1476,8 @@ type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResync DocumentInconsistencyType string `json:"documentInconsistencyType,omitempty"` // Status: The status of resyncing the document with regards to the - // detected inconsistency. Empty if `validate_only` is true in the - // request. + // detected inconsistency. Empty if ResyncDatasetRequest.validate_only + // is `true`. Status *GoogleRpcStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "DocumentId") to @@ -7677,8 +7677,8 @@ func (s *GoogleCloudDocumentaiV1beta3CommonOperationMetadata) MarshalJSON() ([]b // GoogleCloudDocumentaiV1beta3Dataset: A singleton resource under a // Processor which configures a collection of documents. type GoogleCloudDocumentaiV1beta3Dataset struct { - // DocumentWarehouseConfig: Optional. Document AI Warehouse-based - // dataset configuration. + // DocumentWarehouseConfig: Optional. Derepcated. Warehouse-based + // dataset configuration is not supported today. DocumentWarehouseConfig *GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig `json:"documentWarehouseConfig,omitempty"` // GcsManagedConfig: Optional. User-managed Cloud Storage dataset @@ -8384,14 +8384,14 @@ type GoogleCloudDocumentaiV1beta3DocumentMetadata struct { // DocumentId: Document identifier. DocumentId *GoogleCloudDocumentaiV1beta3DocumentId `json:"documentId,omitempty"` - // LabelingState: Labelling state of the document. + // LabelingState: Labeling state of the document. // // Possible values: // "DOCUMENT_LABELING_STATE_UNSPECIFIED" - Default value if the enum // is not set. - // "DOCUMENT_LABELED" - Document has been labelled. - // "DOCUMENT_UNLABELED" - Document has not been labelled. - // "DOCUMENT_AUTO_LABELED" - Document has been auto-labelled. + // "DOCUMENT_LABELED" - Document has been labeled. + // "DOCUMENT_UNLABELED" - Document has not been labeled. + // "DOCUMENT_AUTO_LABELED" - Document has been auto-labeled. LabelingState string `json:"labelingState,omitempty"` // PageCount: Number of pages in the document. @@ -11435,20 +11435,20 @@ type GoogleCloudDocumentaiV1beta3ListDocumentsRequest struct { // that provided the page token. PageToken string `json:"pageToken,omitempty"` - // ReturnTotalSize: Optional. Controls if the ListDocuments request - // requires a total size of matched documents. See - // ListDocumentsResponse.total_size. Enabling this flag may adversely - // impact performance. Defaults to false. + // ReturnTotalSize: Optional. Controls if the request requires a total + // size of matched documents. See ListDocumentsResponse.total_size. + // Enabling this flag may adversely impact performance. Defaults to + // false. ReturnTotalSize bool `json:"returnTotalSize,omitempty"` // Skip: Optional. Number of results to skip beginning from the // `page_token` if provided. // https://google.aip.dev/158#skipping-results. It must be a - // non-negative integer. Negative values wil be rejected. Note that this - // is not the number of pages to skip. If this value causes the cursor - // to move past the end of results, - // `ListDocumentsResponse.document_metadata` and - // `ListDocumentsResponse.next_page_token` will be empty. + // non-negative integer. Negative values will be rejected. Note that + // this is not the number of pages to skip. If this value causes the + // cursor to move past the end of results, + // ListDocumentsResponse.document_metadata and + // ListDocumentsResponse.next_page_token will be empty. Skip int64 `json:"skip,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to @@ -11479,9 +11479,9 @@ type GoogleCloudDocumentaiV1beta3ListDocumentsResponse struct { // documents. DocumentMetadata []*GoogleCloudDocumentaiV1beta3DocumentMetadata `json:"documentMetadata,omitempty"` - // NextPageToken: A token, which can be sent as `page_token` to retrieve - // the next page. If this field is omitted, there are no subsequent - // pages. + // NextPageToken: A token, which can be sent as + // ListDocumentsRequest.page_token to retrieve the next page. If this + // field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // TotalSize: Total count of documents queried. diff --git a/mybusinesslodging/v1/mybusinesslodging-api.json b/mybusinesslodging/v1/mybusinesslodging-api.json index 428b7418ea3..c56399deacf 100644 --- a/mybusinesslodging/v1/mybusinesslodging-api.json +++ b/mybusinesslodging/v1/mybusinesslodging-api.json @@ -194,7 +194,7 @@ } } }, - "revision": "20230702", + "revision": "20231029", "rootUrl": "https://mybusinesslodging.googleapis.com/", "schemas": { "Accessibility": { @@ -787,7 +787,8 @@ "type": "object" }, "EcoCertification": { - "description": "An eco certificate awarded to the hotel.", + "deprecated": true, + "description": "An eco certificate awarded to the hotel. Deprecated: this message is no longer populated. All certification data is now provided by BeCause.", "id": "EcoCertification", "properties": { "awarded": { @@ -982,7 +983,7 @@ "type": "string" }, "greenBuildingDesign": { - "description": "Output only. Green building design. True if BREEAM-* or LEED-* certified.", + "description": "Output only. Green building design. True if the property has been awarded a relevant certification.", "readOnly": true, "type": "boolean" }, @@ -4935,7 +4936,8 @@ }, "sustainabilityCertifications": { "$ref": "SustainabilityCertifications", - "description": "Sustainability certifications the hotel has been awarded." + "deprecated": true, + "description": "Sustainability certifications the hotel has been awarded. Deprecated: this field is no longer populated. All certification data is now provided by BeCause." }, "sustainableSourcing": { "$ref": "SustainableSourcing", @@ -4953,7 +4955,8 @@ "type": "object" }, "SustainabilityCertifications": { - "description": "Sustainability certifications the hotel has been awarded.", + "deprecated": true, + "description": "Sustainability certifications the hotel has been awarded. Deprecated: this message is no longer populated. All certification data is now provided by BeCause.", "id": "SustainabilityCertifications", "properties": { "breeamCertification": { @@ -5002,8 +5005,7 @@ "type": "array" }, "leedCertification": { - "deprecated": true, - "description": "LEED certification. Deprecated: this field is no longer populated. LEED certification status is now provided directly by USGBC.", + "description": "LEED certification.", "enum": [ "LEED_CERTIFICATION_UNSPECIFIED", "NO_LEED_CERTIFICATION", @@ -5023,8 +5025,7 @@ "type": "string" }, "leedCertificationException": { - "deprecated": true, - "description": "LEED certification exception. Deprecated: this field is no longer populated. LEED certification status is now provided directly by USGBC.", + "description": "LEED certification exception.", "enum": [ "EXCEPTION_UNSPECIFIED", "UNDER_CONSTRUCTION", diff --git a/mybusinesslodging/v1/mybusinesslodging-gen.go b/mybusinesslodging/v1/mybusinesslodging-gen.go index ffd15b1c1ca..971cfc6ea1a 100644 --- a/mybusinesslodging/v1/mybusinesslodging-gen.go +++ b/mybusinesslodging/v1/mybusinesslodging-gen.go @@ -801,6 +801,8 @@ func (s *Connectivity) MarshalJSON() ([]byte, error) { } // EcoCertification: An eco certificate awarded to the hotel. +// Deprecated: this message is no longer populated. All certification +// data is now provided by BeCause. type EcoCertification struct { // Awarded: Whether the eco certificate was awarded or not. Awarded bool `json:"awarded,omitempty"` @@ -999,8 +1001,8 @@ type EnergyEfficiency struct { // depends on the day of the week. EnergySavingThermostatsException string `json:"energySavingThermostatsException,omitempty"` - // GreenBuildingDesign: Output only. Green building design. True if - // BREEAM-* or LEED-* certified. + // GreenBuildingDesign: Output only. Green building design. True if the + // property has been awarded a relevant certification. GreenBuildingDesign bool `json:"greenBuildingDesign,omitempty"` // GreenBuildingDesignException: Output only. Green building design @@ -5158,7 +5160,8 @@ type Sustainability struct { EnergyEfficiency *EnergyEfficiency `json:"energyEfficiency,omitempty"` // SustainabilityCertifications: Sustainability certifications the hotel - // has been awarded. + // has been awarded. Deprecated: this field is no longer populated. All + // certification data is now provided by BeCause. SustainabilityCertifications *SustainabilityCertifications `json:"sustainabilityCertifications,omitempty"` // SustainableSourcing: Sustainable sourcing practices implemented at @@ -5197,7 +5200,8 @@ func (s *Sustainability) MarshalJSON() ([]byte, error) { } // SustainabilityCertifications: Sustainability certifications the hotel -// has been awarded. +// has been awarded. Deprecated: this message is no longer populated. +// All certification data is now provided by BeCause. type SustainabilityCertifications struct { // BreeamCertification: BREEAM certification. // @@ -5228,9 +5232,7 @@ type SustainabilityCertifications struct { // EcoCertifications: The eco certificates awarded to the hotel. EcoCertifications []*EcoCertification `json:"ecoCertifications,omitempty"` - // LeedCertification: LEED certification. Deprecated: this field is no - // longer populated. LEED certification status is now provided directly - // by USGBC. + // LeedCertification: LEED certification. // // Possible values: // "LEED_CERTIFICATION_UNSPECIFIED" - Default LeedCertification. Do @@ -5242,9 +5244,7 @@ type SustainabilityCertifications struct { // "LEED_PLATINUM" - LEED Platinum. LeedCertification string `json:"leedCertification,omitempty"` - // LeedCertificationException: LEED certification exception. Deprecated: - // this field is no longer populated. LEED certification status is now - // provided directly by USGBC. + // LeedCertificationException: LEED certification exception. // // Possible values: // "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this diff --git a/places/v1/places-api.json b/places/v1/places-api.json index c241ec1c9de..76a0405519e 100644 --- a/places/v1/places-api.json +++ b/places/v1/places-api.json @@ -222,7 +222,7 @@ "type": "integer" }, "name": { - "description": "Required. The resource name of a photo as returned in a Place object's photos.name field. Format: places/place_id/photos/photo_reference.", + "description": "Required. The resource name of a photo media in the format: `places/place_id/photos/photo_reference/media`. The resource name of a photo as returned in a Place object's photos.name field comes with the format `places/place_id/photos/photo_reference`. You need to append `/media` at the end of the photo resource to get the photo media resource name.", "location": "path", "pattern": "^places/[^/]+/photos/[^/]+/media$", "required": true, @@ -248,7 +248,7 @@ } } }, - "revision": "20231025", + "revision": "20231029", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -294,7 +294,7 @@ "description": "Required. Center latitude and longitude. The range of latitude must be within [-90.0, 90.0]. The range of the longitude must be within [-180.0, 180.0]." }, "radius": { - "description": "Required. Radius measured in meters. The radius must be within [0.0, 50000.0]. The default radius is 0.0.", + "description": "Required. Radius measured in meters. The radius must be within [0.0, 50000.0].", "format": "double", "type": "number" } @@ -489,7 +489,7 @@ "id": "GoogleMapsPlacesV1PhotoMedia", "properties": { "name": { - "description": "The resource name of a photo in the format: places/place_id/photos/photo_reference.", + "description": "The resource name of a photo media in the format: `places/place_id/photos/photo_reference/media`.", "type": "string" }, "photoUri": { diff --git a/places/v1/places-gen.go b/places/v1/places-gen.go index 58dfd46dbc5..6a4a48f1746 100644 --- a/places/v1/places-gen.go +++ b/places/v1/places-gen.go @@ -287,7 +287,7 @@ type GoogleMapsPlacesV1Circle struct { Center *GoogleTypeLatLng `json:"center,omitempty"` // Radius: Required. Radius measured in meters. The radius must be - // within [0.0, 50000.0]. The default radius is 0.0. + // within [0.0, 50000.0]. Radius float64 `json:"radius,omitempty"` // ForceSendFields is a list of field names (e.g. "Center") to @@ -586,8 +586,8 @@ func (s *GoogleMapsPlacesV1Photo) MarshalJSON() ([]byte, error) { // GoogleMapsPlacesV1PhotoMedia: A photo media from Places API. type GoogleMapsPlacesV1PhotoMedia struct { - // Name: The resource name of a photo in the format: - // places/place_id/photos/photo_reference. + // Name: The resource name of a photo media in the format: + // `places/place_id/photos/photo_reference/media`. Name string `json:"name,omitempty"` // PhotoUri: A short-lived uri that can be used to render the photo. @@ -2486,8 +2486,12 @@ type PlacesPhotosGetMediaCall struct { // GetMedia: Get a photo media with a photo reference string. // -// - name: The resource name of a photo as returned in a Place object's -// photos.name field. Format: places/place_id/photos/photo_reference. +// - name: The resource name of a photo media in the format: +// `places/place_id/photos/photo_reference/media`. The resource name +// of a photo as returned in a Place object's photos.name field comes +// with the format `places/place_id/photos/photo_reference`. You need +// to append `/media` at the end of the photo resource to get the +// photo media resource name. func (r *PlacesPhotosService) GetMedia(name string) *PlacesPhotosGetMediaCall { c := &PlacesPhotosGetMediaCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -2656,7 +2660,7 @@ func (c *PlacesPhotosGetMediaCall) Do(opts ...googleapi.CallOption) (*GoogleMaps // "type": "integer" // }, // "name": { - // "description": "Required. The resource name of a photo as returned in a Place object's photos.name field. Format: places/place_id/photos/photo_reference.", + // "description": "Required. The resource name of a photo media in the format: `places/place_id/photos/photo_reference/media`. The resource name of a photo as returned in a Place object's photos.name field comes with the format `places/place_id/photos/photo_reference`. You need to append `/media` at the end of the photo resource to get the photo media resource name.", // "location": "path", // "pattern": "^places/[^/]+/photos/[^/]+/media$", // "required": true, diff --git a/servicenetworking/v1/servicenetworking-api.json b/servicenetworking/v1/servicenetworking-api.json index a0be80113af..c5ad28c18e5 100644 --- a/servicenetworking/v1/servicenetworking-api.json +++ b/servicenetworking/v1/servicenetworking-api.json @@ -789,6 +789,32 @@ "https://www.googleapis.com/auth/service.management" ] }, + "getVpcServiceControls": { + "description": "Consumers use this method to find out the state of VPC Service Controls. The controls could be enabled or disabled for a connection.", + "flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/vpcServiceControls", + "httpMethod": "GET", + "id": "servicenetworking.services.projects.global.networks.getVpcServiceControls", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the VPC Service Controls config to retrieve in the format: `services/{service}/projects/{project}/global/networks/{network}`. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is a project number e.g. `12345` that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.", + "location": "path", + "pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}/vpcServiceControls", + "response": { + "$ref": "VpcServiceControls" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/service.management" + ] + }, "updateConsumerConfig": { "description": "Service producers use this method to update the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.", "flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}:updateConsumerConfig", @@ -1003,7 +1029,7 @@ } } }, - "revision": "20230806", + "revision": "20231029", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -1138,6 +1164,10 @@ "description": "Optional. Description of the subnet.", "type": "string" }, + "internalRange": { + "description": "Optional. The url of an Internal Range. Eg: `projects//locations/global/internalRanges/`. If specified, it means that the subnetwork cidr will be created using the combination of requested_address/ip_prefix_length. Note that the subnet cidr has to be within the cidr range of this Internal Range.", + "type": "string" + }, "ipPrefixLength": { "description": "Required. The prefix length of the subnet's IP address range. Use CIDR range notation, such as `29` to provision a subnet with an `x.x.x.x/29` CIDR range. The IP address range is drawn from a pool of available ranges in the service consumer's allocated range. GCE disallows subnets with prefix_length \u003e 29", "format": "int32", @@ -4048,6 +4078,18 @@ } }, "type": "object" + }, + "VpcServiceControls": { + "description": "Response for the get VPC Service Controls request.", + "id": "VpcServiceControls", + "properties": { + "enabled": { + "description": "Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the consumer called the EnableVpcServiceControls method, then this is true. If the consumer called DisableVpcServiceControls, then this is false. The default is false.", + "readOnly": true, + "type": "boolean" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go index e880de683c8..4e185ddd23f 100644 --- a/servicenetworking/v1/servicenetworking-gen.go +++ b/servicenetworking/v1/servicenetworking-gen.go @@ -538,6 +538,13 @@ type AddSubnetworkRequest struct { // Description: Optional. Description of the subnet. Description string `json:"description,omitempty"` + // InternalRange: Optional. The url of an Internal Range. Eg: + // `projects//locations/global/internalRanges/`. If specified, it means + // that the subnetwork cidr will be created using the combination of + // requested_address/ip_prefix_length. Note that the subnet cidr has to + // be within the cidr range of this Internal Range. + InternalRange string `json:"internalRange,omitempty"` + // IpPrefixLength: Required. The prefix length of the subnet's IP // address range. Use CIDR range notation, such as `29` to provision a // subnet with an `x.x.x.x/29` CIDR range. The IP address range is drawn @@ -5941,6 +5948,43 @@ func (s *ValidateConsumerConfigResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// VpcServiceControls: Response for the get VPC Service Controls +// request. +type VpcServiceControls struct { + // Enabled: Output only. Indicates whether the VPC Service Controls are + // enabled or disabled for the connection. If the consumer called the + // EnableVpcServiceControls method, then this is true. If the consumer + // called DisableVpcServiceControls, then this is false. The default is + // false. + Enabled bool `json:"enabled,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Enabled") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Enabled") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *VpcServiceControls) MarshalJSON() ([]byte, error) { + type NoMethod VpcServiceControls + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // method id "servicenetworking.operations.cancel": type OperationsCancelCall struct { @@ -9273,6 +9317,163 @@ func (c *ServicesProjectsGlobalNetworksGetCall) Do(opts ...googleapi.CallOption) } +// method id "servicenetworking.services.projects.global.networks.getVpcServiceControls": + +type ServicesProjectsGlobalNetworksGetVpcServiceControlsCall struct { + s *APIService + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetVpcServiceControls: Consumers use this method to find out the +// state of VPC Service Controls. The controls could be enabled or +// disabled for a connection. +// +// - name: Name of the VPC Service Controls config to retrieve in the +// format: +// `services/{service}/projects/{project}/global/networks/{network}`. +// {service} is the peering service that is managing connectivity for +// the service producer's organization. For Google services that +// support this functionality, this value is +// `servicenetworking.googleapis.com`. {project} is a project number +// e.g. `12345` that contains the service consumer's VPC network. +// {network} is the name of the service consumer's VPC network. +func (r *ServicesProjectsGlobalNetworksService) GetVpcServiceControls(name string) *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall { + c := &ServicesProjectsGlobalNetworksGetVpcServiceControlsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall) Fields(s ...googleapi.Field) *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall) IfNoneMatch(entityTag string) *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall) Context(ctx context.Context) *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}/vpcServiceControls") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "servicenetworking.services.projects.global.networks.getVpcServiceControls" call. +// Exactly one of *VpcServiceControls or error will be non-nil. Any +// non-2xx status code is an error. Response headers are in either +// *VpcServiceControls.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *ServicesProjectsGlobalNetworksGetVpcServiceControlsCall) Do(opts ...googleapi.CallOption) (*VpcServiceControls, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &VpcServiceControls{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Consumers use this method to find out the state of VPC Service Controls. The controls could be enabled or disabled for a connection.", + // "flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/vpcServiceControls", + // "httpMethod": "GET", + // "id": "servicenetworking.services.projects.global.networks.getVpcServiceControls", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the VPC Service Controls config to retrieve in the format: `services/{service}/projects/{project}/global/networks/{network}`. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is a project number e.g. `12345` that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.", + // "location": "path", + // "pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}/vpcServiceControls", + // "response": { + // "$ref": "VpcServiceControls" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/service.management" + // ] + // } + +} + // method id "servicenetworking.services.projects.global.networks.updateConsumerConfig": type ServicesProjectsGlobalNetworksUpdateConsumerConfigCall struct {