From 690068ff96fb835a881629868d069f117a983ea2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 13 Apr 2023 07:44:46 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1943) --- calendar/v3/calendar-api.json | 6 +- calendar/v3/calendar-gen.go | 40 +- chat/v1/chat-api.json | 6 +- chat/v1/chat-gen.go | 14 +- container/v1beta1/container-api.json | 12 +- container/v1beta1/container-gen.go | 25 + contentwarehouse/v1/contentwarehouse-api.json | 469 ++++++++++- contentwarehouse/v1/contentwarehouse-gen.go | 728 ++++++++++++++++-- dataproc/v1/dataproc-api.json | 6 +- dataproc/v1/dataproc-gen.go | 8 +- .../v1alpha/discoveryengine-api.json | 18 +- .../v1alpha/discoveryengine-gen.go | 21 + .../v1beta/discoveryengine-api.json | 18 +- discoveryengine/v1beta/discoveryengine-gen.go | 21 + osconfig/v1/osconfig-api.json | 4 +- osconfig/v1/osconfig-gen.go | 2 +- run/v1/run-api.json | 60 +- run/v1/run-gen.go | 102 +++ secretmanager/v1/secretmanager-api.json | 4 +- secretmanager/v1/secretmanager-gen.go | 5 +- storagetransfer/v1/storagetransfer-api.json | 4 +- storagetransfer/v1/storagetransfer-gen.go | 3 +- translate/v3/translate-api.json | 8 +- translate/v3/translate-gen.go | 4 - 24 files changed, 1456 insertions(+), 132 deletions(-) diff --git a/calendar/v3/calendar-api.json b/calendar/v3/calendar-api.json index 1f3468c1b1d..d2c7fc95482 100644 --- a/calendar/v3/calendar-api.json +++ b/calendar/v3/calendar-api.json @@ -1088,7 +1088,7 @@ "type": "string" }, "eventTypes": { - "description": "Event types to return. Optional. The default is [\"default\", \"outOfOffice\", \"focusTime\"]. Only the default value is available, unless you're enrolled in the Working Locations developer preview. Developer Preview.", + "description": "Event types to return. Optional. Possible values are: \n- \"default\" \n- \"focusTime\" \n- \"outOfOffice\"This parameter can be repeated multiple times to return events of different types. Currently, this is the only allowed value for this field: \n- [\"default\", \"focusTime\", \"outOfOffice\"] This value will be the default.\n\nIf you're enrolled in the Working Location developer preview program, in addition to the default value above you can also set the \"workingLocation\" event type: \n- [\"default\", \"focusTime\", \"outOfOffice\", \"workingLocation\"] \n- [\"workingLocation\"] Additional combinations of these 4 event types will be made available in later releases. Developer Preview.", "location": "query", "repeated": true, "type": "string" @@ -1491,7 +1491,7 @@ "type": "string" }, "eventTypes": { - "description": "Event types to return. Optional. The default is [\"default\", \"outOfOffice\", \"focusTime\"]. Only the default value is available, unless you're enrolled in the Working Locations developer preview. Developer Preview.", + "description": "Event types to return. Optional. Possible values are: \n- \"default\" \n- \"focusTime\" \n- \"outOfOffice\"This parameter can be repeated multiple times to return events of different types. Currently, this is the only allowed value for this field: \n- [\"default\", \"focusTime\", \"outOfOffice\"] This value will be the default.\n\nIf you're enrolled in the Working Location developer preview program, in addition to the default value above you can also set the \"workingLocation\" event type: \n- [\"default\", \"focusTime\", \"outOfOffice\", \"workingLocation\"] \n- [\"workingLocation\"] Additional combinations of these 4 event types will be made available in later releases. Developer Preview.", "location": "query", "repeated": true, "type": "string" @@ -1735,7 +1735,7 @@ } } }, - "revision": "20230324", + "revision": "20230406", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": { diff --git a/calendar/v3/calendar-gen.go b/calendar/v3/calendar-gen.go index 34cf5f592b2..877d15842db 100644 --- a/calendar/v3/calendar-gen.go +++ b/calendar/v3/calendar-gen.go @@ -7067,9 +7067,21 @@ func (c *EventsListCall) AlwaysIncludeEmail(alwaysIncludeEmail bool) *EventsList } // EventTypes sets the optional parameter "eventTypes": Event types to -// return. The default is ["default", "outOfOffice", "focusTime"]. Only -// the default value is available, unless you're enrolled in the Working -// Locations developer preview. Developer Preview. +// return. Possible values are: +// - "default" +// - "focusTime" +// - "outOfOffice"This parameter can be repeated multiple times to +// return events of different types. Currently, this is the only allowed +// value for this field: +// - ["default", "focusTime", "outOfOffice"] This value will be the +// default. +// +// If you're enrolled in the Working Location developer preview program, +// in addition to the default value above you can also set the +// "workingLocation" event type: +// - ["default", "focusTime", "outOfOffice", "workingLocation"] +// - ["workingLocation"] Additional combinations of these 4 event types +// will be made available in later releases. Developer Preview. func (c *EventsListCall) EventTypes(eventTypes ...string) *EventsListCall { c.urlParams_.SetMulti("eventTypes", append([]string{}, eventTypes...)) return c @@ -7370,7 +7382,7 @@ func (c *EventsListCall) Do(opts ...googleapi.CallOption) (*Events, error) { // "type": "string" // }, // "eventTypes": { - // "description": "Event types to return. Optional. The default is [\"default\", \"outOfOffice\", \"focusTime\"]. Only the default value is available, unless you're enrolled in the Working Locations developer preview. Developer Preview.", + // "description": "Event types to return. Optional. Possible values are: \n- \"default\" \n- \"focusTime\" \n- \"outOfOffice\"This parameter can be repeated multiple times to return events of different types. Currently, this is the only allowed value for this field: \n- [\"default\", \"focusTime\", \"outOfOffice\"] This value will be the default.\n\nIf you're enrolled in the Working Location developer preview program, in addition to the default value above you can also set the \"workingLocation\" event type: \n- [\"default\", \"focusTime\", \"outOfOffice\", \"workingLocation\"] \n- [\"workingLocation\"] Additional combinations of these 4 event types will be made available in later releases. Developer Preview.", // "location": "query", // "repeated": true, // "type": "string" @@ -8479,9 +8491,21 @@ func (c *EventsWatchCall) AlwaysIncludeEmail(alwaysIncludeEmail bool) *EventsWat } // EventTypes sets the optional parameter "eventTypes": Event types to -// return. The default is ["default", "outOfOffice", "focusTime"]. Only -// the default value is available, unless you're enrolled in the Working -// Locations developer preview. Developer Preview. +// return. Possible values are: +// - "default" +// - "focusTime" +// - "outOfOffice"This parameter can be repeated multiple times to +// return events of different types. Currently, this is the only allowed +// value for this field: +// - ["default", "focusTime", "outOfOffice"] This value will be the +// default. +// +// If you're enrolled in the Working Location developer preview program, +// in addition to the default value above you can also set the +// "workingLocation" event type: +// - ["default", "focusTime", "outOfOffice", "workingLocation"] +// - ["workingLocation"] Additional combinations of these 4 event types +// will be made available in later releases. Developer Preview. func (c *EventsWatchCall) EventTypes(eventTypes ...string) *EventsWatchCall { c.urlParams_.SetMulti("eventTypes", append([]string{}, eventTypes...)) return c @@ -8774,7 +8798,7 @@ func (c *EventsWatchCall) Do(opts ...googleapi.CallOption) (*Channel, error) { // "type": "string" // }, // "eventTypes": { - // "description": "Event types to return. Optional. The default is [\"default\", \"outOfOffice\", \"focusTime\"]. Only the default value is available, unless you're enrolled in the Working Locations developer preview. Developer Preview.", + // "description": "Event types to return. Optional. Possible values are: \n- \"default\" \n- \"focusTime\" \n- \"outOfOffice\"This parameter can be repeated multiple times to return events of different types. Currently, this is the only allowed value for this field: \n- [\"default\", \"focusTime\", \"outOfOffice\"] This value will be the default.\n\nIf you're enrolled in the Working Location developer preview program, in addition to the default value above you can also set the \"workingLocation\" event type: \n- [\"default\", \"focusTime\", \"outOfOffice\", \"workingLocation\"] \n- [\"workingLocation\"] Additional combinations of these 4 event types will be made available in later releases. Developer Preview.", // "location": "query", // "repeated": true, // "type": "string" diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index 85921752615..5df3be040a2 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -403,7 +403,7 @@ ] }, "patch": { - "description": "Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.", + "description": "Updates a message. There's a difference between `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "PATCH", "id": "chat.spaces.messages.patch", @@ -443,7 +443,7 @@ ] }, "update": { - "description": "Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.", + "description": "Updates a message. There's a difference between `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "PUT", "id": "chat.spaces.messages.update", @@ -518,7 +518,7 @@ } } }, - "revision": "20230330", + "revision": "20230406", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index e7c395c40a4..b8d64b01403 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -5585,7 +5585,10 @@ type SpacesMessagesPatchCall struct { header_ http.Header } -// Patch: Updates a message. For example usage, see Update a message +// Patch: Updates a message. There's a difference between `patch` and +// `update` methods. The `patch` method uses a `patch` request while the +// `update` method uses a `put` request. We recommend using the `patch` +// method. For example usage, see Update a message // (https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). // Requires authentication // (https://developers.google.com/chat/api/guides/auth/). Fully supports @@ -5720,7 +5723,7 @@ func (c *SpacesMessagesPatchCall) Do(opts ...googleapi.CallOption) (*Message, er } return ret, nil // { - // "description": "Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.", + // "description": "Updates a message. There's a difference between `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.", // "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", // "httpMethod": "PATCH", // "id": "chat.spaces.messages.patch", @@ -5773,7 +5776,10 @@ type SpacesMessagesUpdateCall struct { header_ http.Header } -// Update: Updates a message. For example usage, see Update a message +// Update: Updates a message. There's a difference between `patch` and +// `update` methods. The `patch` method uses a `patch` request while the +// `update` method uses a `put` request. We recommend using the `patch` +// method. For example usage, see Update a message // (https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). // Requires authentication // (https://developers.google.com/chat/api/guides/auth/). Fully supports @@ -5908,7 +5914,7 @@ func (c *SpacesMessagesUpdateCall) Do(opts ...googleapi.CallOption) (*Message, e } return ret, nil // { - // "description": "Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.", + // "description": "Updates a message. There's a difference between `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth/). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.", // "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", // "httpMethod": "PUT", // "id": "chat.spaces.messages.update", diff --git a/container/v1beta1/container-api.json b/container/v1beta1/container-api.json index 553f1e7b85d..3bd39c34583 100644 --- a/container/v1beta1/container-api.json +++ b/container/v1beta1/container-api.json @@ -2512,7 +2512,7 @@ } } }, - "revision": "20230322", + "revision": "20230326", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2547,7 +2547,15 @@ "AdditionalPodRangesConfig": { "description": "AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.", "id": "AdditionalPodRangesConfig", - "properties": {}, + "properties": { + "podRangeNames": { + "description": "Name for pod secondary ipv4 range which has the actual range defined ahead.", + "items": { + "type": "string" + }, + "type": "array" + } + }, "type": "object" }, "AddonsConfig": { diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index 61d9e40071b..f9637b8f109 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -331,6 +331,31 @@ func (s *AcceleratorConfig) MarshalJSON() ([]byte, error) { // configuration for additional pod secondary ranges supporting the // ClusterUpdate message. type AdditionalPodRangesConfig struct { + // PodRangeNames: Name for pod secondary ipv4 range which has the actual + // range defined ahead. + PodRangeNames []string `json:"podRangeNames,omitempty"` + + // ForceSendFields is a list of field names (e.g. "PodRangeNames") 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. "PodRangeNames") 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 *AdditionalPodRangesConfig) MarshalJSON() ([]byte, error) { + type NoMethod AdditionalPodRangesConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } // AddonsConfig: Configuration for the addons that can be automatically diff --git a/contentwarehouse/v1/contentwarehouse-api.json b/contentwarehouse/v1/contentwarehouse-api.json index ba368102ec6..63818f13791 100644 --- a/contentwarehouse/v1/contentwarehouse-api.json +++ b/contentwarehouse/v1/contentwarehouse-api.json @@ -1103,7 +1103,7 @@ } } }, - "revision": "20230404", + "revision": "20230410", "rootUrl": "https://contentwarehouse.googleapis.com/", "schemas": { "AbuseiamAbuseType": { @@ -16279,6 +16279,10 @@ "description": "Unique package name that identifies an Android app of the provider.", "type": "string" }, + "castAppId": { + "description": "Unique cast app id that identifies a Cast app of the provider.", + "type": "string" + }, "versionCode": { "description": "Version code of the application.", "format": "int32", @@ -16982,6 +16986,11 @@ }, "type": "object" }, + "AssistantDevicesPlatformProtoProviderFulfillCapability": { + "id": "AssistantDevicesPlatformProtoProviderFulfillCapability", + "properties": {}, + "type": "object" + }, "AssistantDevicesPlatformProtoProviderOpenCapability": { "id": "AssistantDevicesPlatformProtoProviderOpenCapability", "properties": { @@ -17084,6 +17093,10 @@ "mediaStop": { "$ref": "AssistantDevicesPlatformProtoMediaStopCapability" }, + "providerFulfill": { + "$ref": "AssistantDevicesPlatformProtoProviderFulfillCapability", + "description": "|provider_fulfill| specifies the support for provider.FULFILL client_op, and the corresponding provider_fulfill field in assistant.embedded.v1.DeviceOp." + }, "providerOpen": { "$ref": "AssistantDevicesPlatformProtoProviderOpenCapability", "description": "|provider_open| specifies the support for provider.OPEN client_op, and the corresponding provider_open field in assistant.embedded.v1.DeviceOp." @@ -17393,7 +17406,7 @@ "type": "object" }, "AssistantGroundingRankerGroundingProviderFeatures": { - "description": "Next ID: 5", + "description": "Next ID: 6", "id": "AssistantGroundingRankerGroundingProviderFeatures", "properties": { "contactGroundingProviderFeatures": { @@ -17405,6 +17418,9 @@ "mediaGroundingProviderFeatures": { "$ref": "AssistantGroundingRankerMediaGroundingProviderFeatures" }, + "podcastGroundingProviderFeatures": { + "$ref": "AssistantGroundingRankerPodcastGroundingProviderFeatures" + }, "providerGroundingProviderFeatures": { "$ref": "AssistantGroundingRankerProviderGroundingProviderFeatures" } @@ -17603,6 +17619,17 @@ }, "type": "object" }, + "AssistantGroundingRankerPodcastGroundingProviderFeatures": { + "description": "Features to be extracted from Podcast GP for ranking in HGR. Next ID: 2", + "id": "AssistantGroundingRankerPodcastGroundingProviderFeatures", + "properties": { + "isExclusive": { + "description": "Whether the podcast is exclusive to a provider a not.", + "type": "boolean" + } + }, + "type": "object" + }, "AssistantGroundingRankerProviderGroundingProviderFeatures": { "description": "Features to be extracted from Provider GP for ranking in HGR. Next ID: 5", "id": "AssistantGroundingRankerProviderGroundingProviderFeatures", @@ -19434,7 +19461,7 @@ "type": "object" }, "AssistantPrefulfillmentRankerPrefulfillmentSignals": { - "description": "Signals to be used by the Prefulfillment Ranker. Derived from the ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange Next ID: 47", + "description": "Signals to be used by the Prefulfillment Ranker. Derived from the ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange Next ID: 48", "id": "AssistantPrefulfillmentRankerPrefulfillmentSignals", "properties": { "bindingSetAuis": { @@ -19649,6 +19676,18 @@ ], "type": "string" }, + "subIntentType": { + "description": "sub_intent_type differentiates between intents that share the top level intent name. For eg: for TV_FALLBACK_SEARCH_INTENT, the top level intent name must be \"Find_media\" and the media_object argument within it must be of type \"Media_unspecified\".", + "enum": [ + "SUB_INTENT_TYPE_UNKNOWN", + "SUB_INTENT_TYPE_TV_FALLBACK_SEARCH_INTENT" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "topHypothesisConfidence": { "description": "Average of per-word confidence for top speech recognition hypothesis. The value is from RecognizerHypothesisLog: http://google3/logs/proto/speech/service/recognizer_log.proto?l=848\u0026rcl=281400256", "format": "float", @@ -21293,6 +21332,9 @@ "medical": { "$ref": "ClassifierPornQueryClassifierOutput" }, + "minor": { + "$ref": "ClassifierPornQueryClassifierOutput" + }, "offensive": { "$ref": "ClassifierPornQueryClassifierOutput" }, @@ -21455,6 +21497,314 @@ }, "type": "object" }, + "CloudAiPlatformTenantresourceCloudSqlInstanceConfig": { + "description": "The identity to configure a CloudSQL instance provisioned via SLM Terraform.", + "id": "CloudAiPlatformTenantresourceCloudSqlInstanceConfig", + "properties": { + "cloudSqlInstanceConnectionName": { + "description": "Output only. The CloudSQL instance connection name.", + "type": "string" + }, + "cloudSqlInstanceName": { + "description": "Input/Output [Optional]. The CloudSQL instance name within SLM instance. If not set, a random UUIC will be generated as instance name.", + "type": "string" + }, + "kmsKeyReference": { + "description": "Input [Optional]. The KMS key name or the KMS grant name used for CMEK encryption. Only set this field when provisioning new CloudSQL instances. For existing CloudSQL instances, this field will be ignored because CMEK re-encryption is not supported.", + "type": "string" + }, + "mdbRolesForCorpAccess": { + "description": "Input [Optional]. MDB roles for corp access to CloudSQL instance.", + "items": { + "type": "string" + }, + "type": "array" + }, + "slmInstanceName": { + "description": "Output only. The SLM instance's full resource name.", + "type": "string" + }, + "slmInstanceTemplate": { + "description": "Input [Required]. The SLM instance template to provision CloudSQL.", + "type": "string" + }, + "slmInstanceType": { + "description": "Input [Required]. The SLM instance type to provision CloudSQL.", + "type": "string" + } + }, + "type": "object" + }, + "CloudAiPlatformTenantresourceGcsBucketConfig": { + "description": "The identity to configure a GCS bucket.", + "id": "CloudAiPlatformTenantresourceGcsBucketConfig", + "properties": { + "admins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "bucketName": { + "description": "Input/Output [Optional]. The name of a GCS bucket with max length of 63 chars. If not set, a random UUID will be generated as bucket name.", + "type": "string" + }, + "entityName": { + "description": "Input/Output [Optional]. Only needed for per-entity tenant GCP resources. During Deprovision API, the on-demand deletion will only cover the tenant GCP resources with the specified entity name.", + "type": "string" + }, + "kmsKeyReference": { + "description": "Input/Output [Optional]. The KMS key name or the KMS grant name used for CMEK encryption. Only set this field when provisioning new GCS bucket. For existing GCS bucket, this field will be ignored because CMEK re-encryption is not supported.", + "type": "string" + }, + "ttlDays": { + "description": "Input/Output [Optional]. Only needed when the content in bucket need to be garbage collected within some amount of days.", + "format": "int32", + "type": "integer" + }, + "viewers": { + "description": "Input/Output [Required]. IAM roles (viewer/admin) put on the bucket.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CloudAiPlatformTenantresourceIamPolicyBinding": { + "description": "The dynamic IAM bindings to be granted after tenant projects are created.", + "id": "CloudAiPlatformTenantresourceIamPolicyBinding", + "properties": { + "members": { + "description": "Input/Output [Required]. The member service accounts with the roles above. Note: placeholders are same as the resource above.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource": { + "description": "Input/Output [Required]. The resource name that will be accessed by members, which also depends on resource_type. Note: placeholders are supported in resource names. For example, ${tpn} will be used when the tenant project number is not ready.", + "type": "string" + }, + "resourceType": { + "description": "Input/Output [Required]. Specifies the type of resource that will be accessed by members.", + "enum": [ + "RESOURCE_TYPE_UNSPECIFIED", + "PROJECT", + "SERVICE_ACCOUNT", + "GCS_BUCKET", + "SERVICE_CONSUMER", + "AR_REPO" + ], + "enumDescriptions": [ + "", + "The value of resource field is the ID or number of a project. Format is ", + "The value of resource field is the resource name of a service account. Format is projects//serviceAccounts/", + "The value of resource field is the name of a GCS bucket (not its resource name). Format is .", + "The value of resource field is the resource name of a service consumer. Format is services//consumers/", + "The value of the resource field is the AR Image Uri which identifies an AR REPO. Allowed formats are: /// ///: ///@" + ], + "type": "string" + }, + "role": { + "description": "Input/Output [Required]. The role for members below.", + "type": "string" + } + }, + "type": "object" + }, + "CloudAiPlatformTenantresourceInfraSpannerConfig": { + "description": "The configuration for a spanner database provisioning. Next ID: 8", + "id": "CloudAiPlatformTenantresourceInfraSpannerConfig", + "properties": { + "createDatabaseOptions": { + "$ref": "CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions", + "description": "Input [Optional]. The options to create a spanner database. Note: give the right options to ensure the right KMS key access audit logging and AxT logging in expected logging category." + }, + "kmsKeyReference": { + "description": "Input [Optional]. The KMS key name or the KMS grant name used for CMEK encryption. Only set this field when provisioning new Infra Spanner databases. For existing Infra Spanner databases, this field will be ignored because CMEK re-encryption is not supported. For example, projects//locations//keyRings//cryptoKeys/", + "type": "string" + }, + "sdlBundlePath": { + "description": "Input [Required]. The file path to the spanner SDL bundle.", + "type": "string" + }, + "spannerBorgServiceAccount": { + "description": "Input [Optional]. The spanner borg service account for delegating the kms key to. For example, spanner-infra-cmek-nonprod@system.gserviceaccount.com, for the nonprod universe.", + "type": "string" + }, + "spannerLocalNamePrefix": { + "type": "string" + }, + "spannerNamespace": { + "type": "string" + }, + "spannerUniverse": { + "description": "Input [Required]. Every database in Spanner can be identified by the following path name: /span//:", + "type": "string" + } + }, + "type": "object" + }, + "CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions": { + "description": "The options to create a spanner database. KMS key access audit logging and AxT logging will be associated with the given resource name, resource type and service name. Please ensure to give right options to enable correct audit logging and AxT logging.", + "id": "CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions", + "properties": { + "cmekCloudResourceName": { + "description": "The cloud resource name for the CMEK encryption. For example, projects//locations/", + "type": "string" + }, + "cmekCloudResourceType": { + "description": "The cloud resource type for the CMEK encryption. For example, contentwarehouse.googleapis.com/Location", + "type": "string" + }, + "cmekServiceName": { + "description": "The service name for the CMEK encryption. For example, contentwarehouse.googleapis.com", + "type": "string" + } + }, + "type": "object" + }, + "CloudAiPlatformTenantresourceServiceAccountIdentity": { + "description": "The identity to configure a service account.", + "id": "CloudAiPlatformTenantresourceServiceAccountIdentity", + "properties": { + "serviceAccountEmail": { + "description": "Output only. The service account email that has been created.", + "type": "string" + }, + "tag": { + "description": "Input/Output [Optional]. The tag that configures the service account, as defined in google3/configs/production/cdpush/acl-zanzibar-cloud-prod/activation_grants/activation_grants.gcl. Note: The default P4 service account has the empty tag.", + "type": "string" + } + }, + "type": "object" + }, + "CloudAiPlatformTenantresourceTenantProjectConfig": { + "description": "The identity to configure a tenant project.", + "id": "CloudAiPlatformTenantresourceTenantProjectConfig", + "properties": { + "billingConfig": { + "$ref": "GoogleApiServiceconsumermanagementV1BillingConfig", + "description": "Input/Output [Required]. The billing account properties to create the tenant project." + }, + "folder": { + "description": "Input/Output [Required]. The folder that holds tenant projects and folder-level permissions will be automatically granted to all tenant projects under the folder. Note: the valid folder format is `folders/{folder_number}`.", + "type": "string" + }, + "policyBindings": { + "description": "Input/Output [Required]. The policy bindings that are applied to the tenant project during creation. At least one binding must have the role `roles/owner` with either `user` or `group` type.", + "items": { + "$ref": "GoogleApiServiceconsumermanagementV1PolicyBinding" + }, + "type": "array" + }, + "services": { + "description": "Input/Output [Required]. The API services that are enabled on the tenant project during creation.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CloudAiPlatformTenantresourceTenantProjectResource": { + "description": "The tenant project and tenant resources. Next ID: 10", + "id": "CloudAiPlatformTenantresourceTenantProjectResource", + "properties": { + "cloudSqlInstances": { + "description": "The CloudSQL instances that are provisioned under the tenant project.", + "items": { + "$ref": "CloudAiPlatformTenantresourceCloudSqlInstanceConfig" + }, + "type": "array" + }, + "gcsBuckets": { + "description": "The GCS buckets that are provisioned under the tenant project.", + "items": { + "$ref": "CloudAiPlatformTenantresourceGcsBucketConfig" + }, + "type": "array" + }, + "iamPolicyBindings": { + "description": "The dynamic IAM bindings that are granted under the tenant project. Note: this should only add new bindings to the project if they don't exist and the existing bindings won't be affected.", + "items": { + "$ref": "CloudAiPlatformTenantresourceIamPolicyBinding" + }, + "type": "array" + }, + "infraSpannerConfigs": { + "description": "The Infra Spanner databases that are provisioned under the tenant project. Note: this is an experimental feature.", + "items": { + "$ref": "CloudAiPlatformTenantresourceInfraSpannerConfig" + }, + "type": "array" + }, + "tag": { + "description": "Input/Output [Required]. The tag that uniquely identifies a tenant project within a tenancy unit. Note: for the same tenant project tag, all tenant manager operations should be idempotent.", + "type": "string" + }, + "tenantProjectConfig": { + "$ref": "CloudAiPlatformTenantresourceTenantProjectConfig", + "description": "The configurations of a tenant project." + }, + "tenantProjectId": { + "description": "Output only. The tenant project ID that has been created.", + "type": "string" + }, + "tenantProjectNumber": { + "description": "Output only. The tenant project number that has been created.", + "format": "int64", + "type": "string" + }, + "tenantServiceAccounts": { + "description": "The service account identities (or enabled API service's P4SA) that are expclicitly created under the tenant project (before JIT provisioning during enabled API services).", + "items": { + "$ref": "CloudAiPlatformTenantresourceTenantServiceAccountIdentity" + }, + "type": "array" + } + }, + "type": "object" + }, + "CloudAiPlatformTenantresourceTenantResource": { + "description": "A collection of tenant resources.", + "id": "CloudAiPlatformTenantresourceTenantResource", + "properties": { + "p4ServiceAccounts": { + "description": "A list of P4 service accounts (go/p4sa) to provision or deprovision.", + "items": { + "$ref": "CloudAiPlatformTenantresourceServiceAccountIdentity" + }, + "type": "array" + }, + "tenantProjectResources": { + "description": "A list of tenant projects and tenant resources to provision or deprovision.", + "items": { + "$ref": "CloudAiPlatformTenantresourceTenantProjectResource" + }, + "type": "array" + } + }, + "type": "object" + }, + "CloudAiPlatformTenantresourceTenantServiceAccountIdentity": { + "description": "The identity of service accounts that have been explicitly created under tenant projects.", + "id": "CloudAiPlatformTenantresourceTenantServiceAccountIdentity", + "properties": { + "serviceAccountEmail": { + "description": "Output only. The email address of the generated service account.", + "type": "string" + }, + "serviceName": { + "description": "Input/Output [Required]. The service that the service account belongs to. (e.g. cloudbuild.googleapis.com for GCB service accounts)", + "type": "string" + } + }, + "type": "object" + }, "CommerceDatastoreDeepTag": { "description": "The basic message that contains a single decision output of go/deeptagger.", "id": "CommerceDatastoreDeepTag", @@ -24611,6 +24961,35 @@ }, "type": "object" }, + "DrishtiCompressedFeature": { + "description": "Protocol buffer for storing compressed feature.", + "id": "DrishtiCompressedFeature", + "properties": { + "featureName": { + "enum": [ + "UNKNOWN", + "STARBURST_V4", + "RESNETISH_V3" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "inRangeBitstream": { + "description": "in_range_bitstream is the string produced by range coder, while out_of_range_bitstream corresponds to the overflow stream, which is used whenever a quantized value is out of range. See https://cs.corp.google.com/piper///depot/google3/research/vision/piedpiper/brain/python/layers/entropy_models.py?l=225\u0026cl=234825412", + "format": "byte", + "type": "string" + }, + "outOfRangeBitstream": { + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, "DrishtiDenseFeatureData": { "id": "DrishtiDenseFeatureData", "properties": { @@ -24671,6 +25050,9 @@ "description": "A FeatureSetElement stores the features coming from a single group.", "id": "DrishtiFeatureSetDataFeatureSetElement", "properties": { + "compressed": { + "$ref": "DrishtiCompressedFeature" + }, "dense": { "$ref": "DrishtiDenseFeatureData" }, @@ -43855,6 +44237,35 @@ }, "type": "object" }, + "GoogleApiServiceconsumermanagementV1BillingConfig": { + "description": "Describes the billing configuration for a new tenant project.", + "id": "GoogleApiServiceconsumermanagementV1BillingConfig", + "properties": { + "billingAccount": { + "description": "Name of the billing account. For example `billingAccounts/012345-567890-ABCDEF`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleApiServiceconsumermanagementV1PolicyBinding": { + "description": "Translates to IAM Policy bindings (without auditing at this level)", + "id": "GoogleApiServiceconsumermanagementV1PolicyBinding", + "properties": { + "members": { + "description": "Uses the same format as in IAM policy. `member` must include both a prefix and ID. For example, `user:{emailId}`, `serviceAccount:{emailId}`, `group:{emailId}`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role. (https://cloud.google.com/iam/docs/understanding-roles) For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "type": "string" + } + }, + "type": "object" + }, "GoogleAssistantAccessoryV1AudioOutConfig": { "description": "Specifies the desired format for the server to use when it returns `audio_out` messages.", "id": "GoogleAssistantAccessoryV1AudioOutConfig", @@ -98154,11 +98565,6 @@ "oysterId": { "$ref": "GeostoreFeatureIdProto", "description": "Oyster Feature ID of the location." - }, - "singleTopicnessE2": { - "description": "This field is populated for at most one entity. If it is populated, it indicates how confident we are to claim that the page is only about this entity (either it's an official web presence of the entity, or something like a wikipedia page about the entity). For space reasons this is represented as a fixed-point integer with two decimal points precision. Convert it to the interval [0,1] using the following formula: float single_topicness = single_topicness_e2 / 100.f", - "format": "int32", - "type": "integer" } }, "type": "object" @@ -98431,27 +98837,6 @@ "type": "integer" }, "type": "array" - }, - "undermergedMembers": { - "description": "[Experimental code. Do not use ] Entities that webref identified as being the same concept (undermerged).", - "items": { - "$ref": "RepositoryWebrefWebrefMustangAttachmentUndermergedMembers" - }, - "type": "array" - } - }, - "type": "object" - }, - "RepositoryWebrefWebrefMustangAttachmentUndermergedMembers": { - "id": "RepositoryWebrefWebrefMustangAttachmentUndermergedMembers", - "properties": { - "encodedMid": { - "description": "Experimental code, do not use.", - "items": { - "format": "uint64", - "type": "string" - }, - "type": "array" } }, "type": "object" @@ -103276,7 +103661,8 @@ "INFERRED_IMAGE_TYPE_SCHEMA_DOT_ORG", "INFERRED_IMAGE_TYPE_CRAWZALL", "INFERRED_IMAGE_TYPE_OPEN_GRAPH", - "INFERRED_IMAGE_TYPE_NEARDUP_STARBURST_V5" + "INFERRED_IMAGE_TYPE_NEARDUP_STARBURST_V5", + "INFERRED_IMAGE_TYPE_ANCHOR_IMAGE" ], "enumDescriptions": [ "", @@ -103289,6 +103675,7 @@ "", "", "", + "", "" ], "type": "string" @@ -103333,7 +103720,8 @@ "INFERRED_IMAGE_TYPE_SCHEMA_DOT_ORG", "INFERRED_IMAGE_TYPE_CRAWZALL", "INFERRED_IMAGE_TYPE_OPEN_GRAPH", - "INFERRED_IMAGE_TYPE_NEARDUP_STARBURST_V5" + "INFERRED_IMAGE_TYPE_NEARDUP_STARBURST_V5", + "INFERRED_IMAGE_TYPE_ANCHOR_IMAGE" ], "enumDescriptions": [ "", @@ -103346,6 +103734,7 @@ "", "", "", + "", "" ], "type": "string" @@ -109778,7 +110167,7 @@ "id": "UtilStatusProto", "properties": { "canonicalCode": { - "description": "The canonical error code (see codes.proto) that most closely corresponds to this status. May be missing.", + "description": "The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be.", "format": "int32", "type": "integer" }, @@ -110002,6 +110391,8 @@ "SECOND_PASS_POLARIS_RERANKING_EVENT_LEVEL", "SECOND_PASS_POLARIS_WITH_RANKING_CHANGE_EVENT_LEVEL", "GEARHEAD_TOOLTIP_COOLWALK_DASHBOARD_UNAVAILABLE", + "TIMESLICED_SAFE_SELF_UPDATE", + "NORMAL_SELF_UPDATE", "SECOND_PASS_BROAD_INTENT_QUERY_EVENT_LEVEL", "SECOND_PASS_REWEIGHTING_TRIGGERED_EVENT_LEVEL", "GEARHEAD_TOOLTIP_COOLWALK_RAIL_WIDGET", @@ -110016,6 +110407,9 @@ "ZERO_COPY_NOT_SUFFICIENT_EVENT_LEVEL", "ZERO_COPY_ALLOWS_INSTALL_EVENT_LEVEL", "ZERO_COPY_NOT_REQUIRED_EVENT_LEVEL", + "SHOULD_SEE_ICON_XSELL_CLUSTER_LOW_Q_DP_EVENT_LEVEL", + "SHOULD_SEE_SCREENSHOT_XSELL_CLUSTER_LOW_Q_DP_EVENT_LEVEL", + "SHOULD_SEE_RICH_LIST_XSELL_CLUSTER_LOW_Q_DP_EVENT_LEVEL", "EVENT_LEVEL_TEST_CODE_LIMIT", "ENTERTAINMENT_CLUSTER_TRIGGERING_AT_SESSION_LEVEL", "BEST_SELLER_CART_TAG_AT_SESSION_LEVEL", @@ -110531,6 +110925,9 @@ "ZERO_COPY_ALLOWS_INSTALL_SESSION_LEVEL", "ZERO_COPY_NOT_REQUIRED_SESSION_LEVEL", "BOOKS_SEARCH_SERIES_EXPANSION_SESSION_LEVEL", + "SHOULD_SEE_ICON_XSELL_CLUSTER_LOW_Q_DP_SESSION_LEVEL", + "SHOULD_SEE_SCREENSHOT_XSELL_CLUSTER_LOW_Q_DP_SESSION_LEVEL", + "SHOULD_SEE_RICH_LIST_XSELL_CLUSTER_LOW_Q_DP_SESSION_LEVEL", "SESSION_LEVEL_TEST_CODE_LIMIT", "CART_ABANDONMENT_USER_LEVEL", "IN_APP_PRODUCTS_IN_DETAILS_PAGE_USER_LEVEL", @@ -110963,6 +111360,8 @@ "Second pass polaris reranking event level.", "Second pass polaris with ranking change event level.", "Tooltip for unavailable dashboard support for selected navigation app.", + "Test code used when /selfUpdate endpoint last returned self_update_mode = TIMESLICED_SAFE_SELF_UPDATE, indicating that a safe self-update should be attempted.", + "Test code used when /selfUpdate endpoint last returned self_update_mode = NORMAL_SELF_UPDATE, indicating that either no self update is available or a normal self update should be performed.", "Test code for second pass broad intent query event level.", "Test code for second pass reweighting triggered event level.", "Tooltip for notifying user of the rail widget setting.", @@ -110977,6 +111376,9 @@ "Event level test codes for go/zero-copy", "", "", + "Event level test codes for content forward x-sell cluster on low quality details page. Design: go/cf-xsell-dp-design", + "", + "", "", "", "", @@ -111492,6 +111894,9 @@ "", "", "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 codes for content forward x-sell cluster on low quality details page. Design: go/cf-xsell-dp-design", + "", + "", "", "Cart abandonment flow for purchase flow.", "User saw/would have seen the in app products section in App", diff --git a/contentwarehouse/v1/contentwarehouse-gen.go b/contentwarehouse/v1/contentwarehouse-gen.go index 0cbb75fd68e..be070e31cf6 100644 --- a/contentwarehouse/v1/contentwarehouse-gen.go +++ b/contentwarehouse/v1/contentwarehouse-gen.go @@ -20824,6 +20824,10 @@ type AssistantContextAppProviderId struct { // app of the provider. AndroidPackageName string `json:"androidPackageName,omitempty"` + // CastAppId: Unique cast app id that identifies a Cast app of the + // provider. + CastAppId string `json:"castAppId,omitempty"` + // VersionCode: Version code of the application. VersionCode int64 `json:"versionCode,omitempty"` @@ -21930,6 +21934,9 @@ func (s *AssistantDevicesPlatformProtoProvidedData) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type AssistantDevicesPlatformProtoProviderFulfillCapability struct { +} + type AssistantDevicesPlatformProtoProviderOpenCapability struct { ClientOpProperty *AssistantApiClientOpPropertiesProviderOpenClientOpProperty `json:"clientOpProperty,omitempty"` @@ -22089,6 +22096,11 @@ type AssistantDevicesPlatformProtoSupportedDeviceOps struct { MediaStop *AssistantDevicesPlatformProtoMediaStopCapability `json:"mediaStop,omitempty"` + // ProviderFulfill: |provider_fulfill| specifies the support for + // provider.FULFILL client_op, and the corresponding provider_fulfill + // field in assistant.embedded.v1.DeviceOp. + ProviderFulfill *AssistantDevicesPlatformProtoProviderFulfillCapability `json:"providerFulfill,omitempty"` + // ProviderOpen: |provider_open| specifies the support for provider.OPEN // client_op, and the corresponding provider_open field in // assistant.embedded.v1.DeviceOp. @@ -22594,7 +22606,7 @@ func (s *AssistantGroundingRankerDeviceGroundingProviderFeatures) MarshalJSON() return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// AssistantGroundingRankerGroundingProviderFeatures: Next ID: 5 +// AssistantGroundingRankerGroundingProviderFeatures: Next ID: 6 type AssistantGroundingRankerGroundingProviderFeatures struct { ContactGroundingProviderFeatures *AssistantGroundingRankerContactGroundingProviderFeatures `json:"contactGroundingProviderFeatures,omitempty"` @@ -22602,6 +22614,8 @@ type AssistantGroundingRankerGroundingProviderFeatures struct { MediaGroundingProviderFeatures *AssistantGroundingRankerMediaGroundingProviderFeatures `json:"mediaGroundingProviderFeatures,omitempty"` + PodcastGroundingProviderFeatures *AssistantGroundingRankerPodcastGroundingProviderFeatures `json:"podcastGroundingProviderFeatures,omitempty"` + ProviderGroundingProviderFeatures *AssistantGroundingRankerProviderGroundingProviderFeatures `json:"providerGroundingProviderFeatures,omitempty"` // ForceSendFields is a list of field names (e.g. @@ -22920,6 +22934,35 @@ func (s *AssistantGroundingRankerMediaGroundingProviderFeatures) UnmarshalJSON(d return nil } +// AssistantGroundingRankerPodcastGroundingProviderFeatures: Features to +// be extracted from Podcast GP for ranking in HGR. Next ID: 2 +type AssistantGroundingRankerPodcastGroundingProviderFeatures struct { + // IsExclusive: Whether the podcast is exclusive to a provider a not. + IsExclusive bool `json:"isExclusive,omitempty"` + + // ForceSendFields is a list of field names (e.g. "IsExclusive") 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. "IsExclusive") 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 *AssistantGroundingRankerPodcastGroundingProviderFeatures) MarshalJSON() ([]byte, error) { + type NoMethod AssistantGroundingRankerPodcastGroundingProviderFeatures + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // AssistantGroundingRankerProviderGroundingProviderFeatures: Features // to be extracted from Provider GP for ranking in HGR. Next ID: 5 type AssistantGroundingRankerProviderGroundingProviderFeatures struct { @@ -25200,7 +25243,7 @@ func (s *AssistantLogsTargetDeviceLog) MarshalJSON() ([]byte, error) { // AssistantPrefulfillmentRankerPrefulfillmentSignals: Signals to be // used by the Prefulfillment Ranker. Derived from the ParsingSignals // and GroundingSignals carried by the FunctionCall. LINT.IfChange Next -// ID: 47 +// ID: 48 type AssistantPrefulfillmentRankerPrefulfillmentSignals struct { // BindingSetAuis: Assistant User Interaction Score for binding set. BindingSetAuis float64 `json:"bindingSetAuis,omitempty"` @@ -25400,6 +25443,17 @@ type AssistantPrefulfillmentRankerPrefulfillmentSignals struct { // for the suppression for intents lower in the list. SearchDispatch string `json:"searchDispatch,omitempty"` + // SubIntentType: sub_intent_type differentiates between intents that + // share the top level intent name. For eg: for + // TV_FALLBACK_SEARCH_INTENT, the top level intent name must be + // "Find_media" and the media_object argument within it must be of type + // "Media_unspecified". + // + // Possible values: + // "SUB_INTENT_TYPE_UNKNOWN" + // "SUB_INTENT_TYPE_TV_FALLBACK_SEARCH_INTENT" + SubIntentType string `json:"subIntentType,omitempty"` + // TopHypothesisConfidence: Average of per-word confidence for top // speech recognition hypothesis. The value is from // RecognizerHypothesisLog: @@ -28099,6 +28153,8 @@ type ClassifierPornQueryMultiLabelClassifierOutput struct { Medical *ClassifierPornQueryClassifierOutput `json:"medical,omitempty"` + Minor *ClassifierPornQueryClassifierOutput `json:"minor,omitempty"` + Offensive *ClassifierPornQueryClassifierOutput `json:"offensive,omitempty"` Porn *ClassifierPornQueryClassifierOutput `json:"porn,omitempty"` @@ -28404,6 +28460,496 @@ func (s *ClassifierPornSiteViolenceStats) UnmarshalJSON(data []byte) error { return nil } +// CloudAiPlatformTenantresourceCloudSqlInstanceConfig: The identity to +// configure a CloudSQL instance provisioned via SLM Terraform. +type CloudAiPlatformTenantresourceCloudSqlInstanceConfig struct { + // CloudSqlInstanceConnectionName: Output only. The CloudSQL instance + // connection name. + CloudSqlInstanceConnectionName string `json:"cloudSqlInstanceConnectionName,omitempty"` + + // CloudSqlInstanceName: Input/Output [Optional]. The CloudSQL instance + // name within SLM instance. If not set, a random UUIC will be generated + // as instance name. + CloudSqlInstanceName string `json:"cloudSqlInstanceName,omitempty"` + + // KmsKeyReference: Input [Optional]. The KMS key name or the KMS grant + // name used for CMEK encryption. Only set this field when provisioning + // new CloudSQL instances. For existing CloudSQL instances, this field + // will be ignored because CMEK re-encryption is not supported. + KmsKeyReference string `json:"kmsKeyReference,omitempty"` + + // MdbRolesForCorpAccess: Input [Optional]. MDB roles for corp access to + // CloudSQL instance. + MdbRolesForCorpAccess []string `json:"mdbRolesForCorpAccess,omitempty"` + + // SlmInstanceName: Output only. The SLM instance's full resource name. + SlmInstanceName string `json:"slmInstanceName,omitempty"` + + // SlmInstanceTemplate: Input [Required]. The SLM instance template to + // provision CloudSQL. + SlmInstanceTemplate string `json:"slmInstanceTemplate,omitempty"` + + // SlmInstanceType: Input [Required]. The SLM instance type to provision + // CloudSQL. + SlmInstanceType string `json:"slmInstanceType,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "CloudSqlInstanceConnectionName") 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. + // "CloudSqlInstanceConnectionName") 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 *CloudAiPlatformTenantresourceCloudSqlInstanceConfig) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceCloudSqlInstanceConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudAiPlatformTenantresourceGcsBucketConfig: The identity to +// configure a GCS bucket. +type CloudAiPlatformTenantresourceGcsBucketConfig struct { + Admins []string `json:"admins,omitempty"` + + // BucketName: Input/Output [Optional]. The name of a GCS bucket with + // max length of 63 chars. If not set, a random UUID will be generated + // as bucket name. + BucketName string `json:"bucketName,omitempty"` + + // EntityName: Input/Output [Optional]. Only needed for per-entity + // tenant GCP resources. During Deprovision API, the on-demand deletion + // will only cover the tenant GCP resources with the specified entity + // name. + EntityName string `json:"entityName,omitempty"` + + // KmsKeyReference: Input/Output [Optional]. The KMS key name or the KMS + // grant name used for CMEK encryption. Only set this field when + // provisioning new GCS bucket. For existing GCS bucket, this field will + // be ignored because CMEK re-encryption is not supported. + KmsKeyReference string `json:"kmsKeyReference,omitempty"` + + // TtlDays: Input/Output [Optional]. Only needed when the content in + // bucket need to be garbage collected within some amount of days. + TtlDays int64 `json:"ttlDays,omitempty"` + + // Viewers: Input/Output [Required]. IAM roles (viewer/admin) put on the + // bucket. + Viewers []string `json:"viewers,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Admins") 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. "Admins") 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 *CloudAiPlatformTenantresourceGcsBucketConfig) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceGcsBucketConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudAiPlatformTenantresourceIamPolicyBinding: The dynamic IAM +// bindings to be granted after tenant projects are created. +type CloudAiPlatformTenantresourceIamPolicyBinding struct { + // Members: Input/Output [Required]. The member service accounts with + // the roles above. Note: placeholders are same as the resource above. + Members []string `json:"members,omitempty"` + + // Resource: Input/Output [Required]. The resource name that will be + // accessed by members, which also depends on resource_type. Note: + // placeholders are supported in resource names. For example, ${tpn} + // will be used when the tenant project number is not ready. + Resource string `json:"resource,omitempty"` + + // ResourceType: Input/Output [Required]. Specifies the type of resource + // that will be accessed by members. + // + // Possible values: + // "RESOURCE_TYPE_UNSPECIFIED" + // "PROJECT" - The value of resource field is the ID or number of a + // project. Format is + // "SERVICE_ACCOUNT" - The value of resource field is the resource + // name of a service account. Format is projects//serviceAccounts/ + // "GCS_BUCKET" - The value of resource field is the name of a GCS + // bucket (not its resource name). Format is . + // "SERVICE_CONSUMER" - The value of resource field is the resource + // name of a service consumer. Format is services//consumers/ + // "AR_REPO" - The value of the resource field is the AR Image Uri + // which identifies an AR REPO. Allowed formats are: /// ///: ///@ + ResourceType string `json:"resourceType,omitempty"` + + // Role: Input/Output [Required]. The role for members below. + Role string `json:"role,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Members") 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. "Members") 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 *CloudAiPlatformTenantresourceIamPolicyBinding) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceIamPolicyBinding + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudAiPlatformTenantresourceInfraSpannerConfig: The configuration +// for a spanner database provisioning. Next ID: 8 +type CloudAiPlatformTenantresourceInfraSpannerConfig struct { + // CreateDatabaseOptions: Input [Optional]. The options to create a + // spanner database. Note: give the right options to ensure the right + // KMS key access audit logging and AxT logging in expected logging + // category. + CreateDatabaseOptions *CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions `json:"createDatabaseOptions,omitempty"` + + // KmsKeyReference: Input [Optional]. The KMS key name or the KMS grant + // name used for CMEK encryption. Only set this field when provisioning + // new Infra Spanner databases. For existing Infra Spanner databases, + // this field will be ignored because CMEK re-encryption is not + // supported. For example, projects//locations//keyRings//cryptoKeys/ + KmsKeyReference string `json:"kmsKeyReference,omitempty"` + + // SdlBundlePath: Input [Required]. The file path to the spanner SDL + // bundle. + SdlBundlePath string `json:"sdlBundlePath,omitempty"` + + // SpannerBorgServiceAccount: Input [Optional]. The spanner borg service + // account for delegating the kms key to. For example, + // spanner-infra-cmek-nonprod@system.gserviceaccount.com, for the + // nonprod universe. + SpannerBorgServiceAccount string `json:"spannerBorgServiceAccount,omitempty"` + + SpannerLocalNamePrefix string `json:"spannerLocalNamePrefix,omitempty"` + + SpannerNamespace string `json:"spannerNamespace,omitempty"` + + // SpannerUniverse: Input [Required]. Every database in Spanner can be + // identified by the following path name: /span//: + SpannerUniverse string `json:"spannerUniverse,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "CreateDatabaseOptions") 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. "CreateDatabaseOptions") 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 *CloudAiPlatformTenantresourceInfraSpannerConfig) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceInfraSpannerConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions: +// The options to create a spanner database. KMS key access audit +// logging and AxT logging will be associated with the given resource +// name, resource type and service name. Please ensure to give right +// options to enable correct audit logging and AxT logging. +type CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions struct { + // CmekCloudResourceName: The cloud resource name for the CMEK + // encryption. For example, projects//locations/ + CmekCloudResourceName string `json:"cmekCloudResourceName,omitempty"` + + // CmekCloudResourceType: The cloud resource type for the CMEK + // encryption. For example, contentwarehouse.googleapis.com/Location + CmekCloudResourceType string `json:"cmekCloudResourceType,omitempty"` + + // CmekServiceName: The service name for the CMEK encryption. For + // example, contentwarehouse.googleapis.com + CmekServiceName string `json:"cmekServiceName,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "CmekCloudResourceName") 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. "CmekCloudResourceName") 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 *CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudAiPlatformTenantresourceServiceAccountIdentity: The identity to +// configure a service account. +type CloudAiPlatformTenantresourceServiceAccountIdentity struct { + // ServiceAccountEmail: Output only. The service account email that has + // been created. + ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"` + + // Tag: Input/Output [Optional]. The tag that configures the service + // account, as defined in + // google3/configs/production/cdpush/acl-zanzibar-cloud-prod/activation_g + // rants/activation_grants.gcl. Note: The default P4 service account has + // the empty tag. + Tag string `json:"tag,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ServiceAccountEmail") + // 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. "ServiceAccountEmail") 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 *CloudAiPlatformTenantresourceServiceAccountIdentity) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceServiceAccountIdentity + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudAiPlatformTenantresourceTenantProjectConfig: The identity to +// configure a tenant project. +type CloudAiPlatformTenantresourceTenantProjectConfig struct { + // BillingConfig: Input/Output [Required]. The billing account + // properties to create the tenant project. + BillingConfig *GoogleApiServiceconsumermanagementV1BillingConfig `json:"billingConfig,omitempty"` + + // Folder: Input/Output [Required]. The folder that holds tenant + // projects and folder-level permissions will be automatically granted + // to all tenant projects under the folder. Note: the valid folder + // format is `folders/{folder_number}`. + Folder string `json:"folder,omitempty"` + + // PolicyBindings: Input/Output [Required]. The policy bindings that are + // applied to the tenant project during creation. At least one binding + // must have the role `roles/owner` with either `user` or `group` type. + PolicyBindings []*GoogleApiServiceconsumermanagementV1PolicyBinding `json:"policyBindings,omitempty"` + + // Services: Input/Output [Required]. The API services that are enabled + // on the tenant project during creation. + Services []string `json:"services,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BillingConfig") 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. "BillingConfig") 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 *CloudAiPlatformTenantresourceTenantProjectConfig) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceTenantProjectConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudAiPlatformTenantresourceTenantProjectResource: The tenant +// project and tenant resources. Next ID: 10 +type CloudAiPlatformTenantresourceTenantProjectResource struct { + // CloudSqlInstances: The CloudSQL instances that are provisioned under + // the tenant project. + CloudSqlInstances []*CloudAiPlatformTenantresourceCloudSqlInstanceConfig `json:"cloudSqlInstances,omitempty"` + + // GcsBuckets: The GCS buckets that are provisioned under the tenant + // project. + GcsBuckets []*CloudAiPlatformTenantresourceGcsBucketConfig `json:"gcsBuckets,omitempty"` + + // IamPolicyBindings: The dynamic IAM bindings that are granted under + // the tenant project. Note: this should only add new bindings to the + // project if they don't exist and the existing bindings won't be + // affected. + IamPolicyBindings []*CloudAiPlatformTenantresourceIamPolicyBinding `json:"iamPolicyBindings,omitempty"` + + // InfraSpannerConfigs: The Infra Spanner databases that are provisioned + // under the tenant project. Note: this is an experimental feature. + InfraSpannerConfigs []*CloudAiPlatformTenantresourceInfraSpannerConfig `json:"infraSpannerConfigs,omitempty"` + + // Tag: Input/Output [Required]. The tag that uniquely identifies a + // tenant project within a tenancy unit. Note: for the same tenant + // project tag, all tenant manager operations should be idempotent. + Tag string `json:"tag,omitempty"` + + // TenantProjectConfig: The configurations of a tenant project. + TenantProjectConfig *CloudAiPlatformTenantresourceTenantProjectConfig `json:"tenantProjectConfig,omitempty"` + + // TenantProjectId: Output only. The tenant project ID that has been + // created. + TenantProjectId string `json:"tenantProjectId,omitempty"` + + // TenantProjectNumber: Output only. The tenant project number that has + // been created. + TenantProjectNumber int64 `json:"tenantProjectNumber,omitempty,string"` + + // TenantServiceAccounts: The service account identities (or enabled API + // service's P4SA) that are expclicitly created under the tenant project + // (before JIT provisioning during enabled API services). + TenantServiceAccounts []*CloudAiPlatformTenantresourceTenantServiceAccountIdentity `json:"tenantServiceAccounts,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CloudSqlInstances") + // 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. "CloudSqlInstances") 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 *CloudAiPlatformTenantresourceTenantProjectResource) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceTenantProjectResource + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudAiPlatformTenantresourceTenantResource: A collection of tenant +// resources. +type CloudAiPlatformTenantresourceTenantResource struct { + // P4ServiceAccounts: A list of P4 service accounts (go/p4sa) to + // provision or deprovision. + P4ServiceAccounts []*CloudAiPlatformTenantresourceServiceAccountIdentity `json:"p4ServiceAccounts,omitempty"` + + // TenantProjectResources: A list of tenant projects and tenant + // resources to provision or deprovision. + TenantProjectResources []*CloudAiPlatformTenantresourceTenantProjectResource `json:"tenantProjectResources,omitempty"` + + // ForceSendFields is a list of field names (e.g. "P4ServiceAccounts") + // 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. "P4ServiceAccounts") 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 *CloudAiPlatformTenantresourceTenantResource) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceTenantResource + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// CloudAiPlatformTenantresourceTenantServiceAccountIdentity: The +// identity of service accounts that have been explicitly created under +// tenant projects. +type CloudAiPlatformTenantresourceTenantServiceAccountIdentity struct { + // ServiceAccountEmail: Output only. The email address of the generated + // service account. + ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"` + + // ServiceName: Input/Output [Required]. The service that the service + // account belongs to. (e.g. cloudbuild.googleapis.com for GCB service + // accounts) + ServiceName string `json:"serviceName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ServiceAccountEmail") + // 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. "ServiceAccountEmail") 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 *CloudAiPlatformTenantresourceTenantServiceAccountIdentity) MarshalJSON() ([]byte, error) { + type NoMethod CloudAiPlatformTenantresourceTenantServiceAccountIdentity + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // CommerceDatastoreDeepTag: The basic message that contains a single // decision output of go/deeptagger. type CommerceDatastoreDeepTag struct { @@ -32365,6 +32911,46 @@ func (s *DocPropertiesBadTitleInfo) UnmarshalJSON(data []byte) error { return nil } +// DrishtiCompressedFeature: Protocol buffer for storing compressed +// feature. +type DrishtiCompressedFeature struct { + // Possible values: + // "UNKNOWN" + // "STARBURST_V4" + // "RESNETISH_V3" + FeatureName string `json:"featureName,omitempty"` + + // InRangeBitstream: in_range_bitstream is the string produced by range + // coder, while out_of_range_bitstream corresponds to the overflow + // stream, which is used whenever a quantized value is out of range. See + // https://cs.corp.google.com/piper///depot/google3/research/vision/piedpiper/brain/python/layers/entropy_models.py?l=225&cl=234825412 + InRangeBitstream string `json:"inRangeBitstream,omitempty"` + + OutOfRangeBitstream string `json:"outOfRangeBitstream,omitempty"` + + // ForceSendFields is a list of field names (e.g. "FeatureName") 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. "FeatureName") 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 *DrishtiCompressedFeature) MarshalJSON() ([]byte, error) { + type NoMethod DrishtiCompressedFeature + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type DrishtiDenseFeatureData struct { // Extra: If extra is present it must be of the same length as value. Extra []*DrishtiFeatureExtra `json:"extra,omitempty"` @@ -32442,6 +33028,8 @@ func (s *DrishtiFeatureSetData) MarshalJSON() ([]byte, error) { // DrishtiFeatureSetDataFeatureSetElement: A FeatureSetElement stores // the features coming from a single group. type DrishtiFeatureSetDataFeatureSetElement struct { + Compressed *DrishtiCompressedFeature `json:"compressed,omitempty"` + Dense *DrishtiDenseFeatureData `json:"dense,omitempty"` Indexed *DrishtiIndexedFeatureData `json:"indexed,omitempty"` @@ -32458,7 +33046,7 @@ type DrishtiFeatureSetDataFeatureSetElement struct { Sparse *DrishtiSparseFeatureData `json:"sparse,omitempty"` - // ForceSendFields is a list of field names (e.g. "Dense") to + // ForceSendFields is a list of field names (e.g. "Compressed") 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 @@ -32466,8 +33054,8 @@ type DrishtiFeatureSetDataFeatureSetElement struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Dense") to include in API - // requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Compressed") 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. @@ -53832,6 +54420,72 @@ func (s *GoodocWordAlternatesAlternate) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleApiServiceconsumermanagementV1BillingConfig: Describes the +// billing configuration for a new tenant project. +type GoogleApiServiceconsumermanagementV1BillingConfig struct { + // BillingAccount: Name of the billing account. For example + // `billingAccounts/012345-567890-ABCDEF`. + BillingAccount string `json:"billingAccount,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BillingAccount") 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. "BillingAccount") 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 *GoogleApiServiceconsumermanagementV1BillingConfig) MarshalJSON() ([]byte, error) { + type NoMethod GoogleApiServiceconsumermanagementV1BillingConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleApiServiceconsumermanagementV1PolicyBinding: Translates to IAM +// Policy bindings (without auditing at this level) +type GoogleApiServiceconsumermanagementV1PolicyBinding struct { + // Members: Uses the same format as in IAM policy. `member` must include + // both a prefix and ID. For example, `user:{emailId}`, + // `serviceAccount:{emailId}`, `group:{emailId}`. + Members []string `json:"members,omitempty"` + + // Role: Role. (https://cloud.google.com/iam/docs/understanding-roles) + // For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + Role string `json:"role,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Members") 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. "Members") 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 *GoogleApiServiceconsumermanagementV1PolicyBinding) MarshalJSON() ([]byte, error) { + type NoMethod GoogleApiServiceconsumermanagementV1PolicyBinding + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleAssistantAccessoryV1AudioOutConfig: Specifies the desired // format for the server to use when it returns `audio_out` messages. type GoogleAssistantAccessoryV1AudioOutConfig struct { @@ -123452,16 +124106,6 @@ type RepositoryWebrefWebrefAttachmentMetadata struct { // OysterId: Oyster Feature ID of the location. OysterId *GeostoreFeatureIdProto `json:"oysterId,omitempty"` - // SingleTopicnessE2: This field is populated for at most one entity. If - // it is populated, it indicates how confident we are to claim that the - // page is only about this entity (either it's an official web presence - // of the entity, or something like a wikipedia page about the entity). - // For space reasons this is represented as a fixed-point integer with - // two decimal points precision. Convert it to the interval [0,1] using - // the following formula: float single_topicness = single_topicness_e2 / - // 100.f - SingleTopicnessE2 int64 `json:"singleTopicnessE2,omitempty"` - // ForceSendFields is a list of field names (e.g. "FeatureType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -123903,10 +124547,6 @@ type RepositoryWebrefWebrefMustangAttachment struct { // unbound_intent_mid. UnboundIntentScoreE2 []int64 `json:"unboundIntentScoreE2,omitempty"` - // UndermergedMembers: [Experimental code. Do not use ] Entities that - // webref identified as being the same concept (undermerged). - UndermergedMembers []*RepositoryWebrefWebrefMustangAttachmentUndermergedMembers `json:"undermergedMembers,omitempty"` - // ForceSendFields is a list of field names (e.g. // "CategoryConfidenceE2") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API @@ -123932,33 +124572,6 @@ func (s *RepositoryWebrefWebrefMustangAttachment) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -type RepositoryWebrefWebrefMustangAttachmentUndermergedMembers struct { - // EncodedMid: Experimental code, do not use. - EncodedMid googleapi.Uint64s `json:"encodedMid,omitempty"` - - // ForceSendFields is a list of field names (e.g. "EncodedMid") 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. "EncodedMid") 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 *RepositoryWebrefWebrefMustangAttachmentUndermergedMembers) MarshalJSON() ([]byte, error) { - type NoMethod RepositoryWebrefWebrefMustangAttachmentUndermergedMembers - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // RepositoryWebrefWebrefOutlinkInfo: Information about the outlinks for // one specific target URL, from a given annotated document. Next // available tag: 7 @@ -130324,6 +130937,7 @@ type ShoppingWebentityShoppingAnnotationInferredImage struct { // "INFERRED_IMAGE_TYPE_CRAWZALL" // "INFERRED_IMAGE_TYPE_OPEN_GRAPH" // "INFERRED_IMAGE_TYPE_NEARDUP_STARBURST_V5" + // "INFERRED_IMAGE_TYPE_ANCHOR_IMAGE" InferredImageType string `json:"inferredImageType,omitempty"` // NeardupInfo: This field will only be populated if the inferred image @@ -130388,6 +131002,7 @@ type ShoppingWebentityShoppingAnnotationInferredImageNeardupInfo struct { // "INFERRED_IMAGE_TYPE_CRAWZALL" // "INFERRED_IMAGE_TYPE_OPEN_GRAPH" // "INFERRED_IMAGE_TYPE_NEARDUP_STARBURST_V5" + // "INFERRED_IMAGE_TYPE_ANCHOR_IMAGE" InferredImageType string `json:"inferredImageType,omitempty"` // ForceSendFields is a list of field names (e.g. "InferredImageSource") @@ -139851,7 +140466,8 @@ func (s *UrlPoisoningData) MarshalJSON() ([]byte, error) { // UtilStatusProto: Wire-format for a Status object type UtilStatusProto struct { // CanonicalCode: The canonical error code (see codes.proto) that most - // closely corresponds to this status. May be missing. + // closely corresponds to this status. This may be missing, and in the + // common case of the generic space, it definitely will be. CanonicalCode int64 `json:"canonicalCode,omitempty"` // Code: Numeric code drawn from the space specified below. Often, this @@ -140160,6 +140776,14 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // polaris with ranking change event level. // "GEARHEAD_TOOLTIP_COOLWALK_DASHBOARD_UNAVAILABLE" - Tooltip for // unavailable dashboard support for selected navigation app. + // "TIMESLICED_SAFE_SELF_UPDATE" - Test code used when /selfUpdate + // endpoint last returned self_update_mode = + // TIMESLICED_SAFE_SELF_UPDATE, indicating that a safe self-update + // should be attempted. + // "NORMAL_SELF_UPDATE" - Test code used when /selfUpdate endpoint + // last returned self_update_mode = NORMAL_SELF_UPDATE, indicating that + // either no self update is available or a normal self update should be + // performed. // "SECOND_PASS_BROAD_INTENT_QUERY_EVENT_LEVEL" - Test code for second // pass broad intent query event level. // "SECOND_PASS_REWEIGHTING_TRIGGERED_EVENT_LEVEL" - Test code for @@ -140193,6 +140817,11 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // go/zero-copy // "ZERO_COPY_ALLOWS_INSTALL_EVENT_LEVEL" // "ZERO_COPY_NOT_REQUIRED_EVENT_LEVEL" + // "SHOULD_SEE_ICON_XSELL_CLUSTER_LOW_Q_DP_EVENT_LEVEL" - Event level + // test codes for content forward x-sell cluster on low quality details + // page. Design: go/cf-xsell-dp-design + // "SHOULD_SEE_SCREENSHOT_XSELL_CLUSTER_LOW_Q_DP_EVENT_LEVEL" + // "SHOULD_SEE_RICH_LIST_XSELL_CLUSTER_LOW_Q_DP_EVENT_LEVEL" // "EVENT_LEVEL_TEST_CODE_LIMIT" // "ENTERTAINMENT_CLUSTER_TRIGGERING_AT_SESSION_LEVEL" // "BEST_SELLER_CART_TAG_AT_SESSION_LEVEL" @@ -140976,6 +141605,11 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "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. + // "SHOULD_SEE_ICON_XSELL_CLUSTER_LOW_Q_DP_SESSION_LEVEL" - Session + // level test codes for content forward x-sell cluster on low quality + // details page. Design: go/cf-xsell-dp-design + // "SHOULD_SEE_SCREENSHOT_XSELL_CLUSTER_LOW_Q_DP_SESSION_LEVEL" + // "SHOULD_SEE_RICH_LIST_XSELL_CLUSTER_LOW_Q_DP_SESSION_LEVEL" // "SESSION_LEVEL_TEST_CODE_LIMIT" // "CART_ABANDONMENT_USER_LEVEL" - Cart abandonment flow for purchase // flow. diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index 1d756604ebe..9a38505bd07 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -2671,7 +2671,7 @@ } } }, - "revision": "20230309", + "revision": "20230410", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -5401,7 +5401,7 @@ "id": "ResizeNodeGroupRequest", "properties": { "gracefulDecommissionTimeout": { - "description": "Optional. Timeout for graceful YARN decomissioning. Graceful decommissioning (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/scaling-clusters#graceful_decommissioning) allows the removal of nodes from the Compute Engine node group without interrupting jobs in progress. This timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and higher.", + "description": "Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/scaling-clusters#graceful_decommissioning) allows the removal of nodes from the Compute Engine node group without interrupting jobs in progress. This timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and higher.", "format": "google-duration", "type": "string" }, @@ -5890,7 +5890,7 @@ "id": "SparkStandaloneAutoscalingConfig", "properties": { "gracefulDecommissionTimeout": { - "description": "Required. Timeout for Spark graceful decommissioning of spark workers. Specifies the duration to wait for spark worker to complete spark decomissioning tasks before forcefully removing workers. Only applicable to downscaling operations.Bounds: 0s, 1d.", + "description": "Required. Timeout for Spark graceful decommissioning of spark workers. Specifies the duration to wait for spark worker to complete spark decommissioning tasks before forcefully removing workers. Only applicable to downscaling operations.Bounds: 0s, 1d.", "format": "google-duration", "type": "string" }, diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index b3bb1b55a8e..91037e4a361 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -4777,7 +4777,7 @@ func (s *ReservationAffinity) MarshalJSON() ([]byte, error) { // ResizeNodeGroupRequest: A request to resize a node group. type ResizeNodeGroupRequest struct { // GracefulDecommissionTimeout: Optional. Timeout for graceful YARN - // decomissioning. Graceful decommissioning + // decommissioning. Graceful decommissioning // (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/scaling-clusters#graceful_decommissioning) // allows the removal of nodes from the Compute Engine node group // without interrupting jobs in progress. This timeout specifies how @@ -5485,9 +5485,9 @@ func (s *SparkSqlJob) MarshalJSON() ([]byte, error) { type SparkStandaloneAutoscalingConfig struct { // GracefulDecommissionTimeout: Required. Timeout for Spark graceful // decommissioning of spark workers. Specifies the duration to wait for - // spark worker to complete spark decomissioning tasks before forcefully - // removing workers. Only applicable to downscaling operations.Bounds: - // 0s, 1d. + // spark worker to complete spark decommissioning tasks before + // forcefully removing workers. Only applicable to downscaling + // operations.Bounds: 0s, 1d. GracefulDecommissionTimeout string `json:"gracefulDecommissionTimeout,omitempty"` // ScaleDownFactor: Required. Fraction of required executors to remove diff --git a/discoveryengine/v1alpha/discoveryengine-api.json b/discoveryengine/v1alpha/discoveryengine-api.json index 9fecbcf4294..1c9bb182086 100644 --- a/discoveryengine/v1alpha/discoveryengine-api.json +++ b/discoveryengine/v1alpha/discoveryengine-api.json @@ -1406,7 +1406,7 @@ } } }, - "revision": "20230329", + "revision": "20230412", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -1467,6 +1467,22 @@ "description": "A message describing the error.", "type": "string" }, + "requestPayload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The API request payload, represented as a protocol buffer. Most API request types are supported—for example: * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest` * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest`", + "type": "object" + }, + "responsePayload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The API response payload, represented as a protocol buffer. This is used to log some \"soft errors\", where the response is valid but we consider there are some quality issues like unjoined events. The following API responses are supported, and no PII is included: * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent`", + "type": "object" + }, "serviceContext": { "$ref": "GoogleCloudDiscoveryengineLoggingServiceContext", "description": "The service context in which this error has occurred." diff --git a/discoveryengine/v1alpha/discoveryengine-gen.go b/discoveryengine/v1alpha/discoveryengine-gen.go index ac4fc569101..9a174bed80e 100644 --- a/discoveryengine/v1alpha/discoveryengine-gen.go +++ b/discoveryengine/v1alpha/discoveryengine-gen.go @@ -527,6 +527,27 @@ type GoogleCloudDiscoveryengineLoggingErrorLog struct { // Message: A message describing the error. Message string `json:"message,omitempty"` + // RequestPayload: The API request payload, represented as a protocol + // buffer. Most API request types are supported—for example: * + // `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentServ + // ice.CreateDocumentRequest` * + // `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventSer + // vice.WriteUserEventRequest` + RequestPayload googleapi.RawMessage `json:"requestPayload,omitempty"` + + // ResponsePayload: The API response payload, represented as a protocol + // buffer. This is used to log some "soft errors", where the response is + // valid but we consider there are some quality issues like unjoined + // events. The following API responses are supported, and no PII is + // included: * + // `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` + // * + // `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` + // * + // `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEven + // t` + ResponsePayload googleapi.RawMessage `json:"responsePayload,omitempty"` + // ServiceContext: The service context in which this error has occurred. ServiceContext *GoogleCloudDiscoveryengineLoggingServiceContext `json:"serviceContext,omitempty"` diff --git a/discoveryengine/v1beta/discoveryengine-api.json b/discoveryengine/v1beta/discoveryengine-api.json index ce7e8d3af3c..0f5f4bf36db 100644 --- a/discoveryengine/v1beta/discoveryengine-api.json +++ b/discoveryengine/v1beta/discoveryengine-api.json @@ -1406,7 +1406,7 @@ } } }, - "revision": "20230329", + "revision": "20230412", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -1467,6 +1467,22 @@ "description": "A message describing the error.", "type": "string" }, + "requestPayload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The API request payload, represented as a protocol buffer. Most API request types are supported—for example: * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest` * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest`", + "type": "object" + }, + "responsePayload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The API response payload, represented as a protocol buffer. This is used to log some \"soft errors\", where the response is valid but we consider there are some quality issues like unjoined events. The following API responses are supported, and no PII is included: * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent`", + "type": "object" + }, "serviceContext": { "$ref": "GoogleCloudDiscoveryengineLoggingServiceContext", "description": "The service context in which this error has occurred." diff --git a/discoveryengine/v1beta/discoveryengine-gen.go b/discoveryengine/v1beta/discoveryengine-gen.go index 94d840dfd06..a5d5d8f1ac1 100644 --- a/discoveryengine/v1beta/discoveryengine-gen.go +++ b/discoveryengine/v1beta/discoveryengine-gen.go @@ -527,6 +527,27 @@ type GoogleCloudDiscoveryengineLoggingErrorLog struct { // Message: A message describing the error. Message string `json:"message,omitempty"` + // RequestPayload: The API request payload, represented as a protocol + // buffer. Most API request types are supported—for example: * + // `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentServ + // ice.CreateDocumentRequest` * + // `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventSer + // vice.WriteUserEventRequest` + RequestPayload googleapi.RawMessage `json:"requestPayload,omitempty"` + + // ResponsePayload: The API response payload, represented as a protocol + // buffer. This is used to log some "soft errors", where the response is + // valid but we consider there are some quality issues like unjoined + // events. The following API responses are supported, and no PII is + // included: * + // `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` + // * + // `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` + // * + // `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEven + // t` + ResponsePayload googleapi.RawMessage `json:"responsePayload,omitempty"` + // ServiceContext: The service context in which this error has occurred. ServiceContext *GoogleCloudDiscoveryengineLoggingServiceContext `json:"serviceContext,omitempty"` diff --git a/osconfig/v1/osconfig-api.json b/osconfig/v1/osconfig-api.json index a18550b750b..f66b7a40ef9 100644 --- a/osconfig/v1/osconfig-api.json +++ b/osconfig/v1/osconfig-api.json @@ -1000,7 +1000,7 @@ } } }, - "revision": "20221218", + "revision": "20230409", "rootUrl": "https://osconfig.googleapis.com/", "schemas": { "AptSettings": { @@ -3025,7 +3025,7 @@ "type": "object" }, "PatchJob": { - "description": "A high level representation of a patch job that is either in progress or has completed. Instance details are not included in the job. To paginate through instance details, use ListPatchJobInstanceDetails. For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).", + "description": "A high level representation of a patch job that is either in progress or has completed. Instance details are not included in the job. To paginate through instance details, use `ListPatchJobInstanceDetails`. For more information about patch jobs, see [Creating patch jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job).", "id": "PatchJob", "properties": { "createTime": { diff --git a/osconfig/v1/osconfig-gen.go b/osconfig/v1/osconfig-gen.go index 83b5152c9a8..013e6b65543 100644 --- a/osconfig/v1/osconfig-gen.go +++ b/osconfig/v1/osconfig-gen.go @@ -3526,7 +3526,7 @@ func (s *PatchInstanceFilterGroupLabel) MarshalJSON() ([]byte, error) { // PatchJob: A high level representation of a patch job that is either // in progress or has completed. Instance details are not included in // the job. To paginate through instance details, use -// ListPatchJobInstanceDetails. For more information about patch jobs, +// `ListPatchJobInstanceDetails`. For more information about patch jobs, // see Creating patch jobs // (https://cloud.google.com/compute/docs/os-patch-management/create-patch-job). type PatchJob struct { diff --git a/run/v1/run-api.json b/run/v1/run-api.json index beb3f3d8a0f..158009b060f 100644 --- a/run/v1/run-api.json +++ b/run/v1/run-api.json @@ -2289,7 +2289,7 @@ } } }, - "revision": "20230402", + "revision": "20230409", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -2620,6 +2620,31 @@ }, "type": "object" }, + "ContainerOverride": { + "description": "Per container override specification.", + "id": "ContainerOverride", + "properties": { + "args": { + "description": "Arguments to the entrypoint. Will replace existing args for override.", + "items": { + "type": "string" + }, + "type": "array" + }, + "env": { + "description": "List of environment variables to set in the container. Will be merged with existing env for override.", + "items": { + "$ref": "EnvVar" + }, + "type": "array" + }, + "name": { + "description": "The name of the container specified as a DNS_LABEL.", + "type": "string" + } + }, + "type": "object" + }, "ContainerPort": { "description": "ContainerPort represents a network port in a single container.", "id": "ContainerPort", @@ -3543,7 +3568,7 @@ "additionalProperties": { "type": "string" }, - "description": "Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution. Execution. More info: https://kubernetes.io/docs/user-guide/annotations", + "description": "Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision. * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution. Execution. More info: https://kubernetes.io/docs/user-guide/annotations", "type": "object" }, "clusterName": { @@ -3618,6 +3643,30 @@ }, "type": "object" }, + "Overrides": { + "description": "RunJob Overrides that contains Execution fields to be overridden on the go.", + "id": "Overrides", + "properties": { + "containerOverrides": { + "description": "Per container override specification.", + "items": { + "$ref": "ContainerOverride" + }, + "type": "array" + }, + "taskCount": { + "description": "The desired number of tasks the execution should run. Will replace existing task_count value.", + "format": "int32", + "type": "integer" + }, + "timeoutSeconds": { + "description": "Duration in seconds the task may be active before the system will actively try to mark it failed and kill associated containers. Will replace existing timeout_seconds value.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "OwnerReference": { "description": "This is not supported or used by Cloud Run.", "id": "OwnerReference", @@ -3976,7 +4025,12 @@ "RunJobRequest": { "description": "Request message for creating a new execution of a job.", "id": "RunJobRequest", - "properties": {}, + "properties": { + "overrides": { + "$ref": "Overrides", + "description": "Optional. Overrides specification for a given execution of a job. If provided, overrides will be applied to update the execution or task spec." + } + }, "type": "object" }, "SecretEnvSource": { diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index 077a859409b..857e7089701 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -1013,6 +1013,42 @@ func (s *Container) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ContainerOverride: Per container override specification. +type ContainerOverride struct { + // Args: Arguments to the entrypoint. Will replace existing args for + // override. + Args []string `json:"args,omitempty"` + + // Env: List of environment variables to set in the container. Will be + // merged with existing env for override. + Env []*EnvVar `json:"env,omitempty"` + + // Name: The name of the container specified as a DNS_LABEL. + Name string `json:"name,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Args") 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. "Args") 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 *ContainerOverride) MarshalJSON() ([]byte, error) { + type NoMethod ContainerOverride + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ContainerPort: ContainerPort represents a network port in a single // container. type ContainerPort struct { @@ -2619,6 +2655,7 @@ type ObjectMeta struct { // `run.googleapis.com/binary-authorization`: Service, Job, Execution. * // `run.googleapis.com/client-name`: All resources. * // `run.googleapis.com/cloudsql-instances`: Revision, Execution. * + // `run.googleapis.com/container-dependencies`: Revision. * // `run.googleapis.com/cpu-throttling`: Revision. * // `run.googleapis.com/custom-audiences`: Service. * // `run.googleapis.com/description`: Service. * @@ -2727,6 +2764,45 @@ func (s *ObjectMeta) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Overrides: RunJob Overrides that contains Execution fields to be +// overridden on the go. +type Overrides struct { + // ContainerOverrides: Per container override specification. + ContainerOverrides []*ContainerOverride `json:"containerOverrides,omitempty"` + + // TaskCount: The desired number of tasks the execution should run. Will + // replace existing task_count value. + TaskCount int64 `json:"taskCount,omitempty"` + + // TimeoutSeconds: Duration in seconds the task may be active before the + // system will actively try to mark it failed and kill associated + // containers. Will replace existing timeout_seconds value. + TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ContainerOverrides") + // 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. "ContainerOverrides") 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 *Overrides) MarshalJSON() ([]byte, error) { + type NoMethod Overrides + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // OwnerReference: This is not supported or used by Cloud Run. type OwnerReference struct { // ApiVersion: This is not supported or used by Cloud Run. @@ -3391,6 +3467,32 @@ func (s *RouteStatus) MarshalJSON() ([]byte, error) { // RunJobRequest: Request message for creating a new execution of a job. type RunJobRequest struct { + // Overrides: Optional. Overrides specification for a given execution of + // a job. If provided, overrides will be applied to update the execution + // or task spec. + Overrides *Overrides `json:"overrides,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Overrides") 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. "Overrides") 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 *RunJobRequest) MarshalJSON() ([]byte, error) { + type NoMethod RunJobRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } // SecretEnvSource: Not supported by Cloud Run. SecretEnvSource selects diff --git a/secretmanager/v1/secretmanager-api.json b/secretmanager/v1/secretmanager-api.json index bbfabff4234..c1e4267242d 100644 --- a/secretmanager/v1/secretmanager-api.json +++ b/secretmanager/v1/secretmanager-api.json @@ -643,7 +643,7 @@ } } }, - "revision": "20230128", + "revision": "20230407", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { @@ -1247,7 +1247,7 @@ "id": "Topic", "properties": { "name": { - "description": "Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager P4SA must have `pubsub.publisher` permissions on the topic.", + "description": "Required. The resource name of the Pub/Sub topic that will be published to, in the following format: `projects/*/topics/*`. For publication to succeed, the Secret Manager service agent must have the `pubsub.topic.publish` permission on the topic. The Pub/Sub Publisher role (`roles/pubsub.publisher`) includes this permission.", "type": "string" } }, diff --git a/secretmanager/v1/secretmanager-gen.go b/secretmanager/v1/secretmanager-gen.go index 2abcd8c9df6..5b56c6fe114 100644 --- a/secretmanager/v1/secretmanager-gen.go +++ b/secretmanager/v1/secretmanager-gen.go @@ -1509,8 +1509,9 @@ func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) { type Topic struct { // Name: Required. The resource name of the Pub/Sub topic that will be // published to, in the following format: `projects/*/topics/*`. For - // publication to succeed, the Secret Manager P4SA must have - // `pubsub.publisher` permissions on the topic. + // publication to succeed, the Secret Manager service agent must have + // the `pubsub.topic.publish` permission on the topic. The Pub/Sub + // Publisher role (`roles/pubsub.publisher`) includes this permission. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to diff --git a/storagetransfer/v1/storagetransfer-api.json b/storagetransfer/v1/storagetransfer-api.json index e2fc024b39a..bf26e56f863 100644 --- a/storagetransfer/v1/storagetransfer-api.json +++ b/storagetransfer/v1/storagetransfer-api.json @@ -632,7 +632,7 @@ } } }, - "revision": "20230307", + "revision": "20230408", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AgentPool": { @@ -1132,7 +1132,7 @@ "enumDescriptions": [ "Storage class behavior is unspecified.", "Use the destination bucket's default storage class.", - "Preserve the object's original storage class. This is only supported for transfers from Google Cloud Storage buckets.", + "Preserve the object's original storage class. This is only supported for transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL storage classes will be mapped to STANDARD to ensure they can be written to the destination bucket.", "Set the storage class to STANDARD.", "Set the storage class to NEARLINE.", "Set the storage class to COLDLINE.", diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go index fecb61126b8..9bc6ce18317 100644 --- a/storagetransfer/v1/storagetransfer-gen.go +++ b/storagetransfer/v1/storagetransfer-gen.go @@ -1131,7 +1131,8 @@ type MetadataOptions struct { // bucket's default storage class. // "STORAGE_CLASS_PRESERVE" - Preserve the object's original storage // class. This is only supported for transfers from Google Cloud Storage - // buckets. + // buckets. REGIONAL and MULTI_REGIONAL storage classes will be mapped + // to STANDARD to ensure they can be written to the destination bucket. // "STORAGE_CLASS_STANDARD" - Set the storage class to STANDARD. // "STORAGE_CLASS_NEARLINE" - Set the storage class to NEARLINE. // "STORAGE_CLASS_COLDLINE" - Set the storage class to COLDLINE. diff --git a/translate/v3/translate-api.json b/translate/v3/translate-api.json index a1412dae92a..6b359b60af7 100644 --- a/translate/v3/translate-api.json +++ b/translate/v3/translate-api.json @@ -1286,7 +1286,7 @@ } } }, - "revision": "20230403", + "revision": "20230407", "rootUrl": "https://translation.googleapis.com/", "schemas": { "BatchDocumentInputConfig": { @@ -2076,12 +2076,6 @@ "description": "The dataset from which the model is trained, in form of `projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}`", "type": "string" }, - "deployTime": { - "description": "Output only. Timestamp when the model training finished and ready to be used for translation.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, "displayName": { "description": "The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.", "type": "string" diff --git a/translate/v3/translate-gen.go b/translate/v3/translate-gen.go index d03615653b8..97e54c698e9 100644 --- a/translate/v3/translate-gen.go +++ b/translate/v3/translate-gen.go @@ -1847,10 +1847,6 @@ type Model struct { // aset_id}` Dataset string `json:"dataset,omitempty"` - // DeployTime: Output only. Timestamp when the model training finished - // and ready to be used for translation. - DeployTime string `json:"deployTime,omitempty"` - // DisplayName: The name of the model to show in the interface. The name // can be up to 32 characters long and can consist only of ASCII Latin // letters A-Z and a-z, underscores (_), and ASCII digits 0-9.