From dfbc111165fd6cf7d9c2b13c47f2168dea5a1c9e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 10 Jan 2025 00:26:22 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2955) --- cloudidentity/v1beta1/cloudidentity-api.json | 4 +- cloudidentity/v1beta1/cloudidentity-gen.go | 11 +- .../v0.alpha/deploymentmanager-api.json | 6 +- .../v0.alpha/deploymentmanager-gen.go | 17 +-- firebase/v1beta1/firebase-api.json | 6 +- firebase/v1beta1/firebase-gen.go | 5 +- .../v1beta/firebasestorage-api.json | 100 +---------------- firebasestorage/v1beta/firebasestorage-gen.go | 105 ------------------ iam/v1/iam-api.json | 15 +-- iam/v1/iam-gen.go | 12 +- .../datasources_v1beta/merchantapi-api.json | 16 +-- .../datasources_v1beta/merchantapi-gen.go | 14 +-- parallelstore/v1/parallelstore-api.json | 23 +++- parallelstore/v1/parallelstore-gen.go | 15 ++- parallelstore/v1beta/parallelstore-api.json | 13 +-- parallelstore/v1beta/parallelstore-gen.go | 5 +- run/v2/run-api.json | 6 +- run/v2/run-gen.go | 6 +- .../v1/servicenetworking-api.json | 4 +- servicenetworking/v1/servicenetworking-gen.go | 10 +- sheets/v4/sheets-api.json | 4 +- sheets/v4/sheets-gen.go | 2 +- spanner/v1/spanner-api.json | 18 +-- spanner/v1/spanner-gen.go | 16 +-- 24 files changed, 127 insertions(+), 306 deletions(-) diff --git a/cloudidentity/v1beta1/cloudidentity-api.json b/cloudidentity/v1beta1/cloudidentity-api.json index 3569315533..496ce04b80 100644 --- a/cloudidentity/v1beta1/cloudidentity-api.json +++ b/cloudidentity/v1beta1/cloudidentity-api.json @@ -2110,7 +2110,7 @@ } } }, - "revision": "20241210", + "revision": "20250107", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { @@ -4115,7 +4115,7 @@ "additionalProperties": { "type": "string" }, - "description": "Required. One or more label entries that apply to the Group. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. Existing Google Groups can have an additional label with a key of `cloudidentity.googleapis.com/groups.security` and an empty value added to them. **This is an immutable change and the security label cannot be removed once added.** Dynamic groups have a label with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for Cloud Search have a label with a key of `system/groups/external` and an empty value.", + "description": "Required. One or more label entries that apply to the Group. Labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. Existing Google Groups can have an additional label with a key of `cloudidentity.googleapis.com/groups.security` and an empty value added to them. **This is an immutable change and the security label cannot be removed once added.** Dynamic groups have a label with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for Cloud Search have a label with a key of `system/groups/external` and an empty value. (Beta) Google Groups can be [locked](https://support.google.com/a?p=locked-groups). To lock a group, add a label with a key of `cloudidentity.googleapis.com/groups.locked` and an empty value. Doing so locks the group. To unlock the group, remove this label.", "type": "object" }, "name": { diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index 88e2a6dc74..f5f7b6257b 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -2432,9 +2432,9 @@ type Group struct { DynamicGroupMetadata *DynamicGroupMetadata `json:"dynamicGroupMetadata,omitempty"` // GroupKey: Required. The `EntityKey` of the `Group`. GroupKey *EntityKey `json:"groupKey,omitempty"` - // Labels: Required. One or more label entries that apply to the Group. - // Currently supported labels contain a key with an empty value. Google Groups - // are the default type of group and have a label with a key of + // Labels: Required. One or more label entries that apply to the Group. Labels + // contain a key with an empty value. Google Groups are the default type of + // group and have a label with a key of // `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. // Existing Google Groups can have an additional label with a key of // `cloudidentity.googleapis.com/groups.security` and an empty value added to @@ -2442,7 +2442,10 @@ type Group struct { // once added.** Dynamic groups have a label with a key of // `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for // Cloud Search have a label with a key of `system/groups/external` and an - // empty value. + // empty value. (Beta) Google Groups can be locked + // (https://support.google.com/a?p=locked-groups). To lock a group, add a label + // with a key of `cloudidentity.googleapis.com/groups.locked` and an empty + // value. Doing so locks the group. To unlock the group, remove this label. Labels map[string]string `json:"labels,omitempty"` // Name: Output only. The resource name // (https://cloud.google.com/apis/design/resource_names) of the `Group`. Shall diff --git a/deploymentmanager/v0.alpha/deploymentmanager-api.json b/deploymentmanager/v0.alpha/deploymentmanager-api.json index 839c75e490..d3538bd176 100644 --- a/deploymentmanager/v0.alpha/deploymentmanager-api.json +++ b/deploymentmanager/v0.alpha/deploymentmanager-api.json @@ -1676,7 +1676,7 @@ } } }, - "revision": "20241122", + "revision": "20250102", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { @@ -2214,11 +2214,11 @@ "description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", "type": "string" }, - "metadata": { + "metadatas": { "additionalProperties": { "type": "string" }, - "description": "Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {\"instanceLimit\": \"100/request\"}, should be returned as, {\"instanceLimitPerRequest\": \"100\"}, if the client exceeds the number of instances that can be created in a single (batch) request.", + "description": "Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{\"instanceLimit\": \"100/request\"}`, should be returned as, `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of instances that can be created in a single (batch) request.", "type": "object" }, "reason": { diff --git a/deploymentmanager/v0.alpha/deploymentmanager-gen.go b/deploymentmanager/v0.alpha/deploymentmanager-gen.go index c1a8ae085a..29aaddb7e8 100644 --- a/deploymentmanager/v0.alpha/deploymentmanager-gen.go +++ b/deploymentmanager/v0.alpha/deploymentmanager-gen.go @@ -1069,14 +1069,15 @@ type ErrorInfo struct { // unique value that identifies the infrastructure. For Google API // infrastructure, the error domain is "googleapis.com". Domain string `json:"domain,omitempty"` - // Metadata: Additional structured details about this error. Keys must match - // /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 - // characters in length. When identifying the current value of an exceeded - // limit, the units should be contained in the key, not the value. For example, - // rather than {"instanceLimit": "100/request"}, should be returned as, - // {"instanceLimitPerRequest": "100"}, if the client exceeds the number of - // instances that can be created in a single (batch) request. - Metadata map[string]string `json:"metadata,omitempty"` + // Metadatas: Additional structured details about this error. Keys must match a + // regular expression of `a-z+` but should ideally be lowerCamelCase. Also, + // they must be limited to 64 characters in length. When identifying the + // current value of an exceeded limit, the units should be contained in the + // key, not the value. For example, rather than `{"instanceLimit": + // "100/request"}`, should be returned as, `{"instanceLimitPerRequest": + // "100"}`, if the client exceeds the number of instances that can be created + // in a single (batch) request. + Metadatas map[string]string `json:"metadatas,omitempty"` // Reason: The reason of the error. This is a constant value that identifies // the proximate cause of the error. Error reasons are unique within a // particular domain of errors. This should be at most 63 characters and match diff --git a/firebase/v1beta1/firebase-api.json b/firebase/v1beta1/firebase-api.json index b519234c99..d2d5605478 100644 --- a/firebase/v1beta1/firebase-api.json +++ b/firebase/v1beta1/firebase-api.json @@ -1324,7 +1324,7 @@ } } }, - "revision": "20241217", + "revision": "20250107", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -2152,12 +2152,12 @@ "id": "StatusProto", "properties": { "canonicalCode": { - "description": "The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be.", + "description": "The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;", "format": "int32", "type": "integer" }, "code": { - "description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto", + "description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;", "format": "int32", "type": "integer" }, diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index 74e498db37..8648b2ab61 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -1594,10 +1594,13 @@ func (s Status) MarshalJSON() ([]byte, error) { type StatusProto struct { // CanonicalCode: The canonical error code (see codes.proto) that most closely // corresponds to this status. This may be missing, and in the common case of - // the generic space, it definitely will be. + // the generic space, it definitely will be. copybara:strip_begin(b/383363683) + // copybara:strip_end_and_replace optional int32 canonical_code = 6; CanonicalCode int64 `json:"canonicalCode,omitempty"` // Code: Numeric code drawn from the space specified below. Often, this is the // canonical error space, and code is drawn from google3/util/task/codes.proto + // copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + // int32 code = 1; Code int64 `json:"code,omitempty"` // Message: Detail message copybara:strip_begin(b/383363683) // copybara:strip_end_and_replace optional string message = 3; diff --git a/firebasestorage/v1beta/firebasestorage-api.json b/firebasestorage/v1beta/firebasestorage-api.json index e677ba2ecd..2003934886 100644 --- a/firebasestorage/v1beta/firebasestorage-api.json +++ b/firebasestorage/v1beta/firebasestorage-api.json @@ -325,7 +325,7 @@ } } }, - "revision": "20241111", + "revision": "20241218", "rootUrl": "https://firebasestorage.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -376,104 +376,6 @@ "properties": {}, "type": "object" }, - "GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata": { - "description": "Metadata for MigrateLocationDestructively LRO.", - "id": "GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata", - "properties": { - "createTime": { - "description": "The time the LRO was created.", - "format": "google-datetime", - "type": "string" - }, - "lastUpdateTime": { - "description": "The time the LRO was last updated.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "The current state of the migration.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "CREATING_TEMP_BUCKET", - "TRANSFERRING_TO_TEMP", - "DELETING_SOURCE_BUCKET", - "CREATING_DESTINATION_BUCKET", - "TRANSFERRING_TO_DESTINATION", - "DELETING_TEMP_BUCKET", - "SUCCEEDED", - "FAILED", - "ROLLING_BACK", - "ROLLED_BACK" - ], - "enumDescriptions": [ - "Unspecified state. Should not be used.", - "The MigrateLocationDestructively request has passed precondition checks and the bucket migration will begin soon.", - "Generating a unique bucket name, storing the source -\u003e temp mapping in Spanner, and actually creating the temporary bucket via Bigstore.", - "The first STS transfer to move all objects from the source bucket to the temp bucket is underway.", - "The source bucket is being emptied and deleted.", - "The source bucket is being recreated in the new location.", - "The second STS transfer to move all objects from the temp bucket to the final bucket is underway.", - "The temp bucket is being emptied and deleted.", - "All stages of the migration have completed and the operation has been marked done and updated with a response.", - "The migration failed at some stage and it is not possible to continue retrying that stage. Manual recovery may be needed. Rollback is either impossible at this stage, or has been attempted and failed.", - "The migration has encountered a permanent failure and is now being rolled back so that the source bucket is restored to its original state.", - "The migration has been successfully rolled back." - ], - "type": "string" - } - }, - "type": "object" - }, - "GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata": { - "description": "Metadata for MigrateLocationDestructively LRO.", - "id": "GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata", - "properties": { - "createTime": { - "description": "The time the LRO was created.", - "format": "google-datetime", - "type": "string" - }, - "lastUpdateTime": { - "description": "The time the LRO was last updated.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "The current state of the migration.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "CREATING_TEMP_BUCKET", - "TRANSFERRING_TO_TEMP", - "DELETING_SOURCE_BUCKET", - "CREATING_DESTINATION_BUCKET", - "TRANSFERRING_TO_DESTINATION", - "DELETING_TEMP_BUCKET", - "SUCCEEDED", - "FAILED", - "ROLLING_BACK", - "ROLLED_BACK" - ], - "enumDescriptions": [ - "Unspecified state. Should not be used.", - "The MigrateLocationDestructively request has passed precondition checks and the bucket migration will begin soon.", - "Generating a unique bucket name, storing the source -\u003e temp mapping in Spanner, and actually creating the temporary bucket via Bigstore.", - "The first STS transfer to move all objects from the source bucket to the temp bucket is underway.", - "The source bucket is being emptied and deleted.", - "The source bucket is being recreated in the new location.", - "The second STS transfer to move all objects from the temp bucket to the final bucket is underway.", - "The temp bucket is being emptied and deleted.", - "All stages of the migration have completed and the operation has been marked done and updated with a response.", - "The migration failed at some stage and it is not possible to continue retrying that stage. Manual recovery may be needed. Rollback is either impossible at this stage, or has been attempted and failed.", - "The migration has encountered a permanent failure and is now being rolled back so that the source bucket is restored to its original state.", - "The migration has been successfully rolled back." - ], - "type": "string" - } - }, - "type": "object" - }, "ListBucketsResponse": { "description": "The response returned by `ListBuckets`.", "id": "ListBucketsResponse", diff --git a/firebasestorage/v1beta/firebasestorage-gen.go b/firebasestorage/v1beta/firebasestorage-gen.go index e29d692ccd..c040af15ba 100644 --- a/firebasestorage/v1beta/firebasestorage-gen.go +++ b/firebasestorage/v1beta/firebasestorage-gen.go @@ -274,111 +274,6 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } -// GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata: -// -// Metadata for MigrateLocationDestructively LRO. -type GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata struct { - // CreateTime: The time the LRO was created. - CreateTime string `json:"createTime,omitempty"` - // LastUpdateTime: The time the LRO was last updated. - LastUpdateTime string `json:"lastUpdateTime,omitempty"` - // State: The current state of the migration. - // - // Possible values: - // "STATE_UNSPECIFIED" - Unspecified state. Should not be used. - // "PENDING" - The MigrateLocationDestructively request has passed - // precondition checks and the bucket migration will begin soon. - // "CREATING_TEMP_BUCKET" - Generating a unique bucket name, storing the - // source -> temp mapping in Spanner, and actually creating the temporary - // bucket via Bigstore. - // "TRANSFERRING_TO_TEMP" - The first STS transfer to move all objects from - // the source bucket to the temp bucket is underway. - // "DELETING_SOURCE_BUCKET" - The source bucket is being emptied and deleted. - // "CREATING_DESTINATION_BUCKET" - The source bucket is being recreated in - // the new location. - // "TRANSFERRING_TO_DESTINATION" - The second STS transfer to move all - // objects from the temp bucket to the final bucket is underway. - // "DELETING_TEMP_BUCKET" - The temp bucket is being emptied and deleted. - // "SUCCEEDED" - All stages of the migration have completed and the operation - // has been marked done and updated with a response. - // "FAILED" - The migration failed at some stage and it is not possible to - // continue retrying that stage. Manual recovery may be needed. Rollback is - // either impossible at this stage, or has been attempted and failed. - // "ROLLING_BACK" - The migration has encountered a permanent failure and is - // now being rolled back so that the source bucket is restored to its original - // state. - // "ROLLED_BACK" - The migration has been successfully rolled back. - State string `json:"state,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleFirebaseStorageControlplaneV1alphaMigrateLocationDestructivelyMetadata - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - -// GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata: -// Metadata for MigrateLocationDestructively LRO. -type GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata struct { - // CreateTime: The time the LRO was created. - CreateTime string `json:"createTime,omitempty"` - // LastUpdateTime: The time the LRO was last updated. - LastUpdateTime string `json:"lastUpdateTime,omitempty"` - // State: The current state of the migration. - // - // Possible values: - // "STATE_UNSPECIFIED" - Unspecified state. Should not be used. - // "PENDING" - The MigrateLocationDestructively request has passed - // precondition checks and the bucket migration will begin soon. - // "CREATING_TEMP_BUCKET" - Generating a unique bucket name, storing the - // source -> temp mapping in Spanner, and actually creating the temporary - // bucket via Bigstore. - // "TRANSFERRING_TO_TEMP" - The first STS transfer to move all objects from - // the source bucket to the temp bucket is underway. - // "DELETING_SOURCE_BUCKET" - The source bucket is being emptied and deleted. - // "CREATING_DESTINATION_BUCKET" - The source bucket is being recreated in - // the new location. - // "TRANSFERRING_TO_DESTINATION" - The second STS transfer to move all - // objects from the temp bucket to the final bucket is underway. - // "DELETING_TEMP_BUCKET" - The temp bucket is being emptied and deleted. - // "SUCCEEDED" - All stages of the migration have completed and the operation - // has been marked done and updated with a response. - // "FAILED" - The migration failed at some stage and it is not possible to - // continue retrying that stage. Manual recovery may be needed. Rollback is - // either impossible at this stage, or has been attempted and failed. - // "ROLLING_BACK" - The migration has encountered a permanent failure and is - // now being rolled back so that the source bucket is restored to its original - // state. - // "ROLLED_BACK" - The migration has been successfully rolled back. - State string `json:"state,omitempty"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata) MarshalJSON() ([]byte, error) { - type NoMethod GoogleFirebaseStorageControlplaneV1betaMigrateLocationDestructivelyMetadata - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // ListBucketsResponse: The response returned by `ListBuckets`. type ListBucketsResponse struct { // Buckets: The list of linked buckets. diff --git a/iam/v1/iam-api.json b/iam/v1/iam-api.json index 0a579afce4..9aa1f45599 100644 --- a/iam/v1/iam-api.json +++ b/iam/v1/iam-api.json @@ -316,7 +316,7 @@ ], "parameters": { "name": { - "description": "Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`", + "description": "Identifier. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`", "location": "path", "pattern": "^locations/[^/]+/workforcePools/[^/]+$", "required": true, @@ -591,7 +591,7 @@ ], "parameters": { "name": { - "description": "Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`", + "description": "Identifier. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`", "location": "path", "pattern": "^locations/[^/]+/workforcePools/[^/]+/providers/[^/]+$", "required": true, @@ -3188,7 +3188,7 @@ } } }, - "revision": "20241114", + "revision": "20250102", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AccessRestrictions": { @@ -5016,8 +5016,7 @@ "type": "string" }, "name": { - "description": "Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`", - "readOnly": true, + "description": "Identifier. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`", "type": "string" }, "parent": { @@ -5085,8 +5084,7 @@ "description": "Optional. The configuration for OAuth 2.0 client used to get the additional user attributes. This should be used when users can't get the desired claims in authentication credentials. Currently this configuration is only supported with OIDC protocol." }, "name": { - "description": "Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`", - "readOnly": true, + "description": "Identifier. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`", "type": "string" }, "oidc": { @@ -5130,8 +5128,7 @@ "description": "Immutable. Public half of the asymmetric key." }, "name": { - "description": "Output only. The resource name of the key.", - "readOnly": true, + "description": "Identifier. The resource name of the key. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}/keys/{key_id}`", "type": "string" }, "state": { diff --git a/iam/v1/iam-gen.go b/iam/v1/iam-gen.go index 1ac13e9462..32777457e1 100644 --- a/iam/v1/iam-gen.go +++ b/iam/v1/iam-gen.go @@ -3250,7 +3250,7 @@ type WorkforcePool struct { // ExpireTime: Output only. Time after which the workforce pool will be // permanently purged and cannot be recovered. ExpireTime string `json:"expireTime,omitempty"` - // Name: Output only. The resource name of the pool. Format: + // Name: Identifier. The resource name of the pool. Format: // `locations/{location}/workforcePools/{workforce_pool_id}` Name string `json:"name,omitempty"` // Parent: Immutable. The resource name of the parent. Format: @@ -3378,7 +3378,7 @@ type WorkforcePoolProvider struct { // users can't get the desired claims in authentication credentials. Currently // this configuration is only supported with OIDC protocol. ExtraAttributesOauth2Client *GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client `json:"extraAttributesOauth2Client,omitempty"` - // Name: Output only. The resource name of the provider. Format: + // Name: Identifier. The resource name of the provider. Format: // `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_ // id}` Name string `json:"name,omitempty"` @@ -3428,7 +3428,9 @@ type WorkforcePoolProviderKey struct { ExpireTime string `json:"expireTime,omitempty"` // KeyData: Immutable. Public half of the asymmetric key. KeyData *KeyData `json:"keyData,omitempty"` - // Name: Output only. The resource name of the key. + // Name: Identifier. The resource name of the key. Format: + // `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_ + // id}/keys/{key_id}` Name string `json:"name,omitempty"` // State: Output only. The state of the key. // @@ -4493,7 +4495,7 @@ type LocationsWorkforcePoolsPatchCall struct { // Patch: Updates an existing WorkforcePool. // -// - name: Output only. The resource name of the pool. Format: +// - name: Identifier. The resource name of the pool. Format: // `locations/{location}/workforcePools/{workforce_pool_id}`. func (r *LocationsWorkforcePoolsService) Patch(name string, workforcepool *WorkforcePool) *LocationsWorkforcePoolsPatchCall { c := &LocationsWorkforcePoolsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -5520,7 +5522,7 @@ type LocationsWorkforcePoolsProvidersPatchCall struct { // Patch: Updates an existing WorkforcePoolProvider. // -// - name: Output only. The resource name of the provider. Format: +// - name: Identifier. The resource name of the provider. Format: // `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provide // r_id}`. func (r *LocationsWorkforcePoolsProvidersService) Patch(name string, workforcepoolprovider *WorkforcePoolProvider) *LocationsWorkforcePoolsProvidersPatchCall { diff --git a/merchantapi/datasources_v1beta/merchantapi-api.json b/merchantapi/datasources_v1beta/merchantapi-api.json index 4223a8d64e..8720f8bfd5 100644 --- a/merchantapi/datasources_v1beta/merchantapi-api.json +++ b/merchantapi/datasources_v1beta/merchantapi-api.json @@ -321,7 +321,7 @@ } } }, - "revision": "20241119", + "revision": "20250108", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "DataSource": { @@ -363,11 +363,11 @@ }, "localInventoryDataSource": { "$ref": "LocalInventoryDataSource", - "description": "Required. The [local inventory](https://support.google.com/merchants/answer/7023001) data source." + "description": "The [local inventory](https://support.google.com/merchants/answer/7023001) data source." }, "merchantReviewDataSource": { "$ref": "MerchantReviewDataSource", - "description": "Required. The [merchant review](https://support.google.com/merchants/answer/7045996) data source." + "description": "The [merchant review](https://support.google.com/merchants/answer/7045996) data source." }, "name": { "description": "Identifier. The name of the data source. Format: `{datasource.name=accounts/{account}/dataSources/{datasource}}`", @@ -375,23 +375,23 @@ }, "primaryProductDataSource": { "$ref": "PrimaryProductDataSource", - "description": "Required. The [primary data source](https://support.google.com/merchants/answer/7439058) for local and online products." + "description": "The [primary data source](https://support.google.com/merchants/answer/7439058) for local and online products." }, "productReviewDataSource": { "$ref": "ProductReviewDataSource", - "description": "Required. The [product review](https://support.google.com/merchants/answer/7045996) data source." + "description": "The [product review](https://support.google.com/merchants/answer/7045996) data source." }, "promotionDataSource": { "$ref": "PromotionDataSource", - "description": "Required. The [promotion](https://support.google.com/merchants/answer/2906014) data source." + "description": "The [promotion](https://support.google.com/merchants/answer/2906014) data source." }, "regionalInventoryDataSource": { "$ref": "RegionalInventoryDataSource", - "description": "Required. The [regional inventory](https://support.google.com/merchants/answer/7439058) data source." + "description": "The [regional inventory](https://support.google.com/merchants/answer/7439058) data source." }, "supplementalProductDataSource": { "$ref": "SupplementalProductDataSource", - "description": "Required. The [supplemental data source](https://support.google.com/merchants/answer/7439058) for local and online products." + "description": "The [supplemental data source](https://support.google.com/merchants/answer/7439058) for local and online products." } }, "type": "object" diff --git a/merchantapi/datasources_v1beta/merchantapi-gen.go b/merchantapi/datasources_v1beta/merchantapi-gen.go index 966b33a04f..ef0011efd3 100644 --- a/merchantapi/datasources_v1beta/merchantapi-gen.go +++ b/merchantapi/datasources_v1beta/merchantapi-gen.go @@ -219,29 +219,29 @@ type DataSource struct { // automatically build your product data. This type of data source can be // enabled or disabled through the Accounts bundle. Input string `json:"input,omitempty"` - // LocalInventoryDataSource: Required. The local inventory + // LocalInventoryDataSource: The local inventory // (https://support.google.com/merchants/answer/7023001) data source. LocalInventoryDataSource *LocalInventoryDataSource `json:"localInventoryDataSource,omitempty"` - // MerchantReviewDataSource: Required. The merchant review + // MerchantReviewDataSource: The merchant review // (https://support.google.com/merchants/answer/7045996) data source. MerchantReviewDataSource *MerchantReviewDataSource `json:"merchantReviewDataSource,omitempty"` // Name: Identifier. The name of the data source. Format: // `{datasource.name=accounts/{account}/dataSources/{datasource}}` Name string `json:"name,omitempty"` - // PrimaryProductDataSource: Required. The primary data source + // PrimaryProductDataSource: The primary data source // (https://support.google.com/merchants/answer/7439058) for local and online // products. PrimaryProductDataSource *PrimaryProductDataSource `json:"primaryProductDataSource,omitempty"` - // ProductReviewDataSource: Required. The product review + // ProductReviewDataSource: The product review // (https://support.google.com/merchants/answer/7045996) data source. ProductReviewDataSource *ProductReviewDataSource `json:"productReviewDataSource,omitempty"` - // PromotionDataSource: Required. The promotion + // PromotionDataSource: The promotion // (https://support.google.com/merchants/answer/2906014) data source. PromotionDataSource *PromotionDataSource `json:"promotionDataSource,omitempty"` - // RegionalInventoryDataSource: Required. The regional inventory + // RegionalInventoryDataSource: The regional inventory // (https://support.google.com/merchants/answer/7439058) data source. RegionalInventoryDataSource *RegionalInventoryDataSource `json:"regionalInventoryDataSource,omitempty"` - // SupplementalProductDataSource: Required. The supplemental data source + // SupplementalProductDataSource: The supplemental data source // (https://support.google.com/merchants/answer/7439058) for local and online // products. SupplementalProductDataSource *SupplementalProductDataSource `json:"supplementalProductDataSource,omitempty"` diff --git a/parallelstore/v1/parallelstore-api.json b/parallelstore/v1/parallelstore-api.json index f0e40059bb..a6bbdf3fd9 100644 --- a/parallelstore/v1/parallelstore-api.json +++ b/parallelstore/v1/parallelstore-api.json @@ -543,7 +543,7 @@ } } }, - "revision": "20241204", + "revision": "20250102", "rootUrl": "https://parallelstore.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -649,9 +649,18 @@ "readOnly": true, "type": "string" }, - "daosVersion": { - "description": "Output only. The version of DAOS software running in the instance.", - "readOnly": true, + "deploymentType": { + "description": "Optional. The deployment type of the instance. Allowed values are: * `SCRATCH`: the instance is a scratch instance. * `PERSISTENT`: the instance is a persistent instance.", + "enum": [ + "DEPLOYMENT_TYPE_UNSPECIFIED", + "SCRATCH", + "PERSISTENT" + ], + "enumDescriptions": [ + "Default Deployment Type It is equivalent to SCRATCH", + "Scratch", + "Persistent" + ], "type": "string" }, "description": { @@ -722,7 +731,8 @@ "ACTIVE", "DELETING", "FAILED", - "UPGRADING" + "UPGRADING", + "REPAIRING" ], "enumDescriptions": [ "Not set.", @@ -730,7 +740,8 @@ "The instance is available for use.", "The instance is being deleted.", "The instance is not usable.", - "The instance is being upgraded." + "The instance is being upgraded.", + "The instance is being repaired. This should only be used by instances using the `PERSISTENT` deployment type." ], "readOnly": true, "type": "string" diff --git a/parallelstore/v1/parallelstore-gen.go b/parallelstore/v1/parallelstore-gen.go index d35383d960..a98e72535f 100644 --- a/parallelstore/v1/parallelstore-gen.go +++ b/parallelstore/v1/parallelstore-gen.go @@ -364,9 +364,16 @@ type Instance struct { CapacityGib int64 `json:"capacityGib,omitempty,string"` // CreateTime: Output only. The time when the instance was created. CreateTime string `json:"createTime,omitempty"` - // DaosVersion: Output only. The version of DAOS software running in the - // instance. - DaosVersion string `json:"daosVersion,omitempty"` + // DeploymentType: Optional. The deployment type of the instance. Allowed + // values are: * `SCRATCH`: the instance is a scratch instance. * `PERSISTENT`: + // the instance is a persistent instance. + // + // Possible values: + // "DEPLOYMENT_TYPE_UNSPECIFIED" - Default Deployment Type It is equivalent + // to SCRATCH + // "SCRATCH" - Scratch + // "PERSISTENT" - Persistent + DeploymentType string `json:"deploymentType,omitempty"` // Description: Optional. The description of the instance. 2048 characters or // less. Description string `json:"description,omitempty"` @@ -426,6 +433,8 @@ type Instance struct { // "DELETING" - The instance is being deleted. // "FAILED" - The instance is not usable. // "UPGRADING" - The instance is being upgraded. + // "REPAIRING" - The instance is being repaired. This should only be used by + // instances using the `PERSISTENT` deployment type. State string `json:"state,omitempty"` // UpdateTime: Output only. The time when the instance was updated. UpdateTime string `json:"updateTime,omitempty"` diff --git a/parallelstore/v1beta/parallelstore-api.json b/parallelstore/v1beta/parallelstore-api.json index 2472fcdcda..bc3066364e 100644 --- a/parallelstore/v1beta/parallelstore-api.json +++ b/parallelstore/v1beta/parallelstore-api.json @@ -540,7 +540,7 @@ } } }, - "revision": "20241204", + "revision": "20250102", "rootUrl": "https://parallelstore.googleapis.com/", "schemas": { "DestinationGcsBucket": { @@ -640,11 +640,6 @@ "readOnly": true, "type": "string" }, - "daosVersion": { - "description": "Output only. The version of DAOS software running in the instance.", - "readOnly": true, - "type": "string" - }, "deploymentType": { "description": "Optional. The deployment type of the instance. Allowed values are: * `SCRATCH`: the instance is a scratch instance. * `PERSISTENT`: the instance is a persistent instance.", "enum": [ @@ -727,7 +722,8 @@ "ACTIVE", "DELETING", "FAILED", - "UPGRADING" + "UPGRADING", + "REPAIRING" ], "enumDescriptions": [ "Not set.", @@ -735,7 +731,8 @@ "The instance is available for use.", "The instance is being deleted.", "The instance is not usable.", - "The instance is being upgraded." + "The instance is being upgraded.", + "The instance is being repaired. This should only be used by instances using the `PERSISTENT` deployment type." ], "readOnly": true, "type": "string" diff --git a/parallelstore/v1beta/parallelstore-gen.go b/parallelstore/v1beta/parallelstore-gen.go index 63e0f86b7a..0f054f0ee9 100644 --- a/parallelstore/v1beta/parallelstore-gen.go +++ b/parallelstore/v1beta/parallelstore-gen.go @@ -360,9 +360,6 @@ type Instance struct { CapacityGib int64 `json:"capacityGib,omitempty,string"` // CreateTime: Output only. The time when the instance was created. CreateTime string `json:"createTime,omitempty"` - // DaosVersion: Output only. The version of DAOS software running in the - // instance. - DaosVersion string `json:"daosVersion,omitempty"` // DeploymentType: Optional. The deployment type of the instance. Allowed // values are: * `SCRATCH`: the instance is a scratch instance. * `PERSISTENT`: // the instance is a persistent instance. @@ -432,6 +429,8 @@ type Instance struct { // "DELETING" - The instance is being deleted. // "FAILED" - The instance is not usable. // "UPGRADING" - The instance is being upgraded. + // "REPAIRING" - The instance is being repaired. This should only be used by + // instances using the `PERSISTENT` deployment type. State string `json:"state,omitempty"` // UpdateTime: Output only. The time when the instance was updated. UpdateTime string `json:"updateTime,omitempty"` diff --git a/run/v2/run-api.json b/run/v2/run-api.json index e9df108419..1b4c6eb68e 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -1526,7 +1526,7 @@ } } }, - "revision": "20241213", + "revision": "20250103", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -5598,12 +5598,12 @@ "type": "integer" }, "message": { - "description": "Detail message", + "description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;", "type": "string" }, "messageSet": { "$ref": "Proto2BridgeMessageSet", - "description": "message_set associates an arbitrary proto message with the status." + "description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;" }, "space": { "description": "The following are usually only present when code != 0 Space to which this status belongs", diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index a935c21a97..e632f1a144 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -5098,10 +5098,12 @@ type UtilStatusProto struct { // Code: Numeric code drawn from the space specified below. Often, this is the // canonical error space, and code is drawn from google3/util/task/codes.proto Code int64 `json:"code,omitempty"` - // Message: Detail message + // Message: Detail message copybara:strip_begin(b/383363683) + // copybara:strip_end_and_replace optional string message = 3; Message string `json:"message,omitempty"` // MessageSet: message_set associates an arbitrary proto message with the - // status. + // status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace + // optional proto2.bridge.MessageSet message_set = 5; MessageSet *Proto2BridgeMessageSet `json:"messageSet,omitempty"` // Space: The following are usually only present when code != 0 Space to which // this status belongs diff --git a/servicenetworking/v1/servicenetworking-api.json b/servicenetworking/v1/servicenetworking-api.json index 2bef57a7b5..6fec8daf21 100644 --- a/servicenetworking/v1/servicenetworking-api.json +++ b/servicenetworking/v1/servicenetworking-api.json @@ -858,7 +858,7 @@ ], "parameters": { "name": { - "description": "Required. The network that the consumer is using to connect with services. Must be in the form of services/{service}/projects/{project}/global/networks/{network}/zones/{zoneName} Where {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this {project} is the project number, as in '12345' {network} is the network name. {zoneName} is the DNS zone name", + "description": "Required. The network that the consumer is using to connect with services. Must be in the form of services/{service}/projects/{project}/global/networks/{network}/dnsZones/{zoneName} Where {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this {project} is the project number, as in '12345' {network} is the network name. {zoneName} is the DNS zone name", "location": "path", "pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+/dnsZones/[^/]+$", "required": true, @@ -1029,7 +1029,7 @@ } } }, - "revision": "20241212", + "revision": "20250107", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { diff --git a/servicenetworking/v1/servicenetworking-gen.go b/servicenetworking/v1/servicenetworking-gen.go index a586afd79a..4246fd8d7b 100644 --- a/servicenetworking/v1/servicenetworking-gen.go +++ b/servicenetworking/v1/servicenetworking-gen.go @@ -7600,11 +7600,11 @@ type ServicesProjectsGlobalNetworksDnsZonesGetCall struct { // // - name: The network that the consumer is using to connect with services. // Must be in the form of -// services/{service}/projects/{project}/global/networks/{network}/zones/{zone -// Name} Where {service} is the peering service that is managing connectivity -// for the service producer's organization. For Google services that support -// this {project} is the project number, as in '12345' {network} is the -// network name. {zoneName} is the DNS zone name. +// services/{service}/projects/{project}/global/networks/{network}/dnsZones/{z +// oneName} Where {service} is the peering service that is managing +// connectivity for the service producer's organization. For Google services +// that support this {project} is the project number, as in '12345' {network} +// is the network name. {zoneName} is the DNS zone name. func (r *ServicesProjectsGlobalNetworksDnsZonesService) Get(name string) *ServicesProjectsGlobalNetworksDnsZonesGetCall { c := &ServicesProjectsGlobalNetworksDnsZonesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name diff --git a/sheets/v4/sheets-api.json b/sheets/v4/sheets-api.json index 8530b986ba..9b4aafee58 100644 --- a/sheets/v4/sheets-api.json +++ b/sheets/v4/sheets-api.json @@ -870,7 +870,7 @@ } } }, - "revision": "20241203", + "revision": "20250106", "rootUrl": "https://sheets.googleapis.com/", "schemas": { "AddBandingRequest": { @@ -3941,7 +3941,7 @@ "type": "object" }, "DeleteDimensionRequest": { - "description": "Deletes the dimensions from the sheet.", + "description": " Deletes the dimensions from the sheet.", "id": "DeleteDimensionRequest", "properties": { "range": { diff --git a/sheets/v4/sheets-gen.go b/sheets/v4/sheets-gen.go index 7d5f465686..eaa7334c15 100644 --- a/sheets/v4/sheets-gen.go +++ b/sheets/v4/sheets-gen.go @@ -4345,7 +4345,7 @@ func (s DeleteDimensionGroupResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// DeleteDimensionRequest: Deletes the dimensions from the sheet. +// DeleteDimensionRequest: Deletes the dimensions from the sheet. type DeleteDimensionRequest struct { // Range: The dimensions to delete from the sheet. Range *DimensionRange `json:"range,omitempty"` diff --git a/spanner/v1/spanner-api.json b/spanner/v1/spanner-api.json index 626c4767ba..753f8f1f93 100644 --- a/spanner/v1/spanner-api.json +++ b/spanner/v1/spanner-api.json @@ -395,7 +395,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "spanner.projects.instanceConfigs.operations.cancel", @@ -521,7 +521,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}/ssdCaches/{ssdCachesId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "spanner.projects.instanceConfigs.ssdCaches.operations.cancel", @@ -1290,7 +1290,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/backups/{backupsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "spanner.projects.instances.backups.operations.cancel", @@ -2191,7 +2191,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "spanner.projects.instances.databases.operations.cancel", @@ -3006,7 +3006,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "spanner.projects.instances.instancePartitions.operations.cancel", @@ -3132,7 +3132,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "spanner.projects.instances.operations.cancel", @@ -3319,7 +3319,7 @@ } } }, - "revision": "20241119", + "revision": "20241218", "rootUrl": "https://spanner.googleapis.com/", "schemas": { "AsymmetricAutoscalingOption": { @@ -6232,7 +6232,7 @@ }, "queryAdvice": { "$ref": "QueryAdvisorResult", - "description": "Optional. The advices/recommendations for a query. Currently this field will be serving index recommendations for a query." + "description": "Optional. The advise/recommendations for a query. Currently this field will be serving index recommendations for a query." } }, "type": "object" @@ -7169,7 +7169,7 @@ "type": "string" }, "protoDescriptors": { - "description": "Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \\ --include_imports \\ --descriptor_set_out=descriptors.data \\ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).", + "description": "Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. Contains a protobuf-serialized [google.protobufFileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \\ --include_imports \\ --descriptor_set_out=descriptors.data \\ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).", "format": "byte", "type": "string" }, diff --git a/spanner/v1/spanner-gen.go b/spanner/v1/spanner-gen.go index b02c1e6398..70e375e054 100644 --- a/spanner/v1/spanner-gen.go +++ b/spanner/v1/spanner-gen.go @@ -4744,7 +4744,7 @@ type QueryPlan struct { // starting with the plan root. Each PlanNode's `id` corresponds to its index // in `plan_nodes`. PlanNodes []*PlanNode `json:"planNodes,omitempty"` - // QueryAdvice: Optional. The advices/recommendations for a query. Currently + // QueryAdvice: Optional. The advise/recommendations for a query. Currently // this field will be serving index recommendations for a query. QueryAdvice *QueryAdvisorResult `json:"queryAdvice,omitempty"` // ForceSendFields is a list of field names (e.g. "PlanNodes") to @@ -6323,7 +6323,7 @@ type UpdateDatabaseDdlRequest struct { OperationId string `json:"operationId,omitempty"` // ProtoDescriptors: Optional. Proto descriptors used by CREATE/ALTER PROTO // BUNDLE statements. Contains a protobuf-serialized - // google.protobuf.FileDescriptorSet + // google.protobufFileDescriptorSet // (https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). // To generate it, install (https://grpc.io/docs/protoc-installation/) and run // `protoc` with --include_imports and --descriptor_set_out. For example, to @@ -7513,7 +7513,7 @@ type ProjectsInstanceConfigsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. @@ -7981,7 +7981,7 @@ type ProjectsInstanceConfigsSsdCachesOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. @@ -10878,7 +10878,7 @@ type ProjectsInstancesBackupsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. @@ -14245,7 +14245,7 @@ type ProjectsInstancesDatabasesOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. @@ -17347,7 +17347,7 @@ type ProjectsInstancesInstancePartitionsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. @@ -17815,7 +17815,7 @@ type ProjectsInstancesOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled.