From 76a2c21a2416163c488c1e02a6baf68deb084c31 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 4 Mar 2022 06:39:54 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1466) --- apigee/v1/apigee-api.json | 32 +++---- apigee/v1/apigee-gen.go | 75 +++++++-------- bigquery/v2/bigquery-api.json | 8 +- bigquery/v2/bigquery-gen.go | 8 +- chat/v1/chat-api.json | 32 +++---- chat/v1/chat-gen.go | 95 +++++++++---------- cloudasset/v1/cloudasset-api.json | 4 +- cloudasset/v1/cloudasset-gen.go | 6 +- cloudsupport/v2beta/cloudsupport-api.json | 23 +---- cloudsupport/v2beta/cloudsupport-gen.go | 28 +----- container/v1beta1/container-api.json | 44 ++++++++- container/v1beta1/container-gen.go | 108 +++++++++++++++++++--- datacatalog/v1/datacatalog-api.json | 4 +- datacatalog/v1/datacatalog-gen.go | 4 +- dialogflow/v2/dialogflow-api.json | 4 +- dialogflow/v2/dialogflow-gen.go | 10 +- dialogflow/v2beta1/dialogflow-api.json | 4 +- dialogflow/v2beta1/dialogflow-gen.go | 10 +- retail/v2alpha/retail-api.json | 6 +- retail/v2alpha/retail-gen.go | 11 ++- retail/v2beta/retail-api.json | 6 +- retail/v2beta/retail-gen.go | 11 ++- searchconsole/v1/searchconsole-api.json | 4 +- searchconsole/v1/searchconsole-gen.go | 3 +- 24 files changed, 324 insertions(+), 216 deletions(-) diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index 8ccacd2e129..d2db32ce4f5 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -2899,7 +2899,7 @@ "endpointAttachments": { "methods": { "create": { - "description": "Creates an EndpointAttachment. **Note:** Not supported for Apigee hybrid.", + "description": "Creates an endpoint attachment. **Note:** Not supported for Apigee hybrid.", "flatPath": "v1/organizations/{organizationsId}/endpointAttachments", "httpMethod": "POST", "id": "apigee.organizations.endpointAttachments.create", @@ -2908,12 +2908,12 @@ ], "parameters": { "endpointAttachmentId": { - "description": "The ID to use for the endpoint attachment. ID must be a 1-20 characters string with lowercase letters and numbers and must start with a letter.", + "description": "ID to use for the endpoint attachment. The ID can contain lowercase letters and numbers, must start with a letter, and must be 1-20 characters in length.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The Organization this EndpointAttachment will be created in.", + "description": "Required. Organization the endpoint attachment will be created in.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2941,7 +2941,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`.", + "description": "Required. Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`", "location": "path", "pattern": "^organizations/[^/]+/endpointAttachments/[^/]+$", "required": true, @@ -2957,7 +2957,7 @@ ] }, "get": { - "description": "Gets the specified EndpointAttachment.", + "description": "Gets the endpoint attachment.", "flatPath": "v1/organizations/{organizationsId}/endpointAttachments/{endpointAttachmentsId}", "httpMethod": "GET", "id": "apigee.organizations.endpointAttachments.get", @@ -2966,7 +2966,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`.", + "description": "Required. Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`", "location": "path", "pattern": "^organizations/[^/]+/endpointAttachments/[^/]+$", "required": true, @@ -2982,7 +2982,7 @@ ] }, "list": { - "description": "Lists the EndpointAttachments in the specified Organization.", + "description": "Lists the endpoint attachments in an organization.", "flatPath": "v1/organizations/{organizationsId}/endpointAttachments", "httpMethod": "GET", "id": "apigee.organizations.endpointAttachments.list", @@ -2991,18 +2991,18 @@ ], "parameters": { "pageSize": { - "description": "Optional. Maximum number of Endpoint Attachments to return. If unspecified, at most 25 attachments will be returned.", + "description": "Optional. Maximum number of endpoint attachments to return. If unspecified, at most 25 attachments will be returned.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Optional. Page token, returned from a previous ListEndpointAttachments call, that you can use to retrieve the next page.", + "description": "Optional. Page token, returned from a previous `ListEndpointAttachments` call, that you can use to retrieve the next page.", "location": "query", "type": "string" }, "parent": { - "description": "Required. Name of the Organization for which to list Endpoint Attachments in the format: `organizations/{organization}`.", + "description": "Required. Name of the organization for which to list endpoint attachments. Use the following structure in your request: `organizations/{org}`", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -7563,7 +7563,7 @@ } } }, - "revision": "20220217", + "revision": "20220301", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -9625,11 +9625,11 @@ "type": "object" }, "GoogleCloudApigeeV1EndpointAttachment": { - "description": "Apigee Endpoint Attachment.", + "description": "Apigee endpoint attachment. For more information, see Southbound networking patterns.", "id": "GoogleCloudApigeeV1EndpointAttachment", "properties": { "host": { - "description": "Output only. Host that can be used in either HTTP Target Endpoint directly, or as the host in Target Server.", + "description": "Output only. Host that can be used in either the HTTP target endpoint directly or as the host in target server.", "readOnly": true, "type": "string" }, @@ -9638,7 +9638,7 @@ "type": "string" }, "name": { - "description": "Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`.", + "description": "Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`", "type": "string" }, "serviceAttachment": { @@ -10700,14 +10700,14 @@ "id": "GoogleCloudApigeeV1ListEndpointAttachmentsResponse", "properties": { "endpointAttachments": { - "description": "Endpoint Attachments in the specified organization.", + "description": "Endpoint attachments in the specified organization.", "items": { "$ref": "GoogleCloudApigeeV1EndpointAttachment" }, "type": "array" }, "nextPageToken": { - "description": "Page token that you can include in a ListEndpointAttachments request to retrieve the next page. If omitted, no subsequent pages exist.", + "description": "Page token that you can include in an `ListEndpointAttachments` request to retrieve the next page. If omitted, no subsequent pages exist.", "type": "string" } }, diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index f4fa5543f58..8436ef8369a 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -3985,18 +3985,19 @@ func (s *GoogleCloudApigeeV1DimensionMetric) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleCloudApigeeV1EndpointAttachment: Apigee Endpoint Attachment. +// GoogleCloudApigeeV1EndpointAttachment: Apigee endpoint attachment. +// For more information, see Southbound networking patterns. type GoogleCloudApigeeV1EndpointAttachment struct { - // Host: Output only. Host that can be used in either HTTP Target - // Endpoint directly, or as the host in Target Server. + // Host: Output only. Host that can be used in either the HTTP target + // endpoint directly or as the host in target server. Host string `json:"host,omitempty"` // Location: Required. Location of the endpoint attachment. Location string `json:"location,omitempty"` - // Name: Name of the Endpoint Attachment in the following format: - // `organizations/{organization}/endpointAttachments/{endpoint_attachment - // }`. + // Name: Name of the endpoint attachment. Use the following structure in + // your request: + // `organizations/{org}/endpointAttachments/{endpoint_attachment}` Name string `json:"name,omitempty"` // ServiceAttachment: Format: projects/*/regions/*/serviceAttachments/* @@ -5751,12 +5752,12 @@ func (s *GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse) MarshalJSON() ([ // GoogleCloudApigeeV1ListEndpointAttachmentsResponse: Response for // ListEndpointAttachments method. type GoogleCloudApigeeV1ListEndpointAttachmentsResponse struct { - // EndpointAttachments: Endpoint Attachments in the specified + // EndpointAttachments: Endpoint attachments in the specified // organization. EndpointAttachments []*GoogleCloudApigeeV1EndpointAttachment `json:"endpointAttachments,omitempty"` - // NextPageToken: Page token that you can include in a - // ListEndpointAttachments request to retrieve the next page. If + // NextPageToken: Page token that you can include in an + // `ListEndpointAttachments` request to retrieve the next page. If // omitted, no subsequent pages exist. NextPageToken string `json:"nextPageToken,omitempty"` @@ -24307,11 +24308,10 @@ type OrganizationsEndpointAttachmentsCreateCall struct { header_ http.Header } -// Create: Creates an EndpointAttachment. **Note:** Not supported for +// Create: Creates an endpoint attachment. **Note:** Not supported for // Apigee hybrid. // -// - parent: The Organization this EndpointAttachment will be created -// in. +// - parent: Organization the endpoint attachment will be created in. func (r *OrganizationsEndpointAttachmentsService) Create(parent string, googlecloudapigeev1endpointattachment *GoogleCloudApigeeV1EndpointAttachment) *OrganizationsEndpointAttachmentsCreateCall { c := &OrganizationsEndpointAttachmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -24320,9 +24320,9 @@ func (r *OrganizationsEndpointAttachmentsService) Create(parent string, googlecl } // EndpointAttachmentId sets the optional parameter -// "endpointAttachmentId": The ID to use for the endpoint attachment. ID -// must be a 1-20 characters string with lowercase letters and numbers -// and must start with a letter. +// "endpointAttachmentId": ID to use for the endpoint attachment. The ID +// can contain lowercase letters and numbers, must start with a letter, +// and must be 1-20 characters in length. func (c *OrganizationsEndpointAttachmentsCreateCall) EndpointAttachmentId(endpointAttachmentId string) *OrganizationsEndpointAttachmentsCreateCall { c.urlParams_.Set("endpointAttachmentId", endpointAttachmentId) return c @@ -24419,7 +24419,7 @@ func (c *OrganizationsEndpointAttachmentsCreateCall) Do(opts ...googleapi.CallOp } return ret, nil // { - // "description": "Creates an EndpointAttachment. **Note:** Not supported for Apigee hybrid.", + // "description": "Creates an endpoint attachment. **Note:** Not supported for Apigee hybrid.", // "flatPath": "v1/organizations/{organizationsId}/endpointAttachments", // "httpMethod": "POST", // "id": "apigee.organizations.endpointAttachments.create", @@ -24428,12 +24428,12 @@ func (c *OrganizationsEndpointAttachmentsCreateCall) Do(opts ...googleapi.CallOp // ], // "parameters": { // "endpointAttachmentId": { - // "description": "The ID to use for the endpoint attachment. ID must be a 1-20 characters string with lowercase letters and numbers and must start with a letter.", + // "description": "ID to use for the endpoint attachment. The ID can contain lowercase letters and numbers, must start with a letter, and must be 1-20 characters in length.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. The Organization this EndpointAttachment will be created in.", + // "description": "Required. Organization the endpoint attachment will be created in.", // "location": "path", // "pattern": "^organizations/[^/]+$", // "required": true, @@ -24466,9 +24466,9 @@ type OrganizationsEndpointAttachmentsDeleteCall struct { // Delete: Deletes an endpoint attachment. // -// - name: Name of the Endpoint Attachment in the following format: -// `organizations/{organization}/endpointAttachments/{endpoint_attachme -// nt}`. +// - name: Name of the endpoint attachment. Use the following structure +// in your request: +// `organizations/{org}/endpointAttachments/{endpoint_attachment}`. func (r *OrganizationsEndpointAttachmentsService) Delete(name string) *OrganizationsEndpointAttachmentsDeleteCall { c := &OrganizationsEndpointAttachmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -24570,7 +24570,7 @@ func (c *OrganizationsEndpointAttachmentsDeleteCall) Do(opts ...googleapi.CallOp // ], // "parameters": { // "name": { - // "description": "Required. Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`.", + // "description": "Required. Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`", // "location": "path", // "pattern": "^organizations/[^/]+/endpointAttachments/[^/]+$", // "required": true, @@ -24599,11 +24599,11 @@ type OrganizationsEndpointAttachmentsGetCall struct { header_ http.Header } -// Get: Gets the specified EndpointAttachment. +// Get: Gets the endpoint attachment. // -// - name: Name of the Endpoint Attachment in the following format: -// `organizations/{organization}/endpointAttachments/{endpoint_attachme -// nt}`. +// - name: Name of the endpoint attachment. Use the following structure +// in your request: +// `organizations/{org}/endpointAttachments/{endpoint_attachment}`. func (r *OrganizationsEndpointAttachmentsService) Get(name string) *OrganizationsEndpointAttachmentsGetCall { c := &OrganizationsEndpointAttachmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -24710,7 +24710,7 @@ func (c *OrganizationsEndpointAttachmentsGetCall) Do(opts ...googleapi.CallOptio } return ret, nil // { - // "description": "Gets the specified EndpointAttachment.", + // "description": "Gets the endpoint attachment.", // "flatPath": "v1/organizations/{organizationsId}/endpointAttachments/{endpointAttachmentsId}", // "httpMethod": "GET", // "id": "apigee.organizations.endpointAttachments.get", @@ -24719,7 +24719,7 @@ func (c *OrganizationsEndpointAttachmentsGetCall) Do(opts ...googleapi.CallOptio // ], // "parameters": { // "name": { - // "description": "Required. Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`.", + // "description": "Required. Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`", // "location": "path", // "pattern": "^organizations/[^/]+/endpointAttachments/[^/]+$", // "required": true, @@ -24748,10 +24748,11 @@ type OrganizationsEndpointAttachmentsListCall struct { header_ http.Header } -// List: Lists the EndpointAttachments in the specified Organization. +// List: Lists the endpoint attachments in an organization. // -// - parent: Name of the Organization for which to list Endpoint -// Attachments in the format: `organizations/{organization}`. +// - parent: Name of the organization for which to list endpoint +// attachments. Use the following structure in your request: +// `organizations/{org}`. func (r *OrganizationsEndpointAttachmentsService) List(parent string) *OrganizationsEndpointAttachmentsListCall { c := &OrganizationsEndpointAttachmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -24759,7 +24760,7 @@ func (r *OrganizationsEndpointAttachmentsService) List(parent string) *Organizat } // PageSize sets the optional parameter "pageSize": Maximum number of -// Endpoint Attachments to return. If unspecified, at most 25 +// endpoint attachments to return. If unspecified, at most 25 // attachments will be returned. func (c *OrganizationsEndpointAttachmentsListCall) PageSize(pageSize int64) *OrganizationsEndpointAttachmentsListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) @@ -24767,7 +24768,7 @@ func (c *OrganizationsEndpointAttachmentsListCall) PageSize(pageSize int64) *Org } // PageToken sets the optional parameter "pageToken": Page token, -// returned from a previous ListEndpointAttachments call, that you can +// returned from a previous `ListEndpointAttachments` call, that you can // use to retrieve the next page. func (c *OrganizationsEndpointAttachmentsListCall) PageToken(pageToken string) *OrganizationsEndpointAttachmentsListCall { c.urlParams_.Set("pageToken", pageToken) @@ -24875,7 +24876,7 @@ func (c *OrganizationsEndpointAttachmentsListCall) Do(opts ...googleapi.CallOpti } return ret, nil // { - // "description": "Lists the EndpointAttachments in the specified Organization.", + // "description": "Lists the endpoint attachments in an organization.", // "flatPath": "v1/organizations/{organizationsId}/endpointAttachments", // "httpMethod": "GET", // "id": "apigee.organizations.endpointAttachments.list", @@ -24884,18 +24885,18 @@ func (c *OrganizationsEndpointAttachmentsListCall) Do(opts ...googleapi.CallOpti // ], // "parameters": { // "pageSize": { - // "description": "Optional. Maximum number of Endpoint Attachments to return. If unspecified, at most 25 attachments will be returned.", + // "description": "Optional. Maximum number of endpoint attachments to return. If unspecified, at most 25 attachments will be returned.", // "format": "int32", // "location": "query", // "type": "integer" // }, // "pageToken": { - // "description": "Optional. Page token, returned from a previous ListEndpointAttachments call, that you can use to retrieve the next page.", + // "description": "Optional. Page token, returned from a previous `ListEndpointAttachments` call, that you can use to retrieve the next page.", // "location": "query", // "type": "string" // }, // "parent": { - // "description": "Required. Name of the Organization for which to list Endpoint Attachments in the format: `organizations/{organization}`.", + // "description": "Required. Name of the organization for which to list endpoint attachments. Use the following structure in your request: `organizations/{org}`", // "location": "path", // "pattern": "^organizations/[^/]+$", // "required": true, diff --git a/bigquery/v2/bigquery-api.json b/bigquery/v2/bigquery-api.json index 7fa3ed7365d..59d5d77596a 100644 --- a/bigquery/v2/bigquery-api.json +++ b/bigquery/v2/bigquery-api.json @@ -1693,7 +1693,7 @@ } } }, - "revision": "20220123", + "revision": "20220222", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -2827,7 +2827,7 @@ "$ref": "DatasetReference", "description": "[Required] The dataset this entry applies to." }, - "target_types": { + "targetTypes": { "items": { "enum": [ "TARGET_TYPE_UNSPECIFIED", @@ -3729,6 +3729,10 @@ "$ref": "ParquetOptions", "description": "[Optional] Options to configure parquet support." }, + "preserveAsciiControlCharacters": { + "description": "[Optional] Preserves the embedded ASCII control characters (the first 32 characters in the ASCII-table, from '\\x00' to '\\x1F') when loading from CSV. Only applicable to CSV, ignored for other formats.", + "type": "boolean" + }, "projectionFields": { "description": "If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.", "items": { diff --git a/bigquery/v2/bigquery-gen.go b/bigquery/v2/bigquery-gen.go index 611b1b8ffd1..30c3859e1b4 100644 --- a/bigquery/v2/bigquery-gen.go +++ b/bigquery/v2/bigquery-gen.go @@ -2250,7 +2250,7 @@ type DatasetAccessEntry struct { // "TARGET_TYPE_UNSPECIFIED" - Do not use. You must set a target type // explicitly. // "VIEWS" - This entry applies to views in the dataset. - TargetTypes []string `json:"target_types,omitempty"` + TargetTypes []string `json:"targetTypes,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to // unconditionally include in API requests. By default, fields with @@ -3750,6 +3750,12 @@ type JobConfigurationLoad struct { // ParquetOptions: [Optional] Options to configure parquet support. ParquetOptions *ParquetOptions `json:"parquetOptions,omitempty"` + // PreserveAsciiControlCharacters: [Optional] Preserves the embedded + // ASCII control characters (the first 32 characters in the ASCII-table, + // from '\x00' to '\x1F') when loading from CSV. Only applicable to CSV, + // ignored for other formats. + PreserveAsciiControlCharacters bool `json:"preserveAsciiControlCharacters,omitempty"` + // ProjectionFields: If sourceFormat is set to "DATASTORE_BACKUP", // indicates which entity properties to load into BigQuery from a Cloud // Datastore backup. Property names are case sensitive and must be diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index 1ef97faa7ea..dfe8f53bd53 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -115,7 +115,7 @@ "type": "string" }, "requestId": { - "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", "location": "query", "type": "string" }, @@ -150,7 +150,7 @@ "type": "string" }, "requestId": { - "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", "location": "query", "type": "string" }, @@ -189,7 +189,7 @@ "type": "string" }, "requestId": { - "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", "location": "query", "type": "string" }, @@ -257,7 +257,7 @@ "type": "string" }, "requestId": { - "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", "location": "query", "type": "string" }, @@ -292,7 +292,7 @@ "type": "string" }, "requestId": { - "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", "location": "query", "type": "string" }, @@ -331,7 +331,7 @@ "type": "string" }, "requestId": { - "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", "location": "query", "type": "string" }, @@ -418,7 +418,7 @@ "type": "string" }, "requestId": { - "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", "location": "query", "type": "string" }, @@ -516,7 +516,7 @@ "type": "string" }, "requestId": { - "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", "location": "query", "type": "string" }, @@ -642,7 +642,7 @@ } } }, - "revision": "20220216", + "revision": "20220302", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -1000,7 +1000,7 @@ "The add-on launches from Google Sheets.", "The add-on launches from Google Slides.", "The add-on launches from Google Drawings.", - "A Google Chat app. Not used for Google Workspace add-ons." + "A Google Chat app. Not used for Google Workspace Add-ons." ], "type": "string" }, @@ -1036,7 +1036,7 @@ "description": "The timezone ID and offset from Coordinated Universal Time (UTC)." }, "userLocale": { - "description": "The full locale.displayName in the format of [ISO 639 language code]-[ISO 3166 country/region code] such as \"en-US\". Not supported by Chat apps.", + "description": "The full `locale.displayName` in the format of [ISO 639 language code]-[ISO 3166 country/region code] such as \"en-US\". Not supported by Chat apps.", "type": "string" } }, @@ -1361,7 +1361,7 @@ "type": "object" }, "GoogleAppsCardV1Card": { - "description": "A card is a UI element that can contain UI widgets such as text and images. For more information, see Cards . For example, the following JSON creates a card that has a header with the name, position, icons, and link for a contact, followed by a section with contact information like email and phone number. ``` { \"header\": { \"title\": \"Heba Salam\", \"subtitle\": \"Software Engineer\", \"imageStyle\": \"ImageStyle.AVATAR\", \"imageUrl\": \"https://example.com/heba_salam.png\", \"imageAltText\": \"Avatar for Heba Salam\" }, \"sections\" : [ { \"header\": \"Contact Info\", \"widgets\": [ { \"decorated_text\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"content\": \"heba.salam@example.com\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PERSON\" }, \"content\": \"Online\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PHONE\" }, \"content\": \"+1 (555) 555-1234\" } }, { \"buttons\": [ { \"textButton\": { \"text\": \"Share\", }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\" } } }, { \"textButton\": { \"text\": \"Edit\", }, \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } } ] } ], \"collapsible\": true, \"uncollapsibleWidgetsCount\": 3 } ], \"cardActions\": [ { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ], \"name\": \"contact-card-K3wB6arF2H9L\" } ```", + "description": "A card is a UI element that can contain UI widgets such as text and images. For more information, see Cards . For example, the following JSON creates a card that has a header with the name, position, icons, and link for a contact, followed by a section with contact information like email and phone number. ``` { \"header\": { \"title\": \"Sasha\", \"subtitle\": \"Software Engineer\", \"imageStyle\": \"ImageStyle.AVATAR\", \"imageUrl\": \"https://example.com/sasha.png\", \"imageAltText\": \"Avatar for Sasha\" }, \"sections\" : [ { \"header\": \"Contact Info\", \"widgets\": [ { \"decorated_text\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"content\": \"sasha@example.com\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PERSON\" }, \"content\": \"Online\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PHONE\" }, \"content\": \"+1 (555) 555-1234\" } }, { \"buttons\": [ { \"textButton\": { \"text\": \"Share\", }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\" } } }, { \"textButton\": { \"text\": \"Edit\", }, \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } } ] } ], \"collapsible\": true, \"uncollapsibleWidgetsCount\": 3 } ], \"cardActions\": [ { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ], \"name\": \"contact-card-K3wB6arF2H9L\" } ```", "id": "GoogleAppsCardV1Card", "properties": { "cardActions": { @@ -2038,7 +2038,7 @@ }, "decoratedText": { "$ref": "GoogleAppsCardV1DecoratedText", - "description": "Displays a decorated text item in this widget. For example, the following JSON creates a decorated text widget showing email address: ``` \"decoratedText\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"topLabel\": \"Email Address\", \"content\": \"heba.salam@example.com\", \"bottomLabel\": \"This is a new Email address!\", \"switchWidget\": { \"name\": \"has_send_welcome_email_to_heba_salam\", \"selected\": false, \"controlType\": \"ControlType.CHECKBOX\" } } ```" + "description": "Displays a decorated text item in this widget. For example, the following JSON creates a decorated text widget showing email address: ``` \"decoratedText\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"topLabel\": \"Email Address\", \"content\": \"sasha@example.com\", \"bottomLabel\": \"This is a new Email address!\", \"switchWidget\": { \"name\": \"has_send_welcome_email_to_sasha\", \"selected\": false, \"controlType\": \"ControlType.CHECKBOX\" } } ```" }, "divider": { "$ref": "GoogleAppsCardV1Divider", @@ -2066,7 +2066,7 @@ }, "image": { "$ref": "GoogleAppsCardV1Image", - "description": "Displays an image in this widget. For example, the following JSON creates an image with alternative text: ``` \"image\": { \"imageUrl\": \"https://example.com/heba_salam.png\" \"altText\": \"Avatar for Heba Salam\" } ```" + "description": "Displays an image in this widget. For example, the following JSON creates an image with alternative text: ``` \"image\": { \"imageUrl\": \"https://example.com/sasha.png\" \"altText\": \"Avatar for Sasha\" } ```" }, "selectionInput": { "$ref": "GoogleAppsCardV1SelectionInput", @@ -2388,7 +2388,7 @@ }, "member": { "$ref": "User", - "description": "A user in Google Chat. Represents a [person](https://developers.google.com/people/api/rest/v1/people) in the People API. Format: `users/{person}`" + "description": "A user in Google Chat. Represents a [person](https://developers.google.com/people/api/rest/v1/people) in the People API or a [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) in the Admin SDK Directory API. Format: `users/{user}`" }, "name": { "type": "string" @@ -2757,7 +2757,7 @@ "type": "boolean" }, "name": { - "description": "Resource name for a Google Chat user. Formatted as `users/{user}`. Represents a [person](https://developers.google.com/people/api/rest/v1/people#Person) in the People API.", + "description": "Resource name for a Google Chat user. Represents a [person](https://developers.google.com/people/api/rest/v1/people#Person) in the People API or a [user](https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) in the Admin SDK Directory API. Formatted as: `users/{user}`", "type": "string" }, "type": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index c589dedaadb..4c166f04b76 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -886,7 +886,7 @@ type CommonEventObject struct { // "SHEETS" - The add-on launches from Google Sheets. // "SLIDES" - The add-on launches from Google Slides. // "DRAWINGS" - The add-on launches from Google Drawings. - // "CHAT" - A Google Chat app. Not used for Google Workspace add-ons. + // "CHAT" - A Google Chat app. Not used for Google Workspace Add-ons. HostApp string `json:"hostApp,omitempty"` // InvokedFunction: Name of the invoked function associated with the @@ -913,7 +913,7 @@ type CommonEventObject struct { // (UTC). TimeZone *TimeZone `json:"timeZone,omitempty"` - // UserLocale: The full locale.displayName in the format of [ISO 639 + // UserLocale: The full `locale.displayName` in the format of [ISO 639 // language code]-[ISO 3166 country/region code] such as "en-US". Not // supported by Chat apps. UserLocale string `json:"userLocale,omitempty"` @@ -1497,15 +1497,15 @@ func (s *GoogleAppsCardV1ButtonList) MarshalJSON() ([]byte, error) { // For example, the following JSON creates a card that has a header with // the name, position, icons, and link for a contact, followed by a // section with contact information like email and phone number. ``` { -// "header": { "title": "Heba Salam", "subtitle": "Software Engineer", +// "header": { "title": "Sasha", "subtitle": "Software Engineer", // "imageStyle": "ImageStyle.AVATAR", "imageUrl": -// "https://example.com/heba_salam.png", "imageAltText": "Avatar for -// Heba Salam" }, "sections" : [ { "header": "Contact Info", "widgets": -// [ { "decorated_text": { "icon": { "knownIcon": "EMAIL" }, "content": -// "heba.salam@example.com" } }, { "decoratedText": { "icon": { -// "knownIcon": "PERSON" }, "content": "Online" } }, { "decoratedText": -// { "icon": { "knownIcon": "PHONE" }, "content": "+1 (555) 555-1234" } -// }, { "buttons": [ { "textButton": { "text": "Share", }, "onClick": { +// "https://example.com/sasha.png", "imageAltText": "Avatar for Sasha" +// }, "sections" : [ { "header": "Contact Info", "widgets": [ { +// "decorated_text": { "icon": { "knownIcon": "EMAIL" }, "content": +// "sasha@example.com" } }, { "decoratedText": { "icon": { "knownIcon": +// "PERSON" }, "content": "Online" } }, { "decoratedText": { "icon": { +// "knownIcon": "PHONE" }, "content": "+1 (555) 555-1234" } }, { +// "buttons": [ { "textButton": { "text": "Share", }, "onClick": { // "openLink": { "url": "https://example.com/share" } } }, { // "textButton": { "text": "Edit", }, "onClick": { "action": { // "function": "goToView", "parameters": [ { "key": "viewType", "value": @@ -2538,9 +2538,9 @@ type GoogleAppsCardV1Widget struct { // DecoratedText: Displays a decorated text item in this widget. For // example, the following JSON creates a decorated text widget showing // email address: ``` "decoratedText": { "icon": { "knownIcon": "EMAIL" - // }, "topLabel": "Email Address", "content": "heba.salam@example.com", + // }, "topLabel": "Email Address", "content": "sasha@example.com", // "bottomLabel": "This is a new Email address!", "switchWidget": { - // "name": "has_send_welcome_email_to_heba_salam", "selected": false, + // "name": "has_send_welcome_email_to_sasha", "selected": false, // "controlType": "ControlType.CHECKBOX" } } ``` DecoratedText *GoogleAppsCardV1DecoratedText `json:"decoratedText,omitempty"` @@ -2569,8 +2569,8 @@ type GoogleAppsCardV1Widget struct { // Image: Displays an image in this widget. For example, the following // JSON creates an image with alternative text: ``` "image": { - // "imageUrl": "https://example.com/heba_salam.png" "altText": "Avatar - // for Heba Salam" } ``` + // "imageUrl": "https://example.com/sasha.png" "altText": "Avatar for + // Sasha" } ``` Image *GoogleAppsCardV1Image `json:"image,omitempty"` // SelectionInput: Displays a switch control in this widget. For @@ -3016,7 +3016,9 @@ type Membership struct { // Member: A user in Google Chat. Represents a person // (https://developers.google.com/people/api/rest/v1/people) in the - // People API. Format: `users/{person}` + // People API or a user + // (https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) + // in the Admin SDK Directory API. Format: `users/{user}` Member *User `json:"member,omitempty"` Name string `json:"name,omitempty"` @@ -3617,10 +3619,11 @@ type User struct { // not visible. IsAnonymous bool `json:"isAnonymous,omitempty"` - // Name: Resource name for a Google Chat user. Formatted as - // `users/{user}`. Represents a person + // Name: Resource name for a Google Chat user. Represents a person // (https://developers.google.com/people/api/rest/v1/people#Person) in - // the People API. + // the People API or a user + // (https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) + // in the Admin SDK Directory API. Formatted as: `users/{user}` Name string `json:"name,omitempty"` // Type: User type. @@ -3753,9 +3756,8 @@ func (r *DmsService) Messages(parent string, message *Message) *DmsMessagesCall } // RequestId sets the optional parameter "requestId": A unique request -// ID for this message. If a message has already been created in the -// space with this request ID, the subsequent request will return the -// existing message and no new message will be created. +// ID for this message. Specifying an existing request ID returns the +// message created with that ID instead of creating a new message. func (c *DmsMessagesCall) RequestId(requestId string) *DmsMessagesCall { c.urlParams_.Set("requestId", requestId) return c @@ -3882,7 +3884,7 @@ func (c *DmsMessagesCall) Do(opts ...googleapi.CallOption) (*Message, error) { // "type": "string" // }, // "requestId": { - // "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + // "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", // "location": "query", // "type": "string" // }, @@ -3927,9 +3929,8 @@ func (r *DmsService) Webhooks(parent string, message *Message) *DmsWebhooksCall } // RequestId sets the optional parameter "requestId": A unique request -// ID for this message. If a message has already been created in the -// space with this request ID, the subsequent request will return the -// existing message and no new message will be created. +// ID for this message. Specifying an existing request ID returns the +// message created with that ID instead of creating a new message. func (c *DmsWebhooksCall) RequestId(requestId string) *DmsWebhooksCall { c.urlParams_.Set("requestId", requestId) return c @@ -4056,7 +4057,7 @@ func (c *DmsWebhooksCall) Do(opts ...googleapi.CallOption) (*Message, error) { // "type": "string" // }, // "requestId": { - // "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + // "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", // "location": "query", // "type": "string" // }, @@ -4101,9 +4102,8 @@ func (r *DmsConversationsService) Messages(parent string, message *Message) *Dms } // RequestId sets the optional parameter "requestId": A unique request -// ID for this message. If a message has already been created in the -// space with this request ID, the subsequent request will return the -// existing message and no new message will be created. +// ID for this message. Specifying an existing request ID returns the +// message created with that ID instead of creating a new message. func (c *DmsConversationsMessagesCall) RequestId(requestId string) *DmsConversationsMessagesCall { c.urlParams_.Set("requestId", requestId) return c @@ -4230,7 +4230,7 @@ func (c *DmsConversationsMessagesCall) Do(opts ...googleapi.CallOption) (*Messag // "type": "string" // }, // "requestId": { - // "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + // "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", // "location": "query", // "type": "string" // }, @@ -4437,9 +4437,8 @@ func (r *RoomsService) Messages(parent string, message *Message) *RoomsMessagesC } // RequestId sets the optional parameter "requestId": A unique request -// ID for this message. If a message has already been created in the -// space with this request ID, the subsequent request will return the -// existing message and no new message will be created. +// ID for this message. Specifying an existing request ID returns the +// message created with that ID instead of creating a new message. func (c *RoomsMessagesCall) RequestId(requestId string) *RoomsMessagesCall { c.urlParams_.Set("requestId", requestId) return c @@ -4566,7 +4565,7 @@ func (c *RoomsMessagesCall) Do(opts ...googleapi.CallOption) (*Message, error) { // "type": "string" // }, // "requestId": { - // "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + // "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", // "location": "query", // "type": "string" // }, @@ -4611,9 +4610,8 @@ func (r *RoomsService) Webhooks(parent string, message *Message) *RoomsWebhooksC } // RequestId sets the optional parameter "requestId": A unique request -// ID for this message. If a message has already been created in the -// space with this request ID, the subsequent request will return the -// existing message and no new message will be created. +// ID for this message. Specifying an existing request ID returns the +// message created with that ID instead of creating a new message. func (c *RoomsWebhooksCall) RequestId(requestId string) *RoomsWebhooksCall { c.urlParams_.Set("requestId", requestId) return c @@ -4740,7 +4738,7 @@ func (c *RoomsWebhooksCall) Do(opts ...googleapi.CallOption) (*Message, error) { // "type": "string" // }, // "requestId": { - // "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + // "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", // "location": "query", // "type": "string" // }, @@ -4785,9 +4783,8 @@ func (r *RoomsConversationsService) Messages(parent string, message *Message) *R } // RequestId sets the optional parameter "requestId": A unique request -// ID for this message. If a message has already been created in the -// space with this request ID, the subsequent request will return the -// existing message and no new message will be created. +// ID for this message. Specifying an existing request ID returns the +// message created with that ID instead of creating a new message. func (c *RoomsConversationsMessagesCall) RequestId(requestId string) *RoomsConversationsMessagesCall { c.urlParams_.Set("requestId", requestId) return c @@ -4914,7 +4911,7 @@ func (c *RoomsConversationsMessagesCall) Do(opts ...googleapi.CallOption) (*Mess // "type": "string" // }, // "requestId": { - // "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + // "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", // "location": "query", // "type": "string" // }, @@ -5277,9 +5274,8 @@ func (r *SpacesService) Webhooks(parent string, message *Message) *SpacesWebhook } // RequestId sets the optional parameter "requestId": A unique request -// ID for this message. If a message has already been created in the -// space with this request ID, the subsequent request will return the -// existing message and no new message will be created. +// ID for this message. Specifying an existing request ID returns the +// message created with that ID instead of creating a new message. func (c *SpacesWebhooksCall) RequestId(requestId string) *SpacesWebhooksCall { c.urlParams_.Set("requestId", requestId) return c @@ -5406,7 +5402,7 @@ func (c *SpacesWebhooksCall) Do(opts ...googleapi.CallOption) (*Message, error) // "type": "string" // }, // "requestId": { - // "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + // "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", // "location": "query", // "type": "string" // }, @@ -5786,9 +5782,8 @@ func (r *SpacesMessagesService) Create(parent string, message *Message) *SpacesM } // RequestId sets the optional parameter "requestId": A unique request -// ID for this message. If a message has already been created in the -// space with this request ID, the subsequent request will return the -// existing message and no new message will be created. +// ID for this message. Specifying an existing request ID returns the +// message created with that ID instead of creating a new message. func (c *SpacesMessagesCreateCall) RequestId(requestId string) *SpacesMessagesCreateCall { c.urlParams_.Set("requestId", requestId) return c @@ -5915,7 +5910,7 @@ func (c *SpacesMessagesCreateCall) Do(opts ...googleapi.CallOption) (*Message, e // "type": "string" // }, // "requestId": { - // "description": "Optional. A unique request ID for this message. If a message has already been created in the space with this request ID, the subsequent request will return the existing message and no new message will be created.", + // "description": "Optional. A unique request ID for this message. Specifying an existing request ID returns the message created with that ID instead of creating a new message.", // "location": "query", // "type": "string" // }, diff --git a/cloudasset/v1/cloudasset-api.json b/cloudasset/v1/cloudasset-api.json index 07a60771acd..319da9b8581 100644 --- a/cloudasset/v1/cloudasset-api.json +++ b/cloudasset/v1/cloudasset-api.json @@ -929,7 +929,7 @@ } } }, - "revision": "20220211", + "revision": "20220225", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -1188,7 +1188,7 @@ "id": "BigQueryDestination", "properties": { "dataset": { - "description": "Required. The BigQuery dataset in format \"projects/projectId/datasets/datasetId\", to which the snapshot result should be exported. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.", + "description": "Required. The BigQuery dataset in format \"projects/projectId/datasets/datasetId\", to which the snapshot result should be exported. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error. Setting the `contentType` for `exportAssets` determines the [schema](/asset-inventory/docs/exporting-to-bigquery#bigquery-schema) of the BigQuery table. Setting `separateTablesPerAssetType` to `TRUE` also influences the schema.", "type": "string" }, "force": { diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index 40b279039ff..42a5dcad854 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -714,7 +714,11 @@ type BigQueryDestination struct { // Dataset: Required. The BigQuery dataset in format // "projects/projectId/datasets/datasetId", to which the snapshot result // should be exported. If this dataset does not exist, the export call - // returns an INVALID_ARGUMENT error. + // returns an INVALID_ARGUMENT error. Setting the `contentType` for + // `exportAssets` determines the schema + // (/asset-inventory/docs/exporting-to-bigquery#bigquery-schema) of the + // BigQuery table. Setting `separateTablesPerAssetType` to `TRUE` also + // influences the schema. Dataset string `json:"dataset,omitempty"` // Force: If the destination table already exists and this flag is diff --git a/cloudsupport/v2beta/cloudsupport-api.json b/cloudsupport/v2beta/cloudsupport-api.json index 0f280eee6f8..06846928d08 100644 --- a/cloudsupport/v2beta/cloudsupport-api.json +++ b/cloudsupport/v2beta/cloudsupport-api.json @@ -575,7 +575,7 @@ } } }, - "revision": "20220221", + "revision": "20220302", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { @@ -594,11 +594,6 @@ "description": "Output only. Whether the actor is a Google support actor.", "readOnly": true, "type": "boolean" - }, - "principalId": { - "description": "Output only. An ID representing the user that was authenticated when the corresponding action was taken. This will be an email address, if one is available, or some other unique ID. See https://cloud.google.com/docs/authentication for more information on types of authentication.", - "readOnly": true, - "type": "string" } }, "type": "object" @@ -1073,26 +1068,10 @@ "description": "An escalation of a support case.", "id": "Escalation", "properties": { - "actor": { - "$ref": "Actor", - "description": "Output only. The user or Google Support agent initiated this escalation.", - "readOnly": true - }, - "createTime": { - "description": "Output only. The time when this escalation event was created.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, "justification": { "description": "Required. A free text description to accompany the `reason` field above. Provides additional context on why the case is being escalated.", "type": "string" }, - "name": { - "description": "Output only. The resource name for the escalation event.", - "readOnly": true, - "type": "string" - }, "reason": { "description": "Required. The reason why the Case is being escalated.", "enum": [ diff --git a/cloudsupport/v2beta/cloudsupport-gen.go b/cloudsupport/v2beta/cloudsupport-gen.go index e058b96e648..a2df8b9f345 100644 --- a/cloudsupport/v2beta/cloudsupport-gen.go +++ b/cloudsupport/v2beta/cloudsupport-gen.go @@ -226,13 +226,6 @@ type Actor struct { // actor. GoogleSupport bool `json:"googleSupport,omitempty"` - // PrincipalId: Output only. An ID representing the user that was - // authenticated when the corresponding action was taken. This will be - // an email address, if one is available, or some other unique ID. See - // https://cloud.google.com/docs/authentication for more information on - // types of authentication. - PrincipalId string `json:"principalId,omitempty"` - // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -941,22 +934,11 @@ func (s *EscalateCaseRequest) MarshalJSON() ([]byte, error) { // Escalation: An escalation of a support case. type Escalation struct { - // Actor: Output only. The user or Google Support agent initiated this - // escalation. - Actor *Actor `json:"actor,omitempty"` - - // CreateTime: Output only. The time when this escalation event was - // created. - CreateTime string `json:"createTime,omitempty"` - // Justification: Required. A free text description to accompany the // `reason` field above. Provides additional context on why the case is // being escalated. Justification string `json:"justification,omitempty"` - // Name: Output only. The resource name for the escalation event. - Name string `json:"name,omitempty"` - // Reason: Required. The reason why the Case is being escalated. // // Possible values: @@ -969,7 +951,7 @@ type Escalation struct { // impact. Reason string `json:"reason,omitempty"` - // ForceSendFields is a list of field names (e.g. "Actor") to + // ForceSendFields is a list of field names (e.g. "Justification") 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 @@ -977,10 +959,10 @@ type Escalation struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Actor") 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 + // NullFields is a list of field names (e.g. "Justification") 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/container/v1beta1/container-api.json b/container/v1beta1/container-api.json index 9d1dd4005b3..8bdd1849f58 100644 --- a/container/v1beta1/container-api.json +++ b/container/v1beta1/container-api.json @@ -2484,7 +2484,7 @@ } } }, - "revision": "20220114", + "revision": "20220215", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2641,7 +2641,7 @@ "description": "NodeManagement configuration for this NodePool." }, "minCpuPlatform": { - "description": "Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: \"Intel Haswell\"` or `minCpuPlatform: \"Intel Sandy Bridge\"`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) To unset the min cpu platform field pass \"automatic\" as field value.", + "description": "Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) This field is deprecated, min_cpu_platform should be specified using cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.", "type": "string" }, "oauthScopes": { @@ -2978,6 +2978,10 @@ "format": "int32", "type": "integer" }, + "nodePoolAutoConfig": { + "$ref": "NodePoolAutoConfig", + "description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." + }, "nodePoolDefaults": { "$ref": "NodePoolDefaults", "description": "Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object." @@ -3074,6 +3078,10 @@ "$ref": "VerticalPodAutoscaling", "description": "Cluster-level Vertical Pod Autoscaling configuration." }, + "workloadAltsConfig": { + "$ref": "WorkloadALTSConfig", + "description": "Configuration for direct-path (via ALTS) with workload identity." + }, "workloadCertificates": { "$ref": "WorkloadCertificates", "description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods." @@ -3264,6 +3272,10 @@ "description": "The monitoring service the cluster should use to write metrics. Currently available options: * \"monitoring.googleapis.com/kubernetes\" - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.", "type": "string" }, + "desiredNodePoolAutoConfigNetworkTags": { + "$ref": "NetworkTags", + "description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." + }, "desiredNodePoolAutoscaling": { "$ref": "NodePoolAutoscaling", "description": "Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool." @@ -3328,6 +3340,10 @@ "$ref": "VerticalPodAutoscaling", "description": "Cluster-level Vertical Pod Autoscaling configuration." }, + "desiredWorkloadAltsConfig": { + "$ref": "WorkloadALTSConfig", + "description": "Configuration for direct-path (via ALTS) with workload identity." + }, "desiredWorkloadCertificates": { "$ref": "WorkloadCertificates", "description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods." @@ -3525,7 +3541,7 @@ "type": "object" }, "Date": { - "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.", + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day, with a zero year (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", "id": "Date", "properties": { "day": { @@ -4779,6 +4795,17 @@ }, "type": "object" }, + "NodePoolAutoConfig": { + "description": "node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters", + "id": "NodePoolAutoConfig", + "properties": { + "networkTags": { + "$ref": "NetworkTags", + "description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035." + } + }, + "type": "object" + }, "NodePoolAutoscaling": { "description": "NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.", "id": "NodePoolAutoscaling", @@ -6359,6 +6386,17 @@ }, "type": "object" }, + "WorkloadALTSConfig": { + "description": "Configuration for direct-path (via ALTS) with workload identity.", + "id": "WorkloadALTSConfig", + "properties": { + "enableAlts": { + "description": "enable_alts controls whether the alts handshaker should be enabled or not for direct-path. Requires Workload Identity (workload_pool must be non-empty).", + "type": "boolean" + } + }, + "type": "object" + }, "WorkloadCertificates": { "description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.", "id": "WorkloadCertificates", diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index 0d522a42f98..9002173668f 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -565,13 +565,17 @@ type AutoprovisioningNodePoolDefaults struct { // Management: NodeManagement configuration for this NodePool. Management *NodeManagement `json:"management,omitempty"` - // MinCpuPlatform: Minimum CPU platform to be used by this instance. The - // instance may be scheduled on the specified or newer CPU platform. - // Applicable values are the friendly names of CPU platforms, such as - // `minCpuPlatform: "Intel Haswell" or `minCpuPlatform: "Intel Sandy - // Bridge". For more information, read how to specify min CPU platform + // MinCpuPlatform: Deprecated. Minimum CPU platform to be used for NAP + // created node pools. The instance may be scheduled on the specified or + // newer CPU platform. Applicable values are the friendly names of CPU + // platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: + // Intel Sandy Bridge. For more information, read how to specify min CPU + // platform // (https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) - // To unset the min cpu platform field pass "automatic" as field value. + // This field is deprecated, min_cpu_platform should be specified using + // cloud.google.com/requested-min-cpu-platform label selector on the + // pod. To unset the min cpu platform field pass "automatic" as field + // value. MinCpuPlatform string `json:"minCpuPlatform,omitempty"` // OauthScopes: The set of Google API scopes to be made available on all @@ -1109,6 +1113,11 @@ type Cluster struct { // is in route-based network mode. NodeIpv4CidrSize int64 `json:"nodeIpv4CidrSize,omitempty"` + // NodePoolAutoConfig: Node pool configs that apply to all + // auto-provisioned node pools in autopilot clusters and node + // auto-provisioning enabled clusters. + NodePoolAutoConfig *NodePoolAutoConfig `json:"nodePoolAutoConfig,omitempty"` + // NodePoolDefaults: Default NodePool settings for the entire cluster. // These settings are overridden if specified on the specific NodePool // object. @@ -1205,6 +1214,10 @@ type Cluster struct { // configuration. VerticalPodAutoscaling *VerticalPodAutoscaling `json:"verticalPodAutoscaling,omitempty"` + // WorkloadAltsConfig: Configuration for direct-path (via ALTS) with + // workload identity. + WorkloadAltsConfig *WorkloadALTSConfig `json:"workloadAltsConfig,omitempty"` + // WorkloadCertificates: Configuration for issuance of mTLS keys and // certificates to Kubernetes pods. WorkloadCertificates *WorkloadCertificates `json:"workloadCertificates,omitempty"` @@ -1458,6 +1471,11 @@ type ClusterUpdate struct { // versions. DesiredMonitoringService string `json:"desiredMonitoringService,omitempty"` + // DesiredNodePoolAutoConfigNetworkTags: The desired network tags that + // apply to all auto-provisioned node pools in autopilot clusters and + // node auto-provisioning enabled clusters. + DesiredNodePoolAutoConfigNetworkTags *NetworkTags `json:"desiredNodePoolAutoConfigNetworkTags,omitempty"` + // DesiredNodePoolAutoscaling: Autoscaler configuration for the node // pool specified in desired_node_pool_id. If there is only one pool in // the cluster and desired_node_pool_id is not provided then the change @@ -1527,6 +1545,10 @@ type ClusterUpdate struct { // configuration. DesiredVerticalPodAutoscaling *VerticalPodAutoscaling `json:"desiredVerticalPodAutoscaling,omitempty"` + // DesiredWorkloadAltsConfig: Configuration for direct-path (via ALTS) + // with workload identity. + DesiredWorkloadAltsConfig *WorkloadALTSConfig `json:"desiredWorkloadAltsConfig,omitempty"` + // DesiredWorkloadCertificates: Configuration for issuance of mTLS keys // and certificates to Kubernetes pods. DesiredWorkloadCertificates *WorkloadCertificates `json:"desiredWorkloadCertificates,omitempty"` @@ -1921,11 +1943,11 @@ func (s *DatabaseEncryption) MarshalJSON() ([]byte, error) { // birthday. The time of day and time zone are either specified // elsewhere or are insignificant. The date is relative to the Gregorian // Calendar. This can represent one of the following: * A full date, -// with non-zero year, month, and day values * A month and day value, -// with a zero year, such as an anniversary * A year on its own, with -// zero month and day values * A year and month value, with a zero day, -// such as a credit card expiration date Related types are -// google.type.TimeOfDay and `google.protobuf.Timestamp`. +// with non-zero year, month, and day values * A month and day, with a +// zero year (e.g., an anniversary) * A year on its own, with a zero +// month and a zero day * A year and month, with a zero day (e.g., a +// credit card expiration date) Related types: * google.type.TimeOfDay * +// google.type.DateTime * google.protobuf.Timestamp type Date struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and // month, or 0 to specify a year by itself or a year and month where the @@ -4288,6 +4310,39 @@ func (s *NodePool) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// NodePoolAutoConfig: node pool configs that apply to all +// auto-provisioned node pools in autopilot clusters and node +// auto-provisioning enabled clusters +type NodePoolAutoConfig struct { + // NetworkTags: The list of instance tags applied to all nodes. Tags are + // used to identify valid sources or targets for network firewalls and + // are specified by the client during cluster creation. Each tag within + // the list must comply with RFC1035. + NetworkTags *NetworkTags `json:"networkTags,omitempty"` + + // ForceSendFields is a list of field names (e.g. "NetworkTags") 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. "NetworkTags") 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 *NodePoolAutoConfig) MarshalJSON() ([]byte, error) { + type NoMethod NodePoolAutoConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // NodePoolAutoscaling: NodePoolAutoscaling contains information // required by cluster autoscaler to adjust the size of the node pool to // the current cluster usage. @@ -6937,6 +6992,37 @@ func (s *WindowsVersions) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// WorkloadALTSConfig: Configuration for direct-path (via ALTS) with +// workload identity. +type WorkloadALTSConfig struct { + // EnableAlts: enable_alts controls whether the alts handshaker should + // be enabled or not for direct-path. Requires Workload Identity + // (workload_pool must be non-empty). + EnableAlts bool `json:"enableAlts,omitempty"` + + // ForceSendFields is a list of field names (e.g. "EnableAlts") 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. "EnableAlts") 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 *WorkloadALTSConfig) MarshalJSON() ([]byte, error) { + type NoMethod WorkloadALTSConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // WorkloadCertificates: Configuration for issuance of mTLS keys and // certificates to Kubernetes pods. type WorkloadCertificates struct { diff --git a/datacatalog/v1/datacatalog-api.json b/datacatalog/v1/datacatalog-api.json index a23d75f45c2..54d63814dd0 100644 --- a/datacatalog/v1/datacatalog-api.json +++ b/datacatalog/v1/datacatalog-api.json @@ -1953,7 +1953,7 @@ } } }, - "revision": "20220215", + "revision": "20220224", "rootUrl": "https://datacatalog.googleapis.com/", "schemas": { "Binding": { @@ -3519,7 +3519,7 @@ "type": "object" }, "isPubliclyReadable": { - "description": "Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query instead of using a ``tag:`` predicate.", + "description": "Indicates whether tags created with this template are public. Public tags do not require tag template access to appear in ListTags API response. Additionally, you can search for a public tag by value with a simple search query in addition to using a ``tag:`` predicate.", "type": "boolean" }, "name": { diff --git a/datacatalog/v1/datacatalog-gen.go b/datacatalog/v1/datacatalog-gen.go index 7ab580302b6..b73e8ad0146 100644 --- a/datacatalog/v1/datacatalog-gen.go +++ b/datacatalog/v1/datacatalog-gen.go @@ -3182,8 +3182,8 @@ type GoogleCloudDatacatalogV1TagTemplate struct { // IsPubliclyReadable: Indicates whether tags created with this template // are public. Public tags do not require tag template access to appear // in ListTags API response. Additionally, you can search for a public - // tag by value with a simple search query instead of using a ``tag:`` - // predicate. + // tag by value with a simple search query in addition to using a + // ``tag:`` predicate. IsPubliclyReadable bool `json:"isPubliclyReadable,omitempty"` // Name: The resource name of the tag template in URL format. Note: The diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index f55987a3d46..1fa1d4b547c 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -8077,7 +8077,7 @@ } } }, - "revision": "20220222", + "revision": "20220228", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -15175,7 +15175,7 @@ "type": "string" }, "topic": { - "description": "Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. Notification works for phone calls, if this topic either is in the same project as the conversation or you grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project. Format: `projects//locations//topics/`.", + "description": "Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project. For chat integration to receive notification, make sure API caller has been granted the `Dialogflow Service Agent` role for the topic. Format: `projects//locations//topics/`.", "type": "string" } }, diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index 48394c98621..e530d406220 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -13793,11 +13793,13 @@ type GoogleCloudDialogflowV2NotificationConfig struct { MessageFormat string `json:"messageFormat,omitempty"` // Topic: Name of the Pub/Sub topic to publish conversation events like - // CONVERSATION_STARTED as serialized ConversationEvent protos. - // Notification works for phone calls, if this topic either is in the - // same project as the conversation or you grant + // CONVERSATION_STARTED as serialized ConversationEvent protos. For + // telephony integration to receive notification, make sure either this + // topic is in the same project as the conversation or you grant // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow - // Service Agent` role in the topic project. Format: + // Service Agent` role in the topic project. For chat integration to + // receive notification, make sure API caller has been granted the + // `Dialogflow Service Agent` role for the topic. Format: // `projects//locations//topics/`. Topic string `json:"topic,omitempty"` diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index 9d0a5c08319..eddbfec7636 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -7431,7 +7431,7 @@ } } }, - "revision": "20220222", + "revision": "20220228", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AudioInput": { @@ -16677,7 +16677,7 @@ "type": "string" }, "topic": { - "description": "Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. Notification works for phone calls, if this topic either is in the same project as the conversation or you grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project. Format: `projects//locations//topics/`.", + "description": "Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. For telephony integration to receive notification, make sure either this topic is in the same project as the conversation or you grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service Agent` role in the topic project. For chat integration to receive notification, make sure API caller has been granted the `Dialogflow Service Agent` role for the topic. Format: `projects//locations//topics/`.", "type": "string" } }, diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index 5a4dfa37054..cb29e004a78 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -17366,11 +17366,13 @@ type GoogleCloudDialogflowV2beta1NotificationConfig struct { MessageFormat string `json:"messageFormat,omitempty"` // Topic: Name of the Pub/Sub topic to publish conversation events like - // CONVERSATION_STARTED as serialized ConversationEvent protos. - // Notification works for phone calls, if this topic either is in the - // same project as the conversation or you grant + // CONVERSATION_STARTED as serialized ConversationEvent protos. For + // telephony integration to receive notification, make sure either this + // topic is in the same project as the conversation or you grant // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow - // Service Agent` role in the topic project. Format: + // Service Agent` role in the topic project. For chat integration to + // receive notification, make sure API caller has been granted the + // `Dialogflow Service Agent` role for the topic. Format: // `projects//locations//topics/`. Topic string `json:"topic,omitempty"` diff --git a/retail/v2alpha/retail-api.json b/retail/v2alpha/retail-api.json index c83e2e4e2d8..2c17e58a46c 100644 --- a/retail/v2alpha/retail-api.json +++ b/retail/v2alpha/retail-api.json @@ -1660,7 +1660,7 @@ } } }, - "revision": "20220217", + "revision": "20220224", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2230,7 +2230,7 @@ "type": "string" }, "inUse": { - "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using AddCatalogAttribute, ImportCatalogAttributes, or UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. After catalog changes, it takes about 10 minutes for this field to update.", + "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using AddCatalogAttribute, ImportCatalogAttributes, or UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only CatalogAttributes that are not in use by products can be deleted. CatalogAttributes that are in use by products cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", "readOnly": true, "type": "boolean" }, @@ -2472,7 +2472,7 @@ "description": "A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost \"gShoe\" when query full matches \"Running Shoes\"." }, "solutionTypes": { - "description": "Required. Immutable. The solution types that the serving config is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment.", + "description": "Required. Immutable. The solution types that the serving config is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH.", "items": { "enum": [ "SOLUTION_TYPE_UNSPECIFIED", diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index 1701637ac61..758d8f6f2ee 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -1392,8 +1392,12 @@ type GoogleCloudRetailV2alphaCatalogAttribute struct { // in Product.attributes. Otherwise, this field is `False`. // CatalogAttribute can be pre-loaded by using AddCatalogAttribute, // ImportCatalogAttributes, or UpdateAttributesConfig APIs. This field - // is `False` for pre-loaded CatalogAttributes. After catalog changes, - // it takes about 10 minutes for this field to update. + // is `False` for pre-loaded CatalogAttributes. Only CatalogAttributes + // that are not in use by products can be deleted. CatalogAttributes + // that are in use by products cannot be deleted; however, their + // configuration properties will reset to default values upon removal + // request. After catalog changes, it takes about 10 minutes for this + // field to update. InUse bool `json:"inUse,omitempty"` // IndexableOption: When AttributesConfig.attribute_config_level is @@ -1841,7 +1845,8 @@ type GoogleCloudRetailV2alphaControl struct { // SolutionTypes: Required. Immutable. The solution types that the // serving config is used for. Currently we support setting only one // type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value - // is supported at the moment. + // is supported at the moment. If no solution type is provided at + // creation time, will default to SOLUTION_TYPE_SEARCH. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. diff --git a/retail/v2beta/retail-api.json b/retail/v2beta/retail-api.json index fcb6358a4c9..83cef89e7af 100644 --- a/retail/v2beta/retail-api.json +++ b/retail/v2beta/retail-api.json @@ -1599,7 +1599,7 @@ } } }, - "revision": "20220217", + "revision": "20220224", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2402,7 +2402,7 @@ "type": "string" }, "inUse": { - "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using AddCatalogAttribute, ImportCatalogAttributes, or UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. After catalog changes, it takes about 10 minutes for this field to update.", + "description": "Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using AddCatalogAttribute, ImportCatalogAttributes, or UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only CatalogAttributes that are not in use by products can be deleted. CatalogAttributes that are in use by products cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update.", "readOnly": true, "type": "boolean" }, @@ -2644,7 +2644,7 @@ "description": "A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost \"gShoe\" when query full matches \"Running Shoes\"." }, "solutionTypes": { - "description": "Required. Immutable. The solution types that the serving config is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment.", + "description": "Required. Immutable. The solution types that the serving config is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH.", "items": { "enum": [ "SOLUTION_TYPE_UNSPECIFIED", diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index 0b50691cee9..9019f55a30a 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -1830,8 +1830,12 @@ type GoogleCloudRetailV2betaCatalogAttribute struct { // in Product.attributes. Otherwise, this field is `False`. // CatalogAttribute can be pre-loaded by using AddCatalogAttribute, // ImportCatalogAttributes, or UpdateAttributesConfig APIs. This field - // is `False` for pre-loaded CatalogAttributes. After catalog changes, - // it takes about 10 minutes for this field to update. + // is `False` for pre-loaded CatalogAttributes. Only CatalogAttributes + // that are not in use by products can be deleted. CatalogAttributes + // that are in use by products cannot be deleted; however, their + // configuration properties will reset to default values upon removal + // request. After catalog changes, it takes about 10 minutes for this + // field to update. InUse bool `json:"inUse,omitempty"` // IndexableOption: When AttributesConfig.attribute_config_level is @@ -2278,7 +2282,8 @@ type GoogleCloudRetailV2betaControl struct { // SolutionTypes: Required. Immutable. The solution types that the // serving config is used for. Currently we support setting only one // type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value - // is supported at the moment. + // is supported at the moment. If no solution type is provided at + // creation time, will default to SOLUTION_TYPE_SEARCH. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. diff --git a/searchconsole/v1/searchconsole-api.json b/searchconsole/v1/searchconsole-api.json index 5776108d0bb..1f99214d7f2 100644 --- a/searchconsole/v1/searchconsole-api.json +++ b/searchconsole/v1/searchconsole-api.json @@ -400,7 +400,7 @@ } } }, - "revision": "20220201", + "revision": "20220303", "rootUrl": "https://searchconsole.googleapis.com/", "schemas": { "AmpInspectionResult": { @@ -730,7 +730,7 @@ "Indexing allowed.", "Indexing not allowed, 'noindex' detected in 'robots' meta tag.", "Indexing not allowed, 'noindex' detected in 'X-Robots-Tag' http header.", - "Indexing not allowed, No: 'noindex' detected in robots.txt." + "Reserved, no longer in use." ], "type": "string" }, diff --git a/searchconsole/v1/searchconsole-gen.go b/searchconsole/v1/searchconsole-gen.go index 5ed3fd30cb5..78c34ee6e7a 100644 --- a/searchconsole/v1/searchconsole-gen.go +++ b/searchconsole/v1/searchconsole-gen.go @@ -636,8 +636,7 @@ type IndexStatusInspectionResult struct { // 'robots' meta tag. // "BLOCKED_BY_HTTP_HEADER" - Indexing not allowed, 'noindex' detected // in 'X-Robots-Tag' http header. - // "BLOCKED_BY_ROBOTS_TXT" - Indexing not allowed, No: 'noindex' - // detected in robots.txt. + // "BLOCKED_BY_ROBOTS_TXT" - Reserved, no longer in use. IndexingState string `json:"indexingState,omitempty"` // LastCrawlTime: Last time this URL was crawled by Google using the