From d6822ad7882205ad60c6cd35997273b6c0d18d16 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 15 Sep 2023 00:24:14 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2161) --- appengine/v1/appengine-api.json | 35 +- appengine/v1/appengine-gen.go | 72 +++- appengine/v1beta/appengine-api.json | 124 +++++- appengine/v1beta/appengine-gen.go | 262 +++++++++---- chromemanagement/v1/chromemanagement-api.json | 88 ++++- chromemanagement/v1/chromemanagement-gen.go | 112 ++++++ displayvideo/v1/displayvideo-api.json | 18 +- displayvideo/v1/displayvideo-gen.go | 12 + displayvideo/v2/displayvideo-api.json | 18 +- displayvideo/v2/displayvideo-gen.go | 12 + firebasehosting/v1/firebasehosting-api.json | 40 +- firebasehosting/v1/firebasehosting-gen.go | 70 ++-- .../v1beta1/firebasehosting-api.json | 100 ++--- .../v1beta1/firebasehosting-gen.go | 190 +++++----- monitoring/v1/monitoring-api.json | 183 ++++++++- monitoring/v1/monitoring-gen.go | 357 +++++++++++++++++- .../v1/mybusinessverifications-api.json | 70 +--- .../v1/mybusinessverifications-gen.go | 267 ------------- .../v1/paymentsresellersubscription-api.json | 62 ++- .../v1/paymentsresellersubscription-gen.go | 114 +++++- run/v1/run-api.json | 14 +- run/v1/run-gen.go | 19 +- serviceusage/v1/serviceusage-api.json | 12 +- serviceusage/v1/serviceusage-gen.go | 18 +- serviceusage/v1beta1/serviceusage-api.json | 12 +- serviceusage/v1beta1/serviceusage-gen.go | 18 +- 26 files changed, 1568 insertions(+), 731 deletions(-) diff --git a/appengine/v1/appengine-api.json b/appengine/v1/appengine-api.json index 3e1a293bb1c..1161e5933ed 100644 --- a/appengine/v1/appengine-api.json +++ b/appengine/v1/appengine-api.json @@ -144,6 +144,21 @@ "location": "path", "required": true, "type": "string" + }, + "includeExtraData": { + "description": "Options to include extra data", + "enum": [ + "INCLUDE_EXTRA_DATA_UNSPECIFIED", + "INCLUDE_EXTRA_DATA_NONE", + "INCLUDE_GOOGLE_GENERATED_METADATA" + ], + "enumDescriptions": [ + "Unspecified: No extra data will be returned", + "Do not return any extra data", + "Return GGCM associated with the resources" + ], + "location": "query", + "type": "string" } }, "path": "v1/apps/{appsId}", @@ -1595,7 +1610,7 @@ } } }, - "revision": "20230807", + "revision": "20230909", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -1732,6 +1747,14 @@ "readOnly": true, "type": "string" }, + "generatedCustomerMetadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetApplicationRequest", + "type": "object" + }, "iap": { "$ref": "IdentityAwareProxy" }, @@ -3423,6 +3446,14 @@ "description": "A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.", "id": "Service", "properties": { + "generatedCustomerMetadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetServiceRequest", + "type": "object" + }, "id": { "description": "Relative name of the service within the application. Example: default.@OutputOnly", "type": "string" @@ -3979,7 +4010,7 @@ "type": "string" }, "name": { - "description": "Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.", + "description": "Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1.", "type": "string" } }, diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index 69be168a693..69d969b2d9d 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -451,6 +451,12 @@ type Application struct { // storing managed build docker images for this application. GcrDomain string `json:"gcrDomain,omitempty"` + // GeneratedCustomerMetadata: Additional Google Generated Customer + // Metadata, this field won't be provided by default and can be + // requested by setting the IncludeExtraData field in + // GetApplicationRequest + GeneratedCustomerMetadata googleapi.RawMessage `json:"generatedCustomerMetadata,omitempty"` + Iap *IdentityAwareProxy `json:"iap,omitempty"` // Id: Identifier of the Application resource. This identifier is @@ -3340,6 +3346,11 @@ func (s *ScriptHandler) MarshalJSON() ([]byte, error) { // collection of versions that define a specific set of code used to // implement the functionality of that service. type Service struct { + // GeneratedCustomerMetadata: Additional Google Generated Customer + // Metadata, this field won't be provided by default and can be + // requested by setting the IncludeExtraData field in GetServiceRequest + GeneratedCustomerMetadata googleapi.RawMessage `json:"generatedCustomerMetadata,omitempty"` + // Id: Relative name of the service within the application. Example: // default.@OutputOnly Id string `json:"id,omitempty"` @@ -3373,20 +3384,22 @@ type Service struct { // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Id") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "GeneratedCustomerMetadata") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "GeneratedCustomerMetadata") 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:"-"` } @@ -4126,7 +4139,7 @@ type VpcAccessConnector struct { EgressSetting string `json:"egressSetting,omitempty"` // Name: Full Serverless VPC Access Connector name e.g. - // /projects/my-project/locations/us-central1/connectors/c1. + // projects/my-project/locations/us-central1/connectors/c1. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "EgressSetting") to @@ -4340,6 +4353,24 @@ func (r *AppsService) Get(appsId string) *AppsGetCall { return c } +// IncludeExtraData sets the optional parameter "includeExtraData": +// Options to include extra data +// +// Possible values: +// +// "INCLUDE_EXTRA_DATA_UNSPECIFIED" - Unspecified: No extra data will +// +// be returned +// +// "INCLUDE_EXTRA_DATA_NONE" - Do not return any extra data +// "INCLUDE_GOOGLE_GENERATED_METADATA" - Return GGCM associated with +// +// the resources +func (c *AppsGetCall) IncludeExtraData(includeExtraData string) *AppsGetCall { + c.urlParams_.Set("includeExtraData", includeExtraData) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -4452,6 +4483,21 @@ func (c *AppsGetCall) Do(opts ...googleapi.CallOption) (*Application, error) { // "location": "path", // "required": true, // "type": "string" + // }, + // "includeExtraData": { + // "description": "Options to include extra data", + // "enum": [ + // "INCLUDE_EXTRA_DATA_UNSPECIFIED", + // "INCLUDE_EXTRA_DATA_NONE", + // "INCLUDE_GOOGLE_GENERATED_METADATA" + // ], + // "enumDescriptions": [ + // "Unspecified: No extra data will be returned", + // "Do not return any extra data", + // "Return GGCM associated with the resources" + // ], + // "location": "query", + // "type": "string" // } // }, // "path": "v1/apps/{appsId}", diff --git a/appengine/v1beta/appengine-api.json b/appengine/v1beta/appengine-api.json index 41194370648..64233d0df47 100644 --- a/appengine/v1beta/appengine-api.json +++ b/appengine/v1beta/appengine-api.json @@ -144,6 +144,21 @@ "location": "path", "required": true, "type": "string" + }, + "includeExtraData": { + "description": "Optional. Options to include extra data", + "enum": [ + "INCLUDE_EXTRA_DATA_UNSPECIFIED", + "INCLUDE_EXTRA_DATA_NONE", + "INCLUDE_GOOGLE_GENERATED_METADATA" + ], + "enumDescriptions": [ + "Unspecified: No extra data will be returned", + "Do not return any extra data", + "Return GGCM associated with the resources" + ], + "location": "query", + "type": "string" } }, "path": "v1beta/apps/{appsId}", @@ -1041,17 +1056,6 @@ ], "location": "query", "type": "string" - }, - "pageSize": { - "description": "Optional. Maximum results to return per page.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. Continuation token for fetching the next page of results.", - "location": "query", - "type": "string" } }, "path": "v1beta/apps/{appsId}/runtimes", @@ -1113,6 +1117,21 @@ "required": true, "type": "string" }, + "includeExtraData": { + "description": "Optional. Options to include extra data", + "enum": [ + "INCLUDE_EXTRA_DATA_UNSPECIFIED", + "INCLUDE_EXTRA_DATA_NONE", + "INCLUDE_GOOGLE_GENERATED_METADATA" + ], + "enumDescriptions": [ + "Unspecified: No extra data will be returned", + "Do not return any extra data", + "Return GGCM associated with the resources" + ], + "location": "query", + "type": "string" + }, "servicesId": { "description": "Part of `name`. See documentation of `appsId`.", "location": "path", @@ -1305,6 +1324,21 @@ "required": true, "type": "string" }, + "includeExtraData": { + "description": "Optional. Options to include extra data", + "enum": [ + "INCLUDE_EXTRA_DATA_UNSPECIFIED", + "INCLUDE_EXTRA_DATA_NONE", + "INCLUDE_GOOGLE_GENERATED_METADATA" + ], + "enumDescriptions": [ + "Unspecified: No extra data will be returned", + "Do not return any extra data", + "Return GGCM associated with the resources" + ], + "location": "query", + "type": "string" + }, "servicesId": { "description": "Part of `name`. See documentation of `appsId`.", "location": "path", @@ -1827,7 +1861,7 @@ } } }, - "revision": "20230807", + "revision": "20230909", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -1964,6 +1998,14 @@ "readOnly": true, "type": "string" }, + "generatedCustomerMetadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetApplicationRequest", + "type": "object" + }, "iap": { "$ref": "IdentityAwareProxy" }, @@ -2320,6 +2362,28 @@ }, "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, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp", + "id": "Date", + "properties": { + "day": { + "description": "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 day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "DebugInstanceRequest": { "description": "Request message for Instances.DebugInstance.", "id": "DebugInstanceRequest", @@ -3711,6 +3775,18 @@ "description": "Runtime versions for App Engine.", "id": "Runtime", "properties": { + "decommissionedDate": { + "$ref": "Date", + "description": "Date when Runtime is decommissioned." + }, + "deprecationDate": { + "$ref": "Date", + "description": "Date when Runtime is deprecated." + }, + "endOfSupportDate": { + "$ref": "Date", + "description": "Date when Runtime is end of support." + }, "environment": { "description": "The environment of the runtime.", "enum": [ @@ -3738,7 +3814,8 @@ "BETA", "GA", "DEPRECATED", - "DECOMMISSIONED" + "DECOMMISSIONED", + "END_OF_SUPPORT" ], "enumDescriptions": [ "Not specified.", @@ -3747,7 +3824,8 @@ "The runtime is in the Beta stage.", "The runtime is generally available.", "The runtime is deprecated.", - "The runtime is no longer supported." + "The runtime is no longer supported.", + "The runtime is end of support." ], "type": "string" }, @@ -3776,6 +3854,14 @@ "description": "A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.", "id": "Service", "properties": { + "generatedCustomerMetadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetServiceRequest", + "type": "object" + }, "id": { "description": "Relative name of the service within the application. Example: default.@OutputOnly", "type": "string" @@ -4148,6 +4234,14 @@ "$ref": "FlexibleRuntimeSettings", "description": "Settings for App Engine flexible runtimes." }, + "generatedCustomerMetadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest", + "type": "object" + }, "handlers": { "description": "An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.Only returned in GET requests if view=FULL is set.", "items": { @@ -4330,7 +4424,7 @@ "type": "string" }, "name": { - "description": "Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.", + "description": "Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1.", "type": "string" } }, diff --git a/appengine/v1beta/appengine-gen.go b/appengine/v1beta/appengine-gen.go index c41d71a074c..cf7764b464f 100644 --- a/appengine/v1beta/appengine-gen.go +++ b/appengine/v1beta/appengine-gen.go @@ -499,6 +499,12 @@ type Application struct { // storing managed build docker images for this application. GcrDomain string `json:"gcrDomain,omitempty"` + // GeneratedCustomerMetadata: Additional Google Generated Customer + // Metadata, this field won't be provided by default and can be + // requested by setting the IncludeExtraData field in + // GetApplicationRequest + GeneratedCustomerMetadata googleapi.RawMessage `json:"generatedCustomerMetadata,omitempty"` + Iap *IdentityAwareProxy `json:"iap,omitempty"` // Id: Identifier of the Application resource. This identifier is @@ -1205,6 +1211,52 @@ func (s *CustomMetric) UnmarshalJSON(data []byte) error { return nil } +// Date: 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 (for example, an anniversary). A year on its own, with a zero +// month and a zero day. A year and month, with a zero day (for example, +// 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 + // day isn't significant. + Day int64 `json:"day,omitempty"` + + // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year + // without a month and day. + Month int64 `json:"month,omitempty"` + + // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a + // date without a year. + Year int64 `json:"year,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Day") 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. "Day") 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 *Date) MarshalJSON() ([]byte, error) { + type NoMethod Date + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // DebugInstanceRequest: Request message for Instances.DebugInstance. type DebugInstanceRequest struct { // SshKey: Public SSH key to add to the instance. Examples: @@ -3485,6 +3537,15 @@ func (s *Resources) UnmarshalJSON(data []byte) error { // Runtime: Runtime versions for App Engine. type Runtime struct { + // DecommissionedDate: Date when Runtime is decommissioned. + DecommissionedDate *Date `json:"decommissionedDate,omitempty"` + + // DeprecationDate: Date when Runtime is deprecated. + DeprecationDate *Date `json:"deprecationDate,omitempty"` + + // EndOfSupportDate: Date when Runtime is end of support. + EndOfSupportDate *Date `json:"endOfSupportDate,omitempty"` + // Environment: The environment of the runtime. // // Possible values: @@ -3506,25 +3567,27 @@ type Runtime struct { // "GA" - The runtime is generally available. // "DEPRECATED" - The runtime is deprecated. // "DECOMMISSIONED" - The runtime is no longer supported. + // "END_OF_SUPPORT" - The runtime is end of support. Stage string `json:"stage,omitempty"` // Warnings: Warning messages, e.g., a deprecation warning. Warnings []string `json:"warnings,omitempty"` - // ForceSendFields is a list of field names (e.g. "Environment") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "DecommissionedDate") + // 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. "Environment") to include - // in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. However, any field with - // an empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DecommissionedDate") 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:"-"` } @@ -3571,6 +3634,11 @@ func (s *ScriptHandler) MarshalJSON() ([]byte, error) { // collection of versions that define a specific set of code used to // implement the functionality of that service. type Service struct { + // GeneratedCustomerMetadata: Additional Google Generated Customer + // Metadata, this field won't be provided by default and can be + // requested by setting the IncludeExtraData field in GetServiceRequest + GeneratedCustomerMetadata googleapi.RawMessage `json:"generatedCustomerMetadata,omitempty"` + // Id: Relative name of the service within the application. Example: // default.@OutputOnly Id string `json:"id,omitempty"` @@ -3604,20 +3672,22 @@ type Service struct { // server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Id") to - // unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "GeneratedCustomerMetadata") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Id") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. + // "GeneratedCustomerMetadata") 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:"-"` } @@ -4128,6 +4198,11 @@ type Version struct { // FlexibleRuntimeSettings: Settings for App Engine flexible runtimes. FlexibleRuntimeSettings *FlexibleRuntimeSettings `json:"flexibleRuntimeSettings,omitempty"` + // GeneratedCustomerMetadata: Additional Google Generated Customer + // Metadata, this field won't be provided by default and can be + // requested by setting the IncludeExtraData field in GetVersionRequest + GeneratedCustomerMetadata googleapi.RawMessage `json:"generatedCustomerMetadata,omitempty"` + // Handlers: An ordered list of URL-matching patterns that should be // applied to incoming requests. The first matching URL handles the // request and other request handlers are not attempted.Only returned in @@ -4356,7 +4431,7 @@ type VpcAccessConnector struct { EgressSetting string `json:"egressSetting,omitempty"` // Name: Full Serverless VPC Access Connector name e.g. - // /projects/my-project/locations/us-central1/connectors/c1. + // projects/my-project/locations/us-central1/connectors/c1. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "EgressSetting") to @@ -4570,6 +4645,24 @@ func (r *AppsService) Get(appsId string) *AppsGetCall { return c } +// IncludeExtraData sets the optional parameter "includeExtraData": +// Options to include extra data +// +// Possible values: +// +// "INCLUDE_EXTRA_DATA_UNSPECIFIED" - Unspecified: No extra data will +// +// be returned +// +// "INCLUDE_EXTRA_DATA_NONE" - Do not return any extra data +// "INCLUDE_GOOGLE_GENERATED_METADATA" - Return GGCM associated with +// +// the resources +func (c *AppsGetCall) IncludeExtraData(includeExtraData string) *AppsGetCall { + c.urlParams_.Set("includeExtraData", includeExtraData) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -4682,6 +4775,21 @@ func (c *AppsGetCall) Do(opts ...googleapi.CallOption) (*Application, error) { // "location": "path", // "required": true, // "type": "string" + // }, + // "includeExtraData": { + // "description": "Optional. Options to include extra data", + // "enum": [ + // "INCLUDE_EXTRA_DATA_UNSPECIFIED", + // "INCLUDE_EXTRA_DATA_NONE", + // "INCLUDE_GOOGLE_GENERATED_METADATA" + // ], + // "enumDescriptions": [ + // "Unspecified: No extra data will be returned", + // "Do not return any extra data", + // "Return GGCM associated with the resources" + // ], + // "location": "query", + // "type": "string" // } // }, // "path": "v1beta/apps/{appsId}", @@ -8666,20 +8774,6 @@ func (c *AppsRuntimesListCall) Environment(environment string) *AppsRuntimesList return c } -// PageSize sets the optional parameter "pageSize": Maximum results to -// return per page. -func (c *AppsRuntimesListCall) PageSize(pageSize int64) *AppsRuntimesListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": Continuation token -// for fetching the next page of results. -func (c *AppsRuntimesListCall) PageToken(pageToken string) *AppsRuntimesListCall { - c.urlParams_.Set("pageToken", pageToken) - return c -} - // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -8807,17 +8901,6 @@ func (c *AppsRuntimesListCall) Do(opts ...googleapi.CallOption) (*ListRuntimesRe // ], // "location": "query", // "type": "string" - // }, - // "pageSize": { - // "description": "Optional. Maximum results to return per page.", - // "format": "int32", - // "location": "query", - // "type": "integer" - // }, - // "pageToken": { - // "description": "Optional. Continuation token for fetching the next page of results.", - // "location": "query", - // "type": "string" // } // }, // "path": "v1beta/apps/{appsId}/runtimes", @@ -8831,27 +8914,6 @@ func (c *AppsRuntimesListCall) Do(opts ...googleapi.CallOption) (*ListRuntimesRe } -// Pages invokes f for each page of results. -// A non-nil error returned from f will halt the iteration. -// The provided context supersedes any context provided to the Context method. -func (c *AppsRuntimesListCall) Pages(ctx context.Context, f func(*ListRuntimesResponse) error) error { - c.ctx_ = ctx - defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point - for { - x, err := c.Do() - if err != nil { - return err - } - if err := f(x); err != nil { - return err - } - if x.NextPageToken == "" { - return nil - } - c.PageToken(x.NextPageToken) - } -} - // method id "appengine.apps.services.delete": type AppsServicesDeleteCall struct { @@ -9019,6 +9081,24 @@ func (r *AppsServicesService) Get(appsId string, servicesId string) *AppsService return c } +// IncludeExtraData sets the optional parameter "includeExtraData": +// Options to include extra data +// +// Possible values: +// +// "INCLUDE_EXTRA_DATA_UNSPECIFIED" - Unspecified: No extra data will +// +// be returned +// +// "INCLUDE_EXTRA_DATA_NONE" - Do not return any extra data +// "INCLUDE_GOOGLE_GENERATED_METADATA" - Return GGCM associated with +// +// the resources +func (c *AppsServicesGetCall) IncludeExtraData(includeExtraData string) *AppsServicesGetCall { + c.urlParams_.Set("includeExtraData", includeExtraData) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse // for more information. @@ -9134,6 +9214,21 @@ func (c *AppsServicesGetCall) Do(opts ...googleapi.CallOption) (*Service, error) // "required": true, // "type": "string" // }, + // "includeExtraData": { + // "description": "Optional. Options to include extra data", + // "enum": [ + // "INCLUDE_EXTRA_DATA_UNSPECIFIED", + // "INCLUDE_EXTRA_DATA_NONE", + // "INCLUDE_GOOGLE_GENERATED_METADATA" + // ], + // "enumDescriptions": [ + // "Unspecified: No extra data will be returned", + // "Do not return any extra data", + // "Return GGCM associated with the resources" + // ], + // "location": "query", + // "type": "string" + // }, // "servicesId": { // "description": "Part of `name`. See documentation of `appsId`.", // "location": "path", @@ -9874,6 +9969,24 @@ func (r *AppsServicesVersionsService) Get(appsId string, servicesId string, vers return c } +// IncludeExtraData sets the optional parameter "includeExtraData": +// Options to include extra data +// +// Possible values: +// +// "INCLUDE_EXTRA_DATA_UNSPECIFIED" - Unspecified: No extra data will +// +// be returned +// +// "INCLUDE_EXTRA_DATA_NONE" - Do not return any extra data +// "INCLUDE_GOOGLE_GENERATED_METADATA" - Return GGCM associated with +// +// the resources +func (c *AppsServicesVersionsGetCall) IncludeExtraData(includeExtraData string) *AppsServicesVersionsGetCall { + c.urlParams_.Set("includeExtraData", includeExtraData) + return c +} + // View sets the optional parameter "view": Controls the set of fields // returned in the Get response. // @@ -10009,6 +10122,21 @@ func (c *AppsServicesVersionsGetCall) Do(opts ...googleapi.CallOption) (*Version // "required": true, // "type": "string" // }, + // "includeExtraData": { + // "description": "Optional. Options to include extra data", + // "enum": [ + // "INCLUDE_EXTRA_DATA_UNSPECIFIED", + // "INCLUDE_EXTRA_DATA_NONE", + // "INCLUDE_GOOGLE_GENERATED_METADATA" + // ], + // "enumDescriptions": [ + // "Unspecified: No extra data will be returned", + // "Do not return any extra data", + // "Return GGCM associated with the resources" + // ], + // "location": "query", + // "type": "string" + // }, // "servicesId": { // "description": "Part of `name`. See documentation of `appsId`.", // "location": "path", diff --git a/chromemanagement/v1/chromemanagement-api.json b/chromemanagement/v1/chromemanagement-api.json index 38b0b6d2131..8879ff288c9 100644 --- a/chromemanagement/v1/chromemanagement-api.json +++ b/chromemanagement/v1/chromemanagement-api.json @@ -1040,7 +1040,7 @@ } } }, - "revision": "20230906", + "revision": "20230913", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -3382,16 +3382,24 @@ "enum": [ "EVENT_TYPE_UNSPECIFIED", "AUDIO_SEVERE_UNDERRUN", + "NETWORK_STATE_CHANGE", "USB_ADDED", "USB_REMOVED", - "NETWORK_HTTPS_LATENCY_CHANGE" + "NETWORK_HTTPS_LATENCY_CHANGE", + "WIFI_SIGNAL_STRENGTH_LOW", + "WIFI_SIGNAL_STRENGTH_RECOVERED", + "VPN_CONNECTION_STATE_CHANGE" ], "enumDescriptions": [ "Event type unknown.", "Triggered when a audio devices run out of buffer data for more than 5 seconds.", + "Triggered immediately on any changes to a network connection.", "Triggered when USB devices are added.", "Triggered when USB devices are removed.", - "Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem." + "Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem.", + "Triggered when connected WiFi network signal strength drops below -70dBm.", + "Triggered when connected WiFi network signal strength is recovered from a signal drop.", + "Triggered on changes to VPN connections." ], "type": "string" }, @@ -3405,6 +3413,11 @@ "readOnly": true, "type": "string" }, + "networkStateChangeEvent": { + "$ref": "GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent", + "description": "Output only. Payload for network connection state change event. Present only when `event_type` is `NETWORK_STATE_CHANGE`.", + "readOnly": true + }, "reportTime": { "description": "Timestamp that represents when the event was reported.", "format": "google-datetime", @@ -3419,6 +3432,16 @@ "$ref": "GoogleChromeManagementV1TelemetryUserInfo", "description": "Output only. Information about the user associated with the event.", "readOnly": true + }, + "vpnConnectionStateChangeEvent": { + "$ref": "GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent", + "description": "Output only. Payload for VPN connection state change event. Present only when `event_type` is `VPN_CONNECTION_STATE_CHANGE`.", + "readOnly": true + }, + "wifiSignalStrengthEvent": { + "$ref": "GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent", + "description": "Output only. Payload for WiFi signal strength events. Present only when `event_type` is `WIFI_SIGNAL_STRENGTH_LOW` or `WIFI_SIGNAL_STRENGTH_RECOVERED`.", + "readOnly": true } }, "type": "object" @@ -3433,16 +3456,24 @@ "enum": [ "EVENT_TYPE_UNSPECIFIED", "AUDIO_SEVERE_UNDERRUN", + "NETWORK_STATE_CHANGE", "USB_ADDED", "USB_REMOVED", - "NETWORK_HTTPS_LATENCY_CHANGE" + "NETWORK_HTTPS_LATENCY_CHANGE", + "WIFI_SIGNAL_STRENGTH_LOW", + "WIFI_SIGNAL_STRENGTH_RECOVERED", + "VPN_CONNECTION_STATE_CHANGE" ], "enumDescriptions": [ "Event type unknown.", "Triggered when a audio devices run out of buffer data for more than 5 seconds.", + "Triggered immediately on any changes to a network connection.", "Triggered when USB devices are added.", "Triggered when USB devices are removed.", - "Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem." + "Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem.", + "Triggered when connected WiFi network signal strength drops below -70dBm.", + "Triggered when connected WiFi network signal strength is recovered from a signal drop.", + "Triggered on changes to VPN connections." ], "type": "string" }, @@ -3476,6 +3507,53 @@ }, "type": "object" }, + "GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent": { + "description": "`TelemetryNetworkConnectionStateChangeEvent` is triggered on network connection state changes. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT", + "id": "GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent", + "properties": { + "connectionState": { + "description": "Current connection state of the network.", + "enum": [ + "NETWORK_CONNECTION_STATE_UNSPECIFIED", + "ONLINE", + "CONNECTED", + "PORTAL", + "CONNECTING", + "NOT_CONNECTED" + ], + "enumDescriptions": [ + "Network connection state unspecified.", + "The network is connected and internet connectivity is available.", + "The network is connected and not in a detected portal state, but internet connectivity may not be available.", + "The network is connected but a portal state was detected. Internet connectivity may be limited.", + "The network is in the process of connecting.", + "The network is not connected." + ], + "type": "string" + }, + "guid": { + "description": "Unique identifier of the network.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent": { + "description": "`TelemetryNetworkSignalStrengthEvent` is triggered on WiFi signal strength events. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT", + "id": "GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent", + "properties": { + "guid": { + "description": "Unique identifier of the network.", + "type": "string" + }, + "signalStrengthDbm": { + "description": "Signal strength RSSI value.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleChromeManagementV1TelemetryNotificationConfig": { "description": "Configuration to receive notifications of telemetry data.", "id": "GoogleChromeManagementV1TelemetryNotificationConfig", diff --git a/chromemanagement/v1/chromemanagement-gen.go b/chromemanagement/v1/chromemanagement-gen.go index 69c3f982cd2..db3e7610771 100644 --- a/chromemanagement/v1/chromemanagement-gen.go +++ b/chromemanagement/v1/chromemanagement-gen.go @@ -3367,11 +3367,19 @@ type GoogleChromeManagementV1TelemetryEvent struct { // "EVENT_TYPE_UNSPECIFIED" - Event type unknown. // "AUDIO_SEVERE_UNDERRUN" - Triggered when a audio devices run out of // buffer data for more than 5 seconds. + // "NETWORK_STATE_CHANGE" - Triggered immediately on any changes to a + // network connection. // "USB_ADDED" - Triggered when USB devices are added. // "USB_REMOVED" - Triggered when USB devices are removed. // "NETWORK_HTTPS_LATENCY_CHANGE" - Triggered when a new HTTPS latency // problem was detected or the device has recovered form an existing // HTTPS latency problem. + // "WIFI_SIGNAL_STRENGTH_LOW" - Triggered when connected WiFi network + // signal strength drops below -70dBm. + // "WIFI_SIGNAL_STRENGTH_RECOVERED" - Triggered when connected WiFi + // network signal strength is recovered from a signal drop. + // "VPN_CONNECTION_STATE_CHANGE" - Triggered on changes to VPN + // connections. EventType string `json:"eventType,omitempty"` // HttpsLatencyChangeEvent: Output only. Payload for HTTPS latency @@ -3382,6 +3390,11 @@ type GoogleChromeManagementV1TelemetryEvent struct { // Name: Output only. Resource name of the event. Name string `json:"name,omitempty"` + // NetworkStateChangeEvent: Output only. Payload for network connection + // state change event. Present only when `event_type` is + // `NETWORK_STATE_CHANGE`. + NetworkStateChangeEvent *GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent `json:"networkStateChangeEvent,omitempty"` + // ReportTime: Timestamp that represents when the event was reported. ReportTime string `json:"reportTime,omitempty"` @@ -3394,6 +3407,16 @@ type GoogleChromeManagementV1TelemetryEvent struct { // event. User *GoogleChromeManagementV1TelemetryUserInfo `json:"user,omitempty"` + // VpnConnectionStateChangeEvent: Output only. Payload for VPN + // connection state change event. Present only when `event_type` is + // `VPN_CONNECTION_STATE_CHANGE`. + VpnConnectionStateChangeEvent *GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent `json:"vpnConnectionStateChangeEvent,omitempty"` + + // WifiSignalStrengthEvent: Output only. Payload for WiFi signal + // strength events. Present only when `event_type` is + // `WIFI_SIGNAL_STRENGTH_LOW` or `WIFI_SIGNAL_STRENGTH_RECOVERED`. + WifiSignalStrengthEvent *GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent `json:"wifiSignalStrengthEvent,omitempty"` + // ForceSendFields is a list of field names (e.g. // "AudioSevereUnderrunEvent") to unconditionally include in API // requests. By default, fields with empty or default values are omitted @@ -3429,11 +3452,19 @@ type GoogleChromeManagementV1TelemetryEventNotificationFilter struct { // "EVENT_TYPE_UNSPECIFIED" - Event type unknown. // "AUDIO_SEVERE_UNDERRUN" - Triggered when a audio devices run out of // buffer data for more than 5 seconds. + // "NETWORK_STATE_CHANGE" - Triggered immediately on any changes to a + // network connection. // "USB_ADDED" - Triggered when USB devices are added. // "USB_REMOVED" - Triggered when USB devices are removed. // "NETWORK_HTTPS_LATENCY_CHANGE" - Triggered when a new HTTPS latency // problem was detected or the device has recovered form an existing // HTTPS latency problem. + // "WIFI_SIGNAL_STRENGTH_LOW" - Triggered when connected WiFi network + // signal strength drops below -70dBm. + // "WIFI_SIGNAL_STRENGTH_RECOVERED" - Triggered when connected WiFi + // network signal strength is recovered from a signal drop. + // "VPN_CONNECTION_STATE_CHANGE" - Triggered on changes to VPN + // connections. EventTypes []string `json:"eventTypes,omitempty"` // ForceSendFields is a list of field names (e.g. "EventTypes") to @@ -3503,6 +3534,87 @@ func (s *GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent) MarshalJSON() return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent: +// `TelemetryNetworkConnectionStateChangeEvent` is triggered on network +// connection state changes. * Granular permission needed: +// TELEMETRY_API_NETWORK_REPORT +type GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent struct { + // ConnectionState: Current connection state of the network. + // + // Possible values: + // "NETWORK_CONNECTION_STATE_UNSPECIFIED" - Network connection state + // unspecified. + // "ONLINE" - The network is connected and internet connectivity is + // available. + // "CONNECTED" - The network is connected and not in a detected portal + // state, but internet connectivity may not be available. + // "PORTAL" - The network is connected but a portal state was + // detected. Internet connectivity may be limited. + // "CONNECTING" - The network is in the process of connecting. + // "NOT_CONNECTED" - The network is not connected. + ConnectionState string `json:"connectionState,omitempty"` + + // Guid: Unique identifier of the network. + Guid string `json:"guid,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ConnectionState") 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. "ConnectionState") 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 *GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent: +// `TelemetryNetworkSignalStrengthEvent` is triggered on WiFi signal +// strength events. * Granular permission needed: +// TELEMETRY_API_NETWORK_REPORT +type GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent struct { + // Guid: Unique identifier of the network. + Guid string `json:"guid,omitempty"` + + // SignalStrengthDbm: Signal strength RSSI value. + SignalStrengthDbm int64 `json:"signalStrengthDbm,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Guid") 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. "Guid") 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 *GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleChromeManagementV1TelemetryNotificationConfig: Configuration to // receive notifications of telemetry data. type GoogleChromeManagementV1TelemetryNotificationConfig struct { diff --git a/displayvideo/v1/displayvideo-api.json b/displayvideo/v1/displayvideo-api.json index ed511fd2be4..2ddad15149f 100644 --- a/displayvideo/v1/displayvideo-api.json +++ b/displayvideo/v1/displayvideo-api.json @@ -8146,7 +8146,7 @@ } } }, - "revision": "20230906", + "revision": "20230914", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -13513,7 +13513,9 @@ "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", "LINE_ITEM_TYPE_AUDIO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP" + "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", + "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", + "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" ], "enumDescriptions": [ "Type value is not specified or is unknown in this version. Line items of this type and their targeting cannot be created or updated using the API.", @@ -13524,7 +13526,9 @@ "Display ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", "Video ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", "RTB Audio ads sold for a variety of environments.", - "Over-the-top ads present in OTT insertion orders. This type is only applicable to line items with an insertion order of insertion_order_type `OVER_THE_TOP`." + "Over-the-top ads present in OTT insertion orders. This type is only applicable to line items with an insertion order of insertion_order_type `OVER_THE_TOP`.", + "Digital display out of home. Line items of this type and their targeting cannot be created or updated using the API.", + "Digital video out of home. Line items of this type and their targeting cannot be created or updated using the API." ], "type": "string" }, @@ -15403,7 +15407,9 @@ "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", "LINE_ITEM_TYPE_AUDIO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP" + "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", + "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", + "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" ], "enumDescriptions": [ "Type value is not specified or is unknown in this version. Line items of this type and their targeting cannot be created or updated using the API.", @@ -15414,7 +15420,9 @@ "Display ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", "Video ads served on mobile app inventory. Line items of this type and their targeting cannot be created or updated using the API.", "RTB Audio ads sold for a variety of environments.", - "Over-the-top ads present in OTT insertion orders. This type is only applicable to line items with an insertion order of insertion_order_type `OVER_THE_TOP`." + "Over-the-top ads present in OTT insertion orders. This type is only applicable to line items with an insertion order of insertion_order_type `OVER_THE_TOP`.", + "Digital display out of home. Line items of this type and their targeting cannot be created or updated using the API.", + "Digital video out of home. Line items of this type and their targeting cannot be created or updated using the API." ], "type": "string" }, diff --git a/displayvideo/v1/displayvideo-gen.go b/displayvideo/v1/displayvideo-gen.go index fe21004b3ce..9abcd5ce3c8 100644 --- a/displayvideo/v1/displayvideo-gen.go +++ b/displayvideo/v1/displayvideo-gen.go @@ -8462,6 +8462,12 @@ type GenerateDefaultLineItemRequest struct { // "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP" - Over-the-top ads present in // OTT insertion orders. This type is only applicable to line items with // an insertion order of insertion_order_type `OVER_THE_TOP`. + // "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME" - Digital display out of home. + // Line items of this type and their targeting cannot be created or + // updated using the API. + // "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" - Digital video out of home. + // Line items of this type and their targeting cannot be created or + // updated using the API. LineItemType string `json:"lineItemType,omitempty"` // MobileApp: The mobile app promoted by the line item. This is @@ -10666,6 +10672,12 @@ type LineItem struct { // "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP" - Over-the-top ads present in // OTT insertion orders. This type is only applicable to line items with // an insertion order of insertion_order_type `OVER_THE_TOP`. + // "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME" - Digital display out of home. + // Line items of this type and their targeting cannot be created or + // updated using the API. + // "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" - Digital video out of home. + // Line items of this type and their targeting cannot be created or + // updated using the API. LineItemType string `json:"lineItemType,omitempty"` // MobileApp: The mobile app promoted by the line item. This is diff --git a/displayvideo/v2/displayvideo-api.json b/displayvideo/v2/displayvideo-api.json index d480f05f730..fa562379e7c 100644 --- a/displayvideo/v2/displayvideo-api.json +++ b/displayvideo/v2/displayvideo-api.json @@ -9172,7 +9172,7 @@ } } }, - "revision": "20230906", + "revision": "20230914", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -15044,7 +15044,9 @@ "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE_OVER_THE_TOP", "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH_OVER_THE_TOP", "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY" + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY", + "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", + "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" ], "enumDescriptions": [ "Type value is not specified or is unknown in this version. Line items of this type and their targeting cannot be created or updated using the API.", @@ -15065,7 +15067,9 @@ "Connected TV youTube video ads (up to 15 seconds) that cannot be skipped. Line items of this type and their targeting cannot be created or updated using the API.", "Connected TV youTube video ads that optimize reaching more unique users at lower cost. May include bumper ads, skippable in-stream ads, or a mix of types. Line items of this type and their targeting cannot be created or updated using the API.", "Connected TV default YouTube video ads. Only include in-stream ad-format. Line items of this type and their targeting cannot be created or updated using the API.", - "The goal of this line item type is to show the YouTube ads target number of times to the same person in a certain period of time. Line items of this type and their targeting cannot be created or updated using the API." + "The goal of this line item type is to show the YouTube ads target number of times to the same person in a certain period of time. Line items of this type and their targeting cannot be created or updated using the API.", + "Digital display out of home. Line items of this type and their targeting cannot be created or updated using the API.", + "Digital video out of home. Line items of this type and their targeting cannot be created or updated using the API." ], "type": "string" }, @@ -16984,7 +16988,9 @@ "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE_OVER_THE_TOP", "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH_OVER_THE_TOP", "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY" + "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY", + "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", + "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" ], "enumDescriptions": [ "Type value is not specified or is unknown in this version. Line items of this type and their targeting cannot be created or updated using the API.", @@ -17005,7 +17011,9 @@ "Connected TV youTube video ads (up to 15 seconds) that cannot be skipped. Line items of this type and their targeting cannot be created or updated using the API.", "Connected TV youTube video ads that optimize reaching more unique users at lower cost. May include bumper ads, skippable in-stream ads, or a mix of types. Line items of this type and their targeting cannot be created or updated using the API.", "Connected TV default YouTube video ads. Only include in-stream ad-format. Line items of this type and their targeting cannot be created or updated using the API.", - "The goal of this line item type is to show the YouTube ads target number of times to the same person in a certain period of time. Line items of this type and their targeting cannot be created or updated using the API." + "The goal of this line item type is to show the YouTube ads target number of times to the same person in a certain period of time. Line items of this type and their targeting cannot be created or updated using the API.", + "Digital display out of home. Line items of this type and their targeting cannot be created or updated using the API.", + "Digital video out of home. Line items of this type and their targeting cannot be created or updated using the API." ], "type": "string" }, diff --git a/displayvideo/v2/displayvideo-gen.go b/displayvideo/v2/displayvideo-gen.go index 878235f29a8..227247d2b5b 100644 --- a/displayvideo/v2/displayvideo-gen.go +++ b/displayvideo/v2/displayvideo-gen.go @@ -9279,6 +9279,12 @@ type GenerateDefaultLineItemRequest struct { // times to the same person in a certain period of time. Line items of // this type and their targeting cannot be created or updated using the // API. + // "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME" - Digital display out of home. + // Line items of this type and their targeting cannot be created or + // updated using the API. + // "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" - Digital video out of home. + // Line items of this type and their targeting cannot be created or + // updated using the API. LineItemType string `json:"lineItemType,omitempty"` // MobileApp: The mobile app promoted by the line item. This is @@ -11586,6 +11592,12 @@ type LineItem struct { // times to the same person in a certain period of time. Line items of // this type and their targeting cannot be created or updated using the // API. + // "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME" - Digital display out of home. + // Line items of this type and their targeting cannot be created or + // updated using the API. + // "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME" - Digital video out of home. + // Line items of this type and their targeting cannot be created or + // updated using the API. LineItemType string `json:"lineItemType,omitempty"` // MobileApp: The mobile app promoted by the line item. This is diff --git a/firebasehosting/v1/firebasehosting-api.json b/firebasehosting/v1/firebasehosting-api.json index 1dde4d26a14..657d333c4e9 100644 --- a/firebasehosting/v1/firebasehosting-api.json +++ b/firebasehosting/v1/firebasehosting-api.json @@ -269,7 +269,7 @@ } } }, - "revision": "20230910", + "revision": "20230913", "rootUrl": "https://firebasehosting.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -332,12 +332,12 @@ "HOST_ACTIVE" ], "enumDescriptions": [ - "Your `CustomDomain`'s host state is unspecified. The message is invalid if this is unspecified.", - "Your `CustomDomain`'s domain name isn't associated with any IP addresses.", - "Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain`'s `issues` field for more details.", - "Your `CustomDomain`'s domain name has IP addresses that don't ultimately resolve to Hosting.", - "Your `CustomDomain`'s domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services.", - "All requests against your `CustomDomain`'s domain name are served by Hosting. If the `CustomDomain`'s `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting Site's content on the domain name." + "Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", + "Your custom domain's domain name isn't associated with any IP addresses.", + "Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain` object's `issues` field for more details.", + "Your custom domain's domain name has IP addresses that don't ultimately resolve to Hosting.", + "Your custom domain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services.", + "All requests against your custom domain's domain name are served by Hosting. If the custom domain's `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting site's content on the domain name." ], "type": "string" }, @@ -349,7 +349,7 @@ "type": "array" }, "liveMigrationSteps": { - "description": "A set of DNS record updates and ACME challenges that allow you to transition domain names to Firebase Hosting with zero downtime. These updates allow Hosting's to create an SSL certificate and establish ownership for your custom domain before Hosting begins serving traffic on it. If your domain name is already in active use with another provider, add one of the challenges and make the recommended dns updates. After adding challenges and adjusting DNS records as necessary, wait for the `ownershipState` to be `OWNERSHIP_ACTIVE` and the `certState` to be `CERT_ACTIVE` before sending traffic to Hosting.", + "description": "A set of DNS record updates and ACME challenges that allow you to transition domain names to Firebase Hosting with zero downtime. These updates allow Hosting to create an SSL certificate and establish ownership for your custom domain before Hosting begins serving traffic on it. If your domain name is already in active use with another provider, add one of the challenges and make the recommended DNS updates. After adding challenges and adjusting DNS records as necessary, wait for the `ownershipState` to be `OWNERSHIP_ACTIVE` and the `certState` to be `CERT_ACTIVE` before sending traffic to Hosting.", "items": { "$ref": "LiveMigrationStep" }, @@ -367,13 +367,13 @@ "OWNERSHIP_ACTIVE" ], "enumDescriptions": [ - "Your `CustomDomain`'s ownership state is unspecified. This should never happen.", - "Your `CustomDomain`'s domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf.", - "Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain`'s `issues` field for more details.", - "Your `CustomDomain`'s domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project.", - "Your `CustomDomain`'s domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership.", - "Your `CustomDomain`'s DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours.", - "Your `CustomDomain`'s domain name has `TXT` records that grant its project permission to act on its behalf." + "Your custom domain's ownership state is unspecified. This should never happen.", + "Your custom domain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf.", + "Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain` object's `issues` field for more details.", + "Your custom domain's domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project.", + "Your custom domain's domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership.", + "Your custom domain's DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours.", + "Your custom domain's domain name has `TXT` records that grant its project permission to act on its behalf." ], "type": "string" }, @@ -385,7 +385,7 @@ "type": "object" }, "DnsRecord": { - "description": "DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name's DNS records, you're informing other systems (e.g. your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain name (e.g. your Hosting site files).", + "description": "DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain name (such as your Hosting site files).", "id": "DnsRecord", "properties": { "domainName": { @@ -394,7 +394,7 @@ "type": "string" }, "rdata": { - "description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", + "description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", "readOnly": true, "type": "string" }, @@ -438,7 +438,7 @@ "type": "object" }, "DnsRecordSet": { - "description": "A set of DNS records relevant to the set up and maintenance of a Custom Domain in Firebase Hosting.", + "description": "A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.", "id": "DnsRecordSet", "properties": { "checkError": { @@ -463,11 +463,11 @@ "type": "object" }, "DnsUpdates": { - "description": "A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your Custom Domain can be fully active.", + "description": "A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active.", "id": "DnsUpdates", "properties": { "checkTime": { - "description": "The last time Hosting checked your CustomDomain's DNS records.", + "description": "The last time Hosting checked your custom domain's DNS records.", "format": "google-datetime", "type": "string" }, diff --git a/firebasehosting/v1/firebasehosting-gen.go b/firebasehosting/v1/firebasehosting-gen.go index e52395faac2..c5cbd879749 100644 --- a/firebasehosting/v1/firebasehosting-gen.go +++ b/firebasehosting/v1/firebasehosting-gen.go @@ -288,23 +288,23 @@ type CustomDomainMetadata struct { // refers to. // // Possible values: - // "HOST_STATE_UNSPECIFIED" - Your `CustomDomain`'s host state is + // "HOST_STATE_UNSPECIFIED" - Your custom domain's host state is // unspecified. The message is invalid if this is unspecified. - // "HOST_UNHOSTED" - Your `CustomDomain`'s domain name isn't - // associated with any IP addresses. - // "HOST_UNREACHABLE" - Your `CustomDomain`'s domain name can't be + // "HOST_UNHOSTED" - Your custom domain's domain name isn't associated + // with any IP addresses. + // "HOST_UNREACHABLE" - Your custom domain's domain name can't be // reached. Hosting services' DNS queries to find your domain name's IP - // addresses resulted in errors. See your `CustomDomain`'s `issues` - // field for more details. - // "HOST_MISMATCH" - Your `CustomDomain`'s domain name has IP - // addresses that don't ultimately resolve to Hosting. - // "HOST_CONFLICT" - Your `CustomDomain`'s domain name has IP - // addresses that resolve to both Hosting and other services. To ensure - // consistent results, remove `A` and `AAAA` records related to - // non-Hosting services. - // "HOST_ACTIVE" - All requests against your `CustomDomain`'s domain - // name are served by Hosting. If the `CustomDomain`'s `OwnershipState` - // is also `ACTIVE`, Hosting serves your Hosting Site's content on the + // addresses resulted in errors. See your `CustomDomain` object's + // `issues` field for more details. + // "HOST_MISMATCH" - Your custom domain's domain name has IP addresses + // that don't ultimately resolve to Hosting. + // "HOST_CONFLICT" - Your custom domain's domain name has IP addresses + // that resolve to both Hosting and other services. To ensure consistent + // results, remove `A` and `AAAA` records related to non-Hosting + // services. + // "HOST_ACTIVE" - All requests against your custom domain's domain + // name are served by Hosting. If the custom domain's `OwnershipState` + // is also `ACTIVE`, Hosting serves your Hosting site's content on the // domain name. HostState string `json:"hostState,omitempty"` @@ -316,11 +316,11 @@ type CustomDomainMetadata struct { // LiveMigrationSteps: A set of DNS record updates and ACME challenges // that allow you to transition domain names to Firebase Hosting with - // zero downtime. These updates allow Hosting's to create an SSL + // zero downtime. These updates allow Hosting to create an SSL // certificate and establish ownership for your custom domain before // Hosting begins serving traffic on it. If your domain name is already // in active use with another provider, add one of the challenges and - // make the recommended dns updates. After adding challenges and + // make the recommended DNS updates. After adding challenges and // adjusting DNS records as necessary, wait for the `ownershipState` to // be `OWNERSHIP_ACTIVE` and the `certState` to be `CERT_ACTIVE` before // sending traffic to Hosting. @@ -330,27 +330,27 @@ type CustomDomainMetadata struct { // `CustomDomain` refers to. // // Possible values: - // "OWNERSHIP_STATE_UNSPECIFIED" - Your `CustomDomain`'s ownership + // "OWNERSHIP_STATE_UNSPECIFIED" - Your custom domain's ownership // state is unspecified. This should never happen. - // "OWNERSHIP_MISSING" - Your `CustomDomain`'s domain name has no + // "OWNERSHIP_MISSING" - Your custom domain's domain name has no // Hosting-related ownership records; no Firebase project has permission // to act on the domain name's behalf. - // "OWNERSHIP_UNREACHABLE" - Your `CustomDomain`'s domain name can't - // be reached. Hosting services' DNS queries to find your domain name's - // ownership records resulted in errors. See your `CustomDomain`'s - // `issues` field for more details. - // "OWNERSHIP_MISMATCH" - Your `CustomDomain`'s domain name is owned - // by another Firebase project. Remove the conflicting `TXT` records and + // "OWNERSHIP_UNREACHABLE" - Your custom domain's domain name can't be + // reached. Hosting services' DNS queries to find your domain name's + // ownership records resulted in errors. See your `CustomDomain` + // object's `issues` field for more details. + // "OWNERSHIP_MISMATCH" - Your custom domain's domain name is owned by + // another Firebase project. Remove the conflicting `TXT` records and // replace them with project-specific records for your current Firebase // project. - // "OWNERSHIP_CONFLICT" - Your `CustomDomain`'s domain name has + // "OWNERSHIP_CONFLICT" - Your custom domain's domain name has // conflicting `TXT` records that indicate ownership by both your // current Firebase project and another project. Remove the other // project's ownership records to grant the current project ownership. - // "OWNERSHIP_PENDING" - Your `CustomDomain`'s DNS records are + // "OWNERSHIP_PENDING" - Your custom domain's DNS records are // configured correctly. Hosting will transfer ownership of your domain // to this `CustomDomain` within 24 hours. - // "OWNERSHIP_ACTIVE" - Your `CustomDomain`'s domain name has `TXT` + // "OWNERSHIP_ACTIVE" - Your custom domain's domain name has `TXT` // records that grant its project permission to act on its behalf. OwnershipState string `json:"ownershipState,omitempty"` @@ -398,9 +398,9 @@ func (s *CustomDomainMetadata) MarshalJSON() ([]byte, error) { // DnsRecord: DNS records are resource records that define how systems // and services should behave when handling requests for a domain name. // For example, when you add `A` records to your domain name's DNS -// records, you're informing other systems (e.g. your users' web +// records, you're informing other systems (such as your users' web // browsers) to contact those IPv4 addresses to retrieve resources -// relevant to your domain name (e.g. your Hosting site files). +// relevant to your domain name (such as your Hosting site files). type DnsRecord struct { // DomainName: Output only. The domain name the record pertains to, e.g. // `foo.bar.com.`. @@ -410,7 +410,7 @@ type DnsRecord struct { // depends on record type: - A and AAAA: IP addresses for the domain // name. - CNAME: Another domain to check for records. - TXT: Arbitrary // text strings associated with the domain name. Hosting uses TXT - // records to determine a which Firebase Projects have permission to act + // records to determine which Firebase projects have permission to act // on the domain name's behalf. - CAA: The record's flags, tag, and // value, e.g. `0 issue "pki.goog". Rdata string `json:"rdata,omitempty"` @@ -483,8 +483,8 @@ func (s *DnsRecord) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// DnsRecordSet: A set of DNS records relevant to the set up and -// maintenance of a Custom Domain in Firebase Hosting. +// DnsRecordSet: A set of DNS records relevant to the setup and +// maintenance of a custom domain in Firebase Hosting. type DnsRecordSet struct { // CheckError: Output only. An error Hosting services encountered when // querying your domain name's DNS records. Note: Hosting ignores @@ -525,10 +525,10 @@ func (s *DnsRecordSet) MarshalJSON() ([]byte, error) { // Hosting to serve secure content in response to requests against your // domain name. These updates present the current state of your domain // name's DNS records when Hosting last queried them, and the desired -// set of records that Hosting needs to see before your Custom Domain +// set of records that Hosting needs to see before your custom domain // can be fully active. type DnsUpdates struct { - // CheckTime: The last time Hosting checked your CustomDomain's DNS + // CheckTime: The last time Hosting checked your custom domain's DNS // records. CheckTime string `json:"checkTime,omitempty"` diff --git a/firebasehosting/v1beta1/firebasehosting-api.json b/firebasehosting/v1beta1/firebasehosting-api.json index f34ecb513c4..7e447c9ffac 100644 --- a/firebasehosting/v1beta1/firebasehosting-api.json +++ b/firebasehosting/v1beta1/firebasehosting-api.json @@ -672,7 +672,7 @@ "type": "string" }, "parent": { - "description": "Required. The `CustomDomain`'s parent, specifically a Firebase Hosting `Site`.", + "description": "Required. The custom domain's parent, specifically a Firebase Hosting `Site`.", "location": "path", "pattern": "^projects/[^/]+/sites/[^/]+$", "required": true, @@ -766,7 +766,7 @@ ] }, "list": { - "description": "Lists each `CustomDomain` associated with the specified parent Hosting Site. Returns `CustomDomain`s in a consistent, but undefined, order to facilitate pagination.", + "description": "Lists each `CustomDomain` associated with the specified parent Hosting site. Returns `CustomDomain`s in a consistent, but undefined, order to facilitate pagination.", "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains", "httpMethod": "GET", "id": "firebasehosting.projects.sites.customDomains.list", @@ -855,7 +855,7 @@ ] }, "undelete": { - "description": "Undeletes the specified `CustomDomain` if it has been soft-deleted. Hosting retains soft-deleted CustomDomains for around 30 days before permanently deleting them.", + "description": "Undeletes the specified `CustomDomain` if it has been soft-deleted. Hosting retains soft-deleted custom domains for around 30 days before permanently deleting them.", "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}:undelete", "httpMethod": "POST", "id": "firebasehosting.projects.sites.customDomains.undelete", @@ -2422,7 +2422,7 @@ } } }, - "revision": "20230910", + "revision": "20230913", "rootUrl": "https://firebasehosting.googleapis.com/", "schemas": { "ActingUser": { @@ -2488,7 +2488,7 @@ "type": "object" }, "Certificate": { - "description": "An SSL certificate used to provide end-to-end encryption for requests against your domain name. A `Certificate` can be an actual SSL certificate or, for newly-created Custom Domains, Hosting's intent to create one.", + "description": "An SSL certificate used to provide end-to-end encryption for requests against your domain name. A `Certificate` can be an actual SSL certificate or, for newly-created custom domains, Hosting's intent to create one.", "id": "Certificate", "properties": { "createTime": { @@ -2498,7 +2498,7 @@ "type": "string" }, "expireTime": { - "description": "Output only. The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your Site's visitors.", + "description": "Output only. The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2546,8 +2546,8 @@ "enumDescriptions": [ "The certificate's type is unspecified. The message is invalid if this is unspecified.", "A short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.", - "The standard certificate for Spark plan `CustomDomain`s.", - "Blaze plan only. A certificate that covers from 1 to 100 domain names with `CustomDomain`s on the same Firebase project.", + "The standard certificate for Spark plan custom domains.", + "Blaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.", "Blaze plan only. A certificate that covers a single domain name." ], "readOnly": true, @@ -2658,7 +2658,7 @@ "type": "object" }, "CustomDomain": { - "description": "A `CustomDomain` is an entity that links a domain name to a Firebase Hosting Site. Add a `CustomDomain` to your Site to allow Hosting to serve the Site's content in response to requests against your domain name.", + "description": "A `CustomDomain` is an entity that links a domain name to a Firebase Hosting site. Add a `CustomDomain` to your site to allow Hosting to serve the site's content in response to requests against your domain name.", "id": "CustomDomain", "properties": { "annotations": { @@ -2670,11 +2670,11 @@ }, "cert": { "$ref": "Certificate", - "description": "Output only. The SSL certificate Hosting has for this `CustomDomain`'s domain name. For new `CustomDomain`s, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the `state` field for more.", + "description": "Output only. The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the `state` field for more.", "readOnly": true }, "certPreference": { - "description": "A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan `CustomDomain`s only have access to the `GROUPED` cert type, while Blaze plan can select any option.", + "description": "A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the `GROUPED` cert type, while Blaze plan domains can select any option.", "enum": [ "TYPE_UNSPECIFIED", "TEMPORARY", @@ -2685,20 +2685,20 @@ "enumDescriptions": [ "The certificate's type is unspecified. The message is invalid if this is unspecified.", "A short-lived certificate type that covers a domain name temporarily, while Hosting creates a more permanent certificate.", - "The standard certificate for Spark plan `CustomDomain`s.", - "Blaze plan only. A certificate that covers from 1 to 100 domain names with `CustomDomain`s on the same Firebase project.", + "The standard certificate for Spark plan custom domains.", + "Blaze plan only. A certificate that covers from 1 to 100 domain names with custom domains on the same Firebase project.", "Blaze plan only. A certificate that covers a single domain name." ], "type": "string" }, "createTime": { - "description": "Output only. The `CustomDomain`'s create time.", + "description": "Output only. The custom domain's create time.", "format": "google-datetime", "readOnly": true, "type": "string" }, "deleteTime": { - "description": "Output only. The time the `CustomDomain` was deleted; null for `CustomDomains` that haven't been deleted. Deleted `CustomDomains` persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted `CustomDomain`, make an `UndeleteCustomDomain` request.", + "description": "Output only. The time the `CustomDomain` was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make an `UndeleteCustomDomain` request.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2709,7 +2709,7 @@ "type": "string" }, "expireTime": { - "description": "Output only. The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for `CustomDomains` that haven't been deleted.", + "description": "Output only. The minimum time before a soft-deleted `CustomDomain` is completely removed from Hosting; null for custom domains that haven't been deleted.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2725,12 +2725,12 @@ "HOST_ACTIVE" ], "enumDescriptions": [ - "Your `CustomDomain`'s host state is unspecified. The message is invalid if this is unspecified.", - "Your `CustomDomain`'s domain name isn't associated with any IP addresses.", - "Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain`'s `issues` field for more details.", - "Your `CustomDomain`'s domain name has IP addresses that don't ultimately resolve to Hosting.", - "Your `CustomDomain`'s domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services.", - "All requests against your `CustomDomain`'s domain name are served by Hosting. If the `CustomDomain`'s `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting Site's content on the domain name." + "Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", + "Your custom domain's domain name isn't associated with any IP addresses.", + "Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain` object's `issues` field for more details.", + "Your custom domain's domain name has IP addresses that don't ultimately resolve to Hosting.", + "Your custom domain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services.", + "All requests against your custom domain's domain name are served by Hosting. If the custom domain's `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting site's content on the domain name." ], "readOnly": true, "type": "string" @@ -2767,24 +2767,24 @@ "OWNERSHIP_ACTIVE" ], "enumDescriptions": [ - "Your `CustomDomain`'s ownership state is unspecified. This should never happen.", - "Your `CustomDomain`'s domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf.", - "Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain`'s `issues` field for more details.", - "Your `CustomDomain`'s domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project.", - "Your `CustomDomain`'s domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership.", - "Your `CustomDomain`'s DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours.", - "Your `CustomDomain`'s domain name has `TXT` records that grant its project permission to act on its behalf." + "Your custom domain's ownership state is unspecified. This should never happen.", + "Your custom domain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf.", + "Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain` object's `issues` field for more details.", + "Your custom domain's domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project.", + "Your custom domain's domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership.", + "Your custom domain's DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours.", + "Your custom domain's domain name has `TXT` records that grant its project permission to act on its behalf." ], "readOnly": true, "type": "string" }, "reconciling": { - "description": "Output only. A field that, if true, indicates that Hosting's systems are attmepting to make the `CustomDomain`'s state match your preferred state. This is most frequently `true` when initially provisioning a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.", + "description": "Output only. A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently `true` when initially provisioning a `CustomDomain` after a `CreateCustomDomain` request or when creating a new SSL certificate to match an updated `cert_preference` after an `UpdateCustomDomain` request.", "readOnly": true, "type": "boolean" }, "redirectTarget": { - "description": "A domain name that this CustomDomain should direct traffic towards. If specified, Hosting will respond to requests against this CustomDomain with an HTTP 301 code, and route traffic to the specified `redirect_target` instead.", + "description": "A domain name that this `CustomDomain` should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified `redirect_target` instead.", "type": "string" }, "requiredDnsUpdates": { @@ -2838,12 +2838,12 @@ "HOST_ACTIVE" ], "enumDescriptions": [ - "Your `CustomDomain`'s host state is unspecified. The message is invalid if this is unspecified.", - "Your `CustomDomain`'s domain name isn't associated with any IP addresses.", - "Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain`'s `issues` field for more details.", - "Your `CustomDomain`'s domain name has IP addresses that don't ultimately resolve to Hosting.", - "Your `CustomDomain`'s domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services.", - "All requests against your `CustomDomain`'s domain name are served by Hosting. If the `CustomDomain`'s `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting Site's content on the domain name." + "Your custom domain's host state is unspecified. The message is invalid if this is unspecified.", + "Your custom domain's domain name isn't associated with any IP addresses.", + "Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's IP addresses resulted in errors. See your `CustomDomain` object's `issues` field for more details.", + "Your custom domain's domain name has IP addresses that don't ultimately resolve to Hosting.", + "Your custom domain's domain name has IP addresses that resolve to both Hosting and other services. To ensure consistent results, remove `A` and `AAAA` records related to non-Hosting services.", + "All requests against your custom domain's domain name are served by Hosting. If the custom domain's `OwnershipState` is also `ACTIVE`, Hosting serves your Hosting site's content on the domain name." ], "type": "string" }, @@ -2855,7 +2855,7 @@ "type": "array" }, "liveMigrationSteps": { - "description": "A set of DNS record updates and ACME challenges that allow you to transition domain names to Firebase Hosting with zero downtime. These updates allow Hosting's to create an SSL certificate and establish ownership for your custom domain before Hosting begins serving traffic on it. If your domain name is already in active use with another provider, add one of the challenges and make the recommended dns updates. After adding challenges and adjusting DNS records as necessary, wait for the `ownershipState` to be `OWNERSHIP_ACTIVE` and the `certState` to be `CERT_ACTIVE` before sending traffic to Hosting.", + "description": "A set of DNS record updates and ACME challenges that allow you to transition domain names to Firebase Hosting with zero downtime. These updates allow Hosting to create an SSL certificate and establish ownership for your custom domain before Hosting begins serving traffic on it. If your domain name is already in active use with another provider, add one of the challenges and make the recommended DNS updates. After adding challenges and adjusting DNS records as necessary, wait for the `ownershipState` to be `OWNERSHIP_ACTIVE` and the `certState` to be `CERT_ACTIVE` before sending traffic to Hosting.", "items": { "$ref": "LiveMigrationStep" }, @@ -2873,13 +2873,13 @@ "OWNERSHIP_ACTIVE" ], "enumDescriptions": [ - "Your `CustomDomain`'s ownership state is unspecified. This should never happen.", - "Your `CustomDomain`'s domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf.", - "Your `CustomDomain`'s domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain`'s `issues` field for more details.", - "Your `CustomDomain`'s domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project.", - "Your `CustomDomain`'s domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership.", - "Your `CustomDomain`'s DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours.", - "Your `CustomDomain`'s domain name has `TXT` records that grant its project permission to act on its behalf." + "Your custom domain's ownership state is unspecified. This should never happen.", + "Your custom domain's domain name has no Hosting-related ownership records; no Firebase project has permission to act on the domain name's behalf.", + "Your custom domain's domain name can't be reached. Hosting services' DNS queries to find your domain name's ownership records resulted in errors. See your `CustomDomain` object's `issues` field for more details.", + "Your custom domain's domain name is owned by another Firebase project. Remove the conflicting `TXT` records and replace them with project-specific records for your current Firebase project.", + "Your custom domain's domain name has conflicting `TXT` records that indicate ownership by both your current Firebase project and another project. Remove the other project's ownership records to grant the current project ownership.", + "Your custom domain's DNS records are configured correctly. Hosting will transfer ownership of your domain to this `CustomDomain` within 24 hours.", + "Your custom domain's domain name has `TXT` records that grant its project permission to act on its behalf." ], "type": "string" }, @@ -2891,7 +2891,7 @@ "type": "object" }, "DnsRecord": { - "description": "DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name's DNS records, you're informing other systems (e.g. your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain name (e.g. your Hosting site files).", + "description": "DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add `A` records to your domain name's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain name (such as your Hosting site files).", "id": "DnsRecord", "properties": { "domainName": { @@ -2900,7 +2900,7 @@ "type": "string" }, "rdata": { - "description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine a which Firebase Projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", + "description": "Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g. `0 issue \"pki.goog\"`.", "readOnly": true, "type": "string" }, @@ -2944,7 +2944,7 @@ "type": "object" }, "DnsRecordSet": { - "description": "A set of DNS records relevant to the set up and maintenance of a Custom Domain in Firebase Hosting.", + "description": "A set of DNS records relevant to the setup and maintenance of a custom domain in Firebase Hosting.", "id": "DnsRecordSet", "properties": { "checkError": { @@ -2969,11 +2969,11 @@ "type": "object" }, "DnsUpdates": { - "description": "A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your Custom Domain can be fully active.", + "description": "A set of DNS record updates that you should make to allow Hosting to serve secure content in response to requests against your domain name. These updates present the current state of your domain name's DNS records when Hosting last queried them, and the desired set of records that Hosting needs to see before your custom domain can be fully active.", "id": "DnsUpdates", "properties": { "checkTime": { - "description": "The last time Hosting checked your CustomDomain's DNS records.", + "description": "The last time Hosting checked your custom domain's DNS records.", "format": "google-datetime", "type": "string" }, diff --git a/firebasehosting/v1beta1/firebasehosting-gen.go b/firebasehosting/v1beta1/firebasehosting-gen.go index a1642367481..1120218737b 100644 --- a/firebasehosting/v1beta1/firebasehosting-gen.go +++ b/firebasehosting/v1beta1/firebasehosting-gen.go @@ -522,7 +522,7 @@ func (s *CertVerification) MarshalJSON() ([]byte, error) { // Certificate: An SSL certificate used to provide end-to-end encryption // for requests against your domain name. A `Certificate` can be an -// actual SSL certificate or, for newly-created Custom Domains, +// actual SSL certificate or, for newly-created custom domains, // Hosting's intent to create one. type Certificate struct { // CreateTime: Output only. The certificate's creation time. For @@ -533,7 +533,7 @@ type Certificate struct { // ExpireTime: Output only. The certificate's expiration time. After // this time, the cert can no longer be used to provide secure - // communication between Hosting and your Site's visitors. + // communication between Hosting and your site's visitors. ExpireTime string `json:"expireTime,omitempty"` // Issues: Output only. A set of errors Hosting encountered when @@ -575,10 +575,9 @@ type Certificate struct { // message is invalid if this is unspecified. // "TEMPORARY" - A short-lived certificate type that covers a domain // name temporarily, while Hosting creates a more permanent certificate. - // "GROUPED" - The standard certificate for Spark plan - // `CustomDomain`s. + // "GROUPED" - The standard certificate for Spark plan custom domains. // "PROJECT_GROUPED" - Blaze plan only. A certificate that covers from - // 1 to 100 domain names with `CustomDomain`s on the same Firebase + // 1 to 100 domain names with custom domains on the same Firebase // project. // "DEDICATED" - Blaze plan only. A certificate that covers a single // domain name. @@ -770,47 +769,46 @@ func (s *CloudRunRewrite) MarshalJSON() ([]byte, error) { } // CustomDomain: A `CustomDomain` is an entity that links a domain name -// to a Firebase Hosting Site. Add a `CustomDomain` to your Site to -// allow Hosting to serve the Site's content in response to requests +// to a Firebase Hosting site. Add a `CustomDomain` to your site to +// allow Hosting to serve the site's content in response to requests // against your domain name. type CustomDomain struct { // Annotations: Annotations you can add to leave both human- and // machine-readable metadata about your `CustomDomain`. Annotations map[string]string `json:"annotations,omitempty"` - // Cert: Output only. The SSL certificate Hosting has for this - // `CustomDomain`'s domain name. For new `CustomDomain`s, this often - // represents Hosting's intent to create a certificate, rather than an - // actual cert. Check the `state` field for more. + // Cert: Output only. The SSL certificate Hosting has for this custom + // domain's domain name. For new custom domains, this often represents + // Hosting's intent to create a certificate, rather than an actual cert. + // Check the `state` field for more. Cert *Certificate `json:"cert,omitempty"` // CertPreference: A field that lets you specify which SSL certificate - // type Hosting creates for your domain name. Spark plan `CustomDomain`s - // only have access to the `GROUPED` cert type, while Blaze plan can - // select any option. + // type Hosting creates for your domain name. Spark plan custom domains + // only have access to the `GROUPED` cert type, while Blaze plan domains + // can select any option. // // Possible values: // "TYPE_UNSPECIFIED" - The certificate's type is unspecified. The // message is invalid if this is unspecified. // "TEMPORARY" - A short-lived certificate type that covers a domain // name temporarily, while Hosting creates a more permanent certificate. - // "GROUPED" - The standard certificate for Spark plan - // `CustomDomain`s. + // "GROUPED" - The standard certificate for Spark plan custom domains. // "PROJECT_GROUPED" - Blaze plan only. A certificate that covers from - // 1 to 100 domain names with `CustomDomain`s on the same Firebase + // 1 to 100 domain names with custom domains on the same Firebase // project. // "DEDICATED" - Blaze plan only. A certificate that covers a single // domain name. CertPreference string `json:"certPreference,omitempty"` - // CreateTime: Output only. The `CustomDomain`'s create time. + // CreateTime: Output only. The custom domain's create time. CreateTime string `json:"createTime,omitempty"` // DeleteTime: Output only. The time the `CustomDomain` was deleted; - // null for `CustomDomains` that haven't been deleted. Deleted - // `CustomDomains` persist for approximately 30 days, after which time - // Hosting removes them completely. To restore a deleted `CustomDomain`, - // make an `UndeleteCustomDomain` request. + // null for custom domains that haven't been deleted. Deleted custom + // domains persist for approximately 30 days, after which time Hosting + // removes them completely. To restore a deleted custom domain, make an + // `UndeleteCustomDomain` request. DeleteTime string `json:"deleteTime,omitempty"` // Etag: Output only. A string that represents the current state of the @@ -821,31 +819,31 @@ type CustomDomain struct { Etag string `json:"etag,omitempty"` // ExpireTime: Output only. The minimum time before a soft-deleted - // `CustomDomain` is completely removed from Hosting; null for - // `CustomDomains` that haven't been deleted. + // `CustomDomain` is completely removed from Hosting; null for custom + // domains that haven't been deleted. ExpireTime string `json:"expireTime,omitempty"` // HostState: Output only. The `HostState` of the domain name this // `CustomDomain` refers to. // // Possible values: - // "HOST_STATE_UNSPECIFIED" - Your `CustomDomain`'s host state is + // "HOST_STATE_UNSPECIFIED" - Your custom domain's host state is // unspecified. The message is invalid if this is unspecified. - // "HOST_UNHOSTED" - Your `CustomDomain`'s domain name isn't - // associated with any IP addresses. - // "HOST_UNREACHABLE" - Your `CustomDomain`'s domain name can't be + // "HOST_UNHOSTED" - Your custom domain's domain name isn't associated + // with any IP addresses. + // "HOST_UNREACHABLE" - Your custom domain's domain name can't be // reached. Hosting services' DNS queries to find your domain name's IP - // addresses resulted in errors. See your `CustomDomain`'s `issues` - // field for more details. - // "HOST_MISMATCH" - Your `CustomDomain`'s domain name has IP - // addresses that don't ultimately resolve to Hosting. - // "HOST_CONFLICT" - Your `CustomDomain`'s domain name has IP - // addresses that resolve to both Hosting and other services. To ensure - // consistent results, remove `A` and `AAAA` records related to - // non-Hosting services. - // "HOST_ACTIVE" - All requests against your `CustomDomain`'s domain - // name are served by Hosting. If the `CustomDomain`'s `OwnershipState` - // is also `ACTIVE`, Hosting serves your Hosting Site's content on the + // addresses resulted in errors. See your `CustomDomain` object's + // `issues` field for more details. + // "HOST_MISMATCH" - Your custom domain's domain name has IP addresses + // that don't ultimately resolve to Hosting. + // "HOST_CONFLICT" - Your custom domain's domain name has IP addresses + // that resolve to both Hosting and other services. To ensure consistent + // results, remove `A` and `AAAA` records related to non-Hosting + // services. + // "HOST_ACTIVE" - All requests against your custom domain's domain + // name are served by Hosting. If the custom domain's `OwnershipState` + // is also `ACTIVE`, Hosting serves your Hosting site's content on the // domain name. HostState string `json:"hostState,omitempty"` @@ -865,42 +863,42 @@ type CustomDomain struct { // this `CustomDomain` refers to. // // Possible values: - // "OWNERSHIP_STATE_UNSPECIFIED" - Your `CustomDomain`'s ownership + // "OWNERSHIP_STATE_UNSPECIFIED" - Your custom domain's ownership // state is unspecified. This should never happen. - // "OWNERSHIP_MISSING" - Your `CustomDomain`'s domain name has no + // "OWNERSHIP_MISSING" - Your custom domain's domain name has no // Hosting-related ownership records; no Firebase project has permission // to act on the domain name's behalf. - // "OWNERSHIP_UNREACHABLE" - Your `CustomDomain`'s domain name can't - // be reached. Hosting services' DNS queries to find your domain name's - // ownership records resulted in errors. See your `CustomDomain`'s - // `issues` field for more details. - // "OWNERSHIP_MISMATCH" - Your `CustomDomain`'s domain name is owned - // by another Firebase project. Remove the conflicting `TXT` records and + // "OWNERSHIP_UNREACHABLE" - Your custom domain's domain name can't be + // reached. Hosting services' DNS queries to find your domain name's + // ownership records resulted in errors. See your `CustomDomain` + // object's `issues` field for more details. + // "OWNERSHIP_MISMATCH" - Your custom domain's domain name is owned by + // another Firebase project. Remove the conflicting `TXT` records and // replace them with project-specific records for your current Firebase // project. - // "OWNERSHIP_CONFLICT" - Your `CustomDomain`'s domain name has + // "OWNERSHIP_CONFLICT" - Your custom domain's domain name has // conflicting `TXT` records that indicate ownership by both your // current Firebase project and another project. Remove the other // project's ownership records to grant the current project ownership. - // "OWNERSHIP_PENDING" - Your `CustomDomain`'s DNS records are + // "OWNERSHIP_PENDING" - Your custom domain's DNS records are // configured correctly. Hosting will transfer ownership of your domain // to this `CustomDomain` within 24 hours. - // "OWNERSHIP_ACTIVE" - Your `CustomDomain`'s domain name has `TXT` + // "OWNERSHIP_ACTIVE" - Your custom domain's domain name has `TXT` // records that grant its project permission to act on its behalf. OwnershipState string `json:"ownershipState,omitempty"` // Reconciling: Output only. A field that, if true, indicates that - // Hosting's systems are attmepting to make the `CustomDomain`'s state + // Hosting's systems are attmepting to make the custom domain's state // match your preferred state. This is most frequently `true` when // initially provisioning a `CustomDomain` after a `CreateCustomDomain` // request or when creating a new SSL certificate to match an updated // `cert_preference` after an `UpdateCustomDomain` request. Reconciling bool `json:"reconciling,omitempty"` - // RedirectTarget: A domain name that this CustomDomain should direct + // RedirectTarget: A domain name that this `CustomDomain` should direct // traffic towards. If specified, Hosting will respond to requests - // against this CustomDomain with an HTTP 301 code, and route traffic to - // the specified `redirect_target` instead. + // against this custom domain with an HTTP 301 code, and route traffic + // to the specified `redirect_target` instead. RedirectTarget string `json:"redirectTarget,omitempty"` // RequiredDnsUpdates: Output only. A set of updates you should make to @@ -967,23 +965,23 @@ type CustomDomainMetadata struct { // refers to. // // Possible values: - // "HOST_STATE_UNSPECIFIED" - Your `CustomDomain`'s host state is + // "HOST_STATE_UNSPECIFIED" - Your custom domain's host state is // unspecified. The message is invalid if this is unspecified. - // "HOST_UNHOSTED" - Your `CustomDomain`'s domain name isn't - // associated with any IP addresses. - // "HOST_UNREACHABLE" - Your `CustomDomain`'s domain name can't be + // "HOST_UNHOSTED" - Your custom domain's domain name isn't associated + // with any IP addresses. + // "HOST_UNREACHABLE" - Your custom domain's domain name can't be // reached. Hosting services' DNS queries to find your domain name's IP - // addresses resulted in errors. See your `CustomDomain`'s `issues` - // field for more details. - // "HOST_MISMATCH" - Your `CustomDomain`'s domain name has IP - // addresses that don't ultimately resolve to Hosting. - // "HOST_CONFLICT" - Your `CustomDomain`'s domain name has IP - // addresses that resolve to both Hosting and other services. To ensure - // consistent results, remove `A` and `AAAA` records related to - // non-Hosting services. - // "HOST_ACTIVE" - All requests against your `CustomDomain`'s domain - // name are served by Hosting. If the `CustomDomain`'s `OwnershipState` - // is also `ACTIVE`, Hosting serves your Hosting Site's content on the + // addresses resulted in errors. See your `CustomDomain` object's + // `issues` field for more details. + // "HOST_MISMATCH" - Your custom domain's domain name has IP addresses + // that don't ultimately resolve to Hosting. + // "HOST_CONFLICT" - Your custom domain's domain name has IP addresses + // that resolve to both Hosting and other services. To ensure consistent + // results, remove `A` and `AAAA` records related to non-Hosting + // services. + // "HOST_ACTIVE" - All requests against your custom domain's domain + // name are served by Hosting. If the custom domain's `OwnershipState` + // is also `ACTIVE`, Hosting serves your Hosting site's content on the // domain name. HostState string `json:"hostState,omitempty"` @@ -995,11 +993,11 @@ type CustomDomainMetadata struct { // LiveMigrationSteps: A set of DNS record updates and ACME challenges // that allow you to transition domain names to Firebase Hosting with - // zero downtime. These updates allow Hosting's to create an SSL + // zero downtime. These updates allow Hosting to create an SSL // certificate and establish ownership for your custom domain before // Hosting begins serving traffic on it. If your domain name is already // in active use with another provider, add one of the challenges and - // make the recommended dns updates. After adding challenges and + // make the recommended DNS updates. After adding challenges and // adjusting DNS records as necessary, wait for the `ownershipState` to // be `OWNERSHIP_ACTIVE` and the `certState` to be `CERT_ACTIVE` before // sending traffic to Hosting. @@ -1009,27 +1007,27 @@ type CustomDomainMetadata struct { // `CustomDomain` refers to. // // Possible values: - // "OWNERSHIP_STATE_UNSPECIFIED" - Your `CustomDomain`'s ownership + // "OWNERSHIP_STATE_UNSPECIFIED" - Your custom domain's ownership // state is unspecified. This should never happen. - // "OWNERSHIP_MISSING" - Your `CustomDomain`'s domain name has no + // "OWNERSHIP_MISSING" - Your custom domain's domain name has no // Hosting-related ownership records; no Firebase project has permission // to act on the domain name's behalf. - // "OWNERSHIP_UNREACHABLE" - Your `CustomDomain`'s domain name can't - // be reached. Hosting services' DNS queries to find your domain name's - // ownership records resulted in errors. See your `CustomDomain`'s - // `issues` field for more details. - // "OWNERSHIP_MISMATCH" - Your `CustomDomain`'s domain name is owned - // by another Firebase project. Remove the conflicting `TXT` records and + // "OWNERSHIP_UNREACHABLE" - Your custom domain's domain name can't be + // reached. Hosting services' DNS queries to find your domain name's + // ownership records resulted in errors. See your `CustomDomain` + // object's `issues` field for more details. + // "OWNERSHIP_MISMATCH" - Your custom domain's domain name is owned by + // another Firebase project. Remove the conflicting `TXT` records and // replace them with project-specific records for your current Firebase // project. - // "OWNERSHIP_CONFLICT" - Your `CustomDomain`'s domain name has + // "OWNERSHIP_CONFLICT" - Your custom domain's domain name has // conflicting `TXT` records that indicate ownership by both your // current Firebase project and another project. Remove the other // project's ownership records to grant the current project ownership. - // "OWNERSHIP_PENDING" - Your `CustomDomain`'s DNS records are + // "OWNERSHIP_PENDING" - Your custom domain's DNS records are // configured correctly. Hosting will transfer ownership of your domain // to this `CustomDomain` within 24 hours. - // "OWNERSHIP_ACTIVE" - Your `CustomDomain`'s domain name has `TXT` + // "OWNERSHIP_ACTIVE" - Your custom domain's domain name has `TXT` // records that grant its project permission to act on its behalf. OwnershipState string `json:"ownershipState,omitempty"` @@ -1077,9 +1075,9 @@ func (s *CustomDomainMetadata) MarshalJSON() ([]byte, error) { // DnsRecord: DNS records are resource records that define how systems // and services should behave when handling requests for a domain name. // For example, when you add `A` records to your domain name's DNS -// records, you're informing other systems (e.g. your users' web +// records, you're informing other systems (such as your users' web // browsers) to contact those IPv4 addresses to retrieve resources -// relevant to your domain name (e.g. your Hosting site files). +// relevant to your domain name (such as your Hosting site files). type DnsRecord struct { // DomainName: Output only. The domain name the record pertains to, e.g. // `foo.bar.com.`. @@ -1089,7 +1087,7 @@ type DnsRecord struct { // depends on record type: - A and AAAA: IP addresses for the domain // name. - CNAME: Another domain to check for records. - TXT: Arbitrary // text strings associated with the domain name. Hosting uses TXT - // records to determine a which Firebase Projects have permission to act + // records to determine which Firebase projects have permission to act // on the domain name's behalf. - CAA: The record's flags, tag, and // value, e.g. `0 issue "pki.goog". Rdata string `json:"rdata,omitempty"` @@ -1162,8 +1160,8 @@ func (s *DnsRecord) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// DnsRecordSet: A set of DNS records relevant to the set up and -// maintenance of a Custom Domain in Firebase Hosting. +// DnsRecordSet: A set of DNS records relevant to the setup and +// maintenance of a custom domain in Firebase Hosting. type DnsRecordSet struct { // CheckError: Output only. An error Hosting services encountered when // querying your domain name's DNS records. Note: Hosting ignores @@ -1204,10 +1202,10 @@ func (s *DnsRecordSet) MarshalJSON() ([]byte, error) { // Hosting to serve secure content in response to requests against your // domain name. These updates present the current state of your domain // name's DNS records when Hosting last queried them, and the desired -// set of records that Hosting needs to see before your Custom Domain +// set of records that Hosting needs to see before your custom domain // can be fully active. type DnsUpdates struct { - // CheckTime: The last time Hosting checked your CustomDomain's DNS + // CheckTime: The last time Hosting checked your custom domain's DNS // records. CheckTime string `json:"checkTime,omitempty"` @@ -5288,8 +5286,8 @@ type ProjectsSitesCustomDomainsCreateCall struct { // Create: Creates a `CustomDomain`. // -// - parent: The `CustomDomain`'s parent, specifically a Firebase -// Hosting `Site`. +// - parent: The custom domain's parent, specifically a Firebase Hosting +// `Site`. func (r *ProjectsSitesCustomDomainsService) Create(parent string, customdomain *CustomDomain) *ProjectsSitesCustomDomainsCreateCall { c := &ProjectsSitesCustomDomainsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -5418,7 +5416,7 @@ func (c *ProjectsSitesCustomDomainsCreateCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "parent": { - // "description": "Required. The `CustomDomain`'s parent, specifically a Firebase Hosting `Site`.", + // "description": "Required. The custom domain's parent, specifically a Firebase Hosting `Site`.", // "location": "path", // "pattern": "^projects/[^/]+/sites/[^/]+$", // "required": true, @@ -5778,7 +5776,7 @@ type ProjectsSitesCustomDomainsListCall struct { } // List: Lists each `CustomDomain` associated with the specified parent -// Hosting Site. Returns `CustomDomain`s in a consistent, but undefined, +// Hosting site. Returns `CustomDomain`s in a consistent, but undefined, // order to facilitate pagination. // // - parent: The Firebase Hosting `Site` with `CustomDomain` entities @@ -5912,7 +5910,7 @@ func (c *ProjectsSitesCustomDomainsListCall) Do(opts ...googleapi.CallOption) (* } return ret, nil // { - // "description": "Lists each `CustomDomain` associated with the specified parent Hosting Site. Returns `CustomDomain`s in a consistent, but undefined, order to facilitate pagination.", + // "description": "Lists each `CustomDomain` associated with the specified parent Hosting site. Returns `CustomDomain`s in a consistent, but undefined, order to facilitate pagination.", // "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains", // "httpMethod": "GET", // "id": "firebasehosting.projects.sites.customDomains.list", @@ -6174,7 +6172,7 @@ type ProjectsSitesCustomDomainsUndeleteCall struct { } // Undelete: Undeletes the specified `CustomDomain` if it has been -// soft-deleted. Hosting retains soft-deleted CustomDomains for around +// soft-deleted. Hosting retains soft-deleted custom domains for around // 30 days before permanently deleting them. // // - name: The name of the `CustomDomain` to delete. @@ -6276,7 +6274,7 @@ func (c *ProjectsSitesCustomDomainsUndeleteCall) Do(opts ...googleapi.CallOption } return ret, nil // { - // "description": "Undeletes the specified `CustomDomain` if it has been soft-deleted. Hosting retains soft-deleted CustomDomains for around 30 days before permanently deleting them.", + // "description": "Undeletes the specified `CustomDomain` if it has been soft-deleted. Hosting retains soft-deleted custom domains for around 30 days before permanently deleting them.", // "flatPath": "v1beta1/projects/{projectsId}/sites/{sitesId}/customDomains/{customDomainsId}:undelete", // "httpMethod": "POST", // "id": "firebasehosting.projects.sites.customDomains.undelete", diff --git a/monitoring/v1/monitoring-api.json b/monitoring/v1/monitoring-api.json index 5f20020862e..42b9f4a84b2 100644 --- a/monitoring/v1/monitoring-api.json +++ b/monitoring/v1/monitoring-api.json @@ -753,7 +753,7 @@ } } }, - "revision": "20230907", + "revision": "20230913", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -857,6 +857,24 @@ }, "type": "object" }, + "AggregationFunction": { + "description": "Preview: An identifier for an aggregation function. Aggregation functions are SQL functions that group or transform data from multiple points to a single point. This is a preview feature and may be subject to change before final release.", + "id": "AggregationFunction", + "properties": { + "parameters": { + "description": "Optional. Parameters applied to the aggregation function. Only used for functions that require them.", + "items": { + "$ref": "Parameter" + }, + "type": "array" + }, + "type": { + "description": "Required. The type of aggregation function, must be one of the following: \"none\" - no function. \"percentile\" - APPROX_QUANTILES() - 1 parameter numeric value \"average\" - AVG() \"count\" - COUNT() \"count-distinct\" - COUNT(DISTINCT) \"count-distinct-approx\" - APPROX_COUNT_DISTINCT() \"max\" - MAX() \"min\" - MIN() \"sum\" - SUM()", + "type": "string" + } + }, + "type": "object" + }, "AlertChart": { "description": "A chart that displays alert policy data.", "id": "AlertChart", @@ -893,10 +911,50 @@ }, "type": "object" }, + "Breakdown": { + "description": "Preview: A breakdown is an aggregation applied to the measures over a specified column. A breakdown can result in multiple series across a category for the provided measure. This is a preview feature and may be subject to change before final release.", + "id": "Breakdown", + "properties": { + "aggregationFunction": { + "$ref": "AggregationFunction", + "description": "Required. The Aggregation function is applied across all data in each breakdown created." + }, + "column": { + "description": "Required. The name of the column in the dataset containing the breakdown values.", + "type": "string" + }, + "limit": { + "description": "Required. A limit to the number of breakdowns. If set to zero then all possible breakdowns are applied. The list of breakdowns is dependent on the value of the sort_order field.", + "format": "int32", + "type": "integer" + }, + "sortOrder": { + "description": "Required. The sort order is applied to the values of the breakdown column.", + "enum": [ + "SORT_ORDER_UNSPECIFIED", + "SORT_ORDER_NONE", + "SORT_ORDER_ASCENDING", + "SORT_ORDER_DESCENDING" + ], + "enumDescriptions": [ + "An unspecified sort order. This option is invalid when sorting is required.", + "No sorting is applied.", + "The lowest-valued entries are selected first.", + "The highest-valued entries are selected first." + ], + "type": "string" + } + }, + "type": "object" + }, "ChartOptions": { "description": "Options to control visual rendering of a chart.", "id": "ChartOptions", "properties": { + "displayHorizontal": { + "description": "Preview: Configures whether the charted values are shown on the horizontal or vertical axis. By default, values are represented the vertical axis. This is a preview feature and may be subject to change before final release.", + "type": "boolean" + }, "mode": { "description": "The chart mode.", "enum": [ @@ -1067,10 +1125,31 @@ "description": "Groups a time series query definition with charting options.", "id": "DataSet", "properties": { + "breakdowns": { + "description": "Optional. The collection of breakdowns to be applied to the dataset.", + "items": { + "$ref": "Breakdown" + }, + "type": "array" + }, + "dimensions": { + "description": "Optional. A collection of dimension columns.", + "items": { + "$ref": "Dimension" + }, + "type": "array" + }, "legendTemplate": { "description": "A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value.", "type": "string" }, + "measures": { + "description": "Optional. A collection of measures.", + "items": { + "$ref": "Measure" + }, + "type": "array" + }, "minAlignmentPeriod": { "description": "Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.", "format": "google-duration", @@ -1115,6 +1194,61 @@ }, "type": "object" }, + "Dimension": { + "description": "Preview: A chart dimension for an SQL query. This is applied over the x-axis. This is a preview feature and may be subject to change before final release.", + "id": "Dimension", + "properties": { + "column": { + "description": "Required. The name of the column in the source SQL query that is used to chart the dimension.", + "type": "string" + }, + "columnType": { + "description": "Optional. The type of the dimension column. This is relevant only if one of the bin_size fields is set. If it is empty, the type TIMESTAMP or INT64 will be assumed based on which bin_size field is set. If populated, this should be set to one of the following types: DATE, TIME, DATETIME, TIMESTAMP, BIGNUMERIC, INT64, NUMERIC, FLOAT64.", + "type": "string" + }, + "floatBinSize": { + "description": "Optional. float_bin_size is used when the column type used for a dimension is a floating point numeric column.", + "format": "double", + "type": "number" + }, + "maxBinCount": { + "description": "A limit to the number of bins generated. When 0 is specified, the maximum count is not enforced.", + "format": "int32", + "type": "integer" + }, + "numericBinSize": { + "description": "numeric_bin_size is used when the column type used for a dimension is numeric or string.", + "format": "int32", + "type": "integer" + }, + "sortColumn": { + "description": "The column name to sort on for binning. This column can be the same column as this dimension or any other column used as a measure in the results. If sort_order is set to NONE, then this value is not used.", + "type": "string" + }, + "sortOrder": { + "description": "The sort order applied to the sort column.", + "enum": [ + "SORT_ORDER_UNSPECIFIED", + "SORT_ORDER_NONE", + "SORT_ORDER_ASCENDING", + "SORT_ORDER_DESCENDING" + ], + "enumDescriptions": [ + "An unspecified sort order. This option is invalid when sorting is required.", + "No sorting is applied.", + "The lowest-valued entries are selected first.", + "The highest-valued entries are selected first." + ], + "type": "string" + }, + "timeBinSize": { + "description": "time_bin_size is used when the data type specified by column is a time type and the bin size is determined by a time duration. If column_type is DATE, this must be a whole value multiple of 1 day. If column_type is TIME, this must be less than or equal to 24 hours.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "DroppedLabels": { "description": "A set of (label, value) pairs that were removed from a Distribution time series during aggregation and then added as an attachment to a Distribution.Exemplar.The full label set for the exemplars is constructed by using the dropped pairs in combination with the label values that remain on the aggregated Distribution time series. The constructed full label set can be used to identify the specific entity, such as the instance or job, which might be contributing to a long-tail. However, with dropped labels, the storage requirements are reduced because only the aggregated distribution values for a large group of time series are stored.Note that there are no guarantees on ordering of the labels from exemplar-to-exemplar and from distribution-to-distribution in the same stream, and there may be duplicates. It is up to clients to resolve any ambiguities.", "id": "DroppedLabels", @@ -1375,6 +1509,21 @@ }, "type": "object" }, + "Measure": { + "description": "Preview: A chart measure for an SQL query. This is applied over the y-axis. This is a preview feature and may be subject to change before final release.", + "id": "Measure", + "properties": { + "aggregationFunction": { + "$ref": "AggregationFunction", + "description": "Required. The aggregation function applied to the input column. This must not be set to \"none\" unless binning is disabled on the dimension. The aggregation function is used to group points on the dimension bins." + }, + "column": { + "description": "Required. The column name within in the dataset used for the measure.", + "type": "string" + } + }, + "type": "object" + }, "MetricsScope": { "description": "Represents a Metrics Scope (https://cloud.google.com/monitoring/settings#concept-scope) in Cloud Monitoring, which specifies one or more Google projects and zero or more AWS accounts to monitor together.", "id": "MetricsScope", @@ -1530,6 +1679,17 @@ }, "type": "object" }, + "OpsAnalyticsQuery": { + "description": "Preview: A query that produces an aggregated response and supporting data. This is a preview feature and may be subject to change before final release.", + "id": "OpsAnalyticsQuery", + "properties": { + "sql": { + "description": "A SQL query to fetch time series, category series, or numeric series data.", + "type": "string" + } + }, + "type": "object" + }, "Option": { "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.", "id": "Option", @@ -1549,6 +1709,23 @@ }, "type": "object" }, + "Parameter": { + "description": "Preview: Parameter value applied to the aggregation function. This is a preview feature and may be subject to change before final release.", + "id": "Parameter", + "properties": { + "doubleValue": { + "description": "A floating-point parameter value.", + "format": "double", + "type": "number" + }, + "intValue": { + "description": "An integer parameter value.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "PickTimeSeriesFilter": { "description": "Describes a ranking-based time series filter. Each input time series is ranked with an aligner. The filter will allow up to num_time_series time series to pass through it, selecting them based on the relative ranking.For example, if ranking_method is METHOD_MEAN,direction is BOTTOM, and num_time_series is 3, then the 3 times series with the lowest mean values will pass through the filter.", "id": "PickTimeSeriesFilter", @@ -2236,6 +2413,10 @@ "description": "TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.", "id": "TimeSeriesQuery", "properties": { + "opsAnalyticsQuery": { + "$ref": "OpsAnalyticsQuery", + "description": "Preview: A query used to fetch a time series, category series, or numeric series with SQL. This is a preview feature and may be subject to change before final release." + }, "outputFullDuration": { "description": "Optional. If set, Cloud Monitoring will treat the full query duration as the alignment period so that there will be only 1 output value.*Note: This could override the configured alignment period except for the cases where a series of data points are expected, like - XyChart - Scorecard's spark chart", "type": "boolean" diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index 7391b83c81e..b67e86bb1c0 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -594,6 +594,45 @@ func (s *Aggregation) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AggregationFunction: Preview: An identifier for an aggregation +// function. Aggregation functions are SQL functions that group or +// transform data from multiple points to a single point. This is a +// preview feature and may be subject to change before final release. +type AggregationFunction struct { + // Parameters: Optional. Parameters applied to the aggregation function. + // Only used for functions that require them. + Parameters []*Parameter `json:"parameters,omitempty"` + + // Type: Required. The type of aggregation function, must be one of the + // following: "none" - no function. "percentile" - APPROX_QUANTILES() - + // 1 parameter numeric value "average" - AVG() "count" - COUNT() + // "count-distinct" - COUNT(DISTINCT) "count-distinct-approx" - + // APPROX_COUNT_DISTINCT() "max" - MAX() "min" - MIN() "sum" - SUM() + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Parameters") 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. "Parameters") 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 *AggregationFunction) MarshalJSON() ([]byte, error) { + type NoMethod AggregationFunction + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // AlertChart: A chart that displays alert policy data. type AlertChart struct { // Name: Required. The resource name of the alert policy. The format is: @@ -660,8 +699,69 @@ func (s *Axis) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Breakdown: Preview: A breakdown is an aggregation applied to the +// measures over a specified column. A breakdown can result in multiple +// series across a category for the provided measure. This is a preview +// feature and may be subject to change before final release. +type Breakdown struct { + // AggregationFunction: Required. The Aggregation function is applied + // across all data in each breakdown created. + AggregationFunction *AggregationFunction `json:"aggregationFunction,omitempty"` + + // Column: Required. The name of the column in the dataset containing + // the breakdown values. + Column string `json:"column,omitempty"` + + // Limit: Required. A limit to the number of breakdowns. If set to zero + // then all possible breakdowns are applied. The list of breakdowns is + // dependent on the value of the sort_order field. + Limit int64 `json:"limit,omitempty"` + + // SortOrder: Required. The sort order is applied to the values of the + // breakdown column. + // + // Possible values: + // "SORT_ORDER_UNSPECIFIED" - An unspecified sort order. This option + // is invalid when sorting is required. + // "SORT_ORDER_NONE" - No sorting is applied. + // "SORT_ORDER_ASCENDING" - The lowest-valued entries are selected + // first. + // "SORT_ORDER_DESCENDING" - The highest-valued entries are selected + // first. + SortOrder string `json:"sortOrder,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AggregationFunction") + // 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. "AggregationFunction") 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 *Breakdown) MarshalJSON() ([]byte, error) { + type NoMethod Breakdown + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ChartOptions: Options to control visual rendering of a chart. type ChartOptions struct { + // DisplayHorizontal: Preview: Configures whether the charted values are + // shown on the horizontal or vertical axis. By default, values are + // represented the vertical axis. This is a preview feature and may be + // subject to change before final release. + DisplayHorizontal bool `json:"displayHorizontal,omitempty"` + // Mode: The chart mode. // // Possible values: @@ -676,20 +776,21 @@ type ChartOptions struct { // 95th percentile, and more. Mode string `json:"mode,omitempty"` - // ForceSendFields is a list of field names (e.g. "Mode") to - // unconditionally include in API requests. By default, fields with + // ForceSendFields is a list of field names (e.g. "DisplayHorizontal") + // 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. "Mode") to include in API - // requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "DisplayHorizontal") 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:"-"` } @@ -943,11 +1044,21 @@ func (s *DashboardFilter) MarshalJSON() ([]byte, error) { // DataSet: Groups a time series query definition with charting options. type DataSet struct { + // Breakdowns: Optional. The collection of breakdowns to be applied to + // the dataset. + Breakdowns []*Breakdown `json:"breakdowns,omitempty"` + + // Dimensions: Optional. A collection of dimension columns. + Dimensions []*Dimension `json:"dimensions,omitempty"` + // LegendTemplate: A template string for naming TimeSeries in the // resulting data set. This should be a string with interpolations of // the form ${label_name}, which will resolve to the label's value. LegendTemplate string `json:"legendTemplate,omitempty"` + // Measures: Optional. A collection of measures. + Measures []*Measure `json:"measures,omitempty"` + // MinAlignmentPeriod: Optional. The lower bound on data point frequency // for this data set, implemented by specifying the minimum alignment // period to use in a time series query For example, if the data is @@ -992,7 +1103,7 @@ type DataSet struct { // the Stackdriver metrics API. TimeSeriesQuery *TimeSeriesQuery `json:"timeSeriesQuery,omitempty"` - // ForceSendFields is a list of field names (e.g. "LegendTemplate") to + // ForceSendFields is a list of field names (e.g. "Breakdowns") 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 @@ -1000,13 +1111,12 @@ type DataSet struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "LegendTemplate") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Breakdowns") 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:"-"` } @@ -1016,6 +1126,96 @@ func (s *DataSet) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Dimension: Preview: A chart dimension for an SQL query. This is +// applied over the x-axis. This is a preview feature and may be subject +// to change before final release. +type Dimension struct { + // Column: Required. The name of the column in the source SQL query that + // is used to chart the dimension. + Column string `json:"column,omitempty"` + + // ColumnType: Optional. The type of the dimension column. This is + // relevant only if one of the bin_size fields is set. If it is empty, + // the type TIMESTAMP or INT64 will be assumed based on which bin_size + // field is set. If populated, this should be set to one of the + // following types: DATE, TIME, DATETIME, TIMESTAMP, BIGNUMERIC, INT64, + // NUMERIC, FLOAT64. + ColumnType string `json:"columnType,omitempty"` + + // FloatBinSize: Optional. float_bin_size is used when the column type + // used for a dimension is a floating point numeric column. + FloatBinSize float64 `json:"floatBinSize,omitempty"` + + // MaxBinCount: A limit to the number of bins generated. When 0 is + // specified, the maximum count is not enforced. + MaxBinCount int64 `json:"maxBinCount,omitempty"` + + // NumericBinSize: numeric_bin_size is used when the column type used + // for a dimension is numeric or string. + NumericBinSize int64 `json:"numericBinSize,omitempty"` + + // SortColumn: The column name to sort on for binning. This column can + // be the same column as this dimension or any other column used as a + // measure in the results. If sort_order is set to NONE, then this value + // is not used. + SortColumn string `json:"sortColumn,omitempty"` + + // SortOrder: The sort order applied to the sort column. + // + // Possible values: + // "SORT_ORDER_UNSPECIFIED" - An unspecified sort order. This option + // is invalid when sorting is required. + // "SORT_ORDER_NONE" - No sorting is applied. + // "SORT_ORDER_ASCENDING" - The lowest-valued entries are selected + // first. + // "SORT_ORDER_DESCENDING" - The highest-valued entries are selected + // first. + SortOrder string `json:"sortOrder,omitempty"` + + // TimeBinSize: time_bin_size is used when the data type specified by + // column is a time type and the bin size is determined by a time + // duration. If column_type is DATE, this must be a whole value multiple + // of 1 day. If column_type is TIME, this must be less than or equal to + // 24 hours. + TimeBinSize string `json:"timeBinSize,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Column") 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. "Column") 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 *Dimension) MarshalJSON() ([]byte, error) { + type NoMethod Dimension + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *Dimension) UnmarshalJSON(data []byte) error { + type NoMethod Dimension + var s1 struct { + FloatBinSize gensupport.JSONFloat64 `json:"floatBinSize"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.FloatBinSize = float64(s1.FloatBinSize) + return nil +} + // DroppedLabels: A set of (label, value) pairs that were removed from a // Distribution time series during aggregation and then added as an // attachment to a Distribution.Exemplar.The full label set for the @@ -1448,6 +1648,44 @@ func (s *LogsPanel) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Measure: Preview: A chart measure for an SQL query. This is applied +// over the y-axis. This is a preview feature and may be subject to +// change before final release. +type Measure struct { + // AggregationFunction: Required. The aggregation function applied to + // the input column. This must not be set to "none" unless binning is + // disabled on the dimension. The aggregation function is used to group + // points on the dimension bins. + AggregationFunction *AggregationFunction `json:"aggregationFunction,omitempty"` + + // Column: Required. The column name within in the dataset used for the + // measure. + Column string `json:"column,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AggregationFunction") + // 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. "AggregationFunction") 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 *Measure) MarshalJSON() ([]byte, error) { + type NoMethod Measure + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // MetricsScope: Represents a Metrics Scope // (https://cloud.google.com/monitoring/settings#concept-scope) in Cloud // Monitoring, which specifies one or more Google projects and zero or @@ -1726,6 +1964,37 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// OpsAnalyticsQuery: Preview: A query that produces an aggregated +// response and supporting data. This is a preview feature and may be +// subject to change before final release. +type OpsAnalyticsQuery struct { + // Sql: A SQL query to fetch time series, category series, or numeric + // series data. + Sql string `json:"sql,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Sql") 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. "Sql") 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 *OpsAnalyticsQuery) MarshalJSON() ([]byte, error) { + type NoMethod OpsAnalyticsQuery + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Option: A protocol buffer option, which can be attached to a message, // field, enumeration, etc. type Option struct { @@ -1765,6 +2034,53 @@ func (s *Option) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Parameter: Preview: Parameter value applied to the aggregation +// function. This is a preview feature and may be subject to change +// before final release. +type Parameter struct { + // DoubleValue: A floating-point parameter value. + DoubleValue float64 `json:"doubleValue,omitempty"` + + // IntValue: An integer parameter value. + IntValue int64 `json:"intValue,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. "DoubleValue") 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. "DoubleValue") 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 *Parameter) MarshalJSON() ([]byte, error) { + type NoMethod Parameter + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *Parameter) UnmarshalJSON(data []byte) error { + type NoMethod Parameter + var s1 struct { + DoubleValue gensupport.JSONFloat64 `json:"doubleValue"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.DoubleValue = float64(s1.DoubleValue) + return nil +} + // PickTimeSeriesFilter: Describes a ranking-based time series filter. // Each input time series is ranked with an aligner. The filter will // allow up to num_time_series time series to pass through it, selecting @@ -2920,6 +3236,11 @@ func (s *TimeSeriesFilterRatio) MarshalJSON() ([]byte, error) { // methods for querying time series data from the Stackdriver metrics // API. type TimeSeriesQuery struct { + // OpsAnalyticsQuery: Preview: A query used to fetch a time series, + // category series, or numeric series with SQL. This is a preview + // feature and may be subject to change before final release. + OpsAnalyticsQuery *OpsAnalyticsQuery `json:"opsAnalyticsQuery,omitempty"` + // OutputFullDuration: Optional. If set, Cloud Monitoring will treat the // full query duration as the alignment period so that there will be // only 1 output value.*Note: This could override the configured @@ -2947,7 +3268,7 @@ type TimeSeriesQuery struct { // field in MetricDescriptor. UnitOverride string `json:"unitOverride,omitempty"` - // ForceSendFields is a list of field names (e.g. "OutputFullDuration") + // ForceSendFields is a list of field names (e.g. "OpsAnalyticsQuery") // 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 @@ -2955,7 +3276,7 @@ type TimeSeriesQuery struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "OutputFullDuration") to + // NullFields is a list of field names (e.g. "OpsAnalyticsQuery") 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 diff --git a/mybusinessverifications/v1/mybusinessverifications-api.json b/mybusinessverifications/v1/mybusinessverifications-api.json index 6b84cefd9f9..65a2521f5e0 100644 --- a/mybusinessverifications/v1/mybusinessverifications-api.json +++ b/mybusinessverifications/v1/mybusinessverifications-api.json @@ -235,28 +235,9 @@ } } } - }, - "verificationTokens": { - "methods": { - "generate": { - "description": "Generates a token for the provided location data as a vetted [partner](https://support.google.com/business/answer/7674102). Throws PERMISSION_DENIED if the caller is not a vetted partner account. Throws FAILED_PRECONDITION if the caller's VettedStatus is INVALID.", - "flatPath": "v1/verificationTokens:generate", - "httpMethod": "POST", - "id": "mybusinessverifications.verificationTokens.generate", - "parameterOrder": [], - "parameters": {}, - "path": "v1/verificationTokens:generate", - "request": { - "$ref": "GenerateVerificationTokenRequest" - }, - "response": { - "$ref": "GenerateVerificationTokenResponse" - } - } - } } }, - "revision": "20230209", + "revision": "20230914", "rootUrl": "https://mybusinessverifications.googleapis.com/", "schemas": { "AddressVerificationData": { @@ -370,28 +351,6 @@ }, "type": "object" }, - "GenerateVerificationTokenRequest": { - "description": "Request message for Verifications.GenerateVerificationToken.", - "id": "GenerateVerificationTokenRequest", - "properties": { - "location": { - "$ref": "Location", - "description": "Required. The target location. Note: The location information should exactly match the target Location, otherwise the generated verification token won't be able to verify the target Location." - } - }, - "type": "object" - }, - "GenerateVerificationTokenResponse": { - "description": "Response message for Verifications.GenerateVerificationToken.", - "id": "GenerateVerificationTokenResponse", - "properties": { - "token": { - "$ref": "VerificationToken", - "description": "The generated token to verify the location." - } - }, - "type": "object" - }, "ListVerificationsResponse": { "description": "Response message for Verifications.ListVerifications.", "id": "ListVerificationsResponse", @@ -410,33 +369,6 @@ }, "type": "object" }, - "Location": { - "description": "A subset of location info. See the [help center article] (https://support.google.com/business/answer/3038177) for a detailed description of these fields, or the [category endpoint](/my-business/reference/rest/v4/categories) for a list of valid business categories.", - "id": "Location", - "properties": { - "address": { - "$ref": "PostalAddress", - "description": "Required. A precise, accurate address to describe your business location. PO boxes or mailboxes located at remote locations are not acceptable. At this time, you can specify a maximum of five `address_lines` values in the address." - }, - "name": { - "description": "Required. Location name should reflect your business's real-world name, as used consistently on your storefront, website, and stationery, and as known to customers. Any additional information, when relevant, can be included in other fields of the resource (for example, `Address`, `Categories`). Don't add unnecessary information to your name (for example, prefer \"Google\" over \"Google Inc. - Mountain View Corporate Headquarters\"). Don't include marketing taglines, store codes, special characters, hours or closed/open status, phone numbers, website URLs, service/product information, location/address or directions, or containment information (for example, \"Chase ATM in Duane Reade\").", - "type": "string" - }, - "primaryCategoryId": { - "description": "Required. Id of the category that best describes the core business this location engages in. e.g. gcid:bakery.", - "type": "string" - }, - "primaryPhone": { - "description": "Optional. A phone number that connects to your individual business location as directly as possible. Use a local phone number instead of a central, call center helpline number whenever possible.", - "type": "string" - }, - "websiteUri": { - "description": "Optional. A URL for this business. If possible, use a URL that represents this individual business location instead of a generic website/URL that represents all locations, or the brand.", - "type": "string" - } - }, - "type": "object" - }, "PostalAddress": { "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", "id": "PostalAddress", diff --git a/mybusinessverifications/v1/mybusinessverifications-gen.go b/mybusinessverifications/v1/mybusinessverifications-gen.go index 65de81f6a26..dc9709f296f 100644 --- a/mybusinessverifications/v1/mybusinessverifications-gen.go +++ b/mybusinessverifications/v1/mybusinessverifications-gen.go @@ -121,7 +121,6 @@ func New(client *http.Client) (*Service, error) { } s := &Service{client: client, BasePath: basePath} s.Locations = NewLocationsService(s) - s.VerificationTokens = NewVerificationTokensService(s) return s, nil } @@ -131,8 +130,6 @@ type Service struct { UserAgent string // optional additional User-Agent fragment Locations *LocationsService - - VerificationTokens *VerificationTokensService } func (s *Service) userAgent() string { @@ -163,15 +160,6 @@ type LocationsVerificationsService struct { s *Service } -func NewVerificationTokensService(s *Service) *VerificationTokensService { - rs := &VerificationTokensService{s: s} - return rs -} - -type VerificationTokensService struct { - s *Service -} - // AddressVerificationData: Display data for verifications through // postcard. type AddressVerificationData struct { @@ -420,71 +408,6 @@ func (s *FetchVerificationOptionsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GenerateVerificationTokenRequest: Request message for -// Verifications.GenerateVerificationToken. -type GenerateVerificationTokenRequest struct { - // Location: Required. The target location. Note: The location - // information should exactly match the target Location, otherwise the - // generated verification token won't be able to verify the target - // Location. - Location *Location `json:"location,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Location") 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. "Location") 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 *GenerateVerificationTokenRequest) MarshalJSON() ([]byte, error) { - type NoMethod GenerateVerificationTokenRequest - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - -// GenerateVerificationTokenResponse: Response message for -// Verifications.GenerateVerificationToken. -type GenerateVerificationTokenResponse struct { - // Token: The generated token to verify the location. - Token *VerificationToken `json:"token,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the - // server. - googleapi.ServerResponse `json:"-"` - - // ForceSendFields is a list of field names (e.g. "Token") 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. "Token") 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 *GenerateVerificationTokenResponse) MarshalJSON() ([]byte, error) { - type NoMethod GenerateVerificationTokenResponse - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // ListVerificationsResponse: Response message for // Verifications.ListVerifications. type ListVerificationsResponse struct { @@ -524,69 +447,6 @@ func (s *ListVerificationsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// Location: A subset of location info. See the [help center article] -// (https://support.google.com/business/answer/3038177) for a detailed -// description of these fields, or the category endpoint -// (/my-business/reference/rest/v4/categories) for a list of valid -// business categories. -type Location struct { - // Address: Required. A precise, accurate address to describe your - // business location. PO boxes or mailboxes located at remote locations - // are not acceptable. At this time, you can specify a maximum of five - // `address_lines` values in the address. - Address *PostalAddress `json:"address,omitempty"` - - // Name: Required. Location name should reflect your business's - // real-world name, as used consistently on your storefront, website, - // and stationery, and as known to customers. Any additional - // information, when relevant, can be included in other fields of the - // resource (for example, `Address`, `Categories`). Don't add - // unnecessary information to your name (for example, prefer "Google" - // over "Google Inc. - Mountain View Corporate Headquarters"). Don't - // include marketing taglines, store codes, special characters, hours or - // closed/open status, phone numbers, website URLs, service/product - // information, location/address or directions, or containment - // information (for example, "Chase ATM in Duane Reade"). - Name string `json:"name,omitempty"` - - // PrimaryCategoryId: Required. Id of the category that best describes - // the core business this location engages in. e.g. gcid:bakery. - PrimaryCategoryId string `json:"primaryCategoryId,omitempty"` - - // PrimaryPhone: Optional. A phone number that connects to your - // individual business location as directly as possible. Use a local - // phone number instead of a central, call center helpline number - // whenever possible. - PrimaryPhone string `json:"primaryPhone,omitempty"` - - // WebsiteUri: Optional. A URL for this business. If possible, use a URL - // that represents this individual business location instead of a - // generic website/URL that represents all locations, or the brand. - WebsiteUri string `json:"websiteUri,omitempty"` - - // ForceSendFields is a list of field names (e.g. "Address") 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. "Address") 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 *Location) MarshalJSON() ([]byte, error) { - type NoMethod Location - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // PostalAddress: Represents a postal address, e.g. for postal delivery // or payments addresses. Given a postal address, a postal service can // deliver items to a premise, P.O. Box or similar. It is not intended @@ -1871,130 +1731,3 @@ func (c *LocationsVerificationsListCall) Pages(ctx context.Context, f func(*List c.PageToken(x.NextPageToken) } } - -// method id "mybusinessverifications.verificationTokens.generate": - -type VerificationTokensGenerateCall struct { - s *Service - generateverificationtokenrequest *GenerateVerificationTokenRequest - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Generate: Generates a token for the provided location data as a -// vetted partner (https://support.google.com/business/answer/7674102). -// Throws PERMISSION_DENIED if the caller is not a vetted partner -// account. Throws FAILED_PRECONDITION if the caller's VettedStatus is -// INVALID. -func (r *VerificationTokensService) Generate(generateverificationtokenrequest *GenerateVerificationTokenRequest) *VerificationTokensGenerateCall { - c := &VerificationTokensGenerateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.generateverificationtokenrequest = generateverificationtokenrequest - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse -// for more information. -func (c *VerificationTokensGenerateCall) Fields(s ...googleapi.Field) *VerificationTokensGenerateCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. Any -// pending HTTP request will be aborted if the provided context is -// canceled. -func (c *VerificationTokensGenerateCall) Context(ctx context.Context) *VerificationTokensGenerateCall { - c.ctx_ = ctx - return c -} - -// Header returns an http.Header that can be modified by the caller to -// add HTTP headers to the request. -func (c *VerificationTokensGenerateCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *VerificationTokensGenerateCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := make(http.Header) - reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) - for k, v := range c.header_ { - reqHeaders[k] = v - } - reqHeaders.Set("User-Agent", c.s.userAgent()) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.generateverificationtokenrequest) - if err != nil { - return nil, err - } - reqHeaders.Set("Content-Type", "application/json") - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/verificationTokens:generate") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "mybusinessverifications.verificationTokens.generate" call. -// Exactly one of *GenerateVerificationTokenResponse or error will be -// non-nil. Any non-2xx status code is an error. Response headers are in -// either *GenerateVerificationTokenResponse.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 *VerificationTokensGenerateCall) Do(opts ...googleapi.CallOption) (*GenerateVerificationTokenResponse, 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 := &GenerateVerificationTokenResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil - // { - // "description": "Generates a token for the provided location data as a vetted [partner](https://support.google.com/business/answer/7674102). Throws PERMISSION_DENIED if the caller is not a vetted partner account. Throws FAILED_PRECONDITION if the caller's VettedStatus is INVALID.", - // "flatPath": "v1/verificationTokens:generate", - // "httpMethod": "POST", - // "id": "mybusinessverifications.verificationTokens.generate", - // "parameterOrder": [], - // "parameters": {}, - // "path": "v1/verificationTokens:generate", - // "request": { - // "$ref": "GenerateVerificationTokenRequest" - // }, - // "response": { - // "$ref": "GenerateVerificationTokenResponse" - // } - // } - -} diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json index 4484ce2e04c..64461fc9901 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-api.json +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-api.json @@ -396,7 +396,7 @@ } } }, - "revision": "20230906", + "revision": "20230913", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "GoogleCloudPaymentsResellerSubscriptionV1Amount": { @@ -715,6 +715,11 @@ "description": "A Product resource that defines a subscription service that can be resold.", "id": "GoogleCloudPaymentsResellerSubscriptionV1Product", "properties": { + "bundleDetails": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails", + "description": "Output only. Output Only. Specifies the details for a bundle product.", + "readOnly": true + }, "finiteBillingCycleDetails": { "$ref": "GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails", "description": "Optional. Details for a subscription line item with finite billing cycles. If unset, the line item will be charged indefinitely." @@ -732,6 +737,21 @@ "readOnly": true, "type": "array" }, + "productType": { + "description": "Output only. Output Only. Specifies the type of the product.", + "enum": [ + "PRODUCT_TYPE_UNSPECIFIED", + "PRODUCT_TYPE_SUBSCRIPTION", + "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION" + ], + "enumDescriptions": [ + "Unspecified. It's reserved as an unexpected value, should not be used.", + "The product is a subscription.", + "The product is a bundled subscription plan, which includes multiple subscription elements." + ], + "readOnly": true, + "type": "string" + }, "regionCodes": { "description": "Output only. 2-letter ISO region code where the product is available in. Ex. \"US\" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1", "items": { @@ -756,6 +776,46 @@ }, "type": "object" }, + "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails": { + "description": "Details for a bundle product.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails", + "properties": { + "bundleElements": { + "description": "The individual products that are included in the bundle.", + "items": { + "$ref": "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement" + }, + "type": "array" + }, + "entitlementMode": { + "description": "The entitlement mode of the bundle product.", + "enum": [ + "ENTITLEMENT_MODE_UNSPECIFIED", + "ENTITLEMENT_MODE_FULL", + "ENTITLEMENT_MODE_INCREMENTAL" + ], + "enumDescriptions": [ + "Unspecified. It's reserved as an unexpected value, should not be used.", + "All the bundle elements must be fully activated in a single request.", + "The bundle elements could be incrementally activated." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement": { + "description": "The individual product that is included in the bundle.", + "id": "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement", + "properties": { + "product": { + "description": "Required. Output only. Product resource name that identifies the bundle element. The format is 'partners/{partner_id}/products/{product_id}'.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudPaymentsResellerSubscriptionV1ProductPayload": { "description": "Specifies product specific payload.", "id": "GoogleCloudPaymentsResellerSubscriptionV1ProductPayload", diff --git a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go index 0a38a6ef934..5e9068792c3 100644 --- a/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go +++ b/paymentsresellersubscription/v1/paymentsresellersubscription-gen.go @@ -788,6 +788,10 @@ func (s *GoogleCloudPaymentsResellerSubscriptionV1Location) MarshalJSON() ([]byt // GoogleCloudPaymentsResellerSubscriptionV1Product: A Product resource // that defines a subscription service that can be resold. type GoogleCloudPaymentsResellerSubscriptionV1Product struct { + // BundleDetails: Output only. Output Only. Specifies the details for a + // bundle product. + BundleDetails *GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails `json:"bundleDetails,omitempty"` + // FiniteBillingCycleDetails: Optional. Details for a subscription line // item with finite billing cycles. If unset, the line item will be // charged indefinitely. @@ -801,6 +805,17 @@ type GoogleCloudPaymentsResellerSubscriptionV1Product struct { // available regions. PriceConfigs []*GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig `json:"priceConfigs,omitempty"` + // ProductType: Output only. Output Only. Specifies the type of the + // product. + // + // Possible values: + // "PRODUCT_TYPE_UNSPECIFIED" - Unspecified. It's reserved as an + // unexpected value, should not be used. + // "PRODUCT_TYPE_SUBSCRIPTION" - The product is a subscription. + // "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION" - The product is a bundled + // subscription plan, which includes multiple subscription elements. + ProductType string `json:"productType,omitempty"` + // RegionCodes: Output only. 2-letter ISO region code where the product // is available in. Ex. "US" Please refers to: // https://en.wikipedia.org/wiki/ISO_3166-1 @@ -813,22 +828,20 @@ type GoogleCloudPaymentsResellerSubscriptionV1Product struct { // Titles: Output only. Localized human readable name of the product. Titles []*GoogleTypeLocalizedText `json:"titles,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "FiniteBillingCycleDetails") 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 is a list of field names (e.g. "BundleDetails") 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. - // "FiniteBillingCycleDetails") to include in API requests with the JSON - // null value. By default, fields with empty values are omitted from API - // requests. However, any field with an empty value appearing in - // NullFields will be sent to the server as null. It is an error if a - // field in this list has a non-empty value. This may be used to include - // null fields in Patch requests. + // NullFields is a list of field names (e.g. "BundleDetails") 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:"-"` } @@ -838,6 +851,79 @@ func (s *GoogleCloudPaymentsResellerSubscriptionV1Product) MarshalJSON() ([]byte return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails: +// Details for a bundle product. +type GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails struct { + // BundleElements: The individual products that are included in the + // bundle. + BundleElements []*GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement `json:"bundleElements,omitempty"` + + // EntitlementMode: The entitlement mode of the bundle product. + // + // Possible values: + // "ENTITLEMENT_MODE_UNSPECIFIED" - Unspecified. It's reserved as an + // unexpected value, should not be used. + // "ENTITLEMENT_MODE_FULL" - All the bundle elements must be fully + // activated in a single request. + // "ENTITLEMENT_MODE_INCREMENTAL" - The bundle elements could be + // incrementally activated. + EntitlementMode string `json:"entitlementMode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BundleElements") 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. "BundleElements") 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 *GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleEle +// ment: The individual product that is included in the bundle. +type GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement struct { + // Product: Required. Output only. Product resource name that identifies + // the bundle element. The format is + // 'partners/{partner_id}/products/{product_id}'. + Product string `json:"product,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Product") 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. "Product") 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 *GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudPaymentsResellerSubscriptionV1ProductPayload: Specifies // product specific payload. type GoogleCloudPaymentsResellerSubscriptionV1ProductPayload struct { diff --git a/run/v1/run-api.json b/run/v1/run-api.json index 688cfb1f362..e7dee9a1f8c 100644 --- a/run/v1/run-api.json +++ b/run/v1/run-api.json @@ -2289,7 +2289,7 @@ } } }, - "revision": "20230806", + "revision": "20230910", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -3583,14 +3583,14 @@ "type": "object" }, "ObjectMeta": { - "description": "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", + "description": "google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", "id": "ObjectMeta", "properties": { "annotations": { "additionalProperties": { "type": "string" }, - "description": "Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision. * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.", + "description": "Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision. * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/disable-default-uri`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.", "type": "object" }, "clusterName": { @@ -4038,7 +4038,7 @@ "type": "array" }, "url": { - "description": "URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form: https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app", + "description": "URL holds the url that will distribute traffic over the provided traffic targets. It generally has the form: `https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app`", "type": "string" } }, @@ -4050,7 +4050,7 @@ "properties": { "overrides": { "$ref": "Overrides", - "description": "Optional. Private preview feature. Currently only available by invitation. Overrides specification for a given execution of a job. The specified values update the specification of the created execution." + "description": "Optional. Overrides existing job configuration for one specific new job execution only, using the specified values to update the job configuration for the new execution." } }, "type": "object" @@ -4152,7 +4152,7 @@ }, "metadata": { "$ref": "ObjectMeta", - "description": "Metadata associated with this Service, including name, namespace, labels, and annotations. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. The following Cloud Run-specific annotations are accepted in Service.metadata.annotations. * `run.googleapis.com/binary-authorization-breakglass` * `run.googleapis.com/binary-authorization` * `run.googleapis.com/client-name` * `run.googleapis.com/custom-audiences` * `run.googleapis.com/description` * `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * `run.googleapis.com/ingress` sets the ingress settings for the Service. See [the ingress settings documentation](/run/docs/securing/ingress) for details on configuring ingress settings. * `run.googleapis.com/ingress-status` is output-only and contains the currently active ingress settings for the Service. `run.googleapis.com/ingress-status` may differ from `run.googleapis.com/ingress` while the system is processing a change to `run.googleapis.com/ingress` or if the system failed to process a change to `run.googleapis.com/ingress`. When the system has processed all changes successfully `run.googleapis.com/ingress-status` and `run.googleapis.com/ingress` are equal." + "description": "Metadata associated with this Service, including name, namespace, labels, and annotations. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. The following Cloud Run-specific annotations are accepted in Service.metadata.annotations. * `run.googleapis.com/binary-authorization-breakglass` * `run.googleapis.com/binary-authorization` * `run.googleapis.com/client-name` * `run.googleapis.com/custom-audiences` * `run.googleapis.com/description` * `run.googleapis.com/disable-default-uri` * `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * `run.googleapis.com/ingress` sets the ingress settings for the Service. See [the ingress settings documentation](/run/docs/securing/ingress) for details on configuring ingress settings. * `run.googleapis.com/ingress-status` is output-only and contains the currently active ingress settings for the Service. `run.googleapis.com/ingress-status` may differ from `run.googleapis.com/ingress` while the system is processing a change to `run.googleapis.com/ingress` or if the system failed to process a change to `run.googleapis.com/ingress`. When the system has processed all changes successfully `run.googleapis.com/ingress-status` and `run.googleapis.com/ingress` are equal." }, "spec": { "$ref": "ServiceSpec", @@ -4219,7 +4219,7 @@ "type": "array" }, "url": { - "description": "URL that will distribute traffic over the provided traffic targets. It generally has the form https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app", + "description": "URL that will distribute traffic over the provided traffic targets. It generally has the form `https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app`", "type": "string" } }, diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index 6262958d37a..0f32a258fb1 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -2672,9 +2672,9 @@ func (s *Location) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// ObjectMeta: k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is -// metadata that all persisted resources must have, which includes all -// objects users must create. +// ObjectMeta: google.cloud.run.meta.v1.ObjectMeta is metadata that all +// persisted resources must have, which includes all objects users must +// create. type ObjectMeta struct { // Annotations: Unstructured key value map stored with a resource that // may be set by external tools to store and retrieve arbitrary @@ -2692,6 +2692,7 @@ type ObjectMeta struct { // `run.googleapis.com/cpu-throttling`: Revision. * // `run.googleapis.com/custom-audiences`: Service. * // `run.googleapis.com/description`: Service. * + // `run.googleapis.com/disable-default-uri`: Service. * // `run.googleapis.com/encryption-key-shutdown-hours`: Revision * // `run.googleapis.com/encryption-key`: Revision, Execution. * // `run.googleapis.com/execution-environment`: Revision, Execution. * @@ -3462,7 +3463,7 @@ type RouteStatus struct { // Url: URL holds the url that will distribute traffic over the provided // traffic targets. It generally has the form: - // https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app + // `https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app` Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") to @@ -3490,10 +3491,9 @@ func (s *RouteStatus) MarshalJSON() ([]byte, error) { // RunJobRequest: Request message for creating a new execution of a job. type RunJobRequest struct { - // Overrides: Optional. Private preview feature. Currently only - // available by invitation. Overrides specification for a given - // execution of a job. The specified values update the specification of - // the created execution. + // Overrides: Optional. Overrides existing job configuration for one + // specific new job execution only, using the specified values to update + // the job configuration for the new execution. Overrides *Overrides `json:"overrides,omitempty"` // ForceSendFields is a list of field names (e.g. "Overrides") to @@ -3738,6 +3738,7 @@ type Service struct { // `run.googleapis.com/client-name` * // `run.googleapis.com/custom-audiences` * // `run.googleapis.com/description` * + // `run.googleapis.com/disable-default-uri` * // `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * // `run.googleapis.com/ingress` sets the ingress settings for the // Service. See the ingress settings documentation @@ -3860,7 +3861,7 @@ type ServiceStatus struct { // Url: URL that will distribute traffic over the provided traffic // targets. It generally has the form - // https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app + // `https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app` Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") to diff --git a/serviceusage/v1/serviceusage-api.json b/serviceusage/v1/serviceusage-api.json index 204e8b55231..20902fdbb04 100644 --- a/serviceusage/v1/serviceusage-api.json +++ b/serviceusage/v1/serviceusage-api.json @@ -426,7 +426,7 @@ } } }, - "revision": "20230806", + "revision": "20230913", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AddEnableRulesMetadata": { @@ -436,7 +436,7 @@ "type": "object" }, "AddEnableRulesResponse": { - "description": "The response message of \"AddEnableRules\" method.", + "description": "The response message of `AddEnableRules` method.", "id": "AddEnableRulesResponse", "properties": { "addedValues": { @@ -953,7 +953,7 @@ "type": "string" }, "name": { - "description": "Output only. The resource name of the policy. For example, We only allow consumer policy name as \"default\" for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`", + "description": "Output only. The resource name of the policy. We only allow consumer policy name as `default` for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.", "readOnly": true, "type": "string" }, @@ -1302,7 +1302,7 @@ }, "groups": { "deprecated": true, - "description": "DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). go/predefined-service-groups. Example: `groups/googleServices`.", + "description": "DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). Example: `groups/googleServices`.", "items": { "type": "string" }, @@ -1317,7 +1317,7 @@ "type": "array" }, "values": { - "description": "The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.", + "description": "The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`.", "items": { "type": "string" }, @@ -2904,7 +2904,7 @@ "type": "object" }, "RemoveEnableRulesResponse": { - "description": "The response message of \"RemoveEnableRules\" method.", + "description": "The response message of `RemoveEnableRules` method.", "id": "RemoveEnableRulesResponse", "properties": { "parent": { diff --git a/serviceusage/v1/serviceusage-gen.go b/serviceusage/v1/serviceusage-gen.go index a433a888623..1b8bf3b1230 100644 --- a/serviceusage/v1/serviceusage-gen.go +++ b/serviceusage/v1/serviceusage-gen.go @@ -190,7 +190,7 @@ type ServicesService struct { type AddEnableRulesMetadata struct { } -// AddEnableRulesResponse: The response message of "AddEnableRules" +// AddEnableRulesResponse: The response message of `AddEnableRules` // method. type AddEnableRulesResponse struct { // AddedValues: The values added to the parent consumer policy. @@ -1140,12 +1140,11 @@ type ConsumerPolicy struct { // used for concurrency control. Etag string `json:"etag,omitempty"` - // Name: Output only. The resource name of the policy. For example, We - // only allow consumer policy name as "default" for now: + // Name: Output only. The resource name of the policy. We only allow + // consumer policy name as `default` for now: // `projects/12345/consumerPolicies/default`, // `folders/12345/consumerPolicies/default`, - // `organizations/12345/consumerPolicies/default`. Legacy format: - // `projects/12345/consumerPoly` + // `organizations/12345/consumerPolicies/default`. Name string `json:"name,omitempty"` // UpdateTime: The last-modified time. @@ -1791,8 +1790,7 @@ type EnableRule struct { // Groups: DEPRECATED: Please use field `values`. Service group should // have prefix `groups/`. The names of the service groups that are - // enabled (Not Implemented). go/predefined-service-groups. Example: - // `groups/googleServices`. + // enabled (Not Implemented). Example: `groups/googleServices`. Groups []string `json:"groups,omitempty"` // Services: DEPRECATED: Please use field `values`. Service should have @@ -1801,8 +1799,8 @@ type EnableRule struct { Services []string `json:"services,omitempty"` // Values: The names of the services or service groups that are enabled. - // Example: `services/storage.googleapis.com`, groups/googleServices`, - // groups/allServices`. + // Example: `services/storage.googleapis.com`, `groups/googleServices`, + // `groups/allServices`. Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableType") to @@ -4693,7 +4691,7 @@ type RemoveEnableRulesMetadata struct { } // RemoveEnableRulesResponse: The response message of -// "RemoveEnableRules" method. +// `RemoveEnableRules` method. type RemoveEnableRulesResponse struct { // Parent: The parent consumer policy. It can be // `projects/12345/consumerPolicies/default`, or diff --git a/serviceusage/v1beta1/serviceusage-api.json b/serviceusage/v1beta1/serviceusage-api.json index b7425b6f988..fba0a1821c2 100644 --- a/serviceusage/v1beta1/serviceusage-api.json +++ b/serviceusage/v1beta1/serviceusage-api.json @@ -964,7 +964,7 @@ } } }, - "revision": "20230815", + "revision": "20230913", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AddEnableRulesMetadata": { @@ -974,7 +974,7 @@ "type": "object" }, "AddEnableRulesResponse": { - "description": "The response message of \"AddEnableRules\" method.", + "description": "The response message of `AddEnableRules` method.", "id": "AddEnableRulesResponse", "properties": { "addedValues": { @@ -1471,7 +1471,7 @@ "type": "string" }, "name": { - "description": "Output only. The resource name of the policy. For example, We only allow consumer policy name as \"default\" for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`. Legacy format: `projects/12345/consumerPoly`", + "description": "Output only. The resource name of the policy. We only allow consumer policy name as `default` for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.", "readOnly": true, "type": "string" }, @@ -1879,7 +1879,7 @@ }, "groups": { "deprecated": true, - "description": "DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). go/predefined-service-groups. Example: `groups/googleServices`.", + "description": "DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of the service groups that are enabled (Not Implemented). Example: `groups/googleServices`.", "items": { "type": "string" }, @@ -1894,7 +1894,7 @@ "type": "array" }, "values": { - "description": "The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, groups/googleServices`, groups/allServices`.", + "description": "The names of the services or service groups that are enabled. Example: `services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`.", "items": { "type": "string" }, @@ -3688,7 +3688,7 @@ "type": "object" }, "RemoveEnableRulesResponse": { - "description": "The response message of \"RemoveEnableRules\" method.", + "description": "The response message of `RemoveEnableRules` method.", "id": "RemoveEnableRulesResponse", "properties": { "parent": { diff --git a/serviceusage/v1beta1/serviceusage-gen.go b/serviceusage/v1beta1/serviceusage-gen.go index 871479c18af..62c0d8855be 100644 --- a/serviceusage/v1beta1/serviceusage-gen.go +++ b/serviceusage/v1beta1/serviceusage-gen.go @@ -238,7 +238,7 @@ type ServicesConsumerQuotaMetricsLimitsConsumerOverridesService struct { type AddEnableRulesMetadata struct { } -// AddEnableRulesResponse: The response message of "AddEnableRules" +// AddEnableRulesResponse: The response message of `AddEnableRules` // method. type AddEnableRulesResponse struct { // AddedValues: The values added to the parent consumer policy. @@ -1152,12 +1152,11 @@ type ConsumerPolicy struct { // used for concurrency control. Etag string `json:"etag,omitempty"` - // Name: Output only. The resource name of the policy. For example, We - // only allow consumer policy name as "default" for now: + // Name: Output only. The resource name of the policy. We only allow + // consumer policy name as `default` for now: // `projects/12345/consumerPolicies/default`, // `folders/12345/consumerPolicies/default`, - // `organizations/12345/consumerPolicies/default`. Legacy format: - // `projects/12345/consumerPoly` + // `organizations/12345/consumerPolicies/default`. Name string `json:"name,omitempty"` // UpdateTime: The last-modified time. @@ -1883,8 +1882,7 @@ type EnableRule struct { // Groups: DEPRECATED: Please use field `values`. Service group should // have prefix `groups/`. The names of the service groups that are - // enabled (Not Implemented). go/predefined-service-groups. Example: - // `groups/googleServices`. + // enabled (Not Implemented). Example: `groups/googleServices`. Groups []string `json:"groups,omitempty"` // Services: DEPRECATED: Please use field `values`. Service should have @@ -1893,8 +1891,8 @@ type EnableRule struct { Services []string `json:"services,omitempty"` // Values: The names of the services or service groups that are enabled. - // Example: `services/storage.googleapis.com`, groups/googleServices`, - // groups/allServices`. + // Example: `services/storage.googleapis.com`, `groups/googleServices`, + // `groups/allServices`. Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableType") to @@ -5148,7 +5146,7 @@ type RemoveEnableRulesMetadata struct { } // RemoveEnableRulesResponse: The response message of -// "RemoveEnableRules" method. +// `RemoveEnableRules` method. type RemoveEnableRulesResponse struct { // Parent: The parent consumer policy. It can be // `projects/12345/consumerPolicies/default`, or