diff --git a/adsenseplatform/v1alpha/adsenseplatform-api.json b/adsenseplatform/v1alpha/adsenseplatform-api.json index 62e2189c26..871c9b5378 100644 --- a/adsenseplatform/v1alpha/adsenseplatform-api.json +++ b/adsenseplatform/v1alpha/adsenseplatform-api.json @@ -108,6 +108,40 @@ }, "protocol": "rest", "resources": { + "accounts": { + "resources": { + "platforms": { + "methods": { + "get": { + "description": "Gets a platform.", + "flatPath": "v1alpha/accounts/{accountsId}/platforms/{platformsId}", + "httpMethod": "GET", + "id": "adsenseplatform.accounts.platforms.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the platform to retrieve. Format: accounts/{account}/platforms/{platform}", + "location": "path", + "pattern": "^accounts/[^/]+/platforms/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Platform" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense", + "https://www.googleapis.com/auth/adsense.readonly" + ] + } + } + } + } + }, "platforms": { "resources": { "accounts": { @@ -446,7 +480,7 @@ } } }, - "revision": "20241203", + "revision": "20250106", "rootUrl": "https://adsenseplatform.googleapis.com/", "schemas": { "Account": { @@ -657,6 +691,26 @@ }, "type": "object" }, + "Platform": { + "description": "Representation of a Transparent Platform.", + "id": "Platform", + "properties": { + "defaultPlatformGroup": { + "description": "Default platform group for the platform.", + "type": "string" + }, + "description": { + "description": "Output only. Description of the platform.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. Resource name of a platform. Format: accounts/{account}/platforms/{platform}", + "type": "string" + } + }, + "type": "object" + }, "RequestSiteReviewResponse": { "description": "Response definition for the site request review rpc.", "id": "RequestSiteReviewResponse", diff --git a/adsenseplatform/v1alpha/adsenseplatform-gen.go b/adsenseplatform/v1alpha/adsenseplatform-gen.go index 708ff4e54b..9d90f71de5 100644 --- a/adsenseplatform/v1alpha/adsenseplatform-gen.go +++ b/adsenseplatform/v1alpha/adsenseplatform-gen.go @@ -127,6 +127,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err return nil, err } s := &Service{client: client, BasePath: basePath, logger: internaloption.GetLogger(opts)} + s.Accounts = NewAccountsService(s) s.Platforms = NewPlatformsService(s) if err != nil { return nil, err @@ -155,6 +156,8 @@ type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment + Accounts *AccountsService + Platforms *PlatformsService } @@ -165,6 +168,27 @@ func (s *Service) userAgent() string { return googleapi.UserAgent + " " + s.UserAgent } +func NewAccountsService(s *Service) *AccountsService { + rs := &AccountsService{s: s} + rs.Platforms = NewAccountsPlatformsService(s) + return rs +} + +type AccountsService struct { + s *Service + + Platforms *AccountsPlatformsService +} + +func NewAccountsPlatformsService(s *Service) *AccountsPlatformsService { + rs := &AccountsPlatformsService{s: s} + return rs +} + +type AccountsPlatformsService struct { + s *Service +} + func NewPlatformsService(s *Service) *PlatformsService { rs := &PlatformsService{s: s} rs.Accounts = NewPlatformsAccountsService(s) @@ -476,6 +500,36 @@ func (s LookupAccountResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// Platform: Representation of a Transparent Platform. +type Platform struct { + // DefaultPlatformGroup: Default platform group for the platform. + DefaultPlatformGroup string `json:"defaultPlatformGroup,omitempty"` + // Description: Output only. Description of the platform. + Description string `json:"description,omitempty"` + // Name: Identifier. Resource name of a platform. Format: + // accounts/{account}/platforms/{platform} + Name string `json:"name,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` + // ForceSendFields is a list of field names (e.g. "DefaultPlatformGroup") 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. "DefaultPlatformGroup") 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 Platform) MarshalJSON() ([]byte, error) { + type NoMethod Platform + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // RequestSiteReviewResponse: Response definition for the site request review // rpc. type RequestSiteReviewResponse struct { @@ -556,6 +610,116 @@ func (s TimeZone) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +type AccountsPlatformsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets a platform. +// +// - name: The name of the platform to retrieve. Format: +// accounts/{account}/platforms/{platform}. +func (r *AccountsPlatformsService) Get(name string) *AccountsPlatformsGetCall { + c := &AccountsPlatformsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *AccountsPlatformsGetCall) Fields(s ...googleapi.Field) *AccountsPlatformsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *AccountsPlatformsGetCall) IfNoneMatch(entityTag string) *AccountsPlatformsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *AccountsPlatformsGetCall) Context(ctx context.Context) *AccountsPlatformsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *AccountsPlatformsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *AccountsPlatformsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, nil) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "adsenseplatform.accounts.platforms.get", "request", internallog.HTTPRequest(req, nil)) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "adsenseplatform.accounts.platforms.get" call. +// Any non-2xx status code is an error. Response headers are in either +// *Platform.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *AccountsPlatformsGetCall) Do(opts ...googleapi.CallOption) (*Platform, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Platform{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "adsenseplatform.accounts.platforms.get", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type PlatformsAccountsCloseCall struct { s *Service name string diff --git a/connectors/v1/connectors-api.json b/connectors/v1/connectors-api.json index 928b6ab03a..d99ad34e8c 100644 --- a/connectors/v1/connectors-api.json +++ b/connectors/v1/connectors-api.json @@ -2558,7 +2558,7 @@ } } }, - "revision": "20241203", + "revision": "20250101", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -4511,10 +4511,6 @@ "$ref": "EndPoint", "description": "OPTION 1: Hit an endpoint when we receive an event." }, - "gsutil": { - "$ref": "GSUtil", - "description": "OPTION 2: Write the event to Cloud Storage bucket." - }, "serviceAccount": { "description": "Service account needed for runtime plane to trigger IP workflow.", "type": "string" @@ -5176,17 +5172,6 @@ }, "type": "object" }, - "GSUtil": { - "description": "GSUtil message includes details of the Destination Cloud Storage bucket.", - "id": "GSUtil", - "properties": { - "gsutilUri": { - "description": "Required. The URI of the Cloud Storage bucket.", - "type": "string" - } - }, - "type": "object" - }, "HPAConfig": { "description": "Autoscaling config for connector deployment system metrics.", "id": "HPAConfig", diff --git a/connectors/v1/connectors-gen.go b/connectors/v1/connectors-gen.go index e7147855d6..4e00414be6 100644 --- a/connectors/v1/connectors-gen.go +++ b/connectors/v1/connectors-gen.go @@ -2163,8 +2163,6 @@ func (s EventSubscription) MarshalJSON() ([]byte, error) { type EventSubscriptionDestination struct { // Endpoint: OPTION 1: Hit an endpoint when we receive an event. Endpoint *EndPoint `json:"endpoint,omitempty"` - // Gsutil: OPTION 2: Write the event to Cloud Storage bucket. - Gsutil *GSUtil `json:"gsutil,omitempty"` // ServiceAccount: Service account needed for runtime plane to trigger IP // workflow. ServiceAccount string `json:"serviceAccount,omitempty"` @@ -2730,29 +2728,6 @@ func (s FieldComparison) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GSUtil: GSUtil message includes details of the Destination Cloud Storage -// bucket. -type GSUtil struct { - // GsutilUri: Required. The URI of the Cloud Storage bucket. - GsutilUri string `json:"gsutilUri,omitempty"` - // ForceSendFields is a list of field names (e.g. "GsutilUri") 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. "GsutilUri") 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 GSUtil) MarshalJSON() ([]byte, error) { - type NoMethod GSUtil - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // HPAConfig: Autoscaling config for connector deployment system metrics. type HPAConfig struct { // CpuUtilizationThreshold: Output only. Percent CPU utilization where HPA diff --git a/datamigration/v1/datamigration-api.json b/datamigration/v1/datamigration-api.json index b74174be3e..7c8111c6c3 100644 --- a/datamigration/v1/datamigration-api.json +++ b/datamigration/v1/datamigration-api.json @@ -2332,7 +2332,7 @@ } } }, - "revision": "20241211", + "revision": "20241231", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -3055,14 +3055,16 @@ "CLOUDSQL", "RDS", "AURORA", - "ALLOYDB" + "ALLOYDB", + "AZURE_DATABASE" ], "enumDescriptions": [ "Use this value for on-premise source database instances and ORACLE.", "Cloud SQL is the source instance provider.", "Amazon RDS is the source instance provider.", "Amazon Aurora is the source instance provider.", - "AlloyDB for PostgreSQL is the source instance provider." + "AlloyDB for PostgreSQL is the source instance provider.", + "Microsoft Azure Database for MySQL/PostgreSQL." ], "type": "string" }, @@ -3080,6 +3082,16 @@ ], "type": "string" }, + "satisfiesPzi": { + "description": "Output only. Zone Isolation compliance state of the resource.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Zone Separation compliance state of the resource.", + "readOnly": true, + "type": "boolean" + }, "sqlserver": { "$ref": "SqlServerConnectionProfile", "description": "Connection profile for a SQL Server data source." @@ -3497,14 +3509,16 @@ "CLOUDSQL", "RDS", "AURORA", - "ALLOYDB" + "ALLOYDB", + "AZURE_DATABASE" ], "enumDescriptions": [ "Use this value for on-premise source database instances and ORACLE.", "Cloud SQL is the source instance provider.", "Amazon RDS is the source instance provider.", "Amazon Aurora is the source instance provider.", - "AlloyDB for PostgreSQL is the source instance provider." + "AlloyDB for PostgreSQL is the source instance provider.", + "Microsoft Azure Database for MySQL/PostgreSQL." ], "type": "string" } @@ -4841,6 +4855,16 @@ "$ref": "ReverseSshConnectivity", "description": "The details needed to communicate to the source over Reverse SSH tunnel connectivity." }, + "satisfiesPzi": { + "description": "Output only. Zone Isolation compliance state of the resource.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Zone Separation compliance state of the resource.", + "readOnly": true, + "type": "boolean" + }, "source": { "description": "Required. The resource name (URI) of the source connection profile.", "type": "string" @@ -5666,6 +5690,16 @@ "description": "The name of the resource.", "type": "string" }, + "satisfiesPzi": { + "description": "Output only. Zone Isolation compliance state of the resource.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Zone Separation compliance state of the resource.", + "readOnly": true, + "type": "boolean" + }, "state": { "description": "Output only. The state of the private connection.", "enum": [ @@ -6114,7 +6148,7 @@ "properties": { "objectIdentifier": { "$ref": "SourceObjectIdentifier", - "description": "The object identifier." + "description": "Optional. The object identifier." } }, "type": "object" @@ -6124,7 +6158,7 @@ "id": "SourceObjectIdentifier", "properties": { "database": { - "description": "The database name. This will be required only if the object uses a database name as part of its unique identifier.", + "description": "Optional. The database name. This will be required only if the object uses a database name as part of its unique identifier.", "type": "string" }, "type": { @@ -6147,7 +6181,7 @@ "id": "SourceObjectsConfig", "properties": { "objectConfigs": { - "description": "The list of the objects to be migrated.", + "description": "Optional. The list of the objects to be migrated.", "items": { "$ref": "SourceObjectConfig" }, diff --git a/datamigration/v1/datamigration-gen.go b/datamigration/v1/datamigration-gen.go index 7b4b4cddca..15aab881bc 100644 --- a/datamigration/v1/datamigration-gen.go +++ b/datamigration/v1/datamigration-gen.go @@ -1080,6 +1080,7 @@ type ConnectionProfile struct { // "RDS" - Amazon RDS is the source instance provider. // "AURORA" - Amazon Aurora is the source instance provider. // "ALLOYDB" - AlloyDB for PostgreSQL is the source instance provider. + // "AZURE_DATABASE" - Microsoft Azure Database for MySQL/PostgreSQL. Provider string `json:"provider,omitempty"` // Role: Optional. The connection profile role. // @@ -1088,6 +1089,10 @@ type ConnectionProfile struct { // "SOURCE" - The role is source. // "DESTINATION" - The role is destination. Role string `json:"role,omitempty"` + // SatisfiesPzi: Output only. Zone Isolation compliance state of the resource. + SatisfiesPzi bool `json:"satisfiesPzi,omitempty"` + // SatisfiesPzs: Output only. Zone Separation compliance state of the resource. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // Sqlserver: Connection profile for a SQL Server data source. Sqlserver *SqlServerConnectionProfile `json:"sqlserver,omitempty"` // State: The current connection profile state (e.g. DRAFT, READY, or FAILED). @@ -1522,6 +1527,7 @@ type DatabaseType struct { // "RDS" - Amazon RDS is the source instance provider. // "AURORA" - Amazon Aurora is the source instance provider. // "ALLOYDB" - AlloyDB for PostgreSQL is the source instance provider. + // "AZURE_DATABASE" - Microsoft Azure Database for MySQL/PostgreSQL. Provider string `json:"provider,omitempty"` // ForceSendFields is a list of field names (e.g. "Engine") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -3011,6 +3017,10 @@ type MigrationJob struct { // ReverseSshConnectivity: The details needed to communicate to the source over // Reverse SSH tunnel connectivity. ReverseSshConnectivity *ReverseSshConnectivity `json:"reverseSshConnectivity,omitempty"` + // SatisfiesPzi: Output only. Zone Isolation compliance state of the resource. + SatisfiesPzi bool `json:"satisfiesPzi,omitempty"` + // SatisfiesPzs: Output only. Zone Separation compliance state of the resource. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // Source: Required. The resource name (URI) of the source connection profile. Source string `json:"source,omitempty"` // SourceDatabase: The database engine type and provider of the source. @@ -3909,6 +3919,10 @@ type PrivateConnection struct { Labels map[string]string `json:"labels,omitempty"` // Name: The name of the resource. Name string `json:"name,omitempty"` + // SatisfiesPzi: Output only. Zone Isolation compliance state of the resource. + SatisfiesPzi bool `json:"satisfiesPzi,omitempty"` + // SatisfiesPzs: Output only. Zone Separation compliance state of the resource. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // State: Output only. The state of the private connection. // // Possible values: @@ -4521,7 +4535,7 @@ func (s SourceNumericFilter) MarshalJSON() ([]byte, error) { // SourceObjectConfig: Config for a single migration job object. type SourceObjectConfig struct { - // ObjectIdentifier: The object identifier. + // ObjectIdentifier: Optional. The object identifier. ObjectIdentifier *SourceObjectIdentifier `json:"objectIdentifier,omitempty"` // ForceSendFields is a list of field names (e.g. "ObjectIdentifier") to // unconditionally include in API requests. By default, fields with empty or @@ -4543,8 +4557,8 @@ func (s SourceObjectConfig) MarshalJSON() ([]byte, error) { // SourceObjectIdentifier: An identifier for the Migration Job Object. type SourceObjectIdentifier struct { - // Database: The database name. This will be required only if the object uses a - // database name as part of its unique identifier. + // Database: Optional. The database name. This will be required only if the + // object uses a database name as part of its unique identifier. Database string `json:"database,omitempty"` // Type: Required. The type of the migration job object. // @@ -4574,7 +4588,7 @@ func (s SourceObjectIdentifier) MarshalJSON() ([]byte, error) { // SourceObjectsConfig: List of configurations for the source objects to be // migrated. type SourceObjectsConfig struct { - // ObjectConfigs: The list of the objects to be migrated. + // ObjectConfigs: Optional. The list of the objects to be migrated. ObjectConfigs []*SourceObjectConfig `json:"objectConfigs,omitempty"` // ObjectsSelectionType: Optional. The objects selection type of the migration // job. diff --git a/deploymentmanager/v2/deploymentmanager-api.json b/deploymentmanager/v2/deploymentmanager-api.json index 0a903c2c7c..d9a296db3a 100644 --- a/deploymentmanager/v2/deploymentmanager-api.json +++ b/deploymentmanager/v2/deploymentmanager-api.json @@ -1028,7 +1028,7 @@ } } }, - "revision": "20241122", + "revision": "20250102", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -1328,11 +1328,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/v2/deploymentmanager-gen.go b/deploymentmanager/v2/deploymentmanager-gen.go index 75f1a08eb4..7608aea032 100644 --- a/deploymentmanager/v2/deploymentmanager-gen.go +++ b/deploymentmanager/v2/deploymentmanager-gen.go @@ -743,14 +743,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/deploymentmanager/v2beta/deploymentmanager-api.json b/deploymentmanager/v2beta/deploymentmanager-api.json index f7bbabdfd1..2471227195 100644 --- a/deploymentmanager/v2beta/deploymentmanager-api.json +++ b/deploymentmanager/v2beta/deploymentmanager-api.json @@ -1636,7 +1636,7 @@ } } }, - "revision": "20241122", + "revision": "20250102", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { @@ -2140,11 +2140,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/v2beta/deploymentmanager-gen.go b/deploymentmanager/v2beta/deploymentmanager-gen.go index 5daeaf741b..66d60c7d09 100644 --- a/deploymentmanager/v2beta/deploymentmanager-gen.go +++ b/deploymentmanager/v2beta/deploymentmanager-gen.go @@ -1034,14 +1034,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