From 334c07ed354828145ee6e61c3722471ee8260eb4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 18 Jul 2023 10:28:13 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2076) --- .../v1alpha/analyticsadmin-api.json | 6 +- analyticsadmin/v1alpha/analyticsadmin-gen.go | 12 +- .../v1/androidenterprise-api.json | 7 +- androidenterprise/v1/androidenterprise-gen.go | 5 + androidpublisher/v3/androidpublisher-api.json | 16 +- androidpublisher/v3/androidpublisher-gen.go | 12 ++ apigee/v1/apigee-api.json | 76 +++++++- apigee/v1/apigee-gen.go | 101 ++++++++++ checks/v1alpha/checks-api.json | 39 +++- checks/v1alpha/checks-gen.go | 184 ++++++++++++++++++ cloudbilling/v1beta/cloudbilling-api.json | 36 ++-- cloudbilling/v1beta/cloudbilling-gen.go | 40 ++-- content/v2.1/content-api.json | 99 +++++++++- content/v2.1/content-gen.go | 147 ++++++++++++++ dns/v1/dns-api.json | 6 +- dns/v1/dns-gen.go | 1 + dns/v1beta2/dns-api.json | 6 +- dns/v1beta2/dns-gen.go | 1 + go.work.sum | 1 + kmsinventory/v1/kmsinventory-api.json | 18 +- kmsinventory/v1/kmsinventory-gen.go | 12 ++ retail/v2/retail-api.json | 4 +- retail/v2/retail-gen.go | 8 +- retail/v2alpha/retail-api.json | 22 +-- retail/v2alpha/retail-gen.go | 65 +++---- retail/v2beta/retail-api.json | 4 +- retail/v2beta/retail-gen.go | 8 +- securitycenter/v1/securitycenter-api.json | 7 +- securitycenter/v1/securitycenter-gen.go | 7 +- .../v1beta1/securitycenter-api.json | 7 +- securitycenter/v1beta1/securitycenter-gen.go | 7 +- .../v1beta2/securitycenter-api.json | 7 +- securitycenter/v1beta2/securitycenter-gen.go | 7 +- sheets/v4/sheets-api.json | 36 +++- .../v1/smartdevicemanagement-api.json | 26 ++- .../v1/smartdevicemanagement-gen.go | 29 ++- translate/v3/translate-api.json | 6 +- translate/v3/translate-gen.go | 4 + translate/v3beta1/translate-api.json | 6 +- translate/v3beta1/translate-gen.go | 4 + verifiedaccess/v1/verifiedaccess-api.json | 3 +- 41 files changed, 934 insertions(+), 158 deletions(-) diff --git a/analyticsadmin/v1alpha/analyticsadmin-api.json b/analyticsadmin/v1alpha/analyticsadmin-api.json index 90e098b83f7..0f4e663f255 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-api.json +++ b/analyticsadmin/v1alpha/analyticsadmin-api.json @@ -4322,7 +4322,7 @@ } } }, - "revision": "20230704", + "revision": "20230716", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { @@ -4876,8 +4876,8 @@ "enumDescriptions": [ "Default value. This value is unused.", "No data export scope selected yet. Export scope can never be changed back to this value.", - "The Ads Web Conversion Data export scope is Cross Channel.", - "The Ads Web Conversion Data export scope is Ads Preferred." + "Paid and organic channels are eligible to receive conversion credit, but only credit assigned to Google Ads channels will appear in your Ads accounts. To learn more, see [Paid and Organic channels](https://support.google.com/analytics/answer/10632359).", + "Only Google Ads paid channels are eligible to receive conversion credit. To learn more, see [Google Paid channels](https://support.google.com/analytics/answer/10632359)." ], "type": "string" }, diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index fa68376ff15..f333a6c1cb1 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -1457,10 +1457,14 @@ type GoogleAnalyticsAdminV1alphaAttributionSettings struct { // This value is unused. // "NOT_SELECTED_YET" - No data export scope selected yet. Export // scope can never be changed back to this value. - // "CROSS_CHANNEL" - The Ads Web Conversion Data export scope is Cross - // Channel. - // "ADS_PREFERRED" - The Ads Web Conversion Data export scope is Ads - // Preferred. + // "CROSS_CHANNEL" - Paid and organic channels are eligible to receive + // conversion credit, but only credit assigned to Google Ads channels + // will appear in your Ads accounts. To learn more, see [Paid and + // Organic + // channels](https://support.google.com/analytics/answer/10632359). + // "ADS_PREFERRED" - Only Google Ads paid channels are eligible to + // receive conversion credit. To learn more, see [Google Paid + // channels](https://support.google.com/analytics/answer/10632359). AdsWebConversionDataExportScope string `json:"adsWebConversionDataExportScope,omitempty"` // Name: Output only. Resource name of this attribution settings diff --git a/androidenterprise/v1/androidenterprise-api.json b/androidenterprise/v1/androidenterprise-api.json index b708ab80eea..ce88914b56e 100644 --- a/androidenterprise/v1/androidenterprise-api.json +++ b/androidenterprise/v1/androidenterprise-api.json @@ -2649,7 +2649,7 @@ } } }, - "revision": "20230703", + "revision": "20230713", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { @@ -2975,6 +2975,11 @@ "description": "True if this version is a production APK.", "type": "boolean" }, + "targetSdkVersion": { + "description": "The SDK version this app targets, as specified in the manifest of the APK. See http://developer.android.com/guide/topics/manifest/uses-sdk-element.html", + "format": "int32", + "type": "integer" + }, "track": { "description": "Deprecated, use trackId instead.", "enum": [ diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index d96fc9eff74..87e6eca6bce 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -890,6 +890,11 @@ type AppVersion struct { // IsProduction: True if this version is a production APK. IsProduction bool `json:"isProduction,omitempty"` + // TargetSdkVersion: The SDK version this app targets, as specified in + // the manifest of the APK. See + // http://developer.android.com/guide/topics/manifest/uses-sdk-element.html + TargetSdkVersion int64 `json:"targetSdkVersion,omitempty"` + // Track: Deprecated, use trackId instead. // // Possible values: diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index f580ede88f7..7a07ad93ac2 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -4047,7 +4047,7 @@ } } }, - "revision": "20230704", + "revision": "20230717", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -6390,6 +6390,20 @@ "format": "google-datetime", "type": "string" }, + "priceIncreaseType": { + "description": "Optional. The behavior the caller wants users to see if there is a price increase during migration. If left unset, the behavior defaults to PRICE_INCREASE_TYPE_OPT_IN.", + "enum": [ + "PRICE_INCREASE_TYPE_UNSPECIFIED", + "PRICE_INCREASE_TYPE_OPT_IN", + "PRICE_INCREASE_TYPE_OPT_OUT" + ], + "enumDescriptions": [ + "Unspecified state.", + "Price increase will be presented to users on an opt-in basis.", + "Price increase will be presented to users on an opt-out basis." + ], + "type": "string" + }, "regionCode": { "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".", "type": "string" diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index 4ddf432608c..304fe7fb7f1 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -4584,6 +4584,18 @@ type RegionalPriceMigrationConfig struct { // subscription ended at the next renewal. OldestAllowedPriceVersionTime string `json:"oldestAllowedPriceVersionTime,omitempty"` + // PriceIncreaseType: Optional. The behavior the caller wants users to + // see if there is a price increase during migration. If left unset, the + // behavior defaults to PRICE_INCREASE_TYPE_OPT_IN. + // + // Possible values: + // "PRICE_INCREASE_TYPE_UNSPECIFIED" - Unspecified state. + // "PRICE_INCREASE_TYPE_OPT_IN" - Price increase will be presented to + // users on an opt-in basis. + // "PRICE_INCREASE_TYPE_OPT_OUT" - Price increase will be presented to + // users on an opt-out basis. + PriceIncreaseType string `json:"priceIncreaseType,omitempty"` + // RegionCode: Required. Region code this configuration applies to, as // defined by ISO 3166-2, e.g. "US". RegionCode string `json:"regionCode,omitempty"` diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index 90c73eacdcb..9bcc4c2cf20 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -9242,7 +9242,7 @@ } } }, - "revision": "20230630", + "revision": "20230715", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -9584,6 +9584,10 @@ "$ref": "GoogleCloudApigeeV1GraphQLOperationGroup", "description": "Configuration used to group Apigee proxies or remote services with graphQL operation name, graphQL operation type and quotas. This grouping allows us to precisely set quota for a particular combination of graphQL name and operation type for a particular proxy request. If graphQL name is not set, this would imply quota will be applied on all graphQL requests matching the operation type." }, + "grpcOperationGroup": { + "$ref": "GoogleCloudApigeeV1GrpcOperationGroup", + "description": "Optional. Configuration used to group Apigee proxies with gRPC services and method names. This grouping allows us to set quota for a particular proxy with the gRPC service name and method. If a method name is not set, this implies quota and authorization are applied to all gRPC methods implemented by that proxy for that particular gRPC service." + }, "lastModifiedAt": { "description": "Response only. Modified time of this environment as milliseconds since epoch.", "format": "int64", @@ -11857,6 +11861,9 @@ "description": "Optional. Url of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that scheme must be one of \"http\" or \"https\", and port must be supplied.", "type": "string" }, + "hasAttachedFlowHooks": { + "type": "boolean" + }, "lastModifiedAt": { "description": "Output only. Last modification time of this environment as milliseconds since epoch.", "format": "int64", @@ -12408,6 +12415,53 @@ }, "type": "object" }, + "GoogleCloudApigeeV1GrpcOperationConfig": { + "description": "Binds the resources in a proxy or remote service with the gRPC operation and its associated quota enforcement.", + "id": "GoogleCloudApigeeV1GrpcOperationConfig", + "properties": { + "apiSource": { + "description": "Required. Name of the API proxy with which the gRPC operation and quota are associated.", + "type": "string" + }, + "attributes": { + "description": "Custom attributes associated with the operation.", + "items": { + "$ref": "GoogleCloudApigeeV1Attribute" + }, + "type": "array" + }, + "methods": { + "description": "List of unqualified gRPC method names for the proxy to which quota will be applied. If this field is empty, the Quota will apply to all operations on the gRPC service defined on the proxy. Example: Given a proxy that is configured to serve com.petstore.PetService, the methods com.petstore.PetService.ListPets and com.petstore.PetService.GetPet would be specified here as simply [\"ListPets\", \"GetPet\"].", + "items": { + "type": "string" + }, + "type": "array" + }, + "quota": { + "$ref": "GoogleCloudApigeeV1Quota", + "description": "Quota parameters to be enforced for the methods and API source combination. If none are specified, quota enforcement will not be done." + }, + "service": { + "description": "Required. gRPC Service name associated to be associated with the API proxy, on which quota rules can be applied upon.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApigeeV1GrpcOperationGroup": { + "description": "List of gRPC operation configuration details associated with Apigee API proxies.", + "id": "GoogleCloudApigeeV1GrpcOperationGroup", + "properties": { + "operationConfigs": { + "description": "Required. List of operation configurations for either Apigee API proxies that are associated with this API product.", + "items": { + "$ref": "GoogleCloudApigeeV1GrpcOperationConfig" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudApigeeV1IngressConfig": { "id": "GoogleCloudApigeeV1IngressConfig", "properties": { @@ -15794,12 +15848,18 @@ "enum": [ "PROTOCOL_UNSPECIFIED", "HTTP", - "GRPC" + "HTTP2", + "GRPC_TARGET", + "GRPC", + "EXTERNAL_CALLOUT" ], "enumDescriptions": [ "UNSPECIFIED defaults to HTTP for backwards compatibility.", "The TargetServer uses HTTP.", - "GRPC TargetServer to be used in ExternalCallout Policy. Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate once EXTERNAL _CALLOUT generally available." + "The TargetSever uses HTTP2.", + "The TargetServer uses GRPC.", + "GRPC TargetServer to be used in ExternalCallout Policy. Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate once EXTERNAL _CALLOUT generally available.", + "The TargetServer is to be used in the ExternalCallout Policy" ], "type": "string" }, @@ -15835,12 +15895,18 @@ "enum": [ "PROTOCOL_UNSPECIFIED", "HTTP", - "GRPC" + "HTTP2", + "GRPC_TARGET", + "GRPC", + "EXTERNAL_CALLOUT" ], "enumDescriptions": [ "UNSPECIFIED defaults to HTTP for backwards compatibility.", "The TargetServer uses HTTP.", - "GRPC TargetServer to be used in ExternalCallout Policy. Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate once EXTERNAL _CALLOUT generally available." + "The TargetSever uses HTTP2.", + "The TargetServer uses GRPC.", + "GRPC TargetServer to be used in ExternalCallout Policy. Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate once EXTERNAL _CALLOUT generally available.", + "The TargetServer is to be used in the ExternalCallout Policy" ], "type": "string" }, diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index b2bba54f11b..4f66db8872b 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -1799,6 +1799,14 @@ type GoogleCloudApigeeV1ApiProduct struct { // operation type. GraphqlOperationGroup *GoogleCloudApigeeV1GraphQLOperationGroup `json:"graphqlOperationGroup,omitempty"` + // GrpcOperationGroup: Optional. Configuration used to group Apigee + // proxies with gRPC services and method names. This grouping allows us + // to set quota for a particular proxy with the gRPC service name and + // method. If a method name is not set, this implies quota and + // authorization are applied to all gRPC methods implemented by that + // proxy for that particular gRPC service. + GrpcOperationGroup *GoogleCloudApigeeV1GrpcOperationGroup `json:"grpcOperationGroup,omitempty"` + // LastModifiedAt: Response only. Modified time of this environment as // milliseconds since epoch. LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"` @@ -4921,6 +4929,8 @@ type GoogleCloudApigeeV1Environment struct { // or "https", and port must be supplied. ForwardProxyUri string `json:"forwardProxyUri,omitempty"` + HasAttachedFlowHooks bool `json:"hasAttachedFlowHooks,omitempty"` + // LastModifiedAt: Output only. Last modification time of this // environment as milliseconds since epoch. LastModifiedAt int64 `json:"lastModifiedAt,omitempty,string"` @@ -5755,6 +5765,89 @@ func (s *GoogleCloudApigeeV1GraphQLOperationGroup) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudApigeeV1GrpcOperationConfig: Binds the resources in a +// proxy or remote service with the gRPC operation and its associated +// quota enforcement. +type GoogleCloudApigeeV1GrpcOperationConfig struct { + // ApiSource: Required. Name of the API proxy with which the gRPC + // operation and quota are associated. + ApiSource string `json:"apiSource,omitempty"` + + // Attributes: Custom attributes associated with the operation. + Attributes []*GoogleCloudApigeeV1Attribute `json:"attributes,omitempty"` + + // Methods: List of unqualified gRPC method names for the proxy to which + // quota will be applied. If this field is empty, the Quota will apply + // to all operations on the gRPC service defined on the proxy. Example: + // Given a proxy that is configured to serve com.petstore.PetService, + // the methods com.petstore.PetService.ListPets and + // com.petstore.PetService.GetPet would be specified here as simply + // ["ListPets", "GetPet"]. + Methods []string `json:"methods,omitempty"` + + // Quota: Quota parameters to be enforced for the methods and API source + // combination. If none are specified, quota enforcement will not be + // done. + Quota *GoogleCloudApigeeV1Quota `json:"quota,omitempty"` + + // Service: Required. gRPC Service name associated to be associated with + // the API proxy, on which quota rules can be applied upon. + Service string `json:"service,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ApiSource") 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. "ApiSource") 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 *GoogleCloudApigeeV1GrpcOperationConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudApigeeV1GrpcOperationConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudApigeeV1GrpcOperationGroup: List of gRPC operation +// configuration details associated with Apigee API proxies. +type GoogleCloudApigeeV1GrpcOperationGroup struct { + // OperationConfigs: Required. List of operation configurations for + // either Apigee API proxies that are associated with this API product. + OperationConfigs []*GoogleCloudApigeeV1GrpcOperationConfig `json:"operationConfigs,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OperationConfigs") 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. "OperationConfigs") 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 *GoogleCloudApigeeV1GrpcOperationGroup) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudApigeeV1GrpcOperationGroup + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type GoogleCloudApigeeV1IngressConfig struct { // EnvironmentGroups: List of environment groups in the organization. EnvironmentGroups []*GoogleCloudApigeeV1EnvironmentGroupConfig `json:"environmentGroups,omitempty"` @@ -11326,9 +11419,13 @@ type GoogleCloudApigeeV1TargetServer struct { // "PROTOCOL_UNSPECIFIED" - UNSPECIFIED defaults to HTTP for backwards // compatibility. // "HTTP" - The TargetServer uses HTTP. + // "HTTP2" - The TargetSever uses HTTP2. + // "GRPC_TARGET" - The TargetServer uses GRPC. // "GRPC" - GRPC TargetServer to be used in ExternalCallout Policy. // Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate // once EXTERNAL _CALLOUT generally available. + // "EXTERNAL_CALLOUT" - The TargetServer is to be used in the + // ExternalCallout Policy Protocol string `json:"protocol,omitempty"` // SSLInfo: Optional. Specifies TLS configuration info for this @@ -11386,9 +11483,13 @@ type GoogleCloudApigeeV1TargetServerConfig struct { // "PROTOCOL_UNSPECIFIED" - UNSPECIFIED defaults to HTTP for backwards // compatibility. // "HTTP" - The TargetServer uses HTTP. + // "HTTP2" - The TargetSever uses HTTP2. + // "GRPC_TARGET" - The TargetServer uses GRPC. // "GRPC" - GRPC TargetServer to be used in ExternalCallout Policy. // Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate // once EXTERNAL _CALLOUT generally available. + // "EXTERNAL_CALLOUT" - The TargetServer is to be used in the + // ExternalCallout Policy Protocol string `json:"protocol,omitempty"` // TlsInfo: TLS settings for the target server. diff --git a/checks/v1alpha/checks-api.json b/checks/v1alpha/checks-api.json index 980e988e9ae..bcbb4a49289 100644 --- a/checks/v1alpha/checks-api.json +++ b/checks/v1alpha/checks-api.json @@ -160,9 +160,46 @@ } } } + }, + "projects": { + "resources": { + "privacypolicy": { + "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1alpha/projects/{projectsId}/privacypolicy/operations/{operationsId}", + "httpMethod": "GET", + "id": "checks.projects.privacypolicy.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/privacypolicy/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/xapi.zoo" + ] + } + } + } + } + } + } } }, - "revision": "20230619", + "revision": "20230716", "rootUrl": "https://checks.googleapis.com/", "schemas": { "AnalyzePrivacyPolicyRequest": { diff --git a/checks/v1alpha/checks-gen.go b/checks/v1alpha/checks-gen.go index 5f6f5a926f5..81db8c69569 100644 --- a/checks/v1alpha/checks-gen.go +++ b/checks/v1alpha/checks-gen.go @@ -120,6 +120,7 @@ func New(client *http.Client) (*Service, error) { s := &Service{client: client, BasePath: basePath} s.Accounts = NewAccountsService(s) s.Privacypolicy = NewPrivacypolicyService(s) + s.Projects = NewProjectsService(s) return s, nil } @@ -131,6 +132,8 @@ type Service struct { Accounts *AccountsService Privacypolicy *PrivacypolicyService + + Projects *ProjectsService } func (s *Service) userAgent() string { @@ -182,6 +185,39 @@ type PrivacypolicyService struct { s *Service } +func NewProjectsService(s *Service) *ProjectsService { + rs := &ProjectsService{s: s} + rs.Privacypolicy = NewProjectsPrivacypolicyService(s) + return rs +} + +type ProjectsService struct { + s *Service + + Privacypolicy *ProjectsPrivacypolicyService +} + +func NewProjectsPrivacypolicyService(s *Service) *ProjectsPrivacypolicyService { + rs := &ProjectsPrivacypolicyService{s: s} + rs.Operations = NewProjectsPrivacypolicyOperationsService(s) + return rs +} + +type ProjectsPrivacypolicyService struct { + s *Service + + Operations *ProjectsPrivacypolicyOperationsService +} + +func NewProjectsPrivacypolicyOperationsService(s *Service) *ProjectsPrivacypolicyOperationsService { + rs := &ProjectsPrivacypolicyOperationsService{s: s} + return rs +} + +type ProjectsPrivacypolicyOperationsService struct { + s *Service +} + // AnalyzePrivacyPolicyRequest: The request proto for // AnalyzePrivacyPolicy method. type AnalyzePrivacyPolicyRequest struct { @@ -1129,3 +1165,151 @@ func (c *PrivacypolicyAnalyzeCall) Do(opts ...googleapi.CallOption) (*AnalyzePri // } } + +// method id "checks.projects.privacypolicy.operations.get": + +type ProjectsPrivacypolicyOperationsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets the latest state of a long-running operation. Clients can +// use this method to poll the operation result at intervals as +// recommended by the API service. +// +// - name: The name of the operation resource. +func (r *ProjectsPrivacypolicyOperationsService) Get(name string) *ProjectsPrivacypolicyOperationsGetCall { + c := &ProjectsPrivacypolicyOperationsGetCall{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 *ProjectsPrivacypolicyOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsPrivacypolicyOperationsGetCall { + 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 *ProjectsPrivacypolicyOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsPrivacypolicyOperationsGetCall { + 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 *ProjectsPrivacypolicyOperationsGetCall) Context(ctx context.Context) *ProjectsPrivacypolicyOperationsGetCall { + 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 *ProjectsPrivacypolicyOperationsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsPrivacypolicyOperationsGetCall) 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, "v1alpha/{+name}") + 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 "checks.projects.privacypolicy.operations.get" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.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 *ProjectsPrivacypolicyOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, 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 := &Operation{ + 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": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + // "flatPath": "v1alpha/projects/{projectsId}/privacypolicy/operations/{operationsId}", + // "httpMethod": "GET", + // "id": "checks.projects.privacypolicy.operations.get", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "The name of the operation resource.", + // "location": "path", + // "pattern": "^projects/[^/]+/privacypolicy/operations/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1alpha/{+name}", + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/xapi.zoo" + // ] + // } + +} diff --git a/cloudbilling/v1beta/cloudbilling-api.json b/cloudbilling/v1beta/cloudbilling-api.json index fcf8c0d3a25..67685e2e6af 100644 --- a/cloudbilling/v1beta/cloudbilling-api.json +++ b/cloudbilling/v1beta/cloudbilling-api.json @@ -664,7 +664,7 @@ } } }, - "revision": "20230710", + "revision": "20230717", "rootUrl": "https://cloudbilling.googleapis.com/", "schemas": { "CacheFillRegions": { @@ -1233,8 +1233,8 @@ "description": "Interval at which usage is aggregated to compute cost. Example: \"MONTHLY\" interval indicates that usage is aggregated every month.", "enum": [ "INTERVAL_UNSPECIFIED", - "MONTHLY", - "DAILY" + "INTERVAL_MONTHLY", + "INTERVAL_DAILY" ], "enumDescriptions": [ "Default unspecified value.", @@ -1247,8 +1247,8 @@ "description": "Level at which usage is aggregated to compute cost. Example: \"ACCOUNT\" level indicates that usage is aggregated across all projects in a single account.", "enum": [ "LEVEL_UNSPECIFIED", - "ACCOUNT", - "PROJECT" + "LEVEL_ACCOUNT", + "LEVEL_PROJECT" ], "enumDescriptions": [ "Default unspecified value.", @@ -1608,9 +1608,9 @@ "description": "Type of geographic taxonomy associated with the billing account SKU group SKU.", "enum": [ "TYPE_UNSPECIFIED", - "GLOBAL", - "REGIONAL", - "MULTI_REGIONAL" + "TYPE_GLOBAL", + "TYPE_REGIONAL", + "TYPE_MULTI_REGIONAL" ], "enumDescriptions": [ "Default value. Unspecified type.", @@ -1759,9 +1759,9 @@ "description": "Type of geographic taxonomy associated with the billing account SKU.", "enum": [ "TYPE_UNSPECIFIED", - "GLOBAL", - "REGIONAL", - "MULTI_REGIONAL" + "TYPE_GLOBAL", + "TYPE_REGIONAL", + "TYPE_MULTI_REGIONAL" ], "enumDescriptions": [ "Default value. Unspecified type.", @@ -1867,8 +1867,8 @@ "description": "Interval at which usage is aggregated to compute cost. Example: \"MONTHLY\" interval indicates that usage is aggregated every month.", "enum": [ "INTERVAL_UNSPECIFIED", - "MONTHLY", - "DAILY" + "INTERVAL_MONTHLY", + "INTERVAL_DAILY" ], "enumDescriptions": [ "Default unspecified value.", @@ -1881,8 +1881,8 @@ "description": "Level at which usage is aggregated to compute cost. Example: \"ACCOUNT\" level indicates that usage is aggregated across all projects in a single account.", "enum": [ "LEVEL_UNSPECIFIED", - "ACCOUNT", - "PROJECT" + "LEVEL_ACCOUNT", + "LEVEL_PROJECT" ], "enumDescriptions": [ "Default unspecified value.", @@ -2026,9 +2026,9 @@ "description": "Type of geographic taxonomy associated with the SKU group SKU.", "enum": [ "TYPE_UNSPECIFIED", - "GLOBAL", - "REGIONAL", - "MULTI_REGIONAL" + "TYPE_GLOBAL", + "TYPE_REGIONAL", + "TYPE_MULTI_REGIONAL" ], "enumDescriptions": [ "Default value. Unspecified type.", diff --git a/cloudbilling/v1beta/cloudbilling-gen.go b/cloudbilling/v1beta/cloudbilling-gen.go index f8ad3c65896..5728b9f2449 100644 --- a/cloudbilling/v1beta/cloudbilling-gen.go +++ b/cloudbilling/v1beta/cloudbilling-gen.go @@ -1252,8 +1252,8 @@ type GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo struct { // // Possible values: // "INTERVAL_UNSPECIFIED" - Default unspecified value. - // "MONTHLY" - Usage is aggregated every month. - // "DAILY" - Usage is aggregated every day. + // "INTERVAL_MONTHLY" - Usage is aggregated every month. + // "INTERVAL_DAILY" - Usage is aggregated every day. Interval string `json:"interval,omitempty"` // Level: Level at which usage is aggregated to compute cost. Example: @@ -1262,8 +1262,8 @@ type GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo struct { // // Possible values: // "LEVEL_UNSPECIFIED" - Default unspecified value. - // "ACCOUNT" - Usage is aggregated at an account level. - // "PROJECT" - Usage is aggregated at a project level. + // "LEVEL_ACCOUNT" - Usage is aggregated at an account level. + // "LEVEL_PROJECT" - Usage is aggregated at a project level. Level string `json:"level,omitempty"` // ForceSendFields is a list of field names (e.g. "Interval") to @@ -1950,10 +1950,10 @@ type GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy struct { // // Possible values: // "TYPE_UNSPECIFIED" - Default value. Unspecified type. - // "GLOBAL" - Global geographic taxonomy with no regions. - // "REGIONAL" - Regional geographic taxonomy with 1 region. - // "MULTI_REGIONAL" - Multi-regional geographic taxonomy with 2 or - // more regions. + // "TYPE_GLOBAL" - Global geographic taxonomy with no regions. + // "TYPE_REGIONAL" - Regional geographic taxonomy with 1 region. + // "TYPE_MULTI_REGIONAL" - Multi-regional geographic taxonomy with 2 + // or more regions. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "GlobalMetadata") to @@ -2256,10 +2256,10 @@ type GoogleCloudBillingBillingaccountskusV1betaGeoTaxonomy struct { // // Possible values: // "TYPE_UNSPECIFIED" - Default value. Unspecified type. - // "GLOBAL" - Global geographic taxonomy with no regions. - // "REGIONAL" - Regional geographic taxonomy with 1 region. - // "MULTI_REGIONAL" - Multi-regional geographic taxonomy with 2 or - // more regions. + // "TYPE_GLOBAL" - Global geographic taxonomy with no regions. + // "TYPE_REGIONAL" - Regional geographic taxonomy with 1 region. + // "TYPE_MULTI_REGIONAL" - Multi-regional geographic taxonomy with 2 + // or more regions. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "GlobalMetadata") to @@ -2490,8 +2490,8 @@ type GoogleCloudBillingPricesV1betaAggregationInfo struct { // // Possible values: // "INTERVAL_UNSPECIFIED" - Default unspecified value. - // "MONTHLY" - Usage is aggregated every month. - // "DAILY" - Usage is aggregated every day. + // "INTERVAL_MONTHLY" - Usage is aggregated every month. + // "INTERVAL_DAILY" - Usage is aggregated every day. Interval string `json:"interval,omitempty"` // Level: Level at which usage is aggregated to compute cost. Example: @@ -2500,8 +2500,8 @@ type GoogleCloudBillingPricesV1betaAggregationInfo struct { // // Possible values: // "LEVEL_UNSPECIFIED" - Default unspecified value. - // "ACCOUNT" - Usage is aggregated at an account level. - // "PROJECT" - Usage is aggregated at a project level. + // "LEVEL_ACCOUNT" - Usage is aggregated at an account level. + // "LEVEL_PROJECT" - Usage is aggregated at a project level. Level string `json:"level,omitempty"` // ForceSendFields is a list of field names (e.g. "Interval") to @@ -2777,10 +2777,10 @@ type GoogleCloudBillingSkugroupskusV1betaGeoTaxonomy struct { // // Possible values: // "TYPE_UNSPECIFIED" - Default value. Unspecified type. - // "GLOBAL" - Global geographic taxonomy with no regions. - // "REGIONAL" - Regional geographic taxonomy with 1 region. - // "MULTI_REGIONAL" - Multi-regional geographic taxonomy with 2 or - // more regions. + // "TYPE_GLOBAL" - Global geographic taxonomy with no regions. + // "TYPE_REGIONAL" - Regional geographic taxonomy with 1 region. + // "TYPE_MULTI_REGIONAL" - Multi-regional geographic taxonomy with 2 + // or more regions. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "GlobalMetadata") to diff --git a/content/v2.1/content-api.json b/content/v2.1/content-api.json index b7e0a692320..893f037a57e 100644 --- a/content/v2.1/content-api.json +++ b/content/v2.1/content-api.json @@ -6271,7 +6271,7 @@ } } }, - "revision": "20230627", + "revision": "20230714", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -6486,6 +6486,11 @@ "SHOPIFY_ORDER_MANAGEMENT", "SHOPIFY_INTEGRATION" ], + "enumDeprecated": [ + false, + true, + false + ], "enumDescriptions": [ "Unknown purpose.", "The credentials allow Google to manage Shopify orders on behalf of the merchant (deprecated).", @@ -8118,6 +8123,80 @@ }, "type": "object" }, + "CompetitiveVisibility": { + "description": "Fields related to [competitive visibility reports] (https://support.google.com/merchants/answer/11366442).", + "id": "CompetitiveVisibility", + "properties": { + "adsOrganicRatio": { + "description": "[Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cadsfree-ratio) shows how often a merchant receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Available only in `CompetitiveVisibilityTopMerchantView`. Cannot be filtered on in the 'WHERE' clause.", + "format": "double", + "type": "number" + }, + "categoryBenchmarkVisibilityTrend": { + "description": "Change in visibility based on impressions with respect to the start of the selected time range (or first day with non-zero impressions) for a combined set of merchants with highest visibility approximating the market. Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.", + "format": "double", + "type": "number" + }, + "categoryId": { + "description": "Google product category ID to calculate the report for, represented in [Google's product taxonomy](https://support.google.com/merchants/answer/6324436). Required in the `SELECT` clause. A `WHERE` condition on `competitive_visibility.category_id` is required in the query.", + "format": "int64", + "type": "string" + }, + "countryCode": { + "description": "The country where impression appeared. Required in the `SELECT` clause. A `WHERE` condition on `competitive_visibility.country_code` is required in the query.", + "type": "string" + }, + "date": { + "$ref": "Date", + "description": "Date of this row. Available only in `CompetitiveVisibilityBenchmarkView`. Required in the `SELECT` clause for `CompetitiveVisibilityMarketBenchmarkView`." + }, + "domain": { + "description": "Domain of your competitor or your domain, if 'is_your_domain' is true. Available only in `CompetitiveVisibilityTopMerchantView`. Required in the `SELECT` clause for `CompetitiveVisibilityTopMerchantView`. Cannot be filtered on in the 'WHERE' clause.", + "type": "string" + }, + "higherPositionRate": { + "description": "Higher position rate shows how often a competitor’s offer got placed in a higher position on the page than your offer. Available only in `CompetitiveVisibilityTopMerchantView`. Cannot be filtered on in the 'WHERE' clause.", + "format": "double", + "type": "number" + }, + "isYourDomain": { + "description": "True if this row contains data for your domain. Available only in `CompetitiveVisibilityTopMerchantView`. Cannot be filtered on in the 'WHERE' clause.", + "type": "boolean" + }, + "pageOverlapRate": { + "description": "Page overlap rate describes how frequently competing retailers’ offers are shown together with your offers on the same page. Available only in `CompetitiveVisibilityTopMerchantView`. Cannot be filtered on in the 'WHERE' clause.", + "format": "double", + "type": "number" + }, + "rank": { + "description": "Position of the domain in the top merchants ranking for the selected keys (`date`, `category_id`, `country_code`, `listing_type`) based on impressions. 1 is the highest. Available only in `CompetitiveVisibilityTopMerchantView`. Cannot be filtered on in the 'WHERE' clause.", + "format": "uint64", + "type": "string" + }, + "trafficSource": { + "description": "Type of impression listing. Required in the `SELECT` clause for `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityMarketBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.", + "enum": [ + "UNKNOWN", + "ORGANIC", + "ADS", + "ALL" + ], + "enumDescriptions": [ + "Traffic source is unknown.", + "Organic traffic.", + "Traffic from Ads.", + "Organic and Ads traffic." + ], + "type": "string" + }, + "yourDomainVisibilityTrend": { + "description": "Change in visibility based on impressions for your domain with respect to the start of the selected time range (or first day with non-zero impressions). Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "ConversionSource": { "description": "Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.", "id": "ConversionSource", @@ -8204,6 +8283,7 @@ "type": "object" }, "CustomAttribute": { + "description": "A message that represents custom attributes. Exactly one of `value` or `groupValues` must be provided. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per merchant, with total size of 102.4kB.", "id": "CustomAttribute", "properties": { "groupValues": { @@ -11450,6 +11530,7 @@ "type": "string" }, "productDescription": { + "deprecated": true, "description": "Plain text description of this product (deprecated: Please use product_title instead).", "type": "string" }, @@ -11467,10 +11548,12 @@ "type": "string" }, "sku": { + "deprecated": true, "description": "Merchant SKU for this item (deprecated).", "type": "string" }, "upc": { + "deprecated": true, "description": "Universal product code for this item (deprecated: Please use GTIN instead).", "type": "string" } @@ -13785,6 +13868,10 @@ "unitPricingMeasure": { "$ref": "ProductUnitPricingMeasure", "description": "The measure and dimension of an item." + }, + "virtualModelLink": { + "description": "URL of the 3D model of the item to provide more visuals.", + "type": "string" } }, "type": "object" @@ -14167,6 +14254,7 @@ "type": "array" }, "status": { + "deprecated": true, "description": "Deprecated. Destination approval status in `targetCountry` of the offer.", "type": "string" } @@ -14703,6 +14791,7 @@ "type": "array" }, "includeAttributes": { + "deprecated": true, "description": "Deprecated: Setting this field has no effect and attributes are never included.", "type": "boolean" }, @@ -14983,6 +15072,7 @@ "type": "array" }, "promotionDisplayDates": { + "deprecated": true, "description": "String representation of the promotion display dates. Deprecated. Use `promotion_display_time_period` instead.", "type": "string" }, @@ -14991,6 +15081,7 @@ "description": "`TimePeriod` representation of the promotion's display dates." }, "promotionEffectiveDates": { + "deprecated": true, "description": "String representation of the promotion effective dates. Deprecated. Use `promotion_effective_time_period` instead.", "type": "string" }, @@ -15614,6 +15705,10 @@ "$ref": "Brand", "description": "Brand fields requested by the merchant in the query. Field values are only set if the merchant queries `BestSellersBrandView`." }, + "competitiveVisibility": { + "$ref": "CompetitiveVisibility", + "description": "Competitive visibility fields requested by the merchant in the query. Field values are only set if the merchant queries `CompetitiveVisibilityTopMerchantView` or `CompetitiveVisibilityBenchmarkView`." + }, "metrics": { "$ref": "Metrics", "description": "Metrics requested by the merchant in the query. Metric values are only set for metrics requested explicitly in the query." @@ -15652,6 +15747,7 @@ }, "buyboxWinningProductStats": { "$ref": "RepricingProductReportBuyboxWinningProductStats", + "deprecated": true, "description": "Stats specific to buybox winning rules for product report (deprecated)." }, "date": { @@ -15899,6 +15995,7 @@ "properties": { "buyboxWinningRuleStats": { "$ref": "RepricingRuleReportBuyboxWinningRuleStats", + "deprecated": true, "description": "Stats specific to buybox winning rules for rule report (deprecated)." }, "date": { diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index 22ff208a5f7..52dd072561b 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -3694,6 +3694,138 @@ func (s *CollectionStatusItemLevelIssue) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// CompetitiveVisibility: Fields related to [competitive visibility +// reports] (https://support.google.com/merchants/answer/11366442). +type CompetitiveVisibility struct { + // AdsOrganicRatio: [Ads / organic ratio] + // (https://support.google.com/merchants/answer/11366442#zippy=%2Cadsfree-ratio) + // shows how often a merchant receives impressions from Shopping ads + // compared to organic traffic. The number is rounded and bucketed. + // Available only in `CompetitiveVisibilityTopMerchantView`. Cannot be + // filtered on in the 'WHERE' clause. + AdsOrganicRatio float64 `json:"adsOrganicRatio,omitempty"` + + // CategoryBenchmarkVisibilityTrend: Change in visibility based on + // impressions with respect to the start of the selected time range (or + // first day with non-zero impressions) for a combined set of merchants + // with highest visibility approximating the market. Available only in + // `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the + // 'WHERE' clause. + CategoryBenchmarkVisibilityTrend float64 `json:"categoryBenchmarkVisibilityTrend,omitempty"` + + // CategoryId: Google product category ID to calculate the report for, + // represented in Google's product taxonomy + // (https://support.google.com/merchants/answer/6324436). Required in + // the `SELECT` clause. A `WHERE` condition on + // `competitive_visibility.category_id` is required in the query. + CategoryId int64 `json:"categoryId,omitempty,string"` + + // CountryCode: The country where impression appeared. Required in the + // `SELECT` clause. A `WHERE` condition on + // `competitive_visibility.country_code` is required in the query. + CountryCode string `json:"countryCode,omitempty"` + + // Date: Date of this row. Available only in + // `CompetitiveVisibilityBenchmarkView`. Required in the `SELECT` clause + // for `CompetitiveVisibilityMarketBenchmarkView`. + Date *Date `json:"date,omitempty"` + + // Domain: Domain of your competitor or your domain, if 'is_your_domain' + // is true. Available only in `CompetitiveVisibilityTopMerchantView`. + // Required in the `SELECT` clause for + // `CompetitiveVisibilityTopMerchantView`. Cannot be filtered on in the + // 'WHERE' clause. + Domain string `json:"domain,omitempty"` + + // HigherPositionRate: Higher position rate shows how often a + // competitor’s offer got placed in a higher position on the page than + // your offer. Available only in `CompetitiveVisibilityTopMerchantView`. + // Cannot be filtered on in the 'WHERE' clause. + HigherPositionRate float64 `json:"higherPositionRate,omitempty"` + + // IsYourDomain: True if this row contains data for your domain. + // Available only in `CompetitiveVisibilityTopMerchantView`. Cannot be + // filtered on in the 'WHERE' clause. + IsYourDomain bool `json:"isYourDomain,omitempty"` + + // PageOverlapRate: Page overlap rate describes how frequently competing + // retailers’ offers are shown together with your offers on the same + // page. Available only in `CompetitiveVisibilityTopMerchantView`. + // Cannot be filtered on in the 'WHERE' clause. + PageOverlapRate float64 `json:"pageOverlapRate,omitempty"` + + // Rank: Position of the domain in the top merchants ranking for the + // selected keys (`date`, `category_id`, `country_code`, `listing_type`) + // based on impressions. 1 is the highest. Available only in + // `CompetitiveVisibilityTopMerchantView`. Cannot be filtered on in the + // 'WHERE' clause. + Rank uint64 `json:"rank,omitempty,string"` + + // TrafficSource: Type of impression listing. Required in the `SELECT` + // clause for `CompetitiveVisibilityTopMerchantView` and + // `CompetitiveVisibilityMarketBenchmarkView`. Cannot be filtered on in + // the 'WHERE' clause. + // + // Possible values: + // "UNKNOWN" - Traffic source is unknown. + // "ORGANIC" - Organic traffic. + // "ADS" - Traffic from Ads. + // "ALL" - Organic and Ads traffic. + TrafficSource string `json:"trafficSource,omitempty"` + + // YourDomainVisibilityTrend: Change in visibility based on impressions + // for your domain with respect to the start of the selected time range + // (or first day with non-zero impressions). Available only in + // `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the + // 'WHERE' clause. + YourDomainVisibilityTrend float64 `json:"yourDomainVisibilityTrend,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AdsOrganicRatio") 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. "AdsOrganicRatio") 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 *CompetitiveVisibility) MarshalJSON() ([]byte, error) { + type NoMethod CompetitiveVisibility + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *CompetitiveVisibility) UnmarshalJSON(data []byte) error { + type NoMethod CompetitiveVisibility + var s1 struct { + AdsOrganicRatio gensupport.JSONFloat64 `json:"adsOrganicRatio"` + CategoryBenchmarkVisibilityTrend gensupport.JSONFloat64 `json:"categoryBenchmarkVisibilityTrend"` + HigherPositionRate gensupport.JSONFloat64 `json:"higherPositionRate"` + PageOverlapRate gensupport.JSONFloat64 `json:"pageOverlapRate"` + YourDomainVisibilityTrend gensupport.JSONFloat64 `json:"yourDomainVisibilityTrend"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.AdsOrganicRatio = float64(s1.AdsOrganicRatio) + s.CategoryBenchmarkVisibilityTrend = float64(s1.CategoryBenchmarkVisibilityTrend) + s.HigherPositionRate = float64(s1.HigherPositionRate) + s.PageOverlapRate = float64(s1.PageOverlapRate) + s.YourDomainVisibilityTrend = float64(s1.YourDomainVisibilityTrend) + return nil +} + // ConversionSource: Represents a conversion source owned by a Merchant // account. A merchant account can have up to 200 conversion sources. type ConversionSource struct { @@ -3810,6 +3942,11 @@ func (s *Css) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// CustomAttribute: A message that represents custom attributes. Exactly +// one of `value` or `groupValues` must be provided. Maximum allowed +// number of characters for each custom attribute is 10240 (represents +// sum of characters for name and value). Maximum 2500 custom attributes +// can be set per merchant, with total size of 102.4kB. type CustomAttribute struct { // GroupValues: Subattributes within this attribute group. Exactly one // of value or groupValues must be provided. @@ -13275,6 +13412,10 @@ type Product struct { // UnitPricingMeasure: The measure and dimension of an item. UnitPricingMeasure *ProductUnitPricingMeasure `json:"unitPricingMeasure,omitempty"` + // VirtualModelLink: URL of the 3D model of the item to provide more + // visuals. + VirtualModelLink string `json:"virtualModelLink,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` @@ -16101,6 +16242,12 @@ type ReportRow struct { // values are only set if the merchant queries `BestSellersBrandView`. Brand *Brand `json:"brand,omitempty"` + // CompetitiveVisibility: Competitive visibility fields requested by the + // merchant in the query. Field values are only set if the merchant + // queries `CompetitiveVisibilityTopMerchantView` or + // `CompetitiveVisibilityBenchmarkView`. + CompetitiveVisibility *CompetitiveVisibility `json:"competitiveVisibility,omitempty"` + // Metrics: Metrics requested by the merchant in the query. Metric // values are only set for metrics requested explicitly in the query. Metrics *Metrics `json:"metrics,omitempty"` diff --git a/dns/v1/dns-api.json b/dns/v1/dns-api.json index 3cea8f8c8fb..6fe7296a05a 100644 --- a/dns/v1/dns-api.json +++ b/dns/v1/dns-api.json @@ -1824,7 +1824,7 @@ } } }, - "revision": "20230330", + "revision": "20230712", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -3133,9 +3133,11 @@ "description": "The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer located at the LoadBalancerTarget's IP address/port and region.", "enum": [ "none", - "regionalL4ilb" + "regionalL4ilb", + "regionalL7ilb" ], "enumDescriptions": [ + "", "", "" ], diff --git a/dns/v1/dns-gen.go b/dns/v1/dns-gen.go index 4b144d7f4ea..190779f2840 100644 --- a/dns/v1/dns-gen.go +++ b/dns/v1/dns-gen.go @@ -2511,6 +2511,7 @@ type RRSetRoutingPolicyLoadBalancerTarget struct { // Possible values: // "none" // "regionalL4ilb" + // "regionalL7ilb" LoadBalancerType string `json:"loadBalancerType,omitempty"` // NetworkUrl: The fully qualified url of the network on which the ILB diff --git a/dns/v1beta2/dns-api.json b/dns/v1beta2/dns-api.json index 9e49ad00281..2f095ac27ec 100644 --- a/dns/v1beta2/dns-api.json +++ b/dns/v1beta2/dns-api.json @@ -1821,7 +1821,7 @@ } } }, - "revision": "20230706", + "revision": "20230712", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -3138,9 +3138,11 @@ "description": "The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer located at the LoadBalancerTarget's IP address/port and region.", "enum": [ "none", - "regionalL4ilb" + "regionalL4ilb", + "regionalL7ilb" ], "enumDescriptions": [ + "", "", "" ], diff --git a/dns/v1beta2/dns-gen.go b/dns/v1beta2/dns-gen.go index fd1cb8ab9ea..8d5aae42e6d 100644 --- a/dns/v1beta2/dns-gen.go +++ b/dns/v1beta2/dns-gen.go @@ -2515,6 +2515,7 @@ type RRSetRoutingPolicyLoadBalancerTarget struct { // Possible values: // "none" // "regionalL4ilb" + // "regionalL7ilb" LoadBalancerType string `json:"loadBalancerType,omitempty"` // NetworkUrl: The fully qualified url of the network on which the ILB diff --git a/go.work.sum b/go.work.sum index 214ca549886..b8b14be4f4d 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1,5 +1,6 @@ cloud.google.com/go v0.110.0 h1:Zc8gqp3+a9/Eyph2KDmcGaPtbKRIoqq4YTlL4NMD0Ys= cloud.google.com/go v0.110.2 h1:sdFPBr6xG9/wkBbfhmUz/JmZC7X6LavQgcrVINrKiVA= +cloud.google.com/go v0.110.4 h1:1JYyxKMN9hd5dR2MYTPWkGUgcoxVVhg0LKNKEo0qvmk= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= diff --git a/kmsinventory/v1/kmsinventory-api.json b/kmsinventory/v1/kmsinventory-api.json index 1d8bac25108..1c148f399aa 100644 --- a/kmsinventory/v1/kmsinventory-api.json +++ b/kmsinventory/v1/kmsinventory-api.json @@ -242,7 +242,7 @@ } } }, - "revision": "20230708", + "revision": "20230716", "rootUrl": "https://kmsinventory.googleapis.com/", "schemas": { "GoogleCloudKmsInventoryV1ListCryptoKeysResponse": { @@ -469,6 +469,10 @@ "GOOGLE_SYMMETRIC_ENCRYPTION", "AES_128_GCM", "AES_256_GCM", + "AES_128_CBC", + "AES_256_CBC", + "AES_128_CTR", + "AES_256_CTR", "RSA_SIGN_PSS_2048_SHA256", "RSA_SIGN_PSS_3072_SHA256", "RSA_SIGN_PSS_4096_SHA256", @@ -502,6 +506,10 @@ "Creates symmetric encryption keys.", "AES-GCM (Galois Counter Mode) using 128-bit keys.", "AES-GCM (Galois Counter Mode) using 256-bit keys.", + "AES-CBC (Cipher Block Chaining Mode) using 128-bit keys.", + "AES-CBC (Cipher Block Chaining Mode) using 256-bit keys.", + "AES-CTR (Counter Mode) using 128-bit keys.", + "AES-CTR (Counter Mode) using 256-bit keys.", "RSASSA-PSS 2048 bit key with a SHA256 digest.", "RSASSA-PSS 3072 bit key with a SHA256 digest.", "RSASSA-PSS 4096 bit key with a SHA256 digest.", @@ -665,6 +673,10 @@ "GOOGLE_SYMMETRIC_ENCRYPTION", "AES_128_GCM", "AES_256_GCM", + "AES_128_CBC", + "AES_256_CBC", + "AES_128_CTR", + "AES_256_CTR", "RSA_SIGN_PSS_2048_SHA256", "RSA_SIGN_PSS_3072_SHA256", "RSA_SIGN_PSS_4096_SHA256", @@ -698,6 +710,10 @@ "Creates symmetric encryption keys.", "AES-GCM (Galois Counter Mode) using 128-bit keys.", "AES-GCM (Galois Counter Mode) using 256-bit keys.", + "AES-CBC (Cipher Block Chaining Mode) using 128-bit keys.", + "AES-CBC (Cipher Block Chaining Mode) using 256-bit keys.", + "AES-CTR (Counter Mode) using 128-bit keys.", + "AES-CTR (Counter Mode) using 256-bit keys.", "RSASSA-PSS 2048 bit key with a SHA256 digest.", "RSASSA-PSS 3072 bit key with a SHA256 digest.", "RSASSA-PSS 4096 bit key with a SHA256 digest.", diff --git a/kmsinventory/v1/kmsinventory-gen.go b/kmsinventory/v1/kmsinventory-gen.go index 7b007769b1d..cc471445fda 100644 --- a/kmsinventory/v1/kmsinventory-gen.go +++ b/kmsinventory/v1/kmsinventory-gen.go @@ -547,6 +547,12 @@ type GoogleCloudKmsV1CryptoKeyVersion struct { // "GOOGLE_SYMMETRIC_ENCRYPTION" - Creates symmetric encryption keys. // "AES_128_GCM" - AES-GCM (Galois Counter Mode) using 128-bit keys. // "AES_256_GCM" - AES-GCM (Galois Counter Mode) using 256-bit keys. + // "AES_128_CBC" - AES-CBC (Cipher Block Chaining Mode) using 128-bit + // keys. + // "AES_256_CBC" - AES-CBC (Cipher Block Chaining Mode) using 256-bit + // keys. + // "AES_128_CTR" - AES-CTR (Counter Mode) using 128-bit keys. + // "AES_256_CTR" - AES-CTR (Counter Mode) using 256-bit keys. // "RSA_SIGN_PSS_2048_SHA256" - RSASSA-PSS 2048 bit key with a SHA256 // digest. // "RSA_SIGN_PSS_3072_SHA256" - RSASSA-PSS 3072 bit key with a SHA256 @@ -758,6 +764,12 @@ type GoogleCloudKmsV1CryptoKeyVersionTemplate struct { // "GOOGLE_SYMMETRIC_ENCRYPTION" - Creates symmetric encryption keys. // "AES_128_GCM" - AES-GCM (Galois Counter Mode) using 128-bit keys. // "AES_256_GCM" - AES-GCM (Galois Counter Mode) using 256-bit keys. + // "AES_128_CBC" - AES-CBC (Cipher Block Chaining Mode) using 128-bit + // keys. + // "AES_256_CBC" - AES-CBC (Cipher Block Chaining Mode) using 256-bit + // keys. + // "AES_128_CTR" - AES-CTR (Counter Mode) using 128-bit keys. + // "AES_256_CTR" - AES-CTR (Counter Mode) using 256-bit keys. // "RSA_SIGN_PSS_2048_SHA256" - RSASSA-PSS 2048 bit key with a SHA256 // digest. // "RSA_SIGN_PSS_3072_SHA256" - RSASSA-PSS 3072 bit key with a SHA256 diff --git a/retail/v2/retail-api.json b/retail/v2/retail-api.json index 98e730d22a3..830c540efdb 100644 --- a/retail/v2/retail-api.json +++ b/retail/v2/retail-api.json @@ -2059,7 +2059,7 @@ } } }, - "revision": "20230706", + "revision": "20230713", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -3645,7 +3645,7 @@ "type": "string" }, "brands": { - "description": "The brands of the product. A maximum of 30 brands are allowed unless overridden via pantheon UI. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).", + "description": "The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).", "items": { "type": "string" }, diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index c1924a991bf..40e123ff558 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -3349,10 +3349,10 @@ type GoogleCloudRetailV2Product struct { AvailableTime string `json:"availableTime,omitempty"` // Brands: The brands of the product. A maximum of 30 brands are allowed - // unless overridden via pantheon UI. Each brand must be a UTF-8 encoded - // string with a length limit of 1,000 characters. Otherwise, an - // INVALID_ARGUMENT error is returned. Corresponding properties: Google - // Merchant Center property brand + // unless overridden through the Google Cloud console. Each brand must + // be a UTF-8 encoded string with a length limit of 1,000 characters. + // Otherwise, an INVALID_ARGUMENT error is returned. Corresponding + // properties: Google Merchant Center property brand // (https://support.google.com/merchants/answer/6324351). Schema.org // property Product.brand (https://schema.org/brand). Brands []string `json:"brands,omitempty"` diff --git a/retail/v2alpha/retail-api.json b/retail/v2alpha/retail-api.json index 3db0f33535a..b6e053308a0 100644 --- a/retail/v2alpha/retail-api.json +++ b/retail/v2alpha/retail-api.json @@ -108,7 +108,7 @@ "projects": { "methods": { "enrollSolution": { - "description": "Enrolls retail API solution for the project. Recommendation solution is enrolled by default when your project enables Retail API. You don't need to call this API for the recommendation solution.", + "description": "The method enrolls a solution of type Retail Search into a project. The Recommendations AI solution type is enrolled by default when your project enables Retail API, so you don't need to call the enrollSolution method for recommendations.", "flatPath": "v2alpha/projects/{projectsId}:enrollSolution", "httpMethod": "POST", "id": "retail.projects.enrollSolution", @@ -136,7 +136,7 @@ ] }, "getRetailProject": { - "description": "Gets the project. Throws NOT_FOUND if the project wasn't initialized for Retail API Service.", + "description": "Gets the project. Throws `NOT_FOUND` if the project wasn't initialized for the Retail API service.", "flatPath": "v2alpha/projects/{projectsId}/retailProject", "httpMethod": "GET", "id": "retail.projects.getRetailProject", @@ -2329,7 +2329,7 @@ } } }, - "revision": "20230706", + "revision": "20230713", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -3719,20 +3719,6 @@ "description": "Request for EnrollSolution method.", "id": "GoogleCloudRetailV2alphaEnrollSolutionRequest", "properties": { - "searchSolutionUseCase": { - "description": "Solution use case to enroll. Currently settable for Browse to enroll. It should be only set when [solution] is set as SolutionType.SOLUTION_TYPE_SEARCH or an INVALID_ARGUMENT error is thrown.", - "enum": [ - "SEARCH_SOLUTION_USE_CASE_UNSPECIFIED", - "SEARCH_SOLUTION_USE_CASE_SEARCH", - "SEARCH_SOLUTION_USE_CASE_BROWSE" - ], - "enumDescriptions": [ - "The value when it's unspecified. In this case, server behavior defaults to SEARCH_SOLUTION_USE_CASE_SEARCH.", - "Search use case. Expects the traffic has a non-empty query.", - "Browse use case. Expects the traffic has an empty query." - ], - "type": "string" - }, "solution": { "description": "Required. Solution to enroll.", "enum": [ @@ -4967,7 +4953,7 @@ "type": "string" }, "brands": { - "description": "The brands of the product. A maximum of 30 brands are allowed unless overridden via pantheon UI. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).", + "description": "The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).", "items": { "type": "string" }, diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index b0a0db5b85d..da1ba7b6e4d 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -2875,21 +2875,6 @@ type GoogleCloudRetailV2alphaEnrollSolutionMetadata struct { // GoogleCloudRetailV2alphaEnrollSolutionRequest: Request for // EnrollSolution method. type GoogleCloudRetailV2alphaEnrollSolutionRequest struct { - // SearchSolutionUseCase: Solution use case to enroll. Currently - // settable for Browse to enroll. It should be only set when [solution] - // is set as SolutionType.SOLUTION_TYPE_SEARCH or an INVALID_ARGUMENT - // error is thrown. - // - // Possible values: - // "SEARCH_SOLUTION_USE_CASE_UNSPECIFIED" - The value when it's - // unspecified. In this case, server behavior defaults to - // SEARCH_SOLUTION_USE_CASE_SEARCH. - // "SEARCH_SOLUTION_USE_CASE_SEARCH" - Search use case. Expects the - // traffic has a non-empty query. - // "SEARCH_SOLUTION_USE_CASE_BROWSE" - Browse use case. Expects the - // traffic has an empty query. - SearchSolutionUseCase string `json:"searchSolutionUseCase,omitempty"` - // Solution: Required. Solution to enroll. // // Possible values: @@ -2898,22 +2883,20 @@ type GoogleCloudRetailV2alphaEnrollSolutionRequest struct { // "SOLUTION_TYPE_SEARCH" - Used for Retail Search. Solution string `json:"solution,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "SearchSolutionUseCase") 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 is a list of field names (e.g. "Solution") 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. "SearchSolutionUseCase") 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. "Solution") 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:"-"` } @@ -5265,10 +5248,10 @@ type GoogleCloudRetailV2alphaProduct struct { AvailableTime string `json:"availableTime,omitempty"` // Brands: The brands of the product. A maximum of 30 brands are allowed - // unless overridden via pantheon UI. Each brand must be a UTF-8 encoded - // string with a length limit of 1,000 characters. Otherwise, an - // INVALID_ARGUMENT error is returned. Corresponding properties: Google - // Merchant Center property brand + // unless overridden through the Google Cloud console. Each brand must + // be a UTF-8 encoded string with a length limit of 1,000 characters. + // Otherwise, an INVALID_ARGUMENT error is returned. Corresponding + // properties: Google Merchant Center property brand // (https://support.google.com/merchants/answer/6324351). Schema.org // property Product.brand (https://schema.org/brand). Brands []string `json:"brands,omitempty"` @@ -9985,10 +9968,10 @@ type ProjectsEnrollSolutionCall struct { header_ http.Header } -// EnrollSolution: Enrolls retail API solution for the project. -// Recommendation solution is enrolled by default when your project -// enables Retail API. You don't need to call this API for the -// recommendation solution. +// EnrollSolution: The method enrolls a solution of type Retail Search +// into a project. The Recommendations AI solution type is enrolled by +// default when your project enables Retail API, so you don't need to +// call the enrollSolution method for recommendations. // // - project: Full resource name of parent. Format: // `projects/{project_number_or_id}`. @@ -10090,7 +10073,7 @@ func (c *ProjectsEnrollSolutionCall) Do(opts ...googleapi.CallOption) (*GoogleLo } return ret, nil // { - // "description": "Enrolls retail API solution for the project. Recommendation solution is enrolled by default when your project enables Retail API. You don't need to call this API for the recommendation solution.", + // "description": "The method enrolls a solution of type Retail Search into a project. The Recommendations AI solution type is enrolled by default when your project enables Retail API, so you don't need to call the enrollSolution method for recommendations.", // "flatPath": "v2alpha/projects/{projectsId}:enrollSolution", // "httpMethod": "POST", // "id": "retail.projects.enrollSolution", @@ -10131,8 +10114,8 @@ type ProjectsGetRetailProjectCall struct { header_ http.Header } -// GetRetailProject: Gets the project. Throws NOT_FOUND if the project -// wasn't initialized for Retail API Service. +// GetRetailProject: Gets the project. Throws `NOT_FOUND` if the project +// wasn't initialized for the Retail API service. // // - name: Full resource name of the project. Format: // `projects/{project_number_or_id}/retailProject`. @@ -10241,7 +10224,7 @@ func (c *ProjectsGetRetailProjectCall) Do(opts ...googleapi.CallOption) (*Google } return ret, nil // { - // "description": "Gets the project. Throws NOT_FOUND if the project wasn't initialized for Retail API Service.", + // "description": "Gets the project. Throws `NOT_FOUND` if the project wasn't initialized for the Retail API service.", // "flatPath": "v2alpha/projects/{projectsId}/retailProject", // "httpMethod": "GET", // "id": "retail.projects.getRetailProject", diff --git a/retail/v2beta/retail-api.json b/retail/v2beta/retail-api.json index 5c5a67bf8b6..3a7816a1025 100644 --- a/retail/v2beta/retail-api.json +++ b/retail/v2beta/retail-api.json @@ -2087,7 +2087,7 @@ } } }, - "revision": "20230706", + "revision": "20230713", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -5308,7 +5308,7 @@ "type": "string" }, "brands": { - "description": "The brands of the product. A maximum of 30 brands are allowed unless overridden via pantheon UI. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).", + "description": "The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).", "items": { "type": "string" }, diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index a275f1e3d75..83171959a2c 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -6248,10 +6248,10 @@ type GoogleCloudRetailV2betaProduct struct { AvailableTime string `json:"availableTime,omitempty"` // Brands: The brands of the product. A maximum of 30 brands are allowed - // unless overridden via pantheon UI. Each brand must be a UTF-8 encoded - // string with a length limit of 1,000 characters. Otherwise, an - // INVALID_ARGUMENT error is returned. Corresponding properties: Google - // Merchant Center property brand + // unless overridden through the Google Cloud console. Each brand must + // be a UTF-8 encoded string with a length limit of 1,000 characters. + // Otherwise, an INVALID_ARGUMENT error is returned. Corresponding + // properties: Google Merchant Center property brand // (https://support.google.com/merchants/answer/6324351). Schema.org // property Product.brand (https://schema.org/brand). Brands []string `json:"brands,omitempty"` diff --git a/securitycenter/v1/securitycenter-api.json b/securitycenter/v1/securitycenter-api.json index 5ad363e41fa..0cf0e2af74a 100644 --- a/securitycenter/v1/securitycenter-api.json +++ b/securitycenter/v1/securitycenter-api.json @@ -4150,7 +4150,7 @@ } } }, - "revision": "20230706", + "revision": "20230713", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -4552,6 +4552,11 @@ "description": "Container associated with the finding.", "id": "Container", "properties": { + "createTime": { + "description": "The time that the container was created.", + "format": "google-datetime", + "type": "string" + }, "imageId": { "description": "Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.", "type": "string" diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index 957db4420f3..2ad1536cc71 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -1288,6 +1288,9 @@ func (s *ContactDetails) MarshalJSON() ([]byte, error) { // Container: Container associated with the finding. type Container struct { + // CreateTime: The time that the container was created. + CreateTime string `json:"createTime,omitempty"` + // ImageId: Optional container image ID, if provided by the container // runtime. Uniquely identifies the container image launched using a // container image digest. @@ -1304,7 +1307,7 @@ type Container struct { // mutable tags. Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageId") to + // ForceSendFields is a list of field names (e.g. "CreateTime") 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 @@ -1312,7 +1315,7 @@ type Container struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageId") to include in + // NullFields is a list of field names (e.g. "CreateTime") 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 diff --git a/securitycenter/v1beta1/securitycenter-api.json b/securitycenter/v1beta1/securitycenter-api.json index 63597bfec7a..c4c879e5736 100644 --- a/securitycenter/v1beta1/securitycenter-api.json +++ b/securitycenter/v1beta1/securitycenter-api.json @@ -896,7 +896,7 @@ } } }, - "revision": "20230706", + "revision": "20230713", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1273,6 +1273,11 @@ "description": "Container associated with the finding.", "id": "Container", "properties": { + "createTime": { + "description": "The time that the container was created.", + "format": "google-datetime", + "type": "string" + }, "imageId": { "description": "Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.", "type": "string" diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index 2e1938f9575..1d510dc32a9 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -847,6 +847,9 @@ func (s *ContactDetails) MarshalJSON() ([]byte, error) { // Container: Container associated with the finding. type Container struct { + // CreateTime: The time that the container was created. + CreateTime string `json:"createTime,omitempty"` + // ImageId: Optional container image ID, if provided by the container // runtime. Uniquely identifies the container image launched using a // container image digest. @@ -863,7 +866,7 @@ type Container struct { // mutable tags. Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageId") to + // ForceSendFields is a list of field names (e.g. "CreateTime") 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 @@ -871,7 +874,7 @@ type Container struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageId") to include in + // NullFields is a list of field names (e.g. "CreateTime") 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 diff --git a/securitycenter/v1beta2/securitycenter-api.json b/securitycenter/v1beta2/securitycenter-api.json index 9ac1d8f6409..6d38057f66c 100644 --- a/securitycenter/v1beta2/securitycenter-api.json +++ b/securitycenter/v1beta2/securitycenter-api.json @@ -1981,7 +1981,7 @@ } } }, - "revision": "20230706", + "revision": "20230713", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -2249,6 +2249,11 @@ "description": "Container associated with the finding.", "id": "Container", "properties": { + "createTime": { + "description": "The time that the container was created.", + "format": "google-datetime", + "type": "string" + }, "imageId": { "description": "Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.", "type": "string" diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index d6ad53625fa..ea512f05046 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -839,6 +839,9 @@ func (s *ContactDetails) MarshalJSON() ([]byte, error) { // Container: Container associated with the finding. type Container struct { + // CreateTime: The time that the container was created. + CreateTime string `json:"createTime,omitempty"` + // ImageId: Optional container image ID, if provided by the container // runtime. Uniquely identifies the container image launched using a // container image digest. @@ -855,7 +858,7 @@ type Container struct { // mutable tags. Uri string `json:"uri,omitempty"` - // ForceSendFields is a list of field names (e.g. "ImageId") to + // ForceSendFields is a list of field names (e.g. "CreateTime") 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 @@ -863,7 +866,7 @@ type Container struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ImageId") to include in + // NullFields is a list of field names (e.g. "CreateTime") 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 diff --git a/sheets/v4/sheets-api.json b/sheets/v4/sheets-api.json index da842cdd25b..b5f63bdf961 100644 --- a/sheets/v4/sheets-api.json +++ b/sheets/v4/sheets-api.json @@ -870,7 +870,7 @@ } } }, - "revision": "20230620", + "revision": "20230711", "rootUrl": "https://sheets.googleapis.com/", "schemas": { "AddBandingRequest": { @@ -1232,6 +1232,7 @@ "properties": { "firstBandColor": { "$ref": "Color", + "deprecated": true, "description": "The first color that is alternating. (Required) Deprecated: Use first_band_color_style." }, "firstBandColorStyle": { @@ -1240,6 +1241,7 @@ }, "footerColor": { "$ref": "Color", + "deprecated": true, "description": "The color of the last row or column. If this field is not set, the last row or column is filled with either first_band_color or second_band_color, depending on the color of the previous row or column. Deprecated: Use footer_color_style." }, "footerColorStyle": { @@ -1248,6 +1250,7 @@ }, "headerColor": { "$ref": "Color", + "deprecated": true, "description": "The color of the first row or column. If this field is set, the first row or column is filled with this color and the colors alternate between first_band_color and second_band_color starting from the second row or column. Otherwise, the first row or column is filled with first_band_color and the colors proceed to alternate as they normally would. Deprecated: Use header_color_style." }, "headerColorStyle": { @@ -1256,6 +1259,7 @@ }, "secondBandColor": { "$ref": "Color", + "deprecated": true, "description": "The second color that is alternating. (Required) Deprecated: Use second_band_color_style." }, "secondBandColorStyle": { @@ -1289,6 +1293,7 @@ }, "negativeColor": { "$ref": "Color", + "deprecated": true, "description": "Color to be used, in case baseline value represents a negative change for key value. This field is optional. Deprecated: Use negative_color_style." }, "negativeColorStyle": { @@ -1301,6 +1306,7 @@ }, "positiveColor": { "$ref": "Color", + "deprecated": true, "description": "Color to be used, in case baseline value represents a positive change for key value. This field is optional. Deprecated: Use positive_color_style." }, "positiveColorStyle": { @@ -1374,6 +1380,7 @@ "properties": { "color": { "$ref": "Color", + "deprecated": true, "description": "The color for elements (such as bars, lines, and points) associated with this series. If empty, a default color is used. Deprecated: Use color_style." }, "colorStyle": { @@ -1577,6 +1584,7 @@ "additionalProperties": { "$ref": "FilterCriteria" }, + "deprecated": true, "description": "The criteria for showing/hiding values per column. The map's key is the column index, and the value is the criteria for that column. This field is deprecated in favor of filter_specs.", "type": "object" }, @@ -1607,6 +1615,7 @@ "properties": { "color": { "$ref": "Color", + "deprecated": true, "description": "Color of the series data point. If empty, the series default is used. Deprecated: Use color_style." }, "colorStyle": { @@ -2180,6 +2189,7 @@ "properties": { "color": { "$ref": "Color", + "deprecated": true, "description": "The color of the border. Deprecated: Use color_style." }, "colorStyle": { @@ -2211,6 +2221,7 @@ "type": "string" }, "width": { + "deprecated": true, "description": "The width of the border, in pixels. Deprecated; the width is determined by the \"style\" field.", "format": "int32", "type": "integer" @@ -2247,6 +2258,7 @@ "properties": { "bubbleBorderColor": { "$ref": "Color", + "deprecated": true, "description": "The bubble border color. Deprecated: Use bubble_border_color_style." }, "bubbleBorderColorStyle": { @@ -2449,6 +2461,7 @@ "properties": { "backgroundColor": { "$ref": "Color", + "deprecated": true, "description": "The background color of the cell. Deprecated: Use background_color_style." }, "backgroundColorStyle": { @@ -2753,6 +2766,7 @@ }, "backgroundColor": { "$ref": "Color", + "deprecated": true, "description": "The background color of the entire chart. Not applicable to Org charts. Deprecated: Use background_color_style." }, "backgroundColorStyle": { @@ -4344,6 +4358,7 @@ "properties": { "color": { "$ref": "Color", + "deprecated": true, "description": "The color of the border. Deprecated: Use color_style." }, "colorStyle": { @@ -4457,6 +4472,7 @@ }, "visibleBackgroundColor": { "$ref": "Color", + "deprecated": true, "description": "The background fill color to filter by; only cells with this fill color are shown. Mutually exclusive with visible_foreground_color. Deprecated: Use visible_background_color_style." }, "visibleBackgroundColorStyle": { @@ -4465,6 +4481,7 @@ }, "visibleForegroundColor": { "$ref": "Color", + "deprecated": true, "description": "The foreground color to filter by; only cells with this foreground color are shown. Mutually exclusive with visible_background_color. Deprecated: Use visible_foreground_color_style." }, "visibleForegroundColorStyle": { @@ -4502,6 +4519,7 @@ "additionalProperties": { "$ref": "FilterCriteria" }, + "deprecated": true, "description": "The criteria for showing/hiding values per column. The map's key is the column index, and the value is the criteria for that column. This field is deprecated in favor of filter_specs.", "type": "object" }, @@ -4861,6 +4879,7 @@ "properties": { "barColor": { "$ref": "Color", + "deprecated": true, "description": "The color of the column representing this series in each bucket. This field is optional. Deprecated: Use bar_color_style." }, "barColorStyle": { @@ -4920,6 +4939,7 @@ "properties": { "color": { "$ref": "Color", + "deprecated": true, "description": "The color this interpolation point should use. Deprecated: Use color_style." }, "colorStyle": { @@ -5226,6 +5246,7 @@ }, "nodeColor": { "$ref": "Color", + "deprecated": true, "description": "The color of the org chart nodes. Deprecated: Use node_color_style." }, "nodeColorStyle": { @@ -5254,6 +5275,7 @@ }, "selectedNodeColor": { "$ref": "Color", + "deprecated": true, "description": "The color of the selected org chart nodes. Deprecated: Use selected_node_color_style." }, "selectedNodeColorStyle": { @@ -5604,6 +5626,7 @@ "additionalProperties": { "$ref": "PivotFilterCriteria" }, + "deprecated": true, "description": "An optional mapping of filters per source column offset. The filters are applied before aggregating data into the pivot table. The map's key is the column offset of the source range that you want to filter, and the value is the criteria for that column. For example, if the source was `C10:E15`, a key of `0` will have the filter for column `C`, whereas the key `1` is for column `D`. This field is deprecated in favor of filter_specs.", "type": "object" }, @@ -6541,6 +6564,7 @@ }, "tabColor": { "$ref": "Color", + "deprecated": true, "description": "The color of the tab in the UI. Deprecated: Use tab_color_style." }, "tabColorStyle": { @@ -6584,6 +6608,7 @@ }, "backgroundColor": { "$ref": "Color", + "deprecated": true, "description": "The background color of the slicer. Deprecated: Use background_color_style." }, "backgroundColorStyle": { @@ -6654,6 +6679,7 @@ "properties": { "backgroundColor": { "$ref": "Color", + "deprecated": true, "description": "The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive with foreground_color. Deprecated: Use background_color_style." }, "backgroundColorStyle": { @@ -6671,6 +6697,7 @@ }, "foregroundColor": { "$ref": "Color", + "deprecated": true, "description": "The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive with background_color. Deprecated: Use foreground_color_style." }, "foregroundColorStyle": { @@ -6863,6 +6890,7 @@ }, "foregroundColor": { "$ref": "Color", + "deprecated": true, "description": "The foreground color of the text. Deprecated: Use foreground_color_style." }, "foregroundColorStyle": { @@ -7052,6 +7080,7 @@ "properties": { "maxValueColor": { "$ref": "Color", + "deprecated": true, "description": "The background color for cells with a color value greater than or equal to maxValue. Defaults to #109618 if not specified. Deprecated: Use max_value_color_style." }, "maxValueColorStyle": { @@ -7060,6 +7089,7 @@ }, "midValueColor": { "$ref": "Color", + "deprecated": true, "description": "The background color for cells with a color value at the midpoint between minValue and maxValue. Defaults to #efe6dc if not specified. Deprecated: Use mid_value_color_style." }, "midValueColorStyle": { @@ -7068,6 +7098,7 @@ }, "minValueColor": { "$ref": "Color", + "deprecated": true, "description": "The background color for cells with a color value less than or equal to minValue. Defaults to #dc3912 if not specified. Deprecated: Use min_value_color_style." }, "minValueColorStyle": { @@ -7076,6 +7107,7 @@ }, "noDataColor": { "$ref": "Color", + "deprecated": true, "description": "The background color for cells that have no color data associated with them. Defaults to #000000 if not specified. Deprecated: Use no_data_color_style." }, "noDataColorStyle": { @@ -7099,6 +7131,7 @@ }, "headerColor": { "$ref": "Color", + "deprecated": true, "description": "The background color for header cells. Deprecated: Use header_color_style." }, "headerColorStyle": { @@ -7698,6 +7731,7 @@ "properties": { "color": { "$ref": "Color", + "deprecated": true, "description": "The color of the column. Deprecated: Use color_style." }, "colorStyle": { diff --git a/smartdevicemanagement/v1/smartdevicemanagement-api.json b/smartdevicemanagement/v1/smartdevicemanagement-api.json index 165dd90e55d..b2728af8776 100644 --- a/smartdevicemanagement/v1/smartdevicemanagement-api.json +++ b/smartdevicemanagement/v1/smartdevicemanagement-api.json @@ -4,6 +4,9 @@ "scopes": { "https://www.googleapis.com/auth/sdm.service": { "description": "See and/or control the devices that you selected" + }, + "https://www.googleapis.com/auth/userinfo.email": { + "description": "See your primary Google Account email address" } } } @@ -134,7 +137,8 @@ "$ref": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse" }, "scopes": [ - "https://www.googleapis.com/auth/sdm.service" + "https://www.googleapis.com/auth/sdm.service", + "https://www.googleapis.com/auth/userinfo.email" ] }, "get": { @@ -159,7 +163,8 @@ "$ref": "GoogleHomeEnterpriseSdmV1Device" }, "scopes": [ - "https://www.googleapis.com/auth/sdm.service" + "https://www.googleapis.com/auth/sdm.service", + "https://www.googleapis.com/auth/userinfo.email" ] }, "list": { @@ -200,7 +205,8 @@ "$ref": "GoogleHomeEnterpriseSdmV1ListDevicesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/sdm.service" + "https://www.googleapis.com/auth/sdm.service", + "https://www.googleapis.com/auth/userinfo.email" ] } } @@ -229,7 +235,8 @@ "$ref": "GoogleHomeEnterpriseSdmV1Structure" }, "scopes": [ - "https://www.googleapis.com/auth/sdm.service" + "https://www.googleapis.com/auth/sdm.service", + "https://www.googleapis.com/auth/userinfo.email" ] }, "list": { @@ -270,7 +277,8 @@ "$ref": "GoogleHomeEnterpriseSdmV1ListStructuresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/sdm.service" + "https://www.googleapis.com/auth/sdm.service", + "https://www.googleapis.com/auth/userinfo.email" ] } }, @@ -299,7 +307,8 @@ "$ref": "GoogleHomeEnterpriseSdmV1Room" }, "scopes": [ - "https://www.googleapis.com/auth/sdm.service" + "https://www.googleapis.com/auth/sdm.service", + "https://www.googleapis.com/auth/userinfo.email" ] }, "list": { @@ -335,7 +344,8 @@ "$ref": "GoogleHomeEnterpriseSdmV1ListRoomsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/sdm.service" + "https://www.googleapis.com/auth/sdm.service", + "https://www.googleapis.com/auth/userinfo.email" ] } } @@ -345,7 +355,7 @@ } } }, - "revision": "20220926", + "revision": "20230708", "rootUrl": "https://smartdevicemanagement.googleapis.com/", "schemas": { "GoogleHomeEnterpriseSdmV1Device": { diff --git a/smartdevicemanagement/v1/smartdevicemanagement-gen.go b/smartdevicemanagement/v1/smartdevicemanagement-gen.go index d1c8b90dcc0..28e1a0a9b8d 100644 --- a/smartdevicemanagement/v1/smartdevicemanagement-gen.go +++ b/smartdevicemanagement/v1/smartdevicemanagement-gen.go @@ -23,6 +23,10 @@ // // # Other authentication options // +// By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes: +// +// smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx, option.WithScopes(smartdevicemanagement.UserinfoEmailScope)) +// // To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey: // // smartdevicemanagementService, err := smartdevicemanagement.NewService(ctx, option.WithAPIKey("AIza...")) @@ -83,12 +87,16 @@ const mtlsBasePath = "https://smartdevicemanagement.mtls.googleapis.com/" const ( // See and/or control the devices that you selected SdmServiceScope = "https://www.googleapis.com/auth/sdm.service" + + // See your primary Google Account email address + UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.email" ) // NewService creates a new Service. func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) { scopesOption := internaloption.WithDefaultScopes( "https://www.googleapis.com/auth/sdm.service", + "https://www.googleapis.com/auth/userinfo.email", ) // NOTE: prepend, so we don't override user-specified scopes. opts = append([]option.ClientOption{scopesOption}, opts...) @@ -657,7 +665,8 @@ func (c *EnterprisesDevicesExecuteCommandCall) Do(opts ...googleapi.CallOption) // "$ref": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/sdm.service" + // "https://www.googleapis.com/auth/sdm.service", + // "https://www.googleapis.com/auth/userinfo.email" // ] // } @@ -804,7 +813,8 @@ func (c *EnterprisesDevicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleHom // "$ref": "GoogleHomeEnterpriseSdmV1Device" // }, // "scopes": [ - // "https://www.googleapis.com/auth/sdm.service" + // "https://www.googleapis.com/auth/sdm.service", + // "https://www.googleapis.com/auth/userinfo.email" // ] // } @@ -992,7 +1002,8 @@ func (c *EnterprisesDevicesListCall) Do(opts ...googleapi.CallOption) (*GoogleHo // "$ref": "GoogleHomeEnterpriseSdmV1ListDevicesResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/sdm.service" + // "https://www.googleapis.com/auth/sdm.service", + // "https://www.googleapis.com/auth/userinfo.email" // ] // } @@ -1161,7 +1172,8 @@ func (c *EnterprisesStructuresGetCall) Do(opts ...googleapi.CallOption) (*Google // "$ref": "GoogleHomeEnterpriseSdmV1Structure" // }, // "scopes": [ - // "https://www.googleapis.com/auth/sdm.service" + // "https://www.googleapis.com/auth/sdm.service", + // "https://www.googleapis.com/auth/userinfo.email" // ] // } @@ -1350,7 +1362,8 @@ func (c *EnterprisesStructuresListCall) Do(opts ...googleapi.CallOption) (*Googl // "$ref": "GoogleHomeEnterpriseSdmV1ListStructuresResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/sdm.service" + // "https://www.googleapis.com/auth/sdm.service", + // "https://www.googleapis.com/auth/userinfo.email" // ] // } @@ -1518,7 +1531,8 @@ func (c *EnterprisesStructuresRoomsGetCall) Do(opts ...googleapi.CallOption) (*G // "$ref": "GoogleHomeEnterpriseSdmV1Room" // }, // "scopes": [ - // "https://www.googleapis.com/auth/sdm.service" + // "https://www.googleapis.com/auth/sdm.service", + // "https://www.googleapis.com/auth/userinfo.email" // ] // } @@ -1693,7 +1707,8 @@ func (c *EnterprisesStructuresRoomsListCall) Do(opts ...googleapi.CallOption) (* // "$ref": "GoogleHomeEnterpriseSdmV1ListRoomsResponse" // }, // "scopes": [ - // "https://www.googleapis.com/auth/sdm.service" + // "https://www.googleapis.com/auth/sdm.service", + // "https://www.googleapis.com/auth/userinfo.email" // ] // } diff --git a/translate/v3/translate-api.json b/translate/v3/translate-api.json index cc6a8c6469f..07df875e623 100644 --- a/translate/v3/translate-api.json +++ b/translate/v3/translate-api.json @@ -1344,7 +1344,7 @@ } } }, - "revision": "20230526", + "revision": "20230714", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchDocumentInputConfig": { @@ -1377,6 +1377,10 @@ "description": "Optional. This flag is to support user customized attribution. If not provided, the default is `Machine Translated by Google`. Customized attribution should follow rules in https://cloud.google.com/translate/attribution#attribution_and_logos", "type": "string" }, + "enableRotationCorrection": { + "description": "Optional. If true, enable auto rotation correction in DVS.", + "type": "boolean" + }, "enableShadowRemovalNativePdf": { "description": "Optional. If true, use the text removal server to remove the shadow text on background image for native pdf translation. Shadow removal feature can only be enabled when is_translate_native_pdf_only: false \u0026\u0026 pdf_native_only: false", "type": "boolean" diff --git a/translate/v3/translate-gen.go b/translate/v3/translate-gen.go index d8294193fd9..2381c92eb8c 100644 --- a/translate/v3/translate-gen.go +++ b/translate/v3/translate-gen.go @@ -359,6 +359,10 @@ type BatchTranslateDocumentRequest struct { // https://cloud.google.com/translate/attribution#attribution_and_logos CustomizedAttribution string `json:"customizedAttribution,omitempty"` + // EnableRotationCorrection: Optional. If true, enable auto rotation + // correction in DVS. + EnableRotationCorrection bool `json:"enableRotationCorrection,omitempty"` + // EnableShadowRemovalNativePdf: Optional. If true, use the text removal // server to remove the shadow text on background image for native pdf // translation. Shadow removal feature can only be enabled when diff --git a/translate/v3beta1/translate-api.json b/translate/v3beta1/translate-api.json index 8d3c66086e6..4683b9a1a13 100644 --- a/translate/v3beta1/translate-api.json +++ b/translate/v3beta1/translate-api.json @@ -744,7 +744,7 @@ } } }, - "revision": "20230428", + "revision": "20230714", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchDocumentInputConfig": { @@ -777,6 +777,10 @@ "description": "Optional. This flag is to support user customized attribution. If not provided, the default is `Machine Translated by Google`. Customized attribution should follow rules in https://cloud.google.com/translate/attribution#attribution_and_logos", "type": "string" }, + "enableRotationCorrection": { + "description": "Optional. If true, enable auto rotation correction in DVS.", + "type": "boolean" + }, "enableShadowRemovalNativePdf": { "description": "Optional. If true, use the text removal server to remove the shadow text on background image for native pdf translation. Shadow removal feature can only be enabled when is_translate_native_pdf_only: false \u0026\u0026 pdf_native_only: false", "type": "boolean" diff --git a/translate/v3beta1/translate-gen.go b/translate/v3beta1/translate-gen.go index c9641701d9b..8c4c42ba698 100644 --- a/translate/v3beta1/translate-gen.go +++ b/translate/v3beta1/translate-gen.go @@ -311,6 +311,10 @@ type BatchTranslateDocumentRequest struct { // https://cloud.google.com/translate/attribution#attribution_and_logos CustomizedAttribution string `json:"customizedAttribution,omitempty"` + // EnableRotationCorrection: Optional. If true, enable auto rotation + // correction in DVS. + EnableRotationCorrection bool `json:"enableRotationCorrection,omitempty"` + // EnableShadowRemovalNativePdf: Optional. If true, use the text removal // server to remove the shadow text on background image for native pdf // translation. Shadow removal feature can only be enabled when diff --git a/verifiedaccess/v1/verifiedaccess-api.json b/verifiedaccess/v1/verifiedaccess-api.json index 68d8692d5b9..9608332b963 100644 --- a/verifiedaccess/v1/verifiedaccess-api.json +++ b/verifiedaccess/v1/verifiedaccess-api.json @@ -146,7 +146,7 @@ } } }, - "revision": "20220519", + "revision": "20230711", "rootUrl": "https://verifiedaccess.googleapis.com/", "schemas": { "Challenge": { @@ -219,6 +219,7 @@ "type": "string" }, "verificationOutput": { + "deprecated": true, "description": "For EMCert check, device permanent id is returned here. For EUCert check, signed_public_key_and_challenge [base64 encoded] is returned if present, otherwise empty string is returned. This field is deprecated, please use device_permanent_id or signed_public_key_and_challenge fields.", "type": "string" }