From 01a17b31be736d40369d7bfcb57b61c059aa5b7f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 8 Jan 2025 00:28:23 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2953) --- .../v1alpha/analyticsadmin-api.json | 14 +- analyticsadmin/v1alpha/analyticsadmin-gen.go | 21 +- analyticsadmin/v1beta/analyticsadmin-api.json | 14 +- analyticsadmin/v1beta/analyticsadmin-gen.go | 21 +- .../v1/androidmanagement-api.json | 8 +- androidmanagement/v1/androidmanagement-gen.go | 13 + cloudbuild/v1/cloudbuild-api.json | 7 +- cloudbuild/v2/cloudbuild-api.json | 7 +- cloudfunctions/v1/cloudfunctions-api.json | 5 +- cloudfunctions/v1/cloudfunctions-gen.go | 9 +- compute/v0.alpha/compute-api.json | 1916 ++++++++++++----- compute/v0.alpha/compute-gen.go | 980 ++++++++- compute/v0.alpha/compute2-gen.go | 575 +++++ css/v1/css-api.json | 6 +- css/v1/css-gen.go | 32 +- language/v1/language-api.json | 10 +- language/v1/language-gen.go | 4 + language/v1beta2/language-api.json | 10 +- language/v1beta2/language-gen.go | 4 + language/v2/language-api.json | 10 +- language/v2/language-gen.go | 4 + .../products_v1beta/merchantapi-api.json | 4 +- .../products_v1beta/merchantapi-gen.go | 2 +- pubsub/v1/pubsub-api.json | 168 +- pubsub/v1/pubsub-gen.go | 162 ++ securitycenter/v1/securitycenter-api.json | 34 +- securitycenter/v1/securitycenter-gen.go | 20 +- servicecontrol/v1/servicecontrol-api.json | 12 +- servicecontrol/v1/servicecontrol-gen.go | 11 +- servicecontrol/v2/servicecontrol-api.json | 8 +- servicecontrol/v2/servicecontrol-gen.go | 7 +- tasks/v1/tasks-api.json | 6 +- tasks/v1/tasks-gen.go | 10 +- 33 files changed, 3471 insertions(+), 643 deletions(-) diff --git a/analyticsadmin/v1alpha/analyticsadmin-api.json b/analyticsadmin/v1alpha/analyticsadmin-api.json index d09a559b1c5..24682e1c372 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-api.json +++ b/analyticsadmin/v1alpha/analyticsadmin-api.json @@ -340,7 +340,7 @@ ] }, "searchChangeHistoryEvents": { - "description": "Searches through all changes to an account or its children given the specified set of filters.", + "description": "Searches through all changes to an account or its children given the specified set of filters. Only returns the subset of changes supported by the API. The UI may return additional changes.", "flatPath": "v1alpha/accounts/{accountsId}:searchChangeHistoryEvents", "httpMethod": "POST", "id": "analyticsadmin.accounts.searchChangeHistoryEvents", @@ -4886,7 +4886,7 @@ } } }, - "revision": "20240929", + "revision": "20250103", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { @@ -6818,7 +6818,7 @@ "id": "GoogleAnalyticsAdminV1alphaDataRetentionSettings", "properties": { "eventDataRetention": { - "description": "The length of time that event-level data is retained.", + "description": "Required. The length of time that event-level data is retained.", "enum": [ "RETENTION_DURATION_UNSPECIFIED", "TWO_MONTHS", @@ -6831,9 +6831,9 @@ "Data retention time duration is not specified.", "The data retention time duration is 2 months.", "The data retention time duration is 14 months.", - "The data retention time duration is 26 months. Available to 360 properties only.", - "The data retention time duration is 38 months. Available to 360 properties only.", - "The data retention time duration is 50 months. Available to 360 properties only." + "The data retention time duration is 26 months. Available to 360 properties only. Available for event data only.", + "The data retention time duration is 38 months. Available to 360 properties only. Available for event data only.", + "The data retention time duration is 50 months. Available to 360 properties only. Available for event data only." ], "type": "string" }, @@ -8774,7 +8774,7 @@ "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of ChangeHistoryEvent items to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "description": "Optional. The maximum number of ChangeHistoryEvent items to return. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum). Note that the service may return a page with fewer items than this value specifies (potentially even zero), and that there still may be additional pages. If you want a particular number of items, you'll need to continue requesting additional pages using `page_token` until you get the needed number.", "format": "int32", "type": "integer" }, diff --git a/analyticsadmin/v1alpha/analyticsadmin-gen.go b/analyticsadmin/v1alpha/analyticsadmin-gen.go index d4836faf45e..7917492b817 100644 --- a/analyticsadmin/v1alpha/analyticsadmin-gen.go +++ b/analyticsadmin/v1alpha/analyticsadmin-gen.go @@ -3047,7 +3047,8 @@ func (s GoogleAnalyticsAdminV1alphaDataRedactionSettings) MarshalJSON() ([]byte, // GoogleAnalyticsAdminV1alphaDataRetentionSettings: Settings values for data // retention. This is a singleton resource. type GoogleAnalyticsAdminV1alphaDataRetentionSettings struct { - // EventDataRetention: The length of time that event-level data is retained. + // EventDataRetention: Required. The length of time that event-level data is + // retained. // // Possible values: // "RETENTION_DURATION_UNSPECIFIED" - Data retention time duration is not @@ -3055,11 +3056,11 @@ type GoogleAnalyticsAdminV1alphaDataRetentionSettings struct { // "TWO_MONTHS" - The data retention time duration is 2 months. // "FOURTEEN_MONTHS" - The data retention time duration is 14 months. // "TWENTY_SIX_MONTHS" - The data retention time duration is 26 months. - // Available to 360 properties only. + // Available to 360 properties only. Available for event data only. // "THIRTY_EIGHT_MONTHS" - The data retention time duration is 38 months. - // Available to 360 properties only. + // Available to 360 properties only. Available for event data only. // "FIFTY_MONTHS" - The data retention time duration is 50 months. Available - // to 360 properties only. + // to 360 properties only. Available for event data only. EventDataRetention string `json:"eventDataRetention,omitempty"` // Name: Output only. Resource name for this DataRetentionSetting resource. // Format: properties/{property}/dataRetentionSettings @@ -5850,9 +5851,12 @@ type GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest struct { // time (inclusive). LatestChangeTime string `json:"latestChangeTime,omitempty"` // PageSize: Optional. The maximum number of ChangeHistoryEvent items to - // return. The service may return fewer than this value, even if there are - // additional pages. If unspecified, at most 50 items will be returned. The - // maximum value is 200 (higher values will be coerced to the maximum). + // return. If unspecified, at most 50 items will be returned. The maximum value + // is 200 (higher values will be coerced to the maximum). Note that the service + // may return a page with fewer items than this value specifies (potentially + // even zero), and that there still may be additional pages. If you want a + // particular number of items, you'll need to continue requesting additional + // pages using `page_token` until you get the needed number. PageSize int64 `json:"pageSize,omitempty"` // PageToken: Optional. A page token, received from a previous // `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent @@ -7179,7 +7183,8 @@ type AccountsSearchChangeHistoryEventsCall struct { } // SearchChangeHistoryEvents: Searches through all changes to an account or its -// children given the specified set of filters. +// children given the specified set of filters. Only returns the subset of +// changes supported by the API. The UI may return additional changes. // // - account: The account resource for which to return change history // resources. Format: accounts/{account} Example: `accounts/100`. diff --git a/analyticsadmin/v1beta/analyticsadmin-api.json b/analyticsadmin/v1beta/analyticsadmin-api.json index aa8d75e5bed..705ee6eca44 100644 --- a/analyticsadmin/v1beta/analyticsadmin-api.json +++ b/analyticsadmin/v1beta/analyticsadmin-api.json @@ -334,7 +334,7 @@ ] }, "searchChangeHistoryEvents": { - "description": "Searches through all changes to an account or its children given the specified set of filters.", + "description": "Searches through all changes to an account or its children given the specified set of filters. Only returns the subset of changes supported by the API. The UI may return additional changes.", "flatPath": "v1beta/accounts/{accountsId}:searchChangeHistoryEvents", "httpMethod": "POST", "id": "analyticsadmin.accounts.searchChangeHistoryEvents", @@ -1788,7 +1788,7 @@ } } }, - "revision": "20241113", + "revision": "20250103", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1betaAccessBetweenFilter": { @@ -2575,7 +2575,7 @@ "id": "GoogleAnalyticsAdminV1betaDataRetentionSettings", "properties": { "eventDataRetention": { - "description": "The length of time that event-level data is retained.", + "description": "Required. The length of time that event-level data is retained.", "enum": [ "RETENTION_DURATION_UNSPECIFIED", "TWO_MONTHS", @@ -2588,9 +2588,9 @@ "Data retention time duration is not specified.", "The data retention time duration is 2 months.", "The data retention time duration is 14 months.", - "The data retention time duration is 26 months. Available to 360 properties only.", - "The data retention time duration is 38 months. Available to 360 properties only.", - "The data retention time duration is 50 months. Available to 360 properties only." + "The data retention time duration is 26 months. Available to 360 properties only. Available for event data only.", + "The data retention time duration is 38 months. Available to 360 properties only. Available for event data only.", + "The data retention time duration is 50 months. Available to 360 properties only. Available for event data only." ], "type": "string" }, @@ -3470,7 +3470,7 @@ "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of ChangeHistoryEvent items to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "description": "Optional. The maximum number of ChangeHistoryEvent items to return. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum). Note that the service may return a page with fewer items than this value specifies (potentially even zero), and that there still may be additional pages. If you want a particular number of items, you'll need to continue requesting additional pages using `page_token` until you get the needed number.", "format": "int32", "type": "integer" }, diff --git a/analyticsadmin/v1beta/analyticsadmin-gen.go b/analyticsadmin/v1beta/analyticsadmin-gen.go index 97ac8dd1f63..46aae2a119a 100644 --- a/analyticsadmin/v1beta/analyticsadmin-gen.go +++ b/analyticsadmin/v1beta/analyticsadmin-gen.go @@ -1339,7 +1339,8 @@ func (s GoogleAnalyticsAdminV1betaCustomMetric) MarshalJSON() ([]byte, error) { // GoogleAnalyticsAdminV1betaDataRetentionSettings: Settings values for data // retention. This is a singleton resource. type GoogleAnalyticsAdminV1betaDataRetentionSettings struct { - // EventDataRetention: The length of time that event-level data is retained. + // EventDataRetention: Required. The length of time that event-level data is + // retained. // // Possible values: // "RETENTION_DURATION_UNSPECIFIED" - Data retention time duration is not @@ -1347,11 +1348,11 @@ type GoogleAnalyticsAdminV1betaDataRetentionSettings struct { // "TWO_MONTHS" - The data retention time duration is 2 months. // "FOURTEEN_MONTHS" - The data retention time duration is 14 months. // "TWENTY_SIX_MONTHS" - The data retention time duration is 26 months. - // Available to 360 properties only. + // Available to 360 properties only. Available for event data only. // "THIRTY_EIGHT_MONTHS" - The data retention time duration is 38 months. - // Available to 360 properties only. + // Available to 360 properties only. Available for event data only. // "FIFTY_MONTHS" - The data retention time duration is 50 months. Available - // to 360 properties only. + // to 360 properties only. Available for event data only. EventDataRetention string `json:"eventDataRetention,omitempty"` // Name: Output only. Resource name for this DataRetentionSetting resource. // Format: properties/{property}/dataRetentionSettings @@ -2488,9 +2489,12 @@ type GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest struct { // time (inclusive). LatestChangeTime string `json:"latestChangeTime,omitempty"` // PageSize: Optional. The maximum number of ChangeHistoryEvent items to - // return. The service may return fewer than this value, even if there are - // additional pages. If unspecified, at most 50 items will be returned. The - // maximum value is 200 (higher values will be coerced to the maximum). + // return. If unspecified, at most 50 items will be returned. The maximum value + // is 200 (higher values will be coerced to the maximum). Note that the service + // may return a page with fewer items than this value specifies (potentially + // even zero), and that there still may be additional pages. If you want a + // particular number of items, you'll need to continue requesting additional + // pages using `page_token` until you get the needed number. PageSize int64 `json:"pageSize,omitempty"` // PageToken: Optional. A page token, received from a previous // `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent @@ -3556,7 +3560,8 @@ type AccountsSearchChangeHistoryEventsCall struct { } // SearchChangeHistoryEvents: Searches through all changes to an account or its -// children given the specified set of filters. +// children given the specified set of filters. Only returns the subset of +// changes supported by the API. The UI may return additional changes. // // - account: The account resource for which to return change history // resources. Format: accounts/{account} Example: `accounts/100`. diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index 4d654b8ff88..306dd796e6c 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1146,6 +1146,12 @@ "location": "query", "type": "string" }, + "allowedDomains": { + "description": "Optional. A list of domains that are permitted for the admin email. The IT admin cannot enter an email address with a domain name that is not in this list. Subdomains of domains in this list are not allowed but can be allowed by adding a second entry which has *. prefixed to the domain name (e.g. *.example.com). If the field is not present or is an empty list then the IT admin is free to use any valid domain name. Personal email domains are always allowed, but will result in the creation of a managed Google Play Accounts enterprise.", + "location": "query", + "repeated": true, + "type": "string" + }, "callbackUrl": { "description": "The callback URL that the admin will be redirected to after successfully creating an enterprise. Before redirecting there the system will add a query parameter to this URL named enterpriseToken which will contain an opaque token to be used for the create enterprise request. The URL will be parsed then reformatted in order to add the enterpriseToken parameter, so there may be some minor formatting changes.", "location": "query", @@ -1168,7 +1174,7 @@ } } }, - "revision": "20241204", + "revision": "20250106", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index 21ee930731f..a0e66d6e93b 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -10676,6 +10676,19 @@ func (c *SignupUrlsCreateCall) AdminEmail(adminEmail string) *SignupUrlsCreateCa return c } +// AllowedDomains sets the optional parameter "allowedDomains": A list of +// domains that are permitted for the admin email. The IT admin cannot enter an +// email address with a domain name that is not in this list. Subdomains of +// domains in this list are not allowed but can be allowed by adding a second +// entry which has *. prefixed to the domain name (e.g. *.example.com). If the +// field is not present or is an empty list then the IT admin is free to use +// any valid domain name. Personal email domains are always allowed, but will +// result in the creation of a managed Google Play Accounts enterprise. +func (c *SignupUrlsCreateCall) AllowedDomains(allowedDomains ...string) *SignupUrlsCreateCall { + c.urlParams_.SetMulti("allowedDomains", append([]string{}, allowedDomains...)) + return c +} + // CallbackUrl sets the optional parameter "callbackUrl": The callback URL that // the admin will be redirected to after successfully creating an enterprise. // Before redirecting there the system will add a query parameter to this URL diff --git a/cloudbuild/v1/cloudbuild-api.json b/cloudbuild/v1/cloudbuild-api.json index 2745acbb0e2..e0e2dff0184 100644 --- a/cloudbuild/v1/cloudbuild-api.json +++ b/cloudbuild/v1/cloudbuild-api.json @@ -191,11 +191,6 @@ "endpointUrl": "https://cloudbuild.us-east1.rep.googleapis.com/", "location": "us-east1" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://cloudbuild.us-east10.rep.googleapis.com/", - "location": "us-east10" - }, { "description": "Regional Endpoint", "endpointUrl": "https://cloudbuild.us-east4.rep.googleapis.com/", @@ -2573,7 +2568,7 @@ } } }, - "revision": "20241210", + "revision": "20250102", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { diff --git a/cloudbuild/v2/cloudbuild-api.json b/cloudbuild/v2/cloudbuild-api.json index 9e8a57a79b5..a5884ae4653 100644 --- a/cloudbuild/v2/cloudbuild-api.json +++ b/cloudbuild/v2/cloudbuild-api.json @@ -191,11 +191,6 @@ "endpointUrl": "https://cloudbuild.us-east1.rep.googleapis.com/", "location": "us-east1" }, - { - "description": "Regional Endpoint", - "endpointUrl": "https://cloudbuild.us-east10.rep.googleapis.com/", - "location": "us-east10" - }, { "description": "Regional Endpoint", "endpointUrl": "https://cloudbuild.us-east4.rep.googleapis.com/", @@ -1071,7 +1066,7 @@ } } }, - "revision": "20241210", + "revision": "20250102", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/cloudfunctions/v1/cloudfunctions-api.json b/cloudfunctions/v1/cloudfunctions-api.json index 29d91e9f814..8f9bac8f882 100644 --- a/cloudfunctions/v1/cloudfunctions-api.json +++ b/cloudfunctions/v1/cloudfunctions-api.json @@ -552,7 +552,7 @@ } } }, - "revision": "20240905", + "revision": "20250102", "rootUrl": "https://cloudfunctions.googleapis.com/", "schemas": { "AuditConfig": { @@ -703,7 +703,8 @@ "type": "string" }, "dockerRegistry": { - "description": "Docker Registry to use for this deployment. 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`.", + "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`.", "enum": [ "DOCKER_REGISTRY_UNSPECIFIED", "CONTAINER_REGISTRY", diff --git a/cloudfunctions/v1/cloudfunctions-gen.go b/cloudfunctions/v1/cloudfunctions-gen.go index d93326f3796..155dbe31b34 100644 --- a/cloudfunctions/v1/cloudfunctions-gen.go +++ b/cloudfunctions/v1/cloudfunctions-gen.go @@ -469,9 +469,12 @@ 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. If unspecified, - // it defaults to `ARTIFACT_REGISTRY`. If `docker_repository` field is - // specified, this field should either be left unspecified or set to + // DockerRegistry: 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`. // // Possible values: diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index cca9ae6d9a6..70f4438416a 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -710,6 +710,47 @@ } } }, + "advice": { + "methods": { + "calendarMode": { + "description": "Advise how, where and when to create the requested amount of instances with specified accelerators, within the specified time and location limits. The method recommends creating future reservations for the requested resources.", + "flatPath": "projects/{project}/regions/{region}/advice/calendarMode", + "httpMethod": "POST", + "id": "compute.advice.calendarMode", + "parameterOrder": [ + "project", + "region" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/regions/{region}/advice/calendarMode", + "request": { + "$ref": "CalendarModeAdviceRequest" + }, + "response": { + "$ref": "CalendarModeAdviceResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + } + } + }, "autoscalers": { "methods": { "aggregatedList": { @@ -15456,6 +15497,41 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getOperationalStatus": { + "description": "Returns the InterconnectAttachmentStatuses for the specified InterconnectAttachmentGroup resource.", + "flatPath": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}/getOperationalStatus", + "httpMethod": "GET", + "id": "compute.interconnectAttachmentGroups.getOperationalStatus", + "parameterOrder": [ + "project", + "interconnectAttachmentGroup" + ], + "parameters": { + "interconnectAttachmentGroup": { + "description": "Name of the interconnectAttachmentGroup resource to query.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}/getOperationalStatus", + "response": { + "$ref": "InterconnectAttachmentGroupsGetOperationalStatusResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "insert": { "description": "Creates a InterconnectAttachmentGroup in the specified project in the given scope using the parameters that are included in the request.", "flatPath": "projects/{project}/global/interconnectAttachmentGroups", @@ -16297,88 +16373,34 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, - "insert": { - "description": "Creates a InterconnectGroup in the specified project in the given scope using the parameters that are included in the request.", - "flatPath": "projects/{project}/global/interconnectGroups", - "httpMethod": "POST", - "id": "compute.interconnectGroups.insert", + "getOperationalStatus": { + "description": "Returns the interconnectStatuses for the specified InterconnectGroup.", + "flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}/getOperationalStatus", + "httpMethod": "GET", + "id": "compute.interconnectGroups.getOperationalStatus", "parameterOrder": [ - "project" + "project", + "interconnectGroup" ], "parameters": { - "project": { - "description": "Project ID for this request.", + "interconnectGroup": { + "description": "Name of the interconnectGroup resource to query.", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "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). end_interface: MixerMutationRequestBuilder", - "location": "query", - "type": "string" - } - }, - "path": "projects/{project}/global/interconnectGroups", - "request": { - "$ref": "InterconnectGroup" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "list": { - "description": "Lists the InterconnectGroups for a project in the given scope.", - "flatPath": "projects/{project}/global/interconnectGroups", - "httpMethod": "GET", - "id": "compute.interconnectGroups.list", - "parameterOrder": [ - "project" - ], - "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", - "location": "query", - "type": "string" - }, - "maxResults": { - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "location": "query", - "minimum": "0", - "type": "integer" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", - "type": "string" - }, "project": { "description": "Project ID for this request.", "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, "type": "string" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", - "location": "query", - "type": "boolean" } }, - "path": "projects/{project}/global/interconnectGroups", + "path": "projects/{project}/global/interconnectGroups/{interconnectGroup}/getOperationalStatus", "response": { - "$ref": "InterconnectGroupsListResponse" + "$ref": "InterconnectGroupsGetOperationalStatusResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -16386,23 +16408,15 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, - "patch": { - "description": "Patches the specified InterconnectGroup resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", - "flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}", - "httpMethod": "PATCH", - "id": "compute.interconnectGroups.patch", + "insert": { + "description": "Creates a InterconnectGroup in the specified project in the given scope using the parameters that are included in the request.", + "flatPath": "projects/{project}/global/interconnectGroups", + "httpMethod": "POST", + "id": "compute.interconnectGroups.insert", "parameterOrder": [ - "project", - "interconnectGroup" + "project" ], "parameters": { - "interconnectGroup": { - "description": "Name of the InterconnectGroup resource to patch.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - }, "project": { "description": "Project ID for this request.", "location": "path", @@ -16414,15 +16428,9 @@ "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). end_interface: MixerMutationRequestBuilder", "location": "query", "type": "string" - }, - "updateMask": { - "description": "The list of fields to update.", - "format": "google-fieldmask", - "location": "query", - "type": "string" } }, - "path": "projects/{project}/global/interconnectGroups/{interconnectGroup}", + "path": "projects/{project}/global/interconnectGroups", "request": { "$ref": "InterconnectGroup" }, @@ -16434,125 +16442,228 @@ "https://www.googleapis.com/auth/compute" ] }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "flatPath": "projects/{project}/global/interconnectGroups/{resource}/setIamPolicy", - "httpMethod": "POST", - "id": "compute.interconnectGroups.setIamPolicy", - "parameterOrder": [ - "project", - "resource" - ], - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "resource": { - "description": "Name or id of the resource for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - } - }, - "path": "projects/{project}/global/interconnectGroups/{resource}/setIamPolicy", - "request": { - "$ref": "GlobalSetPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource.", - "flatPath": "projects/{project}/global/interconnectGroups/{resource}/testIamPermissions", - "httpMethod": "POST", - "id": "compute.interconnectGroups.testIamPermissions", - "parameterOrder": [ - "project", - "resource" - ], - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - }, - "resource": { - "description": "Name or id of the resource for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - } - }, - "path": "projects/{project}/global/interconnectGroups/{resource}/testIamPermissions", - "request": { - "$ref": "TestPermissionsRequest" - }, - "response": { - "$ref": "TestPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - } - } - }, - "interconnectLocations": { - "methods": { - "get": { - "description": "Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.", - "flatPath": "projects/{project}/global/interconnectLocations/{interconnectLocation}", - "httpMethod": "GET", - "id": "compute.interconnectLocations.get", - "parameterOrder": [ - "project", - "interconnectLocation" - ], - "parameters": { - "interconnectLocation": { - "description": "Name of the interconnect location to return.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - }, - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string" - } - }, - "path": "projects/{project}/global/interconnectLocations/{interconnectLocation}", - "response": { - "$ref": "InterconnectLocation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, "list": { - "description": "Retrieves the list of interconnect locations available to the specified project.", - "flatPath": "projects/{project}/global/interconnectLocations", + "description": "Lists the InterconnectGroups for a project in the given scope.", + "flatPath": "projects/{project}/global/interconnectGroups", "httpMethod": "GET", - "id": "compute.interconnectLocations.list", + "id": "compute.interconnectGroups.list", + "parameterOrder": [ + "project" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", + "location": "query", + "type": "boolean" + } + }, + "path": "projects/{project}/global/interconnectGroups", + "response": { + "$ref": "InterconnectGroupsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "patch": { + "description": "Patches the specified InterconnectGroup resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", + "flatPath": "projects/{project}/global/interconnectGroups/{interconnectGroup}", + "httpMethod": "PATCH", + "id": "compute.interconnectGroups.patch", + "parameterOrder": [ + "project", + "interconnectGroup" + ], + "parameters": { + "interconnectGroup": { + "description": "Name of the InterconnectGroup resource to patch.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "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). end_interface: MixerMutationRequestBuilder", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/global/interconnectGroups/{interconnectGroup}", + "request": { + "$ref": "InterconnectGroup" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", + "flatPath": "projects/{project}/global/interconnectGroups/{resource}/setIamPolicy", + "httpMethod": "POST", + "id": "compute.interconnectGroups.setIamPolicy", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/interconnectGroups/{resource}/setIamPolicy", + "request": { + "$ref": "GlobalSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/global/interconnectGroups/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.interconnectGroups.testIamPermissions", + "parameterOrder": [ + "project", + "resource" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/interconnectGroups/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + } + } + }, + "interconnectLocations": { + "methods": { + "get": { + "description": "Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.", + "flatPath": "projects/{project}/global/interconnectLocations/{interconnectLocation}", + "httpMethod": "GET", + "id": "compute.interconnectLocations.get", + "parameterOrder": [ + "project", + "interconnectLocation" + ], + "parameters": { + "interconnectLocation": { + "description": "Name of the interconnect location to return.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/interconnectLocations/{interconnectLocation}", + "response": { + "$ref": "InterconnectLocation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "list": { + "description": "Retrieves the list of interconnect locations available to the specified project.", + "flatPath": "projects/{project}/global/interconnectLocations", + "httpMethod": "GET", + "id": "compute.interconnectLocations.list", "parameterOrder": [ "project" ], @@ -19519,6 +19630,72 @@ "https://www.googleapis.com/auth/compute" ] }, + "aggregatedList": { + "description": "Retrieves an aggregated list of network firewall policies, listing network firewall policies from all applicable scopes (global and regional) and grouping the results per scope. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", + "flatPath": "projects/{project}/aggregated/firewallPolicies", + "httpMethod": "GET", + "id": "compute.networkFirewallPolicies.aggregatedList", + "parameterOrder": [ + "project" + ], + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "default": "500", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "format": "uint32", + "location": "query", + "minimum": "0", + "type": "integer" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "format": "int64", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/aggregated/firewallPolicies", + "response": { + "$ref": "NetworkFirewallPolicyAggregatedList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "cloneRules": { "description": "Copies rules to the specified firewall policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules", @@ -47422,7 +47599,7 @@ } } }, - "revision": "20241201", + "revision": "20241231", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -48022,7 +48199,7 @@ "type": "string" }, "securityPolicy": { - "description": "[Output Only] The resource URL for the security policy associated with this access config.", + "description": "The resource URL for the security policy associated with this access config.", "type": "string" }, "setPublicDns": { @@ -49298,7 +49475,7 @@ "type": "string" }, "sourceSnapshot": { - "description": "The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.", + "description": "The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. Note: You cannot create VMs in bulk using a snapshot as the source. Use an image instead when you create VMs using the bulk insert method.", "type": "string" }, "sourceSnapshotEncryptionKey": { @@ -52967,6 +53144,48 @@ }, "type": "object" }, + "CalendarModeAdviceRequest": { + "description": "A request to recommend the best way to consume the specified resources in the future.", + "id": "CalendarModeAdviceRequest", + "properties": { + "futureResourcesSpecs": { + "additionalProperties": { + "$ref": "FutureResourcesSpec" + }, + "description": "Specification of resources to create in the future. The key of the map is an arbitrary string specified by the caller. Value of the map is a specification of required resources and their constraints. Currently only one value is allowed in this map.", + "type": "object" + } + }, + "type": "object" + }, + "CalendarModeAdviceResponse": { + "description": "A response containing the recommended way of creating the specified resources in the future. It contains (will contain) multiple recommendations that can be analyzed by the customer and the best one can be picked.", + "id": "CalendarModeAdviceResponse", + "properties": { + "recommendations": { + "description": "Recommendations where, how and when to create the requested resources in order to maximize their obtainability and minimize cost.", + "items": { + "$ref": "CalendarModeRecommendation" + }, + "type": "array" + } + }, + "type": "object" + }, + "CalendarModeRecommendation": { + "description": "A single recommendation to create requested resources. Contains detailed recommendations for every future resources specification specified in CalendarModeAdviceRequest.", + "id": "CalendarModeRecommendation", + "properties": { + "recommendationsPerSpec": { + "additionalProperties": { + "$ref": "FutureResourcesRecommendation" + }, + "description": "Recommendations for every future resource specification passed in CalendarModeAdviceRequest. Keys of the map correspond to keys specified in the request.", + "type": "object" + } + }, + "type": "object" + }, "CallCredentials": { "description": "[Deprecated] gRPC call credentials to access the SDS server. gRPC call credentials to access the SDS server.", "id": "CallCredentials", @@ -55941,7 +56160,7 @@ "additionalProperties": { "type": "string" }, - "description": "Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {\"instanceLimit\": \"100/request\"}, should be returned as, {\"instanceLimitPerRequest\": \"100\"}, if the client exceeds the number of instances that can be created in a single (batch) request.", + "description": "Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{\"instanceLimit\": \"100/request\"}`, should be returned as, `{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of instances that can be created in a single (batch) request.", "type": "object" }, "reason": { @@ -56796,6 +57015,143 @@ }, "type": "object" }, + "FirewallPoliciesScopedList": { + "id": "FirewallPoliciesScopedList", + "properties": { + "firewallPolicies": { + "description": "A list of firewall policies contained in this scope.", + "items": { + "$ref": "FirewallPolicy" + }, + "type": "array" + }, + "warning": { + "description": "Informational warning which replaces the list of firewall policies when the list is empty.", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "QUOTA_INFO_UNAVAILABLE", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "Quota information is not available to client requests (e.g: regions.list).", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "items": { + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, "FirewallPolicy": { "description": "Represents a Firewall Policy resource.", "id": "FirewallPolicy", @@ -57360,6 +57716,37 @@ }, "type": "object" }, + "FlexibleTimeRange": { + "description": "A flexible specification of a time range that has 3 points of flexibility: (1) a flexible start time, (2) a flexible end time, (3) a flexible duration. It is possible to specify a contradictory time range that cannot be matched by any Interval. This causes a validation error.", + "id": "FlexibleTimeRange", + "properties": { + "endTimeNotEarlierThan": { + "format": "google-datetime", + "type": "string" + }, + "endTimeNotLaterThan": { + "format": "google-datetime", + "type": "string" + }, + "maxDuration": { + "format": "google-duration", + "type": "string" + }, + "minDuration": { + "format": "google-duration", + "type": "string" + }, + "startTimeNotEarlierThan": { + "format": "google-datetime", + "type": "string" + }, + "startTimeNotLaterThan": { + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "ForwardingRule": { "description": "Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * [Global](https://cloud.google.com/compute/docs/reference/rest/alpha/globalForwardingRules) * [Regional](https://cloud.google.com/compute/docs/reference/rest/alpha/forwardingRules) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding.", "id": "ForwardingRule", @@ -58267,7 +58654,7 @@ "id": "FutureReservationCommitmentInfo", "properties": { "commitmentName": { - "description": "name of the commitment where capacity is being delivered to. In the form of \"projects/{project-id}/locations/{region-name}/commitment/{name}\"", + "description": "name of the commitment where capacity is being delivered to.", "type": "string" }, "commitmentPlan": { @@ -58991,6 +59378,248 @@ }, "type": "object" }, + "FutureResourcesRecommendation": { + "description": "Recommendation for single resources specification, to be created in the future.", + "id": "FutureResourcesRecommendation", + "properties": { + "endTime": { + "format": "google-datetime", + "type": "string" + }, + "location": { + "description": "The advised location for resource usage. When a zone, in format 'zones/'. If not set, it means that no location is recommended - see other_locations for details.", + "type": "string" + }, + "otherLocations": { + "additionalProperties": { + "$ref": "FutureResourcesRecommendationOtherLocation" + }, + "description": "List of locations in the request scope that were not recommended. Keys of the map are zones, in format 'zones/'. The values are status information indicating the recommendation status.", + "type": "object" + }, + "recommendationId": { + "description": "Unique id of the recommendation, a UUID string generated by the API.", + "type": "string" + }, + "recommendationType": { + "description": "Type of recommendation. Currently only FUTURE_RESERVATION is supported.", + "enum": [ + "FUTURE_RESERVATION", + "RECOMMENDATION_TYPE_UNSPECIFIED" + ], + "enumDescriptions": [ + "A Future Reservation is recommended.", + "Default value, unused." + ], + "type": "string" + }, + "startTime": { + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "FutureResourcesRecommendationOtherLocation": { + "description": "Information about recommendation status for locations that were allowed but not used by the response.", + "id": "FutureResourcesRecommendationOtherLocation", + "properties": { + "details": { + "description": "Details (human readable) describing the situation. For example, if status is CONDITION_NOT_MET, then details contain information about the parameters of the time window that did not meet the required conditions.", + "type": "string" + }, + "status": { + "description": "Status of recommendation in this location.", + "enum": [ + "CONDITIONS_NOT_MET", + "NOT_SUPPORTED", + "NO_CAPACITY", + "OTHER_LOCATION_STATUS_UNDEFINED", + "RECOMMENDED" + ], + "enumDescriptions": [ + "The requested resources are offered in this location but the requested time window is does not meet the required conditions.", + "The requested resources are not offered in this location. Retrying the request will not change this status.", + "The requested resources are offered in this location and the requested time window is accepted but there is no capacity within the requested time window.", + "Default value, unused.", + "The requested resources are offered in this location and it is possible to request them. However, another location was better and was recommended." + ], + "type": "string" + } + }, + "type": "object" + }, + "FutureResourcesSpec": { + "description": "Specification of resources to be created at some time in the future within an optionally specified set of locations, and within the specified time range.", + "id": "FutureResourcesSpec", + "properties": { + "deploymentType": { + "description": "Indicates if the reservation allocation strategy is static (DENSE) or dynamic (STANDARD). Defaults to DENSE.", + "enum": [ + "DENSE", + "DEPLOYMENT_TYPE_UNSPECIFIED", + "FLEXIBLE" + ], + "enumDescriptions": [ + "The reserved capacity is made up of densely deployed reservation blocks.", + "", + "The reserved capacity is made up of highly flexible, logical reservation blocks." + ], + "type": "string" + }, + "locationPolicy": { + "$ref": "FutureResourcesSpecLocationPolicy", + "description": "Optional location policy allowing to exclude some zone(s) in which the resources must not be created." + }, + "targetResources": { + "$ref": "FutureResourcesSpecTargetResources", + "description": "Specification of the reserved resources." + }, + "timeRangeSpec": { + "$ref": "FlexibleTimeRange", + "description": "Specification of a time range in which the resources may be created. The time range specifies start of resource use and planned end of resource use." + } + }, + "type": "object" + }, + "FutureResourcesSpecAggregateResources": { + "id": "FutureResourcesSpecAggregateResources", + "properties": { + "acceleratorCount": { + "description": "Size of the request, in accelerator (chip) count.", + "format": "int64", + "type": "string" + }, + "vmFamily": { + "description": "The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations.", + "enum": [ + "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", + "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P" + ], + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "type": "string" + }, + "workloadType": { + "description": "Workload type. Use for TPU reservations.", + "enum": [ + "BATCH", + "SERVING", + "UNSPECIFIED" + ], + "enumDescriptions": [ + "Reserved resources will be optimized for BATCH workloads, such as ML training.", + "Reserved resources will be optimized for SERVING workloads, such as ML inference.", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "FutureResourcesSpecLocalSsdPartition": { + "id": "FutureResourcesSpecLocalSsdPartition", + "properties": { + "diskInterface": { + "description": "Disk interface. Defaults to SCSI.", + "enum": [ + "NVDIMM", + "NVME", + "SCSI" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + }, + "diskSizeGb": { + "description": "The size of the disk in GB.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "FutureResourcesSpecLocationPolicy": { + "description": "Specification of locations to create resources in.", + "id": "FutureResourcesSpecLocationPolicy", + "properties": { + "locations": { + "additionalProperties": { + "$ref": "FutureResourcesSpecLocationPolicyLocation" + }, + "description": "Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed.", + "type": "object" + } + }, + "type": "object" + }, + "FutureResourcesSpecLocationPolicyLocation": { + "description": "Preference for a single specified location.", + "id": "FutureResourcesSpecLocationPolicyLocation", + "properties": { + "preference": { + "description": "Preference for this location.", + "enum": [ + "ALLOW", + "DENY", + "PREFERENCE_UNSPECIFIED" + ], + "enumDescriptions": [ + "Location is allowed for use.", + "Location is prohibited.", + "Default value, unused." + ], + "type": "string" + } + }, + "type": "object" + }, + "FutureResourcesSpecSpecificSKUResources": { + "id": "FutureResourcesSpecSpecificSKUResources", + "properties": { + "instanceCount": { + "description": "Size of the request, in instance count.", + "format": "int64", + "type": "string" + }, + "localSsdPartitions": { + "description": "Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.", + "items": { + "$ref": "FutureResourcesSpecLocalSsdPartition" + }, + "type": "array" + }, + "machineType": { + "description": "The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.", + "type": "string" + } + }, + "type": "object" + }, + "FutureResourcesSpecTargetResources": { + "description": "Specification of reserved resources.", + "id": "FutureResourcesSpecTargetResources", + "properties": { + "aggregateResources": { + "$ref": "FutureResourcesSpecAggregateResources" + }, + "specificSkuResources": { + "$ref": "FutureResourcesSpecSpecificSKUResources" + } + }, + "type": "object" + }, "GRPCHealthCheck": { "id": "GRPCHealthCheck", "properties": { @@ -68266,7 +68895,7 @@ "type": "string" }, "bandwidth": { - "description": "Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s ", + "description": "Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - BPS_100G: 100 Gbit/s ", "enum": [ "BPS_100G", "BPS_100M", @@ -68299,6 +68928,22 @@ ], "type": "string" }, + "candidateCloudRouterIpAddress": { + "description": "Single IPv4 address + prefix length to be configured on the cloud router interface for this interconnect attachment. - Both candidate_cloud_router_ip_address and candidate_customer_router_ip_address fields must be set or both must be unset. - Prefix length of both candidate_cloud_router_ip_address and candidate_customer_router_ip_address must be the same. - Max prefix length is 31. ", + "type": "string" + }, + "candidateCloudRouterIpv6Address": { + "description": "Single IPv6 address + prefix length to be configured on the cloud router interface for this interconnect attachment. - Both candidate_cloud_router_ipv6_address and candidate_customer_router_ipv6_address fields must be set or both must be unset. - Prefix length of both candidate_cloud_router_ipv6_address and candidate_customer_router_ipv6_address must be the same. - Max prefix length is 126. ", + "type": "string" + }, + "candidateCustomerRouterIpAddress": { + "description": "Single IPv4 address + prefix length to be configured on the customer router interface for this interconnect attachment.", + "type": "string" + }, + "candidateCustomerRouterIpv6Address": { + "description": "Single IPv6 address + prefix length to be configured on the customer router interface for this interconnect attachment.", + "type": "string" + }, "candidateIpv6Subnets": { "description": "This field is not available.", "items": { @@ -68307,7 +68952,7 @@ "type": "array" }, "candidateSubnets": { - "description": "Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.", + "description": "Input only. Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.", "items": { "type": "string" }, @@ -68355,7 +69000,7 @@ "type": "string" }, "edgeAvailabilityDomain": { - "description": "Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.", + "description": "Input only. Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.", "enum": [ "AVAILABILITY_DOMAIN_1", "AVAILABILITY_DOMAIN_2", @@ -68520,7 +69165,7 @@ "type": "string" }, "subnetLength": { - "description": "Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility. ", + "description": "Input only. Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility. ", "format": "int32", "type": "integer" }, @@ -68902,6 +69547,13 @@ }, "type": "array" }, + "regions": { + "description": "[Output Only] Regions used to explain this blocker in more detail. These are region names formatted like \"us-central1\". This will be set for some blockers (like INCOMPATIBLE_REGIONS) but does not apply to others.", + "items": { + "type": "string" + }, + "type": "array" + }, "zones": { "description": "[Output Only] Zones used to explain this blocker in more detail. Format is \"zone1\" and/or \"zone2\". This will be set for some blockers (like MISSING_ZONE) but does not apply to others.", "items": { @@ -69016,6 +69668,19 @@ }, "type": "object" }, + "InterconnectAttachmentGroupsGetOperationalStatusResponse": { + "description": "Response for the InterconnectAttachmentGroupsGetOperationalStatusResponse.", + "id": "InterconnectAttachmentGroupsGetOperationalStatusResponse", + "properties": { + "etag": { + "type": "string" + }, + "result": { + "$ref": "InterconnectAttachmentGroupsOperationalStatus" + } + }, + "type": "object" + }, "InterconnectAttachmentGroupsListResponse": { "id": "InterconnectAttachmentGroupsListResponse", "properties": { @@ -69179,6 +69844,28 @@ }, "type": "object" }, + "InterconnectAttachmentGroupsOperationalStatus": { + "id": "InterconnectAttachmentGroupsOperationalStatus", + "properties": { + "groupStatus": { + "description": "Summarizes the status of the group.", + "enum": [ + "DEGRADED", + "FULLY_DOWN", + "FULLY_UP", + "UNSPECIFIED" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "InterconnectAttachmentList": { "description": "Response to the list request, and contains a list of interconnect attachments.", "id": "InterconnectAttachmentList", @@ -69960,6 +70647,19 @@ }, "type": "object" }, + "InterconnectGroupsGetOperationalStatusResponse": { + "description": "Response for the InterconnectGroupsGetOperationalStatusResponse.", + "id": "InterconnectGroupsGetOperationalStatusResponse", + "properties": { + "etag": { + "type": "string" + }, + "result": { + "$ref": "InterconnectGroupsOperationalStatus" + } + }, + "type": "object" + }, "InterconnectGroupsListResponse": { "id": "InterconnectGroupsListResponse", "properties": { @@ -70123,6 +70823,80 @@ }, "type": "object" }, + "InterconnectGroupsOperationalStatus": { + "description": "Request to get the status of the interconnect group with extra detail.", + "id": "InterconnectGroupsOperationalStatus", + "properties": { + "configured": { + "$ref": "InterconnectGroupConfigured", + "description": "The configuration analysis, as returned by Get." + }, + "groupStatus": { + "description": "Summarizes the status of the group.", + "enum": [ + "DEGRADED", + "FULLY_DOWN", + "FULLY_UP", + "GROUPS_STATUS_UNSPECIFIED" + ], + "enumDescriptions": [ + "", + "", + "", + "" + ], + "type": "string" + }, + "intent": { + "$ref": "InterconnectGroupIntent", + "description": "The intent of the resource, as returned by Get." + }, + "interconnectStatuses": { + "items": { + "$ref": "InterconnectGroupsOperationalStatusInterconnectStatus" + }, + "type": "array" + }, + "operational": { + "$ref": "InterconnectGroupConfigured", + "description": "The operational state of the group, including only active Interconnects." + } + }, + "type": "object" + }, + "InterconnectGroupsOperationalStatusInterconnectStatus": { + "description": "The status of one Interconnect in the group. The order is arbitrary.", + "id": "InterconnectGroupsOperationalStatusInterconnectStatus", + "properties": { + "adminEnabled": { + "description": "Whether the Interconnect is enabled.", + "type": "boolean" + }, + "diagnostics": { + "$ref": "InterconnectDiagnostics", + "description": "The diagnostics of the Interconnect, as returned by the existing get-diagnostics method." + }, + "interconnect": { + "description": "The URL of the Interconnect being described.", + "type": "string" + }, + "isActive": { + "description": "Whether this interconnect is participating in the redundant configuration.", + "enum": [ + "ACTIVE", + "INACTIVE", + "IS_ACTIVE_UNSPECIFIED" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "InterconnectList": { "description": "Response to the list request, and contains a list of interconnects.", "id": "InterconnectList", @@ -75596,292 +76370,471 @@ }, "type": "object" }, - "NetworkEndpointGroupPscData": { - "description": "All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.", - "id": "NetworkEndpointGroupPscData", - "properties": { - "consumerPscAddress": { - "description": "[Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.", - "type": "string" - }, - "producerPort": { - "description": "The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type", - "format": "int32", - "type": "integer" - }, - "pscConnectionId": { - "description": "[Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.", - "format": "uint64", - "type": "string" - }, - "pscConnectionStatus": { - "description": "[Output Only] The connection status of the PSC Forwarding Rule.", - "enum": [ - "ACCEPTED", - "CLOSED", - "NEEDS_ATTENTION", - "PENDING", - "REJECTED", - "STATUS_UNSPECIFIED" - ], - "enumDescriptions": [ - "The connection has been accepted by the producer.", - "The connection has been closed by the producer and will not serve traffic going forward.", - "The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic.", - "The connection is pending acceptance by the producer.", - "The connection has been rejected by the producer.", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "NetworkEndpointGroupServerlessDeployment": { - "description": "Configuration for a serverless network endpoint group (NEG). The platform must be provided. Note: The target backend service must be in the same project and located in the same region as the Serverless NEG.", - "id": "NetworkEndpointGroupServerlessDeployment", - "properties": { - "platform": { - "description": "The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com.", - "type": "string" - }, - "resource": { - "description": "The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: 1. API Gateway: The gateway ID 2. App Engine: The service name 3. Cloud Functions: The function name 4. Cloud Run: The service name ", - "type": "string" - }, - "urlMask": { - "description": "An URL mask is one of the main components of the Cloud Function. A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: 1. API Gateway: The gateway ID 2. App Engine: The service and version 3. Cloud Functions: The function name 4. Cloud Run: The service and tag ", - "type": "string" - }, - "version": { - "description": "The optional resource version. The version identified by this value is platform-specific and is follows: 1. API Gateway: Unused 2. App Engine: The service version 3. Cloud Functions: Unused 4. Cloud Run: The service tag ", - "type": "string" - } - }, - "type": "object" - }, - "NetworkEndpointGroupsAttachEndpointsRequest": { - "id": "NetworkEndpointGroupsAttachEndpointsRequest", - "properties": { - "networkEndpoints": { - "description": "The list of network endpoints to be attached.", - "items": { - "$ref": "NetworkEndpoint" - }, - "type": "array" - } - }, - "type": "object" - }, - "NetworkEndpointGroupsDetachEndpointsRequest": { - "id": "NetworkEndpointGroupsDetachEndpointsRequest", - "properties": { - "networkEndpoints": { - "description": "The list of network endpoints to be detached.", - "items": { - "$ref": "NetworkEndpoint" - }, - "type": "array" - } - }, - "type": "object" - }, - "NetworkEndpointGroupsListEndpointsRequest": { - "id": "NetworkEndpointGroupsListEndpointsRequest", + "NetworkEndpointGroupPscData": { + "description": "All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.", + "id": "NetworkEndpointGroupPscData", + "properties": { + "consumerPscAddress": { + "description": "[Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.", + "type": "string" + }, + "producerPort": { + "description": "The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type", + "format": "int32", + "type": "integer" + }, + "pscConnectionId": { + "description": "[Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.", + "format": "uint64", + "type": "string" + }, + "pscConnectionStatus": { + "description": "[Output Only] The connection status of the PSC Forwarding Rule.", + "enum": [ + "ACCEPTED", + "CLOSED", + "NEEDS_ATTENTION", + "PENDING", + "REJECTED", + "STATUS_UNSPECIFIED" + ], + "enumDescriptions": [ + "The connection has been accepted by the producer.", + "The connection has been closed by the producer and will not serve traffic going forward.", + "The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic.", + "The connection is pending acceptance by the producer.", + "The connection has been rejected by the producer.", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "NetworkEndpointGroupServerlessDeployment": { + "description": "Configuration for a serverless network endpoint group (NEG). The platform must be provided. Note: The target backend service must be in the same project and located in the same region as the Serverless NEG.", + "id": "NetworkEndpointGroupServerlessDeployment", + "properties": { + "platform": { + "description": "The platform of the backend target(s) of this NEG. The only supported value is API Gateway: apigateway.googleapis.com.", + "type": "string" + }, + "resource": { + "description": "The user-defined name of the workload/instance. This value must be provided explicitly or in the urlMask. The resource identified by this value is platform-specific and is as follows: 1. API Gateway: The gateway ID 2. App Engine: The service name 3. Cloud Functions: The function name 4. Cloud Run: The service name ", + "type": "string" + }, + "urlMask": { + "description": "An URL mask is one of the main components of the Cloud Function. A template to parse platform-specific fields from a request URL. URL mask allows for routing to multiple resources on the same serverless platform without having to create multiple Network Endpoint Groups and backend resources. The fields parsed by this template are platform-specific and are as follows: 1. API Gateway: The gateway ID 2. App Engine: The service and version 3. Cloud Functions: The function name 4. Cloud Run: The service and tag ", + "type": "string" + }, + "version": { + "description": "The optional resource version. The version identified by this value is platform-specific and is follows: 1. API Gateway: Unused 2. App Engine: The service version 3. Cloud Functions: Unused 4. Cloud Run: The service tag ", + "type": "string" + } + }, + "type": "object" + }, + "NetworkEndpointGroupsAttachEndpointsRequest": { + "id": "NetworkEndpointGroupsAttachEndpointsRequest", + "properties": { + "networkEndpoints": { + "description": "The list of network endpoints to be attached.", + "items": { + "$ref": "NetworkEndpoint" + }, + "type": "array" + } + }, + "type": "object" + }, + "NetworkEndpointGroupsDetachEndpointsRequest": { + "id": "NetworkEndpointGroupsDetachEndpointsRequest", + "properties": { + "networkEndpoints": { + "description": "The list of network endpoints to be detached.", + "items": { + "$ref": "NetworkEndpoint" + }, + "type": "array" + } + }, + "type": "object" + }, + "NetworkEndpointGroupsListEndpointsRequest": { + "id": "NetworkEndpointGroupsListEndpointsRequest", + "properties": { + "endpointFilters": { + "description": "Optional list of endpoints to query. This is a more efficient but also limited version of filter parameter. Endpoints in the filter must have ip_address and port fields populated, other fields are not supported.", + "items": { + "$ref": "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter" + }, + "type": "array" + }, + "healthStatus": { + "description": "Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.", + "enum": [ + "SHOW", + "SKIP" + ], + "enumDescriptions": [ + "Show the health status for each network endpoint. Impacts latency of the call.", + "Health status for network endpoints will not be provided." + ], + "type": "string" + } + }, + "type": "object" + }, + "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter": { + "id": "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter", + "properties": { + "networkEndpoint": { + "$ref": "NetworkEndpoint" + } + }, + "type": "object" + }, + "NetworkEndpointGroupsListNetworkEndpoints": { + "id": "NetworkEndpointGroupsListNetworkEndpoints", + "properties": { + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of NetworkEndpointWithHealthStatus resources.", + "items": { + "$ref": "NetworkEndpointWithHealthStatus" + }, + "type": "array" + }, + "kind": { + "default": "compute#networkEndpointGroupsListNetworkEndpoints", + "description": "[Output Only] The resource type, which is always compute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint group.", + "type": "string" + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "QUOTA_INFO_UNAVAILABLE", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "Quota information is not available to client requests (e.g: regions.list).", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "items": { + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "NetworkEndpointGroupsScopedList": { + "id": "NetworkEndpointGroupsScopedList", + "properties": { + "networkEndpointGroups": { + "description": "[Output Only] The list of network endpoint groups that are contained in this scope.", + "items": { + "$ref": "NetworkEndpointGroup" + }, + "type": "array" + }, + "warning": { + "description": "[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "QUOTA_INFO_UNAVAILABLE", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "Quota information is not available to client requests (e.g: regions.list).", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "items": { + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "NetworkEndpointWithHealthStatus": { + "id": "NetworkEndpointWithHealthStatus", "properties": { - "endpointFilters": { - "description": "Optional list of endpoints to query. This is a more efficient but also limited version of filter parameter. Endpoints in the filter must have ip_address and port fields populated, other fields are not supported.", + "healths": { + "description": "[Output only] The health status of network endpoint;", "items": { - "$ref": "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter" + "$ref": "HealthStatusForNetworkEndpoint" }, "type": "array" }, - "healthStatus": { - "description": "Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.", - "enum": [ - "SHOW", - "SKIP" - ], - "enumDescriptions": [ - "Show the health status for each network endpoint. Impacts latency of the call.", - "Health status for network endpoints will not be provided." - ], - "type": "string" - } - }, - "type": "object" - }, - "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter": { - "id": "NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter", - "properties": { "networkEndpoint": { - "$ref": "NetworkEndpoint" + "$ref": "NetworkEndpoint", + "description": "[Output only] The network endpoint;" } }, "type": "object" }, - "NetworkEndpointGroupsListNetworkEndpoints": { - "id": "NetworkEndpointGroupsListNetworkEndpoints", + "NetworkFirewallPolicyAggregatedList": { + "id": "NetworkFirewallPolicyAggregatedList", "properties": { "id": { "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { - "description": "A list of NetworkEndpointWithHealthStatus resources.", - "items": { - "$ref": "NetworkEndpointWithHealthStatus" + "additionalProperties": { + "$ref": "FirewallPoliciesScopedList", + "description": "Name of the scope containing this set of addresses." }, - "type": "array" + "description": "A list of FirewallPoliciesScopedList resources.", + "type": "object" }, "kind": { - "default": "compute#networkEndpointGroupsListNetworkEndpoints", - "description": "[Output Only] The resource type, which is always compute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint group.", + "default": "compute#networkFirewallPolicyAggregatedList", + "description": "[Output Only] Type of resource. Always compute#networkFirewallPoliciesAggregatedList for lists of network firewall policies.", "type": "string" }, "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "LIST_OVERHEAD_QUOTA_EXCEED", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "QUOTA_INFO_UNAVAILABLE", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDeprecated": [ - false, - false, - false, - false, - false, - false, - true, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false, - false - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "Quota information is not available to client requests (e.g: regions.list).", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string" - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "NetworkEndpointGroupsScopedList": { - "id": "NetworkEndpointGroupsScopedList", - "properties": { - "networkEndpointGroups": { - "description": "[Output Only] The list of network endpoint groups that are contained in this scope.", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", "items": { - "$ref": "NetworkEndpointGroup" + "type": "string" }, "type": "array" }, "warning": { - "description": "[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.", + "description": "[Output Only] Informational warning message.", "properties": { "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", @@ -76007,23 +76960,6 @@ }, "type": "object" }, - "NetworkEndpointWithHealthStatus": { - "id": "NetworkEndpointWithHealthStatus", - "properties": { - "healths": { - "description": "[Output only] The health status of network endpoint;", - "items": { - "$ref": "HealthStatusForNetworkEndpoint" - }, - "type": "array" - }, - "networkEndpoint": { - "$ref": "NetworkEndpoint", - "description": "[Output only] The network endpoint;" - } - }, - "type": "object" - }, "NetworkInterface": { "description": "A network interface resource attached to an instance.", "id": "NetworkInterface", @@ -87565,6 +88501,10 @@ ], "type": "string" }, + "gpuTopology": { + "description": "Specifies the shape of the GPU slice, in slice based GPU families eg. A4X.", + "type": "string" + }, "maxDistance": { "description": "Specifies the number of max logical switches.", "format": "int32", @@ -100011,7 +100951,7 @@ "type": "string" }, "sslCertificates": { - "description": "URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API. Certificate Manager Certificates are not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/{project}/locations/{ location}/certificates/{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/{project }/locations/{location}/certificates/{resourceName}. ", + "description": "URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API namespace. Using Certificate Manager Certificates in this field is not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates or up to 100 Certificate Manager Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/{project}/locations/{ location}/certificates/{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/{project }/locations/{location}/certificates/{resourceName}. ", "items": { "type": "string" }, @@ -103970,7 +104910,7 @@ "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. In special cases listUsable may return 0 subnetworks and nextPageToken which still should be used to get the next page of results.", "type": "string" }, - "scoped_warnings": { + "scopedWarnings": { "description": "[Output Only] Informational warning messages for failures encountered from scopes.", "items": { "$ref": "SubnetworksScopedWarning" diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index abbc8220544..e662cb0a36e 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -148,6 +148,7 @@ func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, err s := &Service{client: client, BasePath: basePath, logger: internaloption.GetLogger(opts)} s.AcceleratorTypes = NewAcceleratorTypesService(s) s.Addresses = NewAddressesService(s) + s.Advice = NewAdviceService(s) s.Autoscalers = NewAutoscalersService(s) s.BackendBuckets = NewBackendBucketsService(s) s.BackendServices = NewBackendServicesService(s) @@ -294,6 +295,8 @@ type Service struct { Addresses *AddressesService + Advice *AdviceService + Autoscalers *AutoscalersService BackendBuckets *BackendBucketsService @@ -550,6 +553,15 @@ type AddressesService struct { s *Service } +func NewAdviceService(s *Service) *AdviceService { + rs := &AdviceService{s: s} + return rs +} + +type AdviceService struct { + s *Service +} + func NewAutoscalersService(s *Service) *AutoscalersService { rs := &AutoscalersService{s: s} return rs @@ -2216,8 +2228,8 @@ type AccessConfig struct { // If this field is unspecified in ipv6AccessConfig, a default PTR record will // be created for first IP in associated external IPv6 range. PublicPtrDomainName string `json:"publicPtrDomainName,omitempty"` - // SecurityPolicy: [Output Only] The resource URL for the security policy - // associated with this access config. + // SecurityPolicy: The resource URL for the security policy associated with + // this access config. SecurityPolicy string `json:"securityPolicy,omitempty"` // SetPublicDns: Specifies whether a public DNS 'A' record should be created // for the external IP address of this access configuration. @@ -3573,7 +3585,9 @@ type AttachedDiskInitializeParams struct { // initializeParams.sourceImage or disks.source is required. To create a disk // with a snapshot that you created, specify the snapshot name in the following // format: global/snapshots/my-backup If the source snapshot is deleted later, - // this field will not be set. + // this field will not be set. Note: You cannot create VMs in bulk using a + // snapshot as the source. Use an image instead when you create VMs using the + // bulk insert method. SourceSnapshot string `json:"sourceSnapshot,omitempty"` // SourceSnapshotEncryptionKey: The customer-supplied encryption key of the // source snapshot. @@ -8301,6 +8315,87 @@ func (s CacheKeyPolicy) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// CalendarModeAdviceRequest: A request to recommend the best way to consume +// the specified resources in the future. +type CalendarModeAdviceRequest struct { + // FutureResourcesSpecs: Specification of resources to create in the future. + // The key of the map is an arbitrary string specified by the caller. Value of + // the map is a specification of required resources and their constraints. + // Currently only one value is allowed in this map. + FutureResourcesSpecs map[string]FutureResourcesSpec `json:"futureResourcesSpecs,omitempty"` + // ForceSendFields is a list of field names (e.g. "FutureResourcesSpecs") 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. "FutureResourcesSpecs") 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 CalendarModeAdviceRequest) MarshalJSON() ([]byte, error) { + type NoMethod CalendarModeAdviceRequest + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// CalendarModeAdviceResponse: A response containing the recommended way of +// creating the specified resources in the future. It contains (will contain) +// multiple recommendations that can be analyzed by the customer and the best +// one can be picked. +type CalendarModeAdviceResponse struct { + // Recommendations: Recommendations where, how and when to create the requested + // resources in order to maximize their obtainability and minimize cost. + Recommendations []*CalendarModeRecommendation `json:"recommendations,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` + // ForceSendFields is a list of field names (e.g. "Recommendations") 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. "Recommendations") 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 CalendarModeAdviceResponse) MarshalJSON() ([]byte, error) { + type NoMethod CalendarModeAdviceResponse + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// CalendarModeRecommendation: A single recommendation to create requested +// resources. Contains detailed recommendations for every future resources +// specification specified in CalendarModeAdviceRequest. +type CalendarModeRecommendation struct { + // RecommendationsPerSpec: Recommendations for every future resource + // specification passed in CalendarModeAdviceRequest. Keys of the map + // correspond to keys specified in the request. + RecommendationsPerSpec map[string]FutureResourcesRecommendation `json:"recommendationsPerSpec,omitempty"` + // ForceSendFields is a list of field names (e.g. "RecommendationsPerSpec") 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. "RecommendationsPerSpec") 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 CalendarModeRecommendation) MarshalJSON() ([]byte, error) { + type NoMethod CalendarModeRecommendation + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // CallCredentials: [Deprecated] gRPC call credentials to access the SDS // server. gRPC call credentials to access the SDS server. type CallCredentials struct { @@ -11716,13 +11811,14 @@ type ErrorInfo struct { // unique value that identifies the infrastructure. For Google API // infrastructure, the error domain is "googleapis.com". Domain string `json:"domain,omitempty"` - // Metadatas: Additional structured details about this error. Keys must match - // /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 - // characters in length. When identifying the current value of an exceeded - // limit, the units should be contained in the key, not the value. For example, - // rather than {"instanceLimit": "100/request"}, should be returned as, - // {"instanceLimitPerRequest": "100"}, if the client exceeds the number of - // instances that can be created in a single (batch) request. + // Metadatas: Additional structured details about this error. Keys must match a + // regular expression of `a-z+` but should ideally be lowerCamelCase. Also, + // they must be limited to 64 characters in length. When identifying the + // current value of an exceeded limit, the units should be contained in the + // key, not the value. For example, rather than `{"instanceLimit": + // "100/request"}`, should be returned as, `{"instanceLimitPerRequest": + // "100"}`, if the client exceeds the number of instances that can be created + // in a single (batch) request. Metadatas map[string]string `json:"metadatas,omitempty"` // Reason: The reason of the error. This is a constant value that identifies // the proximate cause of the error. Error reasons are unique within a @@ -12726,6 +12822,147 @@ func (s FirewallPoliciesListAssociationsResponse) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +type FirewallPoliciesScopedList struct { + // FirewallPolicies: A list of firewall policies contained in this scope. + FirewallPolicies []*FirewallPolicy `json:"firewallPolicies,omitempty"` + // Warning: Informational warning which replaces the list of firewall policies + // when the list is empty. + Warning *FirewallPoliciesScopedListWarning `json:"warning,omitempty"` + // ForceSendFields is a list of field names (e.g. "FirewallPolicies") 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. "FirewallPolicies") 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 FirewallPoliciesScopedList) MarshalJSON() ([]byte, error) { + type NoMethod FirewallPoliciesScopedList + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// FirewallPoliciesScopedListWarning: Informational warning which replaces the +// list of firewall policies when the list is empty. +type FirewallPoliciesScopedListWarning struct { + // Code: [Output Only] A warning code, if applicable. For example, Compute + // Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + // + // Possible values: + // "CLEANUP_FAILED" - Warning about failed cleanup of transient changes made + // by a failed operation. + // "DEPRECATED_RESOURCE_USED" - A link to a deprecated resource was created. + // "DEPRECATED_TYPE_USED" - When deploying and at least one of the resources + // has a type marked as deprecated + // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" - The user created a boot disk that is + // larger than image size. + // "EXPERIMENTAL_TYPE_USED" - When deploying and at least one of the + // resources has a type marked as experimental + // "EXTERNAL_API_WARNING" - Warning that is present in an external api call + // "FIELD_VALUE_OVERRIDEN" - Warning that value of a field has been + // overridden. Deprecated unused field. + // "INJECTED_KERNELS_DEPRECATED" - The operation involved use of an injected + // kernel, which is deprecated. + // "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB" - A WEIGHTED_MAGLEV backend + // service is associated with a health check that is not of type + // HTTP/HTTPS/HTTP2. + // "LARGE_DEPLOYMENT_WARNING" - When deploying a deployment with a + // exceedingly large number of resources + // "LIST_OVERHEAD_QUOTA_EXCEED" - Resource can't be retrieved due to list + // overhead quota exceed which captures the amount of resources filtered out by + // user-defined list filter. + // "MISSING_TYPE_DEPENDENCY" - A resource depends on a missing type + // "NEXT_HOP_ADDRESS_NOT_ASSIGNED" - The route's nextHopIp address is not + // assigned to an instance on the network. + // "NEXT_HOP_CANNOT_IP_FORWARD" - The route's next hop instance cannot ip + // forward. + // "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE" - The route's nextHopInstance + // URL refers to an instance that does not have an ipv6 interface on the same + // network as the route. + // "NEXT_HOP_INSTANCE_NOT_FOUND" - The route's nextHopInstance URL refers to + // an instance that does not exist. + // "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" - The route's nextHopInstance URL + // refers to an instance that is not on the same network as the route. + // "NEXT_HOP_NOT_RUNNING" - The route's next hop instance does not have a + // status of RUNNING. + // "NOT_CRITICAL_ERROR" - Error which is not critical. We decided to continue + // the process despite the mentioned error. + // "NO_RESULTS_ON_PAGE" - No results are present on a particular list page. + // "PARTIAL_SUCCESS" - Success is reported, but some results may be missing + // due to errors + // "QUOTA_INFO_UNAVAILABLE" - Quota information is not available to client + // requests (e.g: regions.list). + // "REQUIRED_TOS_AGREEMENT" - The user attempted to use a resource that + // requires a TOS they have not accepted. + // "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING" - Warning that a resource is + // in use. + // "RESOURCE_NOT_DELETED" - One or more of the resources set to auto-delete + // could not be deleted because they were in use. + // "SCHEMA_VALIDATION_IGNORED" - When a resource schema validation is + // ignored. + // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" - Instance template used in instance + // group manager is valid as such, but its application does not make a lot of + // sense, because it allows only single instance in instance group. + // "UNDECLARED_PROPERTIES" - When undeclared properties in the schema are + // present + // "UNREACHABLE" - A given scope cannot be reached. + Code string `json:"code,omitempty"` + // Data: [Output Only] Metadata about this warning in key: value format. For + // example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } + Data []*FirewallPoliciesScopedListWarningData `json:"data,omitempty"` + // Message: [Output Only] A human-readable description of the warning code. + Message string `json:"message,omitempty"` + // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") 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 FirewallPoliciesScopedListWarning) MarshalJSON() ([]byte, error) { + type NoMethod FirewallPoliciesScopedListWarning + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +type FirewallPoliciesScopedListWarningData struct { + // Key: [Output Only] A key that provides more detail on the warning being + // returned. For example, for warnings where there are no results in a list + // request for a particular zone, this key might be scope and the key value + // might be the zone name. Other examples might be a key indicating a + // deprecated resource and a suggested replacement, or a warning about invalid + // network settings (for example, if an instance attempts to perform IP + // forwarding but is not enabled for IP forwarding). + Key string `json:"key,omitempty"` + // Value: [Output Only] A warning data value corresponding to the key. + Value string `json:"value,omitempty"` + // ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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 FirewallPoliciesScopedListWarningData) MarshalJSON() ([]byte, error) { + type NoMethod FirewallPoliciesScopedListWarningData + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // FirewallPolicy: Represents a Firewall Policy resource. type FirewallPolicy struct { // Associations: A list of associations that belong to this firewall policy. @@ -13297,6 +13534,36 @@ func (s FixedOrPercent) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// FlexibleTimeRange: A flexible specification of a time range that has 3 +// points of flexibility: (1) a flexible start time, (2) a flexible end time, +// (3) a flexible duration. It is possible to specify a contradictory time +// range that cannot be matched by any Interval. This causes a validation +// error. +type FlexibleTimeRange struct { + EndTimeNotEarlierThan string `json:"endTimeNotEarlierThan,omitempty"` + EndTimeNotLaterThan string `json:"endTimeNotLaterThan,omitempty"` + MaxDuration string `json:"maxDuration,omitempty"` + MinDuration string `json:"minDuration,omitempty"` + StartTimeNotEarlierThan string `json:"startTimeNotEarlierThan,omitempty"` + StartTimeNotLaterThan string `json:"startTimeNotLaterThan,omitempty"` + // ForceSendFields is a list of field names (e.g. "EndTimeNotEarlierThan") 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. "EndTimeNotEarlierThan") 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 FlexibleTimeRange) MarshalJSON() ([]byte, error) { + type NoMethod FlexibleTimeRange + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // ForwardingRule: Represents a Forwarding Rule resource. Forwarding rule // resources in Google Cloud can be either regional or global in scope: * // Global @@ -14312,8 +14579,6 @@ func (s FutureReservation) MarshalJSON() ([]byte, error) { type FutureReservationCommitmentInfo struct { // CommitmentName: name of the commitment where capacity is being delivered to. - // In the form of - // "projects/{project-id}/locations/{region-name}/commitment/{name}" CommitmentName string `json:"commitmentName,omitempty"` // CommitmentPlan: Indicates if a Commitment needs to be created as part of FR // delivery. If this field is not present, then no commitment needs to be @@ -15094,6 +15359,302 @@ func (s FutureReservationsScopedListWarningData) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// FutureResourcesRecommendation: Recommendation for single resources +// specification, to be created in the future. +type FutureResourcesRecommendation struct { + EndTime string `json:"endTime,omitempty"` + // Location: The advised location for resource usage. When a zone, in format + // 'zones/'. If not set, it means that no location is recommended - see + // other_locations for details. + Location string `json:"location,omitempty"` + // OtherLocations: List of locations in the request scope that were not + // recommended. Keys of the map are zones, in format 'zones/'. The values are + // status information indicating the recommendation status. + OtherLocations map[string]FutureResourcesRecommendationOtherLocation `json:"otherLocations,omitempty"` + // RecommendationId: Unique id of the recommendation, a UUID string generated + // by the API. + RecommendationId string `json:"recommendationId,omitempty"` + // RecommendationType: Type of recommendation. Currently only + // FUTURE_RESERVATION is supported. + // + // Possible values: + // "FUTURE_RESERVATION" - A Future Reservation is recommended. + // "RECOMMENDATION_TYPE_UNSPECIFIED" - Default value, unused. + RecommendationType string `json:"recommendationType,omitempty"` + StartTime string `json:"startTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "EndTime") 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. "EndTime") 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 FutureResourcesRecommendation) MarshalJSON() ([]byte, error) { + type NoMethod FutureResourcesRecommendation + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// FutureResourcesRecommendationOtherLocation: Information about recommendation +// status for locations that were allowed but not used by the response. +type FutureResourcesRecommendationOtherLocation struct { + // Details: Details (human readable) describing the situation. For example, if + // status is CONDITION_NOT_MET, then details contain information about the + // parameters of the time window that did not meet the required conditions. + Details string `json:"details,omitempty"` + // Status: Status of recommendation in this location. + // + // Possible values: + // "CONDITIONS_NOT_MET" - The requested resources are offered in this + // location but the requested time window is does not meet the required + // conditions. + // "NOT_SUPPORTED" - The requested resources are not offered in this + // location. Retrying the request will not change this status. + // "NO_CAPACITY" - The requested resources are offered in this location and + // the requested time window is accepted but there is no capacity within the + // requested time window. + // "OTHER_LOCATION_STATUS_UNDEFINED" - Default value, unused. + // "RECOMMENDED" - The requested resources are offered in this location and + // it is possible to request them. However, another location was better and was + // recommended. + Status string `json:"status,omitempty"` + // ForceSendFields is a list of field names (e.g. "Details") 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. "Details") 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 FutureResourcesRecommendationOtherLocation) MarshalJSON() ([]byte, error) { + type NoMethod FutureResourcesRecommendationOtherLocation + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// FutureResourcesSpec: Specification of resources to be created at some time +// in the future within an optionally specified set of locations, and within +// the specified time range. +type FutureResourcesSpec struct { + // DeploymentType: Indicates if the reservation allocation strategy is static + // (DENSE) or dynamic (STANDARD). Defaults to DENSE. + // + // Possible values: + // "DENSE" - The reserved capacity is made up of densely deployed reservation + // blocks. + // "DEPLOYMENT_TYPE_UNSPECIFIED" + // "FLEXIBLE" - The reserved capacity is made up of highly flexible, logical + // reservation blocks. + DeploymentType string `json:"deploymentType,omitempty"` + // LocationPolicy: Optional location policy allowing to exclude some zone(s) in + // which the resources must not be created. + LocationPolicy *FutureResourcesSpecLocationPolicy `json:"locationPolicy,omitempty"` + // TargetResources: Specification of the reserved resources. + TargetResources *FutureResourcesSpecTargetResources `json:"targetResources,omitempty"` + // TimeRangeSpec: Specification of a time range in which the resources may be + // created. The time range specifies start of resource use and planned end of + // resource use. + TimeRangeSpec *FlexibleTimeRange `json:"timeRangeSpec,omitempty"` + // ForceSendFields is a list of field names (e.g. "DeploymentType") 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. "DeploymentType") 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 FutureResourcesSpec) MarshalJSON() ([]byte, error) { + type NoMethod FutureResourcesSpec + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +type FutureResourcesSpecAggregateResources struct { + // AcceleratorCount: Size of the request, in accelerator (chip) count. + AcceleratorCount int64 `json:"acceleratorCount,omitempty,string"` + // VmFamily: The VM family that all instances scheduled against this + // reservation must belong to. Use for TPU reservations. + // + // Possible values: + // "VM_FAMILY_CLOUD_TPU_DEVICE_CT3" + // "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L" + // "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP" + // "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P" + // "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P" + VmFamily string `json:"vmFamily,omitempty"` + // WorkloadType: Workload type. Use for TPU reservations. + // + // Possible values: + // "BATCH" - Reserved resources will be optimized for BATCH workloads, such + // as ML training. + // "SERVING" - Reserved resources will be optimized for SERVING workloads, + // such as ML inference. + // "UNSPECIFIED" + WorkloadType string `json:"workloadType,omitempty"` + // ForceSendFields is a list of field names (e.g. "AcceleratorCount") 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. "AcceleratorCount") 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 FutureResourcesSpecAggregateResources) MarshalJSON() ([]byte, error) { + type NoMethod FutureResourcesSpecAggregateResources + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +type FutureResourcesSpecLocalSsdPartition struct { + // DiskInterface: Disk interface. Defaults to SCSI. + // + // Possible values: + // "NVDIMM" + // "NVME" + // "SCSI" + DiskInterface string `json:"diskInterface,omitempty"` + // DiskSizeGb: The size of the disk in GB. + DiskSizeGb int64 `json:"diskSizeGb,omitempty,string"` + // ForceSendFields is a list of field names (e.g. "DiskInterface") 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. "DiskInterface") 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 FutureResourcesSpecLocalSsdPartition) MarshalJSON() ([]byte, error) { + type NoMethod FutureResourcesSpecLocalSsdPartition + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// FutureResourcesSpecLocationPolicy: Specification of locations to create +// resources in. +type FutureResourcesSpecLocationPolicy struct { + // Locations: Preferences for specified locations. Keys of the map are + // locations - zones, in format of 'zones/'. Values are preferences for the + // zones. If a zone is not specified in this map, it is ALLOWed. + Locations map[string]FutureResourcesSpecLocationPolicyLocation `json:"locations,omitempty"` + // ForceSendFields is a list of field names (e.g. "Locations") 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. "Locations") 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 FutureResourcesSpecLocationPolicy) MarshalJSON() ([]byte, error) { + type NoMethod FutureResourcesSpecLocationPolicy + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// FutureResourcesSpecLocationPolicyLocation: Preference for a single specified +// location. +type FutureResourcesSpecLocationPolicyLocation struct { + // Preference: Preference for this location. + // + // Possible values: + // "ALLOW" - Location is allowed for use. + // "DENY" - Location is prohibited. + // "PREFERENCE_UNSPECIFIED" - Default value, unused. + Preference string `json:"preference,omitempty"` + // ForceSendFields is a list of field names (e.g. "Preference") 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. "Preference") 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 FutureResourcesSpecLocationPolicyLocation) MarshalJSON() ([]byte, error) { + type NoMethod FutureResourcesSpecLocationPolicyLocation + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +type FutureResourcesSpecSpecificSKUResources struct { + // InstanceCount: Size of the request, in instance count. + InstanceCount int64 `json:"instanceCount,omitempty,string"` + // LocalSsdPartitions: Local SSD partitions. You do not have to include SSD + // partitions that are built in the machine type. + LocalSsdPartitions []*FutureResourcesSpecLocalSsdPartition `json:"localSsdPartitions,omitempty"` + // MachineType: The machine type to use for instances that will use the + // reservation. This field only accepts machine type names. e.g. n2-standard-4 + // and does not accept machine type full or partial url. e.g. + // projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. + // Use for GPU reservations. + MachineType string `json:"machineType,omitempty"` + // ForceSendFields is a list of field names (e.g. "InstanceCount") 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. "InstanceCount") 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 FutureResourcesSpecSpecificSKUResources) MarshalJSON() ([]byte, error) { + type NoMethod FutureResourcesSpecSpecificSKUResources + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// FutureResourcesSpecTargetResources: Specification of reserved resources. +type FutureResourcesSpecTargetResources struct { + AggregateResources *FutureResourcesSpecAggregateResources `json:"aggregateResources,omitempty"` + SpecificSkuResources *FutureResourcesSpecSpecificSKUResources `json:"specificSkuResources,omitempty"` + // ForceSendFields is a list of field names (e.g. "AggregateResources") 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. "AggregateResources") 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 FutureResourcesSpecTargetResources) MarshalJSON() ([]byte, error) { + type NoMethod FutureResourcesSpecTargetResources + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + type GRPCHealthCheck struct { // GrpcServiceName: The gRPC service name for the health check. This field is // optional. The value of grpc_service_name has the following meanings by @@ -25835,7 +26396,7 @@ type InterconnectAttachment struct { // values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - // BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: // 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - - // BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s + // BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - BPS_100G: 100 Gbit/s // // Possible values: // "BPS_100G" - 100 Gbit/s @@ -25852,16 +26413,40 @@ type InterconnectAttachment struct { // "BPS_50M" - 50 Mbit/s // "BPS_5G" - 5 Gbit/s Bandwidth string `json:"bandwidth,omitempty"` + // CandidateCloudRouterIpAddress: Single IPv4 address + prefix length to be + // configured on the cloud router interface for this interconnect attachment. - + // Both candidate_cloud_router_ip_address and + // candidate_customer_router_ip_address fields must be set or both must be + // unset. - Prefix length of both candidate_cloud_router_ip_address and + // candidate_customer_router_ip_address must be the same. - Max prefix length + // is 31. + CandidateCloudRouterIpAddress string `json:"candidateCloudRouterIpAddress,omitempty"` + // CandidateCloudRouterIpv6Address: Single IPv6 address + prefix length to be + // configured on the cloud router interface for this interconnect attachment. - + // Both candidate_cloud_router_ipv6_address and + // candidate_customer_router_ipv6_address fields must be set or both must be + // unset. - Prefix length of both candidate_cloud_router_ipv6_address and + // candidate_customer_router_ipv6_address must be the same. - Max prefix length + // is 126. + CandidateCloudRouterIpv6Address string `json:"candidateCloudRouterIpv6Address,omitempty"` + // CandidateCustomerRouterIpAddress: Single IPv4 address + prefix length to be + // configured on the customer router interface for this interconnect + // attachment. + CandidateCustomerRouterIpAddress string `json:"candidateCustomerRouterIpAddress,omitempty"` + // CandidateCustomerRouterIpv6Address: Single IPv6 address + prefix length to + // be configured on the customer router interface for this interconnect + // attachment. + CandidateCustomerRouterIpv6Address string `json:"candidateCustomerRouterIpv6Address,omitempty"` // CandidateIpv6Subnets: This field is not available. CandidateIpv6Subnets []string `json:"candidateIpv6Subnets,omitempty"` - // CandidateSubnets: Up to 16 candidate prefixes that can be used to restrict - // the allocation of cloudRouterIpAddress and customerRouterIpAddress for this - // attachment. All prefixes must be within link-local address space - // (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will - // attempt to select an unused /29 from the supplied candidate prefix(es). The - // request will fail if all possible /29s are in use on Google's edge. If not - // supplied, Google will randomly select an unused /29 from all of link-local - // space. + // CandidateSubnets: Input only. Up to 16 candidate prefixes that can be used + // to restrict the allocation of cloudRouterIpAddress and + // customerRouterIpAddress for this attachment. All prefixes must be within + // link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, + // /27, etc). Google will attempt to select an unused /29 from the supplied + // candidate prefix(es). The request will fail if all possible /29s are in use + // on Google's edge. If not supplied, Google will randomly select an unused /29 + // from all of link-local space. CandidateSubnets []string `json:"candidateSubnets,omitempty"` // CloudRouterIpAddress: [Output Only] IPv4 address + prefix length to be // configured on Cloud Router Interface for this interconnect attachment. @@ -25893,14 +26478,14 @@ type InterconnectAttachment struct { DataplaneVersion int64 `json:"dataplaneVersion,omitempty"` // Description: An optional description of this resource. Description string `json:"description,omitempty"` - // EdgeAvailabilityDomain: Desired availability domain for the attachment. Only - // available for type PARTNER, at creation time, and can take one of the - // following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - - // AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a - // pair of attachments, one per availability domain. The selected availability - // domain will be provided to the Partner via the pairing key, so that the - // provisioned circuit will lie in the specified domain. If not specified, the - // value will default to AVAILABILITY_DOMAIN_ANY. + // EdgeAvailabilityDomain: Input only. Desired availability domain for the + // attachment. Only available for type PARTNER, at creation time, and can take + // one of the following values: - AVAILABILITY_DOMAIN_ANY - + // AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, + // customers should configure a pair of attachments, one per availability + // domain. The selected availability domain will be provided to the Partner via + // the pairing key, so that the provisioned circuit will lie in the specified + // domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. // // Possible values: // "AVAILABILITY_DOMAIN_1" @@ -26080,9 +26665,9 @@ type InterconnectAttachment struct { // "UNPROVISIONED" - Indicates that attachment is not ready to use yet, // because turnup is not complete. State string `json:"state,omitempty"` - // SubnetLength: Length of the IPv4 subnet mask. Allowed values: - 29 (default) - // - 30 The default value is 29, except for Cross-Cloud Interconnect - // connections that use an InterconnectRemoteLocation with a + // SubnetLength: Input only. Length of the IPv4 subnet mask. Allowed values: - + // 29 (default) - 30 The default value is 29, except for Cross-Cloud + // Interconnect connections that use an InterconnectRemoteLocation with a // constraints.subnetLengthRange.min equal to 30. For example, connections that // use an Azure remote location fall into this category. In these cases, the // default value is 30, and requesting 29 returns an error. Where both 29 and @@ -26516,6 +27101,10 @@ type InterconnectAttachmentGroupConfiguredAvailabilitySLAIntendedSlaBlockers str // some blockers (like NO_ATTACHMENTS_IN_METRO_AND_ZONE) but does not apply to // others. Metros []string `json:"metros,omitempty"` + // Regions: [Output Only] Regions used to explain this blocker in more detail. + // These are region names formatted like "us-central1". This will be set for + // some blockers (like INCOMPATIBLE_REGIONS) but does not apply to others. + Regions []string `json:"regions,omitempty"` // Zones: [Output Only] Zones used to explain this blocker in more detail. // Format is "zone1" and/or "zone2". This will be set for some blockers (like // MISSING_ZONE) but does not apply to others. @@ -26691,6 +27280,32 @@ func (s InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone) Mars return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// InterconnectAttachmentGroupsGetOperationalStatusResponse: Response for the +// InterconnectAttachmentGroupsGetOperationalStatusResponse. +type InterconnectAttachmentGroupsGetOperationalStatusResponse struct { + Etag string `json:"etag,omitempty"` + Result *InterconnectAttachmentGroupsOperationalStatus `json:"result,omitempty"` + + // 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 + // 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 + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s InterconnectAttachmentGroupsGetOperationalStatusResponse) MarshalJSON() ([]byte, error) { + type NoMethod InterconnectAttachmentGroupsGetOperationalStatusResponse + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + type InterconnectAttachmentGroupsListResponse struct { Etag string `json:"etag,omitempty"` // Id: [Output Only] Unique identifier for the resource; defined by the server. @@ -26849,6 +27464,33 @@ func (s InterconnectAttachmentGroupsListResponseWarningData) MarshalJSON() ([]by return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +type InterconnectAttachmentGroupsOperationalStatus struct { + // GroupStatus: Summarizes the status of the group. + // + // Possible values: + // "DEGRADED" + // "FULLY_DOWN" + // "FULLY_UP" + // "UNSPECIFIED" + GroupStatus string `json:"groupStatus,omitempty"` + // ForceSendFields is a list of field names (e.g. "GroupStatus") 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. "GroupStatus") 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 InterconnectAttachmentGroupsOperationalStatus) MarshalJSON() ([]byte, error) { + type NoMethod InterconnectAttachmentGroupsOperationalStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // InterconnectAttachmentList: Response to the list request, and contains a // list of interconnect attachments. type InterconnectAttachmentList struct { @@ -27790,6 +28432,32 @@ func (s InterconnectGroupPhysicalStructureMetrosFacilitiesZones) MarshalJSON() ( return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// InterconnectGroupsGetOperationalStatusResponse: Response for the +// InterconnectGroupsGetOperationalStatusResponse. +type InterconnectGroupsGetOperationalStatusResponse struct { + Etag string `json:"etag,omitempty"` + Result *InterconnectGroupsOperationalStatus `json:"result,omitempty"` + + // 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 + // 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 + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s InterconnectGroupsGetOperationalStatusResponse) MarshalJSON() ([]byte, error) { + type NoMethod InterconnectGroupsGetOperationalStatusResponse + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + type InterconnectGroupsListResponse struct { Etag string `json:"etag,omitempty"` // Id: [Output Only] Unique identifier for the resource; defined by the server. @@ -27948,6 +28616,79 @@ func (s InterconnectGroupsListResponseWarningData) MarshalJSON() ([]byte, error) return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// InterconnectGroupsOperationalStatus: Request to get the status of the +// interconnect group with extra detail. +type InterconnectGroupsOperationalStatus struct { + // Configured: The configuration analysis, as returned by Get. + Configured *InterconnectGroupConfigured `json:"configured,omitempty"` + // GroupStatus: Summarizes the status of the group. + // + // Possible values: + // "DEGRADED" + // "FULLY_DOWN" + // "FULLY_UP" + // "GROUPS_STATUS_UNSPECIFIED" + GroupStatus string `json:"groupStatus,omitempty"` + // Intent: The intent of the resource, as returned by Get. + Intent *InterconnectGroupIntent `json:"intent,omitempty"` + InterconnectStatuses []*InterconnectGroupsOperationalStatusInterconnectStatus `json:"interconnectStatuses,omitempty"` + // Operational: The operational state of the group, including only active + // Interconnects. + Operational *InterconnectGroupConfigured `json:"operational,omitempty"` + // ForceSendFields is a list of field names (e.g. "Configured") 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. "Configured") 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 InterconnectGroupsOperationalStatus) MarshalJSON() ([]byte, error) { + type NoMethod InterconnectGroupsOperationalStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// InterconnectGroupsOperationalStatusInterconnectStatus: The status of one +// Interconnect in the group. The order is arbitrary. +type InterconnectGroupsOperationalStatusInterconnectStatus struct { + // AdminEnabled: Whether the Interconnect is enabled. + AdminEnabled bool `json:"adminEnabled,omitempty"` + // Diagnostics: The diagnostics of the Interconnect, as returned by the + // existing get-diagnostics method. + Diagnostics *InterconnectDiagnostics `json:"diagnostics,omitempty"` + // Interconnect: The URL of the Interconnect being described. + Interconnect string `json:"interconnect,omitempty"` + // IsActive: Whether this interconnect is participating in the redundant + // configuration. + // + // Possible values: + // "ACTIVE" + // "INACTIVE" + // "IS_ACTIVE_UNSPECIFIED" + IsActive string `json:"isActive,omitempty"` + // ForceSendFields is a list of field names (e.g. "AdminEnabled") 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. "AdminEnabled") 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 InterconnectGroupsOperationalStatusInterconnectStatus) MarshalJSON() ([]byte, error) { + type NoMethod InterconnectGroupsOperationalStatusInterconnectStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // InterconnectList: Response to the list request, and contains a list of // interconnects. type InterconnectList struct { @@ -34399,6 +35140,165 @@ func (s NetworkEndpointWithHealthStatus) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +type NetworkFirewallPolicyAggregatedList struct { + // Id: [Output Only] Unique identifier for the resource; defined by the server. + Id string `json:"id,omitempty"` + // Items: A list of FirewallPoliciesScopedList resources. + Items map[string]FirewallPoliciesScopedList `json:"items,omitempty"` + // Kind: [Output Only] Type of resource. Always + // compute#networkFirewallPoliciesAggregatedList for lists of network firewall + // policies. + Kind string `json:"kind,omitempty"` + // NextPageToken: [Output Only] This token allows you to get the next page of + // results for list requests. If the number of results is larger than + // maxResults, use the nextPageToken as a value for the query parameter + // pageToken in the next list request. Subsequent list requests will have their + // own nextPageToken to continue paging through the results. + NextPageToken string `json:"nextPageToken,omitempty"` + // SelfLink: [Output Only] Server-defined URL for this resource. + SelfLink string `json:"selfLink,omitempty"` + // Unreachables: [Output Only] Unreachable resources. + Unreachables []string `json:"unreachables,omitempty"` + // Warning: [Output Only] Informational warning message. + Warning *NetworkFirewallPolicyAggregatedListWarning `json:"warning,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` + // ForceSendFields is a list of field names (e.g. "Id") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. 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. "Id") 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 NetworkFirewallPolicyAggregatedList) MarshalJSON() ([]byte, error) { + type NoMethod NetworkFirewallPolicyAggregatedList + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// NetworkFirewallPolicyAggregatedListWarning: [Output Only] Informational +// warning message. +type NetworkFirewallPolicyAggregatedListWarning struct { + // Code: [Output Only] A warning code, if applicable. For example, Compute + // Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + // + // Possible values: + // "CLEANUP_FAILED" - Warning about failed cleanup of transient changes made + // by a failed operation. + // "DEPRECATED_RESOURCE_USED" - A link to a deprecated resource was created. + // "DEPRECATED_TYPE_USED" - When deploying and at least one of the resources + // has a type marked as deprecated + // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" - The user created a boot disk that is + // larger than image size. + // "EXPERIMENTAL_TYPE_USED" - When deploying and at least one of the + // resources has a type marked as experimental + // "EXTERNAL_API_WARNING" - Warning that is present in an external api call + // "FIELD_VALUE_OVERRIDEN" - Warning that value of a field has been + // overridden. Deprecated unused field. + // "INJECTED_KERNELS_DEPRECATED" - The operation involved use of an injected + // kernel, which is deprecated. + // "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB" - A WEIGHTED_MAGLEV backend + // service is associated with a health check that is not of type + // HTTP/HTTPS/HTTP2. + // "LARGE_DEPLOYMENT_WARNING" - When deploying a deployment with a + // exceedingly large number of resources + // "LIST_OVERHEAD_QUOTA_EXCEED" - Resource can't be retrieved due to list + // overhead quota exceed which captures the amount of resources filtered out by + // user-defined list filter. + // "MISSING_TYPE_DEPENDENCY" - A resource depends on a missing type + // "NEXT_HOP_ADDRESS_NOT_ASSIGNED" - The route's nextHopIp address is not + // assigned to an instance on the network. + // "NEXT_HOP_CANNOT_IP_FORWARD" - The route's next hop instance cannot ip + // forward. + // "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE" - The route's nextHopInstance + // URL refers to an instance that does not have an ipv6 interface on the same + // network as the route. + // "NEXT_HOP_INSTANCE_NOT_FOUND" - The route's nextHopInstance URL refers to + // an instance that does not exist. + // "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" - The route's nextHopInstance URL + // refers to an instance that is not on the same network as the route. + // "NEXT_HOP_NOT_RUNNING" - The route's next hop instance does not have a + // status of RUNNING. + // "NOT_CRITICAL_ERROR" - Error which is not critical. We decided to continue + // the process despite the mentioned error. + // "NO_RESULTS_ON_PAGE" - No results are present on a particular list page. + // "PARTIAL_SUCCESS" - Success is reported, but some results may be missing + // due to errors + // "QUOTA_INFO_UNAVAILABLE" - Quota information is not available to client + // requests (e.g: regions.list). + // "REQUIRED_TOS_AGREEMENT" - The user attempted to use a resource that + // requires a TOS they have not accepted. + // "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING" - Warning that a resource is + // in use. + // "RESOURCE_NOT_DELETED" - One or more of the resources set to auto-delete + // could not be deleted because they were in use. + // "SCHEMA_VALIDATION_IGNORED" - When a resource schema validation is + // ignored. + // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" - Instance template used in instance + // group manager is valid as such, but its application does not make a lot of + // sense, because it allows only single instance in instance group. + // "UNDECLARED_PROPERTIES" - When undeclared properties in the schema are + // present + // "UNREACHABLE" - A given scope cannot be reached. + Code string `json:"code,omitempty"` + // Data: [Output Only] Metadata about this warning in key: value format. For + // example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } + Data []*NetworkFirewallPolicyAggregatedListWarningData `json:"data,omitempty"` + // Message: [Output Only] A human-readable description of the warning code. + Message string `json:"message,omitempty"` + // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") 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 NetworkFirewallPolicyAggregatedListWarning) MarshalJSON() ([]byte, error) { + type NoMethod NetworkFirewallPolicyAggregatedListWarning + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +type NetworkFirewallPolicyAggregatedListWarningData struct { + // Key: [Output Only] A key that provides more detail on the warning being + // returned. For example, for warnings where there are no results in a list + // request for a particular zone, this key might be scope and the key value + // might be the zone name. Other examples might be a key indicating a + // deprecated resource and a suggested replacement, or a warning about invalid + // network settings (for example, if an instance attempts to perform IP + // forwarding but is not enabled for IP forwarding). + Key string `json:"key,omitempty"` + // Value: [Output Only] A warning data value corresponding to the key. + Value string `json:"value,omitempty"` + // ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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 NetworkFirewallPolicyAggregatedListWarningData) MarshalJSON() ([]byte, error) { + type NoMethod NetworkFirewallPolicyAggregatedListWarningData + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // NetworkInterface: A network interface resource attached to an instance. type NetworkInterface struct { // AccessConfigs: An array of configurations for this interface. Currently, @@ -46561,6 +47461,9 @@ type ResourcePolicyGroupPlacementPolicy struct { // clusters. // "UNSPECIFIED_COLLOCATION" Collocation string `json:"collocation,omitempty"` + // GpuTopology: Specifies the shape of the GPU slice, in slice based GPU + // families eg. A4X. + GpuTopology string `json:"gpuTopology,omitempty"` // MaxDistance: Specifies the number of max logical switches. MaxDistance int64 `json:"maxDistance,omitempty"` // Scope: Scope specifies the availability domain to which the VMs should be @@ -60033,11 +60936,12 @@ type TargetHttpsProxy struct { // to a SSL Certificate resource or Certificate Manager Certificate resource. // Mixing Classic Certificates and Certificate Manager Certificates is not // allowed. Certificate Manager Certificates must include the - // certificatemanager API. Certificate Manager Certificates are not supported - // by Global external Application Load Balancer or Classic Application Load - // Balancer, use certificate_map instead. Currently, you may specify up to 15 - // Classic SSL Certificates. Certificate Manager Certificates accepted formats - // are: - //certificatemanager.googleapis.com/projects/{project}/locations/{ + // certificatemanager API namespace. Using Certificate Manager Certificates in + // this field is not supported by Global external Application Load Balancer or + // Classic Application Load Balancer, use certificate_map instead. Currently, + // you may specify up to 15 Classic SSL Certificates or up to 100 Certificate + // Manager Certificates. Certificate Manager Certificates accepted formats are: + // - //certificatemanager.googleapis.com/projects/{project}/locations/{ // location}/certificates/{resourceName}. - // https://certificatemanager.googleapis.com/v1alpha1/projects/{project // }/locations/{location}/certificates/{resourceName}. @@ -64447,7 +65351,7 @@ type UsableSubnetworksAggregatedList struct { NextPageToken string `json:"nextPageToken,omitempty"` // ScopedWarnings: [Output Only] Informational warning messages for failures // encountered from scopes. - ScopedWarnings []*SubnetworksScopedWarning `json:"scoped_warnings,omitempty"` + ScopedWarnings []*SubnetworksScopedWarning `json:"scopedWarnings,omitempty"` // SelfLink: [Output Only] Server-defined URL for this resource. SelfLink string `json:"selfLink,omitempty"` // Unreachables: [Output Only] Unreachable resources. diff --git a/compute/v0.alpha/compute2-gen.go b/compute/v0.alpha/compute2-gen.go index 38377b3aa35..682a452a3b6 100644 --- a/compute/v0.alpha/compute2-gen.go +++ b/compute/v0.alpha/compute2-gen.go @@ -1750,6 +1750,117 @@ func (c *AddressesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*Tes return ret, nil } +type AdviceCalendarModeCall struct { + s *Service + project string + region string + calendarmodeadvicerequest *CalendarModeAdviceRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// CalendarMode: Advise how, where and when to create the requested amount of +// instances with specified accelerators, within the specified time and +// location limits. The method recommends creating future reservations for the +// requested resources. +// +// - project: Project ID for this request. +// - region: Name of the region for this request. +func (r *AdviceService) CalendarMode(project string, region string, calendarmodeadvicerequest *CalendarModeAdviceRequest) *AdviceCalendarModeCall { + c := &AdviceCalendarModeCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.calendarmodeadvicerequest = calendarmodeadvicerequest + 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 *AdviceCalendarModeCall) Fields(s ...googleapi.Field) *AdviceCalendarModeCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *AdviceCalendarModeCall) Context(ctx context.Context) *AdviceCalendarModeCall { + 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 *AdviceCalendarModeCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *AdviceCalendarModeCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.calendarmodeadvicerequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/regions/{region}/advice/calendarMode") + 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{ + "project": c.project, + "region": c.region, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "compute.advice.calendarMode", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.advice.calendarMode" call. +// Any non-2xx status code is an error. Response headers are in either +// *CalendarModeAdviceResponse.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 *AdviceCalendarModeCall) Do(opts ...googleapi.CallOption) (*CalendarModeAdviceResponse, 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 := &CalendarModeAdviceResponse{ + 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.advice.calendarMode", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type AutoscalersAggregatedListCall struct { s *Service project string @@ -45028,6 +45139,122 @@ func (c *InterconnectAttachmentGroupsGetIamPolicyCall) Do(opts ...googleapi.Call return ret, nil } +type InterconnectAttachmentGroupsGetOperationalStatusCall struct { + s *Service + project string + interconnectAttachmentGroup string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetOperationalStatus: Returns the InterconnectAttachmentStatuses for the +// specified InterconnectAttachmentGroup resource. +// +// - interconnectAttachmentGroup: Name of the interconnectAttachmentGroup +// resource to query. +// - project: Project ID for this request. +func (r *InterconnectAttachmentGroupsService) GetOperationalStatus(project string, interconnectAttachmentGroup string) *InterconnectAttachmentGroupsGetOperationalStatusCall { + c := &InterconnectAttachmentGroupsGetOperationalStatusCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.interconnectAttachmentGroup = interconnectAttachmentGroup + 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 *InterconnectAttachmentGroupsGetOperationalStatusCall) Fields(s ...googleapi.Field) *InterconnectAttachmentGroupsGetOperationalStatusCall { + 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 *InterconnectAttachmentGroupsGetOperationalStatusCall) IfNoneMatch(entityTag string) *InterconnectAttachmentGroupsGetOperationalStatusCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *InterconnectAttachmentGroupsGetOperationalStatusCall) Context(ctx context.Context) *InterconnectAttachmentGroupsGetOperationalStatusCall { + 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 *InterconnectAttachmentGroupsGetOperationalStatusCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *InterconnectAttachmentGroupsGetOperationalStatusCall) 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, "projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}/getOperationalStatus") + 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{ + "project": c.project, + "interconnectAttachmentGroup": c.interconnectAttachmentGroup, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "compute.interconnectAttachmentGroups.getOperationalStatus", "request", internallog.HTTPRequest(req, nil)) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.interconnectAttachmentGroups.getOperationalStatus" call. +// Any non-2xx status code is an error. Response headers are in either +// *InterconnectAttachmentGroupsGetOperationalStatusResponse.ServerResponse.Head +// er 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 *InterconnectAttachmentGroupsGetOperationalStatusCall) Do(opts ...googleapi.CallOption) (*InterconnectAttachmentGroupsGetOperationalStatusResponse, 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 := &InterconnectAttachmentGroupsGetOperationalStatusResponse{ + 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.interconnectAttachmentGroups.getOperationalStatus", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type InterconnectAttachmentGroupsInsertCall struct { s *Service project string @@ -47479,6 +47706,121 @@ func (c *InterconnectGroupsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (* return ret, nil } +type InterconnectGroupsGetOperationalStatusCall struct { + s *Service + project string + interconnectGroup string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetOperationalStatus: Returns the interconnectStatuses for the specified +// InterconnectGroup. +// +// - interconnectGroup: Name of the interconnectGroup resource to query. +// - project: Project ID for this request. +func (r *InterconnectGroupsService) GetOperationalStatus(project string, interconnectGroup string) *InterconnectGroupsGetOperationalStatusCall { + c := &InterconnectGroupsGetOperationalStatusCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.interconnectGroup = interconnectGroup + 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 *InterconnectGroupsGetOperationalStatusCall) Fields(s ...googleapi.Field) *InterconnectGroupsGetOperationalStatusCall { + 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 *InterconnectGroupsGetOperationalStatusCall) IfNoneMatch(entityTag string) *InterconnectGroupsGetOperationalStatusCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *InterconnectGroupsGetOperationalStatusCall) Context(ctx context.Context) *InterconnectGroupsGetOperationalStatusCall { + 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 *InterconnectGroupsGetOperationalStatusCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *InterconnectGroupsGetOperationalStatusCall) 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, "projects/{project}/global/interconnectGroups/{interconnectGroup}/getOperationalStatus") + 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{ + "project": c.project, + "interconnectGroup": c.interconnectGroup, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "compute.interconnectGroups.getOperationalStatus", "request", internallog.HTTPRequest(req, nil)) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.interconnectGroups.getOperationalStatus" call. +// Any non-2xx status code is an error. Response headers are in either +// *InterconnectGroupsGetOperationalStatusResponse.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 *InterconnectGroupsGetOperationalStatusCall) Do(opts ...googleapi.CallOption) (*InterconnectGroupsGetOperationalStatusResponse, 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 := &InterconnectGroupsGetOperationalStatusResponse{ + 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.interconnectGroups.getOperationalStatus", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type InterconnectGroupsInsertCall struct { s *Service project string @@ -57203,6 +57545,239 @@ func (c *NetworkFirewallPoliciesAddRuleCall) Do(opts ...googleapi.CallOption) (* return ret, nil } +type NetworkFirewallPoliciesAggregatedListCall struct { + s *Service + project string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// AggregatedList: Retrieves an aggregated list of network firewall policies, +// listing network firewall policies from all applicable scopes (global and +// regional) and grouping the results per scope. To prevent failure, Google +// recommends that you set the `returnPartialSuccess` parameter to `true`. +// +// - project: Project ID for this request. +func (r *NetworkFirewallPoliciesService) AggregatedList(project string) *NetworkFirewallPoliciesAggregatedListCall { + c := &NetworkFirewallPoliciesAggregatedListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + return c +} + +// Filter sets the optional parameter "filter": A filter expression that +// filters resources listed in the response. Most Compute resources support two +// types of filter expressions: expressions that support regular expressions +// and expressions that follow API improvement proposal AIP-160. These two +// types of filter expressions cannot be mixed in one request. If you want to +// use AIP-160, your expression must specify the field name, an operator, and +// the value that you want to use for filtering. The value must be a string, a +// number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, +// `>=` or `:`. For example, if you are filtering Compute Engine instances, you +// can exclude instances named `example-instance` by specifying `name != +// example-instance`. The `:*` comparison can be used to test whether a key has +// been defined. For example, to find all objects with `owner` label use: ``` +// labels.owner:* ``` You can also filter nested fields. For example, you could +// specify `scheduling.automaticRestart = false` to include instances only if +// they are not scheduled for automatic restarts. You can use filtering on +// nested fields to filter based on resource labels. To filter on multiple +// expressions, provide each separate expression within parentheses. For +// example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel +// Skylake") ``` By default, each expression is an `AND` expression. However, +// you can include `AND` and `OR` expressions explicitly. For example: ``` +// (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND +// (scheduling.automaticRestart = true) ``` If you want to use a regular +// expression, use the `eq` (equal) or `ne` (not equal) operator against a +// single un-parenthesized expression with or without quotes or against +// multiple parenthesized expressions. Examples: `fieldname eq unquoted +// literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted +// literal" `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal +// value is interpreted as a regular expression using Google RE2 library +// syntax. The literal value must match the entire field. For example, to +// filter for instances that do not end with name "instance", you would use +// `name ne .*instance`. You cannot combine constraints on multiple fields +// using regular expressions. +func (c *NetworkFirewallPoliciesAggregatedListCall) Filter(filter string) *NetworkFirewallPoliciesAggregatedListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// IncludeAllScopes sets the optional parameter "includeAllScopes": Indicates +// whether every visible scope for each scope type (zone, region, global) +// should be included in the response. For new resource types added after this +// field, the flag has no effect as new resource types will always include +// every visible scope for each scope type in response. For resource types +// which predate this field, if this flag is omitted or false, only scopes of +// the scope types where the resource type is expected to be found will be +// included. +func (c *NetworkFirewallPoliciesAggregatedListCall) IncludeAllScopes(includeAllScopes bool) *NetworkFirewallPoliciesAggregatedListCall { + c.urlParams_.Set("includeAllScopes", fmt.Sprint(includeAllScopes)) + return c +} + +// MaxResults sets the optional parameter "maxResults": The maximum number of +// results per page that should be returned. If the number of available results +// is larger than `maxResults`, Compute Engine returns a `nextPageToken` that +// can be used to get the next page of results in subsequent list requests. +// Acceptable values are `0` to `500`, inclusive. (Default: `500`) +func (c *NetworkFirewallPoliciesAggregatedListCall) MaxResults(maxResults int64) *NetworkFirewallPoliciesAggregatedListCall { + c.urlParams_.Set("maxResults", fmt.Sprint(maxResults)) + return c +} + +// OrderBy sets the optional parameter "orderBy": Sorts list results by a +// certain order. By default, results are returned in alphanumerical order +// based on the resource name. You can also sort results in descending order +// based on the creation timestamp using `orderBy="creationTimestamp desc". +// This sorts results based on the `creationTimestamp` field in reverse +// chronological order (newest result first). Use this to sort resources like +// operations so that the newest operation is returned first. Currently, only +// sorting by `name` or `creationTimestamp desc` is supported. +func (c *NetworkFirewallPoliciesAggregatedListCall) OrderBy(orderBy string) *NetworkFirewallPoliciesAggregatedListCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + +// PageToken sets the optional parameter "pageToken": Specifies a page token to +// use. Set `pageToken` to the `nextPageToken` returned by a previous list +// request to get the next page of results. +func (c *NetworkFirewallPoliciesAggregatedListCall) PageToken(pageToken string) *NetworkFirewallPoliciesAggregatedListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// ReturnPartialSuccess sets the optional parameter "returnPartialSuccess": +// Opt-in for partial success behavior which provides partial results in case +// of failure. The default value is false. For example, when partial success +// behavior is enabled, aggregatedList for a single zone scope either returns +// all resources in the zone or no resources, with an error code. +func (c *NetworkFirewallPoliciesAggregatedListCall) ReturnPartialSuccess(returnPartialSuccess bool) *NetworkFirewallPoliciesAggregatedListCall { + c.urlParams_.Set("returnPartialSuccess", fmt.Sprint(returnPartialSuccess)) + return c +} + +// ServiceProjectNumber sets the optional parameter "serviceProjectNumber": The +// Shared VPC service project id or service project number for which aggregated +// list request is invoked for subnetworks list-usable api. +func (c *NetworkFirewallPoliciesAggregatedListCall) ServiceProjectNumber(serviceProjectNumber int64) *NetworkFirewallPoliciesAggregatedListCall { + c.urlParams_.Set("serviceProjectNumber", fmt.Sprint(serviceProjectNumber)) + 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 *NetworkFirewallPoliciesAggregatedListCall) Fields(s ...googleapi.Field) *NetworkFirewallPoliciesAggregatedListCall { + 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 *NetworkFirewallPoliciesAggregatedListCall) IfNoneMatch(entityTag string) *NetworkFirewallPoliciesAggregatedListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *NetworkFirewallPoliciesAggregatedListCall) Context(ctx context.Context) *NetworkFirewallPoliciesAggregatedListCall { + 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 *NetworkFirewallPoliciesAggregatedListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *NetworkFirewallPoliciesAggregatedListCall) 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, "projects/{project}/aggregated/firewallPolicies") + 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{ + "project": c.project, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "compute.networkFirewallPolicies.aggregatedList", "request", internallog.HTTPRequest(req, nil)) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.networkFirewallPolicies.aggregatedList" call. +// Any non-2xx status code is an error. Response headers are in either +// *NetworkFirewallPolicyAggregatedList.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 *NetworkFirewallPoliciesAggregatedListCall) Do(opts ...googleapi.CallOption) (*NetworkFirewallPolicyAggregatedList, 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 := &NetworkFirewallPolicyAggregatedList{ + 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.networkFirewallPolicies.aggregatedList", "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 *NetworkFirewallPoliciesAggregatedListCall) Pages(ctx context.Context, f func(*NetworkFirewallPolicyAggregatedList) 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 NetworkFirewallPoliciesCloneRulesCall struct { s *Service project string diff --git a/css/v1/css-api.json b/css/v1/css-api.json index 226d97f3d4e..543e439b36f 100644 --- a/css/v1/css-api.json +++ b/css/v1/css-api.json @@ -258,7 +258,7 @@ "parameters": { "feedId": { "deprecated": true, - "description": "Optional. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.", + "description": "Optional. DEPRECATED. Feed id is not required for CSS Products. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.", "format": "int64", "location": "query", "type": "string" @@ -507,7 +507,7 @@ } } }, - "revision": "20241217", + "revision": "20250106", "rootUrl": "https://css.googleapis.com/", "schemas": { "Account": { @@ -955,7 +955,7 @@ }, "freshnessTime": { "deprecated": true, - "description": "Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time. This field must not be set to the future time. If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time. If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API. If the operation is prevented, the aborted exception will be thrown.", + "description": "DEPRECATED. Use expiration_date instead. Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time. This field must not be set to the future time. If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time. If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API. If the operation is prevented, the aborted exception will be thrown.", "format": "google-datetime", "type": "string" }, diff --git a/css/v1/css-gen.go b/css/v1/css-gen.go index 5e3ceca5fbc..15b76f35101 100644 --- a/css/v1/css-gen.go +++ b/css/v1/css-gen.go @@ -560,16 +560,17 @@ type CssProductInput struct { // FinalName: Output only. The name of the processed CSS Product. Format: // `accounts/{account}/cssProducts/{css_product}` " FinalName string `json:"finalName,omitempty"` - // FreshnessTime: Represents the existing version (freshness) of the CSS - // Product, which can be used to preserve the right order when multiple updates - // are done at the same time. This field must not be set to the future time. If - // set, the update is prevented if a newer version of the item already exists - // in our system (that is the last update time of the existing CSS products is - // later than the freshness time set in the update). If the update happens, the - // last update time is then set to this freshness time. If not set, the update - // will not be prevented and the last update time will default to when this - // request was received by the CSS API. If the operation is prevented, the - // aborted exception will be thrown. + // FreshnessTime: DEPRECATED. Use expiration_date instead. Represents the + // existing version (freshness) of the CSS Product, which can be used to + // preserve the right order when multiple updates are done at the same time. + // This field must not be set to the future time. If set, the update is + // prevented if a newer version of the item already exists in our system (that + // is the last update time of the existing CSS products is later than the + // freshness time set in the update). If the update happens, the last update + // time is then set to this freshness time. If not set, the update will not be + // prevented and the last update time will default to when this request was + // received by the CSS API. If the operation is prevented, the aborted + // exception will be thrown. FreshnessTime string `json:"freshnessTime,omitempty"` // Name: The name of the CSS Product input. Format: // `accounts/{account}/cssProductInputs/{css_product_input}` @@ -1568,11 +1569,12 @@ func (r *AccountsCssProductInputsService) Insert(parent string, cssproductinput return c } -// FeedId sets the optional parameter "feedId": The primary or supplemental -// feed id. If CSS Product already exists and feed id provided is different, -// then the CSS Product will be moved to a new feed. Note: For now, CSSs do not -// need to provide feed ids as we create feeds on the fly. We do not have -// supplemental feed support for CSS Products yet. +// FeedId sets the optional parameter "feedId": DEPRECATED. Feed id is not +// required for CSS Products. The primary or supplemental feed id. If CSS +// Product already exists and feed id provided is different, then the CSS +// Product will be moved to a new feed. Note: For now, CSSs do not need to +// provide feed ids as we create feeds on the fly. We do not have supplemental +// feed support for CSS Products yet. func (c *AccountsCssProductInputsInsertCall) FeedId(feedId int64) *AccountsCssProductInputsInsertCall { c.urlParams_.Set("feedId", fmt.Sprint(feedId)) return c diff --git a/language/v1/language-api.json b/language/v1/language-api.json index 16b76bb26df..4f414cacbf1 100644 --- a/language/v1/language-api.json +++ b/language/v1/language-api.json @@ -246,7 +246,7 @@ } } }, - "revision": "20241103", + "revision": "20250105", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -761,6 +761,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1050,6 +1051,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1486,6 +1488,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1775,6 +1778,7 @@ "", "", "", + "", "" ], "type": "string" @@ -2170,6 +2174,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -2459,6 +2464,7 @@ "", "", "", + "", "" ], "type": "string" @@ -3640,6 +3646,7 @@ "NVIDIA_L4", "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3657,6 +3664,7 @@ "Nvidia L4 GPU.", "Nvidia H100 80Gb GPU.", "Nvidia H100 80Gb GPU.", + "Nvidia H200 141Gb GPU.", "TPU v2 (JellyFish).", "TPU v3 (DragonFish).", "TPU_v4 (PufferFish).", diff --git a/language/v1/language-gen.go b/language/v1/language-gen.go index a981d929c60..cfc562df19b 100644 --- a/language/v1/language-gen.go +++ b/language/v1/language-gen.go @@ -892,6 +892,7 @@ type CpuMetric struct { // "A3_HIGHGPU_4G" // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" + // "A3_ULTRAGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1410,6 +1411,7 @@ type GpuMetric struct { // "A3_HIGHGPU_4G" // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" + // "A3_ULTRAGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1844,6 +1846,7 @@ type RamMetric struct { // "A3_HIGHGPU_4G" // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" + // "A3_ULTRAGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -3486,6 +3489,7 @@ type XPSImageModelServingSpecModelThroughputEstimation struct { // "NVIDIA_L4" - Nvidia L4 GPU. // "NVIDIA_H100_80GB" - Nvidia H100 80Gb GPU. // "NVIDIA_H100_MEGA_80GB" - Nvidia H100 80Gb GPU. + // "NVIDIA_H200_141GB" - Nvidia H200 141Gb GPU. // "TPU_V2" - TPU v2 (JellyFish). // "TPU_V3" - TPU v3 (DragonFish). // "TPU_V4_POD" - TPU_v4 (PufferFish). diff --git a/language/v1beta2/language-api.json b/language/v1beta2/language-api.json index 7ced69ab1ef..9ed7a51a88e 100644 --- a/language/v1beta2/language-api.json +++ b/language/v1beta2/language-api.json @@ -246,7 +246,7 @@ } } }, - "revision": "20241110", + "revision": "20250105", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -761,6 +761,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1050,6 +1051,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1504,6 +1506,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1793,6 +1796,7 @@ "", "", "", + "", "" ], "type": "string" @@ -2188,6 +2192,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -2477,6 +2482,7 @@ "", "", "", + "", "" ], "type": "string" @@ -3658,6 +3664,7 @@ "NVIDIA_L4", "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3675,6 +3682,7 @@ "Nvidia L4 GPU.", "Nvidia H100 80Gb GPU.", "Nvidia H100 80Gb GPU.", + "Nvidia H200 141Gb GPU.", "TPU v2 (JellyFish).", "TPU v3 (DragonFish).", "TPU_v4 (PufferFish).", diff --git a/language/v1beta2/language-gen.go b/language/v1beta2/language-gen.go index 8d8217c15db..371f3b1a5cf 100644 --- a/language/v1beta2/language-gen.go +++ b/language/v1beta2/language-gen.go @@ -894,6 +894,7 @@ type CpuMetric struct { // "A3_HIGHGPU_4G" // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" + // "A3_ULTRAGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1424,6 +1425,7 @@ type GpuMetric struct { // "A3_HIGHGPU_4G" // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" + // "A3_ULTRAGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1856,6 +1858,7 @@ type RamMetric struct { // "A3_HIGHGPU_4G" // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" + // "A3_ULTRAGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -3498,6 +3501,7 @@ type XPSImageModelServingSpecModelThroughputEstimation struct { // "NVIDIA_L4" - Nvidia L4 GPU. // "NVIDIA_H100_80GB" - Nvidia H100 80Gb GPU. // "NVIDIA_H100_MEGA_80GB" - Nvidia H100 80Gb GPU. + // "NVIDIA_H200_141GB" - Nvidia H200 141Gb GPU. // "TPU_V2" - TPU v2 (JellyFish). // "TPU_V3" - TPU v3 (DragonFish). // "TPU_V4_POD" - TPU_v4 (PufferFish). diff --git a/language/v2/language-api.json b/language/v2/language-api.json index e12e5826619..bdb5121de08 100644 --- a/language/v2/language-api.json +++ b/language/v2/language-api.json @@ -208,7 +208,7 @@ } } }, - "revision": "20241110", + "revision": "20250105", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -586,6 +586,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -875,6 +876,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1125,6 +1127,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1414,6 +1417,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1564,6 +1568,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1853,6 +1858,7 @@ "", "", "", + "", "" ], "type": "string" @@ -3011,6 +3017,7 @@ "NVIDIA_L4", "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3028,6 +3035,7 @@ "Nvidia L4 GPU.", "Nvidia H100 80Gb GPU.", "Nvidia H100 80Gb GPU.", + "Nvidia H200 141Gb GPU.", "TPU v2 (JellyFish).", "TPU v3 (DragonFish).", "TPU_v4 (PufferFish).", diff --git a/language/v2/language-gen.go b/language/v2/language-gen.go index 06b8819b772..c1053d6766b 100644 --- a/language/v2/language-gen.go +++ b/language/v2/language-gen.go @@ -708,6 +708,7 @@ type CpuMetric struct { // "A3_HIGHGPU_4G" // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" + // "A3_ULTRAGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1104,6 +1105,7 @@ type GpuMetric struct { // "A3_HIGHGPU_4G" // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" + // "A3_ULTRAGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -1395,6 +1397,7 @@ type RamMetric struct { // "A3_HIGHGPU_4G" // "A3_HIGHGPU_8G" // "A3_MEGAGPU_8G" + // "A3_ULTRAGPU_8G" // "E2_STANDARD_2" // "E2_STANDARD_4" // "E2_STANDARD_8" @@ -3008,6 +3011,7 @@ type XPSImageModelServingSpecModelThroughputEstimation struct { // "NVIDIA_L4" - Nvidia L4 GPU. // "NVIDIA_H100_80GB" - Nvidia H100 80Gb GPU. // "NVIDIA_H100_MEGA_80GB" - Nvidia H100 80Gb GPU. + // "NVIDIA_H200_141GB" - Nvidia H200 141Gb GPU. // "TPU_V2" - TPU v2 (JellyFish). // "TPU_V3" - TPU v3 (DragonFish). // "TPU_V4_POD" - TPU_v4 (PufferFish). diff --git a/merchantapi/products_v1beta/merchantapi-api.json b/merchantapi/products_v1beta/merchantapi-api.json index 77f7fc9a920..77a453cb0d4 100644 --- a/merchantapi/products_v1beta/merchantapi-api.json +++ b/merchantapi/products_v1beta/merchantapi-api.json @@ -242,7 +242,7 @@ } } }, - "revision": "20241217", + "revision": "20250106", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { @@ -1349,7 +1349,7 @@ "description": "Optional. A list of product attributes." }, "channel": { - "description": "Required. Immutable. The [channel](https://support.google.com/merchants/answer/7361332) of the product.", + "description": "Immutable. The [channel](https://support.google.com/merchants/answer/7361332) of the product.", "enum": [ "CHANNEL_ENUM_UNSPECIFIED", "ONLINE", diff --git a/merchantapi/products_v1beta/merchantapi-gen.go b/merchantapi/products_v1beta/merchantapi-gen.go index 8789526dfcc..07104cd46c9 100644 --- a/merchantapi/products_v1beta/merchantapi-gen.go +++ b/merchantapi/products_v1beta/merchantapi-gen.go @@ -1241,7 +1241,7 @@ func (s *ProductDimension) UnmarshalJSON(data []byte) error { type ProductInput struct { // Attributes: Optional. A list of product attributes. Attributes *Attributes `json:"attributes,omitempty"` - // Channel: Required. Immutable. The channel + // Channel: Immutable. The channel // (https://support.google.com/merchants/answer/7361332) of the product. // // Possible values: diff --git a/pubsub/v1/pubsub-api.json b/pubsub/v1/pubsub-api.json index b66e6350544..18562072d96 100644 --- a/pubsub/v1/pubsub-api.json +++ b/pubsub/v1/pubsub-api.json @@ -1638,7 +1638,7 @@ } } }, - "revision": "20241212", + "revision": "20241231", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { @@ -1735,6 +1735,110 @@ }, "type": "object" }, + "AwsMsk": { + "description": "Ingestion settings for Amazon MSK.", + "id": "AwsMsk", + "properties": { + "awsRoleArn": { + "description": "Required. AWS role ARN to be used for Federated Identity authentication with Amazon MSK. Check the Pub/Sub docs for how to set up this role and the required permissions that need to be attached to it.", + "type": "string" + }, + "clusterArn": { + "description": "Required. The Amazon Resource Name (ARN) that uniquely identifies the cluster.", + "type": "string" + }, + "gcpServiceAccount": { + "description": "Required. The GCP service account to be used for Federated Identity authentication with Amazon MSK (via a `AssumeRoleWithWebIdentity` call for the provided role). The `aws_role_arn` must be set up with `accounts.google.com:sub` equals to this service account number.", + "type": "string" + }, + "state": { + "description": "Output only. An output-only field that indicates the state of the Amazon MSK ingestion source.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "MSK_PERMISSION_DENIED", + "PUBLISH_PERMISSION_DENIED", + "CLUSTER_NOT_FOUND", + "TOPIC_NOT_FOUND" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Ingestion is active.", + "Permission denied encountered while consuming data from Amazon MSK.", + "Permission denied encountered while publishing to the topic.", + "The provided MSK cluster wasn't found.", + "The provided topic wasn't found." + ], + "readOnly": true, + "type": "string" + }, + "topic": { + "description": "Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will import from.", + "type": "string" + } + }, + "type": "object" + }, + "AzureEventHubs": { + "description": "Ingestion settings for Azure Event Hubs.", + "id": "AzureEventHubs", + "properties": { + "clientId": { + "description": "Optional. The client id of the Azure application that is being used to authenticate Pub/Sub.", + "type": "string" + }, + "eventHub": { + "description": "Optional. The name of the Event Hub.", + "type": "string" + }, + "gcpServiceAccount": { + "description": "Optional. The GCP service account to be used for Federated Identity authentication.", + "type": "string" + }, + "namespace": { + "description": "Optional. The name of the Event Hubs namespace.", + "type": "string" + }, + "resourceGroup": { + "description": "Optional. Name of the resource group within the azure subscription.", + "type": "string" + }, + "state": { + "description": "Output only. An output-only field that indicates the state of the Event Hubs ingestion source.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "EVENT_HUBS_PERMISSION_DENIED", + "PUBLISH_PERMISSION_DENIED", + "NAMESPACE_NOT_FOUND", + "EVENT_HUB_NOT_FOUND", + "SUBSCRIPTION_NOT_FOUND", + "RESOURCE_GROUP_NOT_FOUND" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Ingestion is active.", + "Permission denied encountered while consuming data from Event Hubs. This can happen when `client_id`, or `tenant_id` are invalid. Or the right permissions haven't been granted.", + "Permission denied encountered while publishing to the topic.", + "The provided Event Hubs namespace couldn't be found.", + "The provided Event Hub couldn't be found.", + "The provided Event Hubs subscription couldn't be found.", + "The provided Event Hubs resource group couldn't be found." + ], + "readOnly": true, + "type": "string" + }, + "subscriptionId": { + "description": "Optional. The Azure subscription id.", + "type": "string" + }, + "tenantId": { + "description": "Optional. The tenant id of the Azure application that is being used to authenticate Pub/Sub.", + "type": "string" + } + }, + "type": "object" + }, "BigQueryConfig": { "description": "Configuration for a BigQuery subscription.", "id": "BigQueryConfig", @@ -1944,6 +2048,56 @@ }, "type": "object" }, + "ConfluentCloud": { + "description": "Ingestion settings for Confluent Cloud.", + "id": "ConfluentCloud", + "properties": { + "bootstrapServer": { + "description": "Required. The address of the bootstrap server. The format is url:port.", + "type": "string" + }, + "clusterId": { + "description": "Required. The id of the cluster.", + "type": "string" + }, + "gcpServiceAccount": { + "description": "Required. The GCP service account to be used for Federated Identity authentication with `identity_pool_id`.", + "type": "string" + }, + "identityPoolId": { + "description": "Required. The id of the identity pool to be used for Federated Identity authentication with Confluent Cloud. See https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools.", + "type": "string" + }, + "state": { + "description": "Output only. An output-only field that indicates the state of the Confluent Cloud ingestion source.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "CONFLUENT_CLOUD_PERMISSION_DENIED", + "PUBLISH_PERMISSION_DENIED", + "UNREACHABLE_BOOTSTRAP_SERVER", + "CLUSTER_NOT_FOUND", + "TOPIC_NOT_FOUND" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Ingestion is active.", + "Permission denied encountered while consuming data from Confluent Cloud.", + "Permission denied encountered while publishing to the topic.", + "The provided bootstrap server address is unreachable.", + "The provided cluster wasn't found.", + "The provided topic wasn't found." + ], + "readOnly": true, + "type": "string" + }, + "topic": { + "description": "Required. The name of the topic in the Confluent Cloud cluster that Pub/Sub will import from.", + "type": "string" + } + }, + "type": "object" + }, "CreateSnapshotRequest": { "description": "Request for the `CreateSnapshot` method.", "id": "CreateSnapshotRequest", @@ -2033,10 +2187,22 @@ "$ref": "AwsKinesis", "description": "Optional. Amazon Kinesis Data Streams." }, + "awsMsk": { + "$ref": "AwsMsk", + "description": "Optional. Amazon MSK." + }, + "azureEventHubs": { + "$ref": "AzureEventHubs", + "description": "Optional. Azure Event Hubs." + }, "cloudStorage": { "$ref": "CloudStorage", "description": "Optional. Cloud Storage." }, + "confluentCloud": { + "$ref": "ConfluentCloud", + "description": "Optional. Confluent Cloud." + }, "platformLogsSettings": { "$ref": "PlatformLogsSettings", "description": "Optional. Platform Logs settings. If unset, no Platform Logs will be generated." diff --git a/pubsub/v1/pubsub-gen.go b/pubsub/v1/pubsub-gen.go index b6c0a82a82d..5c7f031bec5 100644 --- a/pubsub/v1/pubsub-gen.go +++ b/pubsub/v1/pubsub-gen.go @@ -397,6 +397,112 @@ func (s AwsKinesis) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// AwsMsk: Ingestion settings for Amazon MSK. +type AwsMsk struct { + // AwsRoleArn: Required. AWS role ARN to be used for Federated Identity + // authentication with Amazon MSK. Check the Pub/Sub docs for how to set up + // this role and the required permissions that need to be attached to it. + AwsRoleArn string `json:"awsRoleArn,omitempty"` + // ClusterArn: Required. The Amazon Resource Name (ARN) that uniquely + // identifies the cluster. + ClusterArn string `json:"clusterArn,omitempty"` + // GcpServiceAccount: Required. The GCP service account to be used for + // Federated Identity authentication with Amazon MSK (via a + // `AssumeRoleWithWebIdentity` call for the provided role). The `aws_role_arn` + // must be set up with `accounts.google.com:sub` equals to this service account + // number. + GcpServiceAccount string `json:"gcpServiceAccount,omitempty"` + // State: Output only. An output-only field that indicates the state of the + // Amazon MSK ingestion source. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. This value is unused. + // "ACTIVE" - Ingestion is active. + // "MSK_PERMISSION_DENIED" - Permission denied encountered while consuming + // data from Amazon MSK. + // "PUBLISH_PERMISSION_DENIED" - Permission denied encountered while + // publishing to the topic. + // "CLUSTER_NOT_FOUND" - The provided MSK cluster wasn't found. + // "TOPIC_NOT_FOUND" - The provided topic wasn't found. + State string `json:"state,omitempty"` + // Topic: Required. The name of the topic in the Amazon MSK cluster that + // Pub/Sub will import from. + Topic string `json:"topic,omitempty"` + // ForceSendFields is a list of field names (e.g. "AwsRoleArn") 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. "AwsRoleArn") 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 AwsMsk) MarshalJSON() ([]byte, error) { + type NoMethod AwsMsk + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// AzureEventHubs: Ingestion settings for Azure Event Hubs. +type AzureEventHubs struct { + // ClientId: Optional. The client id of the Azure application that is being + // used to authenticate Pub/Sub. + ClientId string `json:"clientId,omitempty"` + // EventHub: Optional. The name of the Event Hub. + EventHub string `json:"eventHub,omitempty"` + // GcpServiceAccount: Optional. The GCP service account to be used for + // Federated Identity authentication. + GcpServiceAccount string `json:"gcpServiceAccount,omitempty"` + // Namespace: Optional. The name of the Event Hubs namespace. + Namespace string `json:"namespace,omitempty"` + // ResourceGroup: Optional. Name of the resource group within the azure + // subscription. + ResourceGroup string `json:"resourceGroup,omitempty"` + // State: Output only. An output-only field that indicates the state of the + // Event Hubs ingestion source. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. This value is unused. + // "ACTIVE" - Ingestion is active. + // "EVENT_HUBS_PERMISSION_DENIED" - Permission denied encountered while + // consuming data from Event Hubs. This can happen when `client_id`, or + // `tenant_id` are invalid. Or the right permissions haven't been granted. + // "PUBLISH_PERMISSION_DENIED" - Permission denied encountered while + // publishing to the topic. + // "NAMESPACE_NOT_FOUND" - The provided Event Hubs namespace couldn't be + // found. + // "EVENT_HUB_NOT_FOUND" - The provided Event Hub couldn't be found. + // "SUBSCRIPTION_NOT_FOUND" - The provided Event Hubs subscription couldn't + // be found. + // "RESOURCE_GROUP_NOT_FOUND" - The provided Event Hubs resource group + // couldn't be found. + State string `json:"state,omitempty"` + // SubscriptionId: Optional. The Azure subscription id. + SubscriptionId string `json:"subscriptionId,omitempty"` + // TenantId: Optional. The tenant id of the Azure application that is being + // used to authenticate Pub/Sub. + TenantId string `json:"tenantId,omitempty"` + // ForceSendFields is a list of field names (e.g. "ClientId") 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. "ClientId") 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 AzureEventHubs) MarshalJSON() ([]byte, error) { + type NoMethod AzureEventHubs + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // BigQueryConfig: Configuration for a BigQuery subscription. type BigQueryConfig struct { // DropUnknownFields: Optional. When true and use_topic_schema is true, any @@ -729,6 +835,56 @@ func (s CommitSchemaRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ConfluentCloud: Ingestion settings for Confluent Cloud. +type ConfluentCloud struct { + // BootstrapServer: Required. The address of the bootstrap server. The format + // is url:port. + BootstrapServer string `json:"bootstrapServer,omitempty"` + // ClusterId: Required. The id of the cluster. + ClusterId string `json:"clusterId,omitempty"` + // GcpServiceAccount: Required. The GCP service account to be used for + // Federated Identity authentication with `identity_pool_id`. + GcpServiceAccount string `json:"gcpServiceAccount,omitempty"` + // IdentityPoolId: Required. The id of the identity pool to be used for + // Federated Identity authentication with Confluent Cloud. See + // https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools. + IdentityPoolId string `json:"identityPoolId,omitempty"` + // State: Output only. An output-only field that indicates the state of the + // Confluent Cloud ingestion source. + // + // Possible values: + // "STATE_UNSPECIFIED" - Default value. This value is unused. + // "ACTIVE" - Ingestion is active. + // "CONFLUENT_CLOUD_PERMISSION_DENIED" - Permission denied encountered while + // consuming data from Confluent Cloud. + // "PUBLISH_PERMISSION_DENIED" - Permission denied encountered while + // publishing to the topic. + // "UNREACHABLE_BOOTSTRAP_SERVER" - The provided bootstrap server address is + // unreachable. + // "CLUSTER_NOT_FOUND" - The provided cluster wasn't found. + // "TOPIC_NOT_FOUND" - The provided topic wasn't found. + State string `json:"state,omitempty"` + // Topic: Required. The name of the topic in the Confluent Cloud cluster that + // Pub/Sub will import from. + Topic string `json:"topic,omitempty"` + // ForceSendFields is a list of field names (e.g. "BootstrapServer") 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. "BootstrapServer") 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 ConfluentCloud) MarshalJSON() ([]byte, error) { + type NoMethod ConfluentCloud + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // CreateSnapshotRequest: Request for the `CreateSnapshot` method. type CreateSnapshotRequest struct { // Labels: Optional. See Creating and managing labels @@ -899,8 +1055,14 @@ func (s Expr) MarshalJSON() ([]byte, error) { type IngestionDataSourceSettings struct { // AwsKinesis: Optional. Amazon Kinesis Data Streams. AwsKinesis *AwsKinesis `json:"awsKinesis,omitempty"` + // AwsMsk: Optional. Amazon MSK. + AwsMsk *AwsMsk `json:"awsMsk,omitempty"` + // AzureEventHubs: Optional. Azure Event Hubs. + AzureEventHubs *AzureEventHubs `json:"azureEventHubs,omitempty"` // CloudStorage: Optional. Cloud Storage. CloudStorage *CloudStorage `json:"cloudStorage,omitempty"` + // ConfluentCloud: Optional. Confluent Cloud. + ConfluentCloud *ConfluentCloud `json:"confluentCloud,omitempty"` // PlatformLogsSettings: Optional. Platform Logs settings. If unset, no // Platform Logs will be generated. PlatformLogsSettings *PlatformLogsSettings `json:"platformLogsSettings,omitempty"` diff --git a/securitycenter/v1/securitycenter-api.json b/securitycenter/v1/securitycenter-api.json index ff84de51051..fc56e0d283d 100644 --- a/securitycenter/v1/securitycenter-api.json +++ b/securitycenter/v1/securitycenter-api.json @@ -5938,7 +5938,7 @@ } } }, - "revision": "20241206", + "revision": "20250103", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -6145,14 +6145,26 @@ "type": "string" }, "volumeBps": { - "description": "Total BPS (bytes per second) volume of attack.", + "deprecated": true, + "description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", "format": "int32", "type": "integer" }, + "volumeBpsLong": { + "description": "Total BPS (bytes per second) volume of attack.", + "format": "int64", + "type": "string" + }, "volumePps": { - "description": "Total PPS (packets per second) volume of attack.", + "deprecated": true, + "description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", "format": "int32", "type": "integer" + }, + "volumePpsLong": { + "description": "Total PPS (packets per second) volume of attack.", + "format": "int64", + "type": "string" } }, "type": "object" @@ -9131,14 +9143,26 @@ "type": "string" }, "volumeBps": { - "description": "Total BPS (bytes per second) volume of attack.", + "deprecated": true, + "description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", "format": "int32", "type": "integer" }, + "volumeBpsLong": { + "description": "Total BPS (bytes per second) volume of attack.", + "format": "int64", + "type": "string" + }, "volumePps": { - "description": "Total PPS (packets per second) volume of attack.", + "deprecated": true, + "description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", "format": "int32", "type": "integer" + }, + "volumePpsLong": { + "description": "Total PPS (packets per second) volume of attack.", + "format": "int64", + "type": "string" } }, "type": "object" diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index 44ed8314eb5..1113acd528c 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -1175,10 +1175,16 @@ type Attack struct { // Classification: Type of attack, for example, 'SYN-flood', 'NTP-udp', or // 'CHARGEN-udp'. Classification string `json:"classification,omitempty"` - // VolumeBps: Total BPS (bytes per second) volume of attack. + // VolumeBps: Total BPS (bytes per second) volume of attack. Deprecated - refer + // to volume_bps_long instead. VolumeBps int64 `json:"volumeBps,omitempty"` - // VolumePps: Total PPS (packets per second) volume of attack. + // VolumeBpsLong: Total BPS (bytes per second) volume of attack. + VolumeBpsLong int64 `json:"volumeBpsLong,omitempty,string"` + // VolumePps: Total PPS (packets per second) volume of attack. Deprecated - + // refer to volume_pps_long instead. VolumePps int64 `json:"volumePps,omitempty"` + // VolumePpsLong: Total PPS (packets per second) volume of attack. + VolumePpsLong int64 `json:"volumePpsLong,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Classification") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -4855,10 +4861,16 @@ type GoogleCloudSecuritycenterV2Attack struct { // Classification: Type of attack, for example, 'SYN-flood', 'NTP-udp', or // 'CHARGEN-udp'. Classification string `json:"classification,omitempty"` - // VolumeBps: Total BPS (bytes per second) volume of attack. + // VolumeBps: Total BPS (bytes per second) volume of attack. Deprecated - refer + // to volume_bps_long instead. VolumeBps int64 `json:"volumeBps,omitempty"` - // VolumePps: Total PPS (packets per second) volume of attack. + // VolumeBpsLong: Total BPS (bytes per second) volume of attack. + VolumeBpsLong int64 `json:"volumeBpsLong,omitempty,string"` + // VolumePps: Total PPS (packets per second) volume of attack. Deprecated - + // refer to volume_pps_long instead. VolumePps int64 `json:"volumePps,omitempty"` + // VolumePpsLong: Total PPS (packets per second) volume of attack. + VolumePpsLong int64 `json:"volumePpsLong,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Classification") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/servicecontrol/v1/servicecontrol-api.json b/servicecontrol/v1/servicecontrol-api.json index dda7ac42fd8..7074eee1446 100644 --- a/servicecontrol/v1/servicecontrol-api.json +++ b/servicecontrol/v1/servicecontrol-api.json @@ -197,7 +197,7 @@ } } }, - "revision": "20240802", + "revision": "20250103", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "AllocateInfo": { @@ -289,7 +289,7 @@ "additionalProperties": { "$ref": "AttributeValue" }, - "description": "The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: \"/instance_id\": \"my-instance\" \"/http/user_agent\": \"\" \"/http/request_bytes\": 300 \"abc.com/myattribute\": true", + "description": "The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: \"/instance_id\": \"my-instance\" \"/http/user_agent\": \"\" \"/http/request_bytes\": 300 \"example.com/myattribute\": true", "type": "object" }, "droppedAttributesCount": { @@ -418,10 +418,6 @@ "description": "Structured claims presented with the credential. JWTs include `{key: value}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions are similarly specified, but with an identity provider dependent structure.", "type": "object" }, - "credentialId": { - "description": "Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. \"serviceaccount:XXXXX, apikey:XXXXX\" where the format of the IDENTIFIER can vary for different AUTH_METHODs.", - "type": "string" - }, "presenter": { "description": "The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: \"123456789012.apps.googleusercontent.com\".", "type": "string" @@ -905,7 +901,7 @@ "type": "string" }, "referer": { - "description": "The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", + "description": "The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", "type": "string" }, "remoteIp": { @@ -1994,7 +1990,7 @@ "type": "string" }, "referer": { - "description": "The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", + "description": "The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", "type": "string" }, "remoteIp": { diff --git a/servicecontrol/v1/servicecontrol-gen.go b/servicecontrol/v1/servicecontrol-gen.go index 61331f8919a..79c788f025b 100644 --- a/servicecontrol/v1/servicecontrol-gen.go +++ b/servicecontrol/v1/servicecontrol-gen.go @@ -300,7 +300,7 @@ type Attributes struct { // bytes long. The value can be a string up to 256 bytes, a signed 64-bit // integer, or the Boolean values `true` and `false`. For example: // "/instance_id": "my-instance" "/http/user_agent": "" "/http/request_bytes": - // 300 "abc.com/myattribute": true + // 300 "example.com/myattribute": true AttributeMap map[string]AttributeValue `json:"attributeMap,omitempty"` // DroppedAttributesCount: The number of attributes that were discarded. // Attributes can be discarded because their keys are too long or because there @@ -434,11 +434,6 @@ type Auth struct { // 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions // are similarly specified, but with an identity provider dependent structure. Claims googleapi.RawMessage `json:"claims,omitempty"` - // CredentialId: Identifies the client credential id used for authentication. - // credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. - // "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can - // vary for different AUTH_METHODs. - CredentialId string `json:"credentialId,omitempty"` // Presenter: The authorized presenter of the credential. Reflects the optional // Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For // example, a Google Cloud Platform client id looks as follows: @@ -1095,7 +1090,7 @@ type HttpRequest struct { // "websocket" Protocol string `json:"protocol,omitempty"` // Referer: The referer URL of the request, as defined in HTTP/1.1 Header Field - // Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + // Definitions (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). Referer string `json:"referer,omitempty"` // RemoteIp: The IP address (IPv4 or IPv6) of the client that issued the HTTP // request. Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". @@ -2525,7 +2520,7 @@ type V1HttpRequest struct { // "websocket" Protocol string `json:"protocol,omitempty"` // Referer: The referer URL of the request, as defined in HTTP/1.1 Header Field - // Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + // Definitions (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). Referer string `json:"referer,omitempty"` // RemoteIp: The IP address (IPv4 or IPv6) of the client that issued the HTTP // request. Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". diff --git a/servicecontrol/v2/servicecontrol-api.json b/servicecontrol/v2/servicecontrol-api.json index 664fa107baf..00d6e9e5f5e 100644 --- a/servicecontrol/v2/servicecontrol-api.json +++ b/servicecontrol/v2/servicecontrol-api.json @@ -169,7 +169,7 @@ } } }, - "revision": "20241205", + "revision": "20250103", "rootUrl": "https://servicecontrol.googleapis.com/", "schemas": { "Api": { @@ -359,10 +359,6 @@ "description": "Structured claims presented with the credential. JWTs include `{key: value}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions are similarly specified, but with an identity provider dependent structure.", "type": "object" }, - "credentialId": { - "description": "Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. \"serviceaccount:XXXXX, apikey:XXXXX\" where the format of the IDENTIFIER can vary for different AUTH_METHODs.", - "type": "string" - }, "presenter": { "description": "The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: \"123456789012.apps.googleusercontent.com\".", "type": "string" @@ -1015,7 +1011,7 @@ "type": "string" }, "referer": { - "description": "The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", + "description": "The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).", "type": "string" }, "remoteIp": { diff --git a/servicecontrol/v2/servicecontrol-gen.go b/servicecontrol/v2/servicecontrol-gen.go index 1cb0d6cf880..66aa94653f9 100644 --- a/servicecontrol/v2/servicecontrol-gen.go +++ b/servicecontrol/v2/servicecontrol-gen.go @@ -377,11 +377,6 @@ type Auth struct { // 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions // are similarly specified, but with an identity provider dependent structure. Claims googleapi.RawMessage `json:"claims,omitempty"` - // CredentialId: Identifies the client credential id used for authentication. - // credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. - // "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can - // vary for different AUTH_METHODs. - CredentialId string `json:"credentialId,omitempty"` // Presenter: The authorized presenter of the credential. Reflects the optional // Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For // example, a Google Cloud Platform client id looks as follows: @@ -1261,7 +1256,7 @@ type V2HttpRequest struct { // "websocket" Protocol string `json:"protocol,omitempty"` // Referer: The referer URL of the request, as defined in HTTP/1.1 Header Field - // Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + // Definitions (https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). Referer string `json:"referer,omitempty"` // RemoteIp: The IP address (IPv4 or IPv6) of the client that issued the HTTP // request. Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". diff --git a/tasks/v1/tasks-api.json b/tasks/v1/tasks-api.json index 62f7c80abf2..08812a2772b 100644 --- a/tasks/v1/tasks-api.json +++ b/tasks/v1/tasks-api.json @@ -475,12 +475,12 @@ "type": "string" }, "parent": { - "description": "New parent task identifier. If the task is moved to the top level, this parameter is omitted. Assigned tasks can not be set as parent task (have subtasks) or be moved under a parent task (become subtasks). Optional.", + "description": "New parent task identifier. If the task is moved to the top level, this parameter is omitted. The task set as parent must exist in the task list and can not be hidden. Assigned tasks can not be set as parent task (have subtasks) or be moved under a parent task (become subtasks). Optional.", "location": "query", "type": "string" }, "previous": { - "description": "New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. Optional.", + "description": "New previous sibling task identifier. If the task is moved to the first position among its siblings, this parameter is omitted. The task set as previous must exist in the task list and can not be hidden. Optional.", "location": "query", "type": "string" }, @@ -576,7 +576,7 @@ } } }, - "revision": "20240630", + "revision": "20250105", "rootUrl": "https://tasks.googleapis.com/", "schemas": { "AssignmentInfo": { diff --git a/tasks/v1/tasks-gen.go b/tasks/v1/tasks-gen.go index d3b9e55a885..c78f1b8c658 100644 --- a/tasks/v1/tasks-gen.go +++ b/tasks/v1/tasks-gen.go @@ -1749,9 +1749,10 @@ func (c *TasksMoveCall) DestinationTasklist(destinationTasklist string) *TasksMo } // Parent sets the optional parameter "parent": New parent task identifier. If -// the task is moved to the top level, this parameter is omitted. Assigned -// tasks can not be set as parent task (have subtasks) or be moved under a -// parent task (become subtasks). +// the task is moved to the top level, this parameter is omitted. The task set +// as parent must exist in the task list and can not be hidden. Assigned tasks +// can not be set as parent task (have subtasks) or be moved under a parent +// task (become subtasks). func (c *TasksMoveCall) Parent(parent string) *TasksMoveCall { c.urlParams_.Set("parent", parent) return c @@ -1759,7 +1760,8 @@ func (c *TasksMoveCall) Parent(parent string) *TasksMoveCall { // Previous sets the optional parameter "previous": New previous sibling task // identifier. If the task is moved to the first position among its siblings, -// this parameter is omitted. +// this parameter is omitted. The task set as previous must exist in the task +// list and can not be hidden. func (c *TasksMoveCall) Previous(previous string) *TasksMoveCall { c.urlParams_.Set("previous", previous) return c