From 28c8cd57fd282ee69c3d24439ebcca5c16729878 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 5 Apr 2023 10:49:44 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1928) --- .../v1/advisorynotifications-api.json | 16 +- .../v1/advisorynotifications-gen.go | 10 + apigee/v1/apigee-api.json | 4 +- apigee/v1/apigee-gen.go | 14 +- cloudsupport/v2beta/cloudsupport-api.json | 6 +- cloudsupport/v2beta/cloudsupport-gen.go | 5 + compute/v0.beta/compute-api.json | 22 +- compute/v0.beta/compute-gen.go | 42 +- container/v1/container-api.json | 40 +- container/v1/container-gen.go | 129 +++- content/v2.1/content-api.json | 255 +++++++- content/v2.1/content-gen.go | 608 ++++++++++++++++++ contentwarehouse/v1/contentwarehouse-api.json | 255 ++++++-- contentwarehouse/v1/contentwarehouse-gen.go | 350 ++++++++-- dlp/v2/dlp-api.json | 8 +- dlp/v2/dlp-gen.go | 23 +- documentai/v1beta3/documentai-api.json | 4 +- documentai/v1beta3/documentai-gen.go | 2 +- memcache/v1/memcache-api.json | 4 +- memcache/v1/memcache-gen.go | 11 +- memcache/v1beta2/memcache-api.json | 4 +- memcache/v1beta2/memcache-gen.go | 11 +- .../v1/recaptchaenterprise-api.json | 9 +- .../v1/recaptchaenterprise-gen.go | 31 +- .../v1/servicemanagement-api.json | 37 +- servicemanagement/v1/servicemanagement-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 + 30 files changed, 1764 insertions(+), 185 deletions(-) diff --git a/advisorynotifications/v1/advisorynotifications-api.json b/advisorynotifications/v1/advisorynotifications-api.json index 7e1fc356ab6..8e5f72dc67a 100644 --- a/advisorynotifications/v1/advisorynotifications-api.json +++ b/advisorynotifications/v1/advisorynotifications-api.json @@ -204,7 +204,7 @@ } } }, - "revision": "20230219", + "revision": "20230402", "rootUrl": "https://advisorynotifications.googleapis.com/", "schemas": { "GoogleCloudAdvisorynotificationsV1Attachment": { @@ -340,6 +340,20 @@ "description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.", "type": "string" }, + "notificationType": { + "description": "Type of notification", + "enum": [ + "NOTIFICATION_TYPE_UNSPECIFIED", + "NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY", + "NOTIFICATION_TYPE_SENSITIVE_ACTIONS" + ], + "enumDescriptions": [ + "Default type", + "Security and privacy advisory notifications", + "Sensitive action notifications" + ], + "type": "string" + }, "subject": { "$ref": "GoogleCloudAdvisorynotificationsV1Subject", "description": "The subject line of the notification." diff --git a/advisorynotifications/v1/advisorynotifications-gen.go b/advisorynotifications/v1/advisorynotifications-gen.go index 28497a3b22b..c56ed1fa086 100644 --- a/advisorynotifications/v1/advisorynotifications-gen.go +++ b/advisorynotifications/v1/advisorynotifications-gen.go @@ -388,6 +388,16 @@ type GoogleCloudAdvisorynotificationsV1Notification struct { // ication}. Name string `json:"name,omitempty"` + // NotificationType: Type of notification + // + // Possible values: + // "NOTIFICATION_TYPE_UNSPECIFIED" - Default type + // "NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY" - Security and + // privacy advisory notifications + // "NOTIFICATION_TYPE_SENSITIVE_ACTIONS" - Sensitive action + // notifications + NotificationType string `json:"notificationType,omitempty"` + // Subject: The subject line of the notification. Subject *GoogleCloudAdvisorynotificationsV1Subject `json:"subject,omitempty"` diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index e090d50c972..073ef2f33d1 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -8744,7 +8744,7 @@ } } }, - "revision": "20230312", + "revision": "20230329", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -13189,7 +13189,7 @@ "type": "string" }, "authorizedNetwork": { - "description": "Name of the customer project's VPC network. If provided, the network needs to be peered through Service Networking. If none is provided, the organization will have access only to the public internet.", + "description": "Compute Engine network used for Service Networking to be peered with Apigee runtime instances. See [Getting started with the Service Networking API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). Apigee also supports shared VPC (that is, the host network project is not the same as the one that is peering with Apigee). See [Shared VPC overview](https://cloud.google.com/vpc/docs/shared-vpc). To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`. For example: `projects/my-sharedvpc-host/global/networks/mynetwork`", "type": "string" }, "runtimeLocation": { diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index ec746070bec..074f9059a19 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -8074,10 +8074,16 @@ type GoogleCloudApigeeV1ProvisionOrganizationRequest struct { // Defaults to `us-west1`. AnalyticsRegion string `json:"analyticsRegion,omitempty"` - // AuthorizedNetwork: Name of the customer project's VPC network. If - // provided, the network needs to be peered through Service Networking. - // If none is provided, the organization will have access only to the - // public internet. + // AuthorizedNetwork: Compute Engine network used for Service Networking + // to be peered with Apigee runtime instances. See Getting started with + // the Service Networking API + // (https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). + // Apigee also supports shared VPC (that is, the host network project is + // not the same as the one that is peering with Apigee). See Shared VPC + // overview (https://cloud.google.com/vpc/docs/shared-vpc). To use a + // shared VPC network, use the following format: + // `projects/{host-project-id}/{region}/networks/{network-name}`. For + // example: `projects/my-sharedvpc-host/global/networks/mynetwork` AuthorizedNetwork string `json:"authorizedNetwork,omitempty"` // RuntimeLocation: Cloud Platform location for the runtime instance. diff --git a/cloudsupport/v2beta/cloudsupport-api.json b/cloudsupport/v2beta/cloudsupport-api.json index 992208c0f33..9de25fd5274 100644 --- a/cloudsupport/v2beta/cloudsupport-api.json +++ b/cloudsupport/v2beta/cloudsupport-api.json @@ -543,7 +543,7 @@ } } }, - "revision": "20230330", + "revision": "20230404", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { @@ -642,6 +642,10 @@ "$ref": "CaseClassification", "description": "The issue classification applicable to this case." }, + "contactEmail": { + "description": "A user-supplied email address to send case update notifications for. This should only be used in BYOID flows, where we cannot infer the user's email address directly from their EUCs.", + "type": "string" + }, "createTime": { "description": "Output only. The time this case was created.", "format": "google-datetime", diff --git a/cloudsupport/v2beta/cloudsupport-gen.go b/cloudsupport/v2beta/cloudsupport-gen.go index 9a78116d10b..422db7c60a7 100644 --- a/cloudsupport/v2beta/cloudsupport-gen.go +++ b/cloudsupport/v2beta/cloudsupport-gen.go @@ -339,6 +339,11 @@ type Case struct { // Classification: The issue classification applicable to this case. Classification *CaseClassification `json:"classification,omitempty"` + // ContactEmail: A user-supplied email address to send case update + // notifications for. This should only be used in BYOID flows, where we + // cannot infer the user's email address directly from their EUCs. + ContactEmail string `json:"contactEmail,omitempty"` + // CreateTime: Output only. The time this case was created. CreateTime string `json:"createTime,omitempty"` diff --git a/compute/v0.beta/compute-api.json b/compute/v0.beta/compute-api.json index acfe247db3a..bc20f6a5b43 100644 --- a/compute/v0.beta/compute-api.json +++ b/compute/v0.beta/compute-api.json @@ -36741,7 +36741,7 @@ } } }, - "revision": "20230322", + "revision": "20230327", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -41994,6 +41994,14 @@ "DiskAsyncReplication": { "id": "DiskAsyncReplication", "properties": { + "consistencyGroupPolicy": { + "description": "[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.", + "type": "string" + }, + "consistencyGroupPolicyId": { + "description": "[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.", + "type": "string" + }, "disk": { "description": "The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk ", "type": "string" @@ -60055,11 +60063,15 @@ "NETWORK_ATTACHMENTS", "NETWORK_ENDPOINT_GROUPS", "NETWORK_FIREWALL_POLICIES", + "NET_LB_SECURITY_POLICIES_PER_REGION", + "NET_LB_SECURITY_POLICY_RULES_PER_REGION", + "NET_LB_SECURITY_POLICY_RULE_ATTRIBUTES_PER_REGION", "NODE_GROUPS", "NODE_TEMPLATES", "NVIDIA_A100_80GB_GPUS", "NVIDIA_A100_GPUS", "NVIDIA_K80_GPUS", + "NVIDIA_L4_GPUS", "NVIDIA_P100_GPUS", "NVIDIA_P100_VWS_GPUS", "NVIDIA_P4_GPUS", @@ -60074,6 +60086,7 @@ "PREEMPTIBLE_NVIDIA_A100_80GB_GPUS", "PREEMPTIBLE_NVIDIA_A100_GPUS", "PREEMPTIBLE_NVIDIA_K80_GPUS", + "PREEMPTIBLE_NVIDIA_L4_GPUS", "PREEMPTIBLE_NVIDIA_P100_GPUS", "PREEMPTIBLE_NVIDIA_P100_VWS_GPUS", "PREEMPTIBLE_NVIDIA_P4_GPUS", @@ -60098,6 +60111,7 @@ "ROUTES", "SECURITY_POLICIES", "SECURITY_POLICIES_PER_REGION", + "SECURITY_POLICY_ADVANCED_RULES_PER_REGION", "SECURITY_POLICY_CEVAL_RULES", "SECURITY_POLICY_RULES", "SECURITY_POLICY_RULES_PER_REGION", @@ -60247,6 +60261,12 @@ "", "", "", + "", + "", + "", + "", + "", + "", "The total number of snapshots allowed for a single project.", "", "", diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index e301bad20da..b3ec23eb96a 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -9668,6 +9668,16 @@ func (s *DiskAggregatedListWarningData) MarshalJSON() ([]byte, error) { } type DiskAsyncReplication struct { + // ConsistencyGroupPolicy: [Output Only] URL of the + // DiskConsistencyGroupPolicy if replication was started on the disk as + // a member of a group. + ConsistencyGroupPolicy string `json:"consistencyGroupPolicy,omitempty"` + + // ConsistencyGroupPolicyId: [Output Only] ID of the + // DiskConsistencyGroupPolicy if replication was started on the disk as + // a member of a group. + ConsistencyGroupPolicyId string `json:"consistencyGroupPolicyId,omitempty"` + // Disk: The other disk asynchronously replicated to or from the current // disk. You can provide this as a partial or full URL to the resource. // For example, the following are valid values: - @@ -9684,20 +9694,22 @@ type DiskAsyncReplication struct { // identify the exact version of the disk that was used. DiskId string `json:"diskId,omitempty"` - // ForceSendFields is a list of field names (e.g. "Disk") 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. + // "ConsistencyGroupPolicy") 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. "Disk") 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. "ConsistencyGroupPolicy") + // 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:"-"` } @@ -38546,11 +38558,15 @@ type Quota struct { // "NETWORK_ATTACHMENTS" // "NETWORK_ENDPOINT_GROUPS" // "NETWORK_FIREWALL_POLICIES" + // "NET_LB_SECURITY_POLICIES_PER_REGION" + // "NET_LB_SECURITY_POLICY_RULES_PER_REGION" + // "NET_LB_SECURITY_POLICY_RULE_ATTRIBUTES_PER_REGION" // "NODE_GROUPS" // "NODE_TEMPLATES" // "NVIDIA_A100_80GB_GPUS" // "NVIDIA_A100_GPUS" // "NVIDIA_K80_GPUS" + // "NVIDIA_L4_GPUS" // "NVIDIA_P100_GPUS" // "NVIDIA_P100_VWS_GPUS" // "NVIDIA_P4_GPUS" @@ -38565,6 +38581,7 @@ type Quota struct { // "PREEMPTIBLE_NVIDIA_A100_80GB_GPUS" // "PREEMPTIBLE_NVIDIA_A100_GPUS" // "PREEMPTIBLE_NVIDIA_K80_GPUS" + // "PREEMPTIBLE_NVIDIA_L4_GPUS" // "PREEMPTIBLE_NVIDIA_P100_GPUS" // "PREEMPTIBLE_NVIDIA_P100_VWS_GPUS" // "PREEMPTIBLE_NVIDIA_P4_GPUS" @@ -38589,6 +38606,7 @@ type Quota struct { // "ROUTES" // "SECURITY_POLICIES" // "SECURITY_POLICIES_PER_REGION" + // "SECURITY_POLICY_ADVANCED_RULES_PER_REGION" // "SECURITY_POLICY_CEVAL_RULES" // "SECURITY_POLICY_RULES" // "SECURITY_POLICY_RULES_PER_REGION" diff --git a/container/v1/container-api.json b/container/v1/container-api.json index e844c7f8fec..8a503d40778 100644 --- a/container/v1/container-api.json +++ b/container/v1/container-api.json @@ -2487,7 +2487,7 @@ } } }, - "revision": "20230304", + "revision": "20230322", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2514,6 +2514,12 @@ }, "type": "object" }, + "AdditionalPodRangesConfig": { + "description": "AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.", + "id": "AdditionalPodRangesConfig", + "properties": {}, + "type": "object" + }, "AddonsConfig": { "description": "Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.", "id": "AddonsConfig", @@ -3191,6 +3197,10 @@ "description": "ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.", "id": "ClusterUpdate", "properties": { + "additionalPodRangesConfig": { + "$ref": "AdditionalPodRangesConfig", + "description": "The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs." + }, "desiredAddonsConfig": { "$ref": "AddonsConfig", "description": "Configurations for the various addons available to run in the cluster." @@ -3385,6 +3395,10 @@ "etag": { "description": "The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.", "type": "string" + }, + "removedAdditionalPodRangesConfig": { + "$ref": "AdditionalPodRangesConfig", + "description": "The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument." } }, "type": "object" @@ -3907,6 +3921,11 @@ "description": "Configuration for controlling how IPs are allocated in the cluster.", "id": "IPAllocationPolicy", "properties": { + "additionalPodRangesConfig": { + "$ref": "AdditionalPodRangesConfig", + "description": "Output only. [Output only] The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy.", + "readOnly": true + }, "clusterIpv4Cidr": { "description": "This field is deprecated, use cluster_ipv4_cidr_block.", "type": "string" @@ -3945,6 +3964,10 @@ "description": "The IP address range of the instance IPs in this cluster. This is applicable only if `create_subnetwork` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.", "type": "string" }, + "podCidrOverprovisionConfig": { + "$ref": "PodCIDROverprovisionConfig", + "description": "[PRIVATE FIELD] Pod CIDR size overprovisioning config for the cluster. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is doubled and then rounded off to next power of 2 to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled." + }, "servicesIpv4Cidr": { "description": "This field is deprecated, use services_ipv4_cidr_block.", "type": "string" @@ -4862,6 +4885,10 @@ "$ref": "NetworkPerformanceConfig", "description": "Network bandwidth tier configuration." }, + "podCidrOverprovisionConfig": { + "$ref": "PodCIDROverprovisionConfig", + "description": "[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled." + }, "podIpv4CidrBlock": { "description": "The IP address range for pod IPs in this node pool. Only applicable if `create_pod_range` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.", "type": "string" @@ -5313,6 +5340,17 @@ }, "type": "object" }, + "PodCIDROverprovisionConfig": { + "description": "[PRIVATE FIELD] Config for pod CIDR size overprovisioning.", + "id": "PodCIDROverprovisionConfig", + "properties": { + "disable": { + "description": "Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.", + "type": "boolean" + } + }, + "type": "object" + }, "PrivateClusterConfig": { "description": "Configuration options for private clusters.", "id": "PrivateClusterConfig", diff --git a/container/v1/container-gen.go b/container/v1/container-gen.go index 8102ec93b15..813cdc44aad 100644 --- a/container/v1/container-gen.go +++ b/container/v1/container-gen.go @@ -323,6 +323,12 @@ func (s *AcceleratorConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AdditionalPodRangesConfig: AdditionalPodRangesConfig is the +// configuration for additional pod secondary ranges supporting the +// ClusterUpdate message. +type AdditionalPodRangesConfig struct { +} + // AddonsConfig: Configuration for the addons that can be automatically // spun up in the cluster, enabling additional functionality. type AddonsConfig struct { @@ -1356,6 +1362,11 @@ func (s *ClusterAutoscaling) MarshalJSON() ([]byte, error) { // Exactly one update can be applied to a cluster with each request, so // at most one field can be provided. type ClusterUpdate struct { + // AdditionalPodRangesConfig: The additional pod ranges to be added to + // the cluster. These pod ranges can be used by node pools to allocate + // pod IPs. + AdditionalPodRangesConfig *AdditionalPodRangesConfig `json:"additionalPodRangesConfig,omitempty"` + // DesiredAddonsConfig: Configurations for the various addons available // to run in the cluster. DesiredAddonsConfig *AddonsConfig `json:"desiredAddonsConfig,omitempty"` @@ -1569,21 +1580,28 @@ type ClusterUpdate struct { // blocked and an ABORTED error will be returned. Etag string `json:"etag,omitempty"` - // ForceSendFields is a list of field names (e.g. "DesiredAddonsConfig") - // 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. + // RemovedAdditionalPodRangesConfig: The additional pod ranges that are + // to be removed from the cluster. The pod ranges specified here must + // have been specified earlier in the 'additional_pod_ranges_config' + // argument. + RemovedAdditionalPodRangesConfig *AdditionalPodRangesConfig `json:"removedAdditionalPodRangesConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AdditionalPodRangesConfig") 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. "DesiredAddonsConfig") 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. + // "AdditionalPodRangesConfig") 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:"-"` } @@ -2619,6 +2637,12 @@ func (s *ILBSubsettingConfig) MarshalJSON() ([]byte, error) { // IPAllocationPolicy: Configuration for controlling how IPs are // allocated in the cluster. type IPAllocationPolicy struct { + // AdditionalPodRangesConfig: Output only. [Output only] The additional + // pod ranges that are added to the cluster. These pod ranges can be + // used by new node pools to allocate pod IPs automatically. Once the + // range is removed it will not show up in IPAllocationPolicy. + AdditionalPodRangesConfig *AdditionalPodRangesConfig `json:"additionalPodRangesConfig,omitempty"` + // ClusterIpv4Cidr: This field is deprecated, use // cluster_ipv4_cidr_block. ClusterIpv4Cidr string `json:"clusterIpv4Cidr,omitempty"` @@ -2673,6 +2697,17 @@ type IPAllocationPolicy struct { // specific range to use. NodeIpv4CidrBlock string `json:"nodeIpv4CidrBlock,omitempty"` + // PodCidrOverprovisionConfig: [PRIVATE FIELD] Pod CIDR size + // overprovisioning config for the cluster. Pod CIDR size per node + // depends on max_pods_per_node. By default, the value of + // max_pods_per_node is doubled and then rounded off to next power of 2 + // to get the size of pod CIDR block per node. Example: + // max_pods_per_node of 30 would result in 64 IPs (/26). This config can + // disable the doubling of IPs (we still round off to next power of 2) + // Example: max_pods_per_node of 30 will result in 32 IPs (/27) when + // overprovisioning is disabled. + PodCidrOverprovisionConfig *PodCIDROverprovisionConfig `json:"podCidrOverprovisionConfig,omitempty"` + // ServicesIpv4Cidr: This field is deprecated, use // services_ipv4_cidr_block. ServicesIpv4Cidr string `json:"servicesIpv4Cidr,omitempty"` @@ -2742,21 +2777,22 @@ type IPAllocationPolicy struct { // false, then the server picks the default IP allocation mode UseRoutes bool `json:"useRoutes,omitempty"` - // ForceSendFields is a list of field names (e.g. "ClusterIpv4Cidr") 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. + // "AdditionalPodRangesConfig") 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. "ClusterIpv4Cidr") 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. + // "AdditionalPodRangesConfig") 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:"-"` } @@ -4325,6 +4361,17 @@ type NodeNetworkConfig struct { // NetworkPerformanceConfig: Network bandwidth tier configuration. NetworkPerformanceConfig *NetworkPerformanceConfig `json:"networkPerformanceConfig,omitempty"` + // PodCidrOverprovisionConfig: [PRIVATE FIELD] Pod CIDR size + // overprovisioning config for the nodepool. Pod CIDR size per node + // depends on max_pods_per_node. By default, the value of + // max_pods_per_node is rounded off to next power of 2 and we then + // double that to get the size of pod CIDR block per node. Example: + // max_pods_per_node of 30 would result in 64 IPs (/26). This config can + // disable the doubling of IPs (we still round off to next power of 2) + // Example: max_pods_per_node of 30 will result in 32 IPs (/27) when + // overprovisioning is disabled. + PodCidrOverprovisionConfig *PodCIDROverprovisionConfig `json:"podCidrOverprovisionConfig,omitempty"` + // PodIpv4CidrBlock: The IP address range for pod IPs in this node pool. // Only applicable if `create_pod_range` is true. Set to blank to have a // range chosen with the default size. Set to /netmask (e.g. `/14`) to @@ -4960,6 +5007,36 @@ func (s *PlacementPolicy) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// PodCIDROverprovisionConfig: [PRIVATE FIELD] Config for pod CIDR size +// overprovisioning. +type PodCIDROverprovisionConfig struct { + // Disable: Whether Pod CIDR overprovisioning is disabled. Note: Pod + // CIDR overprovisioning is enabled by default. + Disable bool `json:"disable,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Disable") 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. "Disable") 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 *PodCIDROverprovisionConfig) MarshalJSON() ([]byte, error) { + type NoMethod PodCIDROverprovisionConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // PrivateClusterConfig: Configuration options for private clusters. type PrivateClusterConfig struct { // EnablePrivateEndpoint: Whether the master's internal IP address is diff --git a/content/v2.1/content-api.json b/content/v2.1/content-api.json index 6104c04e664..0145024ef9f 100644 --- a/content/v2.1/content-api.json +++ b/content/v2.1/content-api.json @@ -4825,6 +4825,71 @@ } } }, + "recommendations": { + "methods": { + "generate": { + "description": "Generates recommendations for a merchant.", + "flatPath": "{merchantId}/recommendations/generate", + "httpMethod": "GET", + "id": "content.recommendations.generate", + "parameterOrder": [ + "merchantId" + ], + "parameters": { + "allowedTag": { + "description": "Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types. User can specify zero or more tags in this field to indicate what group of recommendations they want to receive. Current list of supported tags: - TREND", + "location": "query", + "repeated": true, + "type": "string" + }, + "languageCode": { + "description": "Optional. Language code of the client. If not set, the result will be in default language (English). This language code affects all fields prefixed with \"localized\". This should be set to ISO 639-1 country code. List of currently verified supported language code: en, fr, cs, da, de, es, it, nl, no, pl, pt, pt, fi, sv, vi, tr, th, ko, zh-CN, zh-TW, ja, id, hi", + "location": "query", + "type": "string" + }, + "merchantId": { + "description": "Required. The ID of the account to fetch recommendations for.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/recommendations/generate", + "response": { + "$ref": "GenerateRecommendationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "reportInteraction": { + "description": "Reports an interaction on a recommendation for a merchant.", + "flatPath": "{merchantId}/recommendations/reportInteraction", + "httpMethod": "POST", + "id": "content.recommendations.reportInteraction", + "parameterOrder": [ + "merchantId" + ], + "parameters": { + "merchantId": { + "description": "Required. The ID of the account that wants to report an interaction.", + "format": "int64", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "{merchantId}/recommendations/reportInteraction", + "request": { + "$ref": "ReportInteractionRequest" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, "regionalinventory": { "methods": { "custombatch": { @@ -6160,7 +6225,7 @@ } } }, - "revision": "20230324", + "revision": "20230328", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -8930,6 +8995,25 @@ }, "type": "object" }, + "GenerateRecommendationsResponse": { + "description": "Response containing generated recommendations.", + "id": "GenerateRecommendationsResponse", + "properties": { + "recommendations": { + "description": "Recommendations generated for a request.", + "items": { + "$ref": "Recommendation" + }, + "type": "array" + }, + "responseToken": { + "description": "Output only. Response token is a string created for each `GenerateRecommendationsResponse`. This token doesn't expire, and is globally unique. This token must be used when reporting interactions for recommendations.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GmbAccounts": { "id": "GmbAccounts", "properties": { @@ -14951,6 +15035,144 @@ }, "type": "object" }, + "Recommendation": { + "description": "Recommendations are suggested ways to improve your merchant account's performance. For example, to engage with a feature, or start using a new Google product.", + "id": "Recommendation", + "properties": { + "additionalCallToAction": { + "description": "Output only. CTAs of this recommendation. Repeated.", + "items": { + "$ref": "RecommendationCallToAction" + }, + "readOnly": true, + "type": "array" + }, + "additionalDescriptions": { + "description": "Output only. List of additional localized descriptions for a recommendation. Localication uses the `languageCode` field in `GenerateRecommendations` requests. Not all description types are guaranteed to be present and we recommend to rely on default description.", + "items": { + "$ref": "RecommendationDescription" + }, + "readOnly": true, + "type": "array" + }, + "creative": { + "description": "Output only. Any creatives attached to the recommendation. Repeated.", + "items": { + "$ref": "RecommendationCreative" + }, + "readOnly": true, + "type": "array" + }, + "defaultCallToAction": { + "$ref": "RecommendationCallToAction", + "description": "Optional. Default CTA of the recommendation." + }, + "defaultDescription": { + "description": "Optional. Localized recommendation description. The localization the {@link `GenerateRecommendationsRequest.language_code`} field in {@link `GenerateRecommendationsRequest`} requests.", + "type": "string" + }, + "numericalImpact": { + "description": "Optional. A numerical score of the impact from the recommendation's description. For example, a recommendation might suggest an upward trend in sales for a certain product. Higher number means larger impact.", + "format": "int32", + "type": "integer" + }, + "paid": { + "description": "Optional. Indicates whether a user needs to pay when they complete the user journey suggested by the recommendation.", + "type": "boolean" + }, + "recommendationName": { + "description": "Optional. Localized recommendation name. The localization uses the {@link `GenerateRecommendationsRequest.language_code`} field in {@link `GenerateRecommendationsRequest`} requests.", + "type": "string" + }, + "subType": { + "description": "Optional. Subtype of the recommendations. Only applicable when multiple recommendations can be generated per type, and is used as an identifier of recommendation under the same recommendation type.", + "type": "string" + }, + "title": { + "description": "Optional. Localized Recommendation Title. Localization uses the {@link `GenerateRecommendationsRequest.language_code`} field in {@link `GenerateRecommendationsRequest`} requests.", + "type": "string" + }, + "type": { + "description": "Output only. Type of the recommendation. List of currently available recommendation types: - OPPORTUNITY_CREATE_NEW_COLLECTION - OPPORTUNITY_CREATE_EMAIL_CAMPAIGN", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "RecommendationCallToAction": { + "description": "Call to action (CTA) that explains how a merchant can implement this recommendation", + "id": "RecommendationCallToAction", + "properties": { + "intent": { + "description": "Output only. Intent of the action. This value describes the intent (for example, `OPEN_CREATE_EMAIL_CAMPAIGN_FLOW`) and can vary from recommendation to recommendation. This value can change over time for the same recommendation. Currently available intent values: - OPEN_CREATE_EMAIL_CAMPAIGN_FLOW: Opens a user journey where they can create a marketing email campaign. (No default URL) - OPEN_CREATE_COLLECTION_TAB: Opens a user journey where they can [create a collection](https://support.google.com/merchants/answer/9703228) for their Merchant account. (No default URL)", + "readOnly": true, + "type": "string" + }, + "localizedText": { + "description": "Output only. Localized text of the CTA. Optional.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Optional. URL of the CTA. This field will only be set for some recommendations where there is a suggested landing URL. Otherwise it will be set to an empty string. We recommend developers to use their own custom landing page according to the description of the intent field above when this uri field is empty.", + "type": "string" + } + }, + "type": "object" + }, + "RecommendationCreative": { + "description": "Creative is a multimedia attachment to recommendation that can be used on the frontend.", + "id": "RecommendationCreative", + "properties": { + "type": { + "description": "Type of the creative.", + "enum": [ + "CREATIVE_TYPE_UNSPECIFIED", + "VIDEO", + "PHOTO" + ], + "enumDescriptions": [ + "Default value. If provided, shall be considered invalid.", + "Video creatives.", + "Photo creatives." + ], + "type": "string" + }, + "uri": { + "description": "URL of the creative.", + "type": "string" + } + }, + "type": "object" + }, + "RecommendationDescription": { + "description": "Google-provided description for the recommendation.", + "id": "RecommendationDescription", + "properties": { + "text": { + "description": "Output only. Text of the description.", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Output only. Type of the description.", + "enum": [ + "DESCRIPTION_TYPE_UNSPECIFIED", + "SHORT", + "LONG" + ], + "enumDescriptions": [ + "Default value. Will never be provided by the API.", + "Short description.", + "Long description." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "RefundReason": { "id": "RefundReason", "properties": { @@ -15174,6 +15396,37 @@ }, "type": "object" }, + "ReportInteractionRequest": { + "description": "Request to report interactions on a recommendation.", + "id": "ReportInteractionRequest", + "properties": { + "interactionType": { + "description": "Required. Type of the interaction that is reported, for example INTERACTION_CLICK.", + "enum": [ + "INTERACTION_TYPE_UNSPECIFIED", + "INTERACTION_CLICK" + ], + "enumDescriptions": [ + "Default value. If provided, the service will throw ApiError with description \"Required parameter: interactionType\".", + "When a recommendation is clicked." + ], + "type": "string" + }, + "responseToken": { + "description": "Required. Token of the response when recommendation was returned.", + "type": "string" + }, + "subtype": { + "description": "Optional. Subtype of the recommendations this interaction happened on. This field must be set only to the value that is returned by {@link `RecommendationsService.GenerateRecommendations`} call.", + "type": "string" + }, + "type": { + "description": "Required. Type of the recommendations on which this interaction happened. This field must be set only to the value that is returned by {@link `GenerateRecommendationsResponse`} call.", + "type": "string" + } + }, + "type": "object" + }, "ReportRow": { "description": "Result row returned from the search query.", "id": "ReportRow", diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index 7b5dba97eca..24c9e3df202 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -143,6 +143,7 @@ func New(client *http.Client) (*APIService, error) { s.Promotions = NewPromotionsService(s) s.Pubsubnotificationsettings = NewPubsubnotificationsettingsService(s) s.Quotas = NewQuotasService(s) + s.Recommendations = NewRecommendationsService(s) s.Regionalinventory = NewRegionalinventoryService(s) s.Regions = NewRegionsService(s) s.Reports = NewReportsService(s) @@ -212,6 +213,8 @@ type APIService struct { Quotas *QuotasService + Recommendations *RecommendationsService + Regionalinventory *RegionalinventoryService Regions *RegionsService @@ -527,6 +530,15 @@ type QuotasService struct { s *APIService } +func NewRecommendationsService(s *APIService) *RecommendationsService { + rs := &RecommendationsService{s: s} + return rs +} + +type RecommendationsService struct { + s *APIService +} + func NewRegionalinventoryService(s *APIService) *RegionalinventoryService { rs := &RegionalinventoryService{s: s} return rs @@ -5164,6 +5176,46 @@ func (s *FreeListingsProgramStatusReviewIneligibilityReasonDetails) MarshalJSON( return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GenerateRecommendationsResponse: Response containing generated +// recommendations. +type GenerateRecommendationsResponse struct { + // Recommendations: Recommendations generated for a request. + Recommendations []*Recommendation `json:"recommendations,omitempty"` + + // ResponseToken: Output only. Response token is a string created for + // each `GenerateRecommendationsResponse`. This token doesn't expire, + // and is globally unique. This token must be used when reporting + // interactions for recommendations. + ResponseToken string `json:"responseToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Recommendations") 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. "Recommendations") 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 *GenerateRecommendationsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GenerateRecommendationsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type GmbAccounts struct { // AccountId: The ID of the Merchant Center account. AccountId uint64 `json:"accountId,omitempty,string"` @@ -15141,6 +15193,215 @@ func (s *RateGroup) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Recommendation: Recommendations are suggested ways to improve your +// merchant account's performance. For example, to engage with a +// feature, or start using a new Google product. +type Recommendation struct { + // AdditionalCallToAction: Output only. CTAs of this recommendation. + // Repeated. + AdditionalCallToAction []*RecommendationCallToAction `json:"additionalCallToAction,omitempty"` + + // AdditionalDescriptions: Output only. List of additional localized + // descriptions for a recommendation. Localication uses the + // `languageCode` field in `GenerateRecommendations` requests. Not all + // description types are guaranteed to be present and we recommend to + // rely on default description. + AdditionalDescriptions []*RecommendationDescription `json:"additionalDescriptions,omitempty"` + + // Creative: Output only. Any creatives attached to the recommendation. + // Repeated. + Creative []*RecommendationCreative `json:"creative,omitempty"` + + // DefaultCallToAction: Optional. Default CTA of the recommendation. + DefaultCallToAction *RecommendationCallToAction `json:"defaultCallToAction,omitempty"` + + // DefaultDescription: Optional. Localized recommendation description. + // The localization the {@link + // `GenerateRecommendationsRequest.language_code`} field in {@link + // `GenerateRecommendationsRequest`} requests. + DefaultDescription string `json:"defaultDescription,omitempty"` + + // NumericalImpact: Optional. A numerical score of the impact from the + // recommendation's description. For example, a recommendation might + // suggest an upward trend in sales for a certain product. Higher number + // means larger impact. + NumericalImpact int64 `json:"numericalImpact,omitempty"` + + // Paid: Optional. Indicates whether a user needs to pay when they + // complete the user journey suggested by the recommendation. + Paid bool `json:"paid,omitempty"` + + // RecommendationName: Optional. Localized recommendation name. The + // localization uses the {@link + // `GenerateRecommendationsRequest.language_code`} field in {@link + // `GenerateRecommendationsRequest`} requests. + RecommendationName string `json:"recommendationName,omitempty"` + + // SubType: Optional. Subtype of the recommendations. Only applicable + // when multiple recommendations can be generated per type, and is used + // as an identifier of recommendation under the same recommendation + // type. + SubType string `json:"subType,omitempty"` + + // Title: Optional. Localized Recommendation Title. Localization uses + // the {@link `GenerateRecommendationsRequest.language_code`} field in + // {@link `GenerateRecommendationsRequest`} requests. + Title string `json:"title,omitempty"` + + // Type: Output only. Type of the recommendation. List of currently + // available recommendation types: - OPPORTUNITY_CREATE_NEW_COLLECTION - + // OPPORTUNITY_CREATE_EMAIL_CAMPAIGN + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AdditionalCallToAction") 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. "AdditionalCallToAction") + // 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 *Recommendation) MarshalJSON() ([]byte, error) { + type NoMethod Recommendation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// RecommendationCallToAction: Call to action (CTA) that explains how a +// merchant can implement this recommendation +type RecommendationCallToAction struct { + // Intent: Output only. Intent of the action. This value describes the + // intent (for example, `OPEN_CREATE_EMAIL_CAMPAIGN_FLOW`) and can vary + // from recommendation to recommendation. This value can change over + // time for the same recommendation. Currently available intent values: + // - OPEN_CREATE_EMAIL_CAMPAIGN_FLOW: Opens a user journey where they + // can create a marketing email campaign. (No default URL) - + // OPEN_CREATE_COLLECTION_TAB: Opens a user journey where they can + // create a collection + // (https://support.google.com/merchants/answer/9703228) for their + // Merchant account. (No default URL) + Intent string `json:"intent,omitempty"` + + // LocalizedText: Output only. Localized text of the CTA. Optional. + LocalizedText string `json:"localizedText,omitempty"` + + // Uri: Optional. URL of the CTA. This field will only be set for some + // recommendations where there is a suggested landing URL. Otherwise it + // will be set to an empty string. We recommend developers to use their + // own custom landing page according to the description of the intent + // field above when this uri field is empty. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Intent") 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. "Intent") 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 *RecommendationCallToAction) MarshalJSON() ([]byte, error) { + type NoMethod RecommendationCallToAction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// RecommendationCreative: Creative is a multimedia attachment to +// recommendation that can be used on the frontend. +type RecommendationCreative struct { + // Type: Type of the creative. + // + // Possible values: + // "CREATIVE_TYPE_UNSPECIFIED" - Default value. If provided, shall be + // considered invalid. + // "VIDEO" - Video creatives. + // "PHOTO" - Photo creatives. + Type string `json:"type,omitempty"` + + // Uri: URL of the creative. + Uri string `json:"uri,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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 *RecommendationCreative) MarshalJSON() ([]byte, error) { + type NoMethod RecommendationCreative + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// RecommendationDescription: Google-provided description for the +// recommendation. +type RecommendationDescription struct { + // Text: Output only. Text of the description. + Text string `json:"text,omitempty"` + + // Type: Output only. Type of the description. + // + // Possible values: + // "DESCRIPTION_TYPE_UNSPECIFIED" - Default value. Will never be + // provided by the API. + // "SHORT" - Short description. + // "LONG" - Long description. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Text") 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. "Text") 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 *RecommendationDescription) MarshalJSON() ([]byte, error) { + type NoMethod RecommendationDescription + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type RefundReason struct { // Description: Description of the reason. Description string `json:"description,omitempty"` @@ -15559,6 +15820,58 @@ func (s *RegionalinventoryCustomBatchResponseEntry) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ReportInteractionRequest: Request to report interactions on a +// recommendation. +type ReportInteractionRequest struct { + // InteractionType: Required. Type of the interaction that is reported, + // for example INTERACTION_CLICK. + // + // Possible values: + // "INTERACTION_TYPE_UNSPECIFIED" - Default value. If provided, the + // service will throw ApiError with description "Required parameter: + // interactionType". + // "INTERACTION_CLICK" - When a recommendation is clicked. + InteractionType string `json:"interactionType,omitempty"` + + // ResponseToken: Required. Token of the response when recommendation + // was returned. + ResponseToken string `json:"responseToken,omitempty"` + + // Subtype: Optional. Subtype of the recommendations this interaction + // happened on. This field must be set only to the value that is + // returned by {@link `RecommendationsService.GenerateRecommendations`} + // call. + Subtype string `json:"subtype,omitempty"` + + // Type: Required. Type of the recommendations on which this interaction + // happened. This field must be set only to the value that is returned + // by {@link `GenerateRecommendationsResponse`} call. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "InteractionType") 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. "InteractionType") 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 *ReportInteractionRequest) MarshalJSON() ([]byte, error) { + type NoMethod ReportInteractionRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ReportRow: Result row returned from the search query. type ReportRow struct { // BestSellers: Best sellers fields requested by the merchant in the @@ -40988,6 +41301,301 @@ func (c *QuotasListCall) Pages(ctx context.Context, f func(*ListMethodQuotasResp } } +// method id "content.recommendations.generate": + +type RecommendationsGenerateCall struct { + s *APIService + merchantId int64 + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Generate: Generates recommendations for a merchant. +// +// - merchantId: The ID of the account to fetch recommendations for. +func (r *RecommendationsService) Generate(merchantId int64) *RecommendationsGenerateCall { + c := &RecommendationsGenerateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.merchantId = merchantId + return c +} + +// AllowedTag sets the optional parameter "allowedTag": List of allowed +// tags. Tags are a set of predefined strings that describe the category +// that individual recommendation types. User can specify zero or more +// tags in this field to indicate what group of recommendations they +// want to receive. Current list of supported tags: - TREND +func (c *RecommendationsGenerateCall) AllowedTag(allowedTag ...string) *RecommendationsGenerateCall { + c.urlParams_.SetMulti("allowedTag", append([]string{}, allowedTag...)) + return c +} + +// LanguageCode sets the optional parameter "languageCode": Language +// code of the client. If not set, the result will be in default +// language (English). This language code affects all fields prefixed +// with "localized". This should be set to ISO 639-1 country code. List +// of currently verified supported language code: en, fr, cs, da, de, +// es, it, nl, no, pl, pt, pt, fi, sv, vi, tr, th, ko, zh-CN, zh-TW, ja, +// id, hi +func (c *RecommendationsGenerateCall) LanguageCode(languageCode string) *RecommendationsGenerateCall { + c.urlParams_.Set("languageCode", languageCode) + 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 *RecommendationsGenerateCall) Fields(s ...googleapi.Field) *RecommendationsGenerateCall { + 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 *RecommendationsGenerateCall) IfNoneMatch(entityTag string) *RecommendationsGenerateCall { + 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 *RecommendationsGenerateCall) Context(ctx context.Context) *RecommendationsGenerateCall { + 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 *RecommendationsGenerateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *RecommendationsGenerateCall) 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, "{merchantId}/recommendations/generate") + 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{ + "merchantId": strconv.FormatInt(c.merchantId, 10), + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "content.recommendations.generate" call. +// Exactly one of *GenerateRecommendationsResponse or error will be +// non-nil. Any non-2xx status code is an error. Response headers are in +// either *GenerateRecommendationsResponse.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 *RecommendationsGenerateCall) Do(opts ...googleapi.CallOption) (*GenerateRecommendationsResponse, 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 := &GenerateRecommendationsResponse{ + 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": "Generates recommendations for a merchant.", + // "flatPath": "{merchantId}/recommendations/generate", + // "httpMethod": "GET", + // "id": "content.recommendations.generate", + // "parameterOrder": [ + // "merchantId" + // ], + // "parameters": { + // "allowedTag": { + // "description": "Optional. List of allowed tags. Tags are a set of predefined strings that describe the category that individual recommendation types. User can specify zero or more tags in this field to indicate what group of recommendations they want to receive. Current list of supported tags: - TREND", + // "location": "query", + // "repeated": true, + // "type": "string" + // }, + // "languageCode": { + // "description": "Optional. Language code of the client. If not set, the result will be in default language (English). This language code affects all fields prefixed with \"localized\". This should be set to ISO 639-1 country code. List of currently verified supported language code: en, fr, cs, da, de, es, it, nl, no, pl, pt, pt, fi, sv, vi, tr, th, ko, zh-CN, zh-TW, ja, id, hi", + // "location": "query", + // "type": "string" + // }, + // "merchantId": { + // "description": "Required. The ID of the account to fetch recommendations for.", + // "format": "int64", + // "location": "path", + // "required": true, + // "type": "string" + // } + // }, + // "path": "{merchantId}/recommendations/generate", + // "response": { + // "$ref": "GenerateRecommendationsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/content" + // ] + // } + +} + +// method id "content.recommendations.reportInteraction": + +type RecommendationsReportInteractionCall struct { + s *APIService + merchantId int64 + reportinteractionrequest *ReportInteractionRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ReportInteraction: Reports an interaction on a recommendation for a +// merchant. +// +// - merchantId: The ID of the account that wants to report an +// interaction. +func (r *RecommendationsService) ReportInteraction(merchantId int64, reportinteractionrequest *ReportInteractionRequest) *RecommendationsReportInteractionCall { + c := &RecommendationsReportInteractionCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.merchantId = merchantId + c.reportinteractionrequest = reportinteractionrequest + 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 *RecommendationsReportInteractionCall) Fields(s ...googleapi.Field) *RecommendationsReportInteractionCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + 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 *RecommendationsReportInteractionCall) Context(ctx context.Context) *RecommendationsReportInteractionCall { + 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 *RecommendationsReportInteractionCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *RecommendationsReportInteractionCall) 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()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.reportinteractionrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "{merchantId}/recommendations/reportInteraction") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "merchantId": strconv.FormatInt(c.merchantId, 10), + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "content.recommendations.reportInteraction" call. +func (c *RecommendationsReportInteractionCall) Do(opts ...googleapi.CallOption) error { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if err != nil { + return err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return gensupport.WrapError(err) + } + return nil + // { + // "description": "Reports an interaction on a recommendation for a merchant.", + // "flatPath": "{merchantId}/recommendations/reportInteraction", + // "httpMethod": "POST", + // "id": "content.recommendations.reportInteraction", + // "parameterOrder": [ + // "merchantId" + // ], + // "parameters": { + // "merchantId": { + // "description": "Required. The ID of the account that wants to report an interaction.", + // "format": "int64", + // "location": "path", + // "required": true, + // "type": "string" + // } + // }, + // "path": "{merchantId}/recommendations/reportInteraction", + // "request": { + // "$ref": "ReportInteractionRequest" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/content" + // ] + // } + +} + // method id "content.regionalinventory.custombatch": type RegionalinventoryCustombatchCall struct { diff --git a/contentwarehouse/v1/contentwarehouse-api.json b/contentwarehouse/v1/contentwarehouse-api.json index 3e897e09051..ba368102ec6 100644 --- a/contentwarehouse/v1/contentwarehouse-api.json +++ b/contentwarehouse/v1/contentwarehouse-api.json @@ -1103,7 +1103,7 @@ } } }, - "revision": "20230324", + "revision": "20230404", "rootUrl": "https://contentwarehouse.googleapis.com/", "schemas": { "AbuseiamAbuseType": { @@ -17469,7 +17469,7 @@ "type": "object" }, "AssistantGroundingRankerMediaGroundingProviderFeatures": { - "description": "Features to be passed from Media GP to HGR. Next ID: 9", + "description": "Features to be passed from Media GP to HGR. Next ID: 12", "id": "AssistantGroundingRankerMediaGroundingProviderFeatures", "properties": { "albumReleaseType": { @@ -17488,6 +17488,22 @@ ], "type": "string" }, + "ambiguityClassifier": { + "description": "Temporary ambiguity classifier signal.", + "enum": [ + "UNKNOWN", + "SONG_ALBUM_AMBIGUOUS", + "NOT_AMBIGUOUS", + "SINGLE_MEDIA_ITEM" + ], + "enumDescriptions": [ + "", + "Entity is one of a song-album-ambiguous pair.", + "Entity is not ambiguous with other entities.", + "No ambiguous entities due to single media item." + ], + "type": "string" + }, "hasTypeSemanticEdge": { "description": "True if the argument's type was explicitly mentioned in the query.", "type": "boolean" @@ -17496,6 +17512,10 @@ "description": "Whether the candidate is YouTube CAST_VIDEO candidate. CAST_VIDEO is a deeplink platform. This signal will be used to promote YouTube Music screenful candidates with CAST_VIDEO platform for free users because free users cannot get exact entities in screenless response and can get exact entities with ads in screenful response.", "type": "boolean" }, + "isMediaSearchQuerySubsetOfEntityNameAndArtist": { + "description": "True if the media search query is included in the entity name and artists.", + "type": "boolean" + }, "isSeedRadio": { "description": "True if the media deeplink has tag SEED_RADIO.", "type": "boolean" @@ -17575,14 +17595,22 @@ "" ], "type": "string" + }, + "youtubeConfidenceScore": { + "format": "double", + "type": "number" } }, "type": "object" }, "AssistantGroundingRankerProviderGroundingProviderFeatures": { - "description": "Features to be extracted from Provider GP for ranking in HGR. Next ID: 4", + "description": "Features to be extracted from Provider GP for ranking in HGR. Next ID: 5", "id": "AssistantGroundingRankerProviderGroundingProviderFeatures", "properties": { + "isInAppProvider": { + "description": "Indicates that fulfillment on this provider will happen within the provider app.", + "type": "boolean" + }, "providerClusterId": { "description": "Cluster IDs for the provider. This field is repeated because some providers can be associated with multiple clusters. PRR specific feature.", "items": { @@ -17802,7 +17830,7 @@ "type": "array" }, "gaiaId": { - "description": "Contact owner's gaia id from cs/symbol::symbol:quality_qrewrite.PersonalContactData.shared_contact_owner_gaia_id. Only populated for is_shared = true and non sign-out mode and user is not the owner of the contact(shared contact from other user).", + "description": "Contact owner's gaia id from cs/symbol::symbol:quality_qrewrite.PersonalContactData.shared_contact_owner_gaia_id. Only populated for is_shared = true and non sign-out mode and user is not the owner of the contact(shared contact from other user). This field is not being logged in P2.", "format": "int64", "type": "string" }, @@ -17811,7 +17839,7 @@ "type": "boolean" }, "isShared": { - "description": "If this is a shared contact. This is true in 2 cases: - User is calling their own contacts that have been marked as shared. - User is calling shared contacts from some other user's contact list.", + "description": "If this is a shared contact. This is true in 2 cases: - User is calling their own contacts that have been marked as shared. - User is calling shared contacts from some other user's contact list. This field is not being logged in P2.", "type": "boolean" }, "isTransliteratedMatch": { @@ -19582,7 +19610,8 @@ "RANKER_NAME_GROUNDING_RANKER_V2", "RANKER_NAME_GROUNDING_RANKER_MEDIA_EXP", "RANKER_NAME_GROUNDING_RANKER_COMMS_EXP", - "RANKER_NAME_CONSOLIDATED_PFR_HGR" + "RANKER_NAME_CONSOLIDATED_PFR_HGR", + "RANKER_NAME_CONSOLIDATED_PFR_HGR_V2" ], "enumDescriptions": [ "Default value, when there is no ranker specified.", @@ -19593,7 +19622,8 @@ "Name for HGR v2 model.", "Name for experimental HGR model for Media, build on top of HGR v2.", "Name for experimental HGR model for Comms.", - "Name for consolidated PFR and HGR ranker." + "Name for consolidated PFR and HGR ranker.", + "Name for consolidated PFR and HGRv2 ranker." ], "type": "string" }, @@ -28856,6 +28886,7 @@ "PROVIDER_GOOGLE_GT_ALF", "PROVIDER_GOOGLE_GT_OPERATOR_PROVENANCE", "PROVIDER_GOOGLE_LOCAL_SERVICES_ADS", + "PROVIDER_GOOGLE_GT_LANE_AUTOMATION", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -29397,7 +29428,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B1", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B4", "ABSTRACT", "", "", @@ -29571,6 +29602,7 @@ "", "", "", + "", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -33697,6 +33729,7 @@ "PROVIDER_GOOGLE_GT_ALF", "PROVIDER_GOOGLE_GT_OPERATOR_PROVENANCE", "PROVIDER_GOOGLE_LOCAL_SERVICES_ADS", + "PROVIDER_GOOGLE_GT_LANE_AUTOMATION", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -34238,7 +34271,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B1", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B4", "ABSTRACT", "", "", @@ -34412,6 +34445,7 @@ "", "", "", + "", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -35858,6 +35892,7 @@ "PROVIDER_GOOGLE_GT_ALF", "PROVIDER_GOOGLE_GT_OPERATOR_PROVENANCE", "PROVIDER_GOOGLE_LOCAL_SERVICES_ADS", + "PROVIDER_GOOGLE_GT_LANE_AUTOMATION", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -36399,7 +36434,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B1", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B4", "ABSTRACT", "", "", @@ -36573,6 +36608,7 @@ "", "", "", + "", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -38323,6 +38359,7 @@ "PROVIDER_GOOGLE_GT_ALF", "PROVIDER_GOOGLE_GT_OPERATOR_PROVENANCE", "PROVIDER_GOOGLE_LOCAL_SERVICES_ADS", + "PROVIDER_GOOGLE_GT_LANE_AUTOMATION", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -38864,7 +38901,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B1", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B4", "ABSTRACT", "", "", @@ -39038,6 +39075,7 @@ "", "", "", + "", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -45621,6 +45659,25 @@ }, "type": "object" }, + "GoogleCloudContentwarehouseV1ProcessorInfo": { + "description": "The DocAI processor information.", + "id": "GoogleCloudContentwarehouseV1ProcessorInfo", + "properties": { + "documentType": { + "description": "The processor will process the documents with this document type.", + "type": "string" + }, + "processorName": { + "description": "The processor resource name. Format is `projects/{project}/locations/{location}/processors/{processor}`, or `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`", + "type": "string" + }, + "schemaName": { + "description": "The Document schema resource name. All documents processed by this processor will use this schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContentwarehouseV1Property": { "description": "Property of a document.", "id": "GoogleCloudContentwarehouseV1Property", @@ -46043,6 +46100,10 @@ "description": "Metadata message of RunPipeline method.", "id": "GoogleCloudContentwarehouseV1RunPipelineMetadata", "properties": { + "exportToCdwPipelineMetadata": { + "$ref": "GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata", + "description": "The pipeline metadata for Export-to-CDW pipeline." + }, "failedFileCount": { "description": "Number of files that have failed at some point in the pipeline.", "format": "int32", @@ -46052,6 +46113,17 @@ "$ref": "GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata", "description": "The pipeline metadata for GcsIngest pipeline." }, + "individualDocumentStatuses": { + "description": "The list of response details of each document.", + "items": { + "$ref": "GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus" + }, + "type": "array" + }, + "processWithDocAiPipelineMetadata": { + "$ref": "GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata", + "description": "The pipeline metadata for Process-with-DocAi pipeline." + }, "totalFileCount": { "description": "Number of files that were processed by the pipeline.", "format": "int32", @@ -46064,6 +46136,24 @@ }, "type": "object" }, + "GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata": { + "description": "The metadata message for Export-to-CDW pipeline.", + "id": "GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata", + "properties": { + "docAiDataset": { + "description": "The output CDW dataset resource name.", + "type": "string" + }, + "documents": { + "description": "The input list of all the resource names of the documents to be exported.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata": { "description": "The metadata message for GcsIngest pipeline.", "id": "GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata", @@ -46075,6 +46165,39 @@ }, "type": "object" }, + "GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus": { + "description": "The status of processing a document.", + "id": "GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus", + "properties": { + "documentId": { + "description": "Document identifier of an existing document.", + "type": "string" + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status processing the document." + } + }, + "type": "object" + }, + "GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata": { + "description": "The metadata message for Process-with-DocAi pipeline.", + "id": "GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata", + "properties": { + "documents": { + "description": "The input list of all the resource names of the documents to be processed.", + "items": { + "type": "string" + }, + "type": "array" + }, + "processorInfo": { + "$ref": "GoogleCloudContentwarehouseV1ProcessorInfo", + "description": "The DocAI processor to process the documents with." + } + }, + "type": "object" + }, "GoogleCloudContentwarehouseV1SearchDocumentsRequest": { "description": "Request message for DocumentService.SearchDocuments.", "id": "GoogleCloudContentwarehouseV1SearchDocumentsRequest", @@ -47822,7 +47945,7 @@ "id": "GoogleInternalAppsWaldoV1alphaAvailabilityPeriod", "properties": { "dayOfWeek": { - "description": "Day of week, 0 for Sunday, 1 for Monday, ...", + "description": "Day of week, 1 for Monday, ..., 7 for Sunday.", "format": "int32", "type": "integer" }, @@ -60778,6 +60901,8 @@ "ROOM", "STRUCTURE", "ZONE", + "TRAIT_ATTRIBUTE_VALUE", + "TRAIT_SEMANTIC_VALUE", "REMINDER", "RECIPE", "PERSON", @@ -60810,6 +60935,8 @@ "An assistant.context.RoomId aka DeviceId.home_graph_device_id", "An assistant.context.StructureId aka DeviceId.home_graph_device_id", "An identifier for a zone. See: go/zone-gp and go/smarthome-zones", + "An identifier for Trait attribute value or Trait semantic value. Attribute values (\"eco mode\") reference discrete entities in Home Graph; for example, \"eco mode\" for a specific device is semantically meaningful only in the context of that device's mode attributes. Semantic values (\"1000 Kelvin\") are not tied to a reference in HomeGraph and may include units. See: go/trait-gp", + "", "", "", "Comms specific id types. go/call-object-iff", @@ -72300,7 +72427,7 @@ "FOLLOWED_BY_SEED_RADIO" ], "enumDescriptions": [ - "", + "Default value.", "Deeplink is for seed radio of the media content.", "Deeplink is for video version of the media content. NOTE: this tag is meaningful only in the context of media that has video video and other versions, e.g. a song can be played audio-only or with video. This tag is not meaningful for video content, e.g. movies, and thus should NOT be used for video-only media content.", "Deeplink is for top tracks for music artist.", @@ -72471,7 +72598,7 @@ "RECORD" ], "enumDescriptions": [ - "", + "Default value.", "The deeplink is used to play a media. This should be the default in most cases.", "The deeplink is used to play a trailer.", "The deeplink is used to record a media." @@ -72516,7 +72643,7 @@ "PAY_PER_USE" ], "enumDescriptions": [ - "", + "Default value.", "When this value is specified, it indicates that the content is available for free. An account on the providers platform is not required to play the content.", "When this value is specified, it indicates that the content is available for free. An account on the providers platform is required to play the content.", "When this value is specified, it indicates that the contents is available to all users with a subscription to that provider. This is the case, for example, with Video On Demand (VOD) or for music services such as Google Play Music All Access.", @@ -72551,16 +72678,16 @@ "MEDIA_3P_DEVICE" ], "enumDescriptions": [ - "", - "", - "", + "Default value.", + "Deeplink to be used on Android.", + "Deeplink to be used on devices support Cast Audio.", "Corresponds to /m/0wf0rgl.", - "", - "", - "", + "Deeplink to be used on iOS.", + "Deeplink to be used on Desktop web.", + "Deeplink to be used on Mobile web.", "Corresponds to /g/11cn_9bsrr.", - "", - "", + "Deeplink to be used on Android TV.", + "Deeplink to be used on KaiOS.", "Deprecated. Part of the consolidation process. See go/consolidation-1p-3p for more details. Deeplinks to be used on media 3rd party device, including Smart TV apps, and other media description devices, e.g. Sonos Speaker and Telstra." ], "type": "string" @@ -72592,7 +72719,7 @@ "FOLLOWED_BY_SEED_RADIO" ], "enumDescriptions": [ - "", + "Default value.", "Deeplink is for seed radio of the media content.", "Deeplink is for video version of the media content. NOTE: this tag is meaningful only in the context of media that has video video and other versions, e.g. a song can be played audio-only or with video. This tag is not meaningful for video content, e.g. movies, and thus should NOT be used for video-only media content.", "Deeplink is for top tracks for music artist.", @@ -73271,7 +73398,7 @@ "BUY" ], "enumDescriptions": [ - "", + "Default value.", "When this value is specified, it indicates that the content is available to rent for a limited time period. The price for renting this content is indicated in the 'cost' field.", "When this value is specified, it indicates that the content can be purchased and permanently owned. The price for purchasing this content is indicated in the 'cost' field." ], @@ -78454,7 +78581,7 @@ "type": "object" }, "PerDocData": { - "description": "=========================================================================== # Make sure you read the comments in the bottom before you add any new field. NB: As noted in the comments, this protocol buffer is used in both indexing and serving. In mustang serving implementations we only decode perdocdata during the search phase, and so this protocol should only contain data used during search. See mustang/repos_www/attachments.proto:{MustangBasicInfo,MustangContentInfo} for protocols used during search and/or docinfo. Next available tag deprecated, use this (and look for commented out fields): blaze-bin/net/proto_compiler/protocol-compiler --freetags \\ indexer/perdocdata/perdocdata.proto Next tag: 220", + "description": "=========================================================================== # Make sure you read the comments in the bottom before you add any new field. NB: As noted in the comments, this protocol buffer is used in both indexing and serving. In mustang serving implementations we only decode perdocdata during the search phase, and so this protocol should only contain data used during search. See mustang/repos_www/attachments.proto:{MustangBasicInfo,MustangContentInfo} for protocols used during search and/or docinfo. Next available tag deprecated, use this (and look for commented out fields): blaze-bin/net/proto_compiler/protocol-compiler --freetags \\ indexer/perdocdata/perdocdata.proto Next tag: 221", "id": "PerDocData", "properties": { "BlogData": { @@ -82706,6 +82833,7 @@ "ASSISTANT_SURVEY", "ASSISTANT_SURVEY_IMPORTANCE_MIN", "ASSISTANT_SURVEY_PRIORITY_LOW", + "ASSISTANT_SURVEY_ATV_AMATI", "WHEREABOUTS_CHECKIN", "TRAVEL_ASSISTANT_FLIGHT_CHECKIN", "DIALER_AUTH", @@ -82813,6 +82941,7 @@ "GEO_TTL_RESERVED_SOCIAL_EVENT", "GEO_TTL_FLIGHT_PASSENGER_DEPARTURE", "GEO_TTL_FLIGHT_PASSENGER_DEPARTURE_RIDESHARE", + "GEO_TTL_TRANSPORTATION_ROUTE_RESERVATION", "GEO_AAP_GROCERY_STORE", "GEO_AAP_BEAUTY_WELLNESS", "GEO_AAP_RESTAURANT", @@ -82890,6 +83019,7 @@ "PERSONAL_RESULTS_OPTIN", "HEADPHONE_PERSONAL_RESULTS_OPTIN", "DISCOVERY_SPARKS", + "SPOKEN_NOTIFICATIONS_OOBE_OPTIN", "UNIT_TESTING" ], "enumDescriptions": [ @@ -83118,6 +83248,7 @@ "", "Deprecated! use ASSISTANT_SURVEY_PRIORITY_LOW Similar to ASSISTANT_SURVEY but used by Android TV to set android_tv_importance to IMPORTANCE_MIN.", "Similar to ASSISTANT_SURVEY but used by Android TV to set android_tv_notification_priority to PRIORITY_LOW.", + "Similar to ASSISTANT_SURVEY but used by Android TV Amati Devices to set android_tv_notification_priority to PRIORITY_DEFAULT.", "", "", "", @@ -83225,6 +83356,7 @@ "Restaurant reservation Time to leave notifications from Maps. PRD(go/ga-notifications-prd)", "Restaurant reservation Time to leave notifications from Maps. PRD(go/ga-notifications-prd)", "Flight departure Time to leave notification when \"Book a ride\" action button is triggered. This is same notification as GEO_TTL_FLIGHT_PASSENGER_DEPARTURE with the \"book a ride\" button as the only difference. PRD(go/airport-rideshare-prd)", + "Transporation time to leave notification such as train", "", "", "", @@ -83302,6 +83434,7 @@ "Notification for Personal Response (PR) opt-in: go/migrate-pr-notifs-tng-ma-prd", "Notification for Headphone Personal Response (HPR) opt-in: go/migrate-pr-notifs-tng-ma-prd", "go/habits-sparks-design", + "Notification for Spoken Notifications OOBE opt-in. go/mapa-notifications-prd", "NOTE: This should always stay at the bottom of the list." ], "type": "string" @@ -85724,7 +85857,8 @@ "SITE_CHUNK_SOURCE_AUTHOR", "SITE_CHUNK_SOURCE_COOKBOOK", "SITE_CHUNK_SOURCE_CRAWLED_SELLER_DATA", - "SITE_CHUNK_SOURCE_FALLBACK" + "SITE_CHUNK_SOURCE_FALLBACK", + "SITE_CHUNK_SOURCE_UV_CHUNK" ], "enumDescriptions": [ "", @@ -85733,6 +85867,7 @@ "", "", "", + "", "" ], "type": "string" @@ -85896,7 +86031,8 @@ "SITE_CHUNK_SOURCE_AUTHOR", "SITE_CHUNK_SOURCE_COOKBOOK", "SITE_CHUNK_SOURCE_CRAWLED_SELLER_DATA", - "SITE_CHUNK_SOURCE_FALLBACK" + "SITE_CHUNK_SOURCE_FALLBACK", + "SITE_CHUNK_SOURCE_UV_CHUNK" ], "enumDescriptions": [ "", @@ -85905,6 +86041,7 @@ "", "", "", + "", "" ], "type": "string" @@ -92001,6 +92138,7 @@ "TITLE", "ANY", "IMAGE_QUERY", + "PASSAGE_QUERY", "CONTEXT_ENTITY", "RESULT_ENTITY", "CONTEXT_QUERY", @@ -92045,6 +92183,7 @@ "The document ", "Special value used to represent any other tokentype.", "The Image Search navboost queries.", + "Radish Passage Queries, specifically, rankembed and generated queries. For offline use only. In offline Q2I runs we can instruct Webref to parse and annotate passge queries using the annoatate_passage_queries option in AnnotateDocjoinTuningOptions. Note that in Goldmine runs these are added to the docjoin *after* Webref has run. However,", "Entities added from annotation context.", "Represents an entity found in the results for Qref.", "A query used as additional context for Qref annotations.", @@ -93945,6 +94084,7 @@ "TITLE", "ANY", "IMAGE_QUERY", + "PASSAGE_QUERY", "CONTEXT_ENTITY", "RESULT_ENTITY", "CONTEXT_QUERY", @@ -93989,6 +94129,7 @@ "The document ", "Special value used to represent any other tokentype.", "The Image Search navboost queries.", + "Radish Passage Queries, specifically, rankembed and generated queries. For offline use only. In offline Q2I runs we can instruct Webref to parse and annotate passge queries using the annoatate_passage_queries option in AnnotateDocjoinTuningOptions. Note that in Goldmine runs these are added to the docjoin *after* Webref has run. However,", "Entities added from annotation context.", "Represents an entity found in the results for Qref.", "A query used as additional context for Qref annotations.", @@ -95201,7 +95342,7 @@ }, "nameMetadata": { "$ref": "RepositoryWebrefConceptNameMetadata", - "description": "Metadata attatched to the name." + "description": "Metadata attached to the name." }, "nonLocationalScore": { "description": "Whether the mention is a non-locational reference to a geographical entity. Ranges from 0 (locational) to 1 (non-locational).", @@ -96477,6 +96618,7 @@ "URL", "TITLE", "IMAGE_QUERY", + "PASSAGE_QUERY", "CONTEXT_ENTITY", "CONTEXT_QUERY", "SPORE_GRAPH", @@ -96495,6 +96637,7 @@ "The document URL.", "The title of the document.", "One of the image navboost queries pointing to an image in the document.", + "Query from passage query annotations.", "Contextual entity injected by an outside attachment. For details, see go/webref-priors.", "Contextual query that can be provided in Qref.", "Names and URLs from Spore GraphAnnotations.", @@ -96678,6 +96821,7 @@ "URL", "TITLE", "IMAGE_QUERY", + "PASSAGE_QUERY", "CONTEXT_ENTITY", "CONTEXT_QUERY", "SPORE_GRAPH", @@ -96696,6 +96840,7 @@ "The document URL.", "The title of the document.", "One of the image navboost queries pointing to an image in the document.", + "Query from passage query annotations.", "Contextual entity injected by an outside attachment. For details, see go/webref-priors.", "Contextual query that can be provided in Qref.", "Names and URLs from Spore GraphAnnotations.", @@ -96731,6 +96876,7 @@ "URL", "TITLE", "IMAGE_QUERY", + "PASSAGE_QUERY", "CONTEXT_ENTITY", "CONTEXT_QUERY", "SPORE_GRAPH", @@ -96749,6 +96895,7 @@ "The document URL.", "The title of the document.", "One of the image navboost queries pointing to an image in the document.", + "Query from passage query annotations.", "Contextual entity injected by an outside attachment. For details, see go/webref-priors.", "Contextual query that can be provided in Qref.", "Names and URLs from Spore GraphAnnotations.", @@ -103387,11 +103534,6 @@ "format": "double", "type": "number" }, - "mobileFriendlyScore": { - "description": "Mobile friendliness score in the range of [0, 100]. See go/modena-ranking.", - "format": "int32", - "type": "integer" - }, "violatesMobileInterstitialPolicy": { "description": "Indicates if the page is violating mobile interstitial policy and should be demoted. See go/interstitials-ranking-dd for details.", "type": "boolean" @@ -107375,8 +107517,8 @@ "properties": { "adwordsCid": { "description": "Populated using airlines_company_ids.csv for AdWords company map", - "format": "int32", - "type": "integer" + "format": "int64", + "type": "string" }, "alliance": { "description": "STAR_ALLIANCE", @@ -109870,6 +110012,10 @@ "SECOND_PASS_QUALITY_REWEIGTHING_MDP_EVENT_LEVEL", "PLAY_STORE_IAP_SALES_MINI_DETAILS_PAGE_EVENT_LEVEL", "UNACK_IN_APP_SUBSCRIPTION_WARNING_DETAIL_PAGE_EVENT_LEVEL", + "PACKAGE_NAME_SEARCH_EVENT_LEVEL", + "ZERO_COPY_NOT_SUFFICIENT_EVENT_LEVEL", + "ZERO_COPY_ALLOWS_INSTALL_EVENT_LEVEL", + "ZERO_COPY_NOT_REQUIRED_EVENT_LEVEL", "EVENT_LEVEL_TEST_CODE_LIMIT", "ENTERTAINMENT_CLUSTER_TRIGGERING_AT_SESSION_LEVEL", "BEST_SELLER_CART_TAG_AT_SESSION_LEVEL", @@ -110378,6 +110524,13 @@ "SECOND_PASS_QUALITY_REWEIGTHING_MDP_SESSION_LEVEL", "UNACK_IN_APP_SUBSCRIPTION_WARNING_DETAIL_PAGE_SESSION_LEVEL", "ELIGIBLE_FOR_FORM_FACTOR_FILTER_ON_TOP_CHARTS", + "PACKAGE_NAME_SEARCH_SESSION_LEVEL", + "SUBSCRIPTION_PENDING_ACKNOWLEDGEMENT_EMAIL_SESSION_LEVEL", + "SUBSCRIPTION_PENDING_ACKNOWLEDGEMENT_NOTIFICATION_SESSION_LEVEL", + "ZERO_COPY_NOT_SUFFICIENT_SESSION_LEVEL", + "ZERO_COPY_ALLOWS_INSTALL_SESSION_LEVEL", + "ZERO_COPY_NOT_REQUIRED_SESSION_LEVEL", + "BOOKS_SEARCH_SERIES_EXPANSION_SESSION_LEVEL", "SESSION_LEVEL_TEST_CODE_LIMIT", "CART_ABANDONMENT_USER_LEVEL", "IN_APP_PRODUCTS_IN_DETAILS_PAGE_USER_LEVEL", @@ -110539,6 +110692,8 @@ "FOP_STEERING_PROMOTION_CART_APPLY_PROMOTION_USER_LEVEL_V2", "FOP_STEERING_PROMOTION_USER_LEVEL", "FOP_STEERING_PROMOTION_EXCLUDE_CUJ4_USER_LEVEL", + "SUBSCRIPTION_PENDING_ACKNOWLEDGEMENT_EMAIL_USER_LEVEL", + "SUBSCRIPTION_PENDING_ACKNOWLEDGEMENT_NOTIFICATION_USER_LEVEL", "LOYALTY_STAMP_CARD_IN_PURCHASE_FLOW_USER_LEVEL", "HAS_MONETIZATION_BEHAVIOR_USER_LEVEL", "HAS_MONETIZATION_BEHAVIOR_LAST_180D_USER_LEVEL", @@ -110614,6 +110769,9 @@ "NOTIFICATION_PREDICTED_REV_GAIN_FILTERING_USER_LEVEL", "NOTIFICATION_PUBLICITY_GAIN_DISABLED_USER_LEVEL", "UNACK_IN_APP_SUBSCRIPTION_WARNING_DETAIL_PAGE_USER_LEVEL", + "PURCHASE_READINESS_ADD_FOP_USER_LEVEL", + "PURCHASE_READINESS_ADD_AUTH_USER_LEVEL", + "PURCHASE_READINESS_ADD_FOP_AUTH_USER_LEVEL", "USER_LEVEL_TEST_CODE_LIMIT" ], "enumDescriptions": [ @@ -110815,6 +110973,10 @@ "Event level test code that indicates second pass quality reweigthing is triggered.", "IAP Sales MDP user-level test code. Design: go/play-store-iap-sales-integration-dd", "Unack Warning Message event-level test code. Design: go/unack-warning-message-on-dp-dd", + "Event level test code that indicates package name search is triggered. This test code is only added when - Package name search is triggered AND - The organic response didn't place the package name app at the top.", + "Event level test codes for go/zero-copy", + "", + "", "", "", "", @@ -111323,6 +111485,13 @@ "Session level test code that indicates second pass quality reweigthing is triggered.", "Unack Warning Message session-level test code. Design: go/unack-warning-message-on-dp-dd", "Session level test code that indicates this user is eligible to be shown form factor filters on top charts.", + "Session level test code that indicates package name search is triggered. This test code is only added when - Package name search is triggered AND - The organic response didn't place the package name app at the top.", + "Session level test code that indicates if a user would get an email if the pending acknowledgement email experiment was enabled.", + "Session level test code that indicates if a user would get a notification if the pending acknowledgement notification experiment was enabled.", + "Session level test codes for go/zero-copy", + "", + "", + "Session level test code that indicates if the user has issued a books search query that triggers ebook or audiobook series search.", "", "Cart abandonment flow for purchase flow.", "User saw/would have seen the in app products section in App", @@ -111484,6 +111653,8 @@ "", "User level test code for Fop Steering Promotion in all user journeys; Users are tagged on unredeemed fop steering promotion impression.", "User level test code for Fop Steering Promotion in CUJ 1~3; excluding CUJ4. Users are tagged on unredeemed fop steering promotion impression.", + "User level test code that indicates if a user would get an email if the pending acknowledgement email experiment was enabled.", + "User level test code that indicates if a user would get a notification if the pending acknowledgement notification experiment was enabled.", "User level test code for Quest Platform Loyalty Stamp Card in Purchase flow.", "User level test code for users who have made any monetization behavior(sub, iap) before (controlled by fsUlyssesBuyerState), used for AH/GH monetization experiments.", "User level test code for users who have made any monetization behavior(sub, iap) for the last 180 days (controlled by ULYSSES_OOP_SPEND_PER_PURCHASE_180D), used for AH/GH monetization experiments.", @@ -111558,7 +111729,10 @@ "User level test code for tagging users who have any app which is recommended by PRS and has reinstall eligibility when is_app_with_historical_oop_purchase restriction is turned on.", "User level test code for notification campaign gain filtering experiments. If GE decision changed after applying predicted revenue gain filtering on notification campaigns, log test code.", "User level test code for notification campaign gain filtering experiments. If GE decision changed after disabling publicity gain in notification campaign benefit calculation, log test code.", - "Unack Warning Message user-level test code. Design: go/unack-warning-message-on-dp-dd Add new user-level TestCode here.", + "Unack Warning Message user-level test code. Design: go/unack-warning-message-on-dp-dd", + "User-level test code for user who is eligible for adding Form of Payment from Purchase Readiness Reminder.", + "User-level test code for user who is eligible for adding Auth Settings from Purchase Readiness Reminder.", + "User-level test code for user who is eligible for adding Form of Payment and then adding Auth Settings from Purchase Readiness Reminder. Add new user-level TestCode here.", "" ], "type": "string" @@ -126580,7 +126754,7 @@ "type": "object" }, "WWWResultInfoSubImageDocInfo": { - "description": "The following message contains info of sub image docs, it is populated in query_state and consumed in web image boost twiddler: (go/WebImageBoostTwiddler).", + "description": "The following message contains info of sub image docs, it is populated in query_state and consumed in web image boost twiddler: (go/WebImageBoostTwiddler). NextID: 25", "id": "WWWResultInfoSubImageDocInfo", "properties": { "additionalSafesearchSignals": { @@ -126695,6 +126869,11 @@ "format": "byte", "type": "string" }, + "dimeScore": { + "description": "EQ* v3: Deep Image Engagingness(DImE) go/deep-image-engagingness-slides", + "format": "float", + "type": "number" + }, "docid": { "format": "uint64", "type": "string" diff --git a/contentwarehouse/v1/contentwarehouse-gen.go b/contentwarehouse/v1/contentwarehouse-gen.go index eb25540e084..0cbb75fd68e 100644 --- a/contentwarehouse/v1/contentwarehouse-gen.go +++ b/contentwarehouse/v1/contentwarehouse-gen.go @@ -22776,7 +22776,7 @@ func (s *AssistantGroundingRankerLaaFeaturesProvider) MarshalJSON() ([]byte, err } // AssistantGroundingRankerMediaGroundingProviderFeatures: Features to -// be passed from Media GP to HGR. Next ID: 9 +// be passed from Media GP to HGR. Next ID: 12 type AssistantGroundingRankerMediaGroundingProviderFeatures struct { // AlbumReleaseType: Release type for an album container. // @@ -22791,6 +22791,17 @@ type AssistantGroundingRankerMediaGroundingProviderFeatures struct { // but is usually not qualified to be an album or LP. AlbumReleaseType string `json:"albumReleaseType,omitempty"` + // AmbiguityClassifier: Temporary ambiguity classifier signal. + // + // Possible values: + // "UNKNOWN" + // "SONG_ALBUM_AMBIGUOUS" - Entity is one of a song-album-ambiguous + // pair. + // "NOT_AMBIGUOUS" - Entity is not ambiguous with other entities. + // "SINGLE_MEDIA_ITEM" - No ambiguous entities due to single media + // item. + AmbiguityClassifier string `json:"ambiguityClassifier,omitempty"` + // HasTypeSemanticEdge: True if the argument's type was explicitly // mentioned in the query. HasTypeSemanticEdge bool `json:"hasTypeSemanticEdge,omitempty"` @@ -22803,6 +22814,10 @@ type AssistantGroundingRankerMediaGroundingProviderFeatures struct { // response. IsCastVideo bool `json:"isCastVideo,omitempty"` + // IsMediaSearchQuerySubsetOfEntityNameAndArtist: True if the media + // search query is included in the entity name and artists. + IsMediaSearchQuerySubsetOfEntityNameAndArtist bool `json:"isMediaSearchQuerySubsetOfEntityNameAndArtist,omitempty"` + // IsSeedRadio: True if the media deeplink has tag SEED_RADIO. IsSeedRadio bool `json:"isSeedRadio,omitempty"` @@ -22861,6 +22876,8 @@ type AssistantGroundingRankerMediaGroundingProviderFeatures struct { // "PODCAST_EPISODE" Type string `json:"type,omitempty"` + YoutubeConfidenceScore float64 `json:"youtubeConfidenceScore,omitempty"` + // ForceSendFields is a list of field names (e.g. "AlbumReleaseType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -22888,8 +22905,9 @@ func (s *AssistantGroundingRankerMediaGroundingProviderFeatures) MarshalJSON() ( func (s *AssistantGroundingRankerMediaGroundingProviderFeatures) UnmarshalJSON(data []byte) error { type NoMethod AssistantGroundingRankerMediaGroundingProviderFeatures var s1 struct { - MscRate gensupport.JSONFloat64 `json:"mscRate"` - ScubedPSaiMusic gensupport.JSONFloat64 `json:"scubedPSaiMusic"` + MscRate gensupport.JSONFloat64 `json:"mscRate"` + ScubedPSaiMusic gensupport.JSONFloat64 `json:"scubedPSaiMusic"` + YoutubeConfidenceScore gensupport.JSONFloat64 `json:"youtubeConfidenceScore"` *NoMethod } s1.NoMethod = (*NoMethod)(s) @@ -22898,12 +22916,17 @@ func (s *AssistantGroundingRankerMediaGroundingProviderFeatures) UnmarshalJSON(d } s.MscRate = float64(s1.MscRate) s.ScubedPSaiMusic = float64(s1.ScubedPSaiMusic) + s.YoutubeConfidenceScore = float64(s1.YoutubeConfidenceScore) return nil } // AssistantGroundingRankerProviderGroundingProviderFeatures: Features -// to be extracted from Provider GP for ranking in HGR. Next ID: 4 +// to be extracted from Provider GP for ranking in HGR. Next ID: 5 type AssistantGroundingRankerProviderGroundingProviderFeatures struct { + // IsInAppProvider: Indicates that fulfillment on this provider will + // happen within the provider app. + IsInAppProvider bool `json:"isInAppProvider,omitempty"` + // ProviderClusterId: Cluster IDs for the provider. This field is // repeated because some providers can be associated with multiple // clusters. PRR specific feature. @@ -22918,15 +22941,15 @@ type AssistantGroundingRankerProviderGroundingProviderFeatures struct { // considerations. PslScore float64 `json:"pslScore,omitempty"` - // ForceSendFields is a list of field names (e.g. "ProviderClusterId") - // to unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "IsInAppProvider") 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. "ProviderClusterId") to + // NullFields is a list of field names (e.g. "IsInAppProvider") 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 @@ -23271,7 +23294,7 @@ type AssistantLogsCommunicationPersonalContactDataLog struct { // cs/symbol::symbol:quality_qrewrite.PersonalContactData.shared_contact_ // owner_gaia_id. Only populated for is_shared = true and non sign-out // mode and user is not the owner of the contact(shared contact from - // other user). + // other user). This field is not being logged in P2. GaiaId int64 `json:"gaiaId,omitempty,string"` // IsContactFromSecondaryAccount: Boolean value indicating whether @@ -23282,6 +23305,7 @@ type AssistantLogsCommunicationPersonalContactDataLog struct { // IsShared: If this is a shared contact. This is true in 2 cases: - // User is calling their own contacts that have been marked as shared. - // User is calling shared contacts from some other user's contact list. + // This field is not being logged in P2. IsShared bool `json:"isShared,omitempty"` // IsTransliteratedMatch: Indicate the contact matches the @@ -25354,6 +25378,8 @@ type AssistantPrefulfillmentRankerPrefulfillmentSignals struct { // HGR model for Comms. // "RANKER_NAME_CONSOLIDATED_PFR_HGR" - Name for consolidated PFR and // HGR ranker. + // "RANKER_NAME_CONSOLIDATED_PFR_HGR_V2" - Name for consolidated PFR + // and HGRv2 ranker. RankerName string `json:"rankerName,omitempty"` // SearchDispatch: The determination made by the SearchDispatchingConfig @@ -37688,7 +37714,7 @@ type GeostoreDataSourceProto struct { // "PROVIDER_GOOGLE" - ABSTRACT // "PROVIDER_GOOGLE_HAND_EDIT" // "PROVIDER_GOOGLE_BORDERS" - All new "Google" provider entries must - // be full ints. The next available ID is: 0x111730B1 + // be full ints. The next available ID is: 0x111730B4 // "PROVIDER_GOOGLE_SUBRANGE" - ABSTRACT // "PROVIDER_GOOGLE_GT_FUSION" // "PROVIDER_GOOGLE_ZAGAT_CMS" @@ -37867,6 +37893,7 @@ type GeostoreDataSourceProto struct { // "PROVIDER_GOOGLE_GT_ALF" // "PROVIDER_GOOGLE_GT_OPERATOR_PROVENANCE" // "PROVIDER_GOOGLE_LOCAL_SERVICES_ADS" + // "PROVIDER_GOOGLE_GT_LANE_AUTOMATION" // "PROVIDER_GOOGLE_LOCALSEARCH" - The next new "Google" provider // entries should be placed above. // "PROVIDER_GOOGLE_TRANSIT" - UMBRELLA @@ -42155,7 +42182,7 @@ type GeostoreInternalSourceSummaryProto struct { // "PROVIDER_GOOGLE" - ABSTRACT // "PROVIDER_GOOGLE_HAND_EDIT" // "PROVIDER_GOOGLE_BORDERS" - All new "Google" provider entries must - // be full ints. The next available ID is: 0x111730B1 + // be full ints. The next available ID is: 0x111730B4 // "PROVIDER_GOOGLE_SUBRANGE" - ABSTRACT // "PROVIDER_GOOGLE_GT_FUSION" // "PROVIDER_GOOGLE_ZAGAT_CMS" @@ -42334,6 +42361,7 @@ type GeostoreInternalSourceSummaryProto struct { // "PROVIDER_GOOGLE_GT_ALF" // "PROVIDER_GOOGLE_GT_OPERATOR_PROVENANCE" // "PROVIDER_GOOGLE_LOCAL_SERVICES_ADS" + // "PROVIDER_GOOGLE_GT_LANE_AUTOMATION" // "PROVIDER_GOOGLE_LOCALSEARCH" - The next new "Google" provider // entries should be placed above. // "PROVIDER_GOOGLE_TRANSIT" - UMBRELLA @@ -44335,7 +44363,7 @@ type GeostoreOntologyRawGConceptInstanceProto struct { // "PROVIDER_GOOGLE" - ABSTRACT // "PROVIDER_GOOGLE_HAND_EDIT" // "PROVIDER_GOOGLE_BORDERS" - All new "Google" provider entries must - // be full ints. The next available ID is: 0x111730B1 + // be full ints. The next available ID is: 0x111730B4 // "PROVIDER_GOOGLE_SUBRANGE" - ABSTRACT // "PROVIDER_GOOGLE_GT_FUSION" // "PROVIDER_GOOGLE_ZAGAT_CMS" @@ -44514,6 +44542,7 @@ type GeostoreOntologyRawGConceptInstanceProto struct { // "PROVIDER_GOOGLE_GT_ALF" // "PROVIDER_GOOGLE_GT_OPERATOR_PROVENANCE" // "PROVIDER_GOOGLE_LOCAL_SERVICES_ADS" + // "PROVIDER_GOOGLE_GT_LANE_AUTOMATION" // "PROVIDER_GOOGLE_LOCALSEARCH" - The next new "Google" provider // entries should be placed above. // "PROVIDER_GOOGLE_TRANSIT" - UMBRELLA @@ -46812,7 +46841,7 @@ type GeostoreProvenanceProto struct { // "PROVIDER_GOOGLE" - ABSTRACT // "PROVIDER_GOOGLE_HAND_EDIT" // "PROVIDER_GOOGLE_BORDERS" - All new "Google" provider entries must - // be full ints. The next available ID is: 0x111730B1 + // be full ints. The next available ID is: 0x111730B4 // "PROVIDER_GOOGLE_SUBRANGE" - ABSTRACT // "PROVIDER_GOOGLE_GT_FUSION" // "PROVIDER_GOOGLE_ZAGAT_CMS" @@ -46991,6 +47020,7 @@ type GeostoreProvenanceProto struct { // "PROVIDER_GOOGLE_GT_ALF" // "PROVIDER_GOOGLE_GT_OPERATOR_PROVENANCE" // "PROVIDER_GOOGLE_LOCAL_SERVICES_ADS" + // "PROVIDER_GOOGLE_GT_LANE_AUTOMATION" // "PROVIDER_GOOGLE_LOCALSEARCH" - The next new "Google" provider // entries should be placed above. // "PROVIDER_GOOGLE_TRANSIT" - UMBRELLA @@ -56716,6 +56746,48 @@ func (s *GoogleCloudContentwarehouseV1MergeFieldsOptions) MarshalJSON() ([]byte, return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudContentwarehouseV1ProcessorInfo: The DocAI processor +// information. +type GoogleCloudContentwarehouseV1ProcessorInfo struct { + // DocumentType: The processor will process the documents with this + // document type. + DocumentType string `json:"documentType,omitempty"` + + // ProcessorName: The processor resource name. Format is + // `projects/{project}/locations/{location}/processors/{processor}`, or + // `projects/{project}/locations/{location}/processors/{processor}/proces + // sorVersions/{processorVersion}` + ProcessorName string `json:"processorName,omitempty"` + + // SchemaName: The Document schema resource name. All documents + // processed by this processor will use this schema. Format: + // projects/{project_number}/locations/{location}/documentSchemas/{docume + // nt_schema_id}. + SchemaName string `json:"schemaName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DocumentType") 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. "DocumentType") 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 *GoogleCloudContentwarehouseV1ProcessorInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContentwarehouseV1ProcessorInfo + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudContentwarehouseV1Property: Property of a document. type GoogleCloudContentwarehouseV1Property struct { // DateTimeValues: Date time property values. It is not supported by @@ -57442,6 +57514,10 @@ func (s *GoogleCloudContentwarehouseV1RuleSet) MarshalJSON() ([]byte, error) { // GoogleCloudContentwarehouseV1RunPipelineMetadata: Metadata message of // RunPipeline method. type GoogleCloudContentwarehouseV1RunPipelineMetadata struct { + // ExportToCdwPipelineMetadata: The pipeline metadata for Export-to-CDW + // pipeline. + ExportToCdwPipelineMetadata *GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata `json:"exportToCdwPipelineMetadata,omitempty"` + // FailedFileCount: Number of files that have failed at some point in // the pipeline. FailedFileCount int64 `json:"failedFileCount,omitempty"` @@ -57450,13 +57526,56 @@ type GoogleCloudContentwarehouseV1RunPipelineMetadata struct { // pipeline. GcsIngestPipelineMetadata *GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata `json:"gcsIngestPipelineMetadata,omitempty"` + // IndividualDocumentStatuses: The list of response details of each + // document. + IndividualDocumentStatuses []*GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus `json:"individualDocumentStatuses,omitempty"` + + // ProcessWithDocAiPipelineMetadata: The pipeline metadata for + // Process-with-DocAi pipeline. + ProcessWithDocAiPipelineMetadata *GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata `json:"processWithDocAiPipelineMetadata,omitempty"` + // TotalFileCount: Number of files that were processed by the pipeline. TotalFileCount int64 `json:"totalFileCount,omitempty"` // UserInfo: User unique identification and groups information. UserInfo *GoogleCloudContentwarehouseV1UserInfo `json:"userInfo,omitempty"` - // ForceSendFields is a list of field names (e.g. "FailedFileCount") to + // ForceSendFields is a list of field names (e.g. + // "ExportToCdwPipelineMetadata") 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. + // "ExportToCdwPipelineMetadata") 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 *GoogleCloudContentwarehouseV1RunPipelineMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContentwarehouseV1RunPipelineMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMet +// adata: The metadata message for Export-to-CDW pipeline. +type GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata struct { + // DocAiDataset: The output CDW dataset resource name. + DocAiDataset string `json:"docAiDataset,omitempty"` + + // Documents: The input list of all the resource names of the documents + // to be exported. + Documents []string `json:"documents,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DocAiDataset") 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 @@ -57464,18 +57583,17 @@ type GoogleCloudContentwarehouseV1RunPipelineMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "FailedFileCount") 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. "DocAiDataset") 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 *GoogleCloudContentwarehouseV1RunPipelineMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleCloudContentwarehouseV1RunPipelineMetadata +func (s *GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata raw := NoMethod(*s) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } @@ -57510,6 +57628,71 @@ func (s *GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetada return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStat +// us: The status of processing a document. +type GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus struct { + // DocumentId: Document identifier of an existing document. + DocumentId string `json:"documentId,omitempty"` + + // Status: The status processing the document. + Status *GoogleRpcStatus `json:"status,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DocumentId") 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. "DocumentId") 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 *GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipeli +// neMetadata: The metadata message for Process-with-DocAi pipeline. +type GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata struct { + // Documents: The input list of all the resource names of the documents + // to be processed. + Documents []string `json:"documents,omitempty"` + + // ProcessorInfo: The DocAI processor to process the documents with. + ProcessorInfo *GoogleCloudContentwarehouseV1ProcessorInfo `json:"processorInfo,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Documents") 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. "Documents") 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 *GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudContentwarehouseV1SearchDocumentsRequest: Request message // for DocumentService.SearchDocuments. type GoogleCloudContentwarehouseV1SearchDocumentsRequest struct { @@ -60560,7 +60743,7 @@ func (s *GoogleIamV1Policy) MarshalJSON() ([]byte, error) { // period on Monday from 18:00 - 00:00 is represented as a triplet (1, // 1080, 1440). type GoogleInternalAppsWaldoV1alphaAvailabilityPeriod struct { - // DayOfWeek: Day of week, 0 for Sunday, 1 for Monday, ... + // DayOfWeek: Day of week, 1 for Monday, ..., 7 for Sunday. DayOfWeek int64 `json:"dayOfWeek,omitempty"` // PeriodEndMinutes: Period end, in minutes from the start of the day, @@ -77305,6 +77488,14 @@ type KnowledgeAnswersIntentQueryIdentifier struct { // DeviceId.home_graph_device_id // "ZONE" - An identifier for a zone. See: go/zone-gp and // go/smarthome-zones + // "TRAIT_ATTRIBUTE_VALUE" - An identifier for Trait attribute value + // or Trait semantic value. Attribute values ("eco mode") reference + // discrete entities in Home Graph; for example, "eco mode" for a + // specific device is semantically meaningful only in the context of + // that device's mode attributes. Semantic values ("1000 Kelvin") are + // not tied to a reference in HomeGraph and may include units. See: + // go/trait-gp + // "TRAIT_SEMANTIC_VALUE" // "REMINDER" // "RECIPE" // "PERSON" - Comms specific id types. go/call-object-iff @@ -91915,7 +92106,7 @@ type NlpSemanticParsingModelsMediaAudio struct { // the user wants to play a radio station seeded by the entity. // // Possible values: - // "UNKNOWN_TAG" + // "UNKNOWN_TAG" - Default value. // "SEED_RADIO" - Deeplink is for seed radio of the media content. // "VIDEO_TAG" - Deeplink is for video version of the media content. // NOTE: this tag is meaningful only in the context of media that has @@ -92182,7 +92373,7 @@ type NlpSemanticParsingModelsMediaDeeplinkInfo struct { // YouTube or recording a movie from YouTube TV. // // Possible values: - // "UNSPECIFIED" + // "UNSPECIFIED" - Default value. // "PLAY" - The deeplink is used to play a media. This should be the // default in most cases. // "PLAY_TRAILER" - The deeplink is used to play a trailer. @@ -92235,7 +92426,7 @@ type NlpSemanticParsingModelsMediaDeeplinkInfo struct { // subscription restrictions. // // Possible values: - // "UNKNOWN_SUBSCRIPTION" + // "UNKNOWN_SUBSCRIPTION" - Default value. // "NO_ACCOUNT_REQUIRED" - When this value is specified, it indicates // that the content is available for free. An account on the providers // platform is not required to play the content. @@ -92266,16 +92457,16 @@ type NlpSemanticParsingModelsMediaDeeplinkInfo struct { // empty it means that there are no platform restrictions. // // Possible values: - // "UNKNOWN_PLATFORM" - // "ANDROID_PLATFORM" - // "CAST_AUDIO" + // "UNKNOWN_PLATFORM" - Default value. + // "ANDROID_PLATFORM" - Deeplink to be used on Android. + // "CAST_AUDIO" - Deeplink to be used on devices support Cast Audio. // "CAST_VIDEO" - Corresponds to /m/0wf0rgl. - // "IOS_PLATFORM" - // "DESKTOP_WEB" - // "MOBILE_WEB" + // "IOS_PLATFORM" - Deeplink to be used on iOS. + // "DESKTOP_WEB" - Deeplink to be used on Desktop web. + // "MOBILE_WEB" - Deeplink to be used on Mobile web. // "CHROMECAST" - Corresponds to /g/11cn_9bsrr. - // "ANDROID_TV" - // "KAIOS_PLATFORM" + // "ANDROID_TV" - Deeplink to be used on Android TV. + // "KAIOS_PLATFORM" - Deeplink to be used on KaiOS. // "MEDIA_3P_DEVICE" - Deprecated. Part of the consolidation process. // See go/consolidation-1p-3p for more details. Deeplinks to be used on // media 3rd party device, including Smart TV apps, and other media @@ -92314,7 +92505,7 @@ type NlpSemanticParsingModelsMediaDeeplinkInfo struct { // content types. // // Possible values: - // "UNKNOWN_TAG" + // "UNKNOWN_TAG" - Default value. // "SEED_RADIO" - Deeplink is for seed radio of the media content. // "VIDEO_TAG" - Deeplink is for video version of the media content. // NOTE: this tag is meaningful only in the context of media that has @@ -93261,7 +93452,7 @@ type NlpSemanticParsingModelsMediaPaidOfferDetail struct { // PaidOfferType: Specifies the type of offer. // // Possible values: - // "UNKNOWN_PAID_OFFER_TYPE" + // "UNKNOWN_PAID_OFFER_TYPE" - Default value. // "RENT" - When this value is specified, it indicates that the // content is available to rent for a limited time period. The price for // renting this content is indicated in the 'cost' field. @@ -100225,7 +100416,7 @@ func (s *PeoplestackFlexorgsProtoInternalExternalStateStatus) MarshalJSON() ([]b // fo} for protocols used during search and/or docinfo. Next available // tag deprecated, use this (and look for commented out fields): // blaze-bin/net/proto_compiler/protocol-compiler --freetags \ -// indexer/perdocdata/perdocdata.proto Next tag: 220 +// indexer/perdocdata/perdocdata.proto Next tag: 221 type PerDocData struct { BlogData *BlogPerDocData `json:"BlogData,omitempty"` @@ -104788,6 +104979,9 @@ type QualityActionsReminder struct { // "ASSISTANT_SURVEY_PRIORITY_LOW" - Similar to ASSISTANT_SURVEY but // used by Android TV to set android_tv_notification_priority to // PRIORITY_LOW. + // "ASSISTANT_SURVEY_ATV_AMATI" - Similar to ASSISTANT_SURVEY but used + // by Android TV Amati Devices to set android_tv_notification_priority + // to PRIORITY_DEFAULT. // "WHEREABOUTS_CHECKIN" // "TRAVEL_ASSISTANT_FLIGHT_CHECKIN" // "DIALER_AUTH" @@ -104917,6 +105111,8 @@ type QualityActionsReminder struct { // triggered. This is same notification as // GEO_TTL_FLIGHT_PASSENGER_DEPARTURE with the "book a ride" button as // the only difference. PRD(go/airport-rideshare-prd) + // "GEO_TTL_TRANSPORTATION_ROUTE_RESERVATION" - Transporation time to + // leave notification such as train // "GEO_AAP_GROCERY_STORE" // "GEO_AAP_BEAUTY_WELLNESS" // "GEO_AAP_RESTAURANT" @@ -105015,6 +105211,8 @@ type QualityActionsReminder struct { // "HEADPHONE_PERSONAL_RESULTS_OPTIN" - Notification for Headphone // Personal Response (HPR) opt-in: go/migrate-pr-notifs-tng-ma-prd // "DISCOVERY_SPARKS" - go/habits-sparks-design + // "SPOKEN_NOTIFICATIONS_OOBE_OPTIN" - Notification for Spoken + // Notifications OOBE opt-in. go/mapa-notifications-prd // "UNIT_TESTING" - NOTE: This should always stay at the bottom of the // list. AsyncInteractionType string `json:"asyncInteractionType,omitempty"` @@ -107901,6 +108099,7 @@ type QualityNsrNsrChunksWithSourceInfo struct { // "SITE_CHUNK_SOURCE_COOKBOOK" // "SITE_CHUNK_SOURCE_CRAWLED_SELLER_DATA" // "SITE_CHUNK_SOURCE_FALLBACK" + // "SITE_CHUNK_SOURCE_UV_CHUNK" SiteChunkSource string `json:"siteChunkSource,omitempty"` // ForceSendFields is a list of field names (e.g. "NsrChunks") to @@ -108049,6 +108248,7 @@ type QualityNsrNsrData struct { // "SITE_CHUNK_SOURCE_COOKBOOK" // "SITE_CHUNK_SOURCE_CRAWLED_SELLER_DATA" // "SITE_CHUNK_SOURCE_FALLBACK" + // "SITE_CHUNK_SOURCE_UV_CHUNK" SiteChunkSource string `json:"siteChunkSource,omitempty"` // SiteLinkIn: Average value of the site_link_in for pages in the @@ -115078,6 +115278,12 @@ type RepositoryWebrefAnnotationStatsPerType struct { // "TITLE" - The document // "ANY" - Special value used to represent any other tokentype. // "IMAGE_QUERY" - The Image Search navboost queries. + // "PASSAGE_QUERY" - Radish Passage Queries, specifically, rankembed + // and generated queries. For offline use only. In offline Q2I runs we + // can instruct Webref to parse and annotate passge queries using the + // annoatate_passage_queries option in AnnotateDocjoinTuningOptions. + // Note that in Goldmine runs these are added to the docjoin *after* + // Webref has run. However, // "CONTEXT_ENTITY" - Entities added from annotation context. // "RESULT_ENTITY" - Represents an entity found in the results for // Qref. @@ -117918,6 +118124,12 @@ type RepositoryWebrefFprintModifierProto struct { // "TITLE" - The document // "ANY" - Special value used to represent any other tokentype. // "IMAGE_QUERY" - The Image Search navboost queries. + // "PASSAGE_QUERY" - Radish Passage Queries, specifically, rankembed + // and generated queries. For offline use only. In offline Q2I runs we + // can instruct Webref to parse and annotate passge queries using the + // annoatate_passage_queries option in AnnotateDocjoinTuningOptions. + // Note that in Goldmine runs these are added to the docjoin *after* + // Webref has run. However, // "CONTEXT_ENTITY" - Entities added from annotation context. // "RESULT_ENTITY" - Represents an entity found in the results for // Qref. @@ -119468,7 +119680,7 @@ type RepositoryWebrefMention struct { // extraction. MatchingText string `json:"matchingText,omitempty"` - // NameMetadata: Metadata attatched to the name. + // NameMetadata: Metadata attached to the name. NameMetadata *RepositoryWebrefConceptNameMetadata `json:"nameMetadata,omitempty"` // NonLocationalScore: Whether the mention is a non-locational reference @@ -121332,6 +121544,7 @@ type RepositoryWebrefRefconMentionSpans struct { // "TITLE" - The title of the document. // "IMAGE_QUERY" - One of the image navboost queries pointing to an // image in the document. + // "PASSAGE_QUERY" - Query from passage query annotations. // "CONTEXT_ENTITY" - Contextual entity injected by an outside // attachment. For details, see go/webref-priors. // "CONTEXT_QUERY" - Contextual query that can be provided in Qref. @@ -121644,6 +121857,7 @@ type RepositoryWebrefSegmentMention struct { // "TITLE" - The title of the document. // "IMAGE_QUERY" - One of the image navboost queries pointing to an // image in the document. + // "PASSAGE_QUERY" - Query from passage query annotations. // "CONTEXT_ENTITY" - Contextual entity injected by an outside // attachment. For details, see go/webref-priors. // "CONTEXT_QUERY" - Contextual query that can be provided in Qref. @@ -121706,6 +121920,7 @@ type RepositoryWebrefSegmentMentions struct { // "TITLE" - The title of the document. // "IMAGE_QUERY" - One of the image navboost queries pointing to an // image in the document. + // "PASSAGE_QUERY" - Query from passage query annotations. // "CONTEXT_ENTITY" - Contextual entity injected by an outside // attachment. For details, see go/webref-priors. // "CONTEXT_QUERY" - Contextual query that can be provided in Qref. @@ -130450,10 +130665,6 @@ type SmartphonePerDocData struct { // render area. MaximumFlashRatio float64 `json:"maximumFlashRatio,omitempty"` - // MobileFriendlyScore: Mobile friendliness score in the range of [0, - // 100]. See go/modena-ranking. - MobileFriendlyScore int64 `json:"mobileFriendlyScore,omitempty"` - // ViolatesMobileInterstitialPolicy: Indicates if the page is violating // mobile interstitial policy and should be demoted. See // go/interstitials-ranking-dd for details. @@ -136866,7 +137077,7 @@ func (s *ToolBarPerDocData) MarshalJSON() ([]byte, error) { type TravelFlightsAirlineConfig struct { // AdwordsCid: Populated using airlines_company_ids.csv for AdWords // company map - AdwordsCid int64 `json:"adwordsCid,omitempty"` + AdwordsCid int64 `json:"adwordsCid,omitempty,string"` // Alliance: STAR_ALLIANCE // @@ -139974,6 +140185,14 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "UNACK_IN_APP_SUBSCRIPTION_WARNING_DETAIL_PAGE_EVENT_LEVEL" - Unack // Warning Message event-level test code. Design: // go/unack-warning-message-on-dp-dd + // "PACKAGE_NAME_SEARCH_EVENT_LEVEL" - Event level test code that + // indicates package name search is triggered. This test code is only + // added when - Package name search is triggered AND - The organic + // response didn't place the package name app at the top. + // "ZERO_COPY_NOT_SUFFICIENT_EVENT_LEVEL" - Event level test codes for + // go/zero-copy + // "ZERO_COPY_ALLOWS_INSTALL_EVENT_LEVEL" + // "ZERO_COPY_NOT_REQUIRED_EVENT_LEVEL" // "EVENT_LEVEL_TEST_CODE_LIMIT" // "ENTERTAINMENT_CLUSTER_TRIGGERING_AT_SESSION_LEVEL" // "BEST_SELLER_CART_TAG_AT_SESSION_LEVEL" @@ -140739,6 +140958,24 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "ELIGIBLE_FOR_FORM_FACTOR_FILTER_ON_TOP_CHARTS" - Session level // test code that indicates this user is eligible to be shown form // factor filters on top charts. + // "PACKAGE_NAME_SEARCH_SESSION_LEVEL" - Session level test code that + // indicates package name search is triggered. This test code is only + // added when - Package name search is triggered AND - The organic + // response didn't place the package name app at the top. + // "SUBSCRIPTION_PENDING_ACKNOWLEDGEMENT_EMAIL_SESSION_LEVEL" - + // Session level test code that indicates if a user would get an email + // if the pending acknowledgement email experiment was enabled. + // "SUBSCRIPTION_PENDING_ACKNOWLEDGEMENT_NOTIFICATION_SESSION_LEVEL" - + // Session level test code that indicates if a user would get a + // notification if the pending acknowledgement notification experiment + // was enabled. + // "ZERO_COPY_NOT_SUFFICIENT_SESSION_LEVEL" - Session level test codes + // for go/zero-copy + // "ZERO_COPY_ALLOWS_INSTALL_SESSION_LEVEL" + // "ZERO_COPY_NOT_REQUIRED_SESSION_LEVEL" + // "BOOKS_SEARCH_SERIES_EXPANSION_SESSION_LEVEL" - Session level test + // code that indicates if the user has issued a books search query that + // triggers ebook or audiobook series search. // "SESSION_LEVEL_TEST_CODE_LIMIT" // "CART_ABANDONMENT_USER_LEVEL" - Cart abandonment flow for purchase // flow. @@ -141005,6 +141242,13 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "FOP_STEERING_PROMOTION_EXCLUDE_CUJ4_USER_LEVEL" - User level test // code for Fop Steering Promotion in CUJ 1~3; excluding CUJ4. Users are // tagged on unredeemed fop steering promotion impression. + // "SUBSCRIPTION_PENDING_ACKNOWLEDGEMENT_EMAIL_USER_LEVEL" - User + // level test code that indicates if a user would get an email if the + // pending acknowledgement email experiment was enabled. + // "SUBSCRIPTION_PENDING_ACKNOWLEDGEMENT_NOTIFICATION_USER_LEVEL" - + // User level test code that indicates if a user would get a + // notification if the pending acknowledgement notification experiment + // was enabled. // "LOYALTY_STAMP_CARD_IN_PURCHASE_FLOW_USER_LEVEL" - User level test // code for Quest Platform Loyalty Stamp Card in Purchase flow. // "HAS_MONETIZATION_BEHAVIOR_USER_LEVEL" - User level test code for @@ -141158,7 +141402,17 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // campaign benefit calculation, log test code. // "UNACK_IN_APP_SUBSCRIPTION_WARNING_DETAIL_PAGE_USER_LEVEL" - Unack // Warning Message user-level test code. Design: - // go/unack-warning-message-on-dp-dd Add new user-level TestCode here. + // go/unack-warning-message-on-dp-dd + // "PURCHASE_READINESS_ADD_FOP_USER_LEVEL" - User-level test code for + // user who is eligible for adding Form of Payment from Purchase + // Readiness Reminder. + // "PURCHASE_READINESS_ADD_AUTH_USER_LEVEL" - User-level test code for + // user who is eligible for adding Auth Settings from Purchase Readiness + // Reminder. + // "PURCHASE_READINESS_ADD_FOP_AUTH_USER_LEVEL" - User-level test code + // for user who is eligible for adding Form of Payment and then adding + // Auth Settings from Purchase Readiness Reminder. Add new user-level + // TestCode here. // "USER_LEVEL_TEST_CODE_LIMIT" TestCode []string `json:"testCode,omitempty"` @@ -155252,7 +155506,7 @@ func (s *WWWMetaTag) MarshalJSON() ([]byte, error) { // WWWResultInfoSubImageDocInfo: The following message contains info of // sub image docs, it is populated in query_state and consumed in web -// image boost twiddler: (go/WebImageBoostTwiddler). +// image boost twiddler: (go/WebImageBoostTwiddler). NextID: 25 type WWWResultInfoSubImageDocInfo struct { AdditionalSafesearchSignals []int64 `json:"additionalSafesearchSignals,omitempty"` @@ -155377,6 +155631,10 @@ type WWWResultInfoSubImageDocInfo struct { // DeepCropBytes: Deepcrop thumbnail cropping hints. DeepCropBytes string `json:"deepCropBytes,omitempty"` + // DimeScore: EQ* v3: Deep Image Engagingness(DImE) + // go/deep-image-engagingness-slides + DimeScore float64 `json:"dimeScore,omitempty"` + Docid uint64 `json:"docid,omitempty,string"` DocumentTrust float64 `json:"documentTrust,omitempty"` @@ -155469,6 +155727,7 @@ func (s *WWWResultInfoSubImageDocInfo) MarshalJSON() ([]byte, error) { func (s *WWWResultInfoSubImageDocInfo) UnmarshalJSON(data []byte) error { type NoMethod WWWResultInfoSubImageDocInfo var s1 struct { + DimeScore gensupport.JSONFloat64 `json:"dimeScore"` DocumentTrust gensupport.JSONFloat64 `json:"documentTrust"` EqStar gensupport.JSONFloat64 `json:"eqStar"` EstRelevance gensupport.JSONFloat64 `json:"estRelevance"` @@ -155484,6 +155743,7 @@ func (s *WWWResultInfoSubImageDocInfo) UnmarshalJSON(data []byte) error { if err := json.Unmarshal(data, &s1); err != nil { return err } + s.DimeScore = float64(s1.DimeScore) s.DocumentTrust = float64(s1.DocumentTrust) s.EqStar = float64(s1.EqStar) s.EstRelevance = float64(s1.EstRelevance) diff --git a/dlp/v2/dlp-api.json b/dlp/v2/dlp-api.json index f12a59eb7dc..ee1164036d1 100644 --- a/dlp/v2/dlp-api.json +++ b/dlp/v2/dlp-api.json @@ -3412,7 +3412,7 @@ } } }, - "revision": "20230326", + "revision": "20230402", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -5345,12 +5345,12 @@ "type": "array" }, "maxFindingsPerItem": { - "description": "Max number of findings that will be returned for each item scanned. When set within `InspectJobConfig`, the maximum returned is 2000 regardless if this is set higher. When set within `InspectContentRequest`, this field is ignored.", + "description": "Max number of findings that are returned for each item scanned. When set within an InspectContentRequest, this field is ignored. This value isn't a hard limit. If the number of findings for an item reaches this limit, the inspection of that item ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns for the item can be multiple times higher than this value.", "format": "int32", "type": "integer" }, "maxFindingsPerRequest": { - "description": "Max number of findings that will be returned per request/job. When set within `InspectContentRequest`, the maximum returned is 2000 regardless if this is set higher.", + "description": "Max number of findings that are returned per request or job. If you set this field in an InspectContentRequest, the resulting maximum value is the value that you set or 3,000, whichever is lower. This value isn't a hard limit. If an inspection reaches this limit, the inspection ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than this value.", "format": "int32", "type": "integer" } @@ -5932,7 +5932,7 @@ }, "limits": { "$ref": "GooglePrivacyDlpV2FindingLimits", - "description": "Configuration to control the number of findings returned. This is not used for data profiling. When redacting sensitive data from images, finding limits don't apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in RedactImage requests. Otherwise, Cloud DLP returns an error. When set within `InspectJobConfig`, the specified maximum values aren't hard limits. If an inspection job reaches these limits, the job ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than these maximum values." + "description": "Configuration to control the number of findings returned. This is not used for data profiling. When redacting sensitive data from images, finding limits don't apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in RedactImage requests. Otherwise, Cloud DLP returns an error. When set within an InspectJobConfig, the specified maximum values aren't hard limits. If an inspection job reaches these limits, the job ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than these maximum values." }, "minLikelihood": { "description": "Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more.", diff --git a/dlp/v2/dlp-gen.go b/dlp/v2/dlp-gen.go index 524daf251ce..8bb47a2b756 100644 --- a/dlp/v2/dlp-gen.go +++ b/dlp/v2/dlp-gen.go @@ -3975,15 +3975,22 @@ type GooglePrivacyDlpV2FindingLimits struct { // specified infoTypes. MaxFindingsPerInfoType []*GooglePrivacyDlpV2InfoTypeLimit `json:"maxFindingsPerInfoType,omitempty"` - // MaxFindingsPerItem: Max number of findings that will be returned for - // each item scanned. When set within `InspectJobConfig`, the maximum - // returned is 2000 regardless if this is set higher. When set within - // `InspectContentRequest`, this field is ignored. + // MaxFindingsPerItem: Max number of findings that are returned for each + // item scanned. When set within an InspectContentRequest, this field is + // ignored. This value isn't a hard limit. If the number of findings for + // an item reaches this limit, the inspection of that item ends + // gradually, not abruptly. Therefore, the actual number of findings + // that Cloud DLP returns for the item can be multiple times higher than + // this value. MaxFindingsPerItem int64 `json:"maxFindingsPerItem,omitempty"` - // MaxFindingsPerRequest: Max number of findings that will be returned - // per request/job. When set within `InspectContentRequest`, the maximum - // returned is 2000 regardless if this is set higher. + // MaxFindingsPerRequest: Max number of findings that are returned per + // request or job. If you set this field in an InspectContentRequest, + // the resulting maximum value is the value that you set or 3,000, + // whichever is lower. This value isn't a hard limit. If an inspection + // reaches this limit, the inspection ends gradually, not abruptly. + // Therefore, the actual number of findings that Cloud DLP returns can + // be multiple times higher than this value. MaxFindingsPerRequest int64 `json:"maxFindingsPerRequest,omitempty"` // ForceSendFields is a list of field names (e.g. @@ -4943,7 +4950,7 @@ type GooglePrivacyDlpV2InspectConfig struct { // from images, finding limits don't apply. They can cause unexpected or // inconsistent results, where only some data is redacted. Don't include // finding limits in RedactImage requests. Otherwise, Cloud DLP returns - // an error. When set within `InspectJobConfig`, the specified maximum + // an error. When set within an InspectJobConfig, the specified maximum // values aren't hard limits. If an inspection job reaches these limits, // the job ends gradually, not abruptly. Therefore, the actual number of // findings that Cloud DLP returns can be multiple times higher than diff --git a/documentai/v1beta3/documentai-api.json b/documentai/v1beta3/documentai-api.json index 02a6c6dff52..2fc47f890a3 100644 --- a/documentai/v1beta3/documentai-api.json +++ b/documentai/v1beta3/documentai-api.json @@ -1012,7 +1012,7 @@ } } }, - "revision": "20230323", + "revision": "20230330", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -6835,7 +6835,7 @@ "id": "GoogleCloudDocumentaiV1beta3OcrConfig", "properties": { "advancedOcrOptions": { - "description": "A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - \"legacy_layout\": a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.", + "description": "A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - `legacy_layout`: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.", "items": { "type": "string" }, diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index 2da72faffc1..126ddca3030 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -10192,7 +10192,7 @@ func (s *GoogleCloudDocumentaiV1beta3NormalizedVertex) UnmarshalJSON(data []byte // GoogleCloudDocumentaiV1beta3OcrConfig: Config for Document OCR. type GoogleCloudDocumentaiV1beta3OcrConfig struct { // AdvancedOcrOptions: A list of advanced OCR options to further - // fine-tune OCR behavior. Current valid values are: - "legacy_layout": + // fine-tune OCR behavior. Current valid values are: - `legacy_layout`: // a heuristics layout detection algorithm, which serves as an // alternative to the current ML-based layout detection algorithm. // Customers can choose the best suitable layout algorithm based on diff --git a/memcache/v1/memcache-api.json b/memcache/v1/memcache-api.json index 551fa96e216..47853dfbf66 100644 --- a/memcache/v1/memcache-api.json +++ b/memcache/v1/memcache-api.json @@ -509,7 +509,7 @@ ] }, "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", "httpMethod": "GET", "id": "memcache.projects.locations.operations.list", @@ -556,7 +556,7 @@ } } }, - "revision": "20230202", + "revision": "20230316", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { diff --git a/memcache/v1/memcache-gen.go b/memcache/v1/memcache-gen.go index 5d5e2731662..0d58d5c9dcb 100644 --- a/memcache/v1/memcache-gen.go +++ b/memcache/v1/memcache-gen.go @@ -4097,14 +4097,7 @@ type ProjectsLocationsOperationsListCall struct { // List: Lists operations that match the specified filter in the // request. If the server doesn't support this method, it returns -// `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to -// override the binding to use different resource name schemes, such as -// `users/*/operations`. To override the binding, API services can add a -// binding such as "/v1/{name=users/*}/operations" to their service -// configuration. For backwards compatibility, the default name includes -// the operations collection id, however overriding users must ensure -// the name binding is the parent resource, without the operations -// collection id. +// `UNIMPLEMENTED`. // // - name: The name of the operation's parent resource. func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall { @@ -4233,7 +4226,7 @@ func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", // "httpMethod": "GET", // "id": "memcache.projects.locations.operations.list", diff --git a/memcache/v1beta2/memcache-api.json b/memcache/v1beta2/memcache-api.json index 8e628652143..9d83e0a7444 100644 --- a/memcache/v1beta2/memcache-api.json +++ b/memcache/v1beta2/memcache-api.json @@ -537,7 +537,7 @@ ] }, "list": { - "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/operations", "httpMethod": "GET", "id": "memcache.projects.locations.operations.list", @@ -584,7 +584,7 @@ } } }, - "revision": "20230202", + "revision": "20230316", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { diff --git a/memcache/v1beta2/memcache-gen.go b/memcache/v1beta2/memcache-gen.go index 4909882a313..544bb8e70d6 100644 --- a/memcache/v1beta2/memcache-gen.go +++ b/memcache/v1beta2/memcache-gen.go @@ -4283,14 +4283,7 @@ type ProjectsLocationsOperationsListCall struct { // List: Lists operations that match the specified filter in the // request. If the server doesn't support this method, it returns -// `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to -// override the binding to use different resource name schemes, such as -// `users/*/operations`. To override the binding, API services can add a -// binding such as "/v1/{name=users/*}/operations" to their service -// configuration. For backwards compatibility, the default name includes -// the operations collection id, however overriding users must ensure -// the name binding is the parent resource, without the operations -// collection id. +// `UNIMPLEMENTED`. // // - name: The name of the operation's parent resource. func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall { @@ -4419,7 +4412,7 @@ func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) ( } return ret, nil // { - // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", + // "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", // "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/operations", // "httpMethod": "GET", // "id": "memcache.projects.locations.operations.list", diff --git a/recaptchaenterprise/v1/recaptchaenterprise-api.json b/recaptchaenterprise/v1/recaptchaenterprise-api.json index 9958550a2ac..943b53ee109 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-api.json +++ b/recaptchaenterprise/v1/recaptchaenterprise-api.json @@ -666,7 +666,7 @@ } } }, - "revision": "20230328", + "revision": "20230402", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -1444,6 +1444,13 @@ "description": "Risk analysis result for an event.", "id": "GoogleCloudRecaptchaenterpriseV1RiskAnalysis", "properties": { + "extendedVerdictReasons": { + "description": "Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.", + "items": { + "type": "string" + }, + "type": "array" + }, "reasons": { "description": "Reasons contributing to the risk analysis verdict.", "items": { diff --git a/recaptchaenterprise/v1/recaptchaenterprise-gen.go b/recaptchaenterprise/v1/recaptchaenterprise-gen.go index e0494071229..463eb9303cf 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-gen.go +++ b/recaptchaenterprise/v1/recaptchaenterprise-gen.go @@ -1636,6 +1636,11 @@ func (s *GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse) Marsha // GoogleCloudRecaptchaenterpriseV1RiskAnalysis: Risk analysis result // for an event. type GoogleCloudRecaptchaenterpriseV1RiskAnalysis struct { + // ExtendedVerdictReasons: Extended verdict reasons to be used for + // experimentation only. The set of possible reasons is subject to + // change. + ExtendedVerdictReasons []string `json:"extendedVerdictReasons,omitempty"` + // Reasons: Reasons contributing to the risk analysis verdict. // // Possible values: @@ -1661,20 +1666,22 @@ type GoogleCloudRecaptchaenterpriseV1RiskAnalysis struct { // traffic). Score float64 `json:"score,omitempty"` - // ForceSendFields is a list of field names (e.g. "Reasons") 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. + // "ExtendedVerdictReasons") 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. "Reasons") 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. "ExtendedVerdictReasons") + // to include in API requests with the JSON null value. By default, + // fields with empty values are omitted from API requests. However, any + // field with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } diff --git a/servicemanagement/v1/servicemanagement-api.json b/servicemanagement/v1/servicemanagement-api.json index bef63e7b67b..576194a549b 100644 --- a/servicemanagement/v1/servicemanagement-api.json +++ b/servicemanagement/v1/servicemanagement-api.json @@ -829,7 +829,7 @@ } } }, - "revision": "20230317", + "revision": "20230331", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { @@ -1613,6 +1613,41 @@ "common": { "$ref": "CommonLanguageSettings", "description": "Some settings." + }, + "forcedNamespaceAliases": { + "description": "Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision", + "items": { + "type": "string" + }, + "type": "array" + }, + "handwrittenSignatures": { + "description": "Method signatures (in the form \"service.method(signature)\") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however.", + "items": { + "type": "string" + }, + "type": "array" + }, + "ignoredResources": { + "description": "List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: \"documentai.googleapis.com/Location\"", + "items": { + "type": "string" + }, + "type": "array" + }, + "renamedResources": { + "additionalProperties": { + "type": "string" + }, + "description": "Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: \"datalabeling.googleapis.com/Dataset\": \"DataLabelingDataset\"", + "type": "object" + }, + "renamedServices": { + "additionalProperties": { + "type": "string" + }, + "description": "Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.", + "type": "object" } }, "type": "object" diff --git a/servicemanagement/v1/servicemanagement-gen.go b/servicemanagement/v1/servicemanagement-gen.go index 6af28225b2a..b06a9a95195 100644 --- a/servicemanagement/v1/servicemanagement-gen.go +++ b/servicemanagement/v1/servicemanagement-gen.go @@ -1742,6 +1742,35 @@ type DotnetSettings struct { // Common: Some settings. Common *CommonLanguageSettings `json:"common,omitempty"` + // ForcedNamespaceAliases: Namespaces which must be aliased in snippets + // due to a known (but non-generator-predictable) naming collision + ForcedNamespaceAliases []string `json:"forcedNamespaceAliases,omitempty"` + + // HandwrittenSignatures: Method signatures (in the form + // "service.method(signature)") which are provided separately, so + // shouldn't be generated. Snippets *calling* these methods are still + // generated, however. + HandwrittenSignatures []string `json:"handwrittenSignatures,omitempty"` + + // IgnoredResources: List of full resource types to ignore during + // generation. This is typically used for API-specific Location + // resources, which should be handled by the generator as if they were + // actually the common Location resources. Example entry: + // "documentai.googleapis.com/Location" + IgnoredResources []string `json:"ignoredResources,omitempty"` + + // RenamedResources: Map from full resource types to the effective short + // name for the resource. This is used when otherwise resource named + // from different services would cause naming collisions. Example entry: + // "datalabeling.googleapis.com/Dataset": "DataLabelingDataset" + RenamedResources map[string]string `json:"renamedResources,omitempty"` + + // RenamedServices: Map from original service names to renamed versions. + // This is used when the default generated types would cause a naming + // conflict. (Neither name is fully-qualified.) Example: Subscriber to + // SubscriberServiceApi. + RenamedServices map[string]string `json:"renamedServices,omitempty"` + // ForceSendFields is a list of field names (e.g. "Common") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/translate/v3/translate-api.json b/translate/v3/translate-api.json index 14c5979f72d..a1412dae92a 100644 --- a/translate/v3/translate-api.json +++ b/translate/v3/translate-api.json @@ -1286,7 +1286,7 @@ } } }, - "revision": "20230303", + "revision": "20230403", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchDocumentInputConfig": { @@ -2253,6 +2253,10 @@ "$ref": "DocumentOutputConfig", "description": "Optional. Output configurations. Defines if the output file should be stored within Cloud Storage as well as the desired output format. If not provided the translated file will only be returned through a byte-stream and its output mime type will be the same as the input file's mime type." }, + "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 8472dd180ff..d03615653b8 100644 --- a/translate/v3/translate-gen.go +++ b/translate/v3/translate-gen.go @@ -2191,6 +2191,10 @@ type TranslateDocumentRequest struct { // the same as the input file's mime type. DocumentOutputConfig *DocumentOutputConfig `json:"documentOutputConfig,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 60c83cf4ba4..536aef1f4f3 100644 --- a/translate/v3beta1/translate-api.json +++ b/translate/v3beta1/translate-api.json @@ -744,7 +744,7 @@ } } }, - "revision": "20230303", + "revision": "20230403", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchDocumentInputConfig": { @@ -1335,6 +1335,10 @@ "$ref": "DocumentOutputConfig", "description": "Optional. Output configurations. Defines if the output file should be stored within Cloud Storage as well as the desired output format. If not provided the translated file will only be returned through a byte-stream and its output mime type will be the same as the input file's mime type." }, + "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 e39534a9c75..4c2c42d61bf 100644 --- a/translate/v3beta1/translate-gen.go +++ b/translate/v3beta1/translate-gen.go @@ -1459,6 +1459,10 @@ type TranslateDocumentRequest struct { // the same as the input file's mime type. DocumentOutputConfig *DocumentOutputConfig `json:"documentOutputConfig,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