From adea3b774fbb65cc2bdf5115ba31d47b84ae1ba8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 18 Oct 2023 07:11:33 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- aiplatform/v1/aiplatform-api.json | 34 +- aiplatform/v1/aiplatform-gen.go | 122 +- aiplatform/v1beta1/aiplatform-api.json | 66 +- aiplatform/v1beta1/aiplatform-gen.go | 240 +- alloydb/v1alpha/alloydb-api.json | 9 +- alloydb/v1alpha/alloydb-gen.go | 7 +- backupdr/v1/backupdr-api.json | 4 +- backupdr/v1/backupdr-gen.go | 2 +- .../v1/blockchainnodeengine-api.json | 4 +- .../v1/blockchainnodeengine-gen.go | 2 +- cloudasset/v1/cloudasset-api.json | 8 +- cloudasset/v1/cloudasset-gen.go | 57 +- clouddeploy/v1/clouddeploy-api.json | 7 +- clouddeploy/v1/clouddeploy-gen.go | 11 +- cloudfunctions/v1/cloudfunctions-api.json | 8 +- cloudfunctions/v1/cloudfunctions-gen.go | 19 + contentwarehouse/v1/contentwarehouse-api.json | 2729 ++++++++++++++--- contentwarehouse/v1/contentwarehouse-gen.go | 2507 ++++++++++++++- datamigration/v1beta1/datamigration-api.json | 8 +- datamigration/v1beta1/datamigration-gen.go | 4 + gkehub/v1beta/gkehub-api.json | 6 +- gkehub/v1beta/gkehub-gen.go | 3 + iap/v1/iap-api.json | 4 +- iap/v1/iap-gen.go | 2 +- .../v1alpha1/managedidentities-api.json | 8 +- .../v1alpha1/managedidentities-gen.go | 22 +- migrationcenter/v1/migrationcenter-api.json | 10 +- migrationcenter/v1/migrationcenter-gen.go | 25 +- notebooks/v1/notebooks-api.json | 118 +- notebooks/v1/notebooks-gen.go | 393 ++- places/v1/places-api.json | 194 +- places/v1/places-gen.go | 287 +- pubsub/v1/pubsub-api.json | 14 +- pubsub/v1/pubsub-gen.go | 6 + .../v1beta/servicenetworking-api.json | 14 +- .../v1beta/servicenetworking-gen.go | 33 + vmmigration/v1/vmmigration-api.json | 10 +- vmmigration/v1/vmmigration-gen.go | 4 +- vmmigration/v1alpha1/vmmigration-api.json | 10 +- vmmigration/v1alpha1/vmmigration-gen.go | 4 +- workflows/v1/workflows-api.json | 4 +- workflows/v1/workflows-gen.go | 6 +- 42 files changed, 6088 insertions(+), 937 deletions(-) diff --git a/aiplatform/v1/aiplatform-api.json b/aiplatform/v1/aiplatform-api.json index 11e1656e555..203864d1b15 100644 --- a/aiplatform/v1/aiplatform-api.json +++ b/aiplatform/v1/aiplatform-api.json @@ -4114,6 +4114,7 @@ "type": "string" }, "parent": { + "description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", "required": true, @@ -4166,7 +4167,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + "description": "Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", "required": true, @@ -4196,7 +4197,7 @@ "type": "string" }, "latestStatsCount": { - "description": "If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", + "description": "Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", "format": "int32", "location": "query", "type": "integer" @@ -4213,12 +4214,12 @@ "type": "integer" }, "pageToken": { - "description": "A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures must match the call that provided the page token.", + "description": "A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + "description": "Required. The resource name of the Location to list Features. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", "required": true, @@ -4249,14 +4250,14 @@ ], "parameters": { "name": { - "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", + "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`", + "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", "format": "google-fieldmask", "location": "query", "type": "string" @@ -12997,7 +12998,7 @@ } } }, - "revision": "20231002", + "revision": "20231012", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -14414,6 +14415,7 @@ "type": "string" }, "parent": { + "description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "type": "string" } }, @@ -14708,6 +14710,10 @@ "description": "Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the Job should be peered. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the job is not peered with any network.", "type": "string" }, + "protectedArtifactLocationId": { + "description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. For unprotected artifacts, the value of this field is ignored. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations", + "type": "string" + }, "reservedIpRanges": { "description": "Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].", "items": { @@ -16732,11 +16738,11 @@ "type": "object" }, "GoogleCloudAiplatformV1Feature": { - "description": "Feature Metadata information that describes an attribute of an entity type. For example, apple is an entity type, and color is a feature that describes apple.", + "description": "Feature Metadata information. For example, color is a feature that describes an apple.", "id": "GoogleCloudAiplatformV1Feature", "properties": { "createTime": { - "description": "Output only. Timestamp when this EntityType was created.", + "description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -16746,7 +16752,7 @@ "type": "string" }, "disableMonitoring": { - "description": "Optional. If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If set to true, all types of data monitoring are disabled despite the config on EntityType.", + "description": "Optional. Only applicable for Vertex AI Feature Store (Legacy). If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If set to true, all types of data monitoring are disabled despite the config on EntityType.", "type": "boolean" }, "etag": { @@ -16761,7 +16767,7 @@ "type": "object" }, "monitoringStatsAnomalies": { - "description": "Output only. The list of historical stats and anomalies with specified objectives.", + "description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.", "items": { "$ref": "GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly" }, @@ -16769,17 +16775,17 @@ "type": "array" }, "name": { - "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", + "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", "type": "string" }, "updateTime": { - "description": "Output only. Timestamp when this EntityType was most recently updated.", + "description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.", "format": "google-datetime", "readOnly": true, "type": "string" }, "valueType": { - "description": "Immutable. Type of Feature value.", + "description": "Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.", "enum": [ "VALUE_TYPE_UNSPECIFIED", "BOOL", diff --git a/aiplatform/v1/aiplatform-gen.go b/aiplatform/v1/aiplatform-gen.go index d2b1107cbb0..7687a4a879b 100644 --- a/aiplatform/v1/aiplatform-gen.go +++ b/aiplatform/v1/aiplatform-gen.go @@ -3827,6 +3827,12 @@ type GoogleCloudAiplatformV1CreateFeatureRequest struct { // EntityType/FeatureGroup. FeatureId string `json:"featureId,omitempty"` + // Parent: Required. The resource name of the EntityType or FeatureGroup + // to create a Feature. Format for entity_type as parent: + // `projects/{project}/locations/{location}/featurestores/{featurestore}/ + // entityTypes/{entity_type}` Format for feature_group as parent: + // `projects/{project}/locations/{location}/featureGroups/{feature_group} + // ` Parent string `json:"parent,omitempty"` // ForceSendFields is a list of field names (e.g. "Feature") to @@ -4416,6 +4422,13 @@ type GoogleCloudAiplatformV1CustomJobSpec struct { // network. Network string `json:"network,omitempty"` + // ProtectedArtifactLocationId: The ID of the location to store + // protected artifacts. e.g. us-central1. Populate only when the + // location is different than CustomJob location. For unprotected + // artifacts, the value of this field is ignored. List of supported + // locations: https://cloud.google.com/vertex-ai/docs/general/locations + ProtectedArtifactLocationId string `json:"protectedArtifactLocationId,omitempty"` + // ReservedIpRanges: Optional. A list of names for the reserved ip // ranges under the VPC network that can be used for this job. If set, // we will deploy the job within the provided ip ranges. Otherwise, the @@ -8152,21 +8165,22 @@ func (s *GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse) Marshal return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudAiplatformV1Feature: Feature Metadata information that -// describes an attribute of an entity type. For example, apple is an -// entity type, and color is a feature that describes apple. +// GoogleCloudAiplatformV1Feature: Feature Metadata information. For +// example, color is a feature that describes an apple. type GoogleCloudAiplatformV1Feature struct { - // CreateTime: Output only. Timestamp when this EntityType was created. + // CreateTime: Output only. Only applicable for Vertex AI Feature Store + // (Legacy). Timestamp when this EntityType was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of the Feature. Description string `json:"description,omitempty"` - // DisableMonitoring: Optional. If not set, use the monitoring_config - // defined for the EntityType this Feature belongs to. Only Features - // with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can - // enable monitoring. If set to true, all types of data monitoring are - // disabled despite the config on EntityType. + // DisableMonitoring: Optional. Only applicable for Vertex AI Feature + // Store (Legacy). If not set, use the monitoring_config defined for the + // EntityType this Feature belongs to. Only Features with type + // (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable + // monitoring. If set to true, all types of data monitoring are disabled + // despite the config on EntityType. DisableMonitoring bool `json:"disableMonitoring,omitempty"` // Etag: Used to perform a consistent read-modify-write updates. If not @@ -8184,24 +8198,28 @@ type GoogleCloudAiplatformV1Feature struct { // immutable. Labels map[string]string `json:"labels,omitempty"` - // MonitoringStatsAnomalies: Output only. The list of historical stats - // and anomalies with specified objectives. + // MonitoringStatsAnomalies: Output only. Only applicable for Vertex AI + // Feature Store (Legacy). The list of historical stats and anomalies + // with specified objectives. MonitoringStatsAnomalies []*GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly `json:"monitoringStatsAnomalies,omitempty"` // Name: Immutable. Name of the Feature. Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/ - // entityTypes/{entity_type}/features/{feature}` The last part feature - // is assigned by the client. The feature can be up to 64 characters - // long and can consist only of ASCII Latin letters A-Z and a-z, - // underscore(_), and ASCII digits 0-9 starting with a letter. The value - // will be unique given an entity type. + // entityTypes/{entity_type}/features/{feature}` + // `projects/{project}/locations/{location}/featureGroups/{feature_group} + // /features/{feature}` The last part feature is assigned by the client. + // The feature can be up to 64 characters long and can consist only of + // ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 + // starting with a letter. The value will be unique given an entity + // type. Name string `json:"name,omitempty"` - // UpdateTime: Output only. Timestamp when this EntityType was most - // recently updated. + // UpdateTime: Output only. Only applicable for Vertex AI Feature Store + // (Legacy). Timestamp when this EntityType was most recently updated. UpdateTime string `json:"updateTime,omitempty"` - // ValueType: Immutable. Type of Feature value. + // ValueType: Immutable. Only applicable for Vertex AI Feature Store + // (Legacy). Type of Feature value. // // Possible values: // "VALUE_TYPE_UNSPECIFIED" - The value type is unspecified. @@ -50475,7 +50493,12 @@ type ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall struct { // Create: Creates a new Feature in a given EntityType. // -// - parent: . +// - parent: The resource name of the EntityType or FeatureGroup to +// create a Feature. Format for entity_type as parent: +// `projects/{project}/locations/{location}/featurestores/{featurestore +// }/entityTypes/{entity_type}` Format for feature_group as parent: +// `projects/{project}/locations/{location}/featureGroups/{feature_grou +// p}`. func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Create(parent string, googlecloudaiplatformv1feature *GoogleCloudAiplatformV1Feature) *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall { c := &ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -50598,6 +50621,7 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall) Do(opts .. // "type": "string" // }, // "parent": { + // "description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", // "required": true, @@ -50767,9 +50791,10 @@ type ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall struct { // Get: Gets details of a single Feature. // -// - name: The name of the Feature resource. Format: +// - name: The name of the Feature resource. Format for entity_type as +// parent: // `projects/{project}/locations/{location}/featurestores/{featurestore -// }/entityTypes/{entity_type}` +// }/entityTypes/{entity_type}` Format for feature_group as parent: // `projects/{project}/locations/{location}/featureGroups/{feature_grou // p}`. func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Get(name string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall { @@ -50886,7 +50911,7 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall) Do(opts ...go // ], // "parameters": { // "name": { - // "description": "Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + // "description": "Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", // "required": true, @@ -50917,9 +50942,10 @@ type ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall struct { // List: Lists Features in a given EntityType. // -// - parent: The resource name of the Location to list Features. Format: +// - parent: The resource name of the Location to list Features. Format +// for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore -// }/entityTypes/{entity_type}` +// }/entityTypes/{entity_type}` Format for feature_group as parent: // `projects/{project}/locations/{location}/featureGroups/{feature_grou // p}`. func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) List(parent string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall { @@ -50947,11 +50973,12 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Filter(filte return c } -// LatestStatsCount sets the optional parameter "latestStatsCount": If -// set, return the most recent ListFeaturesRequest.latest_stats_count of -// stats for each Feature in response. Valid value is [0, 10]. If number -// of stats exists < ListFeaturesRequest.latest_stats_count, return all -// existing stats. +// LatestStatsCount sets the optional parameter "latestStatsCount": Only +// applicable for Vertex AI Feature Store (Legacy). If set, return the +// most recent ListFeaturesRequest.latest_stats_count of stats for each +// Feature in response. Valid value is [0, 10]. If number of stats +// exists < ListFeaturesRequest.latest_stats_count, return all existing +// stats. func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) LatestStatsCount(latestStatsCount int64) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall { c.urlParams_.Set("latestStatsCount", fmt.Sprint(latestStatsCount)) return c @@ -50977,10 +51004,12 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) PageSize(pag } // PageToken sets the optional parameter "pageToken": A page token, -// received from a previous FeaturestoreService.ListFeatures call. -// Provide this to retrieve the subsequent page. When paginating, all -// other parameters provided to FeaturestoreService.ListFeatures must -// match the call that provided the page token. +// received from a previous FeaturestoreService.ListFeatures call or +// FeatureRegistryService.ListFeatures call. Provide this to retrieve +// the subsequent page. When paginating, all other parameters provided +// to FeaturestoreService.ListFeatures or or +// FeatureRegistryService.ListFeatures must match the call that provided +// the page token. func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) PageToken(pageToken string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -51108,7 +51137,7 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Do(opts ...g // "type": "string" // }, // "latestStatsCount": { - // "description": "If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", + // "description": "Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", // "format": "int32", // "location": "query", // "type": "integer" @@ -51125,12 +51154,12 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Do(opts ...g // "type": "integer" // }, // "pageToken": { - // "description": "A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures must match the call that provided the page token.", + // "description": "A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + // "description": "Required. The resource name of the Location to list Features. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", // "required": true, @@ -51190,11 +51219,13 @@ type ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall struct { // // - name: Immutable. Name of the Feature. Format: // `projects/{project}/locations/{location}/featurestores/{featurestore -// }/entityTypes/{entity_type}/features/{feature}` The last part -// feature is assigned by the client. The feature can be up to 64 -// characters long and can consist only of ASCII Latin letters A-Z and -// a-z, underscore(_), and ASCII digits 0-9 starting with a letter. -// The value will be unique given an entity type. +// }/entityTypes/{entity_type}/features/{feature}` +// `projects/{project}/locations/{location}/featureGroups/{feature_grou +// p}/features/{feature}` The last part feature is assigned by the +// client. The feature can be up to 64 characters long and can consist +// only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII +// digits 0-9 starting with a letter. The value will be unique given +// an entity type. func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Patch(name string, googlecloudaiplatformv1feature *GoogleCloudAiplatformV1Feature) *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall { c := &ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -51209,7 +51240,8 @@ func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Patch(name st // it is in the mask. If the user does not provide a mask then only the // non-empty fields present in the request will be overwritten. Set the // update_mask to `*` to override all fields. Updatable fields: * -// `description` * `labels` * `disable_monitoring` +// `description` * `labels` * `disable_monitoring` (Not supported for +// FeatureRegistry Feature) func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -51315,14 +51347,14 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall) Do(opts ... // ], // "parameters": { // "name": { - // "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", + // "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`", + // "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/aiplatform/v1beta1/aiplatform-api.json b/aiplatform/v1beta1/aiplatform-api.json index 181c0e84e60..98fda2df0e5 100644 --- a/aiplatform/v1beta1/aiplatform-api.json +++ b/aiplatform/v1beta1/aiplatform-api.json @@ -4370,6 +4370,7 @@ "type": "string" }, "parent": { + "description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", "required": true, @@ -4422,7 +4423,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + "description": "Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+$", "required": true, @@ -4452,7 +4453,7 @@ "type": "string" }, "latestStatsCount": { - "description": "If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", + "description": "Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", "format": "int32", "location": "query", "type": "integer" @@ -4469,12 +4470,12 @@ "type": "integer" }, "pageToken": { - "description": "A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures must match the call that provided the page token.", + "description": "A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + "description": "Required. The resource name of the Location to list Features. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", "required": true, @@ -4505,14 +4506,14 @@ ], "parameters": { "name": { - "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", + "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`", + "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", "format": "google-fieldmask", "location": "query", "type": "string" @@ -6358,6 +6359,7 @@ "type": "string" }, "parent": { + "description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", "required": true, @@ -6410,7 +6412,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + "description": "Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", "required": true, @@ -6440,7 +6442,7 @@ "type": "string" }, "latestStatsCount": { - "description": "If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", + "description": "Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", "format": "int32", "location": "query", "type": "integer" @@ -6457,12 +6459,12 @@ "type": "integer" }, "pageToken": { - "description": "A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures must match the call that provided the page token.", + "description": "A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + "description": "Required. The resource name of the Location to list Features. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", "required": true, @@ -6493,14 +6495,14 @@ ], "parameters": { "name": { - "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", + "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", "required": true, "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`", + "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", "format": "google-fieldmask", "location": "query", "type": "string" @@ -16092,7 +16094,7 @@ } } }, - "revision": "20231002", + "revision": "20231012", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -17626,6 +17628,7 @@ "type": "string" }, "parent": { + "description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", "type": "string" } }, @@ -17690,6 +17693,21 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata": { + "description": "Metadata information for NotebookService.CreateNotebookExecutionJob.", + "id": "GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata", + "properties": { + "genericMetadata": { + "$ref": "GoogleCloudAiplatformV1beta1GenericOperationMetadata", + "description": "The operation generic information." + }, + "progressMessage": { + "description": "A human-readable message that shows the intermediate progress details of NotebookRuntime.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1CreateNotebookRuntimeTemplateOperationMetadata": { "description": "Metadata information for NotebookService.CreateNotebookRuntimeTemplate.", "id": "GoogleCloudAiplatformV1beta1CreateNotebookRuntimeTemplateOperationMetadata", @@ -17968,6 +17986,10 @@ "description": "Optional. The ID of the PersistentResource in the same Project and Location which to run If this is specified, the job will be run on existing machines held by the PersistentResource instead of on-demand short-live machines. The network and CMEK configs on the job should be consistent with those on the PersistentResource, otherwise, the job will be rejected.", "type": "string" }, + "protectedArtifactLocationId": { + "description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. For unprotected artifacts, the value of this field is ignored. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations", + "type": "string" + }, "reservedIpRanges": { "description": "Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range'].", "items": { @@ -20069,11 +20091,11 @@ "type": "object" }, "GoogleCloudAiplatformV1beta1Feature": { - "description": "Feature Metadata information that describes an attribute of an entity type. For example, apple is an entity type, and color is a feature that describes apple.", + "description": "Feature Metadata information. For example, color is a feature that describes an apple.", "id": "GoogleCloudAiplatformV1beta1Feature", "properties": { "createTime": { - "description": "Output only. Timestamp when this EntityType was created.", + "description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -20083,7 +20105,7 @@ "type": "string" }, "disableMonitoring": { - "description": "Optional. If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If set to true, all types of data monitoring are disabled despite the config on EntityType.", + "description": "Optional. Only applicable for Vertex AI Feature Store (Legacy). If not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If set to true, all types of data monitoring are disabled despite the config on EntityType.", "type": "boolean" }, "etag": { @@ -20100,10 +20122,10 @@ "monitoringConfig": { "$ref": "GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfig", "deprecated": true, - "description": "Optional. Deprecated: The custom monitoring configuration for this Feature, if not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If this is populated with FeaturestoreMonitoringConfig.disabled = true, snapshot analysis monitoring is disabled; if FeaturestoreMonitoringConfig.monitoring_interval specified, snapshot analysis monitoring is enabled. Otherwise, snapshot analysis monitoring config is same as the EntityType's this Feature belongs to." + "description": "Optional. Only applicable for Vertex AI Feature Store (Legacy). Deprecated: The custom monitoring configuration for this Feature, if not set, use the monitoring_config defined for the EntityType this Feature belongs to. Only Features with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable monitoring. If this is populated with FeaturestoreMonitoringConfig.disabled = true, snapshot analysis monitoring is disabled; if FeaturestoreMonitoringConfig.monitoring_interval specified, snapshot analysis monitoring is enabled. Otherwise, snapshot analysis monitoring config is same as the EntityType's this Feature belongs to." }, "monitoringStats": { - "description": "Output only. A list of historical SnapshotAnalysis stats requested by user, sorted by FeatureStatsAnomaly.start_time descending.", + "description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). A list of historical SnapshotAnalysis stats requested by user, sorted by FeatureStatsAnomaly.start_time descending.", "items": { "$ref": "GoogleCloudAiplatformV1beta1FeatureStatsAnomaly" }, @@ -20111,7 +20133,7 @@ "type": "array" }, "monitoringStatsAnomalies": { - "description": "Output only. The list of historical stats and anomalies with specified objectives.", + "description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). The list of historical stats and anomalies with specified objectives.", "items": { "$ref": "GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly" }, @@ -20119,17 +20141,17 @@ "type": "array" }, "name": { - "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", + "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", "type": "string" }, "updateTime": { - "description": "Output only. Timestamp when this EntityType was most recently updated.", + "description": "Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was most recently updated.", "format": "google-datetime", "readOnly": true, "type": "string" }, "valueType": { - "description": "Immutable. Type of Feature value.", + "description": "Immutable. Only applicable for Vertex AI Feature Store (Legacy). Type of Feature value.", "enum": [ "VALUE_TYPE_UNSPECIFIED", "BOOL", diff --git a/aiplatform/v1beta1/aiplatform-gen.go b/aiplatform/v1beta1/aiplatform-gen.go index e8c08e9dac4..11e8e216be9 100644 --- a/aiplatform/v1beta1/aiplatform-gen.go +++ b/aiplatform/v1beta1/aiplatform-gen.go @@ -4394,6 +4394,12 @@ type GoogleCloudAiplatformV1beta1CreateFeatureRequest struct { // EntityType/FeatureGroup. FeatureId string `json:"featureId,omitempty"` + // Parent: Required. The resource name of the EntityType or FeatureGroup + // to create a Feature. Format for entity_type as parent: + // `projects/{project}/locations/{location}/featurestores/{featurestore}/ + // entityTypes/{entity_type}` Format for feature_group as parent: + // `projects/{project}/locations/{location}/featureGroups/{feature_group} + // ` Parent string `json:"parent,omitempty"` // ForceSendFields is a list of field names (e.g. "Feature") to @@ -4575,6 +4581,41 @@ func (s *GoogleCloudAiplatformV1beta1CreateMetadataStoreOperationMetadata) Marsh return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadat +// a: Metadata information for +// NotebookService.CreateNotebookExecutionJob. +type GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata struct { + // GenericMetadata: The operation generic information. + GenericMetadata *GoogleCloudAiplatformV1beta1GenericOperationMetadata `json:"genericMetadata,omitempty"` + + // ProgressMessage: A human-readable message that shows the intermediate + // progress details of NotebookRuntime. + ProgressMessage string `json:"progressMessage,omitempty"` + + // ForceSendFields is a list of field names (e.g. "GenericMetadata") 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. "GenericMetadata") 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 *GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudAiplatformV1beta1CreateNotebookRuntimeTemplateOperationMeta // data: Metadata information for // NotebookService.CreateNotebookRuntimeTemplate. @@ -5113,6 +5154,13 @@ type GoogleCloudAiplatformV1beta1CustomJobSpec struct { // PersistentResource, otherwise, the job will be rejected. PersistentResourceId string `json:"persistentResourceId,omitempty"` + // ProtectedArtifactLocationId: The ID of the location to store + // protected artifacts. e.g. us-central1. Populate only when the + // location is different than CustomJob location. For unprotected + // artifacts, the value of this field is ignored. List of supported + // locations: https://cloud.google.com/vertex-ai/docs/general/locations + ProtectedArtifactLocationId string `json:"protectedArtifactLocationId,omitempty"` + // ReservedIpRanges: Optional. A list of names for the reserved ip // ranges under the VPC network that can be used for this job. If set, // we will deploy the job within the provided ip ranges. Otherwise, the @@ -9036,21 +9084,22 @@ func (s *GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponse) Ma return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudAiplatformV1beta1Feature: Feature Metadata information -// that describes an attribute of an entity type. For example, apple is -// an entity type, and color is a feature that describes apple. +// GoogleCloudAiplatformV1beta1Feature: Feature Metadata information. +// For example, color is a feature that describes an apple. type GoogleCloudAiplatformV1beta1Feature struct { - // CreateTime: Output only. Timestamp when this EntityType was created. + // CreateTime: Output only. Only applicable for Vertex AI Feature Store + // (Legacy). Timestamp when this EntityType was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of the Feature. Description string `json:"description,omitempty"` - // DisableMonitoring: Optional. If not set, use the monitoring_config - // defined for the EntityType this Feature belongs to. Only Features - // with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can - // enable monitoring. If set to true, all types of data monitoring are - // disabled despite the config on EntityType. + // DisableMonitoring: Optional. Only applicable for Vertex AI Feature + // Store (Legacy). If not set, use the monitoring_config defined for the + // EntityType this Feature belongs to. Only Features with type + // (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable + // monitoring. If set to true, all types of data monitoring are disabled + // despite the config on EntityType. DisableMonitoring bool `json:"disableMonitoring,omitempty"` // Etag: Used to perform a consistent read-modify-write updates. If not @@ -9068,11 +9117,12 @@ type GoogleCloudAiplatformV1beta1Feature struct { // immutable. Labels map[string]string `json:"labels,omitempty"` - // MonitoringConfig: Optional. Deprecated: The custom monitoring - // configuration for this Feature, if not set, use the monitoring_config - // defined for the EntityType this Feature belongs to. Only Features - // with type (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can - // enable monitoring. If this is populated with + // MonitoringConfig: Optional. Only applicable for Vertex AI Feature + // Store (Legacy). Deprecated: The custom monitoring configuration for + // this Feature, if not set, use the monitoring_config defined for the + // EntityType this Feature belongs to. Only Features with type + // (Feature.ValueType) BOOL, STRING, DOUBLE or INT64 can enable + // monitoring. If this is populated with // FeaturestoreMonitoringConfig.disabled = true, snapshot analysis // monitoring is disabled; if // FeaturestoreMonitoringConfig.monitoring_interval specified, snapshot @@ -9081,29 +9131,33 @@ type GoogleCloudAiplatformV1beta1Feature struct { // to. MonitoringConfig *GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfig `json:"monitoringConfig,omitempty"` - // MonitoringStats: Output only. A list of historical SnapshotAnalysis - // stats requested by user, sorted by FeatureStatsAnomaly.start_time - // descending. + // MonitoringStats: Output only. Only applicable for Vertex AI Feature + // Store (Legacy). A list of historical SnapshotAnalysis stats requested + // by user, sorted by FeatureStatsAnomaly.start_time descending. MonitoringStats []*GoogleCloudAiplatformV1beta1FeatureStatsAnomaly `json:"monitoringStats,omitempty"` - // MonitoringStatsAnomalies: Output only. The list of historical stats - // and anomalies with specified objectives. + // MonitoringStatsAnomalies: Output only. Only applicable for Vertex AI + // Feature Store (Legacy). The list of historical stats and anomalies + // with specified objectives. MonitoringStatsAnomalies []*GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly `json:"monitoringStatsAnomalies,omitempty"` // Name: Immutable. Name of the Feature. Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/ - // entityTypes/{entity_type}/features/{feature}` The last part feature - // is assigned by the client. The feature can be up to 64 characters - // long and can consist only of ASCII Latin letters A-Z and a-z, - // underscore(_), and ASCII digits 0-9 starting with a letter. The value - // will be unique given an entity type. + // entityTypes/{entity_type}/features/{feature}` + // `projects/{project}/locations/{location}/featureGroups/{feature_group} + // /features/{feature}` The last part feature is assigned by the client. + // The feature can be up to 64 characters long and can consist only of + // ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 + // starting with a letter. The value will be unique given an entity + // type. Name string `json:"name,omitempty"` - // UpdateTime: Output only. Timestamp when this EntityType was most - // recently updated. + // UpdateTime: Output only. Only applicable for Vertex AI Feature Store + // (Legacy). Timestamp when this EntityType was most recently updated. UpdateTime string `json:"updateTime,omitempty"` - // ValueType: Immutable. Type of Feature value. + // ValueType: Immutable. Only applicable for Vertex AI Feature Store + // (Legacy). Type of Feature value. // // Possible values: // "VALUE_TYPE_UNSPECIFIED" - The value type is unspecified. @@ -55350,7 +55404,12 @@ type ProjectsLocationsFeatureGroupsFeaturesCreateCall struct { // Create: Creates a new Feature in a given FeatureGroup. // -// - parent: . +// - parent: The resource name of the EntityType or FeatureGroup to +// create a Feature. Format for entity_type as parent: +// `projects/{project}/locations/{location}/featurestores/{featurestore +// }/entityTypes/{entity_type}` Format for feature_group as parent: +// `projects/{project}/locations/{location}/featureGroups/{feature_grou +// p}`. func (r *ProjectsLocationsFeatureGroupsFeaturesService) Create(parent string, googlecloudaiplatformv1beta1feature *GoogleCloudAiplatformV1beta1Feature) *ProjectsLocationsFeatureGroupsFeaturesCreateCall { c := &ProjectsLocationsFeatureGroupsFeaturesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -55473,6 +55532,7 @@ func (c *ProjectsLocationsFeatureGroupsFeaturesCreateCall) Do(opts ...googleapi. // "type": "string" // }, // "parent": { + // "description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", // "required": true, @@ -55642,9 +55702,10 @@ type ProjectsLocationsFeatureGroupsFeaturesGetCall struct { // Get: Gets details of a single Feature. // -// - name: The name of the Feature resource. Format: +// - name: The name of the Feature resource. Format for entity_type as +// parent: // `projects/{project}/locations/{location}/featurestores/{featurestore -// }/entityTypes/{entity_type}` +// }/entityTypes/{entity_type}` Format for feature_group as parent: // `projects/{project}/locations/{location}/featureGroups/{feature_grou // p}`. func (r *ProjectsLocationsFeatureGroupsFeaturesService) Get(name string) *ProjectsLocationsFeatureGroupsFeaturesGetCall { @@ -55762,7 +55823,7 @@ func (c *ProjectsLocationsFeatureGroupsFeaturesGetCall) Do(opts ...googleapi.Cal // ], // "parameters": { // "name": { - // "description": "Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + // "description": "Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+$", // "required": true, @@ -55793,9 +55854,10 @@ type ProjectsLocationsFeatureGroupsFeaturesListCall struct { // List: Lists Features in a given FeatureGroup. // -// - parent: The resource name of the Location to list Features. Format: +// - parent: The resource name of the Location to list Features. Format +// for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore -// }/entityTypes/{entity_type}` +// }/entityTypes/{entity_type}` Format for feature_group as parent: // `projects/{project}/locations/{location}/featureGroups/{feature_grou // p}`. func (r *ProjectsLocationsFeatureGroupsFeaturesService) List(parent string) *ProjectsLocationsFeatureGroupsFeaturesListCall { @@ -55823,11 +55885,12 @@ func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) Filter(filter string) * return c } -// LatestStatsCount sets the optional parameter "latestStatsCount": If -// set, return the most recent ListFeaturesRequest.latest_stats_count of -// stats for each Feature in response. Valid value is [0, 10]. If number -// of stats exists < ListFeaturesRequest.latest_stats_count, return all -// existing stats. +// LatestStatsCount sets the optional parameter "latestStatsCount": Only +// applicable for Vertex AI Feature Store (Legacy). If set, return the +// most recent ListFeaturesRequest.latest_stats_count of stats for each +// Feature in response. Valid value is [0, 10]. If number of stats +// exists < ListFeaturesRequest.latest_stats_count, return all existing +// stats. func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) LatestStatsCount(latestStatsCount int64) *ProjectsLocationsFeatureGroupsFeaturesListCall { c.urlParams_.Set("latestStatsCount", fmt.Sprint(latestStatsCount)) return c @@ -55853,10 +55916,12 @@ func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) PageSize(pageSize int64 } // PageToken sets the optional parameter "pageToken": A page token, -// received from a previous FeaturestoreService.ListFeatures call. -// Provide this to retrieve the subsequent page. When paginating, all -// other parameters provided to FeaturestoreService.ListFeatures must -// match the call that provided the page token. +// received from a previous FeaturestoreService.ListFeatures call or +// FeatureRegistryService.ListFeatures call. Provide this to retrieve +// the subsequent page. When paginating, all other parameters provided +// to FeaturestoreService.ListFeatures or or +// FeatureRegistryService.ListFeatures must match the call that provided +// the page token. func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) PageToken(pageToken string) *ProjectsLocationsFeatureGroupsFeaturesListCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -55984,7 +56049,7 @@ func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) Do(opts ...googleapi.Ca // "type": "string" // }, // "latestStatsCount": { - // "description": "If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", + // "description": "Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", // "format": "int32", // "location": "query", // "type": "integer" @@ -56001,12 +56066,12 @@ func (c *ProjectsLocationsFeatureGroupsFeaturesListCall) Do(opts ...googleapi.Ca // "type": "integer" // }, // "pageToken": { - // "description": "A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures must match the call that provided the page token.", + // "description": "A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + // "description": "Required. The resource name of the Location to list Features. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", // "required": true, @@ -56066,11 +56131,13 @@ type ProjectsLocationsFeatureGroupsFeaturesPatchCall struct { // // - name: Immutable. Name of the Feature. Format: // `projects/{project}/locations/{location}/featurestores/{featurestore -// }/entityTypes/{entity_type}/features/{feature}` The last part -// feature is assigned by the client. The feature can be up to 64 -// characters long and can consist only of ASCII Latin letters A-Z and -// a-z, underscore(_), and ASCII digits 0-9 starting with a letter. -// The value will be unique given an entity type. +// }/entityTypes/{entity_type}/features/{feature}` +// `projects/{project}/locations/{location}/featureGroups/{feature_grou +// p}/features/{feature}` The last part feature is assigned by the +// client. The feature can be up to 64 characters long and can consist +// only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII +// digits 0-9 starting with a letter. The value will be unique given +// an entity type. func (r *ProjectsLocationsFeatureGroupsFeaturesService) Patch(name string, googlecloudaiplatformv1beta1feature *GoogleCloudAiplatformV1beta1Feature) *ProjectsLocationsFeatureGroupsFeaturesPatchCall { c := &ProjectsLocationsFeatureGroupsFeaturesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -56085,7 +56152,8 @@ func (r *ProjectsLocationsFeatureGroupsFeaturesService) Patch(name string, googl // it is in the mask. If the user does not provide a mask then only the // non-empty fields present in the request will be overwritten. Set the // update_mask to `*` to override all fields. Updatable fields: * -// `description` * `labels` * `disable_monitoring` +// `description` * `labels` * `disable_monitoring` (Not supported for +// FeatureRegistry Feature) func (c *ProjectsLocationsFeatureGroupsFeaturesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeatureGroupsFeaturesPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -56191,14 +56259,14 @@ func (c *ProjectsLocationsFeatureGroupsFeaturesPatchCall) Do(opts ...googleapi.C // ], // "parameters": { // "name": { - // "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", + // "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+/features/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`", + // "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", // "format": "google-fieldmask", // "location": "query", // "type": "string" @@ -65491,7 +65559,12 @@ type ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall struct { // Create: Creates a new Feature in a given EntityType. // -// - parent: . +// - parent: The resource name of the EntityType or FeatureGroup to +// create a Feature. Format for entity_type as parent: +// `projects/{project}/locations/{location}/featurestores/{featurestore +// }/entityTypes/{entity_type}` Format for feature_group as parent: +// `projects/{project}/locations/{location}/featureGroups/{feature_grou +// p}`. func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Create(parent string, googlecloudaiplatformv1beta1feature *GoogleCloudAiplatformV1beta1Feature) *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall { c := &ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -65614,6 +65687,7 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesCreateCall) Do(opts .. // "type": "string" // }, // "parent": { + // "description": "Required. The resource name of the EntityType or FeatureGroup to create a Feature. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", // "required": true, @@ -65783,9 +65857,10 @@ type ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall struct { // Get: Gets details of a single Feature. // -// - name: The name of the Feature resource. Format: +// - name: The name of the Feature resource. Format for entity_type as +// parent: // `projects/{project}/locations/{location}/featurestores/{featurestore -// }/entityTypes/{entity_type}` +// }/entityTypes/{entity_type}` Format for feature_group as parent: // `projects/{project}/locations/{location}/featureGroups/{feature_grou // p}`. func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Get(name string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall { @@ -65903,7 +65978,7 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesGetCall) Do(opts ...go // ], // "parameters": { // "name": { - // "description": "Required. The name of the Feature resource. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + // "description": "Required. The name of the Feature resource. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", // "required": true, @@ -65934,9 +66009,10 @@ type ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall struct { // List: Lists Features in a given EntityType. // -// - parent: The resource name of the Location to list Features. Format: +// - parent: The resource name of the Location to list Features. Format +// for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore -// }/entityTypes/{entity_type}` +// }/entityTypes/{entity_type}` Format for feature_group as parent: // `projects/{project}/locations/{location}/featureGroups/{feature_grou // p}`. func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) List(parent string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall { @@ -65964,11 +66040,12 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Filter(filte return c } -// LatestStatsCount sets the optional parameter "latestStatsCount": If -// set, return the most recent ListFeaturesRequest.latest_stats_count of -// stats for each Feature in response. Valid value is [0, 10]. If number -// of stats exists < ListFeaturesRequest.latest_stats_count, return all -// existing stats. +// LatestStatsCount sets the optional parameter "latestStatsCount": Only +// applicable for Vertex AI Feature Store (Legacy). If set, return the +// most recent ListFeaturesRequest.latest_stats_count of stats for each +// Feature in response. Valid value is [0, 10]. If number of stats +// exists < ListFeaturesRequest.latest_stats_count, return all existing +// stats. func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) LatestStatsCount(latestStatsCount int64) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall { c.urlParams_.Set("latestStatsCount", fmt.Sprint(latestStatsCount)) return c @@ -65994,10 +66071,12 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) PageSize(pag } // PageToken sets the optional parameter "pageToken": A page token, -// received from a previous FeaturestoreService.ListFeatures call. -// Provide this to retrieve the subsequent page. When paginating, all -// other parameters provided to FeaturestoreService.ListFeatures must -// match the call that provided the page token. +// received from a previous FeaturestoreService.ListFeatures call or +// FeatureRegistryService.ListFeatures call. Provide this to retrieve +// the subsequent page. When paginating, all other parameters provided +// to FeaturestoreService.ListFeatures or or +// FeatureRegistryService.ListFeatures must match the call that provided +// the page token. func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) PageToken(pageToken string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -66125,7 +66204,7 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Do(opts ...g // "type": "string" // }, // "latestStatsCount": { - // "description": "If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", + // "description": "Only applicable for Vertex AI Feature Store (Legacy). If set, return the most recent ListFeaturesRequest.latest_stats_count of stats for each Feature in response. Valid value is [0, 10]. If number of stats exists \u003c ListFeaturesRequest.latest_stats_count, return all existing stats.", // "format": "int32", // "location": "query", // "type": "integer" @@ -66142,12 +66221,12 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesListCall) Do(opts ...g // "type": "integer" // }, // "pageToken": { - // "description": "A page token, received from a previous FeaturestoreService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures must match the call that provided the page token.", + // "description": "A page token, received from a previous FeaturestoreService.ListFeatures call or FeatureRegistryService.ListFeatures call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures must match the call that provided the page token.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The resource name of the Location to list Features. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`", + // "description": "Required. The resource name of the Location to list Features. Format for entity_type as parent: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` Format for feature_group as parent: `projects/{project}/locations/{location}/featureGroups/{feature_group}`", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+$", // "required": true, @@ -66207,11 +66286,13 @@ type ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall struct { // // - name: Immutable. Name of the Feature. Format: // `projects/{project}/locations/{location}/featurestores/{featurestore -// }/entityTypes/{entity_type}/features/{feature}` The last part -// feature is assigned by the client. The feature can be up to 64 -// characters long and can consist only of ASCII Latin letters A-Z and -// a-z, underscore(_), and ASCII digits 0-9 starting with a letter. -// The value will be unique given an entity type. +// }/entityTypes/{entity_type}/features/{feature}` +// `projects/{project}/locations/{location}/featureGroups/{feature_grou +// p}/features/{feature}` The last part feature is assigned by the +// client. The feature can be up to 64 characters long and can consist +// only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII +// digits 0-9 starting with a letter. The value will be unique given +// an entity type. func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Patch(name string, googlecloudaiplatformv1beta1feature *GoogleCloudAiplatformV1beta1Feature) *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall { c := &ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -66226,7 +66307,8 @@ func (r *ProjectsLocationsFeaturestoresEntityTypesFeaturesService) Patch(name st // it is in the mask. If the user does not provide a mask then only the // non-empty fields present in the request will be overwritten. Set the // update_mask to `*` to override all fields. Updatable fields: * -// `description` * `labels` * `disable_monitoring` +// `description` * `labels` * `disable_monitoring` (Not supported for +// FeatureRegistry Feature) func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -66333,14 +66415,14 @@ func (c *ProjectsLocationsFeaturestoresEntityTypesFeaturesPatchCall) Do(opts ... // ], // "parameters": { // "name": { - // "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", + // "description": "Immutable. Name of the Feature. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` The last part feature is assigned by the client. The feature can be up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will be unique given an entity type.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/features/[^/]+$", // "required": true, // "type": "string" // }, // "updateMask": { - // "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring`", + // "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/alloydb/v1alpha/alloydb-api.json b/alloydb/v1alpha/alloydb-api.json index dcc283b7b9c..da0ecb53f0e 100644 --- a/alloydb/v1alpha/alloydb-api.json +++ b/alloydb/v1alpha/alloydb-api.json @@ -1489,7 +1489,7 @@ } } }, - "revision": "20231006", + "revision": "20231011", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AutomatedBackupPolicy": { @@ -3146,7 +3146,8 @@ }, "resourceId": { "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", - "description": "Required. Primary key associated with the Resource" + "deprecated": true, + "description": "Primary key associated with the Resource. resource_id is available in individual feed level as well." }, "resourceMetadata": { "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata" @@ -3213,7 +3214,7 @@ "type": "string" }, "resourceContainer": { - "description": "Closest parent container of this resource. In GCP, 'container' refers to a Cloud Resource Manager project. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"gcp/projects/123\".", + "description": "Closest parent container of this resource. In GCP, 'container' refers to a Cloud Resource Manager project. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"gcp/projects/123\". For GCP provided resources, number should be project number.", "type": "string" }, "resourceName": { @@ -3509,7 +3510,7 @@ "description": "The product this resource represents." }, "resourceContainer": { - "description": "Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"gcp/projects/123\".", + "description": "Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"gcp/projects/123\". For GCP provided resources, number should be project number.", "type": "string" }, "resourceName": { diff --git a/alloydb/v1alpha/alloydb-gen.go b/alloydb/v1alpha/alloydb-gen.go index 4c10c18c9ba..edc9c58e654 100644 --- a/alloydb/v1alpha/alloydb-gen.go +++ b/alloydb/v1alpha/alloydb-gen.go @@ -2713,7 +2713,8 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed struct { // CLs ResourceHealthSignalData *StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData `json:"resourceHealthSignalData,omitempty"` - // ResourceId: Required. Primary key associated with the Resource + // ResourceId: Primary key associated with the Resource. resource_id is + // available in individual feed level as well. ResourceId *StorageDatabasecenterPartnerapiV1mainDatabaseResourceId `json:"resourceId,omitempty"` ResourceMetadata *StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata `json:"resourceMetadata,omitempty"` @@ -2793,7 +2794,8 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData struc // ResourceContainer: Closest parent container of this resource. In GCP, // 'container' refers to a Cloud Resource Manager project. It must be // resource name of a Cloud Resource Manager project with the format of - // "provider//", such as "gcp/projects/123". + // "provider//", such as "gcp/projects/123". For GCP provided resources, + // number should be project number. ResourceContainer string `json:"resourceContainer,omitempty"` // ResourceName: Required. Database resource name associated with the @@ -3116,6 +3118,7 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata struct { // ResourceContainer: Closest parent Cloud Resource Manager container of // this resource. It must be resource name of a Cloud Resource Manager // project with the format of "provider//", such as "gcp/projects/123". + // For GCP provided resources, number should be project number. ResourceContainer string `json:"resourceContainer,omitempty"` // ResourceName: Required. Different from DatabaseResourceId.unique_id, diff --git a/backupdr/v1/backupdr-api.json b/backupdr/v1/backupdr-api.json index 9142b702779..ff917b30fa1 100644 --- a/backupdr/v1/backupdr-api.json +++ b/backupdr/v1/backupdr-api.json @@ -14,7 +14,7 @@ "canonicalName": "Backupdr", "description": "", "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/", + "documentationLink": "https://cloud.google.com/backup-disaster-recovery", "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -535,7 +535,7 @@ } } }, - "revision": "20230919", + "revision": "20231008", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/backupdr/v1/backupdr-gen.go b/backupdr/v1/backupdr-gen.go index 7fabef2ad91..efe64e1eec7 100644 --- a/backupdr/v1/backupdr-gen.go +++ b/backupdr/v1/backupdr-gen.go @@ -6,7 +6,7 @@ // Package backupdr provides access to the Backup and DR Service API. // -// For product documentation, see: https://cloud.google.com/ +// For product documentation, see: https://cloud.google.com/backup-disaster-recovery // // # Library status // diff --git a/blockchainnodeengine/v1/blockchainnodeengine-api.json b/blockchainnodeengine/v1/blockchainnodeengine-api.json index 33cd32b8139..230406e5283 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-api.json +++ b/blockchainnodeengine/v1/blockchainnodeengine-api.json @@ -487,7 +487,7 @@ } } }, - "revision": "20230920", + "revision": "20231011", "rootUrl": "https://blockchainnodeengine.googleapis.com/", "schemas": { "BlockchainNode": { @@ -677,7 +677,7 @@ "The network has not been specified, but should be.", "The Ethereum Mainnet.", "The Ethereum Testnet based on Goerli protocol.", - "The Ethereum Testnet based on Sepolia/Bepolia protocol." + "The Ethereum Testnet based on Sepolia/Bepolia protocol. See https://github.com/eth-clients/sepolia." ], "type": "string" }, diff --git a/blockchainnodeengine/v1/blockchainnodeengine-gen.go b/blockchainnodeengine/v1/blockchainnodeengine-gen.go index 8ed39aa4a40..8d02465bdd4 100644 --- a/blockchainnodeengine/v1/blockchainnodeengine-gen.go +++ b/blockchainnodeengine/v1/blockchainnodeengine-gen.go @@ -412,7 +412,7 @@ type EthereumDetails struct { // "TESTNET_GOERLI_PRATER" - The Ethereum Testnet based on Goerli // protocol. // "TESTNET_SEPOLIA" - The Ethereum Testnet based on Sepolia/Bepolia - // protocol. + // protocol. See https://github.com/eth-clients/sepolia. Network string `json:"network,omitempty"` // NodeType: Immutable. The type of Ethereum node. diff --git a/cloudasset/v1/cloudasset-api.json b/cloudasset/v1/cloudasset-api.json index 5470da26e1d..b31ceed99d5 100644 --- a/cloudasset/v1/cloudasset-api.json +++ b/cloudasset/v1/cloudasset-api.json @@ -731,7 +731,7 @@ "type": "string" }, "filter": { - "description": "The expression to filter AnalyzeOrgPoliciesResponse.org_policy_results. The only supported field is `consolidated_policy.attached_resource`, and the only supported operator is `=`. Example: consolidated_policy.attached_resource=\"//cloudresourcemanager.googleapis.com/folders/001\" will return the org policy results of\"folders/001\".", + "description": "The expression to filter AnalyzeOrgPoliciesResponse.org_policy_results. Filtering is currently available for bare literal values and the following fields: * consolidated_policy.attached_resource * consolidated_policy.rules.enforce When filtering by a specific field, the only supported operator is `=`. For example, filtering by consolidated_policy.attached_resource=\"//cloudresourcemanager.googleapis.com/folders/001\" will return all the Organization Policy results attached to \"folders/001\".", "location": "query", "type": "string" }, @@ -777,7 +777,7 @@ "type": "string" }, "filter": { - "description": "The expression to filter the governed assets in result. The only supported fields for governed resources are `governed_resource.project` and `governed_resource.folders`. The only supported fields for governed iam policies are `governed_iam_policy.project` and `governed_iam_policy.folders`. The only supported operator is `=`. Example 1: governed_resource.project=\"projects/12345678\" filter will return all governed resources under projects/12345678 including the project ifself, if applicable. Example 2: governed_iam_policy.folders=\"folders/12345678\" filter will return all governed iam policies under folders/12345678, if applicable.", + "description": "The expression to filter AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets. For governed resources, filtering is currently available for bare literal values and the following fields: * governed_resource.project * governed_resource.folders * consolidated_policy.rules.enforce When filtering by `governed_resource.project` or `consolidated_policy.rules.enforce`, the only supported operator is `=`. When filtering by `governed_resource.folders`, the supported operators are `=` and `:`. For example, filtering by `governed_resource.project=\"projects/12345678\"` will return all the governed resources under \"projects/12345678\", including the project itself if applicable. For governed IAM policies, filtering is currently available for bare literal values and the following fields: * governed_iam_policy.project * governed_iam_policy.folders * consolidated_policy.rules.enforce When filtering by `governed_iam_policy.project` or `consolidated_policy.rules.enforce`, the only supported operator is `=`. When filtering by `governed_iam_policy.folders`, the supported operators are `=` and `:`. For example, filtering by `governed_iam_policy.folders:\"folders/12345678\"` will return all the governed IAM policies under \"folders/001\".", "location": "query", "type": "string" }, @@ -823,7 +823,7 @@ "type": "string" }, "filter": { - "description": "The expression to filter the governed containers in result. The only supported field is `parent`, and the only supported operator is `=`. Example: parent=\"//cloudresourcemanager.googleapis.com/folders/001\" will return all containers under \"folders/001\".", + "description": "The expression to filter AnalyzeOrgPolicyGovernedContainersResponse.governed_containers. Filtering is currently available for bare literal values and the following fields: * parent * consolidated_policy.rules.enforce When filtering by a specific field, the only supported operator is `=`. For example, filtering by parent=\"//cloudresourcemanager.googleapis.com/folders/001\" will return all the containers under \"folders/001\".", "location": "query", "type": "string" }, @@ -1095,7 +1095,7 @@ } } }, - "revision": "20231006", + "revision": "20231013", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index ff1a1dc542f..e20b92cb920 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -10111,12 +10111,14 @@ func (c *V1AnalyzeOrgPoliciesCall) Constraint(constraint string) *V1AnalyzeOrgPo } // Filter sets the optional parameter "filter": The expression to filter -// AnalyzeOrgPoliciesResponse.org_policy_results. The only supported -// field is `consolidated_policy.attached_resource`, and the only -// supported operator is `=`. Example: +// AnalyzeOrgPoliciesResponse.org_policy_results. Filtering is currently +// available for bare literal values and the following fields: * +// consolidated_policy.attached_resource * +// consolidated_policy.rules.enforce When filtering by a specific field, +// the only supported operator is `=`. For example, filtering by // consolidated_policy.attached_resource="//cloudresourcemanager.googleap -// is.com/folders/001" will return the org policy results -// of"folders/001". +// is.com/folders/001" will return all the Organization Policy results +// attached to "folders/001". func (c *V1AnalyzeOrgPoliciesCall) Filter(filter string) *V1AnalyzeOrgPoliciesCall { c.urlParams_.Set("filter", filter) return c @@ -10251,7 +10253,7 @@ func (c *V1AnalyzeOrgPoliciesCall) Do(opts ...googleapi.CallOption) (*AnalyzeOrg // "type": "string" // }, // "filter": { - // "description": "The expression to filter AnalyzeOrgPoliciesResponse.org_policy_results. The only supported field is `consolidated_policy.attached_resource`, and the only supported operator is `=`. Example: consolidated_policy.attached_resource=\"//cloudresourcemanager.googleapis.com/folders/001\" will return the org policy results of\"folders/001\".", + // "description": "The expression to filter AnalyzeOrgPoliciesResponse.org_policy_results. Filtering is currently available for bare literal values and the following fields: * consolidated_policy.attached_resource * consolidated_policy.rules.enforce When filtering by a specific field, the only supported operator is `=`. For example, filtering by consolidated_policy.attached_resource=\"//cloudresourcemanager.googleapis.com/folders/001\" will return all the Organization Policy results attached to \"folders/001\".", // "location": "query", // "type": "string" // }, @@ -10352,16 +10354,26 @@ func (c *V1AnalyzeOrgPolicyGovernedAssetsCall) Constraint(constraint string) *V1 } // Filter sets the optional parameter "filter": The expression to filter -// the governed assets in result. The only supported fields for governed -// resources are `governed_resource.project` and -// `governed_resource.folders`. The only supported fields for governed -// iam policies are `governed_iam_policy.project` and -// `governed_iam_policy.folders`. The only supported operator is `=`. -// Example 1: governed_resource.project="projects/12345678" filter will -// return all governed resources under projects/12345678 including the -// project ifself, if applicable. Example 2: -// governed_iam_policy.folders="folders/12345678" filter will return all -// governed iam policies under folders/12345678, if applicable. +// AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets. For governed +// resources, filtering is currently available for bare literal values +// and the following fields: * governed_resource.project * +// governed_resource.folders * consolidated_policy.rules.enforce When +// filtering by `governed_resource.project` or +// `consolidated_policy.rules.enforce`, the only supported operator is +// `=`. When filtering by `governed_resource.folders`, the supported +// operators are `=` and `:`. For example, filtering by +// `governed_resource.project="projects/12345678" will return all the +// governed resources under "projects/12345678", including the project +// itself if applicable. For governed IAM policies, filtering is +// currently available for bare literal values and the following fields: +// * governed_iam_policy.project * governed_iam_policy.folders * +// consolidated_policy.rules.enforce When filtering by +// `governed_iam_policy.project` or `consolidated_policy.rules.enforce`, +// the only supported operator is `=`. When filtering by +// `governed_iam_policy.folders`, the supported operators are `=` and +// `:`. For example, filtering by +// `governed_iam_policy.folders:"folders/12345678" will return all the +// governed IAM policies under "folders/001". func (c *V1AnalyzeOrgPolicyGovernedAssetsCall) Filter(filter string) *V1AnalyzeOrgPolicyGovernedAssetsCall { c.urlParams_.Set("filter", filter) return c @@ -10497,7 +10509,7 @@ func (c *V1AnalyzeOrgPolicyGovernedAssetsCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "filter": { - // "description": "The expression to filter the governed assets in result. The only supported fields for governed resources are `governed_resource.project` and `governed_resource.folders`. The only supported fields for governed iam policies are `governed_iam_policy.project` and `governed_iam_policy.folders`. The only supported operator is `=`. Example 1: governed_resource.project=\"projects/12345678\" filter will return all governed resources under projects/12345678 including the project ifself, if applicable. Example 2: governed_iam_policy.folders=\"folders/12345678\" filter will return all governed iam policies under folders/12345678, if applicable.", + // "description": "The expression to filter AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets. For governed resources, filtering is currently available for bare literal values and the following fields: * governed_resource.project * governed_resource.folders * consolidated_policy.rules.enforce When filtering by `governed_resource.project` or `consolidated_policy.rules.enforce`, the only supported operator is `=`. When filtering by `governed_resource.folders`, the supported operators are `=` and `:`. For example, filtering by `governed_resource.project=\"projects/12345678\"` will return all the governed resources under \"projects/12345678\", including the project itself if applicable. For governed IAM policies, filtering is currently available for bare literal values and the following fields: * governed_iam_policy.project * governed_iam_policy.folders * consolidated_policy.rules.enforce When filtering by `governed_iam_policy.project` or `consolidated_policy.rules.enforce`, the only supported operator is `=`. When filtering by `governed_iam_policy.folders`, the supported operators are `=` and `:`. For example, filtering by `governed_iam_policy.folders:\"folders/12345678\"` will return all the governed IAM policies under \"folders/001\".", // "location": "query", // "type": "string" // }, @@ -10588,10 +10600,13 @@ func (c *V1AnalyzeOrgPolicyGovernedContainersCall) Constraint(constraint string) } // Filter sets the optional parameter "filter": The expression to filter -// the governed containers in result. The only supported field is -// `parent`, and the only supported operator is `=`. Example: +// AnalyzeOrgPolicyGovernedContainersResponse.governed_containers. +// Filtering is currently available for bare literal values and the +// following fields: * parent * consolidated_policy.rules.enforce When +// filtering by a specific field, the only supported operator is `=`. +// For example, filtering by // parent="//cloudresourcemanager.googleapis.com/folders/001" will -// return all containers under "folders/001". +// return all the containers under "folders/001". func (c *V1AnalyzeOrgPolicyGovernedContainersCall) Filter(filter string) *V1AnalyzeOrgPolicyGovernedContainersCall { c.urlParams_.Set("filter", filter) return c @@ -10728,7 +10743,7 @@ func (c *V1AnalyzeOrgPolicyGovernedContainersCall) Do(opts ...googleapi.CallOpti // "type": "string" // }, // "filter": { - // "description": "The expression to filter the governed containers in result. The only supported field is `parent`, and the only supported operator is `=`. Example: parent=\"//cloudresourcemanager.googleapis.com/folders/001\" will return all containers under \"folders/001\".", + // "description": "The expression to filter AnalyzeOrgPolicyGovernedContainersResponse.governed_containers. Filtering is currently available for bare literal values and the following fields: * parent * consolidated_policy.rules.enforce When filtering by a specific field, the only supported operator is `=`. For example, filtering by parent=\"//cloudresourcemanager.googleapis.com/folders/001\" will return all the containers under \"folders/001\".", // "location": "query", // "type": "string" // }, diff --git a/clouddeploy/v1/clouddeploy-api.json b/clouddeploy/v1/clouddeploy-api.json index 3faa372b93b..95775cbb3d6 100644 --- a/clouddeploy/v1/clouddeploy-api.json +++ b/clouddeploy/v1/clouddeploy-api.json @@ -1479,7 +1479,7 @@ } } }, - "revision": "20231004", + "revision": "20231015", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -1878,6 +1878,11 @@ "description": "CloudRunMetadata contains information from a Cloud Run deployment.", "id": "CloudRunMetadata", "properties": { + "job": { + "description": "Output only. The name of the Cloud Run job that is associated with a `Rollout`. Format is projects/{project}/locations/{location}/jobs/{job_name}.", + "readOnly": true, + "type": "string" + }, "revision": { "description": "Output only. The Cloud Run Revision id associated with a `Rollout`.", "readOnly": true, diff --git a/clouddeploy/v1/clouddeploy-gen.go b/clouddeploy/v1/clouddeploy-gen.go index ab67b89957a..648300c10cc 100644 --- a/clouddeploy/v1/clouddeploy-gen.go +++ b/clouddeploy/v1/clouddeploy-gen.go @@ -920,6 +920,11 @@ func (s *CloudRunLocation) MarshalJSON() ([]byte, error) { // CloudRunMetadata: CloudRunMetadata contains information from a Cloud // Run deployment. type CloudRunMetadata struct { + // Job: Output only. The name of the Cloud Run job that is associated + // with a `Rollout`. Format is + // projects/{project}/locations/{location}/jobs/{job_name}. + Job string `json:"job,omitempty"` + // Revision: Output only. The Cloud Run Revision id associated with a // `Rollout`. Revision string `json:"revision,omitempty"` @@ -933,7 +938,7 @@ type CloudRunMetadata struct { // associated with a `Rollout`. ServiceUrls []string `json:"serviceUrls,omitempty"` - // ForceSendFields is a list of field names (e.g. "Revision") to + // ForceSendFields is a list of field names (e.g. "Job") 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 @@ -941,8 +946,8 @@ type CloudRunMetadata struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Revision") to include in - // API requests with the JSON null value. By default, fields with empty + // NullFields is a list of field names (e.g. "Job") 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. diff --git a/cloudfunctions/v1/cloudfunctions-api.json b/cloudfunctions/v1/cloudfunctions-api.json index 23b309f9fc6..7832394a824 100644 --- a/cloudfunctions/v1/cloudfunctions-api.json +++ b/cloudfunctions/v1/cloudfunctions-api.json @@ -372,6 +372,12 @@ "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", "required": true, "type": "string" + }, + "versionId": { + "description": "Optional. The optional version of the function whose details should be obtained. The version of a 1st Gen function is an integer that starts from 1 and gets incremented on redeployments. Each deployment creates a config version of the underlying function. GCF may keep historical configs for old versions. This field can be specified to fetch the historical configs. Leave it blank or set to 0 to get the latest version of the function.", + "format": "int64", + "location": "query", + "type": "string" } }, "path": "v1/{+name}", @@ -546,7 +552,7 @@ } } }, - "revision": "20230803", + "revision": "20231012", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index 7eb77a6e994..3c0c48a4ab0 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -3671,6 +3671,19 @@ func (r *ProjectsLocationsFunctionsService) Get(name string) *ProjectsLocationsF return c } +// VersionId sets the optional parameter "versionId": The optional +// version of the function whose details should be obtained. The version +// of a 1st Gen function is an integer that starts from 1 and gets +// incremented on redeployments. Each deployment creates a config +// version of the underlying function. GCF may keep historical configs +// for old versions. This field can be specified to fetch the historical +// configs. Leave it blank or set to 0 to get the latest version of the +// function. +func (c *ProjectsLocationsFunctionsGetCall) VersionId(versionId int64) *ProjectsLocationsFunctionsGetCall { + c.urlParams_.Set("versionId", fmt.Sprint(versionId)) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -3784,6 +3797,12 @@ func (c *ProjectsLocationsFunctionsGetCall) Do(opts ...googleapi.CallOption) (*C // "pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$", // "required": true, // "type": "string" + // }, + // "versionId": { + // "description": "Optional. The optional version of the function whose details should be obtained. The version of a 1st Gen function is an integer that starts from 1 and gets incremented on redeployments. Each deployment creates a config version of the underlying function. GCF may keep historical configs for old versions. This field can be specified to fetch the historical configs. Leave it blank or set to 0 to get the latest version of the function.", + // "format": "int64", + // "location": "query", + // "type": "string" // } // }, // "path": "v1/{+name}", diff --git a/contentwarehouse/v1/contentwarehouse-api.json b/contentwarehouse/v1/contentwarehouse-api.json index 2b9c957e940..099ce6fe49c 100644 --- a/contentwarehouse/v1/contentwarehouse-api.json +++ b/contentwarehouse/v1/contentwarehouse-api.json @@ -1156,7 +1156,7 @@ } } }, - "revision": "20231006", + "revision": "20231011", "rootUrl": "https://contentwarehouse.googleapis.com/", "schemas": { "AbuseiamAbuseType": { @@ -3732,7 +3732,8 @@ "SUPPORT_CLASSIFICATION_UI_AFFINITY", "NOTEBOOKLM_AFFINITY", "PLAYSPACE_LABS_AFFINITY", - "ZOMBIE_CLOUD_AFFINITY" + "ZOMBIE_CLOUD_AFFINITY", + "RELATIONSHIPS_AFFINITY" ], "enumDeprecated": [ false, @@ -4005,6 +4006,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -4278,6 +4280,7 @@ "", "", "", + "", "" ], "type": "string" @@ -6673,7 +6676,7 @@ "description": "This field is stored in contact annotations and merged at read-time. It is available with CONTACT_ANNOTATION container type at read time." }, "shortDisplayName": { - "description": "Read-only. A possibly shorter version of the user's name. - The purpose of this field is to address the needs of UIs where a full display name might be too large to fit. Instead of relying on `first_name`, which might not be present, `short_display_name` is preferred. - This is only available for PROFILE and DOMAIN_PROFILE container types. - About the actual content in this field: will be the first name when it's visible to the requester, or the same as `display_name`, otherwise. A sample scenario where the first name may not be visible is when the limited profile is returned. For more info, see: http://shortn/_9iV7TJ33la", + "description": "NOTE: this is currently NOT IMPLEMENTED due to changed priorities. Clients usually rely on \"first name\" instead, when a short name is needed. Read-only. A possibly shorter version of the user's name. - The purpose of this field is to address the needs of UIs where a full display name might be too large to fit. Instead of relying on `first_name`, which might not be present, `short_display_name` is preferred. - This is only available for PROFILE and DOMAIN_PROFILE container types. - About the actual content in this field: will be the first name when it's visible to the requester, or the same as `display_name`, otherwise. A sample scenario where the first name may not be visible is when the limited profile is returned. For more info, see: http://shortn/_9iV7TJ33la", "type": "string" }, "unstructuredName": { @@ -13122,13 +13125,201 @@ }, "AssistantApiCoreTypesSurfaceIdentity": { "deprecated": true, - "description": "The set of information that helps the server identify the surface. This replaces the User-Agent string within the Assistant Server. Note: The SurfaceIdentity proto should only be used to derive the capabilities of a surface. It should not be accessed outside of the CapabilityBuilder or CapabilityChecker. NEXT ID: 5 IMPORTANT: The definitions of the SurfaceIdentity and SurfaceVersion protos are being moved to //assistant/api/core_types/governed/surface_identity.proto All existing references will be updated to point to the new location. If you are adding a reference, use the new SurfaceIdentity and SurfaceVersion protos instead of the protos defined here. LINT.IfChange", + "description": "The set of information that helps the server identify the surface. This replaces the User-Agent string within the Assistant Server. Note: The SurfaceIdentity proto should only be used to derive the capabilities of a surface. It should not be accessed outside of the CapabilityBuilder or CapabilityChecker. NEXT ID: 6 IMPORTANT: The definitions of the SurfaceIdentity and SurfaceVersion protos are being moved to //assistant/api/core_types/governed/surface_identity.proto All existing references will be updated to point to the new location. If you are adding a reference, use the new SurfaceIdentity and SurfaceVersion protos instead of the protos defined here. LINT.IfChange", "id": "AssistantApiCoreTypesSurfaceIdentity", "properties": { "deviceId": { "$ref": "AssistantApiCoreTypesDeviceId", "description": "The identifier of the device." }, + "legacySurfaceType": { + "deprecated": true, + "description": "DEPRECATED: The legacy device's surface type enum. NOTE: Prefer using the ontological `surface_type` field above. If you need to access the legacy surface type, please file a bug and add it in your code to migrate to ontological surface type.", + "enum": [ + "UNKNOWN", + "ANDROID_ALLO", + "ANDROID_AUTO", + "ANDROID_THINGS_CUBE", + "ANDROID_THINGS_JASPER", + "ANDROID_TV", + "ANDROID_TV_KIDS", + "ANDROID_WEAR", + "AR_GLASSES", + "ASSISTANT_SDK", + "AUDIOWEAR", + "BUBBLE_CHARACTERS_IOS", + "CAPABILITY_BASED_SURFACE", + "CHROMECAST_ASSISTANT", + "CHROMECAST_MANHATTAN", + "CHROMECAST_SEARCH", + "CLOUD_DEVICE", + "COMPANION_SCREEN", + "DYNAMITE_WEB", + "ENSEMBLE", + "EYESFREE_AGSA", + "EYESFREE_GMM", + "GBOARD", + "GLASS", + "GOOGLE_HOME", + "HANGOUTS_CHATBOT", + "IOS_ALLO", + "IOS_GSA", + "IOS_WEAR", + "LIBASSISTANT", + "LINE_CHATBOT", + "MULTIMODAL_AGSA", + "NON_ASSISTANT_SURFACE", + "OPA_AGSA", + "OPA_AGSA_CHROME_OS", + "OPA_ANDROID_AUTO", + "OPA_ANDROID_LITE", + "OPA_ANDROID_SCREENLESS", + "OPA_ANDROID_SMART_DISPLAY", + "OPA_ANDROID_TABLET", + "OPA_CROS", + "OPA_GACS", + "OPA_IOS", + "OPA_IOS_SCREENLESS", + "OPA_KAIOS", + "OPA_MOBILE_WEB", + "RTOS_PHONE", + "SMS_CHATBOT", + "TELEGRAM_CHATBOT", + "TELEPHONE_ASSISTANT", + "VERILY_ONDUO", + "YOUTUBE_APP", + "AGSA_BISTO_FOR_EVAL", + "COGSWORTH_FOR_EVAL", + "LOCKHART_MIC_FOR_EVAL", + "OPA_ANDROID_AUTO_EMBEDDED_FAKE", + "SPARK", + "WALLE", + "UNIT_TESTING" + ], + "enumDeprecated": [ + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + false, + false, + false + ], + "enumDescriptions": [ + "", + "", + "Deprecated (never used). Use OPA_ANDROID_AUTO instead.", + "Assistant on small screen stationary device.", + "", + "", + "", + "", + "Assistant on AR Glasses with both visual and audio experiences. Ask ar-assistant@ for details.", + "For Assistant SDK gRPC client.", + "", + "go/assistant-lamda-overview-characters", + "Surface for capability based testing.", + "For chrome cast assistant web app.", + "For chrome cast with assistant + screen (e.g., Google Nest Hub).", + "", + "Virtual device for event-based triggering, e.g. executing time", + "scheduled routines: go/routine-cloud-ex For Quartz.", + "", + "", + "Deprecated. Please use OPA_ANDROID_SCREENLESS.", + "", + "For Gboard app", + "", + "", + "", + "", + "", + "", + "For standalone libassistant devices.", + "LINE 3P messaging app", + "Deprecated.", + "Surfaces that do not speak to the Assistant, i.e. web HQ", + "Assistant on Android phones accessed through the Google App (velvet). This represents neither all of the assistant on android phones (ANDROID_ALLO, VERILY_ONDUO, etc.) nor all of the assistant built on top of AGSA (ANDROID_WEAR, OPA_ANDROID_SCREENLESS, OPA_AGSA_CHROME_OS, etc.).", + "Deprecated. Please use OPA_CROS.", + "", + "This is OPA on Android Go (not part of AGSA)", + "Assistant on Nexus with screen off/locked. Use go/bisto device to trigger.", + "Assistant on Titan hub mode (go/titan-hubmode-surface). This is OPA Android first party Smart Display devices. The UI experience is built on Opal (Gallium and Flutter) and native Android.", + "Assistant on Android tablet", + "Assistant on native Chrome OS (go/croissant).", + "For assistant on GACS devices (go/gacs-dd). Google Assistant Conversation Service (GACS) defines intents the device accepts. This surface serves the intents in the assistant response.", + "", + "Assistant on iOS with screen off/locked. Use go/bisto device to trigger.", + "Assistant on KaiOS. go/kaiosama", + "Assistant on Mobile Web. go/opa-spidey", + "Assistant on low-cost RTOS phones (go/conceRTOS).", + "", + "Telegram 3P messaging app", + "Assistant on a phone call (go/telephone).", + "", + "A Youtube app.", + "Eval-only surfaces. These surfaces are not real surfaces. They are only used in intermediate steps of eval query and request generation: 1. Eval samplers (OPA query sampler and Cannery sampler) checks logs and temporarily assigns these surface types to the logs, to put Bisto, Lockhart Mic, ... queries in the correct query pools. 2. Request builders uses these surface types to determine how TaskRequest for Bisto, Lockhart Mic, ... should be built, like whether some user user agent should be used, whether some entry source should be set. The surface types in the generated TaskRequest is still the production surface types, like OPA_ANDROID_SCREENLESS or OPA_AGSA. Temp surface for Bisto Android eval. Will be merged with OPA_ANDROID_SCREENLESS in the future.", + "", + "", + "OPA_ANDROID_AUTO has another sub-surface (embedded) that differs in the reported capabilities, client-ops, flags but uses the same surface_type string of OPA_ANDROID_AUTO. This fake surface would allow running turing2 tests and evals for this embedded surface. Deprecated as of Feb 2019. Please use \"OPA_ANDROID_AUTO_EMBEDDED\" client type for tests and eval. See go/client-onboarding for more details. https://cs.corp.google.com/piper///depot/google3/assistant/assistant_server/tools/util/consts.h?l=32\u0026rcl=247481455", + "Unlaunched new surface prototype, ask spark-eng@.", + "Wall-E is an Area120 Project building assistant powered robots. The surface is an extended joplin which have same capabilities as a google home adding custom robot features. Currently in active development. Please reach out walle-software@ or bingxin@ for questions. For details see go/walle-as-pipeline-1-pager.", + "Surface used for unit-testing purposes. Unit-tests might still require the existence of a \"valid\" SurfaceType to succeed (eg. initialization of the CapabilityBuilder, proto matching, etc.). With the move away from SurfaceType checks, a generic \"TESTING\" SurfaceType can be used for such tests without affecting the test behavior. Unlike the CAPABILITY_BASED_SURFACE, this proto does not have any capabilities or ResponseType tied to it. It should only be used for unit-tests and should not be exposed in the ASDebugger." + ], + "type": "string" + }, "surfaceType": { "description": "The device's surface type. The types are defined at google3/assistant/api/core_types/surfaces.gcl. For more details, refer to go/ontologicalize-surface-type.", "enum": [ @@ -19508,7 +19699,7 @@ "type": "object" }, "AssistantGroundingRankerDeviceTargetingFeaturesStates": { - "description": "The states of the device. They are dynamic and may change based on the current context. Next ID: 13", + "description": "The states of the device. They are dynamic and may change based on the current context. Next ID: 15", "id": "AssistantGroundingRankerDeviceTargetingFeaturesStates", "properties": { "distance": { @@ -19570,6 +19761,34 @@ "isTethered": { "description": "Indicate whether the device is tethered to another device.", "type": "boolean" + }, + "mediaFocusStateFromHearingDevice": { + "description": "Indicates the state of media focus from a separate non-local hearing device.", + "enum": [ + "NO_FOCUS", + "HARD_FOCUS", + "SOFT_FOCUS" + ], + "enumDescriptions": [ + "There is no focus device available or the focus is invalid.", + "The focus is valid and there is a playing session on focus device.", + "The focus is valid however there is no playing session on focus device and might require confirmation from user (dialog) before proceeding to use focus device." + ], + "type": "string" + }, + "mediaFocusStateFromLocalDevice": { + "description": "Indicates the state of media focus from a separate local device.", + "enum": [ + "NO_FOCUS", + "HARD_FOCUS", + "SOFT_FOCUS" + ], + "enumDescriptions": [ + "There is no focus device available or the focus is invalid.", + "The focus is valid and there is a playing session on focus device.", + "The focus is valid however there is no playing session on focus device and might require confirmation from user (dialog) before proceeding to use focus device." + ], + "type": "string" } }, "type": "object" @@ -19707,7 +19926,7 @@ "type": "object" }, "AssistantGroundingRankerMediaGroundingProviderFeatures": { - "description": "Features to be passed from Media GP to HGR. Next ID: 19", + "description": "Features to be passed from Media GP to HGR. Next ID: 20", "id": "AssistantGroundingRankerMediaGroundingProviderFeatures", "properties": { "albumReleaseType": { @@ -19781,6 +20000,22 @@ "description": "Indicates whether this is youtube content seeking music.", "type": "boolean" }, + "mediaAccountType": { + "description": "Account Type of the user for the provider", + "enum": [ + "ANONYMOUS_ACCOUNT", + "BASIC_SUBSCRIPTION", + "PREMIUM_SUBSCRIPTION", + "FREE_CONTENT" + ], + "enumDescriptions": [ + "User has not signed-in.", + "The user has signed-in for an account with basic subscription. This is the case, for example, with Video On Demand (VOD) or for music services such as Google Play Music All Access.", + "The user has signed-in for an account with premium subscription. This is the case, for example, with Pay TV services like Flix.", + "The user signed-in for free content." + ], + "type": "string" + }, "mediaContentType": { "description": "MediaAquaAction::media_content_type from interpretation. It can be used for cross-content type ranking, for example, if a candidate's content type does not match this content type from interpretation, this candidate will be slightly demoted. Also, we might avoid fetching some signals when the content type is generic music, since some content types do not need ranking.", "enum": [ @@ -22034,7 +22269,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: 66", + "description": "Signals to be used by the Prefulfillment Ranker. Derived from the ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange Next ID: 68", "id": "AssistantPrefulfillmentRankerPrefulfillmentSignals", "properties": { "bindingSetAuis": { @@ -22181,6 +22416,10 @@ "description": "Whether the intent is a media control intent.", "type": "boolean" }, + "isNspIntent": { + "description": "Whether this interpretation was genearted by NSP.", + "type": "boolean" + }, "isPlayGenericMusic": { "description": "Whether the intent is a PlayGenericMusic-type intent.", "type": "boolean" @@ -22420,6 +22659,10 @@ "format": "float", "type": "number" }, + "usesGroundingBox": { + "description": "Whether the interpretation should run through grounding box or not.", + "type": "boolean" + }, "verticalConfidenceScore": { "description": "Horizontal feature that stores information about confidence scores for each resolution within the binding set.", "format": "float", @@ -33164,6 +33407,7 @@ "PROVIDER_GOOGLE_GT_LANE_AUTOMATION", "PROVIDER_GOOGLE_GEO_NG_LOCAL", "PROVIDER_GOOGLE_MAPFACTS_CLEANUP", + "PROVIDER_GOOGLE_THIRD_PARTY_UGC", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -33886,6 +34130,7 @@ false, false, false, + false, true, false, false, @@ -34427,7 +34672,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B6", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B7", "ABSTRACT", "", "", @@ -34604,6 +34849,7 @@ "", "", "", + "UMBRELLA", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -38759,7 +39005,7 @@ "properties": { "curvature": { "$ref": "GeostoreCurvatureProto", - "description": "Curvature of the flowline. Note that, curvature can be present even if the flowline doesn't have a track. In which case, curvature will be derived from the segment polyline." + "description": "RESERVED" }, "track": { "$ref": "GeostoreTrackProto" @@ -39470,6 +39716,7 @@ "PROVIDER_GOOGLE_GT_LANE_AUTOMATION", "PROVIDER_GOOGLE_GEO_NG_LOCAL", "PROVIDER_GOOGLE_MAPFACTS_CLEANUP", + "PROVIDER_GOOGLE_THIRD_PARTY_UGC", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -40192,6 +40439,7 @@ false, false, false, + false, true, false, false, @@ -40733,7 +40981,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B6", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B7", "ABSTRACT", "", "", @@ -40910,6 +41158,7 @@ "", "", "", + "UMBRELLA", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -42134,7 +42383,7 @@ "This name is the ISO 3166-2 country subdivision code.", "This name is the country specific ID. For example, China government specifies an admin code for each administrative area (province, city and district).", "This name is an IETF BCP 47 language code, for example \"fr-CA\". Previously used for names of locales. See locale.proto for new way of defining this information.", - "This name is a timezone identifier in the Olson database, for example \"Europe/Zurich\". All timezones have an Olson identifier, understood by POSIX and Google's i18n/identifiers libraries. This flag applies only to features of TYPE_TIMEZONE type and at most one name should have this flag set", + "This name is a timezone identifier in the Olson database, for example \"Europe/Zurich\". All timezones have an Olson identifier, understood by POSIX and Google's i18n/identifiers libraries. This flag applies only to features of TYPE_TIMEZONE type.", "This name is the prefix for a phone number, starting with + and followed by a country code. This flag applies only to features of TYPE_PHONE_NUMBER_PREFIX type and at most one name should have this flag set.", "This name is the commonly used name for the area code of a phone number, including the national prefix if applicable. This flag applies only to features of TYPE_PHONE_NUMBER_AREA_CODE type and at most one name should have this flag set.", "The flag used to indicate the name was transliterated from some other character set. For example, this flag would be set on names transliterated from the Cyrillic or Greek alphabets to a Latin alphabet. The correct approach is to use the Google III language code to specify the appropriate language. For example, Greek transliterated into a Latin alphabet should have a language code of \"el-Latn\".", @@ -42403,6 +42652,7 @@ "PROVIDER_GOOGLE_GT_LANE_AUTOMATION", "PROVIDER_GOOGLE_GEO_NG_LOCAL", "PROVIDER_GOOGLE_MAPFACTS_CLEANUP", + "PROVIDER_GOOGLE_THIRD_PARTY_UGC", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -43125,6 +43375,7 @@ false, false, false, + false, true, false, false, @@ -43666,7 +43917,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B6", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B7", "ABSTRACT", "", "", @@ -43843,6 +44094,7 @@ "", "", "", + "UMBRELLA", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -45639,6 +45891,7 @@ "PROVIDER_GOOGLE_GT_LANE_AUTOMATION", "PROVIDER_GOOGLE_GEO_NG_LOCAL", "PROVIDER_GOOGLE_MAPFACTS_CLEANUP", + "PROVIDER_GOOGLE_THIRD_PARTY_UGC", "PROVIDER_GOOGLE_LOCALSEARCH", "PROVIDER_GOOGLE_TRANSIT", "PROVIDER_GOOGLE_GEOWIKI", @@ -46361,6 +46614,7 @@ false, false, false, + false, true, false, false, @@ -46902,7 +47156,7 @@ "", "ABSTRACT", "", - "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B6", + "All new \"Google\" provider entries must be full ints. The next available ID is: 0x111730B7", "ABSTRACT", "", "", @@ -47079,6 +47333,7 @@ "", "", "", + "UMBRELLA", "The next new \"Google\" provider entries should be placed above.", "UMBRELLA", "", @@ -60622,6 +60877,168 @@ }, "type": "object" }, + "HumanSensingFaceAttribute": { + "description": "Defines a generic attribute. The name field is the name of the attribute (for example beard, glasses, joy). The confidence defines how reliable the given annotation is. For binary attributes it is bounded between 0 and 1 and can be interpreted as the posterior probability. The value field can be used for continuous attributes like age. Information returned or stored in this message may be sensitive from a privacy, policy, or legal point of view. Clients should consult with their p-counsels and the privacy working group (go/pwg) to make sure their use respects Google policies.", + "id": "HumanSensingFaceAttribute", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "name": { + "type": "string" + }, + "type": { + "enum": [ + "TYPE_UNKNOWN", + "FREE_FORM", + "FEMALE", + "MALE", + "AGE", + "NON_HUMAN", + "GLASSES", + "DARK_GLASSES", + "HEADWEAR", + "EYES_VISIBLE", + "LEFT_EYELID_CLOSED", + "RIGHT_EYELID_CLOSED", + "MOUTH_OPEN", + "FACIAL_HAIR", + "LONG_HAIR", + "FRONTAL_GAZE", + "SMILING", + "UNDER_EXPOSED", + "BLURRED", + "LEFT_EYE_VISIBLE", + "RIGHT_EYE_VISIBLE", + "LEFT_EAR_VISIBLE", + "RIGHT_EAR_VISIBLE", + "NOSE_TIP_VISIBLE", + "MOUTH_CENTER_VISIBLE", + "LOWER_FACE_COVERED", + "AMUSEMENT", + "ANGER", + "CONCENTRATION", + "CONFUSION", + "CONTENTMENT", + "DESIRE", + "DISAPPOINTMENT", + "DISGUST", + "ELATION", + "EMBARRASSMENT", + "INTEREST", + "LOVE", + "PAIN", + "PRIDE", + "RELIEF", + "SADNESS", + "SURPRISE", + "CANDID", + "POSED" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "", + "", + "Attribute types that describe the gender of a face. For an attribute if type FEMALE the confidence represent the probability of a face to be from a female person. Similarly, for an attribute of type MALE the confidence is the probability of a face to be from a male person. 4 is reserved for OTHER_GENDER.", + "", + "Attribute type that represent the age of the face. For an attribute of this type the field value represent the age. Values are assumed to be in the range [0, 95].", + "This attributes is used to distinguish actual human faces from other possible face detections like face of sculptures, cartoons faces, and some false detections.", + "Attributes types that describes face appearances/configurations (mouth open, eyes visibles and looking into the camera, smiling) and props (glasses, dark glasses, and headwear).", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "Attributes for the visibility of face landmarks. The landmarks refers to a single point in the image, so the eyes are visible if their center is visible, the ears are visible if the ear tragion is visible.", + "", + "", + "", + "", + "", + "An attribute describing if the lower part of a face is covered by something like a face mask, a scarf or any other type of covering. The expectation is for both the mouth and the nose tip to be covered. This is useful for labeling faces in images captured during the Covid pandemic.", + "FeelNet expressions.", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "value": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, "I18nPhonenumbersPhoneNumber": { "description": "The PhoneNumber object that is used by all LibPhoneNumber API's to fully represent a phone number.", "id": "I18nPhonenumbersPhoneNumber", @@ -61125,7 +61542,7 @@ "type": "object" }, "ImageData": { - "description": "This defines the per-doc data which is extracted from thumbnails and propagated over to indexing. It contains all information that can be used for restricts. Next tag id: 131", + "description": "This defines the per-doc data which is extracted from thumbnails and propagated over to indexing. It contains all information that can be used for restricts. Next tag id: 132", "id": "ImageData", "properties": { "adaboostImageFeaturePorn": { @@ -61249,6 +61666,10 @@ "$ref": "PhotosImageMetadata", "description": "The EXIF generated by photos backend team's (more specifically FIFE's) thumbnailer library. This exif model is more comprehensive since a dedicated team is constantly improving it and adding new fields over time. This is currently populated by moonshine for selected corpora." }, + "faceDetection": { + "$ref": "ReneFaceResponse", + "description": "Face Detection." + }, "featuredImageProp": { "$ref": "ImageMonetizationFeaturedImageProperties", "description": "Properties used in featured imagesearch project. inspiration_score indicates how well an image is related to products, or how inspirational it is." @@ -66057,7 +66478,7 @@ "type": "object" }, "IndexingDocjoinerDataVersion": { - "description": "DataVersion tracks the version of data in CompositeDoc. The notion of \"data\" here is loose and people can define the name of their own. For example, a signal generated by Index Signals or an annotation generated by Goldmine (and other components) can all be considered as data here. Each field in this proto represents the human readable version string and the timestamp of one particular data. We choose to explicitly list out all of the data here for better understanding about which data are tracked. NOTE that human_readable_version is not intended for comparison, use timestamp_micros. In addition, we have an annotation about the field paths of each data. With proto reflection (using google3/net/proto2/util/public/field_path.h), downstream systems can take advantage of this annotation to automatically handle newly introduced data without modifying their code. Please also see the comment of FieldProjector above. There are also some fields in DataInfo that annotate who generates the data, the Index Signals or Goldmine annotator name for the fields already onboarded or being onboarded to FDP. Fields without annotation of signal_names or goldmine_annotator_names are not onboarded. Next ID: 538", + "description": "DataVersion tracks the version of data in CompositeDoc. The notion of \"data\" here is loose and people can define the name of their own. For example, a signal generated by Index Signals or an annotation generated by Goldmine (and other components) can all be considered as data here. Each field in this proto represents the human readable version string and the timestamp of one particular data. We choose to explicitly list out all of the data here for better understanding about which data are tracked. NOTE that human_readable_version is not intended for comparison, use timestamp_micros. In addition, we have an annotation about the field paths of each data. With proto reflection (using google3/net/proto2/util/public/field_path.h), downstream systems can take advantage of this annotation to automatically handle newly introduced data without modifying their code. Please also see the comment of FieldProjector above. There are also some fields in DataInfo that annotate who generates the data, the Index Signals or Goldmine annotator name for the fields already onboarded or being onboarded to FDP. Fields without annotation of signal_names or goldmine_annotator_names are not onboarded. Next ID: 539", "id": "IndexingDocjoinerDataVersion", "properties": { "acceleratedShoppingSignal": { @@ -66265,6 +66686,9 @@ "$ref": "IndexingDocjoinerDataVersionVersionInfo" }, "imageembed": { + "$ref": "IndexingDocjoinerDataVersionVersionInfo" + }, + "imageembedDomainNorm": { "$ref": "IndexingDocjoinerDataVersionVersionInfo", "description": "END DATA FIELDS" }, @@ -90827,6 +91251,7 @@ "SUPPORT_CLASSIFICATION_UI", "NOTEBOOKLM", "ZOMBIE_CLOUD", + "RELATIONSHIPS", "DEPRECATED_QUICKSTART_FLUME", "DUO_CLIENT", "ALBERT", @@ -91482,6 +91907,7 @@ false, false, false, + false, true, false, false, @@ -92137,6 +92563,7 @@ "Support Classification Ui Team contact: support-classification-eng@google.com", "Notebooklm Team contact: labs-tailwind-eng-team@google.com", "Zombie Cloud Team contact: zombie-cloud-eng@google.com", + "Relationships Team contact: hana-dev@google.com", "", "Duo Client Team contact: duo-eng@google.com", "Project albert (go/albert-frontend) Team contact: albert-eng@google.com", @@ -96003,6 +96430,578 @@ }, "type": "object" }, + "PhotosVisionServiceFaceFaceParams": { + "description": "FaceParams are a collection of parameters of a single face found in an image. WARNING: This message has a jspb target. If you add a new message field inside, either put its definition inside this message as well or add the js file corresponding to the new message to the js_deps and proto_js rules in the BUILD file; otherwise it will break lots of builds. The js file name is the message name all in lowercase letters. Next available id: 40.", + "id": "PhotosVisionServiceFaceFaceParams", + "properties": { + "age": { + "description": "The age of the face. Range [0.0, 120.0].", + "format": "float", + "type": "number" + }, + "angerProbability": { + "format": "float", + "type": "number" + }, + "attribute": { + "description": "Attributes for the detected face. Information returned or stored in this message may be sensitive from a privacy, policy, or legal point of view. Clients should consult with their p-counsels and the privacy working group (go/pwg) to make sure their use respects Google policies.", + "items": { + "$ref": "HumanSensingFaceAttribute" + }, + "type": "array" + }, + "beardProbability": { + "format": "float", + "type": "number" + }, + "blurredProbability": { + "format": "float", + "type": "number" + }, + "boundingBox": { + "$ref": "PhotosVisionServiceFaceFaceParamsBoundingBox", + "description": "Bounding box around the face. The coordinates of the bounding box are in the original image's scale as returned in ImageParams. The bounding box is computed to \"frame\" the face as a human would expect, and is typically used in UI (e.g. G+ to show circles around detected faces). It is based on the landmarker results." + }, + "darkGlassesProbability": { + "format": "float", + "type": "number" + }, + "detectionConfidence": { + "description": "Confidence is in the range [0,1].", + "format": "float", + "type": "number" + }, + "extendedLandmarks": { + "items": { + "$ref": "PhotosVisionServiceFaceFaceParamsExtendedLandmark" + }, + "type": "array" + }, + "eyesClosedProbability": { + "format": "float", + "type": "number" + }, + "face2cartoonResults": { + "$ref": "ResearchVisionFace2cartoonFace2CartoonResults", + "description": "Attributes of the detected face useful for generating a cartoon version of the face." + }, + "faceCropV8": { + "$ref": "PhotosVisionServiceFaceFaceParamsFaceCropV8" + }, + "fdBoundingBox": { + "$ref": "PhotosVisionServiceFaceFaceParamsBoundingBox", + "description": "This other bounding box is tighter than the previous one, and encloses only the skin part of the face. It is typically used to eliminate the face from any image analysis that looks up the \"amount of skin\" visible in an image (e.g. safesearch content score). It is not based on the landmarker results, just on the initial face detection, hence the 'fd' prefix." + }, + "femaleProbability": { + "description": "Probability is in the range [0,1].", + "format": "float", + "type": "number" + }, + "frontalGazeProbability": { + "format": "float", + "type": "number" + }, + "glassesProbability": { + "format": "float", + "type": "number" + }, + "headwearProbability": { + "format": "float", + "type": "number" + }, + "imageParams": { + "$ref": "PhotosVisionServiceFaceImageParams", + "description": "A copy of the 'image_params' field that is also returned as part of the ExtractFacesReply. It contains the with and height of the image the face extraction was performed on and provides the original frame of reference for the bounding boxes above." + }, + "joyProbability": { + "format": "float", + "type": "number" + }, + "landmarkPositions": { + "items": { + "$ref": "PhotosVisionServiceFaceFaceParamsLandmarkPosition" + }, + "type": "array" + }, + "landmarkingConfidence": { + "format": "float", + "type": "number" + }, + "leftEyeClosedProbability": { + "format": "float", + "type": "number" + }, + "longHairProbability": { + "format": "float", + "type": "number" + }, + "mouthOpenProbability": { + "format": "float", + "type": "number" + }, + "nonHumanProbability": { + "format": "float", + "type": "number" + }, + "panAngle": { + "description": "Yaw angle. Indicates how much leftward/rightward the face is pointing relative to the vertical plane perpendicular to the image. Range [-180,180].", + "format": "float", + "type": "number" + }, + "poseMatrix": { + "$ref": "PhotosVisionServiceFaceFaceParamsPoseMatrix" + }, + "pretemplate": { + "format": "byte", + "type": "string" + }, + "qualityScore": { + "description": "A score produced by the Face Quality Scoring Module that indicates overall quality of the face and its relative suitability for using it in conjunction with face recognition for instance. As such, the score predicts the likelihood to recognize a given face correctly. A face recognition client could use the score and a threshold to determine whether to use the face in a face model, or whether to even consider it for recognition.", + "format": "float", + "type": "number" + }, + "rightEyeClosedProbability": { + "format": "float", + "type": "number" + }, + "rollAngle": { + "description": "Roll angle indicates how much clockwise/anti-clockwise the face is rotated relative to the image vertical and about the axis perpendicular to the face. Range [-180,180].", + "format": "float", + "type": "number" + }, + "signature": { + "deprecated": true, + "description": "Deprecated: signature will continue to be used for the pre-1.7 SDK template format typically created by the converter module CNVprec_461. All newer templates created with CNVprec_465 or later will use the repeated 'versioned_signatures' field to store the templates and version info.", + "format": "byte", + "type": "string" + }, + "skinBrightnessProbability": { + "format": "float", + "type": "number" + }, + "sorrowProbability": { + "format": "float", + "type": "number" + }, + "surpriseProbability": { + "format": "float", + "type": "number" + }, + "tiltAngle": { + "description": "Pitch angle. Indicates how much upwards/downwards the face is pointing relative to the image's horizontal plane. Range [-180,180].", + "format": "float", + "type": "number" + }, + "underExposedProbability": { + "format": "float", + "type": "number" + }, + "versionedSignatures": { + "items": { + "$ref": "PhotosVisionServiceFaceVersionedFaceSignature" + }, + "type": "array" + } + }, + "type": "object" + }, + "PhotosVisionServiceFaceFaceParamsBoundingBox": { + "id": "PhotosVisionServiceFaceFaceParamsBoundingBox", + "properties": { + "x1": { + "description": "These coordinates are in the same scale as the original image. 0 \u003c= x \u003c width, 0 \u003c= y \u003c height.", + "format": "int32", + "type": "integer" + }, + "x2": { + "format": "int32", + "type": "integer" + }, + "y1": { + "format": "int32", + "type": "integer" + }, + "y2": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "PhotosVisionServiceFaceFaceParamsExtendedLandmark": { + "description": "Below is the set of extended landmarks added by LMprec_508 and 510. All future additional landmarks should be added to this message.", + "id": "PhotosVisionServiceFaceFaceParamsExtendedLandmark", + "properties": { + "id": { + "enum": [ + "NOSE_BOTTOM_RIGHT", + "NOSE_BOTTOM_LEFT", + "NOSE_BOTTOM_CENTER", + "LEFT_EYE_TOP_BOUNDARY", + "LEFT_EYE_RIGHT_CORNER", + "LEFT_EYE_BOTTOM_BOUNDARY", + "LEFT_EYE_LEFT_CORNER", + "RIGHT_EYE_TOP_BOUNDARY", + "RIGHT_EYE_RIGHT_CORNER", + "RIGHT_EYE_BOTTOM_BOUNDARY", + "RIGHT_EYE_LEFT_CORNER", + "LEFT_EYEBROW_UPPER_MIDPOINT", + "RIGHT_EYEBROW_UPPER_MIDPOINT", + "LEFT_EAR_TRAGION", + "RIGHT_EAR_TRAGION", + "LEFT_EYE_PUPIL", + "RIGHT_EYE_PUPIL", + "FOREHEAD_GLABELLA", + "CHIN_GNATHION", + "CHIN_LEFT_GONION", + "CHIN_RIGHT_GONION", + "LEFT_CHEEK_CENTER", + "RIGHT_CHEEK_CENTER", + "UNKNOWN_LANDMARK" + ], + "enumDescriptions": [ + "", + "", + "The following landmark is available with LMprec_508 and later", + "The following landmarks are extracted by LMprec_510 and later. See also documentation at www/~jsteffens/no_crawl/doc/FaceDetection/LM510.pdf", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "The following landmarks are extracted by LMprec_600 and later. See go/facesdk.", + "", + "Reserved id for an unknown landmark. This matches the id reserved by the core SDK for an external UNKNOWN landmark." + ], + "type": "string" + }, + "x": { + "description": "NOTE that landmark positions may fall outside the bounds of the image when the face is near one or more edges of the image. That is, it is NOT guaranteed that 0 \u003c= x \u003c width or 0 \u003c= y \u003c height. Rounded version of x_f.", + "format": "int32", + "type": "integer" + }, + "xF": { + "format": "float", + "type": "number" + }, + "y": { + "description": "Rounded version of y_f.", + "format": "int32", + "type": "integer" + }, + "yF": { + "format": "float", + "type": "number" + }, + "z": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "PhotosVisionServiceFaceFaceParamsFaceCropV8": { + "description": "Information defining a FaceCrop for a particular face. See go/on-device-face-grouping-face-crops for more details.", + "id": "PhotosVisionServiceFaceFaceParamsFaceCropV8", + "properties": { + "centerX": { + "description": "The X coordinate of the center of the face crop.", + "format": "float", + "type": "number" + }, + "centerY": { + "description": "The Y coordinate of the center of the face crop.", + "format": "float", + "type": "number" + }, + "rotation": { + "description": "Rotation of the face crop, in radians.", + "format": "float", + "type": "number" + }, + "scale": { + "description": "Scale to apply to the coordinates of the face crop.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "PhotosVisionServiceFaceFaceParamsLandmarkPosition": { + "id": "PhotosVisionServiceFaceFaceParamsLandmarkPosition", + "properties": { + "landmark": { + "description": "Some landmarks are set during face finding and some are set during landmark finding. Only after landmarking will all landmarks be set.", + "enum": [ + "LEFT_EYE", + "RIGHT_EYE", + "LEFT_OF_LEFT_EYEBROW", + "RIGHT_OF_LEFT_EYEBROW", + "LEFT_OF_RIGHT_EYEBROW", + "RIGHT_OF_RIGHT_EYEBROW", + "MIDPOINT_BETWEEN_EYES", + "NOSE_TIP", + "UPPER_LIP", + "LOWER_LIP", + "MOUTH_LEFT", + "MOUTH_RIGHT", + "MOUTH_CENTER", + "DEPRECATED_NOSE_BOTTOM_RIGHT", + "DEPRECATED_NOSE_BOTTOM_LEFT", + "DEPRECATED_NOSE_BOTTOM_CENTER", + "DEPRECATED_LEFT_EYE_TOP_BOUNDARY", + "DEPRECATED_LEFT_EYE_RIGHT_CORNER", + "DEPRECATED_LEFT_EYE_BOTTOM_BOUNDARY", + "DEPRECATED_LEFT_EYE_LEFT_CORNER", + "DEPRECATED_RIGHT_EYE_TOP_BOUNDARY", + "DEPRECATED_RIGHT_EYE_RIGHT_CORNER", + "DEPRECATED_RIGHT_EYE_BOTTOM_BOUNDARY", + "DEPRECATED_RIGHT_EYE_LEFT_CORNER", + "DEPRECATED_LEFT_EYEBROW_UPPER_MIDPOINT", + "DEPRECATED_RIGHT_EYEBROW_UPPER_MIDPOINT", + "DEPRECATED_LEFT_EAR_TRAGION", + "DEPRECATED_RIGHT_EAR_TRAGION", + "DEPRECATED_FOREHEAD_GLABELLA", + "DEPRECATED_CHIN_GNATHION", + "DEPRECATED_CHIN_LEFT_GONION", + "DEPRECATED_CHIN_RIGHT_GONION", + "DEPRECATED_UNKNOWN_LANDMARK" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + "enumDescriptions": [ + "Left and right are as viewed in the image without considering mirror projection typical in photos. So LEFT_EYE is typically the person's right eye. For convenience and consistency the enum values mirror the corresponding values defined by the Neven Vision SDK. See landmark table at: wiki/twiki/bin/view/Main/FRSDKLandmarkPositions The following landmarks are extracted by LMprec_502 and later", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "All values below are deprecated. Please use ExtendedLandmark to use them.", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "x": { + "description": "NOTE that landmark positions may fall outside the bounds of the image when the face is near one or more edges of the image. That is, it is NOT guaranteed that 0 \u003c= x \u003c width or 0 \u003c= y \u003c height. Rounded version of x_f.", + "format": "int32", + "type": "integer" + }, + "xF": { + "format": "float", + "type": "number" + }, + "y": { + "description": "Rounded version of y_f.", + "format": "int32", + "type": "integer" + }, + "yF": { + "format": "float", + "type": "number" + }, + "z": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "PhotosVisionServiceFaceFaceParamsPoseMatrix": { + "description": "Stores the full pose transformation matrix of the detected face. From this the roll, pan, tilt angles can be computed.", + "id": "PhotosVisionServiceFaceFaceParamsPoseMatrix", + "properties": { + "xx": { + "format": "float", + "type": "number" + }, + "xy": { + "format": "float", + "type": "number" + }, + "xz": { + "format": "float", + "type": "number" + }, + "yx": { + "format": "float", + "type": "number" + }, + "yy": { + "format": "float", + "type": "number" + }, + "yz": { + "format": "float", + "type": "number" + }, + "zx": { + "format": "float", + "type": "number" + }, + "zy": { + "format": "float", + "type": "number" + }, + "zz": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "PhotosVisionServiceFaceImageParams": { + "description": "ImageParams are a collection of parameters of the image on which face detection was performed.", + "id": "PhotosVisionServiceFaceImageParams", + "properties": { + "height": { + "format": "int32", + "type": "integer" + }, + "width": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "PhotosVisionServiceFaceVersionedFaceSignature": { + "description": "From newer SDK versions onward (1.7+), each face template (signature) will also store a version # derived from the converter version that created the template.", + "id": "PhotosVisionServiceFaceVersionedFaceSignature", + "properties": { + "confidence": { + "description": "Confidence score based on embedding uncertainty. This is populated if fetch_facenet_confidence has been set as true in FaceNetConfig, and FaceNet version satisfies one of the following: 1. FACENET_8. 2. FACENET_9 with confidence model enabled in FaceTemplatesConfig. If face_embedding_confidence module is requested, this will also be populated, and the signature will be empty.", + "format": "float", + "type": "number" + }, + "confidenceVersion": { + "description": "The Confidence version that populated the confidence.", + "enum": [ + "EMBEDDING_CONFIDENCE_VERSION_UNSPECIFIED", + "VERSION_1", + "VERSION_2" + ], + "enumDescriptions": [ + "", + "Corresponds to VSSV1DNormTfLiteClient. Regions without an embedding confidence version should be assumed to have this version.", + "Corresponds to AAV2DNorm. This is an animal-aware version with scores compatible with VERSION_1." + ], + "type": "string" + }, + "converterVersion": { + "description": "The converter version that created this template.", + "enum": [ + "UNKNOWN", + "PREC_461", + "PREC_465", + "PREC_470", + "FACENET_7", + "FACENET_8", + "FACENET_CELEBRITY", + "FACENET_9", + "FACENET_9_TPU", + "FACENET_MOBILE_V1_8BITS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "signature": { + "description": "The face template bytes.", + "format": "byte", + "type": "string" + }, + "signatureSource": { + "description": "Specifies the source of the signature in cases where the bytes are from a lower level of the FaceNet architecture. This is useful in combination with the FaceNetClient when it returns multiple outputs and we need to keep track of their contents. For example, this could contain the string 'avgpool-0' while another instance can use the standard 'normalizing' string.", + "type": "string" + }, + "version": { + "description": "The internal version of the template. This is a copy of the version stored within the template.", + "format": "uint32", + "type": "integer" + } + }, + "type": "object" + }, "PornFlagData": { "description": "A protocol buffer to store the url, referer and porn flag for a url. and an optional image score. Next available tag id: 51.", "id": "PornFlagData", @@ -97304,6 +98303,7 @@ "TRAIN_DELAY", "TRAIN_PLATFORM", "NOTES_AND_LISTS_POST_MIGRATION", + "ROUTINES_STOP_WUWA_REMINDER", "UNIT_TESTING" ], "enumDeprecated": [ @@ -97726,6 +98726,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -98148,6 +99149,7 @@ "", "", "Notifications for Notes and Lists", + "Notifications for user to stop the WUWA.", "NOTE: This should always stay at the bottom of the list." ], "type": "string" @@ -106367,6 +107369,20 @@ }, "type": "object" }, + "ReneFaceResponse": { + "description": "The output of the face recognition signal.", + "id": "ReneFaceResponse", + "properties": { + "faces": { + "description": "Recognized faces in the image.", + "items": { + "$ref": "PhotosVisionServiceFaceFaceParams" + }, + "type": "array" + } + }, + "type": "object" + }, "RepositoryAnnotationsGeoTopic": { "description": "GeoTopicality of a document is a set of GeoTopics ordered by their normalized scores.", "id": "RepositoryAnnotationsGeoTopic", @@ -115487,6 +116503,961 @@ }, "type": "object" }, + "ResearchVisionFace2cartoonAgeClassifierResults": { + "id": "ResearchVisionFace2cartoonAgeClassifierResults", + "properties": { + "age": { + "enum": [ + "UNKNOWN", + "BABY", + "KID", + "ADULT", + "OLD" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "predictedAge": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonChinLengthClassifierResults": { + "id": "ResearchVisionFace2cartoonChinLengthClassifierResults", + "properties": { + "chinLength": { + "enum": [ + "UNKNOWN", + "SHORT", + "AVERAGE", + "LONG" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "confidence": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonEyeColorClassifierResults": { + "id": "ResearchVisionFace2cartoonEyeColorClassifierResults", + "properties": { + "color": { + "enum": [ + "UNKNOWN", + "BROWN_OR_BLACK", + "BLUE_OR_GREEN" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "confidence": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults": { + "description": "The measurement underlying this assumes fixed ear positions, so applying this combined with the FaceWidthClassifierResults may have an unintended outcome.", + "id": "ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "eyeEyebrowDistance": { + "enum": [ + "UNKNOWN", + "SMALL", + "AVERAGE", + "LARGE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonEyeShapeClassifierResults": { + "id": "ResearchVisionFace2cartoonEyeShapeClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "shape": { + "enum": [ + "UNKNOWN", + "DOUBLE_FOLD_EYELID", + "SINGLE_FOLD_EYELID" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonEyeSlantClassifierResults": { + "id": "ResearchVisionFace2cartoonEyeSlantClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "eyeSlant": { + "enum": [ + "UNKNOWN", + "OUTWARDS", + "AVERAGE", + "INWARDS" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults": { + "description": "The measurement underlying this assumes fixed ear positions, so applying this combined with the FaceWidthClassifierResults may have an unintended outcome.", + "id": "ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "eyeVerticalPosition": { + "enum": [ + "UNKNOWN", + "HIGH", + "AVERAGE", + "LOW" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonEyebrowShapeClassifierResults": { + "id": "ResearchVisionFace2cartoonEyebrowShapeClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "eyebrowShape": { + "enum": [ + "UNKNOWN", + "ST_BREAK", + "ST_BEND", + "HIGH_DIAGONAL", + "TILT", + "ROUND", + "ANGULAR", + "HIGH_CURVY", + "ROUND_UNEVEN", + "BUSHY_ST", + "UNI" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonEyebrowThicknessClassifierResults": { + "id": "ResearchVisionFace2cartoonEyebrowThicknessClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "eyebrowThickness": { + "enum": [ + "UNKNOWN", + "THIN", + "NORMAL", + "THICK", + "VERY_THICK" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonEyebrowWidthClassifierResults": { + "description": "The measurement underlying this assumes fixed ear positions, so applying this combined with the FaceWidthClassifierResults may have an unintended outcome.", + "id": "ResearchVisionFace2cartoonEyebrowWidthClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "eyebrowWidth": { + "enum": [ + "UNKNOWN", + "NARROW", + "AVERAGE", + "WIDE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonFace2CartoonResults": { + "description": "Results of the Face2Cartoon pipeline.", + "id": "ResearchVisionFace2cartoonFace2CartoonResults", + "properties": { + "ageClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonAgeClassifierResults" + }, + "type": "array" + }, + "chinLengthClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonChinLengthClassifierResults" + }, + "type": "array" + }, + "eyeColorClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonEyeColorClassifierResults" + }, + "type": "array" + }, + "eyeEyebrowDistanceClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults" + }, + "type": "array" + }, + "eyeShapeClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonEyeShapeClassifierResults" + }, + "type": "array" + }, + "eyeSlantClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonEyeSlantClassifierResults" + }, + "type": "array" + }, + "eyeVerticalPositionClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults" + }, + "type": "array" + }, + "eyebrowShapeClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonEyebrowShapeClassifierResults" + }, + "type": "array" + }, + "eyebrowThicknessClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonEyebrowThicknessClassifierResults" + }, + "type": "array" + }, + "eyebrowWidthClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonEyebrowWidthClassifierResults" + }, + "type": "array" + }, + "faceWidthClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonFaceWidthClassifierResults" + }, + "type": "array" + }, + "facialHairClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonFacialHairClassifierResults" + }, + "type": "array" + }, + "genderClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonGenderClassifierResults" + }, + "type": "array" + }, + "glassesClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonGlassesClassifierResults" + }, + "type": "array" + }, + "hairColorClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonHairColorClassifierResults" + }, + "type": "array" + }, + "hairStyleClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonHairStyleClassifierResults" + }, + "type": "array" + }, + "interEyeDistanceClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonInterEyeDistanceClassifierResults" + }, + "type": "array" + }, + "jawShapeClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonJawShapeClassifierResults" + }, + "type": "array" + }, + "lipThicknessClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonLipThicknessClassifierResults" + }, + "type": "array" + }, + "mouthVerticalPositionClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults" + }, + "type": "array" + }, + "mouthWidthClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonMouthWidthClassifierResults" + }, + "type": "array" + }, + "noseVerticalPositionClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults" + }, + "type": "array" + }, + "noseWidthClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonNoseWidthClassifierResults" + }, + "type": "array" + }, + "skinToneClassifierResults": { + "items": { + "$ref": "ResearchVisionFace2cartoonSkinToneClassifierResults" + }, + "type": "array" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonFaceWidthClassifierResults": { + "id": "ResearchVisionFace2cartoonFaceWidthClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "faceWidth": { + "enum": [ + "UNKNOWN", + "NARROW", + "AVERAGE", + "WIDE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonFacialHairClassifierResults": { + "id": "ResearchVisionFace2cartoonFacialHairClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "facialHair": { + "enum": [ + "UNKNOWN", + "NO_FACIAL_HAIR", + "CLOSE_SHAVE", + "SHORT_BEARD_2", + "SHORT_BEARD_1", + "MED_BEARD", + "SHORT_BEARD_5", + "GOATEE", + "MOUSTACHE", + "MOUSTACHE_GOATEE" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonGenderClassifierResults": { + "id": "ResearchVisionFace2cartoonGenderClassifierResults", + "properties": { + "confidence": { + "description": "Uses a scaled version of the FaceSDK classifier's probability as the confidence (since the probability for the selected gender is between (0.5, 1] we scale it to be between (0, 1]).", + "format": "float", + "type": "number" + }, + "gender": { + "enum": [ + "UNKNOWN", + "FEMALE", + "MALE" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonGlassesClassifierResults": { + "id": "ResearchVisionFace2cartoonGlassesClassifierResults", + "properties": { + "confidence": { + "description": "Uses a scaled version of the FaceSDK classifier's probability as the confidence (since the probability for the selected glasses is between (0.5, 1] we scale it to be between (0, 1]).", + "format": "float", + "type": "number" + }, + "glassesType": { + "enum": [ + "UNKNOWN", + "NO_GLASSES", + "GLASSES", + "DARK_GLASSES" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonHairColorClassifierResults": { + "id": "ResearchVisionFace2cartoonHairColorClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "hairColor": { + "enum": [ + "UNKNOWN", + "BLACK", + "DARK_BROWN", + "LIGHT_BROWN", + "AUBURN", + "ORANGE", + "STRAWBERRY_BLONDE", + "DIRTY_BLONDE", + "BLEACHED_BLONDE", + "GREY", + "WHITE", + "MINT", + "PALE_PINK", + "LAVENDER", + "TEAL", + "PURPLE", + "PINK", + "BLUE", + "GREEN" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonHairStyleClassifierResults": { + "id": "ResearchVisionFace2cartoonHairStyleClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "hairStyle": { + "enum": [ + "UNKNOWN", + "BALD_1", + "BALD_2", + "BALD_3", + "SHAVE_1", + "FRONT_CREW_1", + "SHORT_STRAIGHT_9", + "SHORT_STRAIGHT_17", + "BUN_1", + "SHORT_STRAIGHT_2", + "SHORT_STRAIGHT_10", + "SHORT_STRAIGHT_1", + "SHORT_STRAIGHT_19", + "SHORT_STRAIGHT_4", + "SHORT_STRAIGHT_20", + "SHORT_STRAIGHT_18", + "SHORT_STRAIGHT_11", + "MEDIUM_STRAIGHT_5", + "MEDIUM_STRAIGHT_6", + "MEDIUM_STRAIGHT_3", + "LONG_STRAIGHT_6", + "LONG_STRAIGHT_4", + "LONG_STRAIGHT_2", + "LONG_STRAIGHT_PONYTAIL_2", + "LONG_STRAIGHT_PONYTAIL_1", + "SHORT_WAVY_2", + "MEDIUM_WAVY_1", + "MEDIUM_WAVY_4", + "MEDIUM_WAVY_2", + "LONG_WAVY_1", + "LONG_WAVY_3", + "LONG_WAVY_2", + "LONG_WAVY_4", + "LONG_WAVY_PONYTAIL_4", + "SHORT_CURLY_6", + "SHORT_CURLY_5", + "MEDIUM_CURLY_3", + "SHORT_CURLY_8", + "MEDIUM_CURLY_4", + "LONG_CURLY_3", + "LONG_CURLY_1", + "LONG_CURLY_5", + "LONG_CURLY_4", + "LONG_CURLY_2", + "LONG_CURLY_PONYTAIL_1", + "SHORT_COILY_1", + "SHORT_COILY_5", + "SHORT_COILY_4", + "SHORT_COILY_2", + "MEDIUM_COILY_1", + "LONG_COILY_2", + "LONG_COILY_PONYTAIL_1", + "SHORT_COILY_3", + "LONG_COILY_1", + "BOX_BRAIDS", + "BUN_2", + "COILY_PONYTAIL", + "LONG_COILY_3", + "LONG_COILY_4", + "LONG_COILY_5", + "LONG_COILY_PONYTAIL", + "OTT", + "SHORT_CORNROWS", + "TIGHT_BRAID", + "TIGHT_BRAIDS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonInterEyeDistanceClassifierResults": { + "description": "The measurement underlying this assumes fixed ear positions, so applying this combined with the FaceWidthClassifierResults may have an unintended outcome.", + "id": "ResearchVisionFace2cartoonInterEyeDistanceClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "interEyeDistance": { + "enum": [ + "UNKNOWN", + "WIDE", + "AVERAGE", + "CLOSE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonJawShapeClassifierResults": { + "id": "ResearchVisionFace2cartoonJawShapeClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "jawShape": { + "enum": [ + "UNKNOWN", + "TRIANGLE", + "OVAL", + "SQUARE", + "ROUND" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonLipThicknessClassifierResults": { + "id": "ResearchVisionFace2cartoonLipThicknessClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "lipThickness": { + "enum": [ + "UNKNOWN", + "THIN", + "AVERAGE", + "THICK" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults": { + "description": "The measurement underlying this assumes fixed ear positions, so applying this combined with the FaceWidthClassifierResults may have an unintended outcome.", + "id": "ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "mouthVerticalPosition": { + "enum": [ + "UNKNOWN", + "HIGH", + "AVERAGE", + "LOW" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonMouthWidthClassifierResults": { + "description": "The measurement underlying this assumes fixed ear positions, so applying this combined with the FaceWidthClassifierResults may have an unintended outcome.", + "id": "ResearchVisionFace2cartoonMouthWidthClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "mouthWidth": { + "enum": [ + "UNKNOWN", + "NARROW", + "AVERAGE", + "WIDE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults": { + "description": "The measurement underlying this assumes fixed ear positions, so applying this combined with the FaceWidthClassifierResults may have an unintended outcome.", + "id": "ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "noseVerticalPosition": { + "enum": [ + "UNKNOWN", + "HIGH", + "AVERAGE", + "LOW" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonNoseWidthClassifierResults": { + "description": "The measurement underlying this assumes fixed ear positions, so applying this combined with the FaceWidthClassifierResults may have an unintended outcome.", + "id": "ResearchVisionFace2cartoonNoseWidthClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "noseWidth": { + "enum": [ + "UNKNOWN", + "NARROW", + "AVERAGE", + "WIDE" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "ResearchVisionFace2cartoonSkinToneClassifierResults": { + "id": "ResearchVisionFace2cartoonSkinToneClassifierResults", + "properties": { + "confidence": { + "format": "float", + "type": "number" + }, + "skinToneType": { + "enum": [ + "UNKNOWN", + "TYPE_1", + "TYPE_2", + "TYPE_3", + "TYPE_4", + "TYPE_5", + "TYPE_6", + "TYPE_7", + "TYPE_8", + "TYPE_9", + "TYPE_10", + "TYPE_11" + ], + "enumDescriptions": [ + "See the images from the links at: https://storage.googleapis.com/cc_8e814306-f840-4e2e-9415-36b06251cf8e/ skin_tone_exemplars/skin-*.png", + "(darkest) RGB: #603d30", + "RGB: #88594b", + "RGB: #aa7454", + "RGB: #c78b5d", + "RGB: #d9a16e", + "RGB: #e3b47e", + "RGB: #eeaf94", + "RGB: #f0c092", + "RGB: #f6d8c1", + "RGB: #fbcdb6", + "(lightest) RGB: #fbdbd1" + ], + "type": "string" + } + }, + "type": "object" + }, "RichsnippetsDataObject": { "description": "Next ID: 11", "id": "RichsnippetsDataObject", @@ -116021,6 +117992,16 @@ }, "type": "object" }, + "SafesearchImageOffensiveAnnotation": { + "id": "SafesearchImageOffensiveAnnotation", + "properties": { + "hatefulDerogatoryScore": { + "format": "float", + "type": "number" + } + }, + "type": "object" + }, "SafesearchInternalImageSignals": { "description": "A proto that stores SafeSearch internal signals that are not exported to clients.", "id": "SafesearchInternalImageSignals", @@ -116029,6 +118010,9 @@ "format": "float", "type": "number" }, + "offensiveAnnotation": { + "$ref": "SafesearchImageOffensiveAnnotation" + }, "starburstPornScore": { "description": "Additional SafeSearch signals that are used to compute final scores.", "format": "float", @@ -122137,6 +124121,7 @@ "ISOLATION_SCOUTS_SOCIETAL_CONTEXT_ENTITIES", "ISOLATION_ASTROLOGY_HOROSCOPE", "ISOLATION_LLM_GENERATED_TVM_SYNOPSIS", + "ISOLATION_GENERATED_DATA", "UMP_TESTING_ONLY", "INTENTJOINS_NB_SIGNALS", "ADS_INTEGRITY_ANNOTATION", @@ -122350,6 +124335,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -122516,7 +124502,8 @@ "For Search sustainability's food choice feature, Recipe Ingredient Insights. Assign existing KG entities feature types to classify triggering behavior and insights. Owned by salehh@ and s12y-eng@ See go/rii-kg-triggering-migration for more information.", "Access controls for SCOUTS Societal Context Repository entities. Please contact johnhenry-eng@ before reading or writing this data. DD: go/scouts-kg-integration-dd", "Access controls for Astrology Horoscope features. Please contact search-india-verticals@ before reading or writing this data. DD: go/daily-horoscope-dd", - "Access controls for LLM generated tvm synopsis. DD: go/i18n-tvm-descriptions Please contact dkrish-team@ before reading or writing this data.", + "TODO(b/304563444) Deprecate ISOLATION_LLM_GENERATED_TVM_SYNOPSIS if it's not used. Prefer using ISOLATION_GENERATED_DATA even for generated tvm synopsis. Access controls for LLM generated tvm synopsis. DD: go/i18n-tvm-descriptions Please contact dkrish-team@ before reading or writing this data.", + "Access controls for LLM generated data. Please contact UMP team(go/ump-contacts) before reading or writing this data.", "This access control is used to guard data used by the Unified Media Platform team (ke-media-actions-serving@) for testing new features. It should never be used for purposes other than testing. More context at go/fake-media-provider.", "Access controls for the IntentJoins Navboost data. YOU MUST CONTACT intentjoins-eng@ before reading or writing this data.", "Access controls for Ads Integrity annotation data. Ads Integrity annotations are only available for Ads Integrity policy enforcement. See go/ai-political-km for more details. YOU MUST CONTACT ai-pacg@ before reading or writing this data.", @@ -125996,8 +127983,6 @@ "PGSS_DETAILS_PAGE_AQUALITY_UNKNOWN_EVENT_LEVEL", "PGSS_DETAILS_PAGE_AQUALITY_FAILED_EVENT_LEVEL", "PGSS_DETAILS_PAGE_AQUALITY_PASSED_EVENT_LEVEL", - "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_SIMILAR_APPS_ABSENT_EVENT_LEVEL", - "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_SIMILAR_APPS_PRESENT_EVENT_LEVEL", "INLINE_DETAILS_CALLER_AQUALITY_CHECK_PASS", "INLINE_DETAILS_CALLER_AQUALITY_CHECK_FAIL", "HSDP_AD_NETWORK_CALLER_TABLET_AQUALITY_CHECK_PASS", @@ -126043,7 +128028,6 @@ "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", "DEVICE_TIER_HIGH_EVENT_LEVEL", @@ -126293,6 +128277,7 @@ "IN_APP_OFFER_BATTLESTAR_APP_MAHJONG_VILLAGE_AT_SESSION_LEVEL", "IN_APP_OFFER_BATTLESTAR_APP_ONE_PUNCH_MAN_KR_AT_SESSION_LEVEL", "IN_APP_OFFER_BATTLESTAR_APP_ONE_PUNCH_MAN_TW_AT_SESSION_LEVEL", + "IN_APP_OFFER_BATTLESTAR_APP_GRAND_CROSS_AT_SESSION_LEVEL", "IN_APP_OFFER_ELIGIBLE_AT_SESSION_LEVEL", "IN_APP_OFFER_ELIGIBLE_APP_1_AT_SESSION_LEVEL", "IN_APP_OFFER_ELIGIBLE_APP_2_AT_SESSION_LEVEL", @@ -126313,6 +128298,7 @@ "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_MAHJONG_VILLAGE_AT_SESSION_LEVEL", "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_ONE_PUNCH_MAN_KR_AT_SESSION_LEVEL", "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_ONE_PUNCH_MAN_TW_AT_SESSION_LEVEL", + "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_GRAND_CROSS_AT_SESSION_LEVEL", "IN_APP_OFFER_SAVED_AT_SESSION_LEVEL", "IN_APP_OFFER_SAVED_APP_1_AT_SESSION_LEVEL", "IN_APP_OFFER_SAVED_APP_2_AT_SESSION_LEVEL", @@ -126491,8 +128477,6 @@ "PGSS_DETAILS_PAGE_AQUALITY_UNKNOWN_SESSION_LEVEL", "PGSS_DETAILS_PAGE_AQUALITY_FAILED_SESSION_LEVEL", "PGSS_DETAILS_PAGE_AQUALITY_PASSED_SESSION_LEVEL", - "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_SIMILAR_APPS_ABSENT_SESSION_LEVEL", - "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_SIMILAR_APPS_PRESENT_SESSION_LEVEL", "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_WITH_GAME_SESSION_LEVEL", "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_WITH_NON_GAME_SESSION_LEVEL", "QUERY_DEPENDENT_SNIPPET_SESSION_LEVEL", @@ -126714,7 +128698,6 @@ "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", "DEVICE_TIER_HIGH_SESSION_LEVEL", @@ -126819,6 +128802,7 @@ "SHOULD_SEE_FIRST_PARTY_PROMO_LIVE_OP_SUBSCRIPTION_SESSION_LEVEL", "SUBS_PAYMENT_DECLINE_SESSION_LEVEL", "CART_ABANDONMENT_REMINDER_SESSION_LEVEL", + "CART_ABANDONMENT_REMINDER_POPULAR_APPS_SESSION_LEVEL", "SUBSCRIPTION_OFFER_SWITCH_DATA_PRESENT_SESSION_LEVEL", "BOOKS_READ_NOW_DUAL_FORMAT_REQUEST_SESSION_LEVEL", "BOOKS_READ_NOW_WITH_HEADER_REQUEST_SESSION_LEVEL", @@ -126850,6 +128834,7 @@ "LOYALTY_WEEKLY_REWARDS_ICC_FORMAT_NOW_HOME_SESSION_LEVEL", "MULTILINE_SUBSCRIPTION_ADDON_TITLE_SESSION_LEVEL", "PAYTM_WALLET_FAILURE_SESSION_LEVEL", + "CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_SESSION_LEVEL_V2", "SESSION_LEVEL_TEST_CODE_LIMIT", "CART_ABANDONMENT_USER_LEVEL", "IN_APP_PRODUCTS_IN_DETAILS_PAGE_USER_LEVEL", @@ -126927,6 +128912,7 @@ "IN_APP_OFFER_BATTLESTAR_APP_MAHJONG_VILLAGE_AT_USER_LEVEL", "IN_APP_OFFER_BATTLESTAR_APP_ONE_PUNCH_MAN_KR_AT_USER_LEVEL", "IN_APP_OFFER_BATTLESTAR_APP_ONE_PUNCH_MAN_TW_AT_USER_LEVEL", + "IN_APP_OFFER_BATTLESTAR_APP_GRAND_CROSS_AT_USER_LEVEL", "IN_APP_OFFER_ELIGIBLE_AT_USER_LEVEL", "IN_APP_OFFER_ELIGIBLE_APP_1_AT_USER_LEVEL", "IN_APP_OFFER_ELIGIBLE_APP_2_AT_USER_LEVEL", @@ -126947,6 +128933,7 @@ "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_MAHJONG_VILLAGE_AT_USER_LEVEL", "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_ONE_PUNCH_MAN_KR_AT_USER_LEVEL", "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_ONE_PUNCH_MAN_TW_AT_USER_LEVEL", + "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_GRAND_CROSS_AT_USER_LEVEL", "IN_APP_OFFER_SAVED_AT_USER_LEVEL", "IN_APP_OFFER_SAVED_APP_1_AT_USER_LEVEL", "IN_APP_OFFER_SAVED_APP_2_AT_USER_LEVEL", @@ -127065,6 +129052,7 @@ "LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_1", "LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_2", "LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_3", + "LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_4", "POST_SUCCESS_ADD_BACKUP_FLOW_USER_LEVEL", "SKIP_CHECK_MARK_SCREEN_WITH_BACKUP_FLOW_USER_LEVEL", "IS_ELIGIBLE_FOR_ONE_CLICK_BACKUP_FOP_USER_LEVEL", @@ -127142,6 +129130,7 @@ "PURCHASE_READINESS_ADD_FOP_AUTH_USER_LEVEL", "SUBS_PAYMENT_DECLINE_USER_LEVEL", "CART_ABANDONMENT_REMINDER_USER_LEVEL", + "CART_ABANDONMENT_REMINDER_POPULAR_APPS_USER_LEVEL", "SUBSCRIPTION_OFFER_SWITCH_DATA_PRESENT_USER_LEVEL", "FCC_FIRST_PARTY_CATEGORICAL_SEARCH_OFFERS_USER_LEVEL", "MERCH_CONTENT_EXP_ACTIVE_PUBG_USER_LEVEL", @@ -127208,6 +129197,8 @@ "MULTILINE_SUBSCRIPTION_ADDON_TITLE_USER_LEVEL", "UNIFIED_ITEM_RECOMMENDATION_USER_LEVEL", "UNIFIED_ITEM_RECOMMENDATION_LOWER_PRICED_USER_LEVEL", + "CART_WITH_BROKEN_FOP_USER_LEVEL", + "CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_USER_LEVEL_V2", "USER_LEVEL_TEST_CODE_LIMIT" ], "enumDeprecated": [ @@ -127402,206 +129393,342 @@ false, false, false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, false, false, false, @@ -127877,32 +130004,6 @@ false, false, false, - true, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, false, false, false, @@ -127961,6 +130062,7 @@ false, false, false, + true, false, false, false, @@ -128303,90 +130405,7 @@ false, false, false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, + true, false, false, false, @@ -128441,31 +130460,6 @@ false, false, false, - true, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, false, false, false, @@ -128553,6 +130547,7 @@ false, false, false, + true, false, false, false, @@ -128746,8 +130741,6 @@ "", "", "", - "Indicate whether the similar apps cluster is dropped due to little recommendations generated from low quality seed app.", - "", "", "", "", @@ -128793,7 +130786,6 @@ "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", "", "", "Event level test code for high device tier.", @@ -129070,6 +131062,8 @@ "", "", "", + "", + "", "see go/reordering-subnav-tabs", "see go/reordering-subnav-tabs", "", @@ -129243,8 +131237,6 @@ "", "", "", - "", - "", "Session level test code for query dependent snippet.", "Session level test code for Fop Steering Promotion with initial billing profile.", "Session level test code for Fop Steering Promotion displayed in cart with add fop action.", @@ -129464,7 +131456,6 @@ "", "", "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", "", "", "Session level test code for high device tier.", @@ -129564,11 +131555,12 @@ "Session-level test code for a third-party review.", "Session-level test code for Game Hub Developer Video cluster.", "Session-level test code corresponding to game-centric email icon assets appearing in the bottom sheet for a selected list of Battlestar games.", - "Session-level for showing subscription benefits in cart abandonment.", + "Session-level for showing subscription benefits in cart abandonment. Deprecated. Use CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_SESSION_LEVEL_V2", "Session-level test code for Game Hub Developer Video cluster eligibility.", "Session-level for showing 1P LiveOps subscription offer.", "Session-level test code for Subscription Payment Decline Reminder.", "Session-level test code for Cart Abandonment Reminder.", + "", "Session-level test code for OfferSwitchData in CreateCarts", "Session-level test code for Books legacy clients that request both ebook and audiobook format clusters from the Books Read PSS response.", "Session-level test code for legacy clients that request header placeholder clusters from the Read Now PSS response.", @@ -129600,6 +131592,7 @@ "Session-level test code for loyalty weekly rewards in Now! home.", "Session-level test code for multiline addon title.", "Session-level test code for Paytm wallet failures.", + "Session-level for showing subscription benefits in cart abandonment.", "", "Cart abandonment flow for purchase flow.", "User saw/would have seen the in app products section in App", @@ -129704,6 +131697,8 @@ "", "", "", + "", + "", "User saw/would have seen the subscription one time pass offer", "", "", @@ -129815,6 +131810,7 @@ "User level test code for link biometrics with impression cap and foped user setup after traffic rebalancing.", "User level test code for link biometrics with impression cap and foped user setup after traffic rebalancing.", "User level test code for link biometrics with impression cap and foped user setup after traffic rebalancing.", + "User level test code for link biometrics with impression cap and foped user setup after traffic rebalancing.", "User level test code for post success add backup flow.", "User level test code for skipping ckechmark screen with backup flow.", "User level test code for users who are eligible for one-click backup fop.", @@ -129892,6 +131888,7 @@ "User-level test code for user who is eligible for adding Form of Payment and then adding Auth Settings from Purchase Readiness Reminder.", "User level test code for Subscription Payment Decline Reminder.", "User level test code for Cart Abandonment Reminder.", + "", "User level test code for OfferSwitchData in CreateCarts", "User level test code for 1P fcc categorical search offers.", "User-level test code for running content experiments for merch curated clusters.", @@ -129929,7 +131926,7 @@ "", "", "User-level test code for Game Hub Developer Video cluster.", - "User-level for showing subscription benefits in cart abandonment.", + "User-level for showing subscription benefits in cart abandonment. Deprecated. CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_USER_LEVEL_V2", "User-level test code for Game Hub Developer Video cluster eligibility.", "User-level for showing 1P LiveOps subscription offer.", "User-level test code for Subscription Payment Decline Reminder V2.", @@ -129958,6 +131955,8 @@ "User level test code for multiline addon title.", "User level test code for unified SKU Recommendations. Used when user is eligible for any SKU Recommendation, currently either cart-abandonment or post-success upsell.", "", + "User level test code indicating that user starts the purchase with a cart that has broken existing form of payment.", + "User-level for showing subscription benefits in cart abandonment.", "" ], "type": "string" diff --git a/contentwarehouse/v1/contentwarehouse-gen.go b/contentwarehouse/v1/contentwarehouse-gen.go index fbf4c66fba2..2469945120a 100644 --- a/contentwarehouse/v1/contentwarehouse-gen.go +++ b/contentwarehouse/v1/contentwarehouse-gen.go @@ -3250,6 +3250,7 @@ type AppsPeopleOzExternalMergedpeopleapiAffinity struct { // "NOTEBOOKLM_AFFINITY" // "PLAYSPACE_LABS_AFFINITY" // "ZOMBIE_CLOUD_AFFINITY" + // "RELATIONSHIPS_AFFINITY" AffinityType string `json:"affinityType,omitempty"` // ContainerId: The ID of the container @@ -6915,10 +6916,12 @@ type AppsPeopleOzExternalMergedpeopleapiName struct { // container type at read time. Pronunciations *SocialGraphApiProtoPronunciations `json:"pronunciations,omitempty"` - // ShortDisplayName: Read-only. A possibly shorter version of the user's - // name. - The purpose of this field is to address the needs of UIs - // where a full display name might be too large to fit. Instead of - // relying on `first_name`, which might not be present, + // ShortDisplayName: NOTE: this is currently NOT IMPLEMENTED due to + // changed priorities. Clients usually rely on "first name" instead, + // when a short name is needed. Read-only. A possibly shorter version of + // the user's name. - The purpose of this field is to address the needs + // of UIs where a full display name might be too large to fit. Instead + // of relying on `first_name`, which might not be present, // `short_display_name` is preferred. - This is only available for // PROFILE and DOMAIN_PROFILE container types. - About the actual // content in this field: will be the first name when it's visible to @@ -14586,7 +14589,7 @@ func (s *AssistantApiCoreTypesSipProviderInfo) MarshalJSON() ([]byte, error) { // string within the Assistant Server. Note: The SurfaceIdentity proto // should only be used to derive the capabilities of a surface. It // should not be accessed outside of the CapabilityBuilder or -// CapabilityChecker. NEXT ID: 5 IMPORTANT: The definitions of the +// CapabilityChecker. NEXT ID: 6 IMPORTANT: The definitions of the // SurfaceIdentity and SurfaceVersion protos are being moved to // //assistant/api/core_types/governed/surface_identity.proto All // existing references will be updated to point to the new location. If @@ -14597,6 +14600,120 @@ type AssistantApiCoreTypesSurfaceIdentity struct { // DeviceId: The identifier of the device. DeviceId *AssistantApiCoreTypesDeviceId `json:"deviceId,omitempty"` + // LegacySurfaceType: DEPRECATED: The legacy device's surface type enum. + // NOTE: Prefer using the ontological `surface_type` field above. If you + // need to access the legacy surface type, please file a bug and add it + // in your code to migrate to ontological surface type. + // + // Possible values: + // "UNKNOWN" + // "ANDROID_ALLO" + // "ANDROID_AUTO" - Deprecated (never used). Use OPA_ANDROID_AUTO + // instead. + // "ANDROID_THINGS_CUBE" - Assistant on small screen stationary + // device. + // "ANDROID_THINGS_JASPER" + // "ANDROID_TV" + // "ANDROID_TV_KIDS" + // "ANDROID_WEAR" + // "AR_GLASSES" - Assistant on AR Glasses with both visual and audio + // experiences. Ask ar-assistant@ for details. + // "ASSISTANT_SDK" - For Assistant SDK gRPC client. + // "AUDIOWEAR" + // "BUBBLE_CHARACTERS_IOS" - go/assistant-lamda-overview-characters + // "CAPABILITY_BASED_SURFACE" - Surface for capability based testing. + // "CHROMECAST_ASSISTANT" - For chrome cast assistant web app. + // "CHROMECAST_MANHATTAN" - For chrome cast with assistant + screen + // (e.g., Google Nest Hub). + // "CHROMECAST_SEARCH" + // "CLOUD_DEVICE" - Virtual device for event-based triggering, e.g. + // executing time + // "COMPANION_SCREEN" - scheduled routines: go/routine-cloud-ex For + // Quartz. + // "DYNAMITE_WEB" + // "ENSEMBLE" + // "EYESFREE_AGSA" - Deprecated. Please use OPA_ANDROID_SCREENLESS. + // "EYESFREE_GMM" + // "GBOARD" - For Gboard app + // "GLASS" + // "GOOGLE_HOME" + // "HANGOUTS_CHATBOT" + // "IOS_ALLO" + // "IOS_GSA" + // "IOS_WEAR" + // "LIBASSISTANT" - For standalone libassistant devices. + // "LINE_CHATBOT" - LINE 3P messaging app + // "MULTIMODAL_AGSA" - Deprecated. + // "NON_ASSISTANT_SURFACE" - Surfaces that do not speak to the + // Assistant, i.e. web HQ + // "OPA_AGSA" - Assistant on Android phones accessed through the + // Google App (velvet). This represents neither all of the assistant on + // android phones (ANDROID_ALLO, VERILY_ONDUO, etc.) nor all of the + // assistant built on top of AGSA (ANDROID_WEAR, OPA_ANDROID_SCREENLESS, + // OPA_AGSA_CHROME_OS, etc.). + // "OPA_AGSA_CHROME_OS" - Deprecated. Please use OPA_CROS. + // "OPA_ANDROID_AUTO" + // "OPA_ANDROID_LITE" - This is OPA on Android Go (not part of AGSA) + // "OPA_ANDROID_SCREENLESS" - Assistant on Nexus with screen + // off/locked. Use go/bisto device to trigger. + // "OPA_ANDROID_SMART_DISPLAY" - Assistant on Titan hub mode + // (go/titan-hubmode-surface). This is OPA Android first party Smart + // Display devices. The UI experience is built on Opal (Gallium and + // Flutter) and native Android. + // "OPA_ANDROID_TABLET" - Assistant on Android tablet + // "OPA_CROS" - Assistant on native Chrome OS (go/croissant). + // "OPA_GACS" - For assistant on GACS devices (go/gacs-dd). Google + // Assistant Conversation Service (GACS) defines intents the device + // accepts. This surface serves the intents in the assistant response. + // "OPA_IOS" + // "OPA_IOS_SCREENLESS" - Assistant on iOS with screen off/locked. Use + // go/bisto device to trigger. + // "OPA_KAIOS" - Assistant on KaiOS. go/kaiosama + // "OPA_MOBILE_WEB" - Assistant on Mobile Web. go/opa-spidey + // "RTOS_PHONE" - Assistant on low-cost RTOS phones (go/conceRTOS). + // "SMS_CHATBOT" + // "TELEGRAM_CHATBOT" - Telegram 3P messaging app + // "TELEPHONE_ASSISTANT" - Assistant on a phone call (go/telephone). + // "VERILY_ONDUO" + // "YOUTUBE_APP" - A Youtube app. + // "AGSA_BISTO_FOR_EVAL" - Eval-only surfaces. These surfaces are not + // real surfaces. They are only used in intermediate steps of eval query + // and request generation: 1. Eval samplers (OPA query sampler and + // Cannery sampler) checks logs and temporarily assigns these surface + // types to the logs, to put Bisto, Lockhart Mic, ... queries in the + // correct query pools. 2. Request builders uses these surface types to + // determine how TaskRequest for Bisto, Lockhart Mic, ... should be + // built, like whether some user user agent should be used, whether some + // entry source should be set. The surface types in the generated + // TaskRequest is still the production surface types, like + // OPA_ANDROID_SCREENLESS or OPA_AGSA. Temp surface for Bisto Android + // eval. Will be merged with OPA_ANDROID_SCREENLESS in the future. + // "COGSWORTH_FOR_EVAL" + // "LOCKHART_MIC_FOR_EVAL" + // "OPA_ANDROID_AUTO_EMBEDDED_FAKE" - OPA_ANDROID_AUTO has another + // sub-surface (embedded) that differs in the reported capabilities, + // client-ops, flags but uses the same surface_type string of + // OPA_ANDROID_AUTO. This fake surface would allow running turing2 tests + // and evals for this embedded surface. Deprecated as of Feb 2019. + // Please use "OPA_ANDROID_AUTO_EMBEDDED" client type for tests and + // eval. See go/client-onboarding for more details. + // https://cs.corp.google.com/piper///depot/google3/assistant/assistant_server/tools/util/consts.h?l=32&rcl=247481455 + // "SPARK" - Unlaunched new surface prototype, ask spark-eng@. + // "WALLE" - Wall-E is an Area120 Project building assistant powered + // robots. The surface is an extended joplin which have same + // capabilities as a google home adding custom robot features. Currently + // in active development. Please reach out walle-software@ or bingxin@ + // for questions. For details see go/walle-as-pipeline-1-pager. + // "UNIT_TESTING" - Surface used for unit-testing purposes. Unit-tests + // might still require the existence of a "valid" SurfaceType to succeed + // (eg. initialization of the CapabilityBuilder, proto matching, etc.). + // With the move away from SurfaceType checks, a generic "TESTING" + // SurfaceType can be used for such tests without affecting the test + // behavior. Unlike the CAPABILITY_BASED_SURFACE, this proto does not + // have any capabilities or ResponseType tied to it. It should only be + // used for unit-tests and should not be exposed in the ASDebugger. + LegacySurfaceType string `json:"legacySurfaceType,omitempty"` + // SurfaceType: The device's surface type. The types are defined at // google3/assistant/api/core_types/surfaces.gcl. For more details, // refer to go/ontologicalize-surface-type. @@ -23599,7 +23716,7 @@ func (s *AssistantGroundingRankerDeviceTargetingFeaturesProperties) MarshalJSON( // AssistantGroundingRankerDeviceTargetingFeaturesStates: The states of // the device. They are dynamic and may change based on the current -// context. Next ID: 13 +// context. Next ID: 15 type AssistantGroundingRankerDeviceTargetingFeaturesStates struct { // Distance: The distance of the device relative to others that hear the // user's OKG. @@ -23666,6 +23783,32 @@ type AssistantGroundingRankerDeviceTargetingFeaturesStates struct { // device. IsTethered bool `json:"isTethered,omitempty"` + // MediaFocusStateFromHearingDevice: Indicates the state of media focus + // from a separate non-local hearing device. + // + // Possible values: + // "NO_FOCUS" - There is no focus device available or the focus is + // invalid. + // "HARD_FOCUS" - The focus is valid and there is a playing session on + // focus device. + // "SOFT_FOCUS" - The focus is valid however there is no playing + // session on focus device and might require confirmation from user + // (dialog) before proceeding to use focus device. + MediaFocusStateFromHearingDevice string `json:"mediaFocusStateFromHearingDevice,omitempty"` + + // MediaFocusStateFromLocalDevice: Indicates the state of media focus + // from a separate local device. + // + // Possible values: + // "NO_FOCUS" - There is no focus device available or the focus is + // invalid. + // "HARD_FOCUS" - The focus is valid and there is a playing session on + // focus device. + // "SOFT_FOCUS" - The focus is valid however there is no playing + // session on focus device and might require confirmation from user + // (dialog) before proceeding to use focus device. + MediaFocusStateFromLocalDevice string `json:"mediaFocusStateFromLocalDevice,omitempty"` + // ForceSendFields is a list of field names (e.g. "Distance") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -23983,7 +24126,7 @@ func (s *AssistantGroundingRankerLaaFeaturesProvider) MarshalJSON() ([]byte, err } // AssistantGroundingRankerMediaGroundingProviderFeatures: Features to -// be passed from Media GP to HGR. Next ID: 19 +// be passed from Media GP to HGR. Next ID: 20 type AssistantGroundingRankerMediaGroundingProviderFeatures struct { // AlbumReleaseType: Release type for an album container. // @@ -24050,6 +24193,20 @@ type AssistantGroundingRankerMediaGroundingProviderFeatures struct { // seeking music. IsYoutubeMusicSeeking bool `json:"isYoutubeMusicSeeking,omitempty"` + // MediaAccountType: Account Type of the user for the provider + // + // Possible values: + // "ANONYMOUS_ACCOUNT" - User has not signed-in. + // "BASIC_SUBSCRIPTION" - The user has signed-in for an account with + // basic subscription. This is the case, for example, with Video On + // Demand (VOD) or for music services such as Google Play Music All + // Access. + // "PREMIUM_SUBSCRIPTION" - The user has signed-in for an account with + // premium subscription. This is the case, for example, with Pay TV + // services like Flix. + // "FREE_CONTENT" - The user signed-in for free content. + MediaAccountType string `json:"mediaAccountType,omitempty"` + // MediaContentType: MediaAquaAction::media_content_type from // interpretation. It can be used for cross-content type ranking, for // example, if a candidate's content type does not match this content @@ -26745,7 +26902,7 @@ func (s *AssistantPfrTiebreakingMetadata) 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: 66 +// ID: 68 type AssistantPrefulfillmentRankerPrefulfillmentSignals struct { // BindingSetAuis: Assistant User Interaction Score for binding set. BindingSetAuis float64 `json:"bindingSetAuis,omitempty"` @@ -26876,6 +27033,9 @@ type AssistantPrefulfillmentRankerPrefulfillmentSignals struct { // IsMediaControlIntent: Whether the intent is a media control intent. IsMediaControlIntent bool `json:"isMediaControlIntent,omitempty"` + // IsNspIntent: Whether this interpretation was genearted by NSP. + IsNspIntent bool `json:"isNspIntent,omitempty"` + // IsPlayGenericMusic: Whether the intent is a PlayGenericMusic-type // intent. IsPlayGenericMusic bool `json:"isPlayGenericMusic,omitempty"` @@ -27085,6 +27245,10 @@ type AssistantPrefulfillmentRankerPrefulfillmentSignals struct { // http://google3/logs/proto/speech/service/recognizer_log.proto?l=848&rcl=281400256 TopHypothesisConfidence float64 `json:"topHypothesisConfidence,omitempty"` + // UsesGroundingBox: Whether the interpretation should run through + // grounding box or not. + UsesGroundingBox bool `json:"usesGroundingBox,omitempty"` + // VerticalConfidenceScore: Horizontal feature that stores information // about confidence scores for each resolution within the binding set. VerticalConfidenceScore float64 `json:"verticalConfidenceScore,omitempty"` @@ -40493,7 +40657,7 @@ type GeostoreDataSourceProto struct { // "PROVIDER_GOOGLE" - ABSTRACT // "PROVIDER_GOOGLE_HAND_EDIT" // "PROVIDER_GOOGLE_BORDERS" - All new "Google" provider entries must - // be full ints. The next available ID is: 0x111730B6 + // be full ints. The next available ID is: 0x111730B7 // "PROVIDER_GOOGLE_SUBRANGE" - ABSTRACT // "PROVIDER_GOOGLE_GT_FUSION" // "PROVIDER_GOOGLE_ZAGAT_CMS" @@ -40675,6 +40839,7 @@ type GeostoreDataSourceProto struct { // "PROVIDER_GOOGLE_GT_LANE_AUTOMATION" // "PROVIDER_GOOGLE_GEO_NG_LOCAL" // "PROVIDER_GOOGLE_MAPFACTS_CLEANUP" + // "PROVIDER_GOOGLE_THIRD_PARTY_UGC" - UMBRELLA // "PROVIDER_GOOGLE_LOCALSEARCH" - The next new "Google" provider // entries should be placed above. // "PROVIDER_GOOGLE_TRANSIT" - UMBRELLA @@ -44350,9 +44515,7 @@ func (s *GeostoreFieldWithRightsProto) MarshalJSON() ([]byte, error) { // GeostoreFlowLineProto: Wrapper to hold data related to a lane’s // track, extendable for future data. type GeostoreFlowLineProto struct { - // Curvature: Curvature of the flowline. Note that, curvature can be - // present even if the flowline doesn't have a track. In which case, - // curvature will be derived from the segment polyline. + // Curvature: RESERVED Curvature *GeostoreCurvatureProto `json:"curvature,omitempty"` Track *GeostoreTrackProto `json:"track,omitempty"` @@ -45165,7 +45328,7 @@ type GeostoreInternalSourceSummaryProto struct { // "PROVIDER_GOOGLE" - ABSTRACT // "PROVIDER_GOOGLE_HAND_EDIT" // "PROVIDER_GOOGLE_BORDERS" - All new "Google" provider entries must - // be full ints. The next available ID is: 0x111730B6 + // be full ints. The next available ID is: 0x111730B7 // "PROVIDER_GOOGLE_SUBRANGE" - ABSTRACT // "PROVIDER_GOOGLE_GT_FUSION" // "PROVIDER_GOOGLE_ZAGAT_CMS" @@ -45347,6 +45510,7 @@ type GeostoreInternalSourceSummaryProto struct { // "PROVIDER_GOOGLE_GT_LANE_AUTOMATION" // "PROVIDER_GOOGLE_GEO_NG_LOCAL" // "PROVIDER_GOOGLE_MAPFACTS_CLEANUP" + // "PROVIDER_GOOGLE_THIRD_PARTY_UGC" - UMBRELLA // "PROVIDER_GOOGLE_LOCALSEARCH" - The next new "Google" provider // entries should be placed above. // "PROVIDER_GOOGLE_TRANSIT" - UMBRELLA @@ -47136,8 +47300,7 @@ type GeostoreNameProto struct { // "FLAG_TIMEZONE_ID" - This name is a timezone identifier in the // Olson database, for example "Europe/Zurich". All timezones have an // Olson identifier, understood by POSIX and Google's i18n/identifiers - // libraries. This flag applies only to features of TYPE_TIMEZONE type - // and at most one name should have this flag set + // libraries. This flag applies only to features of TYPE_TIMEZONE type. // "FLAG_PHONE_NUMBER_PREFIX" - This name is the prefix for a phone // number, starting with + and followed by a country code. This flag // applies only to features of TYPE_PHONE_NUMBER_PREFIX type and at most @@ -47350,7 +47513,7 @@ type GeostoreOntologyRawGConceptInstanceProto struct { // "PROVIDER_GOOGLE" - ABSTRACT // "PROVIDER_GOOGLE_HAND_EDIT" // "PROVIDER_GOOGLE_BORDERS" - All new "Google" provider entries must - // be full ints. The next available ID is: 0x111730B6 + // be full ints. The next available ID is: 0x111730B7 // "PROVIDER_GOOGLE_SUBRANGE" - ABSTRACT // "PROVIDER_GOOGLE_GT_FUSION" // "PROVIDER_GOOGLE_ZAGAT_CMS" @@ -47532,6 +47695,7 @@ type GeostoreOntologyRawGConceptInstanceProto struct { // "PROVIDER_GOOGLE_GT_LANE_AUTOMATION" // "PROVIDER_GOOGLE_GEO_NG_LOCAL" // "PROVIDER_GOOGLE_MAPFACTS_CLEANUP" + // "PROVIDER_GOOGLE_THIRD_PARTY_UGC" - UMBRELLA // "PROVIDER_GOOGLE_LOCALSEARCH" - The next new "Google" provider // entries should be placed above. // "PROVIDER_GOOGLE_TRANSIT" - UMBRELLA @@ -49899,7 +50063,7 @@ type GeostoreProvenanceProto struct { // "PROVIDER_GOOGLE" - ABSTRACT // "PROVIDER_GOOGLE_HAND_EDIT" // "PROVIDER_GOOGLE_BORDERS" - All new "Google" provider entries must - // be full ints. The next available ID is: 0x111730B6 + // be full ints. The next available ID is: 0x111730B7 // "PROVIDER_GOOGLE_SUBRANGE" - ABSTRACT // "PROVIDER_GOOGLE_GT_FUSION" // "PROVIDER_GOOGLE_ZAGAT_CMS" @@ -50081,6 +50245,7 @@ type GeostoreProvenanceProto struct { // "PROVIDER_GOOGLE_GT_LANE_AUTOMATION" // "PROVIDER_GOOGLE_GEO_NG_LOCAL" // "PROVIDER_GOOGLE_MAPFACTS_CLEANUP" + // "PROVIDER_GOOGLE_THIRD_PARTY_UGC" - UMBRELLA // "PROVIDER_GOOGLE_LOCALSEARCH" - The next new "Google" provider // entries should be placed above. // "PROVIDER_GOOGLE_TRANSIT" - UMBRELLA @@ -69106,6 +69271,128 @@ func (s *HtmlrenderWebkitHeadlessProtoWindowOpenEvent) MarshalJSON() ([]byte, er return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// HumanSensingFaceAttribute: Defines a generic attribute. The name +// field is the name of the attribute (for example beard, glasses, joy). +// The confidence defines how reliable the given annotation is. For +// binary attributes it is bounded between 0 and 1 and can be +// interpreted as the posterior probability. The value field can be used +// for continuous attributes like age. Information returned or stored in +// this message may be sensitive from a privacy, policy, or legal point +// of view. Clients should consult with their p-counsels and the privacy +// working group (go/pwg) to make sure their use respects Google +// policies. +type HumanSensingFaceAttribute struct { + Confidence float64 `json:"confidence,omitempty"` + + Name string `json:"name,omitempty"` + + // Possible values: + // "TYPE_UNKNOWN" + // "FREE_FORM" + // "FEMALE" - Attribute types that describe the gender of a face. For + // an attribute if type FEMALE the confidence represent the probability + // of a face to be from a female person. Similarly, for an attribute of + // type MALE the confidence is the probability of a face to be from a + // male person. 4 is reserved for OTHER_GENDER. + // "MALE" + // "AGE" - Attribute type that represent the age of the face. For an + // attribute of this type the field value represent the age. Values are + // assumed to be in the range [0, 95]. + // "NON_HUMAN" - This attributes is used to distinguish actual human + // faces from other possible face detections like face of sculptures, + // cartoons faces, and some false detections. + // "GLASSES" - Attributes types that describes face + // appearances/configurations (mouth open, eyes visibles and looking + // into the camera, smiling) and props (glasses, dark glasses, and + // headwear). + // "DARK_GLASSES" + // "HEADWEAR" + // "EYES_VISIBLE" + // "LEFT_EYELID_CLOSED" + // "RIGHT_EYELID_CLOSED" + // "MOUTH_OPEN" + // "FACIAL_HAIR" + // "LONG_HAIR" + // "FRONTAL_GAZE" + // "SMILING" + // "UNDER_EXPOSED" + // "BLURRED" + // "LEFT_EYE_VISIBLE" - Attributes for the visibility of face + // landmarks. The landmarks refers to a single point in the image, so + // the eyes are visible if their center is visible, the ears are visible + // if the ear tragion is visible. + // "RIGHT_EYE_VISIBLE" + // "LEFT_EAR_VISIBLE" + // "RIGHT_EAR_VISIBLE" + // "NOSE_TIP_VISIBLE" + // "MOUTH_CENTER_VISIBLE" + // "LOWER_FACE_COVERED" - An attribute describing if the lower part of + // a face is covered by something like a face mask, a scarf or any other + // type of covering. The expectation is for both the mouth and the nose + // tip to be covered. This is useful for labeling faces in images + // captured during the Covid pandemic. + // "AMUSEMENT" - FeelNet expressions. + // "ANGER" + // "CONCENTRATION" + // "CONFUSION" + // "CONTENTMENT" + // "DESIRE" + // "DISAPPOINTMENT" + // "DISGUST" + // "ELATION" + // "EMBARRASSMENT" + // "INTEREST" + // "LOVE" + // "PAIN" + // "PRIDE" + // "RELIEF" + // "SADNESS" + // "SURPRISE" + // "CANDID" + // "POSED" + Type string `json:"type,omitempty"` + + Value float64 `json:"value,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *HumanSensingFaceAttribute) MarshalJSON() ([]byte, error) { + type NoMethod HumanSensingFaceAttribute + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *HumanSensingFaceAttribute) UnmarshalJSON(data []byte) error { + type NoMethod HumanSensingFaceAttribute + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + Value gensupport.JSONFloat64 `json:"value"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + s.Value = float64(s1.Value) + return nil +} + // I18nPhonenumbersPhoneNumber: The PhoneNumber object that is used by // all LibPhoneNumber API's to fully represent a phone number. type I18nPhonenumbersPhoneNumber struct { @@ -69762,7 +70049,7 @@ func (s *ImageContentStarburstVersionGroup) UnmarshalJSON(data []byte) error { // ImageData: This defines the per-doc data which is extracted from // thumbnails and propagated over to indexing. It contains all -// information that can be used for restricts. Next tag id: 131 +// information that can be used for restricts. Next tag id: 132 type ImageData struct { // AdaboostImageFeaturePorn: Warning: adaboost_image_feature_porn* and // imageFeaturePorn fields are DEPRECATED in favor of brain_porn_scores. @@ -69874,6 +70161,9 @@ type ImageData struct { // for selected corpora. ExtendedExif *PhotosImageMetadata `json:"extendedExif,omitempty"` + // FaceDetection: Face Detection. + FaceDetection *ReneFaceResponse `json:"faceDetection,omitempty"` + // FeaturedImageProp: Properties used in featured imagesearch project. // inspiration_score indicates how well an image is related to products, // or how inspirational it is. @@ -76067,7 +76357,7 @@ func (s *IndexingDocjoinerCDocBuildInfo) MarshalJSON() ([]byte, error) { // DataInfo that annotate who generates the data, the Index Signals or // Goldmine annotator name for the fields already onboarded or being // onboarded to FDP. Fields without annotation of signal_names or -// goldmine_annotator_names are not onboarded. Next ID: 538 +// goldmine_annotator_names are not onboarded. Next ID: 539 type IndexingDocjoinerDataVersion struct { AcceleratedShoppingSignal *IndexingDocjoinerDataVersionVersionInfo `json:"acceleratedShoppingSignal,omitempty"` @@ -76205,9 +76495,11 @@ type IndexingDocjoinerDataVersion struct { ImageStockStockImageAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"imageStockStockImageAnnotation,omitempty"` - // Imageembed: END DATA FIELDS Imageembed *IndexingDocjoinerDataVersionVersionInfo `json:"imageembed,omitempty"` + // ImageembedDomainNorm: END DATA FIELDS + ImageembedDomainNorm *IndexingDocjoinerDataVersionVersionInfo `json:"imageembedDomainNorm,omitempty"` + IndexingAnnotationsAnnotationMeta *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsAnnotationMeta,omitempty"` IndexingAnnotationsAppMarketAppMarketAnnotation *IndexingDocjoinerDataVersionVersionInfo `json:"indexingAnnotationsAppMarketAppMarketAnnotation,omitempty"` @@ -106567,6 +106859,7 @@ type PeoplestackFlexorgsProtoInternalExternal struct { // labs-tailwind-eng-team@google.com // "ZOMBIE_CLOUD" - Zombie Cloud Team contact: // zombie-cloud-eng@google.com + // "RELATIONSHIPS" - Relationships Team contact: hana-dev@google.com // "DEPRECATED_QUICKSTART_FLUME" // "DUO_CLIENT" - Duo Client Team contact: duo-eng@google.com // "ALBERT" - Project albert (go/albert-frontend) Team contact: @@ -110322,6 +110615,713 @@ func (s *PhotosVisionObjectrecROI) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// PhotosVisionServiceFaceFaceParams: FaceParams are a collection of +// parameters of a single face found in an image. WARNING: This message +// has a jspb target. If you add a new message field inside, either put +// its definition inside this message as well or add the js file +// corresponding to the new message to the js_deps and proto_js rules in +// the BUILD file; otherwise it will break lots of builds. The js file +// name is the message name all in lowercase letters. Next available id: +// 40. +type PhotosVisionServiceFaceFaceParams struct { + // Age: The age of the face. Range [0.0, 120.0]. + Age float64 `json:"age,omitempty"` + + AngerProbability float64 `json:"angerProbability,omitempty"` + + // Attribute: Attributes for the detected face. Information returned or + // stored in this message may be sensitive from a privacy, policy, or + // legal point of view. Clients should consult with their p-counsels and + // the privacy working group (go/pwg) to make sure their use respects + // Google policies. + Attribute []*HumanSensingFaceAttribute `json:"attribute,omitempty"` + + BeardProbability float64 `json:"beardProbability,omitempty"` + + BlurredProbability float64 `json:"blurredProbability,omitempty"` + + // BoundingBox: Bounding box around the face. The coordinates of the + // bounding box are in the original image's scale as returned in + // ImageParams. The bounding box is computed to "frame" the face as a + // human would expect, and is typically used in UI (e.g. G+ to show + // circles around detected faces). It is based on the landmarker + // results. + BoundingBox *PhotosVisionServiceFaceFaceParamsBoundingBox `json:"boundingBox,omitempty"` + + DarkGlassesProbability float64 `json:"darkGlassesProbability,omitempty"` + + // DetectionConfidence: Confidence is in the range [0,1]. + DetectionConfidence float64 `json:"detectionConfidence,omitempty"` + + ExtendedLandmarks []*PhotosVisionServiceFaceFaceParamsExtendedLandmark `json:"extendedLandmarks,omitempty"` + + EyesClosedProbability float64 `json:"eyesClosedProbability,omitempty"` + + // Face2cartoonResults: Attributes of the detected face useful for + // generating a cartoon version of the face. + Face2cartoonResults *ResearchVisionFace2cartoonFace2CartoonResults `json:"face2cartoonResults,omitempty"` + + FaceCropV8 *PhotosVisionServiceFaceFaceParamsFaceCropV8 `json:"faceCropV8,omitempty"` + + // FdBoundingBox: This other bounding box is tighter than the previous + // one, and encloses only the skin part of the face. It is typically + // used to eliminate the face from any image analysis that looks up the + // "amount of skin" visible in an image (e.g. safesearch content score). + // It is not based on the landmarker results, just on the initial face + // detection, hence the 'fd' prefix. + FdBoundingBox *PhotosVisionServiceFaceFaceParamsBoundingBox `json:"fdBoundingBox,omitempty"` + + // FemaleProbability: Probability is in the range [0,1]. + FemaleProbability float64 `json:"femaleProbability,omitempty"` + + FrontalGazeProbability float64 `json:"frontalGazeProbability,omitempty"` + + GlassesProbability float64 `json:"glassesProbability,omitempty"` + + HeadwearProbability float64 `json:"headwearProbability,omitempty"` + + // ImageParams: A copy of the 'image_params' field that is also returned + // as part of the ExtractFacesReply. It contains the with and height of + // the image the face extraction was performed on and provides the + // original frame of reference for the bounding boxes above. + ImageParams *PhotosVisionServiceFaceImageParams `json:"imageParams,omitempty"` + + JoyProbability float64 `json:"joyProbability,omitempty"` + + LandmarkPositions []*PhotosVisionServiceFaceFaceParamsLandmarkPosition `json:"landmarkPositions,omitempty"` + + LandmarkingConfidence float64 `json:"landmarkingConfidence,omitempty"` + + LeftEyeClosedProbability float64 `json:"leftEyeClosedProbability,omitempty"` + + LongHairProbability float64 `json:"longHairProbability,omitempty"` + + MouthOpenProbability float64 `json:"mouthOpenProbability,omitempty"` + + NonHumanProbability float64 `json:"nonHumanProbability,omitempty"` + + // PanAngle: Yaw angle. Indicates how much leftward/rightward the face + // is pointing relative to the vertical plane perpendicular to the + // image. Range [-180,180]. + PanAngle float64 `json:"panAngle,omitempty"` + + PoseMatrix *PhotosVisionServiceFaceFaceParamsPoseMatrix `json:"poseMatrix,omitempty"` + + Pretemplate string `json:"pretemplate,omitempty"` + + // QualityScore: A score produced by the Face Quality Scoring Module + // that indicates overall quality of the face and its relative + // suitability for using it in conjunction with face recognition for + // instance. As such, the score predicts the likelihood to recognize a + // given face correctly. A face recognition client could use the score + // and a threshold to determine whether to use the face in a face model, + // or whether to even consider it for recognition. + QualityScore float64 `json:"qualityScore,omitempty"` + + RightEyeClosedProbability float64 `json:"rightEyeClosedProbability,omitempty"` + + // RollAngle: Roll angle indicates how much clockwise/anti-clockwise the + // face is rotated relative to the image vertical and about the axis + // perpendicular to the face. Range [-180,180]. + RollAngle float64 `json:"rollAngle,omitempty"` + + // Signature: Deprecated: signature will continue to be used for the + // pre-1.7 SDK template format typically created by the converter module + // CNVprec_461. All newer templates created with CNVprec_465 or later + // will use the repeated 'versioned_signatures' field to store the + // templates and version info. + Signature string `json:"signature,omitempty"` + + SkinBrightnessProbability float64 `json:"skinBrightnessProbability,omitempty"` + + SorrowProbability float64 `json:"sorrowProbability,omitempty"` + + SurpriseProbability float64 `json:"surpriseProbability,omitempty"` + + // TiltAngle: Pitch angle. Indicates how much upwards/downwards the face + // is pointing relative to the image's horizontal plane. Range + // [-180,180]. + TiltAngle float64 `json:"tiltAngle,omitempty"` + + UnderExposedProbability float64 `json:"underExposedProbability,omitempty"` + + VersionedSignatures []*PhotosVisionServiceFaceVersionedFaceSignature `json:"versionedSignatures,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Age") 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. "Age") 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 *PhotosVisionServiceFaceFaceParams) MarshalJSON() ([]byte, error) { + type NoMethod PhotosVisionServiceFaceFaceParams + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *PhotosVisionServiceFaceFaceParams) UnmarshalJSON(data []byte) error { + type NoMethod PhotosVisionServiceFaceFaceParams + var s1 struct { + Age gensupport.JSONFloat64 `json:"age"` + AngerProbability gensupport.JSONFloat64 `json:"angerProbability"` + BeardProbability gensupport.JSONFloat64 `json:"beardProbability"` + BlurredProbability gensupport.JSONFloat64 `json:"blurredProbability"` + DarkGlassesProbability gensupport.JSONFloat64 `json:"darkGlassesProbability"` + DetectionConfidence gensupport.JSONFloat64 `json:"detectionConfidence"` + EyesClosedProbability gensupport.JSONFloat64 `json:"eyesClosedProbability"` + FemaleProbability gensupport.JSONFloat64 `json:"femaleProbability"` + FrontalGazeProbability gensupport.JSONFloat64 `json:"frontalGazeProbability"` + GlassesProbability gensupport.JSONFloat64 `json:"glassesProbability"` + HeadwearProbability gensupport.JSONFloat64 `json:"headwearProbability"` + JoyProbability gensupport.JSONFloat64 `json:"joyProbability"` + LandmarkingConfidence gensupport.JSONFloat64 `json:"landmarkingConfidence"` + LeftEyeClosedProbability gensupport.JSONFloat64 `json:"leftEyeClosedProbability"` + LongHairProbability gensupport.JSONFloat64 `json:"longHairProbability"` + MouthOpenProbability gensupport.JSONFloat64 `json:"mouthOpenProbability"` + NonHumanProbability gensupport.JSONFloat64 `json:"nonHumanProbability"` + PanAngle gensupport.JSONFloat64 `json:"panAngle"` + QualityScore gensupport.JSONFloat64 `json:"qualityScore"` + RightEyeClosedProbability gensupport.JSONFloat64 `json:"rightEyeClosedProbability"` + RollAngle gensupport.JSONFloat64 `json:"rollAngle"` + SkinBrightnessProbability gensupport.JSONFloat64 `json:"skinBrightnessProbability"` + SorrowProbability gensupport.JSONFloat64 `json:"sorrowProbability"` + SurpriseProbability gensupport.JSONFloat64 `json:"surpriseProbability"` + TiltAngle gensupport.JSONFloat64 `json:"tiltAngle"` + UnderExposedProbability gensupport.JSONFloat64 `json:"underExposedProbability"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Age = float64(s1.Age) + s.AngerProbability = float64(s1.AngerProbability) + s.BeardProbability = float64(s1.BeardProbability) + s.BlurredProbability = float64(s1.BlurredProbability) + s.DarkGlassesProbability = float64(s1.DarkGlassesProbability) + s.DetectionConfidence = float64(s1.DetectionConfidence) + s.EyesClosedProbability = float64(s1.EyesClosedProbability) + s.FemaleProbability = float64(s1.FemaleProbability) + s.FrontalGazeProbability = float64(s1.FrontalGazeProbability) + s.GlassesProbability = float64(s1.GlassesProbability) + s.HeadwearProbability = float64(s1.HeadwearProbability) + s.JoyProbability = float64(s1.JoyProbability) + s.LandmarkingConfidence = float64(s1.LandmarkingConfidence) + s.LeftEyeClosedProbability = float64(s1.LeftEyeClosedProbability) + s.LongHairProbability = float64(s1.LongHairProbability) + s.MouthOpenProbability = float64(s1.MouthOpenProbability) + s.NonHumanProbability = float64(s1.NonHumanProbability) + s.PanAngle = float64(s1.PanAngle) + s.QualityScore = float64(s1.QualityScore) + s.RightEyeClosedProbability = float64(s1.RightEyeClosedProbability) + s.RollAngle = float64(s1.RollAngle) + s.SkinBrightnessProbability = float64(s1.SkinBrightnessProbability) + s.SorrowProbability = float64(s1.SorrowProbability) + s.SurpriseProbability = float64(s1.SurpriseProbability) + s.TiltAngle = float64(s1.TiltAngle) + s.UnderExposedProbability = float64(s1.UnderExposedProbability) + return nil +} + +type PhotosVisionServiceFaceFaceParamsBoundingBox struct { + // X1: These coordinates are in the same scale as the original image. 0 + // <= x < width, 0 <= y < height. + X1 int64 `json:"x1,omitempty"` + + X2 int64 `json:"x2,omitempty"` + + Y1 int64 `json:"y1,omitempty"` + + Y2 int64 `json:"y2,omitempty"` + + // ForceSendFields is a list of field names (e.g. "X1") 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. "X1") 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 *PhotosVisionServiceFaceFaceParamsBoundingBox) MarshalJSON() ([]byte, error) { + type NoMethod PhotosVisionServiceFaceFaceParamsBoundingBox + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// PhotosVisionServiceFaceFaceParamsExtendedLandmark: Below is the set +// of extended landmarks added by LMprec_508 and 510. All future +// additional landmarks should be added to this message. +type PhotosVisionServiceFaceFaceParamsExtendedLandmark struct { + // Possible values: + // "NOSE_BOTTOM_RIGHT" + // "NOSE_BOTTOM_LEFT" + // "NOSE_BOTTOM_CENTER" - The following landmark is available with + // LMprec_508 and later + // "LEFT_EYE_TOP_BOUNDARY" - The following landmarks are extracted by + // LMprec_510 and later. See also documentation at + // www/~jsteffens/no_crawl/doc/FaceDetection/LM510.pdf + // "LEFT_EYE_RIGHT_CORNER" + // "LEFT_EYE_BOTTOM_BOUNDARY" + // "LEFT_EYE_LEFT_CORNER" + // "RIGHT_EYE_TOP_BOUNDARY" + // "RIGHT_EYE_RIGHT_CORNER" + // "RIGHT_EYE_BOTTOM_BOUNDARY" + // "RIGHT_EYE_LEFT_CORNER" + // "LEFT_EYEBROW_UPPER_MIDPOINT" + // "RIGHT_EYEBROW_UPPER_MIDPOINT" + // "LEFT_EAR_TRAGION" + // "RIGHT_EAR_TRAGION" + // "LEFT_EYE_PUPIL" + // "RIGHT_EYE_PUPIL" + // "FOREHEAD_GLABELLA" + // "CHIN_GNATHION" + // "CHIN_LEFT_GONION" + // "CHIN_RIGHT_GONION" + // "LEFT_CHEEK_CENTER" - The following landmarks are extracted by + // LMprec_600 and later. See go/facesdk. + // "RIGHT_CHEEK_CENTER" + // "UNKNOWN_LANDMARK" - Reserved id for an unknown landmark. This + // matches the id reserved by the core SDK for an external UNKNOWN + // landmark. + Id string `json:"id,omitempty"` + + // X: NOTE that landmark positions may fall outside the bounds of the + // image when the face is near one or more edges of the image. That is, + // it is NOT guaranteed that 0 <= x < width or 0 <= y < height. Rounded + // version of x_f. + X int64 `json:"x,omitempty"` + + XF float64 `json:"xF,omitempty"` + + // Y: Rounded version of y_f. + Y int64 `json:"y,omitempty"` + + YF float64 `json:"yF,omitempty"` + + Z float64 `json:"z,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Id") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // 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. "Id") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // 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 *PhotosVisionServiceFaceFaceParamsExtendedLandmark) MarshalJSON() ([]byte, error) { + type NoMethod PhotosVisionServiceFaceFaceParamsExtendedLandmark + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *PhotosVisionServiceFaceFaceParamsExtendedLandmark) UnmarshalJSON(data []byte) error { + type NoMethod PhotosVisionServiceFaceFaceParamsExtendedLandmark + var s1 struct { + XF gensupport.JSONFloat64 `json:"xF"` + YF gensupport.JSONFloat64 `json:"yF"` + Z gensupport.JSONFloat64 `json:"z"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.XF = float64(s1.XF) + s.YF = float64(s1.YF) + s.Z = float64(s1.Z) + return nil +} + +// PhotosVisionServiceFaceFaceParamsFaceCropV8: Information defining a +// FaceCrop for a particular face. See +// go/on-device-face-grouping-face-crops for more details. +type PhotosVisionServiceFaceFaceParamsFaceCropV8 struct { + // CenterX: The X coordinate of the center of the face crop. + CenterX float64 `json:"centerX,omitempty"` + + // CenterY: The Y coordinate of the center of the face crop. + CenterY float64 `json:"centerY,omitempty"` + + // Rotation: Rotation of the face crop, in radians. + Rotation float64 `json:"rotation,omitempty"` + + // Scale: Scale to apply to the coordinates of the face crop. + Scale float64 `json:"scale,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CenterX") 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. "CenterX") 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 *PhotosVisionServiceFaceFaceParamsFaceCropV8) MarshalJSON() ([]byte, error) { + type NoMethod PhotosVisionServiceFaceFaceParamsFaceCropV8 + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *PhotosVisionServiceFaceFaceParamsFaceCropV8) UnmarshalJSON(data []byte) error { + type NoMethod PhotosVisionServiceFaceFaceParamsFaceCropV8 + var s1 struct { + CenterX gensupport.JSONFloat64 `json:"centerX"` + CenterY gensupport.JSONFloat64 `json:"centerY"` + Rotation gensupport.JSONFloat64 `json:"rotation"` + Scale gensupport.JSONFloat64 `json:"scale"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.CenterX = float64(s1.CenterX) + s.CenterY = float64(s1.CenterY) + s.Rotation = float64(s1.Rotation) + s.Scale = float64(s1.Scale) + return nil +} + +type PhotosVisionServiceFaceFaceParamsLandmarkPosition struct { + // Landmark: Some landmarks are set during face finding and some are set + // during landmark finding. Only after landmarking will all landmarks be + // set. + // + // Possible values: + // "LEFT_EYE" - Left and right are as viewed in the image without + // considering mirror projection typical in photos. So LEFT_EYE is + // typically the person's right eye. For convenience and consistency the + // enum values mirror the corresponding values defined by the Neven + // Vision SDK. See landmark table at: + // wiki/twiki/bin/view/Main/FRSDKLandmarkPositions The following + // landmarks are extracted by LMprec_502 and later + // "RIGHT_EYE" + // "LEFT_OF_LEFT_EYEBROW" + // "RIGHT_OF_LEFT_EYEBROW" + // "LEFT_OF_RIGHT_EYEBROW" + // "RIGHT_OF_RIGHT_EYEBROW" + // "MIDPOINT_BETWEEN_EYES" + // "NOSE_TIP" + // "UPPER_LIP" + // "LOWER_LIP" + // "MOUTH_LEFT" + // "MOUTH_RIGHT" + // "MOUTH_CENTER" + // "DEPRECATED_NOSE_BOTTOM_RIGHT" - All values below are deprecated. + // Please use ExtendedLandmark to use them. + // "DEPRECATED_NOSE_BOTTOM_LEFT" + // "DEPRECATED_NOSE_BOTTOM_CENTER" + // "DEPRECATED_LEFT_EYE_TOP_BOUNDARY" + // "DEPRECATED_LEFT_EYE_RIGHT_CORNER" + // "DEPRECATED_LEFT_EYE_BOTTOM_BOUNDARY" + // "DEPRECATED_LEFT_EYE_LEFT_CORNER" + // "DEPRECATED_RIGHT_EYE_TOP_BOUNDARY" + // "DEPRECATED_RIGHT_EYE_RIGHT_CORNER" + // "DEPRECATED_RIGHT_EYE_BOTTOM_BOUNDARY" + // "DEPRECATED_RIGHT_EYE_LEFT_CORNER" + // "DEPRECATED_LEFT_EYEBROW_UPPER_MIDPOINT" + // "DEPRECATED_RIGHT_EYEBROW_UPPER_MIDPOINT" + // "DEPRECATED_LEFT_EAR_TRAGION" + // "DEPRECATED_RIGHT_EAR_TRAGION" + // "DEPRECATED_FOREHEAD_GLABELLA" + // "DEPRECATED_CHIN_GNATHION" + // "DEPRECATED_CHIN_LEFT_GONION" + // "DEPRECATED_CHIN_RIGHT_GONION" + // "DEPRECATED_UNKNOWN_LANDMARK" + Landmark string `json:"landmark,omitempty"` + + // X: NOTE that landmark positions may fall outside the bounds of the + // image when the face is near one or more edges of the image. That is, + // it is NOT guaranteed that 0 <= x < width or 0 <= y < height. Rounded + // version of x_f. + X int64 `json:"x,omitempty"` + + XF float64 `json:"xF,omitempty"` + + // Y: Rounded version of y_f. + Y int64 `json:"y,omitempty"` + + YF float64 `json:"yF,omitempty"` + + Z float64 `json:"z,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Landmark") 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. "Landmark") 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 *PhotosVisionServiceFaceFaceParamsLandmarkPosition) MarshalJSON() ([]byte, error) { + type NoMethod PhotosVisionServiceFaceFaceParamsLandmarkPosition + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *PhotosVisionServiceFaceFaceParamsLandmarkPosition) UnmarshalJSON(data []byte) error { + type NoMethod PhotosVisionServiceFaceFaceParamsLandmarkPosition + var s1 struct { + XF gensupport.JSONFloat64 `json:"xF"` + YF gensupport.JSONFloat64 `json:"yF"` + Z gensupport.JSONFloat64 `json:"z"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.XF = float64(s1.XF) + s.YF = float64(s1.YF) + s.Z = float64(s1.Z) + return nil +} + +// PhotosVisionServiceFaceFaceParamsPoseMatrix: Stores the full pose +// transformation matrix of the detected face. From this the roll, pan, +// tilt angles can be computed. +type PhotosVisionServiceFaceFaceParamsPoseMatrix struct { + Xx float64 `json:"xx,omitempty"` + + Xy float64 `json:"xy,omitempty"` + + Xz float64 `json:"xz,omitempty"` + + Yx float64 `json:"yx,omitempty"` + + Yy float64 `json:"yy,omitempty"` + + Yz float64 `json:"yz,omitempty"` + + Zx float64 `json:"zx,omitempty"` + + Zy float64 `json:"zy,omitempty"` + + Zz float64 `json:"zz,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Xx") 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. "Xx") 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 *PhotosVisionServiceFaceFaceParamsPoseMatrix) MarshalJSON() ([]byte, error) { + type NoMethod PhotosVisionServiceFaceFaceParamsPoseMatrix + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *PhotosVisionServiceFaceFaceParamsPoseMatrix) UnmarshalJSON(data []byte) error { + type NoMethod PhotosVisionServiceFaceFaceParamsPoseMatrix + var s1 struct { + Xx gensupport.JSONFloat64 `json:"xx"` + Xy gensupport.JSONFloat64 `json:"xy"` + Xz gensupport.JSONFloat64 `json:"xz"` + Yx gensupport.JSONFloat64 `json:"yx"` + Yy gensupport.JSONFloat64 `json:"yy"` + Yz gensupport.JSONFloat64 `json:"yz"` + Zx gensupport.JSONFloat64 `json:"zx"` + Zy gensupport.JSONFloat64 `json:"zy"` + Zz gensupport.JSONFloat64 `json:"zz"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Xx = float64(s1.Xx) + s.Xy = float64(s1.Xy) + s.Xz = float64(s1.Xz) + s.Yx = float64(s1.Yx) + s.Yy = float64(s1.Yy) + s.Yz = float64(s1.Yz) + s.Zx = float64(s1.Zx) + s.Zy = float64(s1.Zy) + s.Zz = float64(s1.Zz) + return nil +} + +// PhotosVisionServiceFaceImageParams: ImageParams are a collection of +// parameters of the image on which face detection was performed. +type PhotosVisionServiceFaceImageParams struct { + Height int64 `json:"height,omitempty"` + + Width int64 `json:"width,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Height") 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. "Height") 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 *PhotosVisionServiceFaceImageParams) MarshalJSON() ([]byte, error) { + type NoMethod PhotosVisionServiceFaceImageParams + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// PhotosVisionServiceFaceVersionedFaceSignature: From newer SDK +// versions onward (1.7+), each face template (signature) will also +// store a version # derived from the converter version that created the +// template. +type PhotosVisionServiceFaceVersionedFaceSignature struct { + // Confidence: Confidence score based on embedding uncertainty. This is + // populated if fetch_facenet_confidence has been set as true in + // FaceNetConfig, and FaceNet version satisfies one of the following: 1. + // FACENET_8. 2. FACENET_9 with confidence model enabled in + // FaceTemplatesConfig. If face_embedding_confidence module is + // requested, this will also be populated, and the signature will be + // empty. + Confidence float64 `json:"confidence,omitempty"` + + // ConfidenceVersion: The Confidence version that populated the + // confidence. + // + // Possible values: + // "EMBEDDING_CONFIDENCE_VERSION_UNSPECIFIED" + // "VERSION_1" - Corresponds to VSSV1DNormTfLiteClient. Regions + // without an embedding confidence version should be assumed to have + // this version. + // "VERSION_2" - Corresponds to AAV2DNorm. This is an animal-aware + // version with scores compatible with VERSION_1. + ConfidenceVersion string `json:"confidenceVersion,omitempty"` + + // ConverterVersion: The converter version that created this template. + // + // Possible values: + // "UNKNOWN" + // "PREC_461" + // "PREC_465" + // "PREC_470" + // "FACENET_7" + // "FACENET_8" + // "FACENET_CELEBRITY" + // "FACENET_9" + // "FACENET_9_TPU" + // "FACENET_MOBILE_V1_8BITS" + ConverterVersion string `json:"converterVersion,omitempty"` + + // Signature: The face template bytes. + Signature string `json:"signature,omitempty"` + + // SignatureSource: Specifies the source of the signature in cases where + // the bytes are from a lower level of the FaceNet architecture. This is + // useful in combination with the FaceNetClient when it returns multiple + // outputs and we need to keep track of their contents. For example, + // this could contain the string 'avgpool-0' while another instance can + // use the standard 'normalizing' string. + SignatureSource string `json:"signatureSource,omitempty"` + + // Version: The internal version of the template. This is a copy of the + // version stored within the template. + Version int64 `json:"version,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *PhotosVisionServiceFaceVersionedFaceSignature) MarshalJSON() ([]byte, error) { + type NoMethod PhotosVisionServiceFaceVersionedFaceSignature + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *PhotosVisionServiceFaceVersionedFaceSignature) UnmarshalJSON(data []byte) error { + type NoMethod PhotosVisionServiceFaceVersionedFaceSignature + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + // PornFlagData: A protocol buffer to store the url, referer and porn // flag for a url. and an optional image score. Next available tag id: // 51. @@ -111988,6 +112988,8 @@ type QualityActionsReminder struct { // "TRAIN_PLATFORM" // "NOTES_AND_LISTS_POST_MIGRATION" - Notifications for Notes and // Lists + // "ROUTINES_STOP_WUWA_REMINDER" - Notifications for user to stop the + // WUWA. // "UNIT_TESTING" - NOTE: This should always stay at the bottom of the // list. AsyncInteractionType string `json:"asyncInteractionType,omitempty"` @@ -121028,6 +122030,34 @@ func (s *RegistrationInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ReneFaceResponse: The output of the face recognition signal. +type ReneFaceResponse struct { + // Faces: Recognized faces in the image. + Faces []*PhotosVisionServiceFaceFaceParams `json:"faces,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Faces") 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. "Faces") 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 *ReneFaceResponse) MarshalJSON() ([]byte, error) { + type NoMethod ReneFaceResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // RepositoryAnnotationsGeoTopic: GeoTopicality of a document is a set // of GeoTopics ordered by their normalized scores. type RepositoryAnnotationsGeoTopic struct { @@ -133093,6 +134123,1347 @@ func (s *ResearchScienceSearchVersionClusterInfo) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type ResearchVisionFace2cartoonAgeClassifierResults struct { + // Possible values: + // "UNKNOWN" + // "BABY" + // "KID" + // "ADULT" + // "OLD" + Age string `json:"age,omitempty"` + + PredictedAge float64 `json:"predictedAge,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Age") 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. "Age") 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 *ResearchVisionFace2cartoonAgeClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonAgeClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonAgeClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonAgeClassifierResults + var s1 struct { + PredictedAge gensupport.JSONFloat64 `json:"predictedAge"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.PredictedAge = float64(s1.PredictedAge) + return nil +} + +type ResearchVisionFace2cartoonChinLengthClassifierResults struct { + // Possible values: + // "UNKNOWN" + // "SHORT" + // "AVERAGE" + // "LONG" + ChinLength string `json:"chinLength,omitempty"` + + Confidence float64 `json:"confidence,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ChinLength") 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. "ChinLength") 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 *ResearchVisionFace2cartoonChinLengthClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonChinLengthClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonChinLengthClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonChinLengthClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonEyeColorClassifierResults struct { + // Possible values: + // "UNKNOWN" + // "BROWN_OR_BLACK" + // "BLUE_OR_GREEN" + Color string `json:"color,omitempty"` + + Confidence float64 `json:"confidence,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Color") 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. "Color") 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 *ResearchVisionFace2cartoonEyeColorClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonEyeColorClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonEyeColorClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonEyeColorClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +// ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults: The +// measurement underlying this assumes fixed ear positions, so applying +// this combined with the FaceWidthClassifierResults may have an +// unintended outcome. +type ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "SMALL" + // "AVERAGE" + // "LARGE" + EyeEyebrowDistance string `json:"eyeEyebrowDistance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonEyeShapeClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "DOUBLE_FOLD_EYELID" + // "SINGLE_FOLD_EYELID" + Shape string `json:"shape,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonEyeShapeClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonEyeShapeClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonEyeShapeClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonEyeShapeClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonEyeSlantClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "OUTWARDS" + // "AVERAGE" + // "INWARDS" + EyeSlant string `json:"eyeSlant,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonEyeSlantClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonEyeSlantClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonEyeSlantClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonEyeSlantClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +// ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults: The +// measurement underlying this assumes fixed ear positions, so applying +// this combined with the FaceWidthClassifierResults may have an +// unintended outcome. +type ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "HIGH" + // "AVERAGE" + // "LOW" + EyeVerticalPosition string `json:"eyeVerticalPosition,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonEyebrowShapeClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "ST_BREAK" + // "ST_BEND" + // "HIGH_DIAGONAL" + // "TILT" + // "ROUND" + // "ANGULAR" + // "HIGH_CURVY" + // "ROUND_UNEVEN" + // "BUSHY_ST" + // "UNI" + EyebrowShape string `json:"eyebrowShape,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonEyebrowShapeClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonEyebrowShapeClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonEyebrowShapeClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonEyebrowShapeClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonEyebrowThicknessClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "THIN" + // "NORMAL" + // "THICK" + // "VERY_THICK" + EyebrowThickness string `json:"eyebrowThickness,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonEyebrowThicknessClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonEyebrowThicknessClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonEyebrowThicknessClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonEyebrowThicknessClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +// ResearchVisionFace2cartoonEyebrowWidthClassifierResults: The +// measurement underlying this assumes fixed ear positions, so applying +// this combined with the FaceWidthClassifierResults may have an +// unintended outcome. +type ResearchVisionFace2cartoonEyebrowWidthClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "NARROW" + // "AVERAGE" + // "WIDE" + EyebrowWidth string `json:"eyebrowWidth,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonEyebrowWidthClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonEyebrowWidthClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonEyebrowWidthClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonEyebrowWidthClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +// ResearchVisionFace2cartoonFace2CartoonResults: Results of the +// Face2Cartoon pipeline. +type ResearchVisionFace2cartoonFace2CartoonResults struct { + AgeClassifierResults []*ResearchVisionFace2cartoonAgeClassifierResults `json:"ageClassifierResults,omitempty"` + + ChinLengthClassifierResults []*ResearchVisionFace2cartoonChinLengthClassifierResults `json:"chinLengthClassifierResults,omitempty"` + + EyeColorClassifierResults []*ResearchVisionFace2cartoonEyeColorClassifierResults `json:"eyeColorClassifierResults,omitempty"` + + EyeEyebrowDistanceClassifierResults []*ResearchVisionFace2cartoonEyeEyebrowDistanceClassifierResults `json:"eyeEyebrowDistanceClassifierResults,omitempty"` + + EyeShapeClassifierResults []*ResearchVisionFace2cartoonEyeShapeClassifierResults `json:"eyeShapeClassifierResults,omitempty"` + + EyeSlantClassifierResults []*ResearchVisionFace2cartoonEyeSlantClassifierResults `json:"eyeSlantClassifierResults,omitempty"` + + EyeVerticalPositionClassifierResults []*ResearchVisionFace2cartoonEyeVerticalPositionClassifierResults `json:"eyeVerticalPositionClassifierResults,omitempty"` + + EyebrowShapeClassifierResults []*ResearchVisionFace2cartoonEyebrowShapeClassifierResults `json:"eyebrowShapeClassifierResults,omitempty"` + + EyebrowThicknessClassifierResults []*ResearchVisionFace2cartoonEyebrowThicknessClassifierResults `json:"eyebrowThicknessClassifierResults,omitempty"` + + EyebrowWidthClassifierResults []*ResearchVisionFace2cartoonEyebrowWidthClassifierResults `json:"eyebrowWidthClassifierResults,omitempty"` + + FaceWidthClassifierResults []*ResearchVisionFace2cartoonFaceWidthClassifierResults `json:"faceWidthClassifierResults,omitempty"` + + FacialHairClassifierResults []*ResearchVisionFace2cartoonFacialHairClassifierResults `json:"facialHairClassifierResults,omitempty"` + + GenderClassifierResults []*ResearchVisionFace2cartoonGenderClassifierResults `json:"genderClassifierResults,omitempty"` + + GlassesClassifierResults []*ResearchVisionFace2cartoonGlassesClassifierResults `json:"glassesClassifierResults,omitempty"` + + HairColorClassifierResults []*ResearchVisionFace2cartoonHairColorClassifierResults `json:"hairColorClassifierResults,omitempty"` + + HairStyleClassifierResults []*ResearchVisionFace2cartoonHairStyleClassifierResults `json:"hairStyleClassifierResults,omitempty"` + + InterEyeDistanceClassifierResults []*ResearchVisionFace2cartoonInterEyeDistanceClassifierResults `json:"interEyeDistanceClassifierResults,omitempty"` + + JawShapeClassifierResults []*ResearchVisionFace2cartoonJawShapeClassifierResults `json:"jawShapeClassifierResults,omitempty"` + + LipThicknessClassifierResults []*ResearchVisionFace2cartoonLipThicknessClassifierResults `json:"lipThicknessClassifierResults,omitempty"` + + MouthVerticalPositionClassifierResults []*ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults `json:"mouthVerticalPositionClassifierResults,omitempty"` + + MouthWidthClassifierResults []*ResearchVisionFace2cartoonMouthWidthClassifierResults `json:"mouthWidthClassifierResults,omitempty"` + + NoseVerticalPositionClassifierResults []*ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults `json:"noseVerticalPositionClassifierResults,omitempty"` + + NoseWidthClassifierResults []*ResearchVisionFace2cartoonNoseWidthClassifierResults `json:"noseWidthClassifierResults,omitempty"` + + SkinToneClassifierResults []*ResearchVisionFace2cartoonSkinToneClassifierResults `json:"skinToneClassifierResults,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "AgeClassifierResults") 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. "AgeClassifierResults") 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 *ResearchVisionFace2cartoonFace2CartoonResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonFace2CartoonResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +type ResearchVisionFace2cartoonFaceWidthClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "NARROW" + // "AVERAGE" + // "WIDE" + FaceWidth string `json:"faceWidth,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonFaceWidthClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonFaceWidthClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonFaceWidthClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonFaceWidthClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonFacialHairClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "NO_FACIAL_HAIR" + // "CLOSE_SHAVE" + // "SHORT_BEARD_2" + // "SHORT_BEARD_1" + // "MED_BEARD" + // "SHORT_BEARD_5" + // "GOATEE" + // "MOUSTACHE" + // "MOUSTACHE_GOATEE" + FacialHair string `json:"facialHair,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonFacialHairClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonFacialHairClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonFacialHairClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonFacialHairClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonGenderClassifierResults struct { + // Confidence: Uses a scaled version of the FaceSDK classifier's + // probability as the confidence (since the probability for the selected + // gender is between (0.5, 1] we scale it to be between (0, 1]). + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "FEMALE" + // "MALE" + Gender string `json:"gender,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonGenderClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonGenderClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonGenderClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonGenderClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonGlassesClassifierResults struct { + // Confidence: Uses a scaled version of the FaceSDK classifier's + // probability as the confidence (since the probability for the selected + // glasses is between (0.5, 1] we scale it to be between (0, 1]). + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "NO_GLASSES" + // "GLASSES" + // "DARK_GLASSES" + GlassesType string `json:"glassesType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonGlassesClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonGlassesClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonGlassesClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonGlassesClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonHairColorClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "BLACK" + // "DARK_BROWN" + // "LIGHT_BROWN" + // "AUBURN" + // "ORANGE" + // "STRAWBERRY_BLONDE" + // "DIRTY_BLONDE" + // "BLEACHED_BLONDE" + // "GREY" + // "WHITE" + // "MINT" + // "PALE_PINK" + // "LAVENDER" + // "TEAL" + // "PURPLE" + // "PINK" + // "BLUE" + // "GREEN" + HairColor string `json:"hairColor,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonHairColorClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonHairColorClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonHairColorClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonHairColorClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonHairStyleClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "BALD_1" + // "BALD_2" + // "BALD_3" + // "SHAVE_1" + // "FRONT_CREW_1" + // "SHORT_STRAIGHT_9" + // "SHORT_STRAIGHT_17" + // "BUN_1" + // "SHORT_STRAIGHT_2" + // "SHORT_STRAIGHT_10" + // "SHORT_STRAIGHT_1" + // "SHORT_STRAIGHT_19" + // "SHORT_STRAIGHT_4" + // "SHORT_STRAIGHT_20" + // "SHORT_STRAIGHT_18" + // "SHORT_STRAIGHT_11" + // "MEDIUM_STRAIGHT_5" + // "MEDIUM_STRAIGHT_6" + // "MEDIUM_STRAIGHT_3" + // "LONG_STRAIGHT_6" + // "LONG_STRAIGHT_4" + // "LONG_STRAIGHT_2" + // "LONG_STRAIGHT_PONYTAIL_2" + // "LONG_STRAIGHT_PONYTAIL_1" + // "SHORT_WAVY_2" + // "MEDIUM_WAVY_1" + // "MEDIUM_WAVY_4" + // "MEDIUM_WAVY_2" + // "LONG_WAVY_1" + // "LONG_WAVY_3" + // "LONG_WAVY_2" + // "LONG_WAVY_4" + // "LONG_WAVY_PONYTAIL_4" + // "SHORT_CURLY_6" + // "SHORT_CURLY_5" + // "MEDIUM_CURLY_3" + // "SHORT_CURLY_8" + // "MEDIUM_CURLY_4" + // "LONG_CURLY_3" + // "LONG_CURLY_1" + // "LONG_CURLY_5" + // "LONG_CURLY_4" + // "LONG_CURLY_2" + // "LONG_CURLY_PONYTAIL_1" + // "SHORT_COILY_1" + // "SHORT_COILY_5" + // "SHORT_COILY_4" + // "SHORT_COILY_2" + // "MEDIUM_COILY_1" + // "LONG_COILY_2" + // "LONG_COILY_PONYTAIL_1" + // "SHORT_COILY_3" + // "LONG_COILY_1" + // "BOX_BRAIDS" + // "BUN_2" + // "COILY_PONYTAIL" + // "LONG_COILY_3" + // "LONG_COILY_4" + // "LONG_COILY_5" + // "LONG_COILY_PONYTAIL" + // "OTT" + // "SHORT_CORNROWS" + // "TIGHT_BRAID" + // "TIGHT_BRAIDS" + HairStyle string `json:"hairStyle,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonHairStyleClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonHairStyleClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonHairStyleClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonHairStyleClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +// ResearchVisionFace2cartoonInterEyeDistanceClassifierResults: The +// measurement underlying this assumes fixed ear positions, so applying +// this combined with the FaceWidthClassifierResults may have an +// unintended outcome. +type ResearchVisionFace2cartoonInterEyeDistanceClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "WIDE" + // "AVERAGE" + // "CLOSE" + InterEyeDistance string `json:"interEyeDistance,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonInterEyeDistanceClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonInterEyeDistanceClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonInterEyeDistanceClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonInterEyeDistanceClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonJawShapeClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "TRIANGLE" + // "OVAL" + // "SQUARE" + // "ROUND" + JawShape string `json:"jawShape,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonJawShapeClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonJawShapeClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonJawShapeClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonJawShapeClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonLipThicknessClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "THIN" + // "AVERAGE" + // "THICK" + LipThickness string `json:"lipThickness,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonLipThicknessClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonLipThicknessClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonLipThicknessClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonLipThicknessClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +// ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults: The +// measurement underlying this assumes fixed ear positions, so applying +// this combined with the FaceWidthClassifierResults may have an +// unintended outcome. +type ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "HIGH" + // "AVERAGE" + // "LOW" + MouthVerticalPosition string `json:"mouthVerticalPosition,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonMouthVerticalPositionClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +// ResearchVisionFace2cartoonMouthWidthClassifierResults: The +// measurement underlying this assumes fixed ear positions, so applying +// this combined with the FaceWidthClassifierResults may have an +// unintended outcome. +type ResearchVisionFace2cartoonMouthWidthClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "NARROW" + // "AVERAGE" + // "WIDE" + MouthWidth string `json:"mouthWidth,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonMouthWidthClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonMouthWidthClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonMouthWidthClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonMouthWidthClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +// ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults: The +// measurement underlying this assumes fixed ear positions, so applying +// this combined with the FaceWidthClassifierResults may have an +// unintended outcome. +type ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "HIGH" + // "AVERAGE" + // "LOW" + NoseVerticalPosition string `json:"noseVerticalPosition,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonNoseVerticalPositionClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +// ResearchVisionFace2cartoonNoseWidthClassifierResults: The measurement +// underlying this assumes fixed ear positions, so applying this +// combined with the FaceWidthClassifierResults may have an unintended +// outcome. +type ResearchVisionFace2cartoonNoseWidthClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" + // "NARROW" + // "AVERAGE" + // "WIDE" + NoseWidth string `json:"noseWidth,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonNoseWidthClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonNoseWidthClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonNoseWidthClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonNoseWidthClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + +type ResearchVisionFace2cartoonSkinToneClassifierResults struct { + Confidence float64 `json:"confidence,omitempty"` + + // Possible values: + // "UNKNOWN" - See the images from the links at: + // https://storage.googleapis.com/cc_8e814306-f840-4e2e-9415-36b06251cf8e/ + // skin_tone_exemplars/skin-*.png + // "TYPE_1" - (darkest) RGB: #603d30 + // "TYPE_2" - RGB: #88594b + // "TYPE_3" - RGB: #aa7454 + // "TYPE_4" - RGB: #c78b5d + // "TYPE_5" - RGB: #d9a16e + // "TYPE_6" - RGB: #e3b47e + // "TYPE_7" - RGB: #eeaf94 + // "TYPE_8" - RGB: #f0c092 + // "TYPE_9" - RGB: #f6d8c1 + // "TYPE_10" - RGB: #fbcdb6 + // "TYPE_11" - (lightest) RGB: #fbdbd1 + SkinToneType string `json:"skinToneType,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Confidence") 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. "Confidence") 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 *ResearchVisionFace2cartoonSkinToneClassifierResults) MarshalJSON() ([]byte, error) { + type NoMethod ResearchVisionFace2cartoonSkinToneClassifierResults + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *ResearchVisionFace2cartoonSkinToneClassifierResults) UnmarshalJSON(data []byte) error { + type NoMethod ResearchVisionFace2cartoonSkinToneClassifierResults + var s1 struct { + Confidence gensupport.JSONFloat64 `json:"confidence"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Confidence = float64(s1.Confidence) + return nil +} + // RichsnippetsDataObject: Next ID: 11 type RichsnippetsDataObject struct { AccessKey string `json:"AccessKey,omitempty"` @@ -133523,11 +135894,55 @@ func (s *S3AudioLanguageS3AudioLanguage) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type SafesearchImageOffensiveAnnotation struct { + HatefulDerogatoryScore float64 `json:"hatefulDerogatoryScore,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "HatefulDerogatoryScore") 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. "HatefulDerogatoryScore") + // 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 *SafesearchImageOffensiveAnnotation) MarshalJSON() ([]byte, error) { + type NoMethod SafesearchImageOffensiveAnnotation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *SafesearchImageOffensiveAnnotation) UnmarshalJSON(data []byte) error { + type NoMethod SafesearchImageOffensiveAnnotation + var s1 struct { + HatefulDerogatoryScore gensupport.JSONFloat64 `json:"hatefulDerogatoryScore"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.HatefulDerogatoryScore = float64(s1.HatefulDerogatoryScore) + return nil +} + // SafesearchInternalImageSignals: A proto that stores SafeSearch // internal signals that are not exported to clients. type SafesearchInternalImageSignals struct { ImageEntitiesViolenceScore float64 `json:"imageEntitiesViolenceScore,omitempty"` + OffensiveAnnotation *SafesearchImageOffensiveAnnotation `json:"offensiveAnnotation,omitempty"` + // StarburstPornScore: Additional SafeSearch signals that are used to // compute final scores. StarburstPornScore float64 `json:"starburstPornScore,omitempty"` @@ -143037,9 +145452,15 @@ type StorageGraphBfgTripleProvenance struct { // "ISOLATION_ASTROLOGY_HOROSCOPE" - Access controls for Astrology // Horoscope features. Please contact search-india-verticals@ before // reading or writing this data. DD: go/daily-horoscope-dd - // "ISOLATION_LLM_GENERATED_TVM_SYNOPSIS" - Access controls for LLM - // generated tvm synopsis. DD: go/i18n-tvm-descriptions Please contact - // dkrish-team@ before reading or writing this data. + // "ISOLATION_LLM_GENERATED_TVM_SYNOPSIS" - TODO(b/304563444) + // Deprecate ISOLATION_LLM_GENERATED_TVM_SYNOPSIS if it's not used. + // Prefer using ISOLATION_GENERATED_DATA even for generated tvm + // synopsis. Access controls for LLM generated tvm synopsis. DD: + // go/i18n-tvm-descriptions Please contact dkrish-team@ before reading + // or writing this data. + // "ISOLATION_GENERATED_DATA" - Access controls for LLM generated + // data. Please contact UMP team(go/ump-contacts) before reading or + // writing this data. // "UMP_TESTING_ONLY" - This access control is used to guard data used // by the Unified Media Platform team (ke-media-actions-serving@) for // testing new features. It should never be used for purposes other than @@ -147228,13 +149649,6 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "PGSS_DETAILS_PAGE_AQUALITY_UNKNOWN_EVENT_LEVEL" // "PGSS_DETAILS_PAGE_AQUALITY_FAILED_EVENT_LEVEL" // "PGSS_DETAILS_PAGE_AQUALITY_PASSED_EVENT_LEVEL" - // - // "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_SIMILAR_APPS_ABSENT_EVENT_LEVEL" - // - Indicate whether the similar apps cluster is dropped due to little - // recommendations generated from low quality seed app. - // - // "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_SIMILAR_APPS_PRESENT_EVENT_LEVEL - // " // "INLINE_DETAILS_CALLER_AQUALITY_CHECK_PASS" // "INLINE_DETAILS_CALLER_AQUALITY_CHECK_FAIL" // "HSDP_AD_NETWORK_CALLER_TABLET_AQUALITY_CHECK_PASS" @@ -147313,9 +149727,6 @@ 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" // "DEVICE_TIER_HIGH_EVENT_LEVEL" - Event level test code for high @@ -147661,6 +150072,7 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "IN_APP_OFFER_BATTLESTAR_APP_MAHJONG_VILLAGE_AT_SESSION_LEVEL" // "IN_APP_OFFER_BATTLESTAR_APP_ONE_PUNCH_MAN_KR_AT_SESSION_LEVEL" // "IN_APP_OFFER_BATTLESTAR_APP_ONE_PUNCH_MAN_TW_AT_SESSION_LEVEL" + // "IN_APP_OFFER_BATTLESTAR_APP_GRAND_CROSS_AT_SESSION_LEVEL" // "IN_APP_OFFER_ELIGIBLE_AT_SESSION_LEVEL" // "IN_APP_OFFER_ELIGIBLE_APP_1_AT_SESSION_LEVEL" // "IN_APP_OFFER_ELIGIBLE_APP_2_AT_SESSION_LEVEL" @@ -147694,6 +150106,7 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // // "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_ONE_PUNCH_MAN_TW_AT_SESSION_LEVE // L" + // "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_GRAND_CROSS_AT_SESSION_LEVEL" // "IN_APP_OFFER_SAVED_AT_SESSION_LEVEL" // "IN_APP_OFFER_SAVED_APP_1_AT_SESSION_LEVEL" // "IN_APP_OFFER_SAVED_APP_2_AT_SESSION_LEVEL" @@ -148000,12 +150413,6 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "PGSS_DETAILS_PAGE_AQUALITY_UNKNOWN_SESSION_LEVEL" // "PGSS_DETAILS_PAGE_AQUALITY_FAILED_SESSION_LEVEL" // "PGSS_DETAILS_PAGE_AQUALITY_PASSED_SESSION_LEVEL" - // - // "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_SIMILAR_APPS_ABSENT_SESSION_LEVE - // L" - // - // "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_SIMILAR_APPS_PRESENT_SESSION_LEV - // EL" // "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_WITH_GAME_SESSION_LEVEL" // "PRE_INSTALL_LOW_QUALITY_DETAILS_PAGE_WITH_NON_GAME_SESSION_LEVEL" // "QUERY_DEPENDENT_SNIPPET_SESSION_LEVEL" - Session level test code @@ -148362,9 +150769,6 @@ 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" // "DEVICE_TIER_HIGH_SESSION_LEVEL" - Session level test code for high @@ -148580,6 +150984,8 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // Battlestar games. // "CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_SESSION_LEVEL" - // Session-level for showing subscription benefits in cart abandonment. + // Deprecated. Use + // CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_SESSION_LEVEL_V2 // "GAME_HUB_DEVELOPER_VIDEO_ELIGIBLE_AT_SESSION_LEVEL" - // Session-level test code for Game Hub Developer Video cluster // eligibility. @@ -148589,6 +150995,7 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // Subscription Payment Decline Reminder. // "CART_ABANDONMENT_REMINDER_SESSION_LEVEL" - Session-level test code // for Cart Abandonment Reminder. + // "CART_ABANDONMENT_REMINDER_POPULAR_APPS_SESSION_LEVEL" // "SUBSCRIPTION_OFFER_SWITCH_DATA_PRESENT_SESSION_LEVEL" - // Session-level test code for OfferSwitchData in CreateCarts // "BOOKS_READ_NOW_DUAL_FORMAT_REQUEST_SESSION_LEVEL" - Session-level @@ -148658,6 +151065,8 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // test code for multiline addon title. // "PAYTM_WALLET_FAILURE_SESSION_LEVEL" - Session-level test code for // Paytm wallet failures. + // "CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_SESSION_LEVEL_V2" - + // Session-level for showing subscription benefits in cart abandonment. // "SESSION_LEVEL_TEST_CODE_LIMIT" // "CART_ABANDONMENT_USER_LEVEL" - Cart abandonment flow for purchase // flow. @@ -148761,6 +151170,7 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "IN_APP_OFFER_BATTLESTAR_APP_MAHJONG_VILLAGE_AT_USER_LEVEL" // "IN_APP_OFFER_BATTLESTAR_APP_ONE_PUNCH_MAN_KR_AT_USER_LEVEL" // "IN_APP_OFFER_BATTLESTAR_APP_ONE_PUNCH_MAN_TW_AT_USER_LEVEL" + // "IN_APP_OFFER_BATTLESTAR_APP_GRAND_CROSS_AT_USER_LEVEL" // "IN_APP_OFFER_ELIGIBLE_AT_USER_LEVEL" // "IN_APP_OFFER_ELIGIBLE_APP_1_AT_USER_LEVEL" // "IN_APP_OFFER_ELIGIBLE_APP_2_AT_USER_LEVEL" @@ -148785,6 +151195,7 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_ONE_PUNCH_MAN_KR_AT_USER_LEVEL" // // "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_ONE_PUNCH_MAN_TW_AT_USER_LEVEL" + // "IN_APP_OFFER_BATTLESTAR_ELIGIBLE_APP_GRAND_CROSS_AT_USER_LEVEL" // "IN_APP_OFFER_SAVED_AT_USER_LEVEL" // "IN_APP_OFFER_SAVED_APP_1_AT_USER_LEVEL" // "IN_APP_OFFER_SAVED_APP_2_AT_USER_LEVEL" @@ -149025,6 +151436,9 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_3" - User level test code // for link biometrics with impression cap and foped user setup after // traffic rebalancing. + // "LINK_BIOMETRICS_NEW_SETUP_USER_LEVEL_V3_4" - User level test code + // for link biometrics with impression cap and foped user setup after + // traffic rebalancing. // "POST_SUCCESS_ADD_BACKUP_FLOW_USER_LEVEL" - User level test code // for post success add backup flow. // "SKIP_CHECK_MARK_SCREEN_WITH_BACKUP_FLOW_USER_LEVEL" - User level @@ -149177,6 +151591,7 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // Subscription Payment Decline Reminder. // "CART_ABANDONMENT_REMINDER_USER_LEVEL" - User level test code for // Cart Abandonment Reminder. + // "CART_ABANDONMENT_REMINDER_POPULAR_APPS_USER_LEVEL" // "SUBSCRIPTION_OFFER_SWITCH_DATA_PRESENT_USER_LEVEL" - User level // test code for OfferSwitchData in CreateCarts // "FCC_FIRST_PARTY_CATEGORICAL_SEARCH_OFFERS_USER_LEVEL" - User level @@ -149249,7 +151664,8 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // "GAME_HUB_DEVELOPER_VIDEO_AT_USER_LEVEL" - User-level test code for // Game Hub Developer Video cluster. // "CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_USER_LEVEL" - User-level - // for showing subscription benefits in cart abandonment. + // for showing subscription benefits in cart abandonment. Deprecated. + // CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_USER_LEVEL_V2 // "GAME_HUB_DEVELOPER_VIDEO_ELIGIBLE_AT_USER_LEVEL" - User-level test // code for Game Hub Developer Video cluster eligibility. // "SHOULD_SEE_FIRST_PARTY_PROMO_LIVE_OP_SUBSCRIPTION_USER_LEVEL" - @@ -149324,6 +151740,11 @@ type VendingConsumerProtoTrustedGenomeAnnotation struct { // Recommendation, currently either cart-abandonment or post-success // upsell. // "UNIFIED_ITEM_RECOMMENDATION_LOWER_PRICED_USER_LEVEL" + // "CART_WITH_BROKEN_FOP_USER_LEVEL" - User level test code indicating + // that user starts the purchase with a cart that has broken existing + // form of payment. + // "CART_ABANDONMENT_SUBSCRIPTION_BENEFITS_USER_LEVEL_V2" - User-level + // for showing subscription benefits in cart abandonment. // "USER_LEVEL_TEST_CODE_LIMIT" TestCode []string `json:"testCode,omitempty"` diff --git a/datamigration/v1beta1/datamigration-api.json b/datamigration/v1beta1/datamigration-api.json index ef544a2f448..7befd082b74 100644 --- a/datamigration/v1beta1/datamigration-api.json +++ b/datamigration/v1beta1/datamigration-api.json @@ -1049,7 +1049,7 @@ } } }, - "revision": "20230802", + "revision": "20231011", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AuditConfig": { @@ -1773,7 +1773,8 @@ "ERROR_RDBMS", "SOURCE_SIZE_EXCEEDS_THRESHOLD", "EXISTING_CONFLICTING_DATABASES", - "PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE" + "PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE", + "EXISTING_DATA" ], "enumDescriptions": [ "An unknown error occurred", @@ -1791,7 +1792,8 @@ "There was an underlying RDBMS error.", "The source DB size in Bytes exceeds a certain threshold. The migration might require an increase of quota, or might not be supported.", "The destination DB contains existing databases that are conflicting with those in the source DB.", - "Insufficient privilege to enable the parallelism configuration." + "Insufficient privilege to enable the parallelism configuration.", + "The destination instance contains existing data or user defined entities (for example databases, tables, or functions). You can only migrate to empty instances. Clear your destination instance and retry the migration job." ], "readOnly": true, "type": "string" diff --git a/datamigration/v1beta1/datamigration-gen.go b/datamigration/v1beta1/datamigration-gen.go index 9a904ed280d..36e7cd919b0 100644 --- a/datamigration/v1beta1/datamigration-gen.go +++ b/datamigration/v1beta1/datamigration-gen.go @@ -1213,6 +1213,10 @@ type MigrationJobVerificationError struct { // existing databases that are conflicting with those in the source DB. // "PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE" - Insufficient privilege // to enable the parallelism configuration. + // "EXISTING_DATA" - The destination instance contains existing data + // or user defined entities (for example databases, tables, or + // functions). You can only migrate to empty instances. Clear your + // destination instance and retry the migration job. ErrorCode string `json:"errorCode,omitempty"` // ErrorDetailMessage: Output only. A specific detailed error message, diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index 6a86369631f..179da9d1782 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -2340,7 +2340,7 @@ } } }, - "revision": "20231006", + "revision": "20231013", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2557,6 +2557,10 @@ "identityservice": { "$ref": "IdentityServiceMembershipSpec", "description": "Identity Service-specific spec." + }, + "policycontroller": { + "$ref": "PolicyControllerMembershipSpec", + "description": "Policy Controller spec." } }, "type": "object" diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 5bac81c8714..64dc99c5ac2 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -802,6 +802,9 @@ type CommonFleetDefaultMemberConfigSpec struct { // Identityservice: Identity Service-specific spec. Identityservice *IdentityServiceMembershipSpec `json:"identityservice,omitempty"` + // Policycontroller: Policy Controller spec. + Policycontroller *PolicyControllerMembershipSpec `json:"policycontroller,omitempty"` + // ForceSendFields is a list of field names (e.g. "Configmanagement") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/iap/v1/iap-api.json b/iap/v1/iap-api.json index 4d1709dc4df..7e377d45d6f 100644 --- a/iap/v1/iap-api.json +++ b/iap/v1/iap-api.json @@ -682,7 +682,7 @@ } } }, - "revision": "20230929", + "revision": "20231013", "rootUrl": "https://iap.googleapis.com/", "schemas": { "AccessDeniedPageSettings": { @@ -1158,7 +1158,7 @@ "type": "string" }, "policyType": { - "description": "How IAP determines the effective policy in cases of hierarchial policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.", + "description": "How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.", "enum": [ "POLICY_TYPE_UNSPECIFIED", "MINIMUM", diff --git a/iap/v1/iap-gen.go b/iap/v1/iap-gen.go index ef2eddb68d6..2ef019996d0 100644 --- a/iap/v1/iap-gen.go +++ b/iap/v1/iap-gen.go @@ -1273,7 +1273,7 @@ type ReauthSettings struct { Method string `json:"method,omitempty"` // PolicyType: How IAP determines the effective policy in cases of - // hierarchial policies. Policies are merged from higher in the + // hierarchical policies. Policies are merged from higher in the // hierarchy to lower in the hierarchy. // // Possible values: diff --git a/managedidentities/v1alpha1/managedidentities-api.json b/managedidentities/v1alpha1/managedidentities-api.json index 86693ad8e6b..9f11cbd92d8 100644 --- a/managedidentities/v1alpha1/managedidentities-api.json +++ b/managedidentities/v1alpha1/managedidentities-api.json @@ -1515,7 +1515,7 @@ } } }, - "revision": "20230705", + "revision": "20231010", "rootUrl": "https://managedidentities.googleapis.com/", "schemas": { "AttachTrustRequest": { @@ -2706,7 +2706,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", "type": "object" } }, @@ -2820,7 +2820,7 @@ "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { @@ -3176,7 +3176,7 @@ "type": "string" }, "denyMaintenancePeriods": { - "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. Maximum number of deny_maintenance_periods expected is one.", + "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. The protocol supports zero-to-many such periods, but the current SLM Rollout implementation only supports zero-to-one.", "items": { "$ref": "DenyMaintenancePeriod" }, diff --git a/managedidentities/v1alpha1/managedidentities-gen.go b/managedidentities/v1alpha1/managedidentities-gen.go index dcb3e24d665..adbb83ac167 100644 --- a/managedidentities/v1alpha1/managedidentities-gen.go +++ b/managedidentities/v1alpha1/managedidentities-gen.go @@ -2170,8 +2170,8 @@ type Operation struct { // `operations/{unique_id}`. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the + // Response: The normal, successful response of the operation. If the + // original method returns no data on success, such as `Delete`, the // response is `google.protobuf.Empty`. If the original method is // standard `Get`/`Create`/`Update`, the response should be the // resource. For other methods, the response should have the type @@ -2344,7 +2344,7 @@ func (s *Peering) MarshalJSON() ([]byte, error) { // both. To learn which resources support conditions in their IAM // policies, see the IAM documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). -// **JSON example:** { "bindings": [ { "role": +// **JSON example:** ``` { "bindings": [ { "role": // "roles/resourcemanager.organizationAdmin", "members": [ // "user:mike@example.com", "group:admins@example.com", // "domain:google.com", @@ -2353,17 +2353,17 @@ func (s *Peering) MarshalJSON() ([]byte, error) { // "user:eve@example.com" ], "condition": { "title": "expirable access", // "description": "Does not grant access after Sep 2020", "expression": // "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], -// "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - -// members: - user:mike@example.com - group:admins@example.com - -// domain:google.com - +// "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` +// bindings: - members: - user:mike@example.com - +// group:admins@example.com - domain:google.com - // serviceAccount:my-project-id@appspot.gserviceaccount.com role: // roles/resourcemanager.organizationAdmin - members: - // user:eve@example.com role: roles/resourcemanager.organizationViewer // condition: title: expirable access description: Does not grant access // after Sep 2020 expression: request.time < // timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 -// For a description of IAM and its features, see the IAM documentation -// (https://cloud.google.com/iam/docs/). +// ``` For a description of IAM and its features, see the IAM +// documentation (https://cloud.google.com/iam/docs/). type Policy struct { // Bindings: Associates a list of `members`, or principals, with a // `role`. Optionally, may specify a `condition` that determines how and @@ -2926,9 +2926,9 @@ type UpdatePolicy struct { Channel string `json:"channel,omitempty"` // DenyMaintenancePeriods: Deny Maintenance Period that is applied to - // resource to indicate when maintenance is forbidden. User can specify - // zero or more non-overlapping deny periods. Maximum number of - // deny_maintenance_periods expected is one. + // resource to indicate when maintenance is forbidden. The protocol + // supports zero-to-many such periods, but the current SLM Rollout + // implementation only supports zero-to-one. DenyMaintenancePeriods []*DenyMaintenancePeriod `json:"denyMaintenancePeriods,omitempty"` // Window: Optional. Maintenance window that is applied to resources diff --git a/migrationcenter/v1/migrationcenter-api.json b/migrationcenter/v1/migrationcenter-api.json index dfd4043d107..ecdcd68f7d1 100644 --- a/migrationcenter/v1/migrationcenter-api.json +++ b/migrationcenter/v1/migrationcenter-api.json @@ -2099,7 +2099,7 @@ } } }, - "revision": "20230928", + "revision": "20231013", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -3173,11 +3173,11 @@ "type": "string" }, "description": { - "description": "The description of the resource.", + "description": "Optional. The description of the group.", "type": "string" }, "displayName": { - "description": "User-friendly display name.", + "description": "Optional. User-friendly display name.", "type": "string" }, "labels": { @@ -5309,6 +5309,10 @@ "description": "Describes the Migration Center settings related to the project.", "id": "Settings", "properties": { + "disableCloudLogging": { + "description": "Disable Cloud Logging for the Migration Center API. Users are billed for the logs.", + "type": "boolean" + }, "name": { "description": "Output only. The name of the resource.", "readOnly": true, diff --git a/migrationcenter/v1/migrationcenter-gen.go b/migrationcenter/v1/migrationcenter-gen.go index 799bdbda27c..183d9826f4a 100644 --- a/migrationcenter/v1/migrationcenter-gen.go +++ b/migrationcenter/v1/migrationcenter-gen.go @@ -2167,10 +2167,10 @@ type Group struct { // CreateTime: Output only. The timestamp when the group was created. CreateTime string `json:"createTime,omitempty"` - // Description: The description of the resource. + // Description: Optional. The description of the group. Description string `json:"description,omitempty"` - // DisplayName: User-friendly display name. + // DisplayName: Optional. User-friendly display name. DisplayName string `json:"displayName,omitempty"` // Labels: Labels as key value pairs. @@ -5422,6 +5422,10 @@ func (s *RuntimeNetworkInfo) MarshalJSON() ([]byte, error) { // Settings: Describes the Migration Center settings related to the // project. type Settings struct { + // DisableCloudLogging: Disable Cloud Logging for the Migration Center + // API. Users are billed for the logs. + DisableCloudLogging bool `json:"disableCloudLogging,omitempty"` + // Name: Output only. The name of the resource. Name string `json:"name,omitempty"` @@ -5432,20 +5436,21 @@ type Settings struct { // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Name") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "DisableCloudLogging") + // 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. "Name") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DisableCloudLogging") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } diff --git a/notebooks/v1/notebooks-api.json b/notebooks/v1/notebooks-api.json index 94a651d14e1..144b22a6cc1 100644 --- a/notebooks/v1/notebooks-api.json +++ b/notebooks/v1/notebooks-api.json @@ -692,6 +692,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "migrate": { + "description": "Migrates an existing User-Managed Notebook to Workbench Instances.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:migrate", + "httpMethod": "POST", + "id": "notebooks.projects.locations.instances.migrate", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:migrate", + "request": { + "$ref": "MigrateInstanceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "register": { "description": "Registers an existing legacy notebook instance to the Notebooks API server. Legacy instances are instances created with the legacy Compute Engine calls. They are not manageable by the Notebooks API out of the box. This call makes these instances manageable by the Notebooks API.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances:register", @@ -1493,6 +1521,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "migrate": { + "description": "Migrate an existing Runtime to a new Workbench Instance.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:migrate", + "httpMethod": "POST", + "id": "notebooks.projects.locations.runtimes.migrate", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:migrate", + "request": { + "$ref": "MigrateRuntimeRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "patch": { "description": "Update Notebook Runtime configuration.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}", @@ -1952,7 +2008,7 @@ } } }, - "revision": "20230906", + "revision": "20231003", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2835,7 +2891,7 @@ ], "enumDescriptions": [ "Default type.", - "The UmN uses an machine type that's unsupported in WbI. It will be migrated with the default machine type n2-standard-4. Users can change the machine type after the migration.", + "The UmN uses an machine type that's unsupported in WbI. It will be migrated with the default machine type e2-standard-4. Users can change the machine type after the migration.", "The UmN uses an accelerator type that's unsupported in WbI. It will be migrated without an accelerator. User can attach an accelerator after the migration.", "The UmN uses an operating system that's unsupported in WbI (e.g. Debian 10, Ubuntu). It will be replaced with Debian 11 in WbI.", "This UmN is configured with no_remove_data_disk, which is no longer available in WbI.", @@ -3182,6 +3238,64 @@ }, "type": "object" }, + "MigrateInstanceRequest": { + "description": "Request for migrating a User-Managed Notebook to Workbench Instances.", + "id": "MigrateInstanceRequest", + "properties": { + "postStartupScriptOption": { + "description": "Optional. Specifies the behavior of post startup script during migration.", + "enum": [ + "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", + "POST_STARTUP_SCRIPT_OPTION_SKIP", + "POST_STARTUP_SCRIPT_OPTION_RERUN" + ], + "enumDescriptions": [ + "Post startup script option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP.", + "Not migrate the post startup script to the new Workbench Instance.", + "Redownload and rerun the same post startup script as the User-Managed Notebook." + ], + "type": "string" + } + }, + "type": "object" + }, + "MigrateRuntimeRequest": { + "description": "Request for migrating a Runtime to a Workbench Instance.", + "id": "MigrateRuntimeRequest", + "properties": { + "network": { + "description": "Optional. Name of the VPC that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same VPC, and this field must be empty. Format: `projects/{project_id}/global/networks/{network_id}`", + "type": "string" + }, + "postStartupScriptOption": { + "description": "Optional. Specifies the behavior of post startup script during migration.", + "enum": [ + "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED", + "POST_STARTUP_SCRIPT_OPTION_SKIP", + "POST_STARTUP_SCRIPT_OPTION_RERUN" + ], + "enumDescriptions": [ + "Post startup script option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP.", + "Not migrate the post startup script to the new Workbench Instance.", + "Redownload and rerun the same post startup script as the Google-Managed Notebook." + ], + "type": "string" + }, + "requestId": { + "description": "Optional. Idempotent request UUID.", + "type": "string" + }, + "serviceAccount": { + "description": "Optional. The service account to be included in the Compute Engine instance of the new Workbench Instance when the Runtime uses \"single user only\" mode for permission. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. When the Runtime uses service account mode for permission, it will reuse the same service account, and this field must be empty.", + "type": "string" + }, + "subnet": { + "description": "Optional. Name of the subnet that the new Instance is in. This is required if the Runtime uses google-managed network. If the Runtime uses customer-owned network, it will reuse the same subnet, and this field must be empty. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`", + "type": "string" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", diff --git a/notebooks/v1/notebooks-gen.go b/notebooks/v1/notebooks-gen.go index a7df2eaf03c..77b428dfd55 100644 --- a/notebooks/v1/notebooks-gen.go +++ b/notebooks/v1/notebooks-gen.go @@ -1471,7 +1471,7 @@ type InstanceMigrationEligibility struct { // "WARNING_UNSPECIFIED" - Default type. // "UNSUPPORTED_MACHINE_TYPE" - The UmN uses an machine type that's // unsupported in WbI. It will be migrated with the default machine type - // n2-standard-4. Users can change the machine type after the migration. + // e2-standard-4. Users can change the machine type after the migration. // "UNSUPPORTED_ACCELERATOR_TYPE" - The UmN uses an accelerator type // that's unsupported in WbI. It will be migrated without an // accelerator. User can attach an accelerator after the migration. @@ -2040,6 +2040,110 @@ func (s *Location) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// MigrateInstanceRequest: Request for migrating a User-Managed Notebook +// to Workbench Instances. +type MigrateInstanceRequest struct { + // PostStartupScriptOption: Optional. Specifies the behavior of post + // startup script during migration. + // + // Possible values: + // "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED" - Post startup script + // option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP. + // "POST_STARTUP_SCRIPT_OPTION_SKIP" - Not migrate the post startup + // script to the new Workbench Instance. + // "POST_STARTUP_SCRIPT_OPTION_RERUN" - Redownload and rerun the same + // post startup script as the User-Managed Notebook. + PostStartupScriptOption string `json:"postStartupScriptOption,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "PostStartupScriptOption") 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. "PostStartupScriptOption") + // 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 *MigrateInstanceRequest) MarshalJSON() ([]byte, error) { + type NoMethod MigrateInstanceRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// MigrateRuntimeRequest: Request for migrating a Runtime to a Workbench +// Instance. +type MigrateRuntimeRequest struct { + // Network: Optional. Name of the VPC that the new Instance is in. This + // is required if the Runtime uses google-managed network. If the + // Runtime uses customer-owned network, it will reuse the same VPC, and + // this field must be empty. Format: + // `projects/{project_id}/global/networks/{network_id}` + Network string `json:"network,omitempty"` + + // PostStartupScriptOption: Optional. Specifies the behavior of post + // startup script during migration. + // + // Possible values: + // "POST_STARTUP_SCRIPT_OPTION_UNSPECIFIED" - Post startup script + // option is not specified. Default is POST_STARTUP_SCRIPT_OPTION_SKIP. + // "POST_STARTUP_SCRIPT_OPTION_SKIP" - Not migrate the post startup + // script to the new Workbench Instance. + // "POST_STARTUP_SCRIPT_OPTION_RERUN" - Redownload and rerun the same + // post startup script as the Google-Managed Notebook. + PostStartupScriptOption string `json:"postStartupScriptOption,omitempty"` + + // RequestId: Optional. Idempotent request UUID. + RequestId string `json:"requestId,omitempty"` + + // ServiceAccount: Optional. The service account to be included in the + // Compute Engine instance of the new Workbench Instance when the + // Runtime uses "single user only" mode for permission. If not + // specified, the Compute Engine default service account + // (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) + // is used. When the Runtime uses service account mode for permission, + // it will reuse the same service account, and this field must be empty. + ServiceAccount string `json:"serviceAccount,omitempty"` + + // Subnet: Optional. Name of the subnet that the new Instance is in. + // This is required if the Runtime uses google-managed network. If the + // Runtime uses customer-owned network, it will reuse the same subnet, + // and this field must be empty. Format: + // `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}` + Subnet string `json:"subnet,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Network") 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. "Network") 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 *MigrateRuntimeRequest) MarshalJSON() ([]byte, error) { + type NoMethod MigrateRuntimeRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Operation: This resource represents a long-running operation that is // the result of a network API call. type Operation struct { @@ -7058,6 +7162,150 @@ func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(* } } +// method id "notebooks.projects.locations.instances.migrate": + +type ProjectsLocationsInstancesMigrateCall struct { + s *Service + name string + migrateinstancerequest *MigrateInstanceRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Migrate: Migrates an existing User-Managed Notebook to Workbench +// Instances. +// +// - name: Format: +// `projects/{project_id}/locations/{location}/instances/{instance_id}`. +func (r *ProjectsLocationsInstancesService) Migrate(name string, migrateinstancerequest *MigrateInstanceRequest) *ProjectsLocationsInstancesMigrateCall { + c := &ProjectsLocationsInstancesMigrateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.migrateinstancerequest = migrateinstancerequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsInstancesMigrateCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesMigrateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsInstancesMigrateCall) Context(ctx context.Context) *ProjectsLocationsInstancesMigrateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsInstancesMigrateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsInstancesMigrateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.migrateinstancerequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:migrate") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "notebooks.projects.locations.instances.migrate" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsInstancesMigrateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Migrates an existing User-Managed Notebook to Workbench Instances.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:migrate", + // "httpMethod": "POST", + // "id": "notebooks.projects.locations.instances.migrate", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}:migrate", + // "request": { + // "$ref": "MigrateInstanceRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "notebooks.projects.locations.instances.register": type ProjectsLocationsInstancesRegisterCall struct { @@ -11143,6 +11391,149 @@ func (c *ProjectsLocationsRuntimesListCall) Pages(ctx context.Context, f func(*L } } +// method id "notebooks.projects.locations.runtimes.migrate": + +type ProjectsLocationsRuntimesMigrateCall struct { + s *Service + name string + migrateruntimerequest *MigrateRuntimeRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Migrate: Migrate an existing Runtime to a new Workbench Instance. +// +// - name: Format: +// `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`. +func (r *ProjectsLocationsRuntimesService) Migrate(name string, migrateruntimerequest *MigrateRuntimeRequest) *ProjectsLocationsRuntimesMigrateCall { + c := &ProjectsLocationsRuntimesMigrateCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.migrateruntimerequest = migrateruntimerequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsRuntimesMigrateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRuntimesMigrateCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsRuntimesMigrateCall) Context(ctx context.Context) *ProjectsLocationsRuntimesMigrateCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsRuntimesMigrateCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsRuntimesMigrateCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.migrateruntimerequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:migrate") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "notebooks.projects.locations.runtimes.migrate" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsRuntimesMigrateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Migrate an existing Runtime to a new Workbench Instance.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/runtimes/{runtimesId}:migrate", + // "httpMethod": "POST", + // "id": "notebooks.projects.locations.runtimes.migrate", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/runtimes/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}:migrate", + // "request": { + // "$ref": "MigrateRuntimeRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "notebooks.projects.locations.runtimes.patch": type ProjectsLocationsRuntimesPatchCall struct { diff --git a/places/v1/places-api.json b/places/v1/places-api.json index b9647d8e2f4..7365ad1a2c2 100644 --- a/places/v1/places-api.json +++ b/places/v1/places-api.json @@ -136,7 +136,7 @@ } } }, - "revision": "20230927", + "revision": "20231016", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -198,32 +198,28 @@ "properties": { "accessibilityOptions": { "$ref": "GoogleMapsPlacesV1PlaceAccessibilityOptions", - "description": "Output only. Information about the accessibility options a place offers.", - "readOnly": true + "description": "Information about the accessibility options a place offers." }, "addressComponents": { - "description": "Output only. Repeated components for each locality level.", + "description": "Repeated components for each locality level. Note the following facts about the address_components[] array: - The array of address components may contain more components than the formatted_address. - The array does not necessarily include all the political entities that contain an address, apart from those included in the formatted_address. To retrieve all the political entities that contain a specific address, you should use reverse geocoding, passing the latitude/longitude of the address as a parameter to the request. - The format of the response is not guaranteed to remain the same between requests. In particular, the number of address_components varies based on the address requested and can change over time for the same address. A component can change position in the array. The type of the component can change. A particular component may be missing in a later response.", "items": { "$ref": "GoogleMapsPlacesV1PlaceAddressComponent" }, - "readOnly": true, "type": "array" }, "adrFormatAddress": { - "description": "Output only. The place's address in adr microformat: http://microformats.org/wiki/adr.", - "readOnly": true, + "description": "The place's address in adr microformat: http://microformats.org/wiki/adr.", "type": "string" }, "attributions": { - "description": "Output only. A set of data provider that must be shown with this result.", + "description": "A set of data provider that must be shown with this result.", "items": { "$ref": "GoogleMapsPlacesV1PlaceAttribution" }, - "readOnly": true, "type": "array" }, "businessStatus": { - "description": "Output only. The business status for the place.", + "description": "The business status for the place.", "enum": [ "BUSINESS_STATUS_UNSPECIFIED", "OPERATIONAL", @@ -236,99 +232,81 @@ "The establishment is temporarily closed.", "The establishment is permanently closed." ], - "readOnly": true, "type": "string" }, "curbsidePickup": { - "description": "Output only. Specifies if the business supports curbside pickup.", - "readOnly": true, + "description": "Specifies if the business supports curbside pickup.", "type": "boolean" }, "currentOpeningHours": { "$ref": "GoogleMapsPlacesV1PlaceOpeningHours", - "description": "Output only. The hours of operation for the next seven days (including today). The time period starts at midnight on the date of the request and ends at 11:59 pm six days later. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.", - "readOnly": true + "description": "The hours of operation for the next seven days (including today). The time period starts at midnight on the date of the request and ends at 11:59 pm six days later. This field includes the special_days subfield of all hours, set for dates that have exceptional hours." }, "currentSecondaryOpeningHours": { - "description": "Output only. Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.", + "description": "Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.", "items": { "$ref": "GoogleMapsPlacesV1PlaceOpeningHours" }, - "readOnly": true, "type": "array" }, "delivery": { - "description": "Output only. Specifies if the business supports delivery.", - "readOnly": true, + "description": "Specifies if the business supports delivery.", "type": "boolean" }, "dineIn": { - "description": "Output only. Specifies if the business supports indoor or outdoor seating options.", - "readOnly": true, + "description": "Specifies if the business supports indoor or outdoor seating options.", "type": "boolean" }, "displayName": { "$ref": "GoogleTypeLocalizedText", - "description": "Output only. The localized name of the place, suitable as a short human-readable description. For example, \"Google Sydney\", \"Starbucks\", \"Pyrmont\", etc.", - "readOnly": true + "description": "The localized name of the place, suitable as a short human-readable description. For example, \"Google Sydney\", \"Starbucks\", \"Pyrmont\", etc." }, "editorialSummary": { "$ref": "GoogleTypeLocalizedText", - "description": "Output only. Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered.", - "readOnly": true + "description": "Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered." }, "formattedAddress": { - "description": "Output only. A full, human-readable address for this place.", - "readOnly": true, + "description": "A full, human-readable address for this place.", "type": "string" }, "googleMapsUri": { - "description": "Output only. A URL providing more information about this place.", - "readOnly": true, + "description": "A URL providing more information about this place.", "type": "string" }, "iconBackgroundColor": { - "description": "Output only. Background color for icon_mask in hex format, e.g. #909CE1.", - "readOnly": true, + "description": "Background color for icon_mask in hex format, e.g. #909CE1.", "type": "string" }, "iconMaskBaseUri": { - "description": "Output only. A truncated URL to an v2 icon mask. User can access different icon type by appending type suffix to the end (eg, \".svg\" or \".png\").", - "readOnly": true, + "description": "A truncated URL to an v2 icon mask. User can access different icon type by appending type suffix to the end (eg, \".svg\" or \".png\").", "type": "string" }, "id": { - "description": "Output only. The unique identifier of a place.", - "readOnly": true, + "description": "The unique identifier of a place.", "type": "string" }, "internationalPhoneNumber": { - "description": "Output only. A human-readable phone number for the place, in international format.", - "readOnly": true, + "description": "A human-readable phone number for the place, in international format.", "type": "string" }, "location": { "$ref": "GoogleTypeLatLng", - "description": "Output only. The position of this place.", - "readOnly": true + "description": "The position of this place." }, "name": { - "description": "Output only. An ID representing this place which may be used to look up this place again (a.k.a. the API \"resource\" name: places/).", - "readOnly": true, + "description": "An ID representing this place which may be used to look up this place again (a.k.a. the API \"resource\" name: places/place_id).", "type": "string" }, "nationalPhoneNumber": { - "description": "Output only. A human-readable phone number for the place, in national format.", - "readOnly": true, + "description": "A human-readable phone number for the place, in national format.", "type": "string" }, "plusCode": { "$ref": "GoogleMapsPlacesV1PlacePlusCode", - "description": "Output only. Plus code of the place location lat/long.", - "readOnly": true + "description": "Plus code of the place location lat/long." }, "priceLevel": { - "description": "Output only. Price level of the place.", + "description": "Price level of the place.", "enum": [ "PRICE_LEVEL_UNSPECIFIED", "PRICE_LEVEL_FREE", @@ -345,109 +323,90 @@ "Place provides expensive services.", "Place provides very expensive service s." ], - "readOnly": true, "type": "string" }, "rating": { - "description": "Output only. A rating between 1.0 and 5.0, based on user reviews of this place.", + "description": "A rating between 1.0 and 5.0, based on user reviews of this place.", "format": "double", - "readOnly": true, "type": "number" }, "regularOpeningHours": { "$ref": "GoogleMapsPlacesV1PlaceOpeningHours", - "description": "Output only. The regular hours of operation.", - "readOnly": true + "description": "The regular hours of operation." }, "regularSecondaryOpeningHours": { - "description": "Output only. Contains an array of entries for information about regular secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.", + "description": "Contains an array of entries for information about regular secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.", "items": { "$ref": "GoogleMapsPlacesV1PlaceOpeningHours" }, - "readOnly": true, "type": "array" }, "reservable": { - "description": "Output only. Specifies if the place supports reservations.", - "readOnly": true, + "description": "Specifies if the place supports reservations.", "type": "boolean" }, "reviews": { - "description": "Output only. List of reviews about this place.", + "description": "List of reviews about this place.", "items": { "$ref": "GoogleMapsPlacesV1Review" }, - "readOnly": true, "type": "array" }, "servesBeer": { - "description": "Output only. Specifies if the place serves beer.", - "readOnly": true, + "description": "Specifies if the place serves beer.", "type": "boolean" }, "servesBreakfast": { - "description": "Output only. Specifies if the place serves breakfast.", - "readOnly": true, + "description": "Specifies if the place serves breakfast.", "type": "boolean" }, "servesBrunch": { - "description": "Output only. Specifies if the place serves brunch.", - "readOnly": true, + "description": "Specifies if the place serves brunch.", "type": "boolean" }, "servesDinner": { - "description": "Output only. Specifies if the place serves dinner.", - "readOnly": true, + "description": "Specifies if the place serves dinner.", "type": "boolean" }, "servesLunch": { - "description": "Output only. Specifies if the place serves lunch.", - "readOnly": true, + "description": "Specifies if the place serves lunch.", "type": "boolean" }, "servesVegetarianFood": { - "description": "Output only. Specifies if the place serves vegetarian food.", - "readOnly": true, + "description": "Specifies if the place serves vegetarian food.", "type": "boolean" }, "servesWine": { - "description": "Output only. Specifies if the place serves wine.", - "readOnly": true, + "description": "Specifies if the place serves wine.", "type": "boolean" }, "takeout": { - "description": "Output only. Specifies if the business supports takeout.", - "readOnly": true, + "description": "Specifies if the business supports takeout.", "type": "boolean" }, "types": { - "description": "Output only. A set of type tags for this result. For example, \"political\" and \"locality\".", + "description": "A set of type tags for this result. For example, \"political\" and \"locality\". See: https://developers.google.com/maps/documentation/places/web-service/place-types", "items": { "type": "string" }, - "readOnly": true, "type": "array" }, "userRatingCount": { - "description": "Output only. The total number of reviews (with or without text) for this place.", + "description": "The total number of reviews (with or without text) for this place.", "format": "int32", - "readOnly": true, "type": "integer" }, "utcOffsetMinutes": { - "description": "Output only. Number of minutes this place's timezone is currently offset from UTC. This is expressed in minutes to support timezones that are offset by fractions of an hour, e.g. X hours and 15 minutes.", + "description": "Number of minutes this place's timezone is currently offset from UTC. This is expressed in minutes to support timezones that are offset by fractions of an hour, e.g. X hours and 15 minutes.", "format": "int32", - "readOnly": true, "type": "integer" }, "viewport": { "$ref": "GoogleGeoTypeViewport", - "description": "Output only. A viewport suitable for displaying the place on an average-sized map.", - "readOnly": true + "description": "A viewport suitable for displaying the place on an average-sized map." }, "websiteUri": { - "description": "Output only. The authoritative website for this place, e.g. a business' homepage. Note that for places that are part of a chain (e.g. an IKEA store), this will usually be the website for the individual store, not the overall chain.", - "readOnly": true, + "description": "The authoritative website for this place, e.g. a business' homepage. Note that for places that are part of a chain (e.g. an IKEA store), this will usually be the website for the individual store, not the overall chain.", "type": "string" } }, @@ -469,26 +428,22 @@ "id": "GoogleMapsPlacesV1PlaceAddressComponent", "properties": { "languageCode": { - "description": "Output only. The language used to format this components, in CLDR notation.", - "readOnly": true, + "description": "The language used to format this components, in CLDR notation.", "type": "string" }, "longText": { - "description": "Output only. The full text description or name of the address component. For example, an address component for the country Australia may have a long_name of \"Australia\".", - "readOnly": true, + "description": "The full text description or name of the address component. For example, an address component for the country Australia may have a long_name of \"Australia\".", "type": "string" }, "shortText": { - "description": "Output only. An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short_name of \"AU\".", - "readOnly": true, + "description": "An abbreviated textual name for the address component, if available. For example, an address component for the country of Australia may have a short_name of \"AU\".", "type": "string" }, "types": { - "description": "Output only. An array indicating the type(s) of the address component.", + "description": "An array indicating the type(s) of the address component.", "items": { "type": "string" }, - "readOnly": true, "type": "array" } }, @@ -499,13 +454,11 @@ "id": "GoogleMapsPlacesV1PlaceAttribution", "properties": { "provider": { - "description": "Output only. Name of the Place's data provider.", - "readOnly": true, + "description": "Name of the Place's data provider.", "type": "string" }, "providerUri": { - "description": "Output only. URI to the Place's data provider.", - "readOnly": true, + "description": "URI to the Place's data provider.", "type": "string" } }, @@ -516,20 +469,18 @@ "id": "GoogleMapsPlacesV1PlaceOpeningHours", "properties": { "openNow": { - "description": "Output only. Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.", - "readOnly": true, + "description": "Is this place open right now? Always present unless we lack time-of-day or timezone data for these opening hours.", "type": "boolean" }, "periods": { - "description": "Output only. The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.", + "description": "The periods that this place is open during the week. The periods are in chronological order, starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a place that is never open, e.g. because it is closed temporarily for renovations.", "items": { "$ref": "GoogleMapsPlacesV1PlaceOpeningHoursPeriod" }, - "readOnly": true, "type": "array" }, "secondaryHoursType": { - "description": "Output only. A type string used to identify the type of secondary hours.", + "description": "A type string used to identify the type of secondary hours.", "enum": [ "SECONDARY_HOURS_TYPE_UNSPECIFIED", "DRIVE_THROUGH", @@ -562,23 +513,20 @@ "The special hours for seniors.", "The online service hours." ], - "readOnly": true, "type": "string" }, "specialDays": { - "description": "Output only. Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.", + "description": "Structured information for special days that fall within the period that the returned opening hours cover. Special days are days that could impact the business hours of a place, e.g. Christmas day. Set for current_opening_hours and current_secondary_opening_hours if there are exceptional hours.", "items": { "$ref": "GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay" }, - "readOnly": true, "type": "array" }, "weekdayDescriptions": { - "description": "Output only. Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: \"Sun: 18:00–06:00\"", + "description": "Localized strings describing the opening hours of this place, one string for each day of the week. Will be empty if the hours are unknown or could not be converted to localized text. Example: \"Sun: 18:00–06:00\"", "items": { "type": "string" }, - "readOnly": true, "type": "array" } }, @@ -590,13 +538,11 @@ "properties": { "close": { "$ref": "GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint", - "description": "Output only. The time that the place starts to be closed.", - "readOnly": true + "description": "The time that the place starts to be closed." }, "open": { "$ref": "GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint", - "description": "Output only. The time that the place starts to be open.", - "readOnly": true + "description": "The time that the place starts to be open." } }, "type": "object" @@ -607,30 +553,25 @@ "properties": { "date": { "$ref": "GoogleTypeDate", - "description": "Output only. Date in the local timezone for the place.", - "readOnly": true + "description": "Date in the local timezone for the place." }, "day": { - "description": "Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.", + "description": "A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.", "format": "int32", - "readOnly": true, "type": "integer" }, "hour": { - "description": "Output only. The hour in 2 digits. Ranges from 00 to 23.", + "description": "The hour in 2 digits. Ranges from 00 to 23.", "format": "int32", - "readOnly": true, "type": "integer" }, "minute": { - "description": "Output only. The minute in 2 digits. Ranges from 00 to 59.", + "description": "The minute in 2 digits. Ranges from 00 to 59.", "format": "int32", - "readOnly": true, "type": "integer" }, "truncated": { - "description": "Output only. Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.", - "readOnly": true, + "description": "Whether or not this endpoint was truncated. Truncation occurs when the real hours are outside the times we are willing to return hours between, so we truncate the hours back to these boundaries. This ensures that at most 24 * 7 hours from midnight of the day of the request are returned.", "type": "boolean" } }, @@ -642,8 +583,7 @@ "properties": { "date": { "$ref": "GoogleTypeDate", - "description": "Output only. The date of this special day.", - "readOnly": true + "description": "The date of this special day." } }, "type": "object" @@ -653,13 +593,11 @@ "id": "GoogleMapsPlacesV1PlacePlusCode", "properties": { "compoundCode": { - "description": "Output only. Place's compound code, such as \"33GV+HQ, Ramberg, Norway\", containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.", - "readOnly": true, + "description": "Place's compound code, such as \"33GV+HQ, Ramberg, Norway\", containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.", "type": "string" }, "globalCode": { - "description": "Output only. Place's global (full) code, such as \"9FWM33GV+HQ\", representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).", - "readOnly": true, + "description": "Place's global (full) code, such as \"9FWM33GV+HQ\", representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).", "type": "string" } }, @@ -709,7 +647,7 @@ "id": "GoogleMapsPlacesV1SearchTextRequest", "properties": { "includedType": { - "description": "The requested place type. Full list of types supported: https://developers.google.com/places/supported_types. Only support one included type.", + "description": "The requested place type. Full list of types supported: https://developers.google.com/maps/documentation/places/web-service/place-types. Only support one included type.", "type": "string" }, "languageCode": { @@ -735,7 +673,7 @@ "type": "number" }, "openNow": { - "description": "Used to restrict the search to places that are open at a specific time. open_now marks if a business is currently open.", + "description": "Used to restrict the search to places that are currently open.", "type": "boolean" }, "priceLevels": { @@ -878,7 +816,7 @@ "type": "string" }, "text": { - "description": "Localized string in the language corresponding to `language_code' below.", + "description": "Localized string in the language corresponding to language_code below.", "type": "string" } }, diff --git a/places/v1/places-gen.go b/places/v1/places-gen.go index 8322c1c787a..5cf7800b2cb 100644 --- a/places/v1/places-gen.go +++ b/places/v1/places-gen.go @@ -308,23 +308,35 @@ func (s *GoogleMapsPlacesV1Circle) UnmarshalJSON(data []byte) error { // GoogleMapsPlacesV1Place: All the information representing a Place. type GoogleMapsPlacesV1Place struct { - // AccessibilityOptions: Output only. Information about the - // accessibility options a place offers. + // AccessibilityOptions: Information about the accessibility options a + // place offers. AccessibilityOptions *GoogleMapsPlacesV1PlaceAccessibilityOptions `json:"accessibilityOptions,omitempty"` - // AddressComponents: Output only. Repeated components for each locality - // level. + // AddressComponents: Repeated components for each locality level. Note + // the following facts about the address_components[] array: - The array + // of address components may contain more components than the + // formatted_address. - The array does not necessarily include all the + // political entities that contain an address, apart from those included + // in the formatted_address. To retrieve all the political entities that + // contain a specific address, you should use reverse geocoding, passing + // the latitude/longitude of the address as a parameter to the request. + // - The format of the response is not guaranteed to remain the same + // between requests. In particular, the number of address_components + // varies based on the address requested and can change over time for + // the same address. A component can change position in the array. The + // type of the component can change. A particular component may be + // missing in a later response. AddressComponents []*GoogleMapsPlacesV1PlaceAddressComponent `json:"addressComponents,omitempty"` - // AdrFormatAddress: Output only. The place's address in adr - // microformat: http://microformats.org/wiki/adr. + // AdrFormatAddress: The place's address in adr microformat: + // http://microformats.org/wiki/adr. AdrFormatAddress string `json:"adrFormatAddress,omitempty"` - // Attributions: Output only. A set of data provider that must be shown - // with this result. + // Attributions: A set of data provider that must be shown with this + // result. Attributions []*GoogleMapsPlacesV1PlaceAttribution `json:"attributions,omitempty"` - // BusinessStatus: Output only. The business status for the place. + // BusinessStatus: The business status for the place. // // Possible values: // "BUSINESS_STATUS_UNSPECIFIED" - Default value. This value is @@ -335,85 +347,82 @@ type GoogleMapsPlacesV1Place struct { // "CLOSED_PERMANENTLY" - The establishment is permanently closed. BusinessStatus string `json:"businessStatus,omitempty"` - // CurbsidePickup: Output only. Specifies if the business supports - // curbside pickup. + // CurbsidePickup: Specifies if the business supports curbside pickup. CurbsidePickup bool `json:"curbsidePickup,omitempty"` - // CurrentOpeningHours: Output only. The hours of operation for the next - // seven days (including today). The time period starts at midnight on - // the date of the request and ends at 11:59 pm six days later. This - // field includes the special_days subfield of all hours, set for dates - // that have exceptional hours. + // CurrentOpeningHours: The hours of operation for the next seven days + // (including today). The time period starts at midnight on the date of + // the request and ends at 11:59 pm six days later. This field includes + // the special_days subfield of all hours, set for dates that have + // exceptional hours. CurrentOpeningHours *GoogleMapsPlacesV1PlaceOpeningHours `json:"currentOpeningHours,omitempty"` - // CurrentSecondaryOpeningHours: Output only. Contains an array of - // entries for the next seven days including information about secondary - // hours of a business. Secondary hours are different from a business's - // main hours. For example, a restaurant can specify drive through hours - // or delivery hours as its secondary hours. This field populates the - // type subfield, which draws from a predefined list of opening hours - // types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types - // of the place. This field includes the special_days subfield of all - // hours, set for dates that have exceptional hours. + // CurrentSecondaryOpeningHours: Contains an array of entries for the + // next seven days including information about secondary hours of a + // business. Secondary hours are different from a business's main hours. + // For example, a restaurant can specify drive through hours or delivery + // hours as its secondary hours. This field populates the type subfield, + // which draws from a predefined list of opening hours types (such as + // DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. + // This field includes the special_days subfield of all hours, set for + // dates that have exceptional hours. CurrentSecondaryOpeningHours []*GoogleMapsPlacesV1PlaceOpeningHours `json:"currentSecondaryOpeningHours,omitempty"` - // Delivery: Output only. Specifies if the business supports delivery. + // Delivery: Specifies if the business supports delivery. Delivery bool `json:"delivery,omitempty"` - // DineIn: Output only. Specifies if the business supports indoor or - // outdoor seating options. + // DineIn: Specifies if the business supports indoor or outdoor seating + // options. DineIn bool `json:"dineIn,omitempty"` - // DisplayName: Output only. The localized name of the place, suitable - // as a short human-readable description. For example, "Google Sydney", + // DisplayName: The localized name of the place, suitable as a short + // human-readable description. For example, "Google Sydney", // "Starbucks", "Pyrmont", etc. DisplayName *GoogleTypeLocalizedText `json:"displayName,omitempty"` - // EditorialSummary: Output only. Contains a summary of the place. A - // summary is comprised of a textual overview, and also includes the - // language code for these if applicable. Summary text must be presented - // as-is and can not be modified or altered. + // EditorialSummary: Contains a summary of the place. A summary is + // comprised of a textual overview, and also includes the language code + // for these if applicable. Summary text must be presented as-is and can + // not be modified or altered. EditorialSummary *GoogleTypeLocalizedText `json:"editorialSummary,omitempty"` - // FormattedAddress: Output only. A full, human-readable address for - // this place. + // FormattedAddress: A full, human-readable address for this place. FormattedAddress string `json:"formattedAddress,omitempty"` - // GoogleMapsUri: Output only. A URL providing more information about - // this place. + // GoogleMapsUri: A URL providing more information about this place. GoogleMapsUri string `json:"googleMapsUri,omitempty"` - // IconBackgroundColor: Output only. Background color for icon_mask in - // hex format, e.g. #909CE1. + // IconBackgroundColor: Background color for icon_mask in hex format, + // e.g. #909CE1. IconBackgroundColor string `json:"iconBackgroundColor,omitempty"` - // IconMaskBaseUri: Output only. A truncated URL to an v2 icon mask. - // User can access different icon type by appending type suffix to the - // end (eg, ".svg" or ".png"). + // IconMaskBaseUri: A truncated URL to an v2 icon mask. User can access + // different icon type by appending type suffix to the end (eg, ".svg" + // or ".png"). IconMaskBaseUri string `json:"iconMaskBaseUri,omitempty"` - // Id: Output only. The unique identifier of a place. + // Id: The unique identifier of a place. Id string `json:"id,omitempty"` - // InternationalPhoneNumber: Output only. A human-readable phone number - // for the place, in international format. + // InternationalPhoneNumber: A human-readable phone number for the + // place, in international format. InternationalPhoneNumber string `json:"internationalPhoneNumber,omitempty"` - // Location: Output only. The position of this place. + // Location: The position of this place. Location *GoogleTypeLatLng `json:"location,omitempty"` - // Name: Output only. An ID representing this place which may be used to - // look up this place again (a.k.a. the API "resource" name: places/). + // Name: An ID representing this place which may be used to look up this + // place again (a.k.a. the API "resource" name: places/place_id). Name string `json:"name,omitempty"` - // NationalPhoneNumber: Output only. A human-readable phone number for - // the place, in national format. + // NationalPhoneNumber: A human-readable phone number for the place, in + // national format. NationalPhoneNumber string `json:"nationalPhoneNumber,omitempty"` - // PlusCode: Output only. Plus code of the place location lat/long. + // PlusCode: Plus code of the place location lat/long. PlusCode *GoogleMapsPlacesV1PlacePlusCode `json:"plusCode,omitempty"` - // PriceLevel: Output only. Price level of the place. + // PriceLevel: Price level of the place. // // Possible values: // "PRICE_LEVEL_UNSPECIFIED" - Place price level is unspecified or @@ -426,76 +435,74 @@ type GoogleMapsPlacesV1Place struct { // service s. PriceLevel string `json:"priceLevel,omitempty"` - // Rating: Output only. A rating between 1.0 and 5.0, based on user - // reviews of this place. + // Rating: A rating between 1.0 and 5.0, based on user reviews of this + // place. Rating float64 `json:"rating,omitempty"` - // RegularOpeningHours: Output only. The regular hours of operation. + // RegularOpeningHours: The regular hours of operation. RegularOpeningHours *GoogleMapsPlacesV1PlaceOpeningHours `json:"regularOpeningHours,omitempty"` - // RegularSecondaryOpeningHours: Output only. Contains an array of - // entries for information about regular secondary hours of a business. - // Secondary hours are different from a business's main hours. For - // example, a restaurant can specify drive through hours or delivery - // hours as its secondary hours. This field populates the type subfield, - // which draws from a predefined list of opening hours types (such as - // DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. + // RegularSecondaryOpeningHours: Contains an array of entries for + // information about regular secondary hours of a business. Secondary + // hours are different from a business's main hours. For example, a + // restaurant can specify drive through hours or delivery hours as its + // secondary hours. This field populates the type subfield, which draws + // from a predefined list of opening hours types (such as DRIVE_THROUGH, + // PICKUP, or TAKEOUT) based on the types of the place. RegularSecondaryOpeningHours []*GoogleMapsPlacesV1PlaceOpeningHours `json:"regularSecondaryOpeningHours,omitempty"` - // Reservable: Output only. Specifies if the place supports - // reservations. + // Reservable: Specifies if the place supports reservations. Reservable bool `json:"reservable,omitempty"` - // Reviews: Output only. List of reviews about this place. + // Reviews: List of reviews about this place. Reviews []*GoogleMapsPlacesV1Review `json:"reviews,omitempty"` - // ServesBeer: Output only. Specifies if the place serves beer. + // ServesBeer: Specifies if the place serves beer. ServesBeer bool `json:"servesBeer,omitempty"` - // ServesBreakfast: Output only. Specifies if the place serves - // breakfast. + // ServesBreakfast: Specifies if the place serves breakfast. ServesBreakfast bool `json:"servesBreakfast,omitempty"` - // ServesBrunch: Output only. Specifies if the place serves brunch. + // ServesBrunch: Specifies if the place serves brunch. ServesBrunch bool `json:"servesBrunch,omitempty"` - // ServesDinner: Output only. Specifies if the place serves dinner. + // ServesDinner: Specifies if the place serves dinner. ServesDinner bool `json:"servesDinner,omitempty"` - // ServesLunch: Output only. Specifies if the place serves lunch. + // ServesLunch: Specifies if the place serves lunch. ServesLunch bool `json:"servesLunch,omitempty"` - // ServesVegetarianFood: Output only. Specifies if the place serves - // vegetarian food. + // ServesVegetarianFood: Specifies if the place serves vegetarian food. ServesVegetarianFood bool `json:"servesVegetarianFood,omitempty"` - // ServesWine: Output only. Specifies if the place serves wine. + // ServesWine: Specifies if the place serves wine. ServesWine bool `json:"servesWine,omitempty"` - // Takeout: Output only. Specifies if the business supports takeout. + // Takeout: Specifies if the business supports takeout. Takeout bool `json:"takeout,omitempty"` - // Types: Output only. A set of type tags for this result. For example, - // "political" and "locality". + // Types: A set of type tags for this result. For example, "political" + // and "locality". See: + // https://developers.google.com/maps/documentation/places/web-service/place-types Types []string `json:"types,omitempty"` - // UserRatingCount: Output only. The total number of reviews (with or - // without text) for this place. + // UserRatingCount: The total number of reviews (with or without text) + // for this place. UserRatingCount int64 `json:"userRatingCount,omitempty"` - // UtcOffsetMinutes: Output only. Number of minutes this place's - // timezone is currently offset from UTC. This is expressed in minutes - // to support timezones that are offset by fractions of an hour, e.g. X - // hours and 15 minutes. + // UtcOffsetMinutes: Number of minutes this place's timezone is + // currently offset from UTC. This is expressed in minutes to support + // timezones that are offset by fractions of an hour, e.g. X hours and + // 15 minutes. UtcOffsetMinutes int64 `json:"utcOffsetMinutes,omitempty"` - // Viewport: Output only. A viewport suitable for displaying the place - // on an average-sized map. + // Viewport: A viewport suitable for displaying the place on an + // average-sized map. Viewport *GoogleGeoTypeViewport `json:"viewport,omitempty"` - // WebsiteUri: Output only. The authoritative website for this place, - // e.g. a business' homepage. Note that for places that are part of a - // chain (e.g. an IKEA store), this will usually be the website for the + // WebsiteUri: The authoritative website for this place, e.g. a + // business' homepage. Note that for places that are part of a chain + // (e.g. an IKEA store), this will usually be the website for the // individual store, not the overall chain. WebsiteUri string `json:"websiteUri,omitempty"` @@ -573,22 +580,21 @@ func (s *GoogleMapsPlacesV1PlaceAccessibilityOptions) MarshalJSON() ([]byte, err // GoogleMapsPlacesV1PlaceAddressComponent: The structured components // that form the formatted address, if this information is available. type GoogleMapsPlacesV1PlaceAddressComponent struct { - // LanguageCode: Output only. The language used to format this - // components, in CLDR notation. + // LanguageCode: The language used to format this components, in CLDR + // notation. LanguageCode string `json:"languageCode,omitempty"` - // LongText: Output only. The full text description or name of the - // address component. For example, an address component for the country - // Australia may have a long_name of "Australia". + // LongText: The full text description or name of the address component. + // For example, an address component for the country Australia may have + // a long_name of "Australia". LongText string `json:"longText,omitempty"` - // ShortText: Output only. An abbreviated textual name for the address - // component, if available. For example, an address component for the - // country of Australia may have a short_name of "AU". + // ShortText: An abbreviated textual name for the address component, if + // available. For example, an address component for the country of + // Australia may have a short_name of "AU". ShortText string `json:"shortText,omitempty"` - // Types: Output only. An array indicating the type(s) of the address - // component. + // Types: An array indicating the type(s) of the address component. Types []string `json:"types,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to @@ -617,10 +623,10 @@ func (s *GoogleMapsPlacesV1PlaceAddressComponent) MarshalJSON() ([]byte, error) // GoogleMapsPlacesV1PlaceAttribution: Information about data providers // of this place. type GoogleMapsPlacesV1PlaceAttribution struct { - // Provider: Output only. Name of the Place's data provider. + // Provider: Name of the Place's data provider. Provider string `json:"provider,omitempty"` - // ProviderUri: Output only. URI to the Place's data provider. + // ProviderUri: URI to the Place's data provider. ProviderUri string `json:"providerUri,omitempty"` // ForceSendFields is a list of field names (e.g. "Provider") to @@ -649,19 +655,19 @@ func (s *GoogleMapsPlacesV1PlaceAttribution) MarshalJSON() ([]byte, error) { // GoogleMapsPlacesV1PlaceOpeningHours: Information about business hour // of the place. type GoogleMapsPlacesV1PlaceOpeningHours struct { - // OpenNow: Output only. Is this place open right now? Always present - // unless we lack time-of-day or timezone data for these opening hours. + // OpenNow: Is this place open right now? Always present unless we lack + // time-of-day or timezone data for these opening hours. OpenNow bool `json:"openNow,omitempty"` - // Periods: Output only. The periods that this place is open during the - // week. The periods are in chronological order, starting with Sunday in - // the place-local timezone. An empty (but not absent) value indicates a + // Periods: The periods that this place is open during the week. The + // periods are in chronological order, starting with Sunday in the + // place-local timezone. An empty (but not absent) value indicates a // place that is never open, e.g. because it is closed temporarily for // renovations. Periods []*GoogleMapsPlacesV1PlaceOpeningHoursPeriod `json:"periods,omitempty"` - // SecondaryHoursType: Output only. A type string used to identify the - // type of secondary hours. + // SecondaryHoursType: A type string used to identify the type of + // secondary hours. // // Possible values: // "SECONDARY_HOURS_TYPE_UNSPECIFIED" - Default value when secondary @@ -682,17 +688,17 @@ type GoogleMapsPlacesV1PlaceOpeningHours struct { // "ONLINE_SERVICE_HOURS" - The online service hours. SecondaryHoursType string `json:"secondaryHoursType,omitempty"` - // SpecialDays: Output only. Structured information for special days - // that fall within the period that the returned opening hours cover. - // Special days are days that could impact the business hours of a - // place, e.g. Christmas day. Set for current_opening_hours and + // SpecialDays: Structured information for special days that fall within + // the period that the returned opening hours cover. Special days are + // days that could impact the business hours of a place, e.g. Christmas + // day. Set for current_opening_hours and // current_secondary_opening_hours if there are exceptional hours. SpecialDays []*GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay `json:"specialDays,omitempty"` - // WeekdayDescriptions: Output only. Localized strings describing the - // opening hours of this place, one string for each day of the week. - // Will be empty if the hours are unknown or could not be converted to - // localized text. Example: "Sun: 18:00–06:00" + // WeekdayDescriptions: Localized strings describing the opening hours + // of this place, one string for each day of the week. Will be empty if + // the hours are unknown or could not be converted to localized text. + // Example: "Sun: 18:00–06:00" WeekdayDescriptions []string `json:"weekdayDescriptions,omitempty"` // ForceSendFields is a list of field names (e.g. "OpenNow") to @@ -721,10 +727,10 @@ func (s *GoogleMapsPlacesV1PlaceOpeningHours) MarshalJSON() ([]byte, error) { // GoogleMapsPlacesV1PlaceOpeningHoursPeriod: A period the place remains // in open_now status. type GoogleMapsPlacesV1PlaceOpeningHoursPeriod struct { - // Close: Output only. The time that the place starts to be closed. + // Close: The time that the place starts to be closed. Close *GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint `json:"close,omitempty"` - // Open: Output only. The time that the place starts to be open. + // Open: The time that the place starts to be open. Open *GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint `json:"open,omitempty"` // ForceSendFields is a list of field names (e.g. "Close") to @@ -753,24 +759,24 @@ func (s *GoogleMapsPlacesV1PlaceOpeningHoursPeriod) MarshalJSON() ([]byte, error // GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint: Status changing // points. type GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint struct { - // Date: Output only. Date in the local timezone for the place. + // Date: Date in the local timezone for the place. Date *GoogleTypeDate `json:"date,omitempty"` - // Day: Output only. A day of the week, as an integer in the range 0-6. - // 0 is Sunday, 1 is Monday, etc. + // Day: A day of the week, as an integer in the range 0-6. 0 is Sunday, + // 1 is Monday, etc. Day int64 `json:"day,omitempty"` - // Hour: Output only. The hour in 2 digits. Ranges from 00 to 23. + // Hour: The hour in 2 digits. Ranges from 00 to 23. Hour int64 `json:"hour,omitempty"` - // Minute: Output only. The minute in 2 digits. Ranges from 00 to 59. + // Minute: The minute in 2 digits. Ranges from 00 to 59. Minute int64 `json:"minute,omitempty"` - // Truncated: Output only. Whether or not this endpoint was truncated. - // Truncation occurs when the real hours are outside the times we are - // willing to return hours between, so we truncate the hours back to - // these boundaries. This ensures that at most 24 * 7 hours from - // midnight of the day of the request are returned. + // Truncated: Whether or not this endpoint was truncated. Truncation + // occurs when the real hours are outside the times we are willing to + // return hours between, so we truncate the hours back to these + // boundaries. This ensures that at most 24 * 7 hours from midnight of + // the day of the request are returned. Truncated bool `json:"truncated,omitempty"` // ForceSendFields is a list of field names (e.g. "Date") to @@ -801,7 +807,7 @@ func (s *GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint) MarshalJSON() ([]byte, // opening hours cover. Special days are days that could impact the // business hours of a place, e.g. Christmas day. type GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay struct { - // Date: Output only. The date of this special day. + // Date: The date of this special day. Date *GoogleTypeDate `json:"date,omitempty"` // ForceSendFields is a list of field names (e.g. "Date") to @@ -832,14 +838,13 @@ func (s *GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay) MarshalJSON() ([]byte, e // (1/8000th of a degree) or smaller rectangle, and compound code, // replacing the prefix with a reference location. type GoogleMapsPlacesV1PlacePlusCode struct { - // CompoundCode: Output only. Place's compound code, such as "33GV+HQ, - // Ramberg, Norway", containing the suffix of the global code and - // replacing the prefix with a formatted name of a reference entity. + // CompoundCode: Place's compound code, such as "33GV+HQ, Ramberg, + // Norway", containing the suffix of the global code and replacing the + // prefix with a formatted name of a reference entity. CompoundCode string `json:"compoundCode,omitempty"` - // GlobalCode: Output only. Place's global (full) code, such as - // "9FWM33GV+HQ", representing an 1/8000 by 1/8000 degree area (~14 by - // 14 meters). + // GlobalCode: Place's global (full) code, such as "9FWM33GV+HQ", + // representing an 1/8000 by 1/8000 degree area (~14 by 14 meters). GlobalCode string `json:"globalCode,omitempty"` // ForceSendFields is a list of field names (e.g. "CompoundCode") to @@ -929,8 +934,8 @@ func (s *GoogleMapsPlacesV1Review) UnmarshalJSON(data []byte) error { // GoogleMapsPlacesV1SearchTextRequest: Request proto for SearchText. type GoogleMapsPlacesV1SearchTextRequest struct { // IncludedType: The requested place type. Full list of types supported: - // https://developers.google.com/places/supported_types. Only support - // one included type. + // https://developers.google.com/maps/documentation/places/web-service/place-types. + // Only support one included type. IncludedType string `json:"includedType,omitempty"` // LanguageCode: Place details will be displayed with the preferred @@ -966,8 +971,8 @@ type GoogleMapsPlacesV1SearchTextRequest struct { // 1.0 rating. MinRating float64 `json:"minRating,omitempty"` - // OpenNow: Used to restrict the search to places that are open at a - // specific time. open_now marks if a business is currently open. + // OpenNow: Used to restrict the search to places that are currently + // open. OpenNow bool `json:"openNow,omitempty"` // PriceLevels: Used to restrict the search to places that are marked as @@ -1252,8 +1257,8 @@ type GoogleTypeLocalizedText struct { // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. LanguageCode string `json:"languageCode,omitempty"` - // Text: Localized string in the language corresponding to - // `language_code' below. + // Text: Localized string in the language corresponding to language_code + // below. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to diff --git a/pubsub/v1/pubsub-api.json b/pubsub/v1/pubsub-api.json index a1459b4c461..75fd6468b69 100644 --- a/pubsub/v1/pubsub-api.json +++ b/pubsub/v1/pubsub-api.json @@ -1573,7 +1573,7 @@ } } }, - "revision": "20230830", + "revision": "20231010", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { @@ -1616,14 +1616,16 @@ "ACTIVE", "PERMISSION_DENIED", "NOT_FOUND", - "SCHEMA_MISMATCH" + "SCHEMA_MISMATCH", + "IN_TRANSIT_LOCATION_RESTRICTION" ], "enumDescriptions": [ "Default value. This value is unused.", "The subscription can actively send messages to BigQuery", "Cannot write to the BigQuery table because of permission denied errors. This can happen if - Pub/Sub SA has not been granted the [appropriate BigQuery IAM permissions](https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account) - bigquery.googleapis.com API is not enabled for the project ([instructions](https://cloud.google.com/service-usage/docs/enable-disable))", "Cannot write to the BigQuery table because it does not exist.", - "Cannot write to the BigQuery table due to a schema mismatch." + "Cannot write to the BigQuery table due to a schema mismatch.", + "Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions." ], "readOnly": true, "type": "string" @@ -1701,13 +1703,15 @@ "STATE_UNSPECIFIED", "ACTIVE", "PERMISSION_DENIED", - "NOT_FOUND" + "NOT_FOUND", + "IN_TRANSIT_LOCATION_RESTRICTION" ], "enumDescriptions": [ "Default value. This value is unused.", "The subscription can actively send messages to Cloud Storage.", "Cannot write to the Cloud Storage bucket because of permission denied errors.", - "Cannot write to the Cloud Storage bucket because it does not exist." + "Cannot write to the Cloud Storage bucket because it does not exist.", + "Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions." ], "readOnly": true, "type": "string" diff --git a/pubsub/v1/pubsub-gen.go b/pubsub/v1/pubsub-gen.go index 61c04ab96b9..3b7f97988bb 100644 --- a/pubsub/v1/pubsub-gen.go +++ b/pubsub/v1/pubsub-gen.go @@ -336,6 +336,9 @@ type BigQueryConfig struct { // not exist. // "SCHEMA_MISMATCH" - Cannot write to the BigQuery table due to a // schema mismatch. + // "IN_TRANSIT_LOCATION_RESTRICTION" - Cannot write to the destination + // because enforce_in_transit is set to true and the destination + // locations are not in the allowed regions. State string `json:"state,omitempty"` // Table: Optional. The name of the table to which to write data, of the @@ -502,6 +505,9 @@ type CloudStorageConfig struct { // because of permission denied errors. // "NOT_FOUND" - Cannot write to the Cloud Storage bucket because it // does not exist. + // "IN_TRANSIT_LOCATION_RESTRICTION" - Cannot write to the destination + // because enforce_in_transit is set to true and the destination + // locations are not in the allowed regions. State string `json:"state,omitempty"` // TextConfig: Optional. If set, message data will be written to Cloud diff --git a/servicenetworking/v1beta/servicenetworking-api.json b/servicenetworking/v1beta/servicenetworking-api.json index 027031f040b..8f10d66ec7b 100644 --- a/servicenetworking/v1beta/servicenetworking-api.json +++ b/servicenetworking/v1beta/servicenetworking-api.json @@ -307,7 +307,7 @@ } } }, - "revision": "20230802", + "revision": "20231015", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -2896,6 +2896,18 @@ } }, "type": "object" + }, + "VpcServiceControls": { + "description": "Response for the get VPC Service Controls request.", + "id": "VpcServiceControls", + "properties": { + "enabled": { + "description": "Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the consumer called the EnableVpcServiceControls method, then this is true. If the consumer called DisableVpcServiceControls, then this is false. The default is false.", + "readOnly": true, + "type": "boolean" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/servicenetworking/v1beta/servicenetworking-gen.go b/servicenetworking/v1beta/servicenetworking-gen.go index ee67325416b..02ad807bfd6 100644 --- a/servicenetworking/v1beta/servicenetworking-gen.go +++ b/servicenetworking/v1beta/servicenetworking-gen.go @@ -4891,6 +4891,39 @@ func (s *UsageRule) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// VpcServiceControls: Response for the get VPC Service Controls +// request. +type VpcServiceControls struct { + // Enabled: Output only. Indicates whether the VPC Service Controls are + // enabled or disabled for the connection. If the consumer called the + // EnableVpcServiceControls method, then this is true. If the consumer + // called DisableVpcServiceControls, then this is false. The default is + // false. + Enabled bool `json:"enabled,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Enabled") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Enabled") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *VpcServiceControls) MarshalJSON() ([]byte, error) { + type NoMethod VpcServiceControls + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // method id "servicenetworking.operations.get": type OperationsGetCall struct { diff --git a/vmmigration/v1/vmmigration-api.json b/vmmigration/v1/vmmigration-api.json index d76c92bf62b..fc788973c51 100644 --- a/vmmigration/v1/vmmigration-api.json +++ b/vmmigration/v1/vmmigration-api.json @@ -1972,7 +1972,7 @@ } } }, - "revision": "20230927", + "revision": "20231012", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -4139,7 +4139,8 @@ "CLONE_ERROR", "CUTOVER_ERROR", "UTILIZATION_REPORT_ERROR", - "APPLIANCE_UPGRADE_ERROR" + "APPLIANCE_UPGRADE_ERROR", + "IMAGE_IMPORT_ERROR" ], "enumDescriptions": [ "Default value. This value is not used.", @@ -4151,7 +4152,8 @@ "Migrate to Virtual Machines encountered an error in clone operation.", "Migrate to Virtual Machines encountered an error in cutover operation.", "Migrate to Virtual Machines encountered an error during utilization report creation.", - "Migrate to Virtual Machines encountered an error during appliance upgrade." + "Migrate to Virtual Machines encountered an error during appliance upgrade.", + "Migrate to Virtual Machines encountered an error in image import operation." ], "readOnly": true, "type": "string" @@ -4738,7 +4740,7 @@ "type": "string" }, "project": { - "description": "The target project ID (number) or project name.", + "description": "Required. The target project ID (number) or project name.", "type": "string" }, "updateTime": { diff --git a/vmmigration/v1/vmmigration-gen.go b/vmmigration/v1/vmmigration-gen.go index 443b978e218..eb051c25a2b 100644 --- a/vmmigration/v1/vmmigration-gen.go +++ b/vmmigration/v1/vmmigration-gen.go @@ -2983,6 +2983,8 @@ type MigrationError struct { // encountered an error during utilization report creation. // "APPLIANCE_UPGRADE_ERROR" - Migrate to Virtual Machines encountered // an error during appliance upgrade. + // "IMAGE_IMPORT_ERROR" - Migrate to Virtual Machines encountered an + // error in image import operation. Code string `json:"code,omitempty"` // ErrorMessage: Output only. The localized error message. @@ -3795,7 +3797,7 @@ type TargetProject struct { // Name: Output only. The name of the target project. Name string `json:"name,omitempty"` - // Project: The target project ID (number) or project name. + // Project: Required. The target project ID (number) or project name. Project string `json:"project,omitempty"` // UpdateTime: Output only. The last time the target project resource diff --git a/vmmigration/v1alpha1/vmmigration-api.json b/vmmigration/v1alpha1/vmmigration-api.json index 3513a6ae7fe..f1681aab573 100644 --- a/vmmigration/v1alpha1/vmmigration-api.json +++ b/vmmigration/v1alpha1/vmmigration-api.json @@ -1972,7 +1972,7 @@ } } }, - "revision": "20230927", + "revision": "20231012", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -4184,7 +4184,8 @@ "CLONE_ERROR", "CUTOVER_ERROR", "UTILIZATION_REPORT_ERROR", - "APPLIANCE_UPGRADE_ERROR" + "APPLIANCE_UPGRADE_ERROR", + "IMAGE_IMPORT_ERROR" ], "enumDescriptions": [ "Default value. This value is not used.", @@ -4196,7 +4197,8 @@ "Migrate to Virtual Machines encountered an error in clone operation.", "Migrate to Virtual Machines encountered an error in cutover operation.", "Migrate to Virtual Machines encountered an error during utilization report creation.", - "Migrate to Virtual Machines encountered an error during appliance upgrade." + "Migrate to Virtual Machines encountered an error during appliance upgrade.", + "Migrate to Virtual Machines encountered an error in image import operation." ], "readOnly": true, "type": "string" @@ -4795,7 +4797,7 @@ "type": "string" }, "project": { - "description": "The target project ID (number) or project name.", + "description": "Required. The target project ID (number) or project name.", "type": "string" }, "updateTime": { diff --git a/vmmigration/v1alpha1/vmmigration-gen.go b/vmmigration/v1alpha1/vmmigration-gen.go index 1bed0c06b99..e2a0eff83ea 100644 --- a/vmmigration/v1alpha1/vmmigration-gen.go +++ b/vmmigration/v1alpha1/vmmigration-gen.go @@ -3017,6 +3017,8 @@ type MigrationError struct { // encountered an error during utilization report creation. // "APPLIANCE_UPGRADE_ERROR" - Migrate to Virtual Machines encountered // an error during appliance upgrade. + // "IMAGE_IMPORT_ERROR" - Migrate to Virtual Machines encountered an + // error in image import operation. Code string `json:"code,omitempty"` // ErrorMessage: Output only. The localized error message. @@ -3836,7 +3838,7 @@ type TargetProject struct { // Name: Output only. The name of the target project. Name string `json:"name,omitempty"` - // Project: The target project ID (number) or project name. + // Project: Required. The target project ID (number) or project name. Project string `json:"project,omitempty"` // UpdateTime: Output only. The last time the target project resource diff --git a/workflows/v1/workflows-api.json b/workflows/v1/workflows-api.json index 9728e752551..271fae947fb 100644 --- a/workflows/v1/workflows-api.json +++ b/workflows/v1/workflows-api.json @@ -372,7 +372,7 @@ ], "parameters": { "filter": { - "description": "Filter to restrict results to specific workflows.", + "description": "Filter to restrict results to specific workflows. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `createTime\u003e\"2023-08-01\" AND state=\"FAILED\"`", "location": "query", "type": "string" }, @@ -485,7 +485,7 @@ } } }, - "revision": "20230913", + "revision": "20231011", "rootUrl": "https://workflows.googleapis.com/", "schemas": { "Empty": { diff --git a/workflows/v1/workflows-gen.go b/workflows/v1/workflows-gen.go index 57f292f4553..e5b7e424bbb 100644 --- a/workflows/v1/workflows-gen.go +++ b/workflows/v1/workflows-gen.go @@ -2047,7 +2047,9 @@ func (r *ProjectsLocationsWorkflowsService) List(parent string) *ProjectsLocatio } // Filter sets the optional parameter "filter": Filter to restrict -// results to specific workflows. +// results to specific workflows. For details, see AIP-160. For example, +// if you are using the Google APIs Explorer: `state="SUCCEEDED" or +// `createTime>"2023-08-01" AND state="FAILED" func (c *ProjectsLocationsWorkflowsListCall) Filter(filter string) *ProjectsLocationsWorkflowsListCall { c.urlParams_.Set("filter", filter) return c @@ -2191,7 +2193,7 @@ func (c *ProjectsLocationsWorkflowsListCall) Do(opts ...googleapi.CallOption) (* // ], // "parameters": { // "filter": { - // "description": "Filter to restrict results to specific workflows.", + // "description": "Filter to restrict results to specific workflows. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `createTime\u003e\"2023-08-01\" AND state=\"FAILED\"`", // "location": "query", // "type": "string" // },