diff --git a/analyticshub/v1/analyticshub-api.json b/analyticshub/v1/analyticshub-api.json index 5d9976f886e..97902af187b 100644 --- a/analyticshub/v1/analyticshub-api.json +++ b/analyticshub/v1/analyticshub-api.json @@ -1027,7 +1027,7 @@ } } }, - "revision": "20250414", + "revision": "20250418", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AuditConfig": { @@ -1731,6 +1731,10 @@ "description": "A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.", "id": "Listing", "properties": { + "allowOnlyMetadataSharing": { + "description": "Optional. If true, the listing is only available to get the resource metadata. Listing is non subscribable.", + "type": "boolean" + }, "bigqueryDataset": { "$ref": "BigQueryDatasetSource", "description": "Shared dataset i.e. BigQuery dataset source." diff --git a/analyticshub/v1/analyticshub-gen.go b/analyticshub/v1/analyticshub-gen.go index ee2227501a9..0a945c973fa 100644 --- a/analyticshub/v1/analyticshub-gen.go +++ b/analyticshub/v1/analyticshub-gen.go @@ -1453,6 +1453,9 @@ func (s ListSubscriptionsResponse) MarshalJSON() ([]byte, error) { // along with descriptive information that will help subscribers find and // subscribe the data. type Listing struct { + // AllowOnlyMetadataSharing: Optional. If true, the listing is only available + // to get the resource metadata. Listing is non subscribable. + AllowOnlyMetadataSharing bool `json:"allowOnlyMetadataSharing,omitempty"` // BigqueryDataset: Shared dataset i.e. BigQuery dataset source. BigqueryDataset *BigQueryDatasetSource `json:"bigqueryDataset,omitempty"` // Categories: Optional. Categories of the listing. Up to two categories are @@ -1553,15 +1556,15 @@ type Listing struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "BigqueryDataset") to - // unconditionally include in API requests. By default, fields with empty or + // ForceSendFields is a list of field names (e.g. "AllowOnlyMetadataSharing") + // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BigqueryDataset") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "AllowOnlyMetadataSharing") to + // include in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } diff --git a/analyticshub/v1beta1/analyticshub-api.json b/analyticshub/v1beta1/analyticshub-api.json index 506a9360274..f1574301489 100644 --- a/analyticshub/v1beta1/analyticshub-api.json +++ b/analyticshub/v1beta1/analyticshub-api.json @@ -695,7 +695,7 @@ } } }, - "revision": "20250217", + "revision": "20250418", "rootUrl": "https://analyticshub.googleapis.com/", "schemas": { "AuditConfig": { @@ -1032,6 +1032,10 @@ "description": "A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.", "id": "Listing", "properties": { + "allowOnlyMetadataSharing": { + "description": "Optional. If true, the listing is only available to get the resource metadata. Listing is non subscribable.", + "type": "boolean" + }, "bigqueryDataset": { "$ref": "BigQueryDatasetSource", "description": "Required. Shared dataset i.e. BigQuery dataset source." diff --git a/analyticshub/v1beta1/analyticshub-gen.go b/analyticshub/v1beta1/analyticshub-gen.go index 4ca9033dc93..97f8c16851c 100644 --- a/analyticshub/v1beta1/analyticshub-gen.go +++ b/analyticshub/v1beta1/analyticshub-gen.go @@ -862,6 +862,9 @@ func (s ListOrgDataExchangesResponse) MarshalJSON() ([]byte, error) { // along with descriptive information that will help subscribers find and // subscribe the data. type Listing struct { + // AllowOnlyMetadataSharing: Optional. If true, the listing is only available + // to get the resource metadata. Listing is non subscribable. + AllowOnlyMetadataSharing bool `json:"allowOnlyMetadataSharing,omitempty"` // BigqueryDataset: Required. Shared dataset i.e. BigQuery dataset source. BigqueryDataset *BigQueryDatasetSource `json:"bigqueryDataset,omitempty"` // Categories: Optional. Categories of the listing. Up to two categories are @@ -937,15 +940,15 @@ type Listing struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "BigqueryDataset") to - // unconditionally include in API requests. By default, fields with empty or + // ForceSendFields is a list of field names (e.g. "AllowOnlyMetadataSharing") + // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BigqueryDataset") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "AllowOnlyMetadataSharing") to + // include in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } diff --git a/apigee/v1/apigee-api.json b/apigee/v1/apigee-api.json index 72b7caa40dd..5a7bb1dfac5 100644 --- a/apigee/v1/apigee-api.json +++ b/apigee/v1/apigee-api.json @@ -6449,7 +6449,7 @@ "type": "string" }, "limit": { - "description": "Maximum number of result items to return. The default and maximum value that can be returned is 14400.", + "description": "Maximum number of result items to return.", "location": "query", "type": "string" }, @@ -6486,7 +6486,7 @@ "type": "string" }, "sortby": { - "description": "Comma-separated list of columns to sort the final result.", + "description": "Comma-separated list of metrics to sort the final result.", "location": "query", "type": "string" }, @@ -7690,7 +7690,7 @@ "type": "string" }, "limit": { - "description": "Maximum number of result items to return. The default and maximum value that can be returned is 14400.", + "description": "Maximum number of result items to return.", "location": "query", "type": "string" }, @@ -7727,7 +7727,7 @@ "type": "string" }, "sortby": { - "description": "Comma-separated list of columns to sort the final result.", + "description": "Comma-separated list of metrics to sort the final result.", "location": "query", "type": "string" }, @@ -8407,7 +8407,7 @@ "type": "string" }, "limit": { - "description": "Maximum number of result items to return. The default and maximum value that can be returned is 14400.", + "description": "Maximum number of result items to return.", "location": "query", "type": "string" }, @@ -8439,7 +8439,7 @@ "type": "string" }, "sortby": { - "description": "Comma-separated list of columns to sort the final result.", + "description": "Comma-separated list of metrics to sort the final result.", "location": "query", "type": "string" }, @@ -9284,7 +9284,7 @@ "type": "string" }, "limit": { - "description": "Maximum number of result items to return. The default and maximum value that can be returned is 14400.", + "description": "Maximum number of result items to return.", "location": "query", "type": "string" }, @@ -9316,7 +9316,7 @@ "type": "string" }, "sortby": { - "description": "Comma-separated list of columns used to sort the final result.", + "description": "Comma-separated list of metrics used to sort the final result.", "location": "query", "type": "string" }, @@ -11063,7 +11063,7 @@ } } }, - "revision": "20250421", + "revision": "20250425", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { @@ -16306,6 +16306,7 @@ "type": "object" }, "GoogleCloudApigeeV1OptimizedStats": { + "description": "Encapsulates a response format for JavaScript Optimized Scenario.", "id": "GoogleCloudApigeeV1OptimizedStats", "properties": { "Response": { @@ -16320,6 +16321,7 @@ "id": "GoogleCloudApigeeV1OptimizedStatsNode", "properties": { "data": { + "description": "List of data values.", "items": { "type": "any" }, diff --git a/apigee/v1/apigee-gen.go b/apigee/v1/apigee-gen.go index c8ae1118b44..5d80d76ebc1 100644 --- a/apigee/v1/apigee-gen.go +++ b/apigee/v1/apigee-gen.go @@ -7713,6 +7713,8 @@ func (s GoogleCloudApigeeV1OperationMetadataProgress) MarshalJSON() ([]byte, err return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudApigeeV1OptimizedStats: Encapsulates a response format for +// JavaScript Optimized Scenario. type GoogleCloudApigeeV1OptimizedStats struct { // Response: Wraps the `stats` response for JavaScript Optimized Scenario with // a response key. For example: ```{ "Response": { "TimeUnit": [], "metaData": @@ -7754,6 +7756,7 @@ func (s GoogleCloudApigeeV1OptimizedStats) MarshalJSON() ([]byte, error) { // dimension is present in the query or not the data node type can be a simple // metric value or dimension identifier with list of metrics. type GoogleCloudApigeeV1OptimizedStatsNode struct { + // Data: List of data values. Data []interface{} `json:"data,omitempty"` // ForceSendFields is a list of field names (e.g. "Data") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -36361,7 +36364,7 @@ func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Filter(filter string) * } // Limit sets the optional parameter "limit": Maximum number of result items to -// return. The default and maximum value that can be returned is 14400. +// return. func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Limit(limit string) *OrganizationsEnvironmentsOptimizedStatsGetCall { c.urlParams_.Set("limit", limit) return c @@ -36404,7 +36407,7 @@ func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Sort(sort string) *Orga return c } -// Sortby sets the optional parameter "sortby": Comma-separated list of columns +// Sortby sets the optional parameter "sortby": Comma-separated list of metrics // to sort the final result. func (c *OrganizationsEnvironmentsOptimizedStatsGetCall) Sortby(sortby string) *OrganizationsEnvironmentsOptimizedStatsGetCall { c.urlParams_.Set("sortby", sortby) @@ -40784,7 +40787,7 @@ func (c *OrganizationsEnvironmentsStatsGetCall) Filter(filter string) *Organizat } // Limit sets the optional parameter "limit": Maximum number of result items to -// return. The default and maximum value that can be returned is 14400. +// return. func (c *OrganizationsEnvironmentsStatsGetCall) Limit(limit string) *OrganizationsEnvironmentsStatsGetCall { c.urlParams_.Set("limit", limit) return c @@ -40827,7 +40830,7 @@ func (c *OrganizationsEnvironmentsStatsGetCall) Sort(sort string) *Organizations return c } -// Sortby sets the optional parameter "sortby": Comma-separated list of columns +// Sortby sets the optional parameter "sortby": Comma-separated list of metrics // to sort the final result. func (c *OrganizationsEnvironmentsStatsGetCall) Sortby(sortby string) *OrganizationsEnvironmentsStatsGetCall { c.urlParams_.Set("sortby", sortby) @@ -43281,7 +43284,7 @@ func (c *OrganizationsHostStatsGetCall) Filter(filter string) *OrganizationsHost } // Limit sets the optional parameter "limit": Maximum number of result items to -// return. The default and maximum value that can be returned is 14400. +// return. func (c *OrganizationsHostStatsGetCall) Limit(limit string) *OrganizationsHostStatsGetCall { c.urlParams_.Set("limit", limit) return c @@ -43316,7 +43319,7 @@ func (c *OrganizationsHostStatsGetCall) Sort(sort string) *OrganizationsHostStat return c } -// Sortby sets the optional parameter "sortby": Comma-separated list of columns +// Sortby sets the optional parameter "sortby": Comma-separated list of metrics // to sort the final result. func (c *OrganizationsHostStatsGetCall) Sortby(sortby string) *OrganizationsHostStatsGetCall { c.urlParams_.Set("sortby", sortby) @@ -46531,7 +46534,7 @@ func (c *OrganizationsOptimizedHostStatsGetCall) Filter(filter string) *Organiza } // Limit sets the optional parameter "limit": Maximum number of result items to -// return. The default and maximum value that can be returned is 14400. +// return. func (c *OrganizationsOptimizedHostStatsGetCall) Limit(limit string) *OrganizationsOptimizedHostStatsGetCall { c.urlParams_.Set("limit", limit) return c @@ -46567,7 +46570,7 @@ func (c *OrganizationsOptimizedHostStatsGetCall) Sort(sort string) *Organization return c } -// Sortby sets the optional parameter "sortby": Comma-separated list of columns +// Sortby sets the optional parameter "sortby": Comma-separated list of metrics // used to sort the final result. func (c *OrganizationsOptimizedHostStatsGetCall) Sortby(sortby string) *OrganizationsOptimizedHostStatsGetCall { c.urlParams_.Set("sortby", sortby) diff --git a/bigtableadmin/v2/bigtableadmin-api.json b/bigtableadmin/v2/bigtableadmin-api.json index 03d0773e709..99c5ffeb5f0 100644 --- a/bigtableadmin/v2/bigtableadmin-api.json +++ b/bigtableadmin/v2/bigtableadmin-api.json @@ -695,7 +695,7 @@ "type": "boolean" }, "name": { - "description": "The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.", + "description": "The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.", "location": "path", "pattern": "^projects/[^/]+/instances/[^/]+/appProfiles/[^/]+$", "required": true, @@ -2777,7 +2777,7 @@ } } }, - "revision": "20250410", + "revision": "20250430", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -2801,7 +2801,7 @@ "description": "Use a multi-cluster routing policy." }, "name": { - "description": "The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.", + "description": "The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.", "type": "string" }, "priority": { @@ -4541,6 +4541,10 @@ "description": "A SQL logical view object that can be referenced in SQL queries.", "id": "LogicalView", "properties": { + "deletionProtection": { + "description": "Optional. Set to true to make the LogicalView protected against deletion.", + "type": "boolean" + }, "etag": { "description": "Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.", "type": "string" diff --git a/bigtableadmin/v2/bigtableadmin-gen.go b/bigtableadmin/v2/bigtableadmin-gen.go index 009ac13e365..6bd4e0b58e6 100644 --- a/bigtableadmin/v2/bigtableadmin-gen.go +++ b/bigtableadmin/v2/bigtableadmin-gen.go @@ -374,7 +374,8 @@ type AppProfile struct { Etag string `json:"etag,omitempty"` // MultiClusterRoutingUseAny: Use a multi-cluster routing policy. MultiClusterRoutingUseAny *MultiClusterRoutingUseAny `json:"multiClusterRoutingUseAny,omitempty"` - // Name: The unique name of the app profile. Values are of the form + // Name: The unique name of the app profile, up to 50 characters long. Values + // are of the form // `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`. Name string `json:"name,omitempty"` // Priority: This field has been deprecated in favor of @@ -3073,6 +3074,9 @@ func (s Location) MarshalJSON() ([]byte, error) { // LogicalView: A SQL logical view object that can be referenced in SQL // queries. type LogicalView struct { + // DeletionProtection: Optional. Set to true to make the LogicalView protected + // against deletion. + DeletionProtection bool `json:"deletionProtection,omitempty"` // Etag: Optional. The etag for this logical view. This may be sent on update // requests to ensure that the client has an up-to-date value before // proceeding. The server returns an ABORTED error on a mismatched etag. @@ -3085,15 +3089,15 @@ type LogicalView struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "Etag") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "DeletionProtection") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Etag") to include in API requests - // with the JSON null value. By default, fields with empty values are omitted - // from API requests. See + // NullFields is a list of field names (e.g. "DeletionProtection") to include + // in API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` } @@ -6100,7 +6104,8 @@ type ProjectsInstancesAppProfilesPatchCall struct { // Patch: Updates an app profile within an instance. // -// - name: The unique name of the app profile. Values are of the form +// - name: The unique name of the app profile, up to 50 characters long. Values +// are of the form // `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`. func (r *ProjectsInstancesAppProfilesService) Patch(name string, appprofile *AppProfile) *ProjectsInstancesAppProfilesPatchCall { c := &ProjectsInstancesAppProfilesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} diff --git a/chat/v1/chat-api.json b/chat/v1/chat-api.json index e648b1bcf06..60c7e4508ca 100644 --- a/chat/v1/chat-api.json +++ b/chat/v1/chat-api.json @@ -1526,7 +1526,7 @@ } } }, - "revision": "20250417", + "revision": "20250427", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -3468,12 +3468,14 @@ "description": "For multiselect menus, a text description or label that's displayed below the item's `text` field.", "type": "string" }, + "materialIcon": { + "$ref": "GoogleAppsCardV1MaterialIcon" + }, "selected": { "description": "Whether the item is selected by default. If the selection input only accepts one value (such as for radio buttons or a dropdown menu), only set this field for one item.", "type": "boolean" }, "startIconUri": { - "description": "For multiselect menus, the URL for the icon displayed next to the item's `text` field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png`.", "type": "string" }, "text": { diff --git a/chat/v1/chat-gen.go b/chat/v1/chat-gen.go index 0cab796f3ab..1c2d5e1843e 100644 --- a/chat/v1/chat-gen.go +++ b/chat/v1/chat-gen.go @@ -3370,16 +3370,12 @@ func (s GoogleAppsCardV1SelectionInput) MarshalJSON() ([]byte, error) { type GoogleAppsCardV1SelectionItem struct { // BottomText: For multiselect menus, a text description or label that's // displayed below the item's `text` field. - BottomText string `json:"bottomText,omitempty"` + BottomText string `json:"bottomText,omitempty"` + MaterialIcon *GoogleAppsCardV1MaterialIcon `json:"materialIcon,omitempty"` // Selected: Whether the item is selected by default. If the selection input // only accepts one value (such as for radio buttons or a dropdown menu), only // set this field for one item. - Selected bool `json:"selected,omitempty"` - // StartIconUri: For multiselect menus, the URL for the icon displayed next to - // the item's `text` field. Supports PNG and JPEG files. Must be an `HTTPS` - // URL. For example, - // `https://developers.google.com/workspace/chat/images/quickstart-app-avatar.pn - // g`. + Selected bool `json:"selected,omitempty"` StartIconUri string `json:"startIconUri,omitempty"` // Text: The text that identifies or describes the item to users. Text string `json:"text,omitempty"` diff --git a/cloudfunctions/v1/cloudfunctions-api.json b/cloudfunctions/v1/cloudfunctions-api.json index af9033a1cd0..7aeca01c61f 100644 --- a/cloudfunctions/v1/cloudfunctions-api.json +++ b/cloudfunctions/v1/cloudfunctions-api.json @@ -558,7 +558,7 @@ } } }, - "revision": "20250320", + "revision": "20250424", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -710,7 +710,7 @@ }, "dockerRegistry": { "deprecated": true, - "description": "Docker Registry to use for this deployment. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.", + "description": "Docker Registry to use for this deployment. Deprecated: as of March 2025, `CONTAINER_REGISTRY` option is no longer available in response to Container Registry's deprecation: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.", "enum": [ "DOCKER_REGISTRY_UNSPECIFIED", "CONTAINER_REGISTRY", diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index c9b4b002974..1b2f42b40ae 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -466,8 +466,9 @@ type CloudFunction struct { BuildWorkerPool string `json:"buildWorkerPool,omitempty"` // Description: User-provided description of a function. Description string `json:"description,omitempty"` - // DockerRegistry: Docker Registry to use for this deployment. Deprecated: - // Container Registry option will no longer be available after March 2025: + // DockerRegistry: Docker Registry to use for this deployment. Deprecated: as + // of March 2025, `CONTAINER_REGISTRY` option is no longer available in + // response to Container Registry's deprecation: // https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr // Please use Artifact Registry instead, which is the default choice. If // unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` diff --git a/cloudfunctions/v2/cloudfunctions-api.json b/cloudfunctions/v2/cloudfunctions-api.json index 1fe6d4c449e..5d80f993d76 100644 --- a/cloudfunctions/v2/cloudfunctions-api.json +++ b/cloudfunctions/v2/cloudfunctions-api.json @@ -750,7 +750,7 @@ } } }, - "revision": "20250410", + "revision": "20250424", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AbortFunctionUpgradeRequest": { @@ -849,7 +849,7 @@ }, "dockerRegistry": { "deprecated": true, - "description": "Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.", + "description": "Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: as of March 2025, `CONTAINER_REGISTRY` option is no longer available in response to Container Registry's deprecation: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.", "enum": [ "DOCKER_REGISTRY_UNSPECIFIED", "CONTAINER_REGISTRY", diff --git a/cloudfunctions/v2/cloudfunctions-gen.go b/cloudfunctions/v2/cloudfunctions-gen.go index ea878bc02a9..bf0b4734e74 100644 --- a/cloudfunctions/v2/cloudfunctions-gen.go +++ b/cloudfunctions/v2/cloudfunctions-gen.go @@ -404,8 +404,9 @@ type BuildConfig struct { Build string `json:"build,omitempty"` // DockerRegistry: Docker Registry to use for this deployment. This // configuration is only applicable to 1st Gen functions, 2nd Gen functions can - // only use Artifact Registry. Deprecated: Container Registry option will no - // longer be available after March 2025: + // only use Artifact Registry. Deprecated: as of March 2025, + // `CONTAINER_REGISTRY` option is no longer available in response to Container + // Registry's deprecation: // https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr // Please use Artifact Registry instead, which is the default choice. If // unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` diff --git a/cloudfunctions/v2alpha/cloudfunctions-api.json b/cloudfunctions/v2alpha/cloudfunctions-api.json index 85a0e0ee631..0f9131cb2b2 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-api.json +++ b/cloudfunctions/v2alpha/cloudfunctions-api.json @@ -750,7 +750,7 @@ } } }, - "revision": "20250410", + "revision": "20250424", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AbortFunctionUpgradeRequest": { @@ -849,7 +849,7 @@ }, "dockerRegistry": { "deprecated": true, - "description": "Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.", + "description": "Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: as of March 2025, `CONTAINER_REGISTRY` option is no longer available in response to Container Registry's deprecation: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.", "enum": [ "DOCKER_REGISTRY_UNSPECIFIED", "CONTAINER_REGISTRY", diff --git a/cloudfunctions/v2alpha/cloudfunctions-gen.go b/cloudfunctions/v2alpha/cloudfunctions-gen.go index dc5decb1a09..fe2ff32fbbe 100644 --- a/cloudfunctions/v2alpha/cloudfunctions-gen.go +++ b/cloudfunctions/v2alpha/cloudfunctions-gen.go @@ -404,8 +404,9 @@ type BuildConfig struct { Build string `json:"build,omitempty"` // DockerRegistry: Docker Registry to use for this deployment. This // configuration is only applicable to 1st Gen functions, 2nd Gen functions can - // only use Artifact Registry. Deprecated: Container Registry option will no - // longer be available after March 2025: + // only use Artifact Registry. Deprecated: as of March 2025, + // `CONTAINER_REGISTRY` option is no longer available in response to Container + // Registry's deprecation: // https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr // Please use Artifact Registry instead, which is the default choice. If // unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` diff --git a/cloudfunctions/v2beta/cloudfunctions-api.json b/cloudfunctions/v2beta/cloudfunctions-api.json index b5f28bc971a..04da4eb8c52 100644 --- a/cloudfunctions/v2beta/cloudfunctions-api.json +++ b/cloudfunctions/v2beta/cloudfunctions-api.json @@ -750,7 +750,7 @@ } } }, - "revision": "20250410", + "revision": "20250424", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AbortFunctionUpgradeRequest": { @@ -849,7 +849,7 @@ }, "dockerRegistry": { "deprecated": true, - "description": "Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: Container Registry option will no longer be available after March 2025: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.", + "description": "Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. Deprecated: as of March 2025, `CONTAINER_REGISTRY` option is no longer available in response to Container Registry's deprecation: https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr Please use Artifact Registry instead, which is the default choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is specified, this field should either be left unspecified or set to `ARTIFACT_REGISTRY`.", "enum": [ "DOCKER_REGISTRY_UNSPECIFIED", "CONTAINER_REGISTRY", diff --git a/cloudfunctions/v2beta/cloudfunctions-gen.go b/cloudfunctions/v2beta/cloudfunctions-gen.go index 9a511f327b0..93823d17fe4 100644 --- a/cloudfunctions/v2beta/cloudfunctions-gen.go +++ b/cloudfunctions/v2beta/cloudfunctions-gen.go @@ -404,8 +404,9 @@ type BuildConfig struct { Build string `json:"build,omitempty"` // DockerRegistry: Docker Registry to use for this deployment. This // configuration is only applicable to 1st Gen functions, 2nd Gen functions can - // only use Artifact Registry. Deprecated: Container Registry option will no - // longer be available after March 2025: + // only use Artifact Registry. Deprecated: as of March 2025, + // `CONTAINER_REGISTRY` option is no longer available in response to Container + // Registry's deprecation: // https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr // Please use Artifact Registry instead, which is the default choice. If // unspecified, it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index ae984c760e5..b913df8964f 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -37838,6 +37838,57 @@ "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ] + }, + "performMaintenance": { + "description": "Allows customers to perform maintenance on a reservation subBlock", + "flatPath": "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance", + "httpMethod": "POST", + "id": "compute.reservationSubBlocks.performMaintenance", + "parameterOrder": [ + "project", + "zone", + "parentName", + "reservationSubBlock" + ], + "parameters": { + "parentName": { + "description": "The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "reservationSubBlock": { + "description": "The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request. Zone name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -49517,7 +49568,7 @@ } } }, - "revision": "20250415", + "revision": "20250427", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -52503,9 +52554,11 @@ "loadBalancingScheme": { "description": "The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer. If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.", "enum": [ + "EXTERNAL_MANAGED", "INTERNAL_MANAGED" ], "enumDescriptions": [ + "Signifies that this will be used for regional external Application Load Balancers.", "Signifies that this will be used for internal Application Load Balancers." ], "type": "string" @@ -53047,7 +53100,7 @@ }, "consistentHash": { "$ref": "ConsistentHashLoadBalancerSettings", - "description": "Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. " + "description": "Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. " }, "creationTimestamp": { "description": "[Output Only] Creation timestamp in RFC3339 text format.", @@ -53187,7 +53240,7 @@ "type": "array" }, "localityLbPolicy": { - "description": "The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. localityLbPolicy cannot be specified with haPolicy.", + "description": "The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session affinity remains at the default value of NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other than NONE, then the default value for localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. localityLbPolicy cannot be specified with haPolicy.", "enum": [ "INVALID_LB_POLICY", "LEAST_REQUEST", @@ -53242,7 +53295,7 @@ }, "outlierDetection": { "$ref": "OutlierDetection", - "description": "Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true." + "description": "Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true." }, "port": { "deprecated": true, @@ -53255,7 +53308,7 @@ "type": "string" }, "protocol": { - "description": "The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.", + "description": "The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.", "enum": [ "ALL", "GRPC", @@ -55479,9 +55532,11 @@ "COMPUTE_OPTIMIZED_C3", "COMPUTE_OPTIMIZED_C3D", "COMPUTE_OPTIMIZED_H3", + "COMPUTE_OPTIMIZED_H4D", "GENERAL_PURPOSE", "GENERAL_PURPOSE_C4", "GENERAL_PURPOSE_C4A", + "GENERAL_PURPOSE_C4D", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -55529,6 +55584,8 @@ "", "", "", + "", + "", "Note for internal users: When adding a new enum Type for v1, make sure to also add it in the comment for the `optional Type type` definition. This ensures that the public documentation displays the new enum Type." ], "type": "string" @@ -60224,6 +60281,24 @@ ], "type": "string" }, + "destNetworkType": { + "description": "Network type of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET ", + "enum": [ + "INTERNET", + "INTRA_VPC", + "NON_INTERNET", + "UNSPECIFIED", + "VPC_NETWORKS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, "destRegionCodes": { "description": "Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex.\"US\" Maximum number of dest region codes allowed is 5000.", "items": { @@ -60284,6 +60359,24 @@ ], "type": "string" }, + "srcNetworkType": { + "description": "Network type of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS ", + "enum": [ + "INTERNET", + "INTRA_VPC", + "NON_INTERNET", + "UNSPECIFIED", + "VPC_NETWORKS" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, "srcNetworks": { "description": "Networks of the traffic source. It can be either a full or partial url.", "items": { @@ -62504,6 +62597,16 @@ ], "type": "string" }, + "subblockInfraMaintenanceOngoingCount": { + "description": "Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field.", + "format": "int32", + "type": "integer" + }, + "subblockInfraMaintenancePendingCount": { + "description": "Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field.", + "format": "int32", + "type": "integer" + }, "upcomingGroupMaintenance": { "$ref": "UpcomingMaintenance", "description": "Maintenance information on this group of VMs." @@ -72059,10 +72162,12 @@ "items": { "enum": [ "IF_CROSS_SITE_NETWORK", + "IF_L2_FORWARDING", "IF_MACSEC" ], "enumDescriptions": [ "Cross-Site Networking", + "L2 Interconnect Attachment Forwarding", "Media Access Control security (MACsec)" ], "type": "string" @@ -72223,10 +72328,12 @@ "items": { "enum": [ "IF_CROSS_SITE_NETWORK", + "IF_L2_FORWARDING", "IF_MACSEC" ], "enumDescriptions": [ "Cross-Site Networking", + "L2 Interconnect Attachment Forwarding", "Media Access Control security (MACsec)" ], "type": "string" @@ -73305,8 +73412,7 @@ "type": "boolean" }, "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "description": "Name of the resource. Provided by the client when the resource is created. Must be set on either the template_attachment or on each specific attachment. If set, the name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "type": "string" }, "pairingKey": { @@ -74603,13 +74709,7 @@ "type": "string" }, "name": { - "annotations": { - "required": [ - "compute.interconnects.insert" - ] - }, - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "description": "Name of the Interconnects to be created. This must be specified on the template and/or on each individual interconnect. The name, if not empty, must be 1-63 characters long, and comply with RFC1035. Specifically, any nonempty name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "type": "string" }, "nocContactEmail": { @@ -74625,10 +74725,12 @@ "items": { "enum": [ "IF_CROSS_SITE_NETWORK", + "IF_L2_FORWARDING", "IF_MACSEC" ], "enumDescriptions": [ "Cross-Site Networking", + "L2 Interconnect Attachment Forwarding", "Media Access Control security (MACsec)" ], "type": "string" @@ -75074,10 +75176,12 @@ "items": { "enum": [ "IF_CROSS_SITE_NETWORK", + "IF_L2_FORWARDING", "IF_MACSEC" ], "enumDescriptions": [ "Cross-Site Networking", + "L2 Interconnect Attachment Forwarding", "Media Access Control security (MACsec)" ], "type": "string" @@ -75388,6 +75492,10 @@ "format": "int64", "type": "string" }, + "l2ForwardingEnabled": { + "description": "Identifies whether L2 Interconnect Attachments can be created in this region for interconnects that are in this location.", + "type": "boolean" + }, "locationPresence": { "description": "Identifies the network presence of this location.", "enum": [ @@ -78449,7 +78557,7 @@ "id": "ManagedInstanceScheduling", "properties": { "terminationTimestamp": { - "description": "[Output Only] The timestamp when the MIG will automatically terminate the instance. The value is in RFC3339 text format.", + "description": "[Output Only] The timestamp at which the managed instance will be terminated. This is in RFC3339 text format.", "format": "google-datetime", "type": "string" } @@ -81843,7 +81951,7 @@ ], "enumDescriptions": [ "Updates are reflected in the local peering but aren't applied to the peering connection until a complementary change is made to the matching peering. To delete a peering with the consensus update strategy, both the peerings must request the deletion of the peering before the peering can be deleted.", - "In this mode changes to the peering configuration can be unilaterally altered by changing a single network peering. This is the default value if the field is unspecified.", + "In this mode, changes to the peering configuration can be unilaterally altered by changing either side of the peering. This is the default value if the field is unspecified.", "Peerings with update strategy UNSPECIFIED are created with update strategy INDEPENDENT." ], "type": "string" @@ -81857,7 +81965,7 @@ "properties": { "consensusState": { "$ref": "NetworkPeeringConnectionStatusConsensusState", - "description": "The consensus state contains the information about the status of update and delete for a consensus peering connection." + "description": "The consensus state contains information about the status of update and delete for a consensus peering connection." }, "trafficConfiguration": { "$ref": "NetworkPeeringConnectionStatusTrafficConfiguration", @@ -81872,7 +81980,7 @@ ], "enumDescriptions": [ "Updates are reflected in the local peering but aren't applied to the peering connection until a complementary change is made to the matching peering. To delete a peering with the consensus update strategy, both the peerings must request the deletion of the peering before the peering can be deleted.", - "In this mode changes to the peering configuration can be unilaterally altered by changing a single network peering. This is the default value if the field is unspecified.", + "In this mode, changes to the peering configuration can be unilaterally altered by changing either side of the peering. This is the default value if the field is unspecified.", "Peerings with update strategy UNSPECIFIED are created with update strategy INDEPENDENT." ], "type": "string" @@ -81881,7 +81989,7 @@ "type": "object" }, "NetworkPeeringConnectionStatusConsensusState": { - "description": "Surfaces relevant state for a consensus peering connection update/delete semantics. Only set when connection_status.update_strategy is CONSENSUS or one network peering is proposing upgrading to CONSENSUS.", + "description": "The status of update/delete for a consensus peering connection. Only set when connection_status.update_strategy is CONSENSUS or a network peering is proposing to update the strategy to CONSENSUS.", "id": "NetworkPeeringConnectionStatusConsensusState", "properties": { "deleteStatus": { @@ -81910,8 +82018,8 @@ ], "enumDescriptions": [ "No pending configuration update proposals to the peering connection.", - "The peer network admin has made an updatePeering call. The change are awaiting acknowledgment from this peering's network admin.", - "The local network admin has made an updatePeering call. The change are awaiting acknowledgment from the peer network admin.", + "The peer network admin has made an updatePeering call. The change is awaiting acknowledgment from this peering's network admin.", + "The local network admin has made an updatePeering call. The change is awaiting acknowledgment from the peer network admin.", "" ], "type": "string" @@ -81927,15 +82035,15 @@ "type": "boolean" }, "exportSubnetRoutesWithPublicIpToPeer": { - "description": "Whether subnet routes with public IP range are being exported to the peer network.", + "description": "Whether subnet routes with public IP ranges are being exported to the peer network.", "type": "boolean" }, "importCustomRoutesFromPeer": { - "description": "Whether custom routes is being imported from the peer network.", + "description": "Whether custom routes are being imported from the peer network.", "type": "boolean" }, "importSubnetRoutesWithPublicIpFromPeer": { - "description": "Whether subnet routes with public IP range are being imported from the peer network.", + "description": "Whether subnet routes with public IP ranges are being imported from the peer network.", "type": "boolean" }, "stackType": { @@ -88417,7 +88525,7 @@ "type": "string" }, "status": { - "description": "[Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. ", + "description": "[Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is announced and ready to use. - `DELETING` The public delegated prefix is being deprovsioned. ", "enum": [ "ANNOUNCED", "ANNOUNCED_TO_GOOGLE", @@ -88427,7 +88535,7 @@ "READY_TO_ANNOUNCE" ], "enumDescriptions": [ - "The public delegated prefix is active.", + "The public delegated prefix is announced and ready to use.", "The prefix is announced within Google network.", "The prefix is announced to Internet and within Google.", "The public delegated prefix is being deprovsioned.", @@ -92425,6 +92533,20 @@ "description": "[Output Only] Reserved for future use.", "type": "boolean" }, + "schedulingType": { + "description": "The type of maintenance for the reservation.", + "enum": [ + "GROUPED", + "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", + "INDEPENDENT" + ], + "enumDescriptions": [ + "Maintenance on all reserved instances in the reservation is synchronized.", + "Unknown maintenance type.", + "Maintenance is not synchronized for this reservation. Instead, each instance has its own maintenance window." + ], + "type": "string" + }, "selfLink": { "description": "[Output Only] Server-defined fully-qualified URL for this resource.", "type": "string" @@ -93125,6 +93247,10 @@ "$ref": "ReservationSubBlockPhysicalTopology", "description": "[Output Only] The physical topology of the reservation subBlock." }, + "reservationSubBlockMaintenance": { + "$ref": "GroupMaintenanceInfo", + "description": "Maintenance information for this reservation subBlock." + }, "selfLink": { "description": "[Output Only] Server-defined fully-qualified URL for this resource.", "type": "string" @@ -94639,10 +94765,30 @@ "description": "Effective values of predefined metadata keys for an instance.", "id": "ResourceStatusEffectiveInstanceMetadata", "properties": { + "blockProjectSshKeysMetadataValue": { + "description": "Effective block-project-ssh-keys value at Instance level.", + "type": "boolean" + }, + "enableGuestAttributesMetadataValue": { + "description": "Effective enable-guest-attributes value at Instance level.", + "type": "boolean" + }, + "enableOsInventoryMetadataValue": { + "description": "Effective enable-osinventory value at Instance level.", + "type": "boolean" + }, + "enableOsconfigMetadataValue": { + "description": "Effective enable-osconfig value at Instance level.", + "type": "boolean" + }, "enableOsloginMetadataValue": { "description": "Effective enable-oslogin value at Instance level.", "type": "boolean" }, + "serialPortEnableMetadataValue": { + "description": "Effective serial-port-enable value at Instance level.", + "type": "boolean" + }, "vmDnsSettingMetadataValue": { "description": "Effective VM DNS setting at Instance level.", "type": "string" @@ -94669,6 +94815,7 @@ "SCHEDULED_STOP", "SHUTDOWN_DUE_TO_HOST_ERROR", "SHUTDOWN_DUE_TO_MAINTENANCE", + "SHUTDOWN_DUE_TO_POWER_EVENT", "USER_TERMINATED" ], "enumDescriptions": [ @@ -94685,6 +94832,7 @@ "Terminated due to scheduled stop", "Terminated due to host error", "Terminated due to maintenance", + "Terminated due to power event", "Terminated by user" ], "type": "string" @@ -97938,6 +98086,7 @@ "AUTO", "BALANCED", "COST_OPTIMIZED", + "MANAGED", "OFF", "PERFORMANCE", "UNSPECIFIED" @@ -97946,6 +98095,7 @@ "\"Automatically maximize savings and minimize performance impact by matching license optimization mode to current CPU utilization.", "Significant license cost savings via moderate throttles (40% baseline, 10 minute maximum burst at full utilization).", "Maximum license cost savings via restrictive throttles (20% baseline, 3.75 minute maximum burst at full utilization).", + "License optimization mode managed by Google, in exchange for guaranteed discounts. This mode cannot be set by users, only by Google internal tooling.", "No license cost savings with maximum CPU performance.", "Moderate license cost savings via least restrictive throttles (60% baseline, 22.5 minute maximum burst at full utilization).", "Unspecified license optimization mode defaults to `OFF`." @@ -98669,7 +98819,7 @@ "type": "string" }, "requestBodyInspectionSize": { - "description": "The maximum request size chosen by the customer with Waf enabled. Currently only \"8KB\" and \"128KB\" are supported. Values are case insensitive.", + "description": "The maximum request size chosen by the customer with Waf enabled. Values supported are \"8KB\", \"16KB, \"32KB\", \"48KB\" and \"64KB\". Values are case insensitive.", "type": "string" }, "userIpRequestHeaders": { @@ -103213,6 +103363,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, + "format": "google.protobuf.Any", "type": "object" }, "type": "array" @@ -104711,6 +104862,7 @@ "properties": { "entries": { "additionalProperties": { + "format": "google.protobuf.Value", "type": "any" }, "description": "Map of a partner metadata that belong to the same subdomain. It accepts any value including google.protobuf.Struct.", @@ -104973,6 +105125,22 @@ ], "type": "string" }, + "systemReservedExternalIpv6Ranges": { + "description": "Output only. [Output Only] The array of external IPv6 network ranges reserved from the subnetwork's external IPv6 range for system use.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "systemReservedInternalIpv6Ranges": { + "description": "Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "utilizationDetails": { "$ref": "SubnetworkUtilizationDetails", "description": "Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.", @@ -109927,12 +110095,14 @@ "FAILURE_GPU_TEMPERATURE", "FAILURE_GPU_XID", "FAILURE_NVLINK", + "INFRASTRUCTURE_RELOCATION", "MAINTENANCE_REASON_UNKNOWN" ], "enumDescriptions": [ "Maintenance due to high GPU temperature.", "Maintenance due to GPU xid failure.", "Maintenance due to NVLink failure.", + "Maintenance due to infrastructure relocation.", "Unknown maintenance reason. Do not use this value." ], "type": "string" diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index b31146ef85b..dec5fbd0daa 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -5097,6 +5097,8 @@ type BackendBucket struct { // global application external load balancers, or both. // // Possible values: + // "EXTERNAL_MANAGED" - Signifies that this will be used for regional + // external Application Load Balancers. // "INTERNAL_MANAGED" - Signifies that this will be used for internal // Application Load Balancers. LoadBalancingScheme string `json:"loadBalancingScheme,omitempty"` @@ -5787,7 +5789,7 @@ type BackendService struct { // parameters that control consistent hashing. This field is only applicable // when localityLbPolicy is set to MAGLEV or RING_HASH. This field is // applicable to either: - A regional backend service with the service_protocol - // set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to + // set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to // INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme // set to INTERNAL_SELF_MANAGED. ConsistentHash *ConsistentHashLoadBalancerSettings `json:"consistentHash,omitempty"` @@ -5974,7 +5976,7 @@ type BackendService struct { // and host selection times. For more information about Maglev, see // https://ai.google/research/pubs/pub44824 This field is applicable to either: // - A regional backend service with the service_protocol set to HTTP, HTTPS, - // or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global + // HTTP2 or H2C, and load_balancing_scheme set to INTERNAL_MANAGED. - A global // backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, // INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not // configured—that is, if session affinity remains at the default value of @@ -6074,11 +6076,11 @@ type BackendService struct { // published using Private Service Connect Applicable backend service types can // be: - A global backend service with the loadBalancingScheme set to // INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with - // the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme - // set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless - // NEGs. Not supported when the backend service is referenced by a URL map that - // is bound to target gRPC proxy that has validateForProxyless field set to - // true. + // the serviceProtocol set to HTTP, HTTPS, HTTP2 or H2C, and + // loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not + // supported for Serverless NEGs. Not supported when the backend service is + // referenced by a URL map that is bound to target gRPC proxy that has + // validateForProxyless field set to true. OutlierDetection *OutlierDetection `json:"outlierDetection,omitempty"` // Port: Deprecated in favor of portName. The TCP port to connect on the // backend. The default value is 80. For internal passthrough Network Load @@ -6093,11 +6095,11 @@ type BackendService struct { // Balancers, omit port_name. PortName string `json:"portName,omitempty"` // Protocol: The protocol this BackendService uses to communicate with - // backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. - // depending on the chosen load balancer or Traffic Director configuration. - // Refer to the documentation for the load balancers or for Traffic Director - // for more information. Must be set to GRPC when the backend service is - // referenced by a URL map that is bound to target gRPC proxy. + // backends. Possible values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP or + // GRPC. depending on the chosen load balancer or Traffic Director + // configuration. Refer to the documentation for the load balancers or for + // Traffic Director for more information. Must be set to GRPC when the backend + // service is referenced by a URL map that is bound to target gRPC proxy. // // Possible values: // "ALL" - ALL includes TCP, UDP, ICMP, ESP, AH and SCTP. Note that this @@ -9029,9 +9031,11 @@ type Commitment struct { // "COMPUTE_OPTIMIZED_C3" // "COMPUTE_OPTIMIZED_C3D" // "COMPUTE_OPTIMIZED_H3" + // "COMPUTE_OPTIMIZED_H4D" // "GENERAL_PURPOSE" // "GENERAL_PURPOSE_C4" // "GENERAL_PURPOSE_C4A" + // "GENERAL_PURPOSE_C4D" // "GENERAL_PURPOSE_E2" // "GENERAL_PURPOSE_N2" // "GENERAL_PURPOSE_N2D" @@ -14408,6 +14412,16 @@ type FirewallPolicyRuleMatcher struct { // "UNSPECIFIED" // "VPC_NETWORKS" DestNetworkScope string `json:"destNetworkScope,omitempty"` + // DestNetworkType: Network type of the traffic destination. Allowed values + // are: - UNSPECIFIED - INTERNET - NON_INTERNET + // + // Possible values: + // "INTERNET" + // "INTRA_VPC" + // "NON_INTERNET" + // "UNSPECIFIED" + // "VPC_NETWORKS" + DestNetworkType string `json:"destNetworkType,omitempty"` // DestRegionCodes: Region codes whose IP addresses will be used to match for // destination of traffic. Should be specified as 2 letter country code defined // as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region @@ -14436,6 +14450,16 @@ type FirewallPolicyRuleMatcher struct { // "UNSPECIFIED" // "VPC_NETWORKS" SrcNetworkScope string `json:"srcNetworkScope,omitempty"` + // SrcNetworkType: Network type of the traffic source. Allowed values are: - + // UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS + // + // Possible values: + // "INTERNET" + // "INTRA_VPC" + // "NON_INTERNET" + // "UNSPECIFIED" + // "VPC_NETWORKS" + SrcNetworkType string `json:"srcNetworkType,omitempty"` // SrcNetworks: Networks of the traffic source. It can be either a full or // partial url. SrcNetworks []string `json:"srcNetworks,omitempty"` @@ -17039,6 +17063,18 @@ type GroupMaintenanceInfo struct { // "INDEPENDENT" - Maintenance is not synchronized for this reservation. // Instead, each instance has its own maintenance window. SchedulingType string `json:"schedulingType,omitempty"` + // SubblockInfraMaintenanceOngoingCount: Describes number of subblock + // Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure + // Maintenance pertains to upstream hardware contained in the Subblock that is + // necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will + // support this field. + SubblockInfraMaintenanceOngoingCount int64 `json:"subblockInfraMaintenanceOngoingCount,omitempty"` + // SubblockInfraMaintenancePendingCount: Describes number of subblock + // Infrastructure that has pending maintenance. Here, Subblock Infrastructure + // Maintenance pertains to upstream hardware contained in the Subblock that is + // necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will + // support this field. + SubblockInfraMaintenancePendingCount int64 `json:"subblockInfraMaintenancePendingCount,omitempty"` // UpcomingGroupMaintenance: Maintenance information on this group of VMs. UpcomingGroupMaintenance *UpcomingMaintenance `json:"upcomingGroupMaintenance,omitempty"` // ForceSendFields is a list of field names (e.g. "MaintenanceOngoingCount") to @@ -27961,6 +27997,7 @@ type Interconnect struct { // // Possible values: // "IF_CROSS_SITE_NETWORK" - Cross-Site Networking + // "IF_L2_FORWARDING" - L2 Interconnect Attachment Forwarding // "IF_MACSEC" - Media Access Control security (MACsec) AvailableFeatures []string `json:"availableFeatures,omitempty"` // CircuitInfos: [Output Only] A list of CircuitInfo objects, that describe the @@ -28095,6 +28132,7 @@ type Interconnect struct { // // Possible values: // "IF_CROSS_SITE_NETWORK" - Cross-Site Networking + // "IF_L2_FORWARDING" - L2 Interconnect Attachment Forwarding // "IF_MACSEC" - Media Access Control security (MACsec) RequestedFeatures []string `json:"requestedFeatures,omitempty"` // RequestedLinkCount: Target number of physical links in the link bundle, as @@ -29321,12 +29359,13 @@ type InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput struct // attachment. Multicast packets will be dropped if this is not enabled. MulticastEnabled bool `json:"multicastEnabled,omitempty"` // Name: Name of the resource. Provided by the client when the resource is - // created. The name must be 1-63 characters long, and comply with RFC1035. - // Specifically, the name must be 1-63 characters long and match the regular - // expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must - // be a lowercase letter, and all following characters must be a dash, - // lowercase letter, or digit, except the last character, which cannot be a - // dash. + // created. Must be set on either the template_attachment or on each specific + // attachment. If set, the name must be 1-63 characters long, and comply with + // RFC1035. Specifically, the name must be 1-63 characters long and match the + // regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + // character must be a lowercase letter, and all following characters must be a + // dash, lowercase letter, or digit, except the last character, which cannot be + // a dash. Name string `json:"name,omitempty"` // PairingKey: [Output only for type PARTNER. Input only for PARTNER_PROVIDER. // Not present for DEDICATED]. The opaque identifier of a PARTNER attachment @@ -30845,13 +30884,13 @@ type InterconnectGroupsCreateMembersInterconnectInput struct { // 10000000000]; // "LINK_TYPE_ETHERNET_400G_LR4" - 400G Ethernet, LR4 Optics. LinkType string `json:"linkType,omitempty"` - // Name: Name of the resource. Provided by the client when the resource is - // created. The name must be 1-63 characters long, and comply with RFC1035. - // Specifically, the name must be 1-63 characters long and match the regular - // expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must - // be a lowercase letter, and all following characters must be a dash, - // lowercase letter, or digit, except the last character, which cannot be a - // dash. + // Name: Name of the Interconnects to be created. This must be specified on the + // template and/or on each individual interconnect. The name, if not empty, + // must be 1-63 characters long, and comply with RFC1035. Specifically, any + // nonempty name must be 1-63 characters long and match the regular expression + // `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a + // lowercase letter, and all following characters must be a dash, lowercase + // letter, or digit, except the last character, which cannot be a dash. Name string `json:"name,omitempty"` // NocContactEmail: Email address to contact the customer NOC for operations // and maintenance notifications regarding this Interconnect. If specified, @@ -30874,6 +30913,7 @@ type InterconnectGroupsCreateMembersInterconnectInput struct { // // Possible values: // "IF_CROSS_SITE_NETWORK" - Cross-Site Networking + // "IF_L2_FORWARDING" - L2 Interconnect Attachment Forwarding // "IF_MACSEC" - Media Access Control security (MACsec) RequestedFeatures []string `json:"requestedFeatures,omitempty"` // RequestedLinkCount: Target number of physical links in the link bundle, as @@ -31350,6 +31390,7 @@ type InterconnectLocation struct { // // Possible values: // "IF_CROSS_SITE_NETWORK" - Cross-Site Networking + // "IF_L2_FORWARDING" - L2 Interconnect Attachment Forwarding // "IF_MACSEC" - Media Access Control security (MACsec) AvailableFeatures []string `json:"availableFeatures,omitempty"` // AvailableLinkTypes: [Output only] List of link types available at this @@ -31647,6 +31688,9 @@ type InterconnectLocationRegionInfo struct { // ExpectedRttMs: Expected round-trip time in milliseconds, from this // InterconnectLocation to a VM in this region. ExpectedRttMs int64 `json:"expectedRttMs,omitempty,string"` + // L2ForwardingEnabled: Identifies whether L2 Interconnect Attachments can be + // created in this region for interconnects that are in this location. + L2ForwardingEnabled bool `json:"l2ForwardingEnabled,omitempty"` // LocationPresence: Identifies the network presence of this location. // // Possible values: @@ -34960,8 +35004,8 @@ func (s ManagedInstancePropertiesFromFlexibilityPolicy) MarshalJSON() ([]byte, e } type ManagedInstanceScheduling struct { - // TerminationTimestamp: [Output Only] The timestamp when the MIG will - // automatically terminate the instance. The value is in RFC3339 text format. + // TerminationTimestamp: [Output Only] The timestamp at which the managed + // instance will be terminated. This is in RFC3339 text format. TerminationTimestamp string `json:"terminationTimestamp,omitempty"` // ForceSendFields is a list of field names (e.g. "TerminationTimestamp") to // unconditionally include in API requests. By default, fields with empty or @@ -38693,8 +38737,8 @@ type NetworkPeering struct { // the matching peering. To delete a peering with the consensus update // strategy, both the peerings must request the deletion of the peering before // the peering can be deleted. - // "INDEPENDENT" - In this mode changes to the peering configuration can be - // unilaterally altered by changing a single network peering. This is the + // "INDEPENDENT" - In this mode, changes to the peering configuration can be + // unilaterally altered by changing either side of the peering. This is the // default value if the field is unspecified. // "UNSPECIFIED" - Peerings with update strategy UNSPECIFIED are created with // update strategy INDEPENDENT. @@ -38723,8 +38767,8 @@ func (s NetworkPeering) MarshalJSON() ([]byte, error) { // information about the effective settings for the connection as a whole, // including pending delete/update requests for CONSENSUS peerings. type NetworkPeeringConnectionStatus struct { - // ConsensusState: The consensus state contains the information about the - // status of update and delete for a consensus peering connection. + // ConsensusState: The consensus state contains information about the status of + // update and delete for a consensus peering connection. ConsensusState *NetworkPeeringConnectionStatusConsensusState `json:"consensusState,omitempty"` // TrafficConfiguration: The active connectivity settings for the peering // connection based on the settings of the network peerings. @@ -38738,8 +38782,8 @@ type NetworkPeeringConnectionStatus struct { // the matching peering. To delete a peering with the consensus update // strategy, both the peerings must request the deletion of the peering before // the peering can be deleted. - // "INDEPENDENT" - In this mode changes to the peering configuration can be - // unilaterally altered by changing a single network peering. This is the + // "INDEPENDENT" - In this mode, changes to the peering configuration can be + // unilaterally altered by changing either side of the peering. This is the // default value if the field is unspecified. // "UNSPECIFIED" - Peerings with update strategy UNSPECIFIED are created with // update strategy INDEPENDENT. @@ -38762,10 +38806,10 @@ func (s NetworkPeeringConnectionStatus) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// NetworkPeeringConnectionStatusConsensusState: Surfaces relevant state for a -// consensus peering connection update/delete semantics. Only set when -// connection_status.update_strategy is CONSENSUS or one network peering is -// proposing upgrading to CONSENSUS. +// NetworkPeeringConnectionStatusConsensusState: The status of update/delete +// for a consensus peering connection. Only set when +// connection_status.update_strategy is CONSENSUS or a network peering is +// proposing to update the strategy to CONSENSUS. type NetworkPeeringConnectionStatusConsensusState struct { // DeleteStatus: The status of the delete request. // @@ -38784,10 +38828,10 @@ type NetworkPeeringConnectionStatusConsensusState struct { // "IN_SYNC" - No pending configuration update proposals to the peering // connection. // "PENDING_LOCAL_ACKNOWLEDMENT" - The peer network admin has made an - // updatePeering call. The change are awaiting acknowledgment from this + // updatePeering call. The change is awaiting acknowledgment from this // peering's network admin. // "PENDING_PEER_ACKNOWLEDGEMENT" - The local network admin has made an - // updatePeering call. The change are awaiting acknowledgment from the peer + // updatePeering call. The change is awaiting acknowledgment from the peer // network admin. // "UPDATE_STATUS_UNSPECIFIED" UpdateStatus string `json:"updateStatus,omitempty"` @@ -38814,13 +38858,13 @@ type NetworkPeeringConnectionStatusTrafficConfiguration struct { // peer network. ExportCustomRoutesToPeer bool `json:"exportCustomRoutesToPeer,omitempty"` // ExportSubnetRoutesWithPublicIpToPeer: Whether subnet routes with public IP - // range are being exported to the peer network. + // ranges are being exported to the peer network. ExportSubnetRoutesWithPublicIpToPeer bool `json:"exportSubnetRoutesWithPublicIpToPeer,omitempty"` - // ImportCustomRoutesFromPeer: Whether custom routes is being imported from the - // peer network. + // ImportCustomRoutesFromPeer: Whether custom routes are being imported from + // the peer network. ImportCustomRoutesFromPeer bool `json:"importCustomRoutesFromPeer,omitempty"` // ImportSubnetRoutesWithPublicIpFromPeer: Whether subnet routes with public IP - // range are being imported from the peer network. + // ranges are being imported from the peer network. ImportSubnetRoutesWithPublicIpFromPeer bool `json:"importSubnetRoutesWithPublicIpFromPeer,omitempty"` // StackType: Which IP version(s) of traffic and routes are being imported or // exported between peer networks. @@ -45576,11 +45620,11 @@ type PublicDelegatedPrefix struct { // be one of following values: - `INITIALIZING` The public delegated prefix is // being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` // The public delegated prefix is a live migration prefix and is active. - - // `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public - // delegated prefix is being deprovsioned. + // `ANNOUNCED` The public delegated prefix is announced and ready to use. - + // `DELETING` The public delegated prefix is being deprovsioned. // // Possible values: - // "ANNOUNCED" - The public delegated prefix is active. + // "ANNOUNCED" - The public delegated prefix is announced and ready to use. // "ANNOUNCED_TO_GOOGLE" - The prefix is announced within Google network. // "ANNOUNCED_TO_INTERNET" - The prefix is announced to Internet and within // Google. @@ -49860,6 +49904,15 @@ type Reservation struct { ResourceStatus *AllocationResourceStatus `json:"resourceStatus,omitempty"` // SatisfiesPzs: [Output Only] Reserved for future use. SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` + // SchedulingType: The type of maintenance for the reservation. + // + // Possible values: + // "GROUPED" - Maintenance on all reserved instances in the reservation is + // synchronized. + // "GROUP_MAINTENANCE_TYPE_UNSPECIFIED" - Unknown maintenance type. + // "INDEPENDENT" - Maintenance is not synchronized for this reservation. + // Instead, each instance has its own maintenance window. + SchedulingType string `json:"schedulingType,omitempty"` // SelfLink: [Output Only] Server-defined fully-qualified URL for this // resource. SelfLink string `json:"selfLink,omitempty"` @@ -50577,6 +50630,9 @@ type ReservationSubBlock struct { // PhysicalTopology: [Output Only] The physical topology of the reservation // subBlock. PhysicalTopology *ReservationSubBlockPhysicalTopology `json:"physicalTopology,omitempty"` + // ReservationSubBlockMaintenance: Maintenance information for this reservation + // subBlock. + ReservationSubBlockMaintenance *GroupMaintenanceInfo `json:"reservationSubBlockMaintenance,omitempty"` // SelfLink: [Output Only] Server-defined fully-qualified URL for this // resource. SelfLink string `json:"selfLink,omitempty"` @@ -52293,21 +52349,38 @@ func (s ResourceStatusAcceleratorStatusRecommendedScan) MarshalJSON() ([]byte, e // ResourceStatusEffectiveInstanceMetadata: Effective values of predefined // metadata keys for an instance. type ResourceStatusEffectiveInstanceMetadata struct { + // BlockProjectSshKeysMetadataValue: Effective block-project-ssh-keys value at + // Instance level. + BlockProjectSshKeysMetadataValue bool `json:"blockProjectSshKeysMetadataValue,omitempty"` + // EnableGuestAttributesMetadataValue: Effective enable-guest-attributes value + // at Instance level. + EnableGuestAttributesMetadataValue bool `json:"enableGuestAttributesMetadataValue,omitempty"` + // EnableOsInventoryMetadataValue: Effective enable-osinventory value at + // Instance level. + EnableOsInventoryMetadataValue bool `json:"enableOsInventoryMetadataValue,omitempty"` + // EnableOsconfigMetadataValue: Effective enable-osconfig value at Instance + // level. + EnableOsconfigMetadataValue bool `json:"enableOsconfigMetadataValue,omitempty"` // EnableOsloginMetadataValue: Effective enable-oslogin value at Instance // level. EnableOsloginMetadataValue bool `json:"enableOsloginMetadataValue,omitempty"` + // SerialPortEnableMetadataValue: Effective serial-port-enable value at + // Instance level. + SerialPortEnableMetadataValue bool `json:"serialPortEnableMetadataValue,omitempty"` // VmDnsSettingMetadataValue: Effective VM DNS setting at Instance level. VmDnsSettingMetadataValue string `json:"vmDnsSettingMetadataValue,omitempty"` - // ForceSendFields is a list of field names (e.g. "EnableOsloginMetadataValue") - // to unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See + // ForceSendFields is a list of field names (e.g. + // "BlockProjectSshKeysMetadataValue") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted from + // API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "EnableOsloginMetadataValue") to - // include in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + // NullFields is a list of field names (e.g. + // "BlockProjectSshKeysMetadataValue") to include in API requests with the JSON + // null value. By default, fields with empty values are omitted from API + // requests. See https://pkg.go.dev/google.golang.org/api#hdr-NullFields for + // more details. NullFields []string `json:"-"` } @@ -52335,6 +52408,7 @@ type ResourceStatusLastInstanceTerminationDetails struct { // "SCHEDULED_STOP" - Terminated due to scheduled stop // "SHUTDOWN_DUE_TO_HOST_ERROR" - Terminated due to host error // "SHUTDOWN_DUE_TO_MAINTENANCE" - Terminated due to maintenance + // "SHUTDOWN_DUE_TO_POWER_EVENT" - Terminated due to power event // "USER_TERMINATED" - Terminated by user TerminationReason string `json:"terminationReason,omitempty"` // ForceSendFields is a list of field names (e.g. "TerminationReason") to @@ -55686,6 +55760,9 @@ type Scheduling struct { // baseline, 10 minute maximum burst at full utilization). // "COST_OPTIMIZED" - Maximum license cost savings via restrictive throttles // (20% baseline, 3.75 minute maximum burst at full utilization). + // "MANAGED" - License optimization mode managed by Google, in exchange for + // guaranteed discounts. This mode cannot be set by users, only by Google + // internal tooling. // "OFF" - No license cost savings with maximum CPU performance. // "PERFORMANCE" - Moderate license cost savings via least restrictive // throttles (60% baseline, 22.5 minute maximum burst at full utilization). @@ -56539,8 +56616,8 @@ type SecurityPolicyAdvancedOptionsConfig struct { // "VERBOSE" LogLevel string `json:"logLevel,omitempty"` // RequestBodyInspectionSize: The maximum request size chosen by the customer - // with Waf enabled. Currently only "8KB" and "128KB" are supported. Values are - // case insensitive. + // with Waf enabled. Values supported are "8KB", "16KB, "32KB", "48KB" and + // "64KB". Values are case insensitive. RequestBodyInspectionSize string `json:"requestBodyInspectionSize,omitempty"` // UserIpRequestHeaders: An optional list of case-insensitive request header // names to use for resolving the callers client IP address. @@ -63266,6 +63343,14 @@ type Subnetwork struct { // "DRAINING" - Subnetwork is being drained. // "READY" - Subnetwork is ready for use. State string `json:"state,omitempty"` + // SystemReservedExternalIpv6Ranges: Output only. [Output Only] The array of + // external IPv6 network ranges reserved from the subnetwork's external IPv6 + // range for system use. + SystemReservedExternalIpv6Ranges []string `json:"systemReservedExternalIpv6Ranges,omitempty"` + // SystemReservedInternalIpv6Ranges: Output only. [Output Only] The array of + // internal IPv6 network ranges reserved from the subnetwork's internal IPv6 + // range for system use. + SystemReservedInternalIpv6Ranges []string `json:"systemReservedInternalIpv6Ranges,omitempty"` // UtilizationDetails: Output only. [Output Only] The current IP utilization of // all subnetwork ranges. Contains the total number of allocated and free IPs // in each range. @@ -68817,6 +68902,8 @@ type UpcomingMaintenance struct { // "FAILURE_GPU_TEMPERATURE" - Maintenance due to high GPU temperature. // "FAILURE_GPU_XID" - Maintenance due to GPU xid failure. // "FAILURE_NVLINK" - Maintenance due to NVLink failure. + // "INFRASTRUCTURE_RELOCATION" - Maintenance due to infrastructure + // relocation. // "MAINTENANCE_REASON_UNKNOWN" - Unknown maintenance reason. Do not use this // value. MaintenanceReasons []string `json:"maintenanceReasons,omitempty"` diff --git a/compute/v0.alpha/compute3-gen.go b/compute/v0.alpha/compute3-gen.go index c246ce7b1f5..d3dcf6b5217 100644 --- a/compute/v0.alpha/compute3-gen.go +++ b/compute/v0.alpha/compute3-gen.go @@ -30508,6 +30508,135 @@ func (c *ReservationSubBlocksListCall) Pages(ctx context.Context, f func(*Reserv } } +type ReservationSubBlocksPerformMaintenanceCall struct { + s *Service + project string + zone string + parentName string + reservationSubBlock string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// PerformMaintenance: Allows customers to perform maintenance on a reservation +// subBlock +// +// - parentName: The name of the parent reservation and parent block. In the +// format of +// reservations/{reservation_name}/reservationBlocks/{reservation_block_name}. +// - project: Project ID for this request. +// - reservationSubBlock: The name of the reservation subBlock. Name should +// conform to RFC1035 or be a resource ID. +// - zone: Name of the zone for this request. Zone name should conform to +// RFC1035. +func (r *ReservationSubBlocksService) PerformMaintenance(project string, zone string, parentName string, reservationSubBlock string) *ReservationSubBlocksPerformMaintenanceCall { + c := &ReservationSubBlocksPerformMaintenanceCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.zone = zone + c.parentName = parentName + c.reservationSubBlock = reservationSubBlock + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server will know to ignore the request if it has already +// been completed. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, will ignore the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *ReservationSubBlocksPerformMaintenanceCall) RequestId(requestId string) *ReservationSubBlocksPerformMaintenanceCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ReservationSubBlocksPerformMaintenanceCall) Fields(s ...googleapi.Field) *ReservationSubBlocksPerformMaintenanceCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ReservationSubBlocksPerformMaintenanceCall) Context(ctx context.Context) *ReservationSubBlocksPerformMaintenanceCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ReservationSubBlocksPerformMaintenanceCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ReservationSubBlocksPerformMaintenanceCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, nil) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "zone": c.zone, + "parentName": c.parentName, + "reservationSubBlock": c.reservationSubBlock, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "compute.reservationSubBlocks.performMaintenance", "request", internallog.HTTPRequest(req, nil)) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.reservationSubBlocks.performMaintenance" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ReservationSubBlocksPerformMaintenanceCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "compute.reservationSubBlocks.performMaintenance", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type ReservationsAggregatedListCall struct { s *Service project string diff --git a/contactcenterinsights/v1/contactcenterinsights-api.json b/contactcenterinsights/v1/contactcenterinsights-api.json index 1a535241e75..7f688f4e256 100644 --- a/contactcenterinsights/v1/contactcenterinsights-api.json +++ b/contactcenterinsights/v1/contactcenterinsights-api.json @@ -1744,6 +1744,205 @@ } } }, + "datasets": { + "resources": { + "conversations": { + "methods": { + "delete": { + "description": "Deletes a conversation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}", + "httpMethod": "DELETE", + "id": "contactcenterinsights.projects.locations.datasets.conversations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "If set to true, all of this conversation's analyses will also be deleted. Otherwise, the request will only succeed if the conversation has no analyses.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The name of the conversation to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a conversation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations/{conversationsId}", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.datasets.conversations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the conversation to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/conversations/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "The level of details of the conversation. Default is `FULL`.", + "enum": [ + "CONVERSATION_VIEW_UNSPECIFIED", + "FULL", + "BASIC" + ], + "enumDescriptions": [ + "The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.", + "Populates all fields in the conversation.", + "Populates all fields in the conversation except the transcript." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1Conversation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "ingest": { + "description": "Imports conversations and processes them according to the user's configuration.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations:ingest", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.conversations.ingest", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource for new conversations.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/conversations:ingest", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1IngestConversationsRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists conversations.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/conversations", + "httpMethod": "GET", + "id": "contactcenterinsights.projects.locations.datasets.conversations.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the conversation.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "The level of details of the conversation. Default is `BASIC`.", + "enum": [ + "CONVERSATION_VIEW_UNSPECIFIED", + "FULL", + "BASIC" + ], + "enumDescriptions": [ + "The conversation view is not specified. * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in `ListConversationsRequest`.", + "Populates all fields in the conversation.", + "Populates all fields in the conversation except the transcript." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/conversations", + "response": { + "$ref": "GoogleCloudContactcenterinsightsV1ListConversationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "insightsdata": { + "methods": { + "export": { + "description": "Export insights data to a destination defined in the request body.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/insightsdata:export", + "httpMethod": "POST", + "id": "contactcenterinsights.projects.locations.datasets.insightsdata.export", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource to export data from.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/insightsdata:export", + "request": { + "$ref": "GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "encryptionSpec": { "methods": { "initialize": { @@ -3178,7 +3377,7 @@ } } }, - "revision": "20250415", + "revision": "20250428", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { diff --git a/contactcenterinsights/v1/contactcenterinsights-gen.go b/contactcenterinsights/v1/contactcenterinsights-gen.go index 2fee691c225..e3c282891b3 100644 --- a/contactcenterinsights/v1/contactcenterinsights-gen.go +++ b/contactcenterinsights/v1/contactcenterinsights-gen.go @@ -171,6 +171,7 @@ func NewProjectsLocationsService(s *Service) *ProjectsLocationsService { rs.AnalysisRules = NewProjectsLocationsAnalysisRulesService(s) rs.AuthorizedViewSets = NewProjectsLocationsAuthorizedViewSetsService(s) rs.Conversations = NewProjectsLocationsConversationsService(s) + rs.Datasets = NewProjectsLocationsDatasetsService(s) rs.EncryptionSpec = NewProjectsLocationsEncryptionSpecService(s) rs.Insightsdata = NewProjectsLocationsInsightsdataService(s) rs.IssueModels = NewProjectsLocationsIssueModelsService(s) @@ -190,6 +191,8 @@ type ProjectsLocationsService struct { Conversations *ProjectsLocationsConversationsService + Datasets *ProjectsLocationsDatasetsService + EncryptionSpec *ProjectsLocationsEncryptionSpecService Insightsdata *ProjectsLocationsInsightsdataService @@ -316,6 +319,39 @@ type ProjectsLocationsConversationsFeedbackLabelsService struct { s *Service } +func NewProjectsLocationsDatasetsService(s *Service) *ProjectsLocationsDatasetsService { + rs := &ProjectsLocationsDatasetsService{s: s} + rs.Conversations = NewProjectsLocationsDatasetsConversationsService(s) + rs.Insightsdata = NewProjectsLocationsDatasetsInsightsdataService(s) + return rs +} + +type ProjectsLocationsDatasetsService struct { + s *Service + + Conversations *ProjectsLocationsDatasetsConversationsService + + Insightsdata *ProjectsLocationsDatasetsInsightsdataService +} + +func NewProjectsLocationsDatasetsConversationsService(s *Service) *ProjectsLocationsDatasetsConversationsService { + rs := &ProjectsLocationsDatasetsConversationsService{s: s} + return rs +} + +type ProjectsLocationsDatasetsConversationsService struct { + s *Service +} + +func NewProjectsLocationsDatasetsInsightsdataService(s *Service) *ProjectsLocationsDatasetsInsightsdataService { + rs := &ProjectsLocationsDatasetsInsightsdataService{s: s} + return rs +} + +type ProjectsLocationsDatasetsInsightsdataService struct { + s *Service +} + func NewProjectsLocationsEncryptionSpecService(s *Service) *ProjectsLocationsEncryptionSpecService { rs := &ProjectsLocationsEncryptionSpecService{s: s} return rs @@ -15901,6 +15937,634 @@ func (c *ProjectsLocationsConversationsFeedbackLabelsPatchCall) Do(opts ...googl return ret, nil } +type ProjectsLocationsDatasetsConversationsDeleteCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes a conversation. +// +// - name: The name of the conversation to delete. +func (r *ProjectsLocationsDatasetsConversationsService) Delete(name string) *ProjectsLocationsDatasetsConversationsDeleteCall { + c := &ProjectsLocationsDatasetsConversationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Force sets the optional parameter "force": If set to true, all of this +// conversation's analyses will also be deleted. Otherwise, the request will +// only succeed if the conversation has no analyses. +func (c *ProjectsLocationsDatasetsConversationsDeleteCall) Force(force bool) *ProjectsLocationsDatasetsConversationsDeleteCall { + c.urlParams_.Set("force", fmt.Sprint(force)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsDatasetsConversationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsConversationsDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsDatasetsConversationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDatasetsConversationsDeleteCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsDatasetsConversationsDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsDatasetsConversationsDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, nil) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.conversations.delete", "request", internallog.HTTPRequest(req, nil)) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "contactcenterinsights.projects.locations.datasets.conversations.delete" call. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleProtobufEmpty.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 *ProjectsLocationsDatasetsConversationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, 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 := &GoogleProtobufEmpty{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.conversations.delete", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + +type ProjectsLocationsDatasetsConversationsGetCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Get: Gets a conversation. +// +// - name: The name of the conversation to get. +func (r *ProjectsLocationsDatasetsConversationsService) Get(name string) *ProjectsLocationsDatasetsConversationsGetCall { + c := &ProjectsLocationsDatasetsConversationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// View sets the optional parameter "view": The level of details of the +// conversation. Default is `FULL`. +// +// Possible values: +// +// "CONVERSATION_VIEW_UNSPECIFIED" - The conversation view is not specified. +// +// * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in +// `ListConversationsRequest`. +// +// "FULL" - Populates all fields in the conversation. +// "BASIC" - Populates all fields in the conversation except the transcript. +func (c *ProjectsLocationsDatasetsConversationsGetCall) View(view string) *ProjectsLocationsDatasetsConversationsGetCall { + c.urlParams_.Set("view", view) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsDatasetsConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsConversationsGetCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsDatasetsConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsConversationsGetCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsDatasetsConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsDatasetsConversationsGetCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsDatasetsConversationsGetCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsDatasetsConversationsGetCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, nil) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.conversations.get", "request", internallog.HTTPRequest(req, nil)) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "contactcenterinsights.projects.locations.datasets.conversations.get" call. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleCloudContactcenterinsightsV1Conversation.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 *ProjectsLocationsDatasetsConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1Conversation, 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 := &GoogleCloudContactcenterinsightsV1Conversation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.conversations.get", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + +type ProjectsLocationsDatasetsConversationsIngestCall struct { + s *Service + parent string + googlecloudcontactcenterinsightsv1ingestconversationsrequest *GoogleCloudContactcenterinsightsV1IngestConversationsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Ingest: Imports conversations and processes them according to the user's +// configuration. +// +// - parent: The parent resource for new conversations. +func (r *ProjectsLocationsDatasetsConversationsService) Ingest(parent string, googlecloudcontactcenterinsightsv1ingestconversationsrequest *GoogleCloudContactcenterinsightsV1IngestConversationsRequest) *ProjectsLocationsDatasetsConversationsIngestCall { + c := &ProjectsLocationsDatasetsConversationsIngestCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googlecloudcontactcenterinsightsv1ingestconversationsrequest = googlecloudcontactcenterinsightsv1ingestconversationsrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsDatasetsConversationsIngestCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsConversationsIngestCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsDatasetsConversationsIngestCall) Context(ctx context.Context) *ProjectsLocationsDatasetsConversationsIngestCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsDatasetsConversationsIngestCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsDatasetsConversationsIngestCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.googlecloudcontactcenterinsightsv1ingestconversationsrequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/conversations:ingest") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.conversations.ingest", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "contactcenterinsights.projects.locations.datasets.conversations.ingest" call. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.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 *ProjectsLocationsDatasetsConversationsIngestCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, 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 := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.conversations.ingest", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + +type ProjectsLocationsDatasetsConversationsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists conversations. +// +// - parent: The parent resource of the conversation. +func (r *ProjectsLocationsDatasetsConversationsService) List(parent string) *ProjectsLocationsDatasetsConversationsListCall { + c := &ProjectsLocationsDatasetsConversationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Filter sets the optional parameter "filter": A filter to reduce results to a +// specific subset. Useful for querying conversations with specific properties. +func (c *ProjectsLocationsDatasetsConversationsListCall) Filter(filter string) *ProjectsLocationsDatasetsConversationsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// OrderBy sets the optional parameter "orderBy": The attribute by which to +// order conversations in the response. If empty, conversations will be ordered +// by descending creation time. Supported values are one of the following: * +// create_time * customer_satisfaction_rating * duration * latest_analysis * +// start_time * turn_count The default sort order is ascending. To specify +// order, append `asc` or `desc` (`create_time desc`). For more details, see +// Google AIPs Ordering (https://google.aip.dev/132#ordering). +func (c *ProjectsLocationsDatasetsConversationsListCall) OrderBy(orderBy string) *ProjectsLocationsDatasetsConversationsListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number of +// conversations to return in the response. A valid page size ranges from 0 to +// 100,000 inclusive. If the page size is zero or unspecified, a default page +// size of 100 will be chosen. Note that a call might return fewer results than +// the requested page size. +func (c *ProjectsLocationsDatasetsConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsDatasetsConversationsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The value returned by the +// last `ListConversationsResponse`. This value indicates that this is a +// continuation of a prior `ListConversations` call and that the system should +// return the next page of data. +func (c *ProjectsLocationsDatasetsConversationsListCall) PageToken(pageToken string) *ProjectsLocationsDatasetsConversationsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// View sets the optional parameter "view": The level of details of the +// conversation. Default is `BASIC`. +// +// Possible values: +// +// "CONVERSATION_VIEW_UNSPECIFIED" - The conversation view is not specified. +// +// * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in +// `ListConversationsRequest`. +// +// "FULL" - Populates all fields in the conversation. +// "BASIC" - Populates all fields in the conversation except the transcript. +func (c *ProjectsLocationsDatasetsConversationsListCall) View(view string) *ProjectsLocationsDatasetsConversationsListCall { + c.urlParams_.Set("view", view) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsDatasetsConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsConversationsListCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsDatasetsConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDatasetsConversationsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsDatasetsConversationsListCall) Context(ctx context.Context) *ProjectsLocationsDatasetsConversationsListCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsDatasetsConversationsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsDatasetsConversationsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/conversations") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, nil) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.conversations.list", "request", internallog.HTTPRequest(req, nil)) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "contactcenterinsights.projects.locations.datasets.conversations.list" call. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleCloudContactcenterinsightsV1ListConversationsResponse.ServerResponse.H +// eader 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 *ProjectsLocationsDatasetsConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1ListConversationsResponse, 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 := &GoogleCloudContactcenterinsightsV1ListConversationsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.conversations.list", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + +// 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 *ProjectsLocationsDatasetsConversationsListCall) Pages(ctx context.Context, f func(*GoogleCloudContactcenterinsightsV1ListConversationsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) + 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) + } +} + +type ProjectsLocationsDatasetsInsightsdataExportCall struct { + s *Service + parent string + googlecloudcontactcenterinsightsv1exportinsightsdatarequest *GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Export: Export insights data to a destination defined in the request body. +// +// - parent: The parent resource to export data from. +func (r *ProjectsLocationsDatasetsInsightsdataService) Export(parent string, googlecloudcontactcenterinsightsv1exportinsightsdatarequest *GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest) *ProjectsLocationsDatasetsInsightsdataExportCall { + c := &ProjectsLocationsDatasetsInsightsdataExportCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.googlecloudcontactcenterinsightsv1exportinsightsdatarequest = googlecloudcontactcenterinsightsv1exportinsightsdatarequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsDatasetsInsightsdataExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDatasetsInsightsdataExportCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsDatasetsInsightsdataExportCall) Context(ctx context.Context) *ProjectsLocationsDatasetsInsightsdataExportCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsDatasetsInsightsdataExportCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsDatasetsInsightsdataExportCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.googlecloudcontactcenterinsightsv1exportinsightsdatarequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/insightsdata:export") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.insightsdata.export", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "contactcenterinsights.projects.locations.datasets.insightsdata.export" call. +// Any non-2xx status code is an error. Response headers are in either +// *GoogleLongrunningOperation.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 *ProjectsLocationsDatasetsInsightsdataExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, 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 := &GoogleLongrunningOperation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "contactcenterinsights.projects.locations.datasets.insightsdata.export", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type ProjectsLocationsEncryptionSpecInitializeCall struct { s *Service name string diff --git a/containeranalysis/v1/containeranalysis-api.json b/containeranalysis/v1/containeranalysis-api.json index fc41ea42cfc..477748bb90a 100644 --- a/containeranalysis/v1/containeranalysis-api.json +++ b/containeranalysis/v1/containeranalysis-api.json @@ -1685,7 +1685,7 @@ } } }, - "revision": "20250411", + "revision": "20250425", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2923,7 +2923,7 @@ "type": "string" }, "path": { - "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", + "description": "Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", "type": "string" }, "repository": { diff --git a/containeranalysis/v1/containeranalysis-gen.go b/containeranalysis/v1/containeranalysis-gen.go index b1fc4c90deb..3b8c3f035fa 100644 --- a/containeranalysis/v1/containeranalysis-gen.go +++ b/containeranalysis/v1/containeranalysis-gen.go @@ -1664,8 +1664,8 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact struct { // GroupId: Maven `groupId` value used when uploading the artifact to Artifact // Registry. GroupId string `json:"groupId,omitempty"` - // Path: Path to an artifact in the build's workspace to be uploaded to - // Artifact Registry. This can be either an absolute path, e.g. + // Path: Optional. Path to an artifact in the build's workspace to be uploaded + // to Artifact Registry. This can be either an absolute path, e.g. // /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from // /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar. Path string `json:"path,omitempty"` diff --git a/containeranalysis/v1alpha1/containeranalysis-api.json b/containeranalysis/v1alpha1/containeranalysis-api.json index 64b28fc1950..9674d8ef06c 100644 --- a/containeranalysis/v1alpha1/containeranalysis-api.json +++ b/containeranalysis/v1alpha1/containeranalysis-api.json @@ -1450,7 +1450,7 @@ } } }, - "revision": "20250411", + "revision": "20250425", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AnalysisCompleted": { @@ -2494,7 +2494,7 @@ "type": "string" }, "path": { - "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", + "description": "Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", "type": "string" }, "repository": { diff --git a/containeranalysis/v1alpha1/containeranalysis-gen.go b/containeranalysis/v1alpha1/containeranalysis-gen.go index 3d2333ca32d..6b6165530aa 100644 --- a/containeranalysis/v1alpha1/containeranalysis-gen.go +++ b/containeranalysis/v1alpha1/containeranalysis-gen.go @@ -1501,8 +1501,8 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact struct { // GroupId: Maven `groupId` value used when uploading the artifact to Artifact // Registry. GroupId string `json:"groupId,omitempty"` - // Path: Path to an artifact in the build's workspace to be uploaded to - // Artifact Registry. This can be either an absolute path, e.g. + // Path: Optional. Path to an artifact in the build's workspace to be uploaded + // to Artifact Registry. This can be either an absolute path, e.g. // /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from // /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar. Path string `json:"path,omitempty"` diff --git a/containeranalysis/v1beta1/containeranalysis-api.json b/containeranalysis/v1beta1/containeranalysis-api.json index 78b5693c74f..9fa2cd441a4 100644 --- a/containeranalysis/v1beta1/containeranalysis-api.json +++ b/containeranalysis/v1beta1/containeranalysis-api.json @@ -1741,7 +1741,7 @@ } } }, - "revision": "20250411", + "revision": "20250425", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2859,7 +2859,7 @@ "type": "string" }, "path": { - "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", + "description": "Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", "type": "string" }, "repository": { diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index 2e714aebc4a..d9f80b29024 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -1541,8 +1541,8 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact struct { // GroupId: Maven `groupId` value used when uploading the artifact to Artifact // Registry. GroupId string `json:"groupId,omitempty"` - // Path: Path to an artifact in the build's workspace to be uploaded to - // Artifact Registry. This can be either an absolute path, e.g. + // Path: Optional. Path to an artifact in the build's workspace to be uploaded + // to Artifact Registry. This can be either an absolute path, e.g. // /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from // /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar. Path string `json:"path,omitempty"` diff --git a/documentai/v1/documentai-api.json b/documentai/v1/documentai-api.json index 551649e9144..3ab965bc85d 100644 --- a/documentai/v1/documentai-api.json +++ b/documentai/v1/documentai-api.json @@ -1048,7 +1048,7 @@ } } }, - "revision": "20250421", + "revision": "20250427", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -2675,6 +2675,9 @@ "$ref": "GoogleTypeMoney", "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, + "signatureValue": { + "type": "boolean" + }, "text": { "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" diff --git a/documentai/v1/documentai-gen.go b/documentai/v1/documentai-gen.go index bba8ad6de51..475d018466e 100644 --- a/documentai/v1/documentai-gen.go +++ b/documentai/v1/documentai-gen.go @@ -2433,7 +2433,8 @@ type GoogleCloudDocumentaiV1DocumentEntityNormalizedValue struct { IntegerValue int64 `json:"integerValue,omitempty"` // MoneyValue: Money value. See also: // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto - MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"` + MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"` + SignatureValue bool `json:"signatureValue,omitempty"` // Text: Optional. An optional field to store a normalized string. For some // entity types, one of respective `structured_value` fields may also be // populated. Also not all the types of `structured_value` will be normalized. diff --git a/documentai/v1beta3/documentai-api.json b/documentai/v1beta3/documentai-api.json index eee0a852528..cca10fc0324 100644 --- a/documentai/v1beta3/documentai-api.json +++ b/documentai/v1beta3/documentai-api.json @@ -1290,7 +1290,7 @@ } } }, - "revision": "20250421", + "revision": "20250427", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { @@ -3519,6 +3519,10 @@ "description": "Represents a table type block.", "id": "GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", "properties": { + "annotations": { + "$ref": "GoogleCloudDocumentaiV1beta3DocumentAnnotations", + "description": "Annotation of the table block." + }, "bodyRows": { "description": "Body rows containing main table content.", "items": { @@ -3689,6 +3693,9 @@ "$ref": "GoogleTypeMoney", "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, + "signatureValue": { + "type": "boolean" + }, "text": { "description": "Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format.", "type": "string" @@ -5856,10 +5863,22 @@ "$ref": "GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig", "description": "Optional. Config for chunking in layout parser processor." }, + "enableImageAnnotation": { + "description": "Optional. Whether to include image annotations in layout parser response.", + "type": "boolean" + }, + "enableImageExtraction": { + "description": "Optional. Whether to extract images in layout parser response.", + "type": "boolean" + }, "enableLlmLayoutParsing": { "description": "Optional. Whether to refine PDF layout using LLM.", "type": "boolean" }, + "enableTableAnnotation": { + "description": "Optional. Whether to include table annotations in layout parser response.", + "type": "boolean" + }, "returnBoundingBoxes": { "description": "Optional. Whether to include bounding boxes in layout parser processor response.", "type": "boolean" diff --git a/documentai/v1beta3/documentai-gen.go b/documentai/v1beta3/documentai-gen.go index d09199baf79..aef402b69d1 100644 --- a/documentai/v1beta3/documentai-gen.go +++ b/documentai/v1beta3/documentai-gen.go @@ -3292,19 +3292,21 @@ func (s GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLay // GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTa // bleBlock: Represents a table type block. type GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock struct { + // Annotations: Annotation of the table block. + Annotations *GoogleCloudDocumentaiV1beta3DocumentAnnotations `json:"annotations,omitempty"` // BodyRows: Body rows containing main table content. BodyRows []*GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow `json:"bodyRows,omitempty"` // Caption: Table caption/title. Caption string `json:"caption,omitempty"` // HeaderRows: Header rows at the top of the table. HeaderRows []*GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow `json:"headerRows,omitempty"` - // ForceSendFields is a list of field names (e.g. "BodyRows") to + // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "BodyRows") to include in API + // NullFields is a list of field names (e.g. "Annotations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. @@ -3485,7 +3487,8 @@ type GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue struct { IntegerValue int64 `json:"integerValue,omitempty"` // MoneyValue: Money value. See also: // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto - MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"` + MoneyValue *GoogleTypeMoney `json:"moneyValue,omitempty"` + SignatureValue bool `json:"signatureValue,omitempty"` // Text: Optional. An optional field to store a normalized string. For some // entity types, one of respective `structured_value` fields may also be // populated. Also not all the types of `structured_value` will be normalized. @@ -6429,8 +6432,17 @@ func (s GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector) Marsha type GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig struct { // ChunkingConfig: Optional. Config for chunking in layout parser processor. ChunkingConfig *GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig `json:"chunkingConfig,omitempty"` + // EnableImageAnnotation: Optional. Whether to include image annotations in + // layout parser response. + EnableImageAnnotation bool `json:"enableImageAnnotation,omitempty"` + // EnableImageExtraction: Optional. Whether to extract images in layout parser + // response. + EnableImageExtraction bool `json:"enableImageExtraction,omitempty"` // EnableLlmLayoutParsing: Optional. Whether to refine PDF layout using LLM. EnableLlmLayoutParsing bool `json:"enableLlmLayoutParsing,omitempty"` + // EnableTableAnnotation: Optional. Whether to include table annotations in + // layout parser response. + EnableTableAnnotation bool `json:"enableTableAnnotation,omitempty"` // ReturnBoundingBoxes: Optional. Whether to include bounding boxes in layout // parser processor response. ReturnBoundingBoxes bool `json:"returnBoundingBoxes,omitempty"` diff --git a/places/v1/places-api.json b/places/v1/places-api.json index b0dff1bf72f..c6d9e38ccc1 100644 --- a/places/v1/places-api.json +++ b/places/v1/places-api.json @@ -280,7 +280,7 @@ } } }, - "revision": "20250414", + "revision": "20250429", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -1846,6 +1846,27 @@ "text": { "$ref": "GoogleTypeLocalizedText", "description": "The localized text of the review." + }, + "visitDate": { + "$ref": "GoogleMapsPlacesV1ReviewVisitDate", + "description": "The date when the author visited the place. This is trucated to month." + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1ReviewVisitDate": { + "description": "The date when the author visited the place. This is trucated to month.", + "id": "GoogleMapsPlacesV1ReviewVisitDate", + "properties": { + "month": { + "description": "The month the author visited the place, e.g. 4. The value is between 1 and 12.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "The year the author visited the place, e.g. 2025.", + "format": "int32", + "type": "integer" } }, "type": "object" diff --git a/places/v1/places-gen.go b/places/v1/places-gen.go index d7afe28f4b7..cde3294a092 100644 --- a/places/v1/places-gen.go +++ b/places/v1/places-gen.go @@ -2208,6 +2208,9 @@ type GoogleMapsPlacesV1Review struct { RelativePublishTimeDescription string `json:"relativePublishTimeDescription,omitempty"` // Text: The localized text of the review. Text *GoogleTypeLocalizedText `json:"text,omitempty"` + // VisitDate: The date when the author visited the place. This is trucated to + // month. + VisitDate *GoogleMapsPlacesV1ReviewVisitDate `json:"visitDate,omitempty"` // ForceSendFields is a list of field names (e.g. "AuthorAttribution") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -2240,6 +2243,32 @@ func (s *GoogleMapsPlacesV1Review) UnmarshalJSON(data []byte) error { return nil } +// GoogleMapsPlacesV1ReviewVisitDate: The date when the author visited the +// place. This is trucated to month. +type GoogleMapsPlacesV1ReviewVisitDate struct { + // Month: The month the author visited the place, e.g. 4. The value is between + // 1 and 12. + Month int64 `json:"month,omitempty"` + // Year: The year the author visited the place, e.g. 2025. + Year int64 `json:"year,omitempty"` + // ForceSendFields is a list of field names (e.g. "Month") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Month") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleMapsPlacesV1ReviewVisitDate) MarshalJSON() ([]byte, error) { + type NoMethod GoogleMapsPlacesV1ReviewVisitDate + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleMapsPlacesV1RouteModifiers: Encapsulates a set of optional conditions // to satisfy when calculating the routes. type GoogleMapsPlacesV1RouteModifiers struct { diff --git a/run/v1/run-api.json b/run/v1/run-api.json index 7c641a0a083..aaea3e580d4 100644 --- a/run/v1/run-api.json +++ b/run/v1/run-api.json @@ -2796,7 +2796,7 @@ } } }, - "revision": "20250411", + "revision": "20250425", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -4597,7 +4597,7 @@ "type": "string" }, "path": { - "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", + "description": "Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", "type": "string" }, "repository": { diff --git a/run/v1/run-gen.go b/run/v1/run-gen.go index b5216888a6d..84bd179b0cd 100644 --- a/run/v1/run-gen.go +++ b/run/v1/run-gen.go @@ -2661,8 +2661,8 @@ type GoogleDevtoolsCloudbuildV1MavenArtifact struct { // GroupId: Maven `groupId` value used when uploading the artifact to Artifact // Registry. GroupId string `json:"groupId,omitempty"` - // Path: Path to an artifact in the build's workspace to be uploaded to - // Artifact Registry. This can be either an absolute path, e.g. + // Path: Optional. Path to an artifact in the build's workspace to be uploaded + // to Artifact Registry. This can be either an absolute path, e.g. // /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from // /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar. Path string `json:"path,omitempty"` diff --git a/run/v2/run-api.json b/run/v2/run-api.json index 614dc433464..a542eb8a233 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -1863,7 +1863,7 @@ } } }, - "revision": "20250411", + "revision": "20250425", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -5805,7 +5805,7 @@ "type": "string" }, "path": { - "description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", + "description": "Optional. Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.", "type": "string" }, "repository": { diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index a9beb349f68..63832c29797 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -4608,8 +4608,8 @@ type GoogleDevtoolsCloudbuildV1MavenArtifact struct { // GroupId: Maven `groupId` value used when uploading the artifact to Artifact // Registry. GroupId string `json:"groupId,omitempty"` - // Path: Path to an artifact in the build's workspace to be uploaded to - // Artifact Registry. This can be either an absolute path, e.g. + // Path: Optional. Path to an artifact in the build's workspace to be uploaded + // to Artifact Registry. This can be either an absolute path, e.g. // /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from // /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar. Path string `json:"path,omitempty"` diff --git a/storagetransfer/v1/storagetransfer-api.json b/storagetransfer/v1/storagetransfer-api.json index 0f731d1a341..711d0ac60d6 100644 --- a/storagetransfer/v1/storagetransfer-api.json +++ b/storagetransfer/v1/storagetransfer-api.json @@ -632,7 +632,7 @@ } } }, - "revision": "20250301", + "revision": "20250426", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AgentPool": { @@ -1056,12 +1056,14 @@ "enum": [ "LOGGABLE_ACTION_STATE_UNSPECIFIED", "SUCCEEDED", - "FAILED" + "FAILED", + "SKIPPED" ], "enumDescriptions": [ "Default value. This value is unused.", "`LoggableAction` completed successfully. `SUCCEEDED` actions are logged as INFO.", - "`LoggableAction` terminated in an error state. `FAILED` actions are logged as ERROR." + "`LoggableAction` terminated in an error state. `FAILED` actions are logged as ERROR.", + "The `COPY` action was skipped for this file. Only supported for agent-based transfers. `SKIPPED` actions are logged as INFO." ], "type": "string" }, diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go index c7c0a44d025..9fc44dc4584 100644 --- a/storagetransfer/v1/storagetransfer-gen.go +++ b/storagetransfer/v1/storagetransfer-gen.go @@ -934,6 +934,8 @@ type LoggingConfig struct { // are logged as INFO. // "FAILED" - `LoggableAction` terminated in an error state. `FAILED` actions // are logged as ERROR. + // "SKIPPED" - The `COPY` action was skipped for this file. Only supported + // for agent-based transfers. `SKIPPED` actions are logged as INFO. LogActionStates []string `json:"logActionStates,omitempty"` // LogActions: Specifies the actions to be logged. If empty, no logs are // generated. diff --git a/trafficdirector/v3/trafficdirector-api.json b/trafficdirector/v3/trafficdirector-api.json index 11d8c37743d..40d5b78c5e4 100644 --- a/trafficdirector/v3/trafficdirector-api.json +++ b/trafficdirector/v3/trafficdirector-api.json @@ -128,7 +128,7 @@ } } }, - "revision": "20250206", + "revision": "20250423", "rootUrl": "https://trafficdirector.googleapis.com/", "schemas": { "Address": { @@ -1102,7 +1102,7 @@ "type": "object" }, "SocketAddress": { - "description": "[#next-free-field: 7]", + "description": "[#next-free-field: 8]", "id": "SocketAddress", "properties": { "address": { @@ -1117,6 +1117,10 @@ "description": "This is only valid if :ref:`resolver_name ` is specified below and the named resolver is capable of named port resolution.", "type": "string" }, + "networkNamespaceFilepath": { + "description": "The Linux network namespace to bind the socket to. If this is set, Envoy will create the socket in the specified network namespace. Only supported on Linux. [#not-implemented-hide:]", + "type": "string" + }, "portValue": { "format": "uint32", "type": "integer" diff --git a/trafficdirector/v3/trafficdirector-gen.go b/trafficdirector/v3/trafficdirector-gen.go index 831e8ec154a..1c9afaab061 100644 --- a/trafficdirector/v3/trafficdirector-gen.go +++ b/trafficdirector/v3/trafficdirector-gen.go @@ -1435,7 +1435,7 @@ func (s SemanticVersion) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// SocketAddress: [#next-free-field: 7] +// SocketAddress: [#next-free-field: 8] type SocketAddress struct { // Address: The address for this socket. :ref:`Listeners ` will bind to the // address. An empty address is not allowed. Specify ``0.0.0.0`` or ``::`` to @@ -1455,7 +1455,11 @@ type SocketAddress struct { // NamedPort: This is only valid if :ref:`resolver_name ` is specified below // and the named resolver is capable of named port resolution. NamedPort string `json:"namedPort,omitempty"` - PortValue int64 `json:"portValue,omitempty"` + // NetworkNamespaceFilepath: The Linux network namespace to bind the socket to. + // If this is set, Envoy will create the socket in the specified network + // namespace. Only supported on Linux. [#not-implemented-hide:] + NetworkNamespaceFilepath string `json:"networkNamespaceFilepath,omitempty"` + PortValue int64 `json:"portValue,omitempty"` // Possible values: // "TCP" // "UDP"