diff --git a/appengine/v1/appengine-api.json b/appengine/v1/appengine-api.json index ab0e8f3005..848d9223ea 100644 --- a/appengine/v1/appengine-api.json +++ b/appengine/v1/appengine-api.json @@ -1712,6 +1712,53 @@ } }, "services": { + "methods": { + "delete": { + "description": "Deletes the specified service and all enclosed versions.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", + "httpMethod": "DELETE", + "id": "appengine.projects.locations.applications.services.delete", + "parameterOrder": [ + "projectsId", + "locationsId", + "applicationsId", + "servicesId" + ], + "parameters": { + "applicationsId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + }, + "locationsId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + }, + "projectsId": { + "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.", + "location": "path", + "required": true, + "type": "string" + }, + "servicesId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "versions": { "methods": { @@ -1778,7 +1825,7 @@ } } }, - "revision": "20241118", + "revision": "20241205", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { diff --git a/appengine/v1/appengine-gen.go b/appengine/v1/appengine-gen.go index aef05d5d72..f9a3199de5 100644 --- a/appengine/v1/appengine-gen.go +++ b/appengine/v1/appengine-gen.go @@ -8566,6 +8566,114 @@ func (c *ProjectsLocationsApplicationsAuthorizedDomainsListCall) Pages(ctx conte } } +type ProjectsLocationsApplicationsServicesDeleteCall struct { + s *APIService + projectsId string + locationsId string + applicationsId string + servicesId string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified service and all enclosed versions. +// +// - applicationsId: Part of `name`. See documentation of `projectsId`. +// - locationsId: Part of `name`. See documentation of `projectsId`. +// - projectsId: Part of `name`. Name of the resource requested. Example: +// apps/myapp/services/default. +// - servicesId: Part of `name`. See documentation of `projectsId`. +func (r *ProjectsLocationsApplicationsServicesService) Delete(projectsId string, locationsId string, applicationsId string, servicesId string) *ProjectsLocationsApplicationsServicesDeleteCall { + c := &ProjectsLocationsApplicationsServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.projectsId = projectsId + c.locationsId = locationsId + c.applicationsId = applicationsId + c.servicesId = servicesId + 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 *ProjectsLocationsApplicationsServicesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApplicationsServicesDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsApplicationsServicesDeleteCall) Context(ctx context.Context) *ProjectsLocationsApplicationsServicesDeleteCall { + 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 *ProjectsLocationsApplicationsServicesDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApplicationsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "projectsId": c.projectsId, + "locationsId": c.locationsId, + "applicationsId": c.applicationsId, + "servicesId": c.servicesId, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "appengine.projects.locations.applications.services.delete" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsApplicationsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type ProjectsLocationsApplicationsServicesVersionsDeleteCall struct { s *APIService projectsId string diff --git a/appengine/v1beta/appengine-api.json b/appengine/v1beta/appengine-api.json index c0a75bb1a6..d5a7ad1ea6 100644 --- a/appengine/v1beta/appengine-api.json +++ b/appengine/v1beta/appengine-api.json @@ -1819,6 +1819,53 @@ } }, "services": { + "methods": { + "delete": { + "description": "Deletes the specified service and all enclosed versions.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", + "httpMethod": "DELETE", + "id": "appengine.projects.locations.applications.services.delete", + "parameterOrder": [ + "projectsId", + "locationsId", + "applicationsId", + "servicesId" + ], + "parameters": { + "applicationsId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + }, + "locationsId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + }, + "projectsId": { + "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.", + "location": "path", + "required": true, + "type": "string" + }, + "servicesId": { + "description": "Part of `name`. See documentation of `projectsId`.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, "resources": { "versions": { "methods": { @@ -1978,7 +2025,7 @@ } } }, - "revision": "20241118", + "revision": "20241205", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { diff --git a/appengine/v1beta/appengine-gen.go b/appengine/v1beta/appengine-gen.go index b3efb0fb75..9293e77a5f 100644 --- a/appengine/v1beta/appengine-gen.go +++ b/appengine/v1beta/appengine-gen.go @@ -8957,6 +8957,114 @@ func (c *ProjectsLocationsApplicationsAuthorizedDomainsListCall) Pages(ctx conte } } +type ProjectsLocationsApplicationsServicesDeleteCall struct { + s *APIService + projectsId string + locationsId string + applicationsId string + servicesId string + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// Delete: Deletes the specified service and all enclosed versions. +// +// - applicationsId: Part of `name`. See documentation of `projectsId`. +// - locationsId: Part of `name`. See documentation of `projectsId`. +// - projectsId: Part of `name`. Name of the resource requested. Example: +// apps/myapp/services/default. +// - servicesId: Part of `name`. See documentation of `projectsId`. +func (r *ProjectsLocationsApplicationsServicesService) Delete(projectsId string, locationsId string, applicationsId string, servicesId string) *ProjectsLocationsApplicationsServicesDeleteCall { + c := &ProjectsLocationsApplicationsServicesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.projectsId = projectsId + c.locationsId = locationsId + c.applicationsId = applicationsId + c.servicesId = servicesId + 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 *ProjectsLocationsApplicationsServicesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsApplicationsServicesDeleteCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsApplicationsServicesDeleteCall) Context(ctx context.Context) *ProjectsLocationsApplicationsServicesDeleteCall { + 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 *ProjectsLocationsApplicationsServicesDeleteCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsApplicationsServicesDeleteCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("DELETE", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "projectsId": c.projectsId, + "locationsId": c.locationsId, + "applicationsId": c.applicationsId, + "servicesId": c.servicesId, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "appengine.projects.locations.applications.services.delete" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsApplicationsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type ProjectsLocationsApplicationsServicesVersionsDeleteCall struct { s *APIService projectsId string diff --git a/compute/v0.beta/compute-api.json b/compute/v0.beta/compute-api.json index 804d7580f5..4100e34f71 100644 --- a/compute/v0.beta/compute-api.json +++ b/compute/v0.beta/compute-api.json @@ -1839,6 +1839,41 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getEffectiveSecurityPolicies": { + "description": "Returns effective security policies applied to this backend service.", + "flatPath": "projects/{project}/global/backendServices/{backendService}/getEffectiveSecurityPolicies", + "httpMethod": "GET", + "id": "compute.backendServices.getEffectiveSecurityPolicies", + "parameterOrder": [ + "project", + "backendService" + ], + "parameters": { + "backendService": { + "description": "Name of the Backend Service for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "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/backendServices/{backendService}/getEffectiveSecurityPolicies", + "response": { + "$ref": "BackendServicesGetEffectiveSecurityPoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "getHealth": { "description": "Gets the most recent health check results for this BackendService. Example request body: { \"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\" }", "flatPath": "projects/{project}/global/backendServices/{backendService}/getHealth", @@ -11362,6 +11397,11 @@ "required": true, "type": "string" }, + "noGracefulShutdown": { + "description": "If set to true, Graceful Shutdown is skipped.", + "location": "query", + "type": "boolean" + }, "project": { "description": "Project ID for this request.", "location": "path", @@ -11842,7 +11882,7 @@ "type": "string" }, "start": { - "description": "Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.", + "description": "Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console. Note that the negative start is bounded by the retained buffer size, and the returned serial console output will not exceed the max buffer size.", "format": "int64", "location": "query", "type": "string" @@ -13366,6 +13406,11 @@ "required": true, "type": "string" }, + "noGracefulShutdown": { + "description": "If set to true, Graceful Shutdown is skipped.", + "location": "query", + "type": "boolean" + }, "project": { "description": "Project ID for this request.", "location": "path", @@ -30083,6 +30128,56 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "setLabels": { + "description": "Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation.", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{resource}/setLabels", + "httpMethod": "POST", + "id": "compute.regionSecurityPolicies.setLabels", + "parameterOrder": [ + "project", + "region", + "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" + }, + "region": { + "description": "The region for this request.", + "location": "path", + "pattern": "[a-z](?:[-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).", + "location": "query", + "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}/regions/{region}/securityPolicies/{resource}/setLabels", + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -42695,7 +42790,7 @@ } } }, - "revision": "20241112", + "revision": "20241201", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -42846,6 +42941,7 @@ "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", @@ -42882,6 +42978,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -42906,6 +43003,7 @@ "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.", @@ -42998,6 +43096,7 @@ "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", @@ -43034,6 +43133,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -43058,6 +43158,7 @@ "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.", @@ -43132,6 +43233,7 @@ "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", @@ -43168,6 +43270,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -43192,6 +43295,7 @@ "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.", @@ -43533,6 +43637,7 @@ "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", @@ -43569,6 +43674,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -43593,6 +43699,7 @@ "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.", @@ -43685,6 +43792,7 @@ "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", @@ -43721,6 +43829,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -43745,6 +43854,7 @@ "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.", @@ -43819,6 +43929,7 @@ "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", @@ -43855,6 +43966,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -43879,6 +43991,7 @@ "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.", @@ -44695,6 +44808,7 @@ "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", @@ -44731,6 +44845,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -44755,6 +44870,7 @@ "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.", @@ -44847,6 +44963,7 @@ "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", @@ -44883,6 +45000,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -44907,6 +45025,7 @@ "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.", @@ -45039,6 +45158,7 @@ "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", @@ -45075,6 +45195,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -45099,6 +45220,7 @@ "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.", @@ -45542,7 +45664,7 @@ "description": "The CacheKeyPolicy for this CdnPolicy." }, "cacheMode": { - "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", + "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.", "enum": [ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", @@ -45711,6 +45833,7 @@ "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", @@ -45747,6 +45870,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -45771,6 +45895,7 @@ "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.", @@ -46081,6 +46206,7 @@ "description": "The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.", "enum": [ "GRPC", + "H2C", "HTTP", "HTTP2", "HTTPS", @@ -46091,6 +46217,7 @@ ], "enumDescriptions": [ "gRPC (available for Traffic Director).", + "HTTP2 over cleartext", "", "HTTP/2 with SSL.", "", @@ -46239,6 +46366,7 @@ "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", @@ -46275,6 +46403,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -46299,6 +46428,7 @@ "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.", @@ -46352,7 +46482,7 @@ "description": "The CacheKeyPolicy for this CdnPolicy." }, "cacheMode": { - "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", + "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.", "enum": [ "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", @@ -46646,6 +46776,7 @@ "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", @@ -46682,6 +46813,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -46706,6 +46838,7 @@ "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.", @@ -46798,6 +46931,7 @@ "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", @@ -46834,6 +46968,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -46858,6 +46993,7 @@ "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.", @@ -47012,6 +47148,19 @@ }, "type": "object" }, + "BackendServicesGetEffectiveSecurityPoliciesResponse": { + "id": "BackendServicesGetEffectiveSecurityPoliciesResponse", + "properties": { + "securityPolicies": { + "description": "Effective security policies for the backend service.", + "items": { + "$ref": "SecurityPolicy" + }, + "type": "array" + } + }, + "type": "object" + }, "BackendServicesScopedList": { "id": "BackendServicesScopedList", "properties": { @@ -47049,6 +47198,7 @@ "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", @@ -47085,6 +47235,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -47109,6 +47260,7 @@ "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.", @@ -47878,6 +48030,9 @@ "GRAPHICS_OPTIMIZED", "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", + "MEMORY_OPTIMIZED_X4_16TB", + "MEMORY_OPTIMIZED_X4_24TB", + "MEMORY_OPTIMIZED_X4_32TB", "STORAGE_OPTIMIZED_Z3", "TYPE_UNSPECIFIED" ], @@ -47902,6 +48057,9 @@ "", "", "", + "", + "", + "", "" ], "type": "string" @@ -47971,6 +48129,7 @@ "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", @@ -48007,6 +48166,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -48031,6 +48191,7 @@ "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.", @@ -48123,6 +48284,7 @@ "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", @@ -48159,6 +48321,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -48183,6 +48346,7 @@ "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.", @@ -48268,6 +48432,7 @@ "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", @@ -48304,6 +48469,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -48328,6 +48494,7 @@ "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.", @@ -49012,6 +49179,7 @@ "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", @@ -49048,6 +49216,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -49072,6 +49241,7 @@ "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.", @@ -49236,6 +49406,7 @@ "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", @@ -49272,6 +49443,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -49296,6 +49468,7 @@ "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.", @@ -49519,6 +49692,7 @@ "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", @@ -49555,6 +49729,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -49579,6 +49754,7 @@ "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.", @@ -49671,6 +49847,7 @@ "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", @@ -49707,6 +49884,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -49731,6 +49909,7 @@ "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.", @@ -49805,6 +49984,7 @@ "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", @@ -49841,6 +50021,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -49865,6 +50046,7 @@ "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.", @@ -49976,6 +50158,7 @@ "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", @@ -50012,6 +50195,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -50036,6 +50220,7 @@ "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.", @@ -50280,6 +50465,7 @@ "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", @@ -50316,6 +50502,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -50340,6 +50527,7 @@ "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.", @@ -50550,6 +50738,7 @@ "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", @@ -50586,6 +50775,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -50610,6 +50800,7 @@ "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.", @@ -50883,6 +51074,7 @@ "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", @@ -50919,6 +51111,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -50943,6 +51136,7 @@ "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.", @@ -51185,6 +51379,7 @@ "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", @@ -51221,6 +51416,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -51245,6 +51441,7 @@ "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.", @@ -51890,6 +52087,7 @@ "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", @@ -51926,6 +52124,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -51950,6 +52149,7 @@ "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.", @@ -52042,6 +52242,7 @@ "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", @@ -52078,6 +52279,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -52102,6 +52304,7 @@ "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.", @@ -52204,6 +52407,7 @@ "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", @@ -52240,6 +52444,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -52264,6 +52469,7 @@ "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.", @@ -52338,29 +52544,11 @@ "description": "An optional description of this resource. Provide this property when you create the future reservation.", "type": "string" }, - "enableOpportunisticMaintenance": { - "description": "Indicates if this group of VMs have opportunistic maintenance enabled. This will be set on the FR by customers, and will be used for reservation and reservation block maintenance .", - "type": "boolean" - }, "id": { "description": "[Output Only] A unique identifier for this future reservation. The server defines this identifier.", "format": "uint64", "type": "string" }, - "instanceTerminationAction": { - "description": "Action to take during reservation termination.", - "enum": [ - "DELETE", - "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", - "STOP" - ], - "enumDescriptions": [ - "Delete the VM.", - "Default value. This value is unused.", - "Stop the VM without storing in-memory content. default action." - ], - "type": "string" - }, "kind": { "default": "compute#futureReservation", "description": "[Output Only] Type of the resource. Always compute#futureReservation for future reservations.", @@ -52738,6 +52926,7 @@ "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", @@ -52774,6 +52963,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -52798,6 +52988,7 @@ "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.", @@ -52899,6 +53090,7 @@ "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", @@ -52935,6 +53127,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -52959,6 +53152,7 @@ "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.", @@ -53033,6 +53227,7 @@ "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", @@ -53069,6 +53264,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -53093,6 +53289,7 @@ "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.", @@ -53269,10 +53466,6 @@ "description": "Maintenance Info for ReservationBlocks.", "id": "GroupMaintenanceInfo", "properties": { - "enableOpportunisticMaintenance": { - "description": "This setting enables or disables opportunistic maintenance. If enabled, maintenance is performed on unused reservations whenever possible.", - "type": "boolean" - }, "maintenanceOngoingCount": { "description": "Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.", "format": "int32", @@ -53732,6 +53925,7 @@ "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", @@ -53768,6 +53962,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -53792,6 +53987,7 @@ "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.", @@ -54003,6 +54199,7 @@ "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", @@ -54039,6 +54236,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -54063,6 +54261,7 @@ "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.", @@ -54162,6 +54361,7 @@ "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", @@ -54198,6 +54398,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -54222,6 +54423,7 @@ "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.", @@ -54296,6 +54498,7 @@ "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", @@ -54332,6 +54535,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -54356,6 +54560,7 @@ "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.", @@ -54859,6 +55064,7 @@ "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", @@ -54895,6 +55101,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -54919,6 +55126,7 @@ "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.", @@ -55132,15 +55340,15 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction." + "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction." }, "service": { - "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", + "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set.", "type": "string" }, "urlRedirect": { "$ref": "HttpRedirectAction", - "description": "When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy." + "description": "When this rule is matched, the request is redirected to a URL specified by urlRedirect. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. Not supported when the URL map is bound to a target gRPC proxy." } }, "type": "object" @@ -55315,6 +55523,7 @@ "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", @@ -55351,6 +55560,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -55375,6 +55585,7 @@ "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.", @@ -55714,6 +55925,7 @@ "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", @@ -55750,6 +55962,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -55774,6 +55987,7 @@ "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.", @@ -56096,6 +56310,7 @@ "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.", "enum": [ "DEPROVISIONING", + "PENDING_STOP", "PROVISIONING", "REPAIRING", "RUNNING", @@ -56108,6 +56323,7 @@ ], "enumDescriptions": [ "The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.", + "The instance is gracefully shutting down.", "Resources are being allocated for the instance.", "The instance is in repair.", "The instance is running.", @@ -56197,6 +56413,7 @@ "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", @@ -56233,6 +56450,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -56257,6 +56475,7 @@ "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.", @@ -56468,6 +56687,7 @@ "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", @@ -56504,6 +56724,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -56528,6 +56749,7 @@ "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.", @@ -56620,6 +56842,7 @@ "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", @@ -56656,6 +56879,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -56680,6 +56904,7 @@ "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.", @@ -57048,6 +57273,7 @@ "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", @@ -57084,6 +57310,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -57108,6 +57335,7 @@ "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.", @@ -57308,6 +57536,7 @@ "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", @@ -57344,6 +57573,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -57368,6 +57598,7 @@ "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.", @@ -57687,6 +57918,7 @@ "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", @@ -57723,6 +57955,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -57747,6 +57980,7 @@ "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.", @@ -58184,6 +58418,7 @@ "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", @@ -58220,6 +58455,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -58244,6 +58480,7 @@ "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.", @@ -58373,6 +58610,7 @@ "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", @@ -58409,6 +58647,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -58433,6 +58672,7 @@ "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.", @@ -58638,6 +58878,7 @@ "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", @@ -58674,6 +58915,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -58698,6 +58940,7 @@ "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.", @@ -58803,6 +59046,7 @@ "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", @@ -58839,6 +59083,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -58863,6 +59108,7 @@ "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.", @@ -58973,6 +59219,7 @@ "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", @@ -59009,6 +59256,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -59033,6 +59281,7 @@ "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.", @@ -59125,6 +59374,7 @@ "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", @@ -59161,6 +59411,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -59185,6 +59436,7 @@ "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.", @@ -59680,6 +59932,7 @@ "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", @@ -59716,6 +59969,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -59740,6 +59994,7 @@ "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.", @@ -59832,6 +60087,7 @@ "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", @@ -59868,6 +60124,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -59892,6 +60149,7 @@ "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.", @@ -59966,6 +60224,7 @@ "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", @@ -60002,6 +60261,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -60026,6 +60286,7 @@ "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.", @@ -60081,6 +60342,7 @@ "description": "[Output Only] The status of the instance.", "enum": [ "DEPROVISIONING", + "PENDING_STOP", "PROVISIONING", "REPAIRING", "RUNNING", @@ -60093,6 +60355,7 @@ ], "enumDescriptions": [ "The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.", + "The instance is gracefully shutting down.", "Resources are being allocated for the instance.", "The instance is in repair.", "The instance is running.", @@ -60173,6 +60436,13 @@ "description": "[Output Only] The name of the firewall policy.", "type": "string" }, + "packetMirroringRules": { + "description": "[Output Only] The packet mirroring rules that apply to the instance.", + "items": { + "$ref": "FirewallPolicyRule" + }, + "type": "array" + }, "priority": { "description": "[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.", "format": "int32", @@ -60298,6 +60568,7 @@ "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", @@ -60334,6 +60605,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -60358,6 +60630,7 @@ "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.", @@ -60684,6 +60957,7 @@ "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", @@ -60720,6 +60994,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -60744,6 +61019,7 @@ "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.", @@ -60836,6 +61112,7 @@ "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", @@ -60872,6 +61149,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -60896,6 +61174,7 @@ "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.", @@ -60981,6 +61260,7 @@ "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", @@ -61017,6 +61297,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -61041,6 +61322,7 @@ "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.", @@ -61721,6 +62003,7 @@ "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", @@ -61757,6 +62040,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -61781,6 +62065,7 @@ "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.", @@ -61914,6 +62199,7 @@ "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", @@ -61950,6 +62236,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -61974,6 +62261,7 @@ "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.", @@ -62079,6 +62367,7 @@ "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", @@ -62115,6 +62404,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -62139,6 +62429,7 @@ "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.", @@ -62432,6 +62723,7 @@ "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", @@ -62468,6 +62760,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -62492,6 +62785,7 @@ "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.", @@ -62542,7 +62836,7 @@ "type": "string" }, "availableFeatures": { - "description": "[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - MACSEC ", + "description": "[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - IF_MACSEC ", "items": { "enum": [ "IF_MACSEC" @@ -62720,6 +63014,7 @@ "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", @@ -62756,6 +63051,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -62780,6 +63076,7 @@ "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.", @@ -63224,6 +63521,7 @@ "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", @@ -63260,6 +63558,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -63284,6 +63583,7 @@ "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.", @@ -63397,7 +63697,8 @@ "type": "string" }, "resourceRequirements": { - "$ref": "LicenseResourceRequirements" + "$ref": "LicenseResourceRequirements", + "description": "[Input Only] Deprecated." }, "selfLink": { "description": "[Output Only] Server-defined URL for the resource.", @@ -63516,12 +63817,12 @@ "id": "LicenseResourceRequirements", "properties": { "minGuestCpuCount": { - "description": "Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.", + "description": "[Input Only] Deprecated. This field no longer reflects the minimum number of guest cpus required to use the Instance.", "format": "int32", "type": "integer" }, "minMemoryMb": { - "description": "Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.", + "description": "[Input Only] Deprecated. This field no longer reflects the minimum memory required to use the Instance.", "format": "int32", "type": "integer" } @@ -63577,6 +63878,7 @@ "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", @@ -63613,6 +63915,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -63637,6 +63940,7 @@ "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.", @@ -63940,6 +64244,7 @@ "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", @@ -63976,6 +64281,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -64000,6 +64306,7 @@ "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.", @@ -64201,6 +64508,7 @@ "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", @@ -64237,6 +64545,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -64261,6 +64570,7 @@ "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.", @@ -64353,6 +64663,7 @@ "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", @@ -64389,6 +64700,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -64413,6 +64725,7 @@ "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.", @@ -64487,6 +64800,7 @@ "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", @@ -64523,6 +64837,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -64547,6 +64862,7 @@ "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.", @@ -64646,6 +64962,7 @@ "description": "[Output Only] The status of the instance. This field is empty when the instance does not exist.", "enum": [ "DEPROVISIONING", + "PENDING_STOP", "PROVISIONING", "REPAIRING", "RUNNING", @@ -64658,6 +64975,7 @@ ], "enumDescriptions": [ "The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.", + "The instance is gracefully shutting down.", "Resources are being allocated for the instance.", "The instance is in repair.", "The instance is running.", @@ -64817,10 +65135,12 @@ "provisioningModel": { "description": "The provisioning model to be used for this instance.", "enum": [ + "RESERVATION_BOUND", "SPOT", "STANDARD" ], "enumDescriptions": [ + "Bound to the lifecycle of the reservation in which it is provisioned.", "Heavily discounted, no guaranteed runtime.", "Standard provisioning with user controlled runtime, no discounts." ], @@ -64977,9 +65297,11 @@ "type": "object" }, "MultiMigResourcePolicies": { + "description": "Resource policies message for a multi-MIG. Specifies the workload policy configuration of the multi-MIG.", "id": "MultiMigResourcePolicies", "properties": { "workloadPolicy": { + "description": "The URL of the workload policy for this multi-MIG. It can be a full or partial URL. For example, the following are all valid URLs to a workload policy: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy ", "type": "string" } }, @@ -65049,6 +65371,7 @@ "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", @@ -65085,6 +65408,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -65109,6 +65433,7 @@ "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.", @@ -65305,7 +65630,7 @@ "type": "string" }, "networkProfile": { - "description": "A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name} ", + "description": "A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs: - https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name} - projects/{project_id}/global/networkProfiles/{network_profile_name} ", "type": "string" }, "peerings": { @@ -65489,6 +65814,7 @@ "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", @@ -65525,6 +65851,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -65549,6 +65876,7 @@ "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.", @@ -65693,6 +66021,7 @@ "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", @@ -65729,6 +66058,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -65753,6 +66083,7 @@ "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.", @@ -65827,6 +66158,7 @@ "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", @@ -65863,6 +66195,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -65887,6 +66220,7 @@ "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.", @@ -66040,6 +66374,7 @@ "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", @@ -66076,6 +66411,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -66100,6 +66436,7 @@ "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.", @@ -66174,6 +66511,7 @@ "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", @@ -66210,6 +66548,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -66234,6 +66573,7 @@ "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.", @@ -66491,6 +66831,7 @@ "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", @@ -66527,6 +66868,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -66551,6 +66893,7 @@ "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.", @@ -66723,6 +67066,7 @@ "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", @@ -66759,6 +67103,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -66783,6 +67128,7 @@ "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.", @@ -66994,6 +67340,7 @@ "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", @@ -67030,6 +67377,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -67054,6 +67402,7 @@ "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.", @@ -67128,6 +67477,7 @@ "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", @@ -67164,6 +67514,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -67188,6 +67539,7 @@ "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.", @@ -67415,6 +67767,7 @@ "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", @@ -67451,6 +67804,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -67475,6 +67829,7 @@ "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.", @@ -67627,6 +67982,10 @@ "description": "[Output Only] Type of the resource. Always compute#networkProfile for network profiles.", "type": "string" }, + "location": { + "$ref": "NetworkProfileLocation", + "description": "[Output Only] Location to which the network is restricted." + }, "name": { "description": "[Output Only] Name of the resource.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", @@ -67647,6 +68006,26 @@ }, "type": "object" }, + "NetworkProfileLocation": { + "id": "NetworkProfileLocation", + "properties": { + "name": { + "type": "string" + }, + "scope": { + "enum": [ + "REGION", + "ZONE" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "NetworkProfileNetworkFeatures": { "id": "NetworkProfileNetworkFeatures", "properties": { @@ -68016,6 +68395,7 @@ "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", @@ -68052,6 +68432,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -68076,6 +68457,7 @@ "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.", @@ -68145,6 +68527,22 @@ ], "type": "string" }, + "effectiveBgpAlwaysCompareMed": { + "description": "[Output Only] Effective value of the bgp_always_compare_med field.", + "type": "boolean" + }, + "effectiveBgpInterRegionCost": { + "description": "[Output Only] Effective value of the bgp_inter_region_cost field.", + "enum": [ + "ADD_COST_TO_MED", + "DEFAULT" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "routingMode": { "description": "The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.", "enum": [ @@ -68226,6 +68624,13 @@ "description": "[Output Only] The name of the firewall policy.", "type": "string" }, + "packetMirroringRules": { + "description": "[Output Only] The packet mirroring rules that apply to the network.", + "items": { + "$ref": "FirewallPolicyRule" + }, + "type": "array" + }, "priority": { "description": "[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.", "format": "int32", @@ -68471,6 +68876,7 @@ "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", @@ -68507,6 +68913,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -68531,6 +68938,7 @@ "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.", @@ -68655,6 +69063,7 @@ "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", @@ -68691,6 +69100,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -68715,6 +69125,7 @@ "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.", @@ -68942,6 +69353,7 @@ "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", @@ -68978,6 +69390,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -69002,6 +69415,7 @@ "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.", @@ -69093,6 +69507,7 @@ "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", @@ -69129,6 +69544,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -69153,6 +69569,7 @@ "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.", @@ -69377,6 +69794,7 @@ "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", @@ -69413,6 +69831,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -69437,6 +69856,7 @@ "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.", @@ -69529,6 +69949,7 @@ "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", @@ -69565,6 +69986,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -69589,6 +70011,7 @@ "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.", @@ -69678,6 +70101,7 @@ "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", @@ -69714,6 +70138,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -69738,6 +70163,7 @@ "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.", @@ -69898,6 +70324,7 @@ "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", @@ -69934,6 +70361,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -69958,6 +70386,7 @@ "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.", @@ -70050,6 +70479,7 @@ "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", @@ -70086,6 +70516,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -70110,6 +70541,7 @@ "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.", @@ -70184,6 +70616,7 @@ "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", @@ -70220,6 +70653,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -70244,6 +70678,7 @@ "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.", @@ -70405,6 +70840,7 @@ "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", @@ -70441,6 +70877,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -70465,6 +70902,7 @@ "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.", @@ -70688,6 +71126,7 @@ "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", @@ -70724,6 +71163,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -70748,6 +71188,7 @@ "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.", @@ -70853,6 +71294,7 @@ "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", @@ -70889,6 +71331,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -70913,6 +71356,7 @@ "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.", @@ -71005,6 +71449,7 @@ "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", @@ -71041,6 +71486,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -71065,6 +71511,7 @@ "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.", @@ -71139,6 +71586,7 @@ "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", @@ -71175,6 +71623,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -71199,6 +71648,7 @@ "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.", @@ -71517,6 +71967,7 @@ "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", @@ -71553,6 +72004,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -71577,6 +72029,7 @@ "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.", @@ -71717,6 +72170,7 @@ "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", @@ -71753,6 +72207,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -71777,6 +72232,7 @@ "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.", @@ -71920,6 +72376,7 @@ "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", @@ -71956,6 +72413,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -71980,6 +72438,7 @@ "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.", @@ -72046,15 +72505,15 @@ }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. If defaultRouteAction is specified, don't set defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is specified, don't set defaultService. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction." + "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. Only one of defaultUrlRedirect, defaultService or defaultRouteAction.weightedBackendService can be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction." }, "defaultService": { - "description": "The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. Don't set both. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use ", + "description": "The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. Only one of defaultUrlRedirect, defaultService or defaultRouteAction.weightedBackendService can be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use ", "type": "string" }, "defaultUrlRedirect": { "$ref": "HttpRedirectAction", - "description": "When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, then set either defaultService or defaultRouteAction. Don't set both. Not supported when the URL map is bound to a target gRPC proxy." + "description": "When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. Only one of defaultUrlRedirect, defaultService or defaultRouteAction.weightedBackendService can be set. Not supported when the URL map is bound to a target gRPC proxy." }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", @@ -72102,15 +72561,15 @@ }, "routeAction": { "$ref": "HttpRouteAction", - "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction." + "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction." }, "service": { - "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", + "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. Only one of urlRedirect, service or routeAction.weightedBackendService can be set.", "type": "string" }, "urlRedirect": { "$ref": "HttpRedirectAction", - "description": "When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy." + "description": "When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. Only one of urlRedirect, service or routeAction.weightedBackendService can be set. Not supported when the URL map is bound to a target gRPC proxy." } }, "type": "object" @@ -72124,7 +72583,7 @@ "type": "string" }, "name": { - "description": "The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.", + "description": "The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configuration for a VM instance that either doesn't exist or is not part of the group will result in an error.", "type": "string" }, "preservedState": { @@ -72354,7 +72813,7 @@ "type": "string" }, "enabledFeatures": { - "description": "Restricted features enabled for use on this project.", + "description": "An optional list of restricted features enabled for use on this project.", "items": { "type": "string" }, @@ -72401,7 +72860,7 @@ }, "usageExportLocation": { "$ref": "UsageExportLocation", - "description": "The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored." + "description": "An optional naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored." }, "vmDnsSetting": { "description": "[Output Only] Default internal DNS setting used by VMs running in this project.", @@ -72717,6 +73176,7 @@ "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", @@ -72753,6 +73213,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -72777,6 +73238,7 @@ "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.", @@ -72897,11 +73359,13 @@ "description": "The public delegated prefix mode for IPv6 only.", "enum": [ "DELEGATION", - "EXTERNAL_IPV6_FORWARDING_RULE_CREATION" + "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", + "EXTERNAL_IPV6_SUBNETWORK_CREATION" ], "enumDescriptions": [ "The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.", - "The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes." + "The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.", + "The public delegated prefix is used for creating dual-mode subnetworks only. Such prefixes cannot set publicDelegatedSubPrefixes." ], "type": "string" }, @@ -73019,6 +73483,7 @@ "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", @@ -73055,6 +73520,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -73079,6 +73545,7 @@ "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.", @@ -73170,6 +73637,7 @@ "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", @@ -73206,6 +73674,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -73230,6 +73699,7 @@ "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.", @@ -73296,11 +73766,13 @@ "description": "The PublicDelegatedSubPrefix mode for IPv6 only.", "enum": [ "DELEGATION", - "EXTERNAL_IPV6_FORWARDING_RULE_CREATION" + "EXTERNAL_IPV6_FORWARDING_RULE_CREATION", + "EXTERNAL_IPV6_SUBNETWORK_CREATION" ], "enumDescriptions": [ "The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.", - "The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes." + "The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.", + "The public delegated prefix is used for creating dual-mode subnetworks only. Such prefixes cannot set publicDelegatedSubPrefixes." ], "type": "string" }, @@ -73364,6 +73836,7 @@ "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", @@ -73400,6 +73873,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -73424,6 +73898,7 @@ "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.", @@ -73945,6 +74420,7 @@ "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", @@ -73981,6 +74457,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -74005,6 +74482,7 @@ "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.", @@ -74145,6 +74623,7 @@ "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", @@ -74181,6 +74660,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -74205,6 +74685,7 @@ "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.", @@ -74309,6 +74790,7 @@ "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", @@ -74345,6 +74827,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -74369,6 +74852,7 @@ "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.", @@ -74508,6 +74992,7 @@ "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", @@ -74544,6 +75029,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -74568,6 +75054,7 @@ "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.", @@ -74674,6 +75161,7 @@ "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", @@ -74710,6 +75198,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -74734,6 +75223,7 @@ "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.", @@ -74849,6 +75339,7 @@ "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", @@ -74885,6 +75376,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -74909,6 +75401,7 @@ "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.", @@ -75112,6 +75605,7 @@ "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", @@ -75148,6 +75642,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -75172,6 +75667,7 @@ "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.", @@ -75408,6 +75904,7 @@ "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", @@ -75444,6 +75941,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -75468,6 +75966,7 @@ "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.", @@ -75601,6 +76100,7 @@ "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", @@ -75637,6 +76137,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -75661,6 +76162,7 @@ "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.", @@ -75755,6 +76257,13 @@ "description": "[Output Only] The name of the firewall policy.", "type": "string" }, + "packetMirroringRules": { + "description": "[Output only] The packet mirroring rules that apply to the network.", + "items": { + "$ref": "FirewallPolicyRule" + }, + "type": "array" + }, "priority": { "description": "[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.", "format": "int32", @@ -75916,20 +76425,6 @@ "format": "uint64", "type": "string" }, - "instanceTerminationAction": { - "description": "Instance termination action is invoked when the reservation is deleted. This only applies to reservations with a Deployment type.", - "enum": [ - "DELETE", - "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", - "STOP" - ], - "enumDescriptions": [ - "Delete the VM.", - "Default value. This value is unused.", - "Stop the VM without storing in-memory content. default action." - ], - "type": "string" - }, "kind": { "default": "compute#reservation", "description": "[Output Only] Type of the resource. Always compute#reservations for reservations.", @@ -76106,6 +76601,7 @@ "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", @@ -76142,6 +76638,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -76166,6 +76663,7 @@ "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.", @@ -76352,6 +76850,7 @@ "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", @@ -76388,6 +76887,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -76412,6 +76912,7 @@ "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.", @@ -76503,6 +77004,7 @@ "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", @@ -76539,6 +77041,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -76563,6 +77066,7 @@ "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.", @@ -76648,6 +77152,7 @@ "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", @@ -76684,6 +77189,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -76708,6 +77214,7 @@ "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.", @@ -76826,6 +77333,7 @@ "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", @@ -76862,6 +77370,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -76886,6 +77395,7 @@ "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.", @@ -77071,6 +77581,7 @@ "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", @@ -77107,6 +77618,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -77131,6 +77643,7 @@ "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.", @@ -77352,6 +77865,7 @@ "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", @@ -77388,6 +77902,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -77412,6 +77927,7 @@ "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.", @@ -77639,18 +78155,49 @@ "id": "ResourceStatus", "properties": { "physicalHost": { - "description": "[Output Only] An opaque ID of the host on which the VM is running.", + "description": "[Output Only] The precise location of your instance within the zone's data center, including the block, sub-block, and host. The field is formatted as follows: blockId/subBlockId/hostId.", "type": "string" }, + "physicalHostTopology": { + "$ref": "ResourceStatusPhysicalHostTopology", + "description": "[Output Only] A series of fields containing the global name of the Compute Engine cluster, as well as the ID of the block, sub-block, and host on which the running instance is located." + }, "scheduling": { "$ref": "ResourceStatusScheduling" }, + "shutdownDetails": { + "$ref": "ResourceStatusShutdownDetails", + "description": "[Output Only] Details about the instance stopping state." + }, "upcomingMaintenance": { "$ref": "UpcomingMaintenance" } }, "type": "object" }, + "ResourceStatusPhysicalHostTopology": { + "description": "Represents the physical host topology of the host on which the VM is running.", + "id": "ResourceStatusPhysicalHostTopology", + "properties": { + "block": { + "description": "[Output Only] The ID of the block in which the running instance is located. Instances within the same block experience low network latency.", + "type": "string" + }, + "cluster": { + "description": "[Output Only] The global name of the Compute Engine cluster where the running instance is located.", + "type": "string" + }, + "host": { + "description": "[Output Only] The ID of the host on which the running instance is located. Instances on the same host experience the lowest possible network latency.", + "type": "string" + }, + "subblock": { + "description": "[Output Only] The ID of the sub-block in which the running instance is located. Instances in the same sub-block experience lower network latency than instances in the same block.", + "type": "string" + } + }, + "type": "object" + }, "ResourceStatusScheduling": { "id": "ResourceStatusScheduling", "properties": { @@ -77666,6 +78213,40 @@ }, "type": "object" }, + "ResourceStatusShutdownDetails": { + "id": "ResourceStatusShutdownDetails", + "properties": { + "maxDuration": { + "$ref": "Duration" + }, + "requestTimestamp": { + "type": "string" + }, + "stopState": { + "enum": [ + "PENDING_STOP", + "STOPPING" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, + "targetState": { + "enum": [ + "DELETED", + "STOPPED" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "RolloutPolicy": { "description": "A rollout policy configuration.", "id": "RolloutPolicy", @@ -77887,6 +78468,7 @@ "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", @@ -77923,6 +78505,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -77947,6 +78530,7 @@ "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.", @@ -78071,6 +78655,7 @@ "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", @@ -78107,6 +78692,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -78131,6 +78717,7 @@ "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.", @@ -78394,6 +78981,7 @@ "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", @@ -78430,6 +79018,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -78454,6 +79043,7 @@ "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.", @@ -78869,6 +79459,7 @@ "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", @@ -78905,6 +79496,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -78929,6 +79521,7 @@ "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.", @@ -79066,6 +79659,13 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, + "nat64Subnetworks": { + "description": "List of Subnetwork resources whose traffic should be translated by NAT64 Gateway. It is used only when LIST_OF_IPV6_SUBNETWORKS is selected for the SubnetworkIpRangeToNat64Option above.", + "items": { + "$ref": "RouterNatSubnetworkToNat64" + }, + "type": "array" + }, "natIpAllocateOption": { "description": "Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. ", "enum": [ @@ -79106,6 +79706,18 @@ ], "type": "string" }, + "sourceSubnetworkIpRangesToNat64": { + "description": "Specify the Nat option for NAT64, which can take one of the following values: - ALL_IPV6_SUBNETWORKS: All of the IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_IPV6_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field nat64_subnetwork below) The default is NAT64_OPTION_UNSPECIFIED. Note that if this field contains NAT64_ALL_V6_SUBNETWORKS no other Router.Nat section in this region can also enable NAT64 for any Subnetworks in this network. Other Router.Nat sections can still be present to enable NAT44 only.", + "enum": [ + "ALL_IPV6_SUBNETWORKS", + "LIST_OF_IPV6_SUBNETWORKS" + ], + "enumDescriptions": [ + "NAT64 is enabled for all the IPv6 subnet ranges. In dual stack subnets, NAT64 will only be enabled for IPv6-only VMs.", + "NAT64 is enabled for a list of IPv6 subnet ranges. In dual stack subnets, NAT64 will only be enabled for IPv6-only VMs. If this option is used, the nat64_subnetworks field must be specified." + ], + "type": "string" + }, "subnetworks": { "description": "A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above.", "items": { @@ -79265,6 +79877,17 @@ }, "type": "object" }, + "RouterNatSubnetworkToNat64": { + "description": "Specifies a subnetwork to enable NAT64.", + "id": "RouterNatSubnetworkToNat64", + "properties": { + "name": { + "description": "URL for the subnetwork resource that will use NAT64.", + "type": "string" + } + }, + "type": "object" + }, "RouterStatus": { "id": "RouterStatus", "properties": { @@ -79598,6 +80221,7 @@ "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", @@ -79634,6 +80258,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -79658,6 +80283,7 @@ "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.", @@ -79759,6 +80385,7 @@ "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", @@ -79795,6 +80422,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -79819,6 +80447,7 @@ "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.", @@ -79903,6 +80532,7 @@ "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", @@ -79939,6 +80569,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -79963,6 +80594,7 @@ "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.", @@ -80252,6 +80884,9 @@ "format": "int32", "type": "integer" }, + "gracefulShutdown": { + "$ref": "SchedulingGracefulShutdown" + }, "hostErrorTimeoutSeconds": { "description": "Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used.", "format": "int32", @@ -80336,10 +80971,12 @@ "provisioningModel": { "description": "Specifies the provisioning model of the instance.", "enum": [ + "RESERVATION_BOUND", "SPOT", "STANDARD" ], "enumDescriptions": [ + "Bound to the lifecycle of the reservation in which it is provisioned.", "Heavily discounted, no guaranteed runtime.", "Standard provisioning with user controlled runtime, no discounts." ], @@ -80352,6 +80989,21 @@ }, "type": "object" }, + "SchedulingGracefulShutdown": { + "description": "The configuration for gracefully shutting down the instance.", + "id": "SchedulingGracefulShutdown", + "properties": { + "enabled": { + "description": "Opts-in for graceful shutdown.", + "type": "boolean" + }, + "maxDuration": { + "$ref": "Duration", + "description": "The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state." + } + }, + "type": "object" + }, "SchedulingNodeAffinity": { "description": "Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.", "id": "SchedulingNodeAffinity", @@ -80476,6 +81128,7 @@ "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", @@ -80512,6 +81165,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -80536,6 +81190,7 @@ "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.", @@ -80619,6 +81274,7 @@ "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", @@ -80655,6 +81311,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -80679,6 +81336,7 @@ "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.", @@ -81027,6 +81685,10 @@ ], "type": "string" }, + "requestBodyInspectionSize": { + "description": "The maximum request size chosen by the customer with Waf enabled. Currently only \"8KB\" and \"128KB\" are supported. Values are case insensitive.", + "type": "string" + }, "userIpRequestHeaders": { "description": "An optional list of case-insensitive request header names to use for resolving the callers client IP address.", "items": { @@ -81160,6 +81822,7 @@ "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", @@ -81196,6 +81859,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -81220,6 +81884,7 @@ "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.", @@ -81694,7 +82359,7 @@ "type": "string" }, "enforceOnKey": { - "description": "Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if \"enforceOnKey\" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on \"userIpRequestHeaders\" configured with the security policy. If there is no \"userIpRequestHeaders\" configuration or an IP address cannot be resolved from it, the key type defaults to IP. ", + "description": "Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if \"enforceOnKey\" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on \"userIpRequestHeaders\" configured with the security policy. If there is no \"userIpRequestHeaders\" configuration or an IP address cannot be resolved from it, the key type defaults to IP. - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. ", "enum": [ "ALL", "ALL_IPS", @@ -81705,6 +82370,7 @@ "REGION_CODE", "SNI", "TLS_JA3_FINGERPRINT", + "TLS_JA4_FINGERPRINT", "USER_IP", "XFF_IP" ], @@ -81719,6 +82385,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -81732,6 +82399,7 @@ "", "", "", + "", "" ], "type": "string" @@ -81770,7 +82438,7 @@ "type": "string" }, "enforceOnKeyType": { - "description": "Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if \"enforceOnKeyConfigs\" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on \"userIpRequestHeaders\" configured with the security policy. If there is no \"userIpRequestHeaders\" configuration or an IP address cannot be resolved from it, the key type defaults to IP. ", + "description": "Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if \"enforceOnKeyConfigs\" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on \"userIpRequestHeaders\" configured with the security policy. If there is no \"userIpRequestHeaders\" configuration or an IP address cannot be resolved from it, the key type defaults to IP. - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. ", "enum": [ "ALL", "ALL_IPS", @@ -81781,6 +82449,7 @@ "REGION_CODE", "SNI", "TLS_JA3_FINGERPRINT", + "TLS_JA4_FINGERPRINT", "USER_IP", "XFF_IP" ], @@ -81795,6 +82464,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -81808,6 +82478,7 @@ "", "", "", + "", "" ], "type": "string" @@ -82177,6 +82848,7 @@ "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", @@ -82213,6 +82885,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -82237,6 +82910,7 @@ "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.", @@ -82392,6 +83066,7 @@ "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", @@ -82428,6 +83103,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -82452,6 +83128,7 @@ "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.", @@ -82559,6 +83236,7 @@ "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", @@ -82595,6 +83273,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -82619,6 +83298,7 @@ "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.", @@ -83185,6 +83865,7 @@ "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", @@ -83221,6 +83902,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -83245,6 +83927,7 @@ "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.", @@ -83603,6 +84286,7 @@ "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", @@ -83639,6 +84323,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -83663,6 +84348,7 @@ "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.", @@ -83755,6 +84441,7 @@ "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", @@ -83791,6 +84478,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -83815,6 +84503,7 @@ "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.", @@ -83963,6 +84652,7 @@ "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", @@ -83999,6 +84689,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -84023,6 +84714,7 @@ "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.", @@ -84125,6 +84817,7 @@ "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", @@ -84161,6 +84854,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -84185,6 +84879,7 @@ "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.", @@ -84276,6 +84971,7 @@ "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", @@ -84312,6 +85008,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -84336,6 +85033,7 @@ "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.", @@ -84422,6 +85120,7 @@ "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", @@ -84458,6 +85157,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -84482,6 +85182,7 @@ "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.", @@ -84631,6 +85332,7 @@ "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", @@ -84667,6 +85369,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -84691,6 +85394,7 @@ "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.", @@ -85040,6 +85744,7 @@ "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", @@ -85076,6 +85781,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -85100,6 +85806,7 @@ "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.", @@ -85278,6 +85985,7 @@ "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", @@ -85314,6 +86022,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -85338,6 +86047,7 @@ "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.", @@ -85439,6 +86149,7 @@ "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", @@ -85475,6 +86186,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -85499,6 +86211,7 @@ "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.", @@ -85734,6 +86447,7 @@ "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", @@ -85770,6 +86484,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -85794,6 +86509,7 @@ "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.", @@ -85886,6 +86602,7 @@ "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", @@ -85922,6 +86639,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -85946,6 +86664,7 @@ "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.", @@ -86020,6 +86739,7 @@ "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", @@ -86056,6 +86776,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -86080,6 +86801,7 @@ "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.", @@ -86154,6 +86876,7 @@ "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", @@ -86190,6 +86913,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -86214,6 +86938,7 @@ "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.", @@ -86310,6 +87035,10 @@ "description": "The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.", "type": "string" }, + "ipCollection": { + "description": "Reference to the source of IP, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must be a sub-PDP in EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to specify a sub-PDP when creating a dual stack subnetwork with external access using BYOIP: - Full resource URL, as in https://www.googleapis.com/compute/v1/projects/projectId/regions/region /publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - projects/projectId/regions/region/publicDelegatedPrefixes/ sub-pdp-name - regions/region/publicDelegatedPrefixes/sub-pdp-name ", + "type": "string" + }, "ipv6AccessType": { "description": "The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.", "enum": [ @@ -86326,6 +87055,18 @@ "description": "[Output Only] This field is for internal use.", "type": "string" }, + "ipv6GceEndpoint": { + "description": "[Output Only] Possible endpoints of this subnetwork. It can be one of the following: - VM_ONLY: The subnetwork can be used for creating instances and IPv6 addresses with VM endpoint type. Such a subnetwork gets external IPv6 ranges from a public delegated prefix and cannot be used to create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM instances and Forwarding Rules. It can also be used to reserve IPv6 addresses with both VM and FR endpoint types. Such a subnetwork gets its IPv6 range from Google IP Pool directly. ", + "enum": [ + "VM_AND_FR", + "VM_ONLY" + ], + "enumDescriptions": [ + "", + "" + ], + "type": "string" + }, "kind": { "default": "compute#subnetwork", "description": "[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.", @@ -86363,10 +87104,11 @@ "type": "string" }, "purpose": { - "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", + "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to PEER_MIGRATION is used for subnet migration from one peered VPC to another. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", "enum": [ "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", + "PEER_MIGRATION", "PRIVATE", "PRIVATE_NAT", "PRIVATE_RFC_1918", @@ -86376,6 +87118,7 @@ "enumDescriptions": [ "Subnet reserved for Global Envoy-based Load Balancing.", "Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.", + "Subnetwork will be used for Migration from one peered VPC to another. (a transient state of subnetwork while migrating resources from one project to another).", "Regular user created or automatically created subnet.", "Subnetwork used as source range for Private NAT Gateways.", "Regular user created or automatically created subnet.", @@ -86506,6 +87249,7 @@ "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", @@ -86542,6 +87286,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -86566,6 +87311,7 @@ "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.", @@ -86658,6 +87404,7 @@ "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", @@ -86694,6 +87441,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -86718,6 +87466,7 @@ "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.", @@ -86882,6 +87631,7 @@ "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", @@ -86918,6 +87668,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -86942,6 +87693,7 @@ "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.", @@ -87190,6 +87942,7 @@ "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", @@ -87226,6 +87979,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -87250,6 +88004,7 @@ "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.", @@ -87324,6 +88079,7 @@ "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", @@ -87360,6 +88116,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -87384,6 +88141,7 @@ "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.", @@ -87546,6 +88304,7 @@ "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", @@ -87582,6 +88341,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -87606,6 +88366,7 @@ "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.", @@ -87698,6 +88459,7 @@ "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", @@ -87734,6 +88496,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -87758,6 +88521,7 @@ "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.", @@ -87832,6 +88596,7 @@ "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", @@ -87868,6 +88633,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -87892,6 +88658,7 @@ "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.", @@ -87973,7 +88740,7 @@ "type": "object" }, "TargetHttpsProxy": { - "description": "Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/beta/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/beta/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", + "description": "Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/beta/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/beta/regionTargetHttpsProxies) A target HTTPS proxy is a component of Google Cloud HTTPS load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", "id": "TargetHttpsProxy", "properties": { "authentication": { @@ -88080,12 +88847,14 @@ "enum": [ "DISABLED", "PERMISSIVE", - "STRICT" + "STRICT", + "UNRESTRICTED" ], "enumDescriptions": [ "TLS 1.3 Early Data is not advertised, and any (invalid) attempts to send Early Data will be rejected by closing the connection.", "This enables TLS 1.3 0-RTT, and only allows Early Data to be included on requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE). This mode does not enforce any other limitations for requests with Early Data. The application owner should validate that Early Data is acceptable for a given request path.", - "This enables TLS 1.3 0-RTT, and only allows Early Data to be included on requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE) without query parameters. Requests that send Early Data with non-idempotent HTTP methods or with query parameters will be rejected with a HTTP 425." + "This enables TLS 1.3 0-RTT, and only allows Early Data to be included on requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE) without query parameters. Requests that send Early Data with non-idempotent HTTP methods or with query parameters will be rejected with a HTTP 425.", + "This enables TLS 1.3 Early Data for requests with any HTTP method including non-idempotent methods list POST. This mode does not enforce any other limitations. This may be valuable for gRPC use cases. However, we do not recommend this method unless you have evaluated your security stance and mitigated the risk of replay attacks using other mechanisms." ], "type": "string" }, @@ -88158,6 +88927,7 @@ "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", @@ -88194,6 +88964,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -88218,6 +88989,7 @@ "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.", @@ -88310,6 +89082,7 @@ "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", @@ -88346,6 +89119,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -88370,6 +89144,7 @@ "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.", @@ -88529,6 +89304,7 @@ "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", @@ -88565,6 +89341,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -88589,6 +89366,7 @@ "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.", @@ -88681,6 +89459,7 @@ "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", @@ -88717,6 +89496,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -88741,6 +89521,7 @@ "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.", @@ -88815,6 +89596,7 @@ "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", @@ -88851,6 +89633,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -88875,6 +89658,7 @@ "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.", @@ -89065,6 +89849,7 @@ "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", @@ -89101,6 +89886,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -89125,6 +89911,7 @@ "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.", @@ -89234,6 +90021,7 @@ "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", @@ -89270,6 +90058,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -89294,6 +90083,7 @@ "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.", @@ -89420,6 +90210,7 @@ "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", @@ -89456,6 +90247,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -89480,6 +90272,7 @@ "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.", @@ -89697,6 +90490,7 @@ "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", @@ -89733,6 +90527,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -89757,6 +90552,7 @@ "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.", @@ -89831,6 +90627,7 @@ "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", @@ -89867,6 +90664,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -89891,6 +90689,7 @@ "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.", @@ -90076,6 +90875,7 @@ "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", @@ -90112,6 +90912,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -90136,6 +90937,7 @@ "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.", @@ -90228,6 +91030,7 @@ "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", @@ -90264,6 +91067,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -90288,6 +91092,7 @@ "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.", @@ -90481,6 +91286,7 @@ "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", @@ -90517,6 +91323,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -90541,6 +91348,7 @@ "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.", @@ -90633,6 +91441,7 @@ "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", @@ -90669,6 +91478,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -90693,6 +91503,7 @@ "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.", @@ -90767,6 +91578,7 @@ "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", @@ -90803,6 +91615,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -90827,6 +91640,7 @@ "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.", @@ -91015,15 +91829,15 @@ }, "defaultRouteAction": { "$ref": "HttpRouteAction", - "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." + "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. Only one of defaultUrlRedirect, defaultService or defaultRouteAction.weightedBackendService can be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." }, "defaultService": { - "description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any defaultRouteAction.weightedBackendServices. Conversely, if defaultRouteAction specifies any defaultRouteAction.weightedBackendServices, defaultService must not be specified. If defaultService is specified, then set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService Don't set both. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", + "description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. Only one of defaultUrlRedirect, defaultService or defaultRouteAction.weightedBackendService can be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", "type": "string" }, "defaultUrlRedirect": { "$ref": "HttpRedirectAction", - "description": "When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy." + "description": "When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. Only one of defaultUrlRedirect, defaultService or defaultRouteAction.weightedBackendService can be set. Not supported when the URL map is bound to a target gRPC proxy." }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", @@ -91140,6 +91954,7 @@ "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", @@ -91176,6 +91991,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -91200,6 +92016,7 @@ "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.", @@ -91389,6 +92206,7 @@ "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", @@ -91425,6 +92243,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -91449,6 +92268,7 @@ "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.", @@ -91523,6 +92343,7 @@ "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", @@ -91559,6 +92380,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -91583,6 +92405,7 @@ "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.", @@ -91708,10 +92531,11 @@ "type": "string" }, "purpose": { - "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", + "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to PEER_MIGRATION is used for subnet migration from one peered VPC to another. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", "enum": [ "GLOBAL_MANAGED_PROXY", "INTERNAL_HTTPS_LOAD_BALANCER", + "PEER_MIGRATION", "PRIVATE", "PRIVATE_NAT", "PRIVATE_RFC_1918", @@ -91721,6 +92545,7 @@ "enumDescriptions": [ "Subnet reserved for Global Envoy-based Load Balancing.", "Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.", + "Subnetwork will be used for Migration from one peered VPC to another. (a transient state of subnetwork while migrating resources from one project to another).", "Regular user created or automatically created subnet.", "Subnetwork used as source range for Private NAT Gateways.", "Regular user created or automatically created subnet.", @@ -91838,6 +92663,7 @@ "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", @@ -91874,6 +92700,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -91898,6 +92725,7 @@ "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.", @@ -92104,6 +92932,7 @@ "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", @@ -92140,6 +92969,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -92164,6 +92994,7 @@ "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.", @@ -92360,6 +93191,7 @@ "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", @@ -92396,6 +93228,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -92420,6 +93253,7 @@ "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.", @@ -92512,6 +93346,7 @@ "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", @@ -92548,6 +93383,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -92572,6 +93408,7 @@ "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.", @@ -92768,6 +93605,7 @@ "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", @@ -92804,6 +93642,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -92828,6 +93667,7 @@ "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.", @@ -93081,6 +93921,7 @@ "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", @@ -93117,6 +93958,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -93141,6 +93983,7 @@ "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.", @@ -93233,6 +94076,7 @@ "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", @@ -93269,6 +94113,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -93293,6 +94138,7 @@ "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.", @@ -93367,6 +94213,7 @@ "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", @@ -93403,6 +94250,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -93427,6 +94275,7 @@ "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.", @@ -93577,6 +94426,7 @@ "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", @@ -93613,6 +94463,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -93637,6 +94488,7 @@ "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.", @@ -93816,6 +94668,7 @@ "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", @@ -93852,6 +94705,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -93876,6 +94730,7 @@ "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.", diff --git a/compute/v0.beta/compute-gen.go b/compute/v0.beta/compute-gen.go index a49aa603a4..3779c7acef 100644 --- a/compute/v0.beta/compute-gen.go +++ b/compute/v0.beta/compute-gen.go @@ -1659,6 +1659,8 @@ type AcceleratorTypeAggregatedListWarning struct { // "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 @@ -1813,6 +1815,8 @@ type AcceleratorTypeListWarning struct { // "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 @@ -1953,6 +1957,8 @@ type AcceleratorTypesScopedListWarning struct { // "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 @@ -2358,6 +2364,8 @@ type AddressAggregatedListWarning struct { // "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 @@ -2512,6 +2520,8 @@ type AddressListWarning struct { // "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 @@ -2651,6 +2661,8 @@ type AddressesScopedListWarning struct { // "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 @@ -3660,6 +3672,8 @@ type AutoscalerAggregatedListWarning struct { // "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 @@ -3814,6 +3828,8 @@ type AutoscalerListWarning struct { // "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 @@ -4054,6 +4070,8 @@ type AutoscalersScopedListWarning struct { // "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 @@ -4725,7 +4743,8 @@ type BackendBucketCdnPolicy struct { // identifiable) content. CACHE_ALL_STATIC Automatically cache static content, // including common image formats, media (video and audio), and web assets // (JavaScript and CSS). Requests and responses that are marked as uncacheable, - // as well as dynamic content (including HTML), will not be cached. + // as well as dynamic content (including HTML), will not be cached. If no value + // is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. // // Possible values: // "CACHE_ALL_STATIC" - Automatically cache static content, including common @@ -5005,6 +5024,8 @@ type BackendBucketListWarning struct { // "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 @@ -5479,6 +5500,7 @@ type BackendService struct { // // Possible values: // "GRPC" - gRPC (available for Traffic Director). + // "H2C" - HTTP2 over cleartext // "HTTP" // "HTTP2" - HTTP/2 with SSL. // "HTTPS" @@ -5687,6 +5709,8 @@ type BackendServiceAggregatedListWarning struct { // "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 @@ -5775,7 +5799,8 @@ type BackendServiceCdnPolicy struct { // identifiable) content. CACHE_ALL_STATIC Automatically cache static content, // including common image formats, media (video and audio), and web assets // (JavaScript and CSS). Requests and responses that are marked as uncacheable, - // as well as dynamic content (including HTML), will not be cached. + // as well as dynamic content (including HTML), will not be cached. If no value + // is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. // // Possible values: // "CACHE_ALL_STATIC" - Automatically cache static content, including common @@ -6294,6 +6319,8 @@ type BackendServiceListWarning struct { // "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 @@ -6450,6 +6477,8 @@ type BackendServiceListUsableWarning struct { // "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 @@ -6739,6 +6768,30 @@ func (s BackendServiceUsedBy) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +type BackendServicesGetEffectiveSecurityPoliciesResponse struct { + // SecurityPolicies: Effective security policies for the backend service. + SecurityPolicies []*SecurityPolicy `json:"securityPolicies,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the server. + googleapi.ServerResponse `json:"-"` + // ForceSendFields is a list of field names (e.g. "SecurityPolicies") 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. "SecurityPolicies") 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 BackendServicesGetEffectiveSecurityPoliciesResponse) MarshalJSON() ([]byte, error) { + type NoMethod BackendServicesGetEffectiveSecurityPoliciesResponse + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + type BackendServicesScopedList struct { // BackendServices: A list of BackendServices contained in this scope. BackendServices []*BackendService `json:"backendServices,omitempty"` @@ -6811,6 +6864,8 @@ type BackendServicesScopedListWarning struct { // "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 @@ -7682,6 +7737,9 @@ type Commitment struct { // "GRAPHICS_OPTIMIZED" // "MEMORY_OPTIMIZED" // "MEMORY_OPTIMIZED_M3" + // "MEMORY_OPTIMIZED_X4_16TB" + // "MEMORY_OPTIMIZED_X4_24TB" + // "MEMORY_OPTIMIZED_X4_32TB" // "STORAGE_OPTIMIZED_Z3" // "TYPE_UNSPECIFIED" Type string `json:"type,omitempty"` @@ -7795,6 +7853,8 @@ type CommitmentAggregatedListWarning struct { // "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 @@ -7949,6 +8009,8 @@ type CommitmentListWarning struct { // "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 @@ -8115,6 +8177,8 @@ type CommitmentsScopedListWarning struct { // "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 @@ -8998,6 +9062,8 @@ type DiskAggregatedListWarning struct { // "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 @@ -9275,6 +9341,8 @@ type DiskListWarning struct { // "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 @@ -9594,6 +9662,8 @@ type DiskTypeAggregatedListWarning struct { // "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 @@ -9748,6 +9818,8 @@ type DiskTypeListWarning struct { // "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 @@ -9887,6 +9959,8 @@ type DiskTypesScopedListWarning struct { // "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 @@ -10090,6 +10164,8 @@ type DisksScopedListWarning struct { // "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 @@ -10510,6 +10586,8 @@ type ExchangedPeeringRoutesListWarning struct { // "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 @@ -10846,6 +10924,8 @@ type ExternalVpnGatewayListWarning struct { // "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 @@ -11228,6 +11308,8 @@ type FirewallListWarning struct { // "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 @@ -11565,6 +11647,8 @@ type FirewallPolicyListWarning struct { // "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 @@ -12354,6 +12438,8 @@ type ForwardingRuleAggregatedListWarning struct { // "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 @@ -12507,6 +12593,8 @@ type ForwardingRuleListWarning struct { // "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 @@ -12699,6 +12787,8 @@ type ForwardingRulesScopedListWarning struct { // "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 @@ -12801,21 +12891,9 @@ type FutureReservation struct { // Description: An optional description of this resource. Provide this property // when you create the future reservation. Description string `json:"description,omitempty"` - // EnableOpportunisticMaintenance: Indicates if this group of VMs have - // opportunistic maintenance enabled. This will be set on the FR by customers, - // and will be used for reservation and reservation block maintenance . - EnableOpportunisticMaintenance bool `json:"enableOpportunisticMaintenance,omitempty"` // Id: [Output Only] A unique identifier for this future reservation. The // server defines this identifier. Id uint64 `json:"id,omitempty,string"` - // InstanceTerminationAction: Action to take during reservation termination. - // - // Possible values: - // "DELETE" - Delete the VM. - // "INSTANCE_TERMINATION_ACTION_UNSPECIFIED" - Default value. This value is - // unused. - // "STOP" - Stop the VM without storing in-memory content. default action. - InstanceTerminationAction string `json:"instanceTerminationAction,omitempty"` // Kind: [Output Only] Type of the resource. Always compute#futureReservation // for future reservations. Kind string `json:"kind,omitempty"` @@ -13270,6 +13348,8 @@ type FutureReservationsAggregatedListResponseWarning struct { // "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 @@ -13428,6 +13508,8 @@ type FutureReservationsListResponseWarning struct { // "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 @@ -13567,6 +13649,8 @@ type FutureReservationsScopedListWarning struct { // "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 @@ -13859,10 +13943,6 @@ func (s GlobalSetPolicyRequest) MarshalJSON() ([]byte, error) { // GroupMaintenanceInfo: Maintenance Info for ReservationBlocks. type GroupMaintenanceInfo struct { - // EnableOpportunisticMaintenance: This setting enables or disables - // opportunistic maintenance. If enabled, maintenance is performed on unused - // reservations whenever possible. - EnableOpportunisticMaintenance bool `json:"enableOpportunisticMaintenance,omitempty"` // MaintenanceOngoingCount: Progress for ongoing maintenance for this group of // VMs/hosts. Describes number of hosts in the block that have ongoing // maintenance. @@ -13882,15 +13962,14 @@ type GroupMaintenanceInfo struct { SchedulingType string `json:"schedulingType,omitempty"` // UpcomingGroupMaintenance: Maintenance information on this group of VMs. UpcomingGroupMaintenance *UpcomingMaintenance `json:"upcomingGroupMaintenance,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "EnableOpportunisticMaintenance") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted from - // API requests. See + // ForceSendFields is a list of field names (e.g. "MaintenanceOngoingCount") 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. "EnableOpportunisticMaintenance") - // to include in API requests with the JSON null value. By default, fields with + // NullFields is a list of field names (e.g. "MaintenanceOngoingCount") 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:"-"` @@ -14445,6 +14524,8 @@ type HealthCheckListWarning struct { // "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 @@ -14788,6 +14869,8 @@ type HealthCheckServicesListWarning struct { // "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 @@ -14943,6 +15026,8 @@ type HealthChecksAggregatedListWarning struct { // "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 @@ -15082,6 +15167,8 @@ type HealthChecksScopedListWarning struct { // "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 @@ -15794,6 +15881,8 @@ type HttpHealthCheckListWarning struct { // "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 @@ -16175,26 +16264,21 @@ type HttpRouteRule struct { Priority int64 `json:"priority,omitempty"` // RouteAction: In response to a matching matchRule, the load balancer performs // advanced routing actions, such as URL rewrites and header transformations, - // before forwarding the request to the selected backend. If routeAction - // specifies any weightedBackendServices, service must not be set. Conversely - // if service is set, routeAction cannot contain any weightedBackendServices. - // Only one of urlRedirect, service or routeAction.weightedBackendService must - // be set. URL maps for classic Application Load Balancers only support the - // urlRewrite action within a route rule's routeAction. + // before forwarding the request to the selected backend. Only one of + // urlRedirect, service or routeAction.weightedBackendService can be set. URL + // maps for classic Application Load Balancers only support the urlRewrite + // action within a route rule's routeAction. RouteAction *HttpRouteAction `json:"routeAction,omitempty"` // Service: The full or partial URL of the backend service resource to which // traffic is directed if this rule is matched. If routeAction is also // specified, advanced routing actions, such as URL rewrites, take effect - // before sending the request to the backend. However, if service is specified, - // routeAction cannot contain any weightedBackendServices. Conversely, if - // routeAction specifies any weightedBackendServices, service must not be - // specified. Only one of urlRedirect, service or - // routeAction.weightedBackendService must be set. + // before sending the request to the backend. Only one of urlRedirect, service + // or routeAction.weightedBackendService can be set. Service string `json:"service,omitempty"` // UrlRedirect: When this rule is matched, the request is redirected to a URL - // specified by urlRedirect. If urlRedirect is specified, service or - // routeAction must not be set. Not supported when the URL map is bound to a - // target gRPC proxy. + // specified by urlRedirect. Only one of urlRedirect, service or + // routeAction.weightedBackendService can be set. Not supported when the URL + // map is bound to a target gRPC proxy. UrlRedirect *HttpRedirectAction `json:"urlRedirect,omitempty"` // ForceSendFields is a list of field names (e.g. "CustomErrorResponsePolicy") // to unconditionally include in API requests. By default, fields with empty or @@ -16448,6 +16532,8 @@ type HttpsHealthCheckListWarning struct { // "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 @@ -16873,6 +16959,8 @@ type ImageListWarning struct { // "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 @@ -17169,6 +17257,7 @@ type Instance struct { // "DEPROVISIONING" - The instance is halted and we are performing tear down // tasks like network deprogramming, releasing quota, IP, tearing down disks // etc. + // "PENDING_STOP" - The instance is gracefully shutting down. // "PROVISIONING" - Resources are being allocated for the instance. // "REPAIRING" - The instance is in repair. // "RUNNING" - The instance is running. @@ -17304,6 +17393,8 @@ type InstanceAggregatedListWarning struct { // "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 @@ -17590,6 +17681,8 @@ type InstanceGroupAggregatedListWarning struct { // "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 @@ -17744,6 +17837,8 @@ type InstanceGroupListWarning struct { // "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 @@ -18140,6 +18235,8 @@ type InstanceGroupManagerAggregatedListWarning struct { // "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 @@ -18475,6 +18572,8 @@ type InstanceGroupManagerListWarning struct { // "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 @@ -18953,6 +19052,8 @@ type InstanceGroupManagerResizeRequestsListResponseWarning struct { // "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 @@ -19676,6 +19777,8 @@ type InstanceGroupManagersListPerInstanceConfigsRespWarning struct { // "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 @@ -19922,6 +20025,8 @@ type InstanceGroupManagersScopedListWarning struct { // "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 @@ -20270,6 +20375,8 @@ type InstanceGroupsListInstancesWarning struct { // "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 @@ -20460,6 +20567,8 @@ type InstanceGroupsScopedListWarning struct { // "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 @@ -20643,6 +20752,8 @@ type InstanceListWarning struct { // "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 @@ -20797,6 +20908,8 @@ type InstanceListReferrersWarning struct { // "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 @@ -21447,6 +21560,8 @@ type InstanceTemplateAggregatedListWarning struct { // "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 @@ -21601,6 +21716,8 @@ type InstanceTemplateListWarning struct { // "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 @@ -21741,6 +21858,8 @@ type InstanceTemplatesScopedListWarning struct { // "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 @@ -21820,6 +21939,7 @@ type InstanceWithNamedPorts struct { // "DEPROVISIONING" - The instance is halted and we are performing tear down // tasks like network deprogramming, releasing quota, IP, tearing down disks // etc. + // "PENDING_STOP" - The instance is gracefully shutting down. // "PROVISIONING" - Resources are being allocated for the instance. // "REPAIRING" - The instance is in repair. // "RUNNING" - The instance is running. @@ -21928,6 +22048,9 @@ type InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { DisplayName string `json:"displayName,omitempty"` // Name: [Output Only] The name of the firewall policy. Name string `json:"name,omitempty"` + // PacketMirroringRules: [Output Only] The packet mirroring rules that apply to + // the instance. + PacketMirroringRules []*FirewallPolicyRule `json:"packetMirroringRules,omitempty"` // Priority: [Output only] Priority of firewall policy association. Not // applicable for type=HIERARCHY. Priority int64 `json:"priority,omitempty"` @@ -22115,6 +22238,8 @@ type InstancesScopedListWarning struct { // "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 @@ -22573,6 +22698,8 @@ type InstantSnapshotAggregatedListWarning struct { // "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 @@ -22726,6 +22853,8 @@ type InstantSnapshotListWarning struct { // "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 @@ -22887,6 +23016,8 @@ type InstantSnapshotsScopedListWarning struct { // "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 @@ -23657,6 +23788,8 @@ type InterconnectAttachmentAggregatedListWarning struct { // "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 @@ -23876,6 +24009,8 @@ type InterconnectAttachmentListWarning struct { // "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 @@ -24074,6 +24209,8 @@ type InterconnectAttachmentsScopedListWarning struct { // "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 @@ -24496,6 +24633,8 @@ type InterconnectListWarning struct { // "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 @@ -24577,7 +24716,8 @@ type InterconnectLocation struct { // "zone1" or "zone2". AvailabilityZone string `json:"availabilityZone,omitempty"` // AvailableFeatures: [Output only] List of features available at this - // InterconnectLocation, which can take one of the following values: - MACSEC + // InterconnectLocation, which can take one of the following values: - + // IF_MACSEC // // Possible values: // "IF_MACSEC" - Media Access Control security (MACsec) @@ -24761,6 +24901,8 @@ type InterconnectLocationListWarning struct { // "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 @@ -25353,6 +25495,8 @@ type InterconnectRemoteLocationListWarning struct { // "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 @@ -25517,7 +25661,8 @@ type License struct { LicenseCode uint64 `json:"licenseCode,omitempty,string"` // Name: Name of the resource. The name must be 1-63 characters long and comply // with RFC1035. - Name string `json:"name,omitempty"` + Name string `json:"name,omitempty"` + // ResourceRequirements: [Input Only] Deprecated. ResourceRequirements *LicenseResourceRequirements `json:"resourceRequirements,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` @@ -25657,11 +25802,11 @@ func (s LicenseResourceCommitment) MarshalJSON() ([]byte, error) { } type LicenseResourceRequirements struct { - // MinGuestCpuCount: Minimum number of guest cpus required to use the Instance. - // Enforced at Instance creation and Instance start. + // MinGuestCpuCount: [Input Only] Deprecated. This field no longer reflects the + // minimum number of guest cpus required to use the Instance. MinGuestCpuCount int64 `json:"minGuestCpuCount,omitempty"` - // MinMemoryMb: Minimum memory required to use the Instance. Enforced at - // Instance creation and Instance start. + // MinMemoryMb: [Input Only] Deprecated. This field no longer reflects the + // minimum memory required to use the Instance. MinMemoryMb int64 `json:"minMemoryMb,omitempty"` // ForceSendFields is a list of field names (e.g. "MinGuestCpuCount") to // unconditionally include in API requests. By default, fields with empty or @@ -25764,6 +25909,8 @@ type LicensesListResponseWarning struct { // "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 @@ -26170,6 +26317,8 @@ type MachineImageListWarning struct { // "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 @@ -26423,6 +26572,8 @@ type MachineTypeAggregatedListWarning struct { // "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 @@ -26577,6 +26728,8 @@ type MachineTypeListWarning struct { // "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 @@ -26716,6 +26869,8 @@ type MachineTypesScopedListWarning struct { // "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 @@ -26853,6 +27008,7 @@ type ManagedInstance struct { // "DEPROVISIONING" - The instance is halted and we are performing tear down // tasks like network deprogramming, releasing quota, IP, tearing down disks // etc. + // "PENDING_STOP" - The instance is gracefully shutting down. // "PROVISIONING" - Resources are being allocated for the instance. // "REPAIRING" - The instance is in repair. // "RUNNING" - The instance is running. @@ -27080,6 +27236,8 @@ type ManagedInstancePropertiesFromFlexibilityPolicy struct { // ProvisioningModel: The provisioning model to be used for this instance. // // Possible values: + // "RESERVATION_BOUND" - Bound to the lifecycle of the reservation in which + // it is provisioned. // "SPOT" - Heavily discounted, no guaranteed runtime. // "STANDARD" - Standard provisioning with user controlled runtime, no // discounts. @@ -27317,7 +27475,16 @@ func (s MultiMig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// MultiMigResourcePolicies: Resource policies message for a multi-MIG. +// Specifies the workload policy configuration of the multi-MIG. type MultiMigResourcePolicies struct { + // WorkloadPolicy: The URL of the workload policy for this multi-MIG. It can be + // a full or partial URL. For example, the following are all valid URLs to a + // workload policy: - + // https://www.googleapis.com/compute/v1/projects/project/regions/region + // /resourcePolicies/resourcePolicy - + // projects/project/regions/region/resourcePolicies/resourcePolicy - + // regions/region/resourcePolicies/resourcePolicy WorkloadPolicy string `json:"workloadPolicy,omitempty"` // ForceSendFields is a list of field names (e.g. "WorkloadPolicy") to // unconditionally include in API requests. By default, fields with empty or @@ -27424,6 +27591,8 @@ type MultiMigsListWarning struct { // "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 @@ -27669,7 +27838,7 @@ type Network struct { // NetworkProfile: A full or partial URL of the network profile to apply to // this network. This field can be set only at resource creation time. For // example, the following are valid URLs: - - // https://www.googleapis.com/compute/alpha/projects/{project_id}/global/networkProfiles/{network_profile_name} + // https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name} // - projects/{project_id}/global/networkProfiles/{network_profile_name} NetworkProfile string `json:"networkProfile,omitempty"` // Peerings: [Output Only] A list of network peerings for the resource. @@ -27873,6 +28042,8 @@ type NetworkAttachmentAggregatedListWarning struct { // "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 @@ -28077,6 +28248,8 @@ type NetworkAttachmentListWarning struct { // "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 @@ -28216,6 +28389,8 @@ type NetworkAttachmentsScopedListWarning struct { // "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 @@ -28437,6 +28612,8 @@ type NetworkEdgeSecurityServiceAggregatedListWarning struct { // "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 @@ -28577,6 +28754,8 @@ type NetworkEdgeSecurityServicesScopedListWarning struct { // "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 @@ -28902,6 +29081,8 @@ type NetworkEndpointGroupAggregatedListWarning struct { // "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 @@ -29208,6 +29389,8 @@ type NetworkEndpointGroupListWarning struct { // "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 @@ -29547,6 +29730,8 @@ type NetworkEndpointGroupsListNetworkEndpointsWarning struct { // "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 @@ -29688,6 +29873,8 @@ type NetworkEndpointGroupsScopedListWarning struct { // "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 @@ -29981,6 +30168,8 @@ type NetworkListWarning struct { // "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 @@ -30172,6 +30361,8 @@ type NetworkProfile struct { // Kind: [Output Only] Type of the resource. Always compute#networkProfile for // network profiles. Kind string `json:"kind,omitempty"` + // Location: [Output Only] Location to which the network is restricted. + Location *NetworkProfileLocation `json:"location,omitempty"` // Name: [Output Only] Name of the resource. Name string `json:"name,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. @@ -30202,6 +30393,30 @@ func (s NetworkProfile) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +type NetworkProfileLocation struct { + Name string `json:"name,omitempty"` + // Possible values: + // "REGION" + // "ZONE" + Scope string `json:"scope,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 NetworkProfileLocation) MarshalJSON() ([]byte, error) { + type NoMethod NetworkProfileLocation + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + type NetworkProfileNetworkFeatures struct { // AddressPurposes: Specifies what address purposes are supported. If empty, // all address purposes are supported. @@ -30474,6 +30689,8 @@ type NetworkProfilesListResponseWarning struct { // "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 @@ -30566,6 +30783,16 @@ type NetworkRoutingConfig struct { // "ADD_COST_TO_MED" // "DEFAULT" BgpInterRegionCost string `json:"bgpInterRegionCost,omitempty"` + // EffectiveBgpAlwaysCompareMed: [Output Only] Effective value of the + // bgp_always_compare_med field. + EffectiveBgpAlwaysCompareMed bool `json:"effectiveBgpAlwaysCompareMed,omitempty"` + // EffectiveBgpInterRegionCost: [Output Only] Effective value of the + // bgp_inter_region_cost field. + // + // Possible values: + // "ADD_COST_TO_MED" + // "DEFAULT" + EffectiveBgpInterRegionCost string `json:"effectiveBgpInterRegionCost,omitempty"` // RoutingMode: The network-wide routing mode to use. If set to REGIONAL, this // network's Cloud Routers will only advertise routes with subnets of this // network in the same region as the router. If set to GLOBAL, this network's @@ -30670,6 +30897,9 @@ type NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy struct { DisplayName string `json:"displayName,omitempty"` // Name: [Output Only] The name of the firewall policy. Name string `json:"name,omitempty"` + // PacketMirroringRules: [Output Only] The packet mirroring rules that apply to + // the network. + PacketMirroringRules []*FirewallPolicyRule `json:"packetMirroringRules,omitempty"` // Priority: [Output only] Priority of firewall policy association. Not // applicable for type=HIERARCHY. Priority int64 `json:"priority,omitempty"` @@ -30969,6 +31199,8 @@ type NodeGroupAggregatedListWarning struct { // "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 @@ -31157,6 +31389,8 @@ type NodeGroupListWarning struct { // "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 @@ -31441,6 +31675,8 @@ type NodeGroupsListNodesWarning struct { // "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 @@ -31604,6 +31840,8 @@ type NodeGroupsScopedListWarning struct { // "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 @@ -31887,6 +32125,8 @@ type NodeTemplateAggregatedListWarning struct { // "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 @@ -32041,6 +32281,8 @@ type NodeTemplateListWarning struct { // "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 @@ -32203,6 +32445,8 @@ type NodeTemplatesScopedListWarning struct { // "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 @@ -32416,6 +32660,8 @@ type NodeTypeAggregatedListWarning struct { // "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 @@ -32570,6 +32816,8 @@ type NodeTypeListWarning struct { // "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 @@ -32709,6 +32957,8 @@ type NodeTypesScopedListWarning struct { // "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 @@ -32960,6 +33210,8 @@ type NotificationEndpointListWarning struct { // "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 @@ -33270,6 +33522,8 @@ type OperationWarnings struct { // "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 @@ -33426,6 +33680,8 @@ type OperationAggregatedListWarning struct { // "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 @@ -33581,6 +33837,8 @@ type OperationListWarning struct { // "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 @@ -33720,6 +33978,8 @@ type OperationsScopedListWarning struct { // "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 @@ -34115,6 +34375,8 @@ type PacketMirroringAggregatedListWarning struct { // "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 @@ -34333,6 +34595,8 @@ type PacketMirroringListWarning struct { // "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 @@ -34577,6 +34841,8 @@ type PacketMirroringsScopedListWarning struct { // "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 @@ -34711,14 +34977,10 @@ type PathMatcher struct { // DefaultRouteAction: defaultRouteAction takes effect when none of the // pathRules or routeRules match. The load balancer performs advanced routing // actions, such as URL rewrites and header transformations, before forwarding - // the request to the selected backend. If defaultRouteAction specifies any - // weightedBackendServices, defaultService must not be set. Conversely if - // defaultService is set, defaultRouteAction cannot contain any - // weightedBackendServices. If defaultRouteAction is specified, don't set - // defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is - // specified, don't set defaultService. URL maps for classic Application Load - // Balancers only support the urlRewrite action within a path matcher's - // defaultRouteAction. + // the request to the selected backend. Only one of defaultUrlRedirect, + // defaultService or defaultRouteAction.weightedBackendService can be set. URL + // maps for classic Application Load Balancers only support the urlRewrite + // action within a path matcher's defaultRouteAction. DefaultRouteAction *HttpRouteAction `json:"defaultRouteAction,omitempty"` // DefaultService: The full or partial URL to the BackendService resource. This // URL is used if none of the pathRules or routeRules defined by this @@ -34729,20 +34991,17 @@ type PathMatcher struct { // compute/v1/projects/project/global/backendServices/backendService - // global/backendServices/backendService If defaultRouteAction is also // specified, advanced routing actions, such as URL rewrites, take effect - // before sending the request to the backend. However, if defaultService is - // specified, defaultRouteAction cannot contain any weightedBackendServices. - // Conversely, if defaultRouteAction specifies any weightedBackendServices, - // defaultService must not be specified. If defaultService is specified, then - // set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. - // Don't set both. Authorization requires one or more of the following Google - // IAM permissions on the specified resource default_service: - - // compute.backendBuckets.use - compute.backendServices.use + // before sending the request to the backend. Only one of defaultUrlRedirect, + // defaultService or defaultRouteAction.weightedBackendService can be set. + // Authorization requires one or more of the following Google IAM permissions + // on the specified resource default_service: - compute.backendBuckets.use - + // compute.backendServices.use DefaultService string `json:"defaultService,omitempty"` // DefaultUrlRedirect: When none of the specified pathRules or routeRules // match, the request is redirected to a URL specified by defaultUrlRedirect. - // If defaultUrlRedirect is specified, then set either defaultService or - // defaultRouteAction. Don't set both. Not supported when the URL map is bound - // to a target gRPC proxy. + // Only one of defaultUrlRedirect, defaultService or + // defaultRouteAction.weightedBackendService can be set. Not supported when the + // URL map is bound to a target gRPC proxy. DefaultUrlRedirect *HttpRedirectAction `json:"defaultUrlRedirect,omitempty"` // Description: An optional description of this resource. Provide this property // when you create the resource. @@ -34821,26 +35080,21 @@ type PathRule struct { Paths []string `json:"paths,omitempty"` // RouteAction: In response to a matching path, the load balancer performs // advanced routing actions, such as URL rewrites and header transformations, - // before forwarding the request to the selected backend. If routeAction - // specifies any weightedBackendServices, service must not be set. Conversely - // if service is set, routeAction cannot contain any weightedBackendServices. - // Only one of routeAction or urlRedirect must be set. URL maps for classic - // Application Load Balancers only support the urlRewrite action within a path - // rule's routeAction. + // before forwarding the request to the selected backend. Only one of + // urlRedirect, service or routeAction.weightedBackendService can be set. URL + // maps for classic Application Load Balancers only support the urlRewrite + // action within a path rule's routeAction. RouteAction *HttpRouteAction `json:"routeAction,omitempty"` // Service: The full or partial URL of the backend service resource to which // traffic is directed if this rule is matched. If routeAction is also // specified, advanced routing actions, such as URL rewrites, take effect - // before sending the request to the backend. However, if service is specified, - // routeAction cannot contain any weightedBackendServices. Conversely, if - // routeAction specifies any weightedBackendServices, service must not be - // specified. Only one of urlRedirect, service or - // routeAction.weightedBackendService must be set. + // before sending the request to the backend. Only one of urlRedirect, service + // or routeAction.weightedBackendService can be set. Service string `json:"service,omitempty"` // UrlRedirect: When a path pattern is matched, the request is redirected to a - // URL specified by urlRedirect. If urlRedirect is specified, service or - // routeAction must not be set. Not supported when the URL map is bound to a - // target gRPC proxy. + // URL specified by urlRedirect. Only one of urlRedirect, service or + // routeAction.weightedBackendService can be set. Not supported when the URL + // map is bound to a target gRPC proxy. UrlRedirect *HttpRedirectAction `json:"urlRedirect,omitempty"` // ForceSendFields is a list of field names (e.g. "CustomErrorResponsePolicy") // to unconditionally include in API requests. By default, fields with empty or @@ -34870,8 +35124,8 @@ type PerInstanceConfig struct { // instance. Serves as a merge key during UpdatePerInstanceConfigs operations, // that is, if a per-instance configuration with the same name exists then it // will be updated, otherwise a new one will be created for the VM instance - // with the same name. An attempt to create a per-instance configconfiguration - // for a VM instance that either doesn't exist or is not part of the group will + // with the same name. An attempt to create a per-instance configuration for a + // VM instance that either doesn't exist or is not part of the group will // result in an error. Name string `json:"name,omitempty"` // PreservedState: The intended preserved state for the given instance. Does @@ -35189,7 +35443,8 @@ type Project struct { DefaultServiceAccount string `json:"defaultServiceAccount,omitempty"` // Description: An optional textual description of the resource. Description string `json:"description,omitempty"` - // EnabledFeatures: Restricted features enabled for use on this project. + // EnabledFeatures: An optional list of restricted features enabled for use on + // this project. EnabledFeatures []string `json:"enabledFeatures,omitempty"` // Id: [Output Only] The unique identifier for the resource. This identifier is // defined by the server. This is *not* the project ID, and is just a unique ID @@ -35215,8 +35470,8 @@ type Project struct { Quotas []*Quota `json:"quotas,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` - // UsageExportLocation: The naming prefix for daily usage reports and the - // Google Cloud Storage bucket where they are stored. + // UsageExportLocation: An optional naming prefix for daily usage reports and + // the Google Cloud Storage bucket where they are stored. UsageExportLocation *UsageExportLocation `json:"usageExportLocation,omitempty"` // VmDnsSetting: [Output Only] Default internal DNS setting used by VMs running // in this project. @@ -35636,6 +35891,8 @@ type PublicAdvertisedPrefixListWarning struct { // "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 @@ -35789,6 +36046,9 @@ type PublicDelegatedPrefix struct { // "EXTERNAL_IPV6_FORWARDING_RULE_CREATION" - The public delegated prefix is // used for creating forwarding rules only. Such prefixes cannot set // publicDelegatedSubPrefixes. + // "EXTERNAL_IPV6_SUBNETWORK_CREATION" - The public delegated prefix is used + // for creating dual-mode subnetworks only. Such prefixes cannot set + // publicDelegatedSubPrefixes. Mode string `json:"mode,omitempty"` // Name: Name of the resource. Provided by the client when the resource is // created. The name must be 1-63 characters long, and comply with RFC1035. @@ -35940,6 +36200,8 @@ type PublicDelegatedPrefixAggregatedListWarning struct { // "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 @@ -36094,6 +36356,8 @@ type PublicDelegatedPrefixListWarning struct { // "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 @@ -36186,6 +36450,9 @@ type PublicDelegatedPrefixPublicDelegatedSubPrefix struct { // "EXTERNAL_IPV6_FORWARDING_RULE_CREATION" - The public delegated prefix is // used for creating forwarding rules only. Such prefixes cannot set // publicDelegatedSubPrefixes. + // "EXTERNAL_IPV6_SUBNETWORK_CREATION" - The public delegated prefix is used + // for creating dual-mode subnetworks only. Such prefixes cannot set + // publicDelegatedSubPrefixes. Mode string `json:"mode,omitempty"` // Name: The name of the sub public delegated prefix. Name string `json:"name,omitempty"` @@ -36290,6 +36557,8 @@ type PublicDelegatedPrefixesScopedListWarning struct { // "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 @@ -36762,6 +37031,8 @@ type RegionQuotaStatusWarning struct { // "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 @@ -36945,6 +37216,8 @@ type RegionAutoscalerListWarning struct { // "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 @@ -37120,6 +37393,8 @@ type RegionDiskTypeListWarning struct { // "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 @@ -37366,6 +37641,8 @@ type RegionInstanceGroupListWarning struct { // "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 @@ -37546,6 +37823,8 @@ type RegionInstanceGroupManagerListWarning struct { // "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 @@ -37729,6 +38008,8 @@ type RegionInstanceGroupManagerResizeRequestsListResponseWarning struct { // "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 @@ -38064,6 +38345,8 @@ type RegionInstanceGroupManagersListInstanceConfigsRespWarning struct { // "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 @@ -38470,6 +38753,8 @@ type RegionInstanceGroupsListInstancesWarning struct { // "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 @@ -38683,6 +38968,8 @@ type RegionListWarning struct { // "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 @@ -38826,6 +39113,9 @@ type RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewall DisplayName string `json:"displayName,omitempty"` // Name: [Output Only] The name of the firewall policy. Name string `json:"name,omitempty"` + // PacketMirroringRules: [Output only] The packet mirroring rules that apply to + // the network. + PacketMirroringRules []*FirewallPolicyRule `json:"packetMirroringRules,omitempty"` // Priority: [Output only] Priority of firewall policy association. Not // applicable for type=HIERARCHY. Priority int64 `json:"priority,omitempty"` @@ -39042,16 +39332,6 @@ type Reservation struct { // Id: [Output Only] The unique identifier for the resource. This identifier is // defined by the server. Id uint64 `json:"id,omitempty,string"` - // InstanceTerminationAction: Instance termination action is invoked when the - // reservation is deleted. This only applies to reservations with a Deployment - // type. - // - // Possible values: - // "DELETE" - Delete the VM. - // "INSTANCE_TERMINATION_ACTION_UNSPECIFIED" - Default value. This value is - // unused. - // "STOP" - Stop the VM without storing in-memory content. default action. - InstanceTerminationAction string `json:"instanceTerminationAction,omitempty"` // Kind: [Output Only] Type of the resource. Always compute#reservations for // reservations. Kind string `json:"kind,omitempty"` @@ -39266,6 +39546,8 @@ type ReservationAggregatedListWarning struct { // "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 @@ -39527,6 +39809,8 @@ type ReservationBlocksListResponseWarning struct { // "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 @@ -39681,6 +39965,8 @@ type ReservationListWarning struct { // "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 @@ -39842,6 +40128,8 @@ type ReservationsScopedListWarning struct { // "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 @@ -40042,6 +40330,8 @@ type ResourcePoliciesScopedListWarning struct { // "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 @@ -40267,6 +40557,8 @@ type ResourcePolicyAggregatedListWarning struct { // "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 @@ -40586,6 +40878,8 @@ type ResourcePolicyListWarning struct { // "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 @@ -40916,11 +41210,18 @@ func (s ResourcePolicyWorkloadPolicy) MarshalJSON() ([]byte, error) { // values set on Instance attributes as compared to the value requested by the // user (intent) in their instance CRUD calls. type ResourceStatus struct { - // PhysicalHost: [Output Only] An opaque ID of the host on which the VM is - // running. - PhysicalHost string `json:"physicalHost,omitempty"` - Scheduling *ResourceStatusScheduling `json:"scheduling,omitempty"` - UpcomingMaintenance *UpcomingMaintenance `json:"upcomingMaintenance,omitempty"` + // PhysicalHost: [Output Only] The precise location of your instance within the + // zone's data center, including the block, sub-block, and host. The field is + // formatted as follows: blockId/subBlockId/hostId. + PhysicalHost string `json:"physicalHost,omitempty"` + // PhysicalHostTopology: [Output Only] A series of fields containing the global + // name of the Compute Engine cluster, as well as the ID of the block, + // sub-block, and host on which the running instance is located. + PhysicalHostTopology *ResourceStatusPhysicalHostTopology `json:"physicalHostTopology,omitempty"` + Scheduling *ResourceStatusScheduling `json:"scheduling,omitempty"` + // ShutdownDetails: [Output Only] Details about the instance stopping state. + ShutdownDetails *ResourceStatusShutdownDetails `json:"shutdownDetails,omitempty"` + UpcomingMaintenance *UpcomingMaintenance `json:"upcomingMaintenance,omitempty"` // ForceSendFields is a list of field names (e.g. "PhysicalHost") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -40939,6 +41240,41 @@ func (s ResourceStatus) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ResourceStatusPhysicalHostTopology: Represents the physical host topology of +// the host on which the VM is running. +type ResourceStatusPhysicalHostTopology struct { + // Block: [Output Only] The ID of the block in which the running instance is + // located. Instances within the same block experience low network latency. + Block string `json:"block,omitempty"` + // Cluster: [Output Only] The global name of the Compute Engine cluster where + // the running instance is located. + Cluster string `json:"cluster,omitempty"` + // Host: [Output Only] The ID of the host on which the running instance is + // located. Instances on the same host experience the lowest possible network + // latency. + Host string `json:"host,omitempty"` + // Subblock: [Output Only] The ID of the sub-block in which the running + // instance is located. Instances in the same sub-block experience lower + // network latency than instances in the same block. + Subblock string `json:"subblock,omitempty"` + // ForceSendFields is a list of field names (e.g. "Block") 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. "Block") 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 ResourceStatusPhysicalHostTopology) MarshalJSON() ([]byte, error) { + type NoMethod ResourceStatusPhysicalHostTopology + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + type ResourceStatusScheduling struct { // AvailabilityDomain: Specifies the availability domain to place the instance // in. The value must be a number between 1 and the number of availability @@ -40965,6 +41301,35 @@ func (s ResourceStatusScheduling) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +type ResourceStatusShutdownDetails struct { + MaxDuration *Duration `json:"maxDuration,omitempty"` + RequestTimestamp string `json:"requestTimestamp,omitempty"` + // Possible values: + // "PENDING_STOP" + // "STOPPING" + StopState string `json:"stopState,omitempty"` + // Possible values: + // "DELETED" + // "STOPPED" + TargetState string `json:"targetState,omitempty"` + // ForceSendFields is a list of field names (e.g. "MaxDuration") 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. "MaxDuration") 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 ResourceStatusShutdownDetails) MarshalJSON() ([]byte, error) { + type NoMethod ResourceStatusShutdownDetails + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // RolloutPolicy: A rollout policy configuration. type RolloutPolicy struct { // DefaultRolloutTime: An optional RFC3339 timestamp on or after which the @@ -41191,6 +41556,8 @@ type RouteWarnings struct { // "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 @@ -41379,6 +41746,8 @@ type RouteListWarning struct { // "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 @@ -41696,6 +42065,8 @@ type RouterAggregatedListWarning struct { // "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 @@ -42213,6 +42584,8 @@ type RouterListWarning struct { // "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 @@ -42370,6 +42743,10 @@ type RouterNat struct { // Name: Unique name of this Nat service. The name must be 1-63 characters long // and comply with RFC1035. Name string `json:"name,omitempty"` + // Nat64Subnetworks: List of Subnetwork resources whose traffic should be + // translated by NAT64 Gateway. It is used only when LIST_OF_IPV6_SUBNETWORKS + // is selected for the SubnetworkIpRangeToNat64Option above. + Nat64Subnetworks []*RouterNatSubnetworkToNat64 `json:"nat64Subnetworks,omitempty"` // NatIpAllocateOption: Specify the NatIpAllocateOption, which can take one of // the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by // customers. When there are not enough specified Nat IPs, the Nat service @@ -42407,6 +42784,22 @@ type RouterNat struct { // "LIST_OF_SUBNETWORKS" - A list of Subnetworks are allowed to Nat // (specified in the field subnetwork below) SourceSubnetworkIpRangesToNat string `json:"sourceSubnetworkIpRangesToNat,omitempty"` + // SourceSubnetworkIpRangesToNat64: Specify the Nat option for NAT64, which can + // take one of the following values: - ALL_IPV6_SUBNETWORKS: All of the IP + // ranges in every Subnetwork are allowed to Nat. - LIST_OF_IPV6_SUBNETWORKS: A + // list of Subnetworks are allowed to Nat (specified in the field + // nat64_subnetwork below) The default is NAT64_OPTION_UNSPECIFIED. Note that + // if this field contains NAT64_ALL_V6_SUBNETWORKS no other Router.Nat section + // in this region can also enable NAT64 for any Subnetworks in this network. + // Other Router.Nat sections can still be present to enable NAT44 only. + // + // Possible values: + // "ALL_IPV6_SUBNETWORKS" - NAT64 is enabled for all the IPv6 subnet ranges. + // In dual stack subnets, NAT64 will only be enabled for IPv6-only VMs. + // "LIST_OF_IPV6_SUBNETWORKS" - NAT64 is enabled for a list of IPv6 subnet + // ranges. In dual stack subnets, NAT64 will only be enabled for IPv6-only VMs. + // If this option is used, the nat64_subnetworks field must be specified. + SourceSubnetworkIpRangesToNat64 string `json:"sourceSubnetworkIpRangesToNat64,omitempty"` // Subnetworks: A list of Subnetwork resources whose traffic should be // translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is // selected for the SubnetworkIpRangeToNatOption above. @@ -42597,6 +42990,28 @@ func (s RouterNatSubnetworkToNat) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// RouterNatSubnetworkToNat64: Specifies a subnetwork to enable NAT64. +type RouterNatSubnetworkToNat64 struct { + // Name: URL for the subnetwork resource that will use NAT64. + Name string `json:"name,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 RouterNatSubnetworkToNat64) MarshalJSON() ([]byte, error) { + type NoMethod RouterNatSubnetworkToNat64 + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + type RouterStatus struct { // BestRoutes: A list of the best dynamic routes for this Cloud Router's // Virtual Private Cloud (VPC) network in the same region as this Cloud Router. @@ -42934,6 +43349,8 @@ type RoutersListBgpRoutesWarning struct { // "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 @@ -43092,6 +43509,8 @@ type RoutersListRoutePoliciesWarning struct { // "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 @@ -43255,6 +43674,8 @@ type RoutersScopedListWarning struct { // "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 @@ -43574,7 +43995,8 @@ type Scheduling struct { // AvailabilityDomain: Specifies the availability domain to place the instance // in. The value must be a number between 1 and the number of availability // domains specified in the spread placement policy attached to the instance. - AvailabilityDomain int64 `json:"availabilityDomain,omitempty"` + AvailabilityDomain int64 `json:"availabilityDomain,omitempty"` + GracefulShutdown *SchedulingGracefulShutdown `json:"gracefulShutdown,omitempty"` // HostErrorTimeoutSeconds: Specify the time in seconds for host error // detection, the value must be within the range of [90, 330] with the // increment of 30, if unset, the default behavior of host error recovery will @@ -43655,6 +44077,8 @@ type Scheduling struct { // ProvisioningModel: Specifies the provisioning model of the instance. // // Possible values: + // "RESERVATION_BOUND" - Bound to the lifecycle of the reservation in which + // it is provisioned. // "SPOT" - Heavily discounted, no guaranteed runtime. // "STANDARD" - Standard provisioning with user controlled runtime, no // discounts. @@ -43681,6 +44105,33 @@ func (s Scheduling) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// SchedulingGracefulShutdown: The configuration for gracefully shutting down +// the instance. +type SchedulingGracefulShutdown struct { + // Enabled: Opts-in for graceful shutdown. + Enabled bool `json:"enabled,omitempty"` + // MaxDuration: The time allotted for the instance to gracefully shut down. If + // the graceful shutdown isn't complete after this time, then the instance + // transitions to the STOPPING state. + MaxDuration *Duration `json:"maxDuration,omitempty"` + // ForceSendFields is a list of field names (e.g. "Enabled") 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. "Enabled") 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 SchedulingGracefulShutdown) MarshalJSON() ([]byte, error) { + type NoMethod SchedulingGracefulShutdown + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // SchedulingNodeAffinity: Node Affinity: the configuration of desired nodes // onto which this Instance could be scheduled. type SchedulingNodeAffinity struct { @@ -43857,6 +44308,8 @@ type SecurityPoliciesAggregatedListWarning struct { // "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 @@ -44019,6 +44472,8 @@ type SecurityPoliciesScopedListWarning struct { // "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 @@ -44454,6 +44909,10 @@ type SecurityPolicyAdvancedOptionsConfig struct { // "NORMAL" // "VERBOSE" LogLevel string `json:"logLevel,omitempty"` + // RequestBodyInspectionSize: The maximum request size chosen by the customer + // with Waf enabled. Currently only "8KB" and "128KB" are supported. Values are + // case insensitive. + RequestBodyInspectionSize string `json:"requestBodyInspectionSize,omitempty"` // UserIpRequestHeaders: An optional list of case-insensitive request header // names to use for resolving the callers client IP address. UserIpRequestHeaders []string `json:"userIpRequestHeaders,omitempty"` @@ -44646,6 +45105,8 @@ type SecurityPolicyListWarning struct { // "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 @@ -45284,7 +45745,9 @@ type SecurityPolicyRuleRateLimitOptions struct { // defaults to ALL. - USER_IP: The IP address of the originating client, which // is resolved based on "userIpRequestHeaders" configured with the security // policy. If there is no "userIpRequestHeaders" configuration or an IP address - // cannot be resolved from it, the key type defaults to IP. + // cannot be resolved from it, the key type defaults to IP. - + // TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the client connects using + // HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. // // Possible values: // "ALL" @@ -45296,6 +45759,7 @@ type SecurityPolicyRuleRateLimitOptions struct { // "REGION_CODE" // "SNI" // "TLS_JA3_FINGERPRINT" + // "TLS_JA4_FINGERPRINT" // "USER_IP" // "XFF_IP" EnforceOnKey string `json:"enforceOnKey,omitempty"` @@ -45374,7 +45838,9 @@ type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { // USER_IP: The IP address of the originating client, which is resolved based // on "userIpRequestHeaders" configured with the security policy. If there is // no "userIpRequestHeaders" configuration or an IP address cannot be resolved - // from it, the key type defaults to IP. + // from it, the key type defaults to IP. - TLS_JA4_FINGERPRINT: JA4 TLS/SSL + // fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not + // available, the key type defaults to ALL. // // Possible values: // "ALL" @@ -45386,6 +45852,7 @@ type SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig struct { // "REGION_CODE" // "SNI" // "TLS_JA3_FINGERPRINT" + // "TLS_JA4_FINGERPRINT" // "USER_IP" // "XFF_IP" EnforceOnKeyType string `json:"enforceOnKeyType,omitempty"` @@ -45866,6 +46333,8 @@ type ServiceAttachmentAggregatedListWarning struct { // "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 @@ -46088,6 +46557,8 @@ type ServiceAttachmentListWarning struct { // "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 @@ -46268,6 +46739,8 @@ type ServiceAttachmentsScopedListWarning struct { // "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 @@ -46977,6 +47450,8 @@ type SnapshotListWarning struct { // "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 @@ -47452,6 +47927,8 @@ type SslCertificateAggregatedListWarning struct { // "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 @@ -47605,6 +48082,8 @@ type SslCertificateListWarning struct { // "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 @@ -47822,6 +48301,8 @@ type SslCertificatesScopedListWarning struct { // "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 @@ -47979,6 +48460,8 @@ type SslPoliciesAggregatedListWarning struct { // "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 @@ -48132,6 +48615,8 @@ type SslPoliciesListWarning struct { // "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 @@ -48294,6 +48779,8 @@ type SslPoliciesScopedListWarning struct { // "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 @@ -48498,6 +48985,8 @@ type SslPolicyWarnings struct { // "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 @@ -48931,6 +49420,8 @@ type StoragePoolAggregatedListWarning struct { // "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 @@ -49141,6 +49632,8 @@ type StoragePoolListWarning struct { // "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 @@ -49298,6 +49791,8 @@ type StoragePoolListDisksWarning struct { // "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 @@ -49571,6 +50066,8 @@ type StoragePoolTypeAggregatedListWarning struct { // "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 @@ -49725,6 +50222,8 @@ type StoragePoolTypeListWarning struct { // "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 @@ -49865,6 +50364,8 @@ type StoragePoolTypesScopedListWarning struct { // "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 @@ -50004,6 +50505,8 @@ type StoragePoolsScopedListWarning struct { // "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 @@ -50152,6 +50655,16 @@ type Subnetwork struct { // ranges list. The range can be expanded after creation using // expandIpCidrRange. IpCidrRange string `json:"ipCidrRange,omitempty"` + // IpCollection: Reference to the source of IP, like a PublicDelegatedPrefix + // (PDP) for BYOIP. The PDP must be a sub-PDP in + // EXTERNAL_IPV6_SUBNETWORK_CREATION mode. Use one of the following formats to + // specify a sub-PDP when creating a dual stack subnetwork with external access + // using BYOIP: - Full resource URL, as in + // https://www.googleapis.com/compute/v1/projects/projectId/regions/region + // /publicDelegatedPrefixes/sub-pdp-name - Partial URL, as in - + // projects/projectId/regions/region/publicDelegatedPrefixes/ sub-pdp-name - + // regions/region/publicDelegatedPrefixes/sub-pdp-name + IpCollection string `json:"ipCollection,omitempty"` // Ipv6AccessType: The access type of IPv6 address this subnet holds. It's // immutable and can only be specified during creation or the first time the // subnet is updated into IPV4_IPV6 dual stack. @@ -50164,6 +50677,19 @@ type Subnetwork struct { Ipv6AccessType string `json:"ipv6AccessType,omitempty"` // Ipv6CidrRange: [Output Only] This field is for internal use. Ipv6CidrRange string `json:"ipv6CidrRange,omitempty"` + // Ipv6GceEndpoint: [Output Only] Possible endpoints of this subnetwork. It can + // be one of the following: - VM_ONLY: The subnetwork can be used for creating + // instances and IPv6 addresses with VM endpoint type. Such a subnetwork gets + // external IPv6 ranges from a public delegated prefix and cannot be used to + // create NetLb. - VM_AND_FR: The subnetwork can be used for creating both VM + // instances and Forwarding Rules. It can also be used to reserve IPv6 + // addresses with both VM and FR endpoint types. Such a subnetwork gets its + // IPv6 range from Google IP Pool directly. + // + // Possible values: + // "VM_AND_FR" + // "VM_ONLY" + Ipv6GceEndpoint string `json:"ipv6GceEndpoint,omitempty"` // Kind: [Output Only] Type of the resource. Always compute#subnetwork for // Subnetwork resources. Kind string `json:"kind,omitempty"` @@ -50198,14 +50724,16 @@ type Subnetwork struct { // VMs in this subnet to Google services. PrivateIpv6GoogleAccess string `json:"privateIpv6GoogleAccess,omitempty"` // Purpose: The purpose of the resource. This field can be either PRIVATE, - // GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or - // PRIVATE is the default purpose for user-created subnets or subnets that are - // automatically created in auto mode networks. Subnets with purpose set to - // GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks - // that are reserved for Envoy-based load balancers. A subnet with purpose set - // to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service - // Connect. If unspecified, the subnet purpose defaults to PRIVATE. The - // enableFlowLogs field isn't supported if the subnet purpose field is set to + // GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or + // PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created + // subnets or subnets that are automatically created in auto mode networks. + // Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY + // are user-created subnetworks that are reserved for Envoy-based load + // balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to + // publish services using Private Service Connect. A subnet with purpose set to + // PEER_MIGRATION is used for subnet migration from one peered VPC to another. + // If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs + // field isn't supported if the subnet purpose field is set to // GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. // // Possible values: @@ -50214,6 +50742,9 @@ type Subnetwork struct { // "INTERNAL_HTTPS_LOAD_BALANCER" - Subnet reserved for Internal HTTP(S) Load // Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY // instead. + // "PEER_MIGRATION" - Subnetwork will be used for Migration from one peered + // VPC to another. (a transient state of subnetwork while migrating resources + // from one project to another). // "PRIVATE" - Regular user created or automatically created subnet. // "PRIVATE_NAT" - Subnetwork used as source range for Private NAT Gateways. // "PRIVATE_RFC_1918" - Regular user created or automatically created subnet. @@ -50379,6 +50910,8 @@ type SubnetworkAggregatedListWarning struct { // "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 @@ -50533,6 +51066,8 @@ type SubnetworkListWarning struct { // "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 @@ -50806,6 +51341,8 @@ type SubnetworksScopedListWarning struct { // "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 @@ -51198,6 +51735,8 @@ type TargetGrpcProxyListWarning struct { // "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 @@ -51337,6 +51876,8 @@ type TargetHttpProxiesScopedListWarning struct { // "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 @@ -51590,6 +52131,8 @@ type TargetHttpProxyAggregatedListWarning struct { // "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 @@ -51744,6 +52287,8 @@ type TargetHttpProxyListWarning struct { // "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 @@ -51883,6 +52428,8 @@ type TargetHttpsProxiesScopedListWarning struct { // "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 @@ -52029,14 +52576,14 @@ func (s TargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, erro // Engine has two Target HTTPS Proxy resources: * Global // (/compute/docs/reference/rest/beta/targetHttpsProxies) * Regional // (/compute/docs/reference/rest/beta/regionTargetHttpsProxies) A target HTTPS -// proxy is a component of GCP HTTPS load balancers. * targetHttpProxies are -// used by global external Application Load Balancers, classic Application Load -// Balancers, cross-region internal Application Load Balancers, and Traffic -// Director. * regionTargetHttpProxies are used by regional internal -// Application Load Balancers and regional external Application Load Balancers. -// Forwarding rules reference a target HTTPS proxy, and the target proxy then -// references a URL map. For more information, read Using Target Proxies and -// Forwarding rule concepts. +// proxy is a component of Google Cloud HTTPS load balancers. * +// targetHttpProxies are used by global external Application Load Balancers, +// classic Application Load Balancers, cross-region internal Application Load +// Balancers, and Traffic Director. * regionTargetHttpProxies are used by +// regional internal Application Load Balancers and regional external +// Application Load Balancers. Forwarding rules reference a target HTTPS proxy, +// and the target proxy then references a URL map. For more information, read +// Using Target Proxies and Forwarding rule concepts. type TargetHttpsProxy struct { // Authentication: [Deprecated] Use serverTlsPolicy instead. Authentication string `json:"authentication,omitempty"` @@ -52193,6 +52740,12 @@ type TargetHttpsProxy struct { // included on requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE) // without query parameters. Requests that send Early Data with non-idempotent // HTTP methods or with query parameters will be rejected with a HTTP 425. + // "UNRESTRICTED" - This enables TLS 1.3 Early Data for requests with any + // HTTP method including non-idempotent methods list POST. This mode does not + // enforce any other limitations. This may be valuable for gRPC use cases. + // However, we do not recommend this method unless you have evaluated your + // security stance and mitigated the risk of replay attacks using other + // mechanisms. TlsEarlyData string `json:"tlsEarlyData,omitempty"` // UrlMap: A fully-qualified or valid partial URL to the UrlMap resource that // defines the mapping from URL to the BackendService. For example, the @@ -52310,6 +52863,8 @@ type TargetHttpsProxyAggregatedListWarning struct { // "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 @@ -52464,6 +53019,8 @@ type TargetHttpsProxyListWarning struct { // "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 @@ -52692,6 +53249,8 @@ type TargetInstanceAggregatedListWarning struct { // "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 @@ -52845,6 +53404,8 @@ type TargetInstanceListWarning struct { // "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 @@ -52984,6 +53545,8 @@ type TargetInstancesScopedListWarning struct { // "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 @@ -53276,6 +53839,8 @@ type TargetPoolAggregatedListWarning struct { // "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 @@ -53456,6 +54021,8 @@ type TargetPoolListWarning struct { // "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 @@ -53689,6 +54256,8 @@ type TargetPoolsScopedListWarning struct { // "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 @@ -54029,6 +54598,8 @@ type TargetSslProxyListWarning struct { // "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 @@ -54168,6 +54739,8 @@ type TargetTcpProxiesScopedListWarning struct { // "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 @@ -54440,6 +55013,8 @@ type TargetTcpProxyAggregatedListWarning struct { // "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 @@ -54593,6 +55168,8 @@ type TargetTcpProxyListWarning struct { // "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 @@ -54831,6 +55408,8 @@ type TargetVpnGatewayAggregatedListWarning struct { // "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 @@ -54985,6 +55564,8 @@ type TargetVpnGatewayListWarning struct { // "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 @@ -55125,6 +55706,8 @@ type TargetVpnGatewaysScopedListWarning struct { // "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 @@ -55395,31 +55978,27 @@ type UrlMap struct { // DefaultRouteAction: defaultRouteAction takes effect when none of the // hostRules match. The load balancer performs advanced routing actions, such // as URL rewrites and header transformations, before forwarding the request to - // the selected backend. If defaultRouteAction specifies any - // weightedBackendServices, defaultService must not be set. Conversely if - // defaultService is set, defaultRouteAction cannot contain any - // weightedBackendServices. Only one of defaultRouteAction or - // defaultUrlRedirect must be set. URL maps for classic Application Load - // Balancers only support the urlRewrite action within defaultRouteAction. - // defaultRouteAction has no effect when the URL map is bound to a target gRPC - // proxy that has the validateForProxyless field set to true. + // the selected backend. Only one of defaultUrlRedirect, defaultService or + // defaultRouteAction.weightedBackendService can be set. URL maps for classic + // Application Load Balancers only support the urlRewrite action within + // defaultRouteAction. defaultRouteAction has no effect when the URL map is + // bound to a target gRPC proxy that has the validateForProxyless field set to + // true. DefaultRouteAction *HttpRouteAction `json:"defaultRouteAction,omitempty"` // DefaultService: The full or partial URL of the defaultService resource to // which traffic is directed if none of the hostRules match. If // defaultRouteAction is also specified, advanced routing actions, such as URL - // rewrites, take effect before sending the request to the backend. However, if - // defaultService is specified, defaultRouteAction cannot contain any - // defaultRouteAction.weightedBackendServices. Conversely, if - // defaultRouteAction specifies any defaultRouteAction.weightedBackendServices, - // defaultService must not be specified. If defaultService is specified, then - // set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService - // Don't set both. defaultService has no effect when the URL map is bound to a - // target gRPC proxy that has the validateForProxyless field set to true. + // rewrites, take effect before sending the request to the backend. Only one of + // defaultUrlRedirect, defaultService or + // defaultRouteAction.weightedBackendService can be set. defaultService has no + // effect when the URL map is bound to a target gRPC proxy that has the + // validateForProxyless field set to true. DefaultService string `json:"defaultService,omitempty"` // DefaultUrlRedirect: When none of the specified hostRules match, the request - // is redirected to a URL specified by defaultUrlRedirect. If - // defaultUrlRedirect is specified, defaultService or defaultRouteAction must - // not be set. Not supported when the URL map is bound to a target gRPC proxy. + // is redirected to a URL specified by defaultUrlRedirect. Only one of + // defaultUrlRedirect, defaultService or + // defaultRouteAction.weightedBackendService can be set. Not supported when the + // URL map is bound to a target gRPC proxy. DefaultUrlRedirect *HttpRedirectAction `json:"defaultUrlRedirect,omitempty"` // Description: An optional description of this resource. Provide this property // when you create the resource. @@ -55575,6 +56154,8 @@ type UrlMapListWarning struct { // "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 @@ -55855,6 +56436,8 @@ type UrlMapsAggregatedListWarning struct { // "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 @@ -55994,6 +56577,8 @@ type UrlMapsScopedListWarning struct { // "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 @@ -56196,14 +56781,16 @@ type UsableSubnetwork struct { // Network: Network URL. Network string `json:"network,omitempty"` // Purpose: The purpose of the resource. This field can be either PRIVATE, - // GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or - // PRIVATE is the default purpose for user-created subnets or subnets that are - // automatically created in auto mode networks. Subnets with purpose set to - // GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks - // that are reserved for Envoy-based load balancers. A subnet with purpose set - // to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service - // Connect. If unspecified, the subnet purpose defaults to PRIVATE. The - // enableFlowLogs field isn't supported if the subnet purpose field is set to + // GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or + // PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created + // subnets or subnets that are automatically created in auto mode networks. + // Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY + // are user-created subnetworks that are reserved for Envoy-based load + // balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to + // publish services using Private Service Connect. A subnet with purpose set to + // PEER_MIGRATION is used for subnet migration from one peered VPC to another. + // If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs + // field isn't supported if the subnet purpose field is set to // GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. // // Possible values: @@ -56212,6 +56799,9 @@ type UsableSubnetwork struct { // "INTERNAL_HTTPS_LOAD_BALANCER" - Subnet reserved for Internal HTTP(S) Load // Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY // instead. + // "PEER_MIGRATION" - Subnetwork will be used for Migration from one peered + // VPC to another. (a transient state of subnetwork while migrating resources + // from one project to another). // "PRIVATE" - Regular user created or automatically created subnet. // "PRIVATE_NAT" - Subnetwork used as source range for Private NAT Gateways. // "PRIVATE_RFC_1918" - Regular user created or automatically created subnet. @@ -56384,6 +56974,8 @@ type UsableSubnetworksAggregatedListWarning struct { // "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 @@ -56684,6 +57276,8 @@ type VmEndpointNatMappingsListWarning struct { // "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 @@ -56926,6 +57520,8 @@ type VpnGatewayAggregatedListWarning struct { // "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 @@ -57080,6 +57676,8 @@ type VpnGatewayListWarning struct { // "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 @@ -57413,6 +58011,8 @@ type VpnGatewaysScopedListWarning struct { // "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 @@ -57725,6 +58325,8 @@ type VpnTunnelAggregatedListWarning struct { // "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 @@ -57879,6 +58481,8 @@ type VpnTunnelListWarning struct { // "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 @@ -58018,6 +58622,8 @@ type VpnTunnelsScopedListWarning struct { // "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 @@ -58275,6 +58881,8 @@ type XpnHostListWarning struct { // "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 @@ -58513,6 +59121,8 @@ type ZoneListWarning struct { // "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 diff --git a/compute/v0.beta/compute2-gen.go b/compute/v0.beta/compute2-gen.go index 43552a0171..7a9062e4b4 100644 --- a/compute/v0.beta/compute2-gen.go +++ b/compute/v0.beta/compute2-gen.go @@ -5072,6 +5072,119 @@ func (c *BackendServicesGetCall) Do(opts ...googleapi.CallOption) (*BackendServi return ret, nil } +type BackendServicesGetEffectiveSecurityPoliciesCall struct { + s *Service + project string + backendService string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetEffectiveSecurityPolicies: Returns effective security policies applied to +// this backend service. +// +// - backendService: Name of the Backend Service for this request. +// - project: Project ID for this request. +func (r *BackendServicesService) GetEffectiveSecurityPolicies(project string, backendService string) *BackendServicesGetEffectiveSecurityPoliciesCall { + c := &BackendServicesGetEffectiveSecurityPoliciesCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.backendService = backendService + 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 *BackendServicesGetEffectiveSecurityPoliciesCall) Fields(s ...googleapi.Field) *BackendServicesGetEffectiveSecurityPoliciesCall { + 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 *BackendServicesGetEffectiveSecurityPoliciesCall) IfNoneMatch(entityTag string) *BackendServicesGetEffectiveSecurityPoliciesCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *BackendServicesGetEffectiveSecurityPoliciesCall) Context(ctx context.Context) *BackendServicesGetEffectiveSecurityPoliciesCall { + 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 *BackendServicesGetEffectiveSecurityPoliciesCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *BackendServicesGetEffectiveSecurityPoliciesCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "projects/{project}/global/backendServices/{backendService}/getEffectiveSecurityPolicies") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "project": c.project, + "backendService": c.backendService, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.backendServices.getEffectiveSecurityPolicies" call. +// Any non-2xx status code is an error. Response headers are in either +// *BackendServicesGetEffectiveSecurityPoliciesResponse.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 *BackendServicesGetEffectiveSecurityPoliciesCall) Do(opts ...googleapi.CallOption) (*BackendServicesGetEffectiveSecurityPoliciesResponse, 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 := &BackendServicesGetEffectiveSecurityPoliciesResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type BackendServicesGetHealthCall struct { s *Service project string @@ -33670,6 +33783,13 @@ func (r *InstancesService) Delete(project string, zone string, instance string) return c } +// NoGracefulShutdown sets the optional parameter "noGracefulShutdown": If set +// to true, Graceful Shutdown is skipped. +func (c *InstancesDeleteCall) NoGracefulShutdown(noGracefulShutdown bool) *InstancesDeleteCall { + c.urlParams_.Set("noGracefulShutdown", fmt.Sprint(noGracefulShutdown)) + return c +} + // RequestId sets the optional parameter "requestId": An optional request ID to // identify requests. Specify a unique request ID so that if you must retry // your request, the server will know to ignore the request if it has already @@ -34793,7 +34913,9 @@ func (c *InstancesGetSerialPortOutputCall) Port(port int64) *InstancesGetSerialP // adjusted start position is returned as the `start` property value. You can // also provide a negative start position, which translates to the most recent // number of bytes written to the serial port. For example, -3 is interpreted -// as the most recent 3 bytes written to the serial console. +// as the most recent 3 bytes written to the serial console. Note that the +// negative start is bounded by the retained buffer size, and the returned +// serial console output will not exceed the max buffer size. func (c *InstancesGetSerialPortOutputCall) Start(start int64) *InstancesGetSerialPortOutputCall { c.urlParams_.Set("start", fmt.Sprint(start)) return c @@ -38681,6 +38803,13 @@ func (c *InstancesStopCall) DiscardLocalSsd(discardLocalSsd bool) *InstancesStop return c } +// NoGracefulShutdown sets the optional parameter "noGracefulShutdown": If set +// to true, Graceful Shutdown is skipped. +func (c *InstancesStopCall) NoGracefulShutdown(noGracefulShutdown bool) *InstancesStopCall { + c.urlParams_.Set("noGracefulShutdown", fmt.Sprint(noGracefulShutdown)) + return c +} + // RequestId sets the optional parameter "requestId": An optional request ID to // identify requests. Specify a unique request ID so that if you must retry // your request, the server will know to ignore the request if it has already diff --git a/compute/v0.beta/compute3-gen.go b/compute/v0.beta/compute3-gen.go index 72c3d901b7..1de0a863fc 100644 --- a/compute/v0.beta/compute3-gen.go +++ b/compute/v0.beta/compute3-gen.go @@ -20131,6 +20131,131 @@ func (c *RegionSecurityPoliciesRemoveRuleCall) Do(opts ...googleapi.CallOption) return ret, nil } +type RegionSecurityPoliciesSetLabelsCall struct { + s *Service + project string + region string + resource string + regionsetlabelsrequest *RegionSetLabelsRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetLabels: Sets the labels on a security policy. To learn more about labels, +// read the Labeling Resources documentation. +// +// - project: Project ID for this request. +// - region: The region for this request. +// - resource: Name or id of the resource for this request. +func (r *RegionSecurityPoliciesService) SetLabels(project string, region string, resource string, regionsetlabelsrequest *RegionSetLabelsRequest) *RegionSecurityPoliciesSetLabelsCall { + c := &RegionSecurityPoliciesSetLabelsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.project = project + c.region = region + c.resource = resource + c.regionsetlabelsrequest = regionsetlabelsrequest + return c +} + +// RequestId sets the optional parameter "requestId": An optional request ID to +// identify requests. Specify a unique request ID so that if you must retry +// your request, the server will know to ignore the request if it has already +// been completed. For example, consider a situation where you make an initial +// request and the request times out. If you make the request again with the +// same request ID, the server can check if original operation with the same +// request ID was received, and if so, will ignore the second request. This +// prevents clients from accidentally creating duplicate commitments. The +// request ID must be a valid UUID with the exception that zero UUID is not +// supported ( 00000000-0000-0000-0000-000000000000). +func (c *RegionSecurityPoliciesSetLabelsCall) RequestId(requestId string) *RegionSecurityPoliciesSetLabelsCall { + c.urlParams_.Set("requestId", requestId) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *RegionSecurityPoliciesSetLabelsCall) Fields(s ...googleapi.Field) *RegionSecurityPoliciesSetLabelsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *RegionSecurityPoliciesSetLabelsCall) Context(ctx context.Context) *RegionSecurityPoliciesSetLabelsCall { + 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 *RegionSecurityPoliciesSetLabelsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *RegionSecurityPoliciesSetLabelsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.regionsetlabelsrequest) + 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}/securityPolicies/{resource}/setLabels") + 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, + "resource": c.resource, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "compute.regionSecurityPolicies.setLabels" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *RegionSecurityPoliciesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type RegionSslCertificatesDeleteCall struct { s *Service project string diff --git a/eventarc/v1/eventarc-api.json b/eventarc/v1/eventarc-api.json index 687f970746..a2baddb086 100644 --- a/eventarc/v1/eventarc-api.json +++ b/eventarc/v1/eventarc-api.json @@ -1445,7 +1445,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent collection to list triggers on.", + "description": "Required. The parent collection to list message buses on.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2369,7 +2369,7 @@ } } }, - "revision": "20241119", + "revision": "20241203", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { @@ -2974,7 +2974,7 @@ "id": "GoogleCloudEventarcV1PipelineDestinationHttpEndpoint", "properties": { "messageBindingTemplate": { - "description": "Optional. The CEL expression used to modify how the destination-bound HTTP request is constructed. If a binding expression is not specified here, the message is treated as a CloudEvent and is mapped to the HTTP request according to the CloudEvent HTTP Protocol Binding Binary Content Mode. In this representation, all fields except the `data` and `datacontenttype` field on the message are mapped to HTTP request headers with a prefix of `ce-`. To construct the HTTP request payload and the value of the content-type HTTP header, the payload format is defined as follows: 1) Use the output_payload_format_type on the Pipeline.Destination if it is set, else: 2) Use the input_payload_format_type on the Pipeline if it is set, else: 3) Treat the payload as opaque binary data. The `data` field of the message is converted to the payload format or left as-is for case 3) and then attached as the payload of the HTTP request. The `content-type` header on the HTTP request is set to the payload format type or left empty for case 3). However, if a mediation has updated the `datacontenttype` field on the message so that it is not the same as the payload format type but it is still a prefix of the payload format type, then the `content-type` header on the HTTP request is set to this `datacontenttype` value. For example, if the `datacontenttype` is \"application/json\" and the payload format type is \"application/json; charset=utf-8\", then the `content-type` header on the HTTP request is set to \"application/json; charset=utf-8\". If a non-empty binding expression is specified then this expression is used to modify the default CloudEvent HTTP Protocol Binding Binary Content representation. The result of the CEL expression must be a map of key/value pairs which is used as follows: - If a map named `headers` exists on the result of the expression, then its key/value pairs are directly mapped to the HTTP request headers. The headers values are constructed from the corresponding value type's canonical representation. If the `headers` field doesn't exist then the resulting HTTP request will be the headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message. Note: If the specified binding expression, has updated the `datacontenttype` field on the message so that it is not the same as the payload format type but it is still a prefix of the payload format type, then the `content-type` header in the `headers` map is set to this `datacontenttype` value. - If a field named `body` exists on the result of the expression then its value is directly mapped to the body of the request. If the value of the `body` field is of type bytes or string then it is used for the HTTP request body as-is, with no conversion. If the body field is of any other type then it is converted to a JSON string. If the body field does not exist then the resulting payload of the HTTP request will be data value of the CloudEvent HTTP Binding Binary Content Mode representation of the final message as described earlier. - Any other fields in the resulting expression will be ignored. The CEL expression may access the incoming CloudEvent message in its definition, as follows: - The `data` field of the incoming CloudEvent message can be accessed using the `message.data` value. Subfields of `message.data` may also be accessed if an input_payload_format has been specified on the Pipeline. - Each attribute of the incoming CloudEvent message can be accessed using the `message.` value, where is replaced with the name of the attribute. - Existing headers can be accessed in the CEL expression using the `headers` variable. The `headers` variable defines a map of key/value pairs corresponding to the HTTP headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message as described earlier. For example, the following CEL expression can be used to construct an HTTP request by adding an additional header to the HTTP headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message and by overwriting the body of the request: ``` { \"headers\": headers.merge({\"new-header-key\": \"new-header-value\"}), \"body\": \"new-body\" } ``` - The default binding for the message payload can be accessed using the `body` variable. It conatins a string representation of the message payload in the format specified by the `output_payload_format` field. If the `input_payload_format` field is not set, the `body` variable contains the same message payload bytes that were published. Additionally, the following CEL extension functions are provided for use in this CEL expression: - toBase64Url: map.toBase64Url() -\u003e string - Converts a CelValue to a base64url encoded string - toJsonString: map.toJsonString() -\u003e string - Converts a CelValue to a JSON string - merge: map1.merge(map2) -\u003e map3 - Merges the passed CEL map with the existing CEL map the function is applied to. - If the same key exists in both maps, if the key's value is type map both maps are merged else the value from the passed map is used. - denormalize: map.denormalize() -\u003e map - Denormalizes a CEL map such that every value of type map or key in the map is expanded to return a single level map. - The resulting keys are \".\" separated indices of the map keys. - For example: { \"a\": 1, \"b\": { \"c\": 2, \"d\": 3 } \"e\": [4, 5] } .denormalize() -\u003e { \"a\": 1, \"b.c\": 2, \"b.d\": 3, \"e.0\": 4, \"e.1\": 5 } - setField: map.setField(key, value) -\u003e message - Sets the field of the message with the given key to the given value. - If the field is not present it will be added. - If the field is present it will be overwritten. - The key can be a dot separated path to set a field in a nested message. - Key must be of type string. - Value may be any valid type. - removeFields: map.removeFields([key1, key2, ...]) -\u003e message - Removes the fields of the map with the given keys. - The keys can be a dot separated path to remove a field in a nested message. - If a key is not found it will be ignored. - Keys must be of type string. - toMap: [map1, map2, ...].toMap() -\u003e map - Converts a CEL list of CEL maps to a single CEL map - toCloudEventJsonWithPayloadFormat: message.toCloudEventJsonWithPayloadFormat() -\u003e map - Converts a message to the corresponding structure of JSON format for CloudEvents. - It converts `data` to destination payload format specified in `output_payload_format`. If `output_payload_format` is not set, the data will remain unchanged. - It also sets the corresponding datacontenttype of the CloudEvent, as indicated by `output_payload_format`. If no `output_payload_format` is set it will use the value of the \"datacontenttype\" attribute on the CloudEvent if present, else remove \"datacontenttype\" attribute. - This function expects that the content of the message will adhere to the standard CloudEvent format. If it doesn't then this function will fail. - The result is a CEL map that corresponds to the JSON representation of the CloudEvent. To convert that data to a JSON string it can be chained with the toJsonString function. The Pipeline expects that the message it receives adheres to the standard CloudEvent format. If it doesn't then the outgoing message request may fail with a persistent error.", + "description": "Optional. The CEL expression used to modify how the destination-bound HTTP request is constructed. If a binding expression is not specified here, the message is treated as a CloudEvent and is mapped to the HTTP request according to the CloudEvent HTTP Protocol Binding Binary Content Mode (https://github.com/cloudevents/spec/blob/main/cloudevents/bindings/http-protocol-binding.md#31-binary-content-mode). In this representation, all fields except the `data` and `datacontenttype` field on the message are mapped to HTTP request headers with a prefix of `ce-`. To construct the HTTP request payload and the value of the content-type HTTP header, the payload format is defined as follows: 1) Use the output_payload_format_type on the Pipeline.Destination if it is set, else: 2) Use the input_payload_format_type on the Pipeline if it is set, else: 3) Treat the payload as opaque binary data. The `data` field of the message is converted to the payload format or left as-is for case 3) and then attached as the payload of the HTTP request. The `content-type` header on the HTTP request is set to the payload format type or left empty for case 3). However, if a mediation has updated the `datacontenttype` field on the message so that it is not the same as the payload format type but it is still a prefix of the payload format type, then the `content-type` header on the HTTP request is set to this `datacontenttype` value. For example, if the `datacontenttype` is \"application/json\" and the payload format type is \"application/json; charset=utf-8\", then the `content-type` header on the HTTP request is set to \"application/json; charset=utf-8\". If a non-empty binding expression is specified then this expression is used to modify the default CloudEvent HTTP Protocol Binding Binary Content representation. The result of the CEL expression must be a map of key/value pairs which is used as follows: - If a map named `headers` exists on the result of the expression, then its key/value pairs are directly mapped to the HTTP request headers. The headers values are constructed from the corresponding value type's canonical representation. If the `headers` field doesn't exist then the resulting HTTP request will be the headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message. Note: If the specified binding expression, has updated the `datacontenttype` field on the message so that it is not the same as the payload format type but it is still a prefix of the payload format type, then the `content-type` header in the `headers` map is set to this `datacontenttype` value. - If a field named `body` exists on the result of the expression then its value is directly mapped to the body of the request. If the value of the `body` field is of type bytes or string then it is used for the HTTP request body as-is, with no conversion. If the body field is of any other type then it is converted to a JSON string. If the body field does not exist then the resulting payload of the HTTP request will be data value of the CloudEvent HTTP Binding Binary Content Mode representation of the final message as described earlier. - Any other fields in the resulting expression will be ignored. The CEL expression may access the incoming CloudEvent message in its definition, as follows: - The `data` field of the incoming CloudEvent message can be accessed using the `message.data` value. Subfields of `message.data` may also be accessed if an input_payload_format has been specified on the Pipeline. - Each attribute of the incoming CloudEvent message can be accessed using the `message.` value, where is replaced with the name of the attribute. - Existing headers can be accessed in the CEL expression using the `headers` variable. The `headers` variable defines a map of key/value pairs corresponding to the HTTP headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message as described earlier. For example, the following CEL expression can be used to construct an HTTP request by adding an additional header to the HTTP headers of the CloudEvent HTTP Binding Binary Content Mode representation of the final message and by overwriting the body of the request: ``` { \"headers\": headers.merge({\"new-header-key\": \"new-header-value\"}), \"body\": \"new-body\" } ``` - The default binding for the message payload can be accessed using the `body` variable. It conatins a string representation of the message payload in the format specified by the `output_payload_format` field. If the `input_payload_format` field is not set, the `body` variable contains the same message payload bytes that were published. Additionally, the following CEL extension functions are provided for use in this CEL expression: - toBase64Url: map.toBase64Url() -\u003e string - Converts a CelValue to a base64url encoded string - toJsonString: map.toJsonString() -\u003e string - Converts a CelValue to a JSON string - merge: map1.merge(map2) -\u003e map3 - Merges the passed CEL map with the existing CEL map the function is applied to. - If the same key exists in both maps, if the key's value is type map both maps are merged else the value from the passed map is used. - denormalize: map.denormalize() -\u003e map - Denormalizes a CEL map such that every value of type map or key in the map is expanded to return a single level map. - The resulting keys are \".\" separated indices of the map keys. - For example: { \"a\": 1, \"b\": { \"c\": 2, \"d\": 3 } \"e\": [4, 5] } .denormalize() -\u003e { \"a\": 1, \"b.c\": 2, \"b.d\": 3, \"e.0\": 4, \"e.1\": 5 } - setField: map.setField(key, value) -\u003e message - Sets the field of the message with the given key to the given value. - If the field is not present it will be added. - If the field is present it will be overwritten. - The key can be a dot separated path to set a field in a nested message. - Key must be of type string. - Value may be any valid type. - removeFields: map.removeFields([key1, key2, ...]) -\u003e message - Removes the fields of the map with the given keys. - The keys can be a dot separated path to remove a field in a nested message. - If a key is not found it will be ignored. - Keys must be of type string. - toMap: [map1, map2, ...].toMap() -\u003e map - Converts a CEL list of CEL maps to a single CEL map - toCloudEventJsonWithPayloadFormat: message.toCloudEventJsonWithPayloadFormat() -\u003e map - Converts a message to the corresponding structure of JSON format for CloudEvents. - It converts `data` to destination payload format specified in `output_payload_format`. If `output_payload_format` is not set, the data will remain unchanged. - It also sets the corresponding datacontenttype of the CloudEvent, as indicated by `output_payload_format`. If no `output_payload_format` is set it will use the value of the \"datacontenttype\" attribute on the CloudEvent if present, else remove \"datacontenttype\" attribute. - This function expects that the content of the message will adhere to the standard CloudEvent format. If it doesn't then this function will fail. - The result is a CEL map that corresponds to the JSON representation of the CloudEvent. To convert that data to a JSON string it can be chained with the toJsonString function. The Pipeline expects that the message it receives adheres to the standard CloudEvent format. If it doesn't then the outgoing message request may fail with a persistent error.", "type": "string" }, "uri": { diff --git a/eventarc/v1/eventarc-gen.go b/eventarc/v1/eventarc-gen.go index d420a03074..9e86e19c9f 100644 --- a/eventarc/v1/eventarc-gen.go +++ b/eventarc/v1/eventarc-gen.go @@ -1167,14 +1167,16 @@ type GoogleCloudEventarcV1PipelineDestinationHttpEndpoint struct { // destination-bound HTTP request is constructed. If a binding expression is // not specified here, the message is treated as a CloudEvent and is mapped to // the HTTP request according to the CloudEvent HTTP Protocol Binding Binary - // Content Mode. In this representation, all fields except the `data` and - // `datacontenttype` field on the message are mapped to HTTP request headers - // with a prefix of `ce-`. To construct the HTTP request payload and the value - // of the content-type HTTP header, the payload format is defined as follows: - // 1) Use the output_payload_format_type on the Pipeline.Destination if it is - // set, else: 2) Use the input_payload_format_type on the Pipeline if it is - // set, else: 3) Treat the payload as opaque binary data. The `data` field of - // the message is converted to the payload format or left as-is for case 3) and + // Content Mode + // (https://github.com/cloudevents/spec/blob/main/cloudevents/bindings/http-protocol-binding.md#31-binary-content-mode). + // In this representation, all fields except the `data` and `datacontenttype` + // field on the message are mapped to HTTP request headers with a prefix of + // `ce-`. To construct the HTTP request payload and the value of the + // content-type HTTP header, the payload format is defined as follows: 1) Use + // the output_payload_format_type on the Pipeline.Destination if it is set, + // else: 2) Use the input_payload_format_type on the Pipeline if it is set, + // else: 3) Treat the payload as opaque binary data. The `data` field of the + // message is converted to the payload format or left as-is for case 3) and // then attached as the payload of the HTTP request. The `content-type` header // on the HTTP request is set to the payload format type or left empty for case // 3). However, if a mediation has updated the `datacontenttype` field on the @@ -7326,7 +7328,7 @@ type ProjectsLocationsMessageBusesListCall struct { // List: List message buses. // -// - parent: The parent collection to list triggers on. +// - parent: The parent collection to list message buses on. func (r *ProjectsLocationsMessageBusesService) List(parent string) *ProjectsLocationsMessageBusesListCall { c := &ProjectsLocationsMessageBusesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent diff --git a/netapp/v1/netapp-api.json b/netapp/v1/netapp-api.json index 912d4081d0..08490dbc1c 100644 --- a/netapp/v1/netapp-api.json +++ b/netapp/v1/netapp-api.json @@ -1073,7 +1073,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "netapp.projects.locations.operations.cancel", @@ -1385,6 +1385,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "validateDirectoryService": { + "description": "ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:validateDirectoryService", + "httpMethod": "POST", + "id": "netapp.projects.locations.storagePools.validateDirectoryService", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the storage pool", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:validateDirectoryService", + "request": { + "$ref": "ValidateDirectoryServiceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -1588,173 +1616,6 @@ } }, "resources": { - "quotaRules": { - "methods": { - "create": { - "description": "Creates a new quota rule.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules", - "httpMethod": "POST", - "id": "netapp.projects.locations.volumes.quotaRules.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Parent value for CreateQuotaRuleRequest", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", - "required": true, - "type": "string" - }, - "quotaRuleId": { - "description": "Required. ID of the quota rule to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/quotaRules", - "request": { - "$ref": "QuotaRule" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a quota rule.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules/{quotaRulesId}", - "httpMethod": "DELETE", - "id": "netapp.projects.locations.volumes.quotaRules.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the quota rule.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/quotaRules/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns details of the specified quota rule.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules/{quotaRulesId}", - "httpMethod": "GET", - "id": "netapp.projects.locations.volumes.quotaRules.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the quota rule", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/quotaRules/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "QuotaRule" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Returns list of all quota rules in a location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules", - "httpMethod": "GET", - "id": "netapp.projects.locations.volumes.quotaRules.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. Filtering results", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Hint for how to order the results", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A token identifying a page of results the server should return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Parent value for ListQuotaRulesRequest", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/quotaRules", - "response": { - "$ref": "ListQuotaRulesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates a quota rule.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules/{quotaRulesId}", - "httpMethod": "PATCH", - "id": "netapp.projects.locations.volumes.quotaRules.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The resource name of the active directory. Format: `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_id}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/quotaRules/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "QuotaRule" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, "replications": { "methods": { "create": { @@ -2236,7 +2097,7 @@ } } }, - "revision": "20241106", + "revision": "20241203", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -2651,6 +2512,10 @@ "description": "Required. Existing destination StoragePool name.", "type": "string" }, + "tieringPolicy": { + "$ref": "TieringPolicy", + "description": "Optional. Tiering policy for the volume." + }, "volumeId": { "description": "Desired destination volume resource id. If not specified, source volume's resource id will be used. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", "type": "string" @@ -3037,31 +2902,6 @@ }, "type": "object" }, - "ListQuotaRulesResponse": { - "description": "ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.", - "id": "ListQuotaRulesResponse", - "properties": { - "nextPageToken": { - "description": "A token identifying a page of results the server should return.", - "type": "string" - }, - "quotaRules": { - "description": "List of quota rules", - "items": { - "$ref": "QuotaRule" - }, - "type": "array" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "ListReplicationsResponse": { "description": "ListReplicationsResponse is the result of ListReplicationsRequest.", "id": "ListReplicationsResponse", @@ -3365,87 +3205,6 @@ }, "type": "object" }, - "QuotaRule": { - "description": "QuotaRule specifies the maximum disk space a user or group can use within a volume. They can be used for creating default and individual quota rules.", - "id": "QuotaRule", - "properties": { - "createTime": { - "description": "Output only. Create time of the quota rule", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "Optional. Description of the quota rule", - "type": "string" - }, - "diskLimitMib": { - "description": "Required. The maximum allowed disk space in MiB.", - "format": "int32", - "type": "integer" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Labels of the quota rule", - "type": "object" - }, - "name": { - "description": "Identifier. The resource name of the active directory. Format: `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_id}`.", - "type": "string" - }, - "state": { - "description": "Output only. State of the quota rule", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "UPDATING", - "DELETING", - "READY", - "ERROR" - ], - "enumDescriptions": [ - "Unspecified state for quota rule", - "Quota rule is creating", - "Quota rule is updating", - "Quota rule is deleting", - "Quota rule is ready", - "Quota rule is in error state." - ], - "readOnly": true, - "type": "string" - }, - "stateDetails": { - "description": "Output only. State details of the quota rule", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.", - "type": "string" - }, - "type": { - "description": "Required. The type of quota rule.", - "enum": [ - "TYPE_UNSPECIFIED", - "INDIVIDUAL_USER_QUOTA", - "INDIVIDUAL_GROUP_QUOTA", - "DEFAULT_USER_QUOTA", - "DEFAULT_GROUP_QUOTA" - ], - "enumDescriptions": [ - "Unspecified type for quota rule", - "Individual user quota rule", - "Individual group quota rule", - "Default user quota rule", - "Default group quota rule" - ], - "type": "string" - } - }, - "type": "object" - }, "Replication": { "description": "Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.", "id": "Replication", @@ -4063,6 +3822,25 @@ }, "type": "object" }, + "ValidateDirectoryServiceRequest": { + "description": "ValidateDirectoryServiceRequest validates the directory service policy attached to the storage pool.", + "id": "ValidateDirectoryServiceRequest", + "properties": { + "directoryServiceType": { + "description": "Type of directory service policy attached to the storage pool.", + "enum": [ + "DIRECTORY_SERVICE_TYPE_UNSPECIFIED", + "ACTIVE_DIRECTORY" + ], + "enumDescriptions": [ + "Directory service type is not specified.", + "Active directory policy attached to the storage pool." + ], + "type": "string" + } + }, + "type": "object" + }, "VerifyKmsConfigRequest": { "description": "VerifyKmsConfigRequest specifies the KMS config to be validated.", "id": "VerifyKmsConfigRequest", diff --git a/netapp/v1/netapp-gen.go b/netapp/v1/netapp-gen.go index 11aa52af2e..0e63955575 100644 --- a/netapp/v1/netapp-gen.go +++ b/netapp/v1/netapp-gen.go @@ -264,7 +264,6 @@ type ProjectsLocationsStoragePoolsService struct { func NewProjectsLocationsVolumesService(s *Service) *ProjectsLocationsVolumesService { rs := &ProjectsLocationsVolumesService{s: s} - rs.QuotaRules = NewProjectsLocationsVolumesQuotaRulesService(s) rs.Replications = NewProjectsLocationsVolumesReplicationsService(s) rs.Snapshots = NewProjectsLocationsVolumesSnapshotsService(s) return rs @@ -273,22 +272,11 @@ func NewProjectsLocationsVolumesService(s *Service) *ProjectsLocationsVolumesSer type ProjectsLocationsVolumesService struct { s *Service - QuotaRules *ProjectsLocationsVolumesQuotaRulesService - Replications *ProjectsLocationsVolumesReplicationsService Snapshots *ProjectsLocationsVolumesSnapshotsService } -func NewProjectsLocationsVolumesQuotaRulesService(s *Service) *ProjectsLocationsVolumesQuotaRulesService { - rs := &ProjectsLocationsVolumesQuotaRulesService{s: s} - return rs -} - -type ProjectsLocationsVolumesQuotaRulesService struct { - s *Service -} - func NewProjectsLocationsVolumesReplicationsService(s *Service) *ProjectsLocationsVolumesReplicationsService { rs := &ProjectsLocationsVolumesReplicationsService{s: s} return rs @@ -665,6 +653,8 @@ type DestinationVolumeParameters struct { ShareName string `json:"shareName,omitempty"` // StoragePool: Required. Existing destination StoragePool name. StoragePool string `json:"storagePool,omitempty"` + // TieringPolicy: Optional. Tiering policy for the volume. + TieringPolicy *TieringPolicy `json:"tieringPolicy,omitempty"` // VolumeId: Desired destination volume resource id. If not specified, source // volume's resource id will be used. This value must start with a lowercase // letter followed by up to 62 lowercase letters, numbers, or hyphens, and @@ -1149,37 +1139,6 @@ func (s ListOperationsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// ListQuotaRulesResponse: ListQuotaRulesResponse is the response to a -// ListQuotaRulesRequest. -type ListQuotaRulesResponse struct { - // NextPageToken: A token identifying a page of results the server should - // return. - NextPageToken string `json:"nextPageToken,omitempty"` - // QuotaRules: List of quota rules - QuotaRules []*QuotaRule `json:"quotaRules,omitempty"` - // Unreachable: Locations that could not be reached. - Unreachable []string `json:"unreachable,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the server. - googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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 ListQuotaRulesResponse) MarshalJSON() ([]byte, error) { - type NoMethod ListQuotaRulesResponse - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // ListReplicationsResponse: ListReplicationsResponse is the result of // ListReplicationsRequest. type ListReplicationsResponse struct { @@ -1540,67 +1499,6 @@ func (s OperationMetadata) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// QuotaRule: QuotaRule specifies the maximum disk space a user or group can -// use within a volume. They can be used for creating default and individual -// quota rules. -type QuotaRule struct { - // CreateTime: Output only. Create time of the quota rule - CreateTime string `json:"createTime,omitempty"` - // Description: Optional. Description of the quota rule - Description string `json:"description,omitempty"` - // DiskLimitMib: Required. The maximum allowed disk space in MiB. - DiskLimitMib int64 `json:"diskLimitMib,omitempty"` - // Labels: Optional. Labels of the quota rule - Labels map[string]string `json:"labels,omitempty"` - // Name: Identifier. The resource name of the active directory. Format: - // `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_id} - // `. - Name string `json:"name,omitempty"` - // State: Output only. State of the quota rule - // - // Possible values: - // "STATE_UNSPECIFIED" - Unspecified state for quota rule - // "CREATING" - Quota rule is creating - // "UPDATING" - Quota rule is updating - // "DELETING" - Quota rule is deleting - // "READY" - Quota rule is ready - // "ERROR" - Quota rule is in error state. - State string `json:"state,omitempty"` - // StateDetails: Output only. State details of the quota rule - StateDetails string `json:"stateDetails,omitempty"` - // Target: Optional. The quota rule applies to the specified user or group, - // identified by a Unix UID/GID, Windows SID, or null for default. - Target string `json:"target,omitempty"` - // Type: Required. The type of quota rule. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Unspecified type for quota rule - // "INDIVIDUAL_USER_QUOTA" - Individual user quota rule - // "INDIVIDUAL_GROUP_QUOTA" - Individual group quota rule - // "DEFAULT_USER_QUOTA" - Default user quota rule - // "DEFAULT_GROUP_QUOTA" - Default group quota rule - Type string `json:"type,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the server. - googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s QuotaRule) MarshalJSON() ([]byte, error) { - type NoMethod QuotaRule - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // Replication: Replication is a nested resource under Volume, that describes a // cross-region replication relationship between 2 volumes in different // regions. @@ -2175,6 +2073,35 @@ func (s TransferStats) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ValidateDirectoryServiceRequest: ValidateDirectoryServiceRequest validates +// the directory service policy attached to the storage pool. +type ValidateDirectoryServiceRequest struct { + // DirectoryServiceType: Type of directory service policy attached to the + // storage pool. + // + // Possible values: + // "DIRECTORY_SERVICE_TYPE_UNSPECIFIED" - Directory service type is not + // specified. + // "ACTIVE_DIRECTORY" - Active directory policy attached to the storage pool. + DirectoryServiceType string `json:"directoryServiceType,omitempty"` + // ForceSendFields is a list of field names (e.g. "DirectoryServiceType") 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. "DirectoryServiceType") 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 ValidateDirectoryServiceRequest) MarshalJSON() ([]byte, error) { + type NoMethod ValidateDirectoryServiceRequest + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // VerifyKmsConfigRequest: VerifyKmsConfigRequest specifies the KMS config to // be validated. type VerifyKmsConfigRequest struct { @@ -5874,7 +5801,7 @@ type ProjectsLocationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. @@ -7008,6 +6935,108 @@ func (c *ProjectsLocationsStoragePoolsSwitchCall) Do(opts ...googleapi.CallOptio return ret, nil } +type ProjectsLocationsStoragePoolsValidateDirectoryServiceCall struct { + s *Service + name string + validatedirectoryservicerequest *ValidateDirectoryServiceRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ValidateDirectoryService: ValidateDirectoryService does a connectivity check +// for a directory service policy attached to the storage pool. +// +// - name: Name of the storage pool. +func (r *ProjectsLocationsStoragePoolsService) ValidateDirectoryService(name string, validatedirectoryservicerequest *ValidateDirectoryServiceRequest) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall { + c := &ProjectsLocationsStoragePoolsValidateDirectoryServiceCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.validatedirectoryservicerequest = validatedirectoryservicerequest + 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 *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall { + 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 *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.validatedirectoryservicerequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:validateDirectoryService") + 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{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "netapp.projects.locations.storagePools.validateDirectoryService" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type ProjectsLocationsVolumesCreateCall struct { s *Service parent string @@ -7702,590 +7731,6 @@ func (c *ProjectsLocationsVolumesRevertCall) Do(opts ...googleapi.CallOption) (* return ret, nil } -type ProjectsLocationsVolumesQuotaRulesCreateCall struct { - s *Service - parent string - quotarule *QuotaRule - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Create: Creates a new quota rule. -// -// - parent: Parent value for CreateQuotaRuleRequest. -func (r *ProjectsLocationsVolumesQuotaRulesService) Create(parent string, quotarule *QuotaRule) *ProjectsLocationsVolumesQuotaRulesCreateCall { - c := &ProjectsLocationsVolumesQuotaRulesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.quotarule = quotarule - return c -} - -// QuotaRuleId sets the optional parameter "quotaRuleId": Required. ID of the -// quota rule to create. Must be unique within the parent resource. Must -// contain only letters, numbers, underscore and hyphen, with the first -// character a letter or underscore, the last a letter or underscore or a -// number, and a 63 character maximum. -func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) QuotaRuleId(quotaRuleId string) *ProjectsLocationsVolumesQuotaRulesCreateCall { - c.urlParams_.Set("quotaRuleId", quotaRuleId) - 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 *ProjectsLocationsVolumesQuotaRulesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesCreateCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesCreateCall { - 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 *ProjectsLocationsVolumesQuotaRulesCreateCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.quotarule) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/quotaRules") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.create" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsVolumesQuotaRulesDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Delete: Deletes a quota rule. -// -// - name: Name of the quota rule. -func (r *ProjectsLocationsVolumesQuotaRulesService) Delete(name string) *ProjectsLocationsVolumesQuotaRulesDeleteCall { - c := &ProjectsLocationsVolumesQuotaRulesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesDeleteCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesDeleteCall { - 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 *ProjectsLocationsVolumesQuotaRulesDeleteCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.delete" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsVolumesQuotaRulesGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// Get: Returns details of the specified quota rule. -// -// - name: Name of the quota rule. -func (r *ProjectsLocationsVolumesQuotaRulesService) Get(name string) *ProjectsLocationsVolumesQuotaRulesGetCall { - c := &ProjectsLocationsVolumesQuotaRulesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesGetCall { - 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 *ProjectsLocationsVolumesQuotaRulesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesQuotaRulesGetCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesGetCall { - 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 *ProjectsLocationsVolumesQuotaRulesGetCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.get" call. -// Any non-2xx status code is an error. Response headers are in either -// *QuotaRule.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 *ProjectsLocationsVolumesQuotaRulesGetCall) Do(opts ...googleapi.CallOption) (*QuotaRule, 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 := &QuotaRule{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsVolumesQuotaRulesListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// List: Returns list of all quota rules in a location. -// -// - parent: Parent value for ListQuotaRulesRequest. -func (r *ProjectsLocationsVolumesQuotaRulesService) List(parent string) *ProjectsLocationsVolumesQuotaRulesListCall { - c := &ProjectsLocationsVolumesQuotaRulesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} - -// Filter sets the optional parameter "filter": Filtering results -func (c *ProjectsLocationsVolumesQuotaRulesListCall) Filter(filter string) *ProjectsLocationsVolumesQuotaRulesListCall { - c.urlParams_.Set("filter", filter) - return c -} - -// OrderBy sets the optional parameter "orderBy": Hint for how to order the -// results -func (c *ProjectsLocationsVolumesQuotaRulesListCall) OrderBy(orderBy string) *ProjectsLocationsVolumesQuotaRulesListCall { - c.urlParams_.Set("orderBy", orderBy) - return c -} - -// PageSize sets the optional parameter "pageSize": Requested page size. Server -// may return fewer items than requested. If unspecified, the server will pick -// an appropriate default. -func (c *ProjectsLocationsVolumesQuotaRulesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesQuotaRulesListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": A token identifying a -// page of results the server should return. -func (c *ProjectsLocationsVolumesQuotaRulesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesQuotaRulesListCall { - c.urlParams_.Set("pageToken", pageToken) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsVolumesQuotaRulesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesListCall { - 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 *ProjectsLocationsVolumesQuotaRulesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesQuotaRulesListCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesListCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesListCall { - 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 *ProjectsLocationsVolumesQuotaRulesListCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/quotaRules") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.list" call. -// Any non-2xx status code is an error. Response headers are in either -// *ListQuotaRulesResponse.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 *ProjectsLocationsVolumesQuotaRulesListCall) Do(opts ...googleapi.CallOption) (*ListQuotaRulesResponse, 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 := &ListQuotaRulesResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -// 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 *ProjectsLocationsVolumesQuotaRulesListCall) Pages(ctx context.Context, f func(*ListQuotaRulesResponse) 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 ProjectsLocationsVolumesQuotaRulesPatchCall struct { - s *Service - name string - quotarule *QuotaRule - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates a quota rule. -// -// - name: Identifier. The resource name of the active directory. Format: -// `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_i -// d}`. -func (r *ProjectsLocationsVolumesQuotaRulesService) Patch(name string, quotarule *QuotaRule) *ProjectsLocationsVolumesQuotaRulesPatchCall { - c := &ProjectsLocationsVolumesQuotaRulesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.quotarule = quotarule - return c -} - -// UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the Quota Rule resource by the -// update. The fields specified in the update_mask are relative to the -// resource, not the full request. A field will be overwritten if it is in the -// mask. If the user does not provide a mask then all fields will be -// overwritten. -func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVolumesQuotaRulesPatchCall { - c.urlParams_.Set("updateMask", updateMask) - 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 *ProjectsLocationsVolumesQuotaRulesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesPatchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesPatchCall { - 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 *ProjectsLocationsVolumesQuotaRulesPatchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.quotarule) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.patch" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - type ProjectsLocationsVolumesReplicationsCreateCall struct { s *Service parent string diff --git a/netapp/v1beta1/netapp-api.json b/netapp/v1beta1/netapp-api.json index b0b584e94f..da4c5ecffd 100644 --- a/netapp/v1beta1/netapp-api.json +++ b/netapp/v1beta1/netapp-api.json @@ -1073,7 +1073,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "netapp.projects.locations.operations.cancel", @@ -1385,6 +1385,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "validateDirectoryService": { + "description": "ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/storagePools/{storagePoolsId}:validateDirectoryService", + "httpMethod": "POST", + "id": "netapp.projects.locations.storagePools.validateDirectoryService", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the storage pool", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/storagePools/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:validateDirectoryService", + "request": { + "$ref": "ValidateDirectoryServiceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -1588,173 +1616,6 @@ } }, "resources": { - "quotaRules": { - "methods": { - "create": { - "description": "Creates a new quota rule.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules", - "httpMethod": "POST", - "id": "netapp.projects.locations.volumes.quotaRules.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Parent value for CreateQuotaRuleRequest", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", - "required": true, - "type": "string" - }, - "quotaRuleId": { - "description": "Required. ID of the quota rule to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+parent}/quotaRules", - "request": { - "$ref": "QuotaRule" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a quota rule.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules/{quotaRulesId}", - "httpMethod": "DELETE", - "id": "netapp.projects.locations.volumes.quotaRules.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the quota rule.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/quotaRules/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Returns details of the specified quota rule.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules/{quotaRulesId}", - "httpMethod": "GET", - "id": "netapp.projects.locations.volumes.quotaRules.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the quota rule", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/quotaRules/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "response": { - "$ref": "QuotaRule" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Returns list of all quota rules in a location.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules", - "httpMethod": "GET", - "id": "netapp.projects.locations.volumes.quotaRules.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. Filtering results", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Hint for how to order the results", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A token identifying a page of results the server should return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Parent value for ListQuotaRulesRequest", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+parent}/quotaRules", - "response": { - "$ref": "ListQuotaRulesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates a quota rule.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/quotaRules/{quotaRulesId}", - "httpMethod": "PATCH", - "id": "netapp.projects.locations.volumes.quotaRules.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The resource name of the active directory. Format: `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_id}`.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/quotaRules/[^/]+$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1beta1/{+name}", - "request": { - "$ref": "QuotaRule" - }, - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, "replications": { "methods": { "create": { @@ -2236,7 +2097,7 @@ } } }, - "revision": "20241106", + "revision": "20241203", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -2651,6 +2512,10 @@ "description": "Required. Existing destination StoragePool name.", "type": "string" }, + "tieringPolicy": { + "$ref": "TieringPolicy", + "description": "Optional. Tiering policy for the volume." + }, "volumeId": { "description": "Desired destination volume resource id. If not specified, source volume's resource id will be used. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.", "type": "string" @@ -3037,31 +2902,6 @@ }, "type": "object" }, - "ListQuotaRulesResponse": { - "description": "ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.", - "id": "ListQuotaRulesResponse", - "properties": { - "nextPageToken": { - "description": "A token identifying a page of results the server should return.", - "type": "string" - }, - "quotaRules": { - "description": "List of quota rules", - "items": { - "$ref": "QuotaRule" - }, - "type": "array" - }, - "unreachable": { - "description": "Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "ListReplicationsResponse": { "description": "ListReplicationsResponse is the result of ListReplicationsRequest.", "id": "ListReplicationsResponse", @@ -3365,87 +3205,6 @@ }, "type": "object" }, - "QuotaRule": { - "description": "QuotaRule specifies the maximum disk space a user or group can use within a volume. They can be used for creating default and individual quota rules.", - "id": "QuotaRule", - "properties": { - "createTime": { - "description": "Output only. Create time of the quota rule", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "Optional. Description of the quota rule", - "type": "string" - }, - "diskLimitMib": { - "description": "Required. The maximum allowed disk space in MiB.", - "format": "int32", - "type": "integer" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Labels of the quota rule", - "type": "object" - }, - "name": { - "description": "Identifier. The resource name of the active directory. Format: `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_id}`.", - "type": "string" - }, - "state": { - "description": "Output only. State of the quota rule", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "UPDATING", - "DELETING", - "READY", - "ERROR" - ], - "enumDescriptions": [ - "Unspecified state for quota rule", - "Quota rule is creating", - "Quota rule is updating", - "Quota rule is deleting", - "Quota rule is ready", - "Quota rule is in error state." - ], - "readOnly": true, - "type": "string" - }, - "stateDetails": { - "description": "Output only. State details of the quota rule", - "readOnly": true, - "type": "string" - }, - "target": { - "description": "Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.", - "type": "string" - }, - "type": { - "description": "Required. The type of quota rule.", - "enum": [ - "TYPE_UNSPECIFIED", - "INDIVIDUAL_USER_QUOTA", - "INDIVIDUAL_GROUP_QUOTA", - "DEFAULT_USER_QUOTA", - "DEFAULT_GROUP_QUOTA" - ], - "enumDescriptions": [ - "Unspecified type for quota rule", - "Individual user quota rule", - "Individual group quota rule", - "Default user quota rule", - "Default group quota rule" - ], - "type": "string" - } - }, - "type": "object" - }, "Replication": { "description": "Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.", "id": "Replication", @@ -4063,6 +3822,25 @@ }, "type": "object" }, + "ValidateDirectoryServiceRequest": { + "description": "ValidateDirectoryServiceRequest validates the directory service policy attached to the storage pool.", + "id": "ValidateDirectoryServiceRequest", + "properties": { + "directoryServiceType": { + "description": "Type of directory service policy attached to the storage pool.", + "enum": [ + "DIRECTORY_SERVICE_TYPE_UNSPECIFIED", + "ACTIVE_DIRECTORY" + ], + "enumDescriptions": [ + "Directory service type is not specified.", + "Active directory policy attached to the storage pool." + ], + "type": "string" + } + }, + "type": "object" + }, "VerifyKmsConfigRequest": { "description": "VerifyKmsConfigRequest specifies the KMS config to be validated.", "id": "VerifyKmsConfigRequest", diff --git a/netapp/v1beta1/netapp-gen.go b/netapp/v1beta1/netapp-gen.go index 8f8ea26809..07f7890b2c 100644 --- a/netapp/v1beta1/netapp-gen.go +++ b/netapp/v1beta1/netapp-gen.go @@ -264,7 +264,6 @@ type ProjectsLocationsStoragePoolsService struct { func NewProjectsLocationsVolumesService(s *Service) *ProjectsLocationsVolumesService { rs := &ProjectsLocationsVolumesService{s: s} - rs.QuotaRules = NewProjectsLocationsVolumesQuotaRulesService(s) rs.Replications = NewProjectsLocationsVolumesReplicationsService(s) rs.Snapshots = NewProjectsLocationsVolumesSnapshotsService(s) return rs @@ -273,22 +272,11 @@ func NewProjectsLocationsVolumesService(s *Service) *ProjectsLocationsVolumesSer type ProjectsLocationsVolumesService struct { s *Service - QuotaRules *ProjectsLocationsVolumesQuotaRulesService - Replications *ProjectsLocationsVolumesReplicationsService Snapshots *ProjectsLocationsVolumesSnapshotsService } -func NewProjectsLocationsVolumesQuotaRulesService(s *Service) *ProjectsLocationsVolumesQuotaRulesService { - rs := &ProjectsLocationsVolumesQuotaRulesService{s: s} - return rs -} - -type ProjectsLocationsVolumesQuotaRulesService struct { - s *Service -} - func NewProjectsLocationsVolumesReplicationsService(s *Service) *ProjectsLocationsVolumesReplicationsService { rs := &ProjectsLocationsVolumesReplicationsService{s: s} return rs @@ -665,6 +653,8 @@ type DestinationVolumeParameters struct { ShareName string `json:"shareName,omitempty"` // StoragePool: Required. Existing destination StoragePool name. StoragePool string `json:"storagePool,omitempty"` + // TieringPolicy: Optional. Tiering policy for the volume. + TieringPolicy *TieringPolicy `json:"tieringPolicy,omitempty"` // VolumeId: Desired destination volume resource id. If not specified, source // volume's resource id will be used. This value must start with a lowercase // letter followed by up to 62 lowercase letters, numbers, or hyphens, and @@ -1149,37 +1139,6 @@ func (s ListOperationsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// ListQuotaRulesResponse: ListQuotaRulesResponse is the response to a -// ListQuotaRulesRequest. -type ListQuotaRulesResponse struct { - // NextPageToken: A token identifying a page of results the server should - // return. - NextPageToken string `json:"nextPageToken,omitempty"` - // QuotaRules: List of quota rules - QuotaRules []*QuotaRule `json:"quotaRules,omitempty"` - // Unreachable: Locations that could not be reached. - Unreachable []string `json:"unreachable,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the server. - googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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 ListQuotaRulesResponse) MarshalJSON() ([]byte, error) { - type NoMethod ListQuotaRulesResponse - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // ListReplicationsResponse: ListReplicationsResponse is the result of // ListReplicationsRequest. type ListReplicationsResponse struct { @@ -1540,67 +1499,6 @@ func (s OperationMetadata) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// QuotaRule: QuotaRule specifies the maximum disk space a user or group can -// use within a volume. They can be used for creating default and individual -// quota rules. -type QuotaRule struct { - // CreateTime: Output only. Create time of the quota rule - CreateTime string `json:"createTime,omitempty"` - // Description: Optional. Description of the quota rule - Description string `json:"description,omitempty"` - // DiskLimitMib: Required. The maximum allowed disk space in MiB. - DiskLimitMib int64 `json:"diskLimitMib,omitempty"` - // Labels: Optional. Labels of the quota rule - Labels map[string]string `json:"labels,omitempty"` - // Name: Identifier. The resource name of the active directory. Format: - // `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_id} - // `. - Name string `json:"name,omitempty"` - // State: Output only. State of the quota rule - // - // Possible values: - // "STATE_UNSPECIFIED" - Unspecified state for quota rule - // "CREATING" - Quota rule is creating - // "UPDATING" - Quota rule is updating - // "DELETING" - Quota rule is deleting - // "READY" - Quota rule is ready - // "ERROR" - Quota rule is in error state. - State string `json:"state,omitempty"` - // StateDetails: Output only. State details of the quota rule - StateDetails string `json:"stateDetails,omitempty"` - // Target: Optional. The quota rule applies to the specified user or group, - // identified by a Unix UID/GID, Windows SID, or null for default. - Target string `json:"target,omitempty"` - // Type: Required. The type of quota rule. - // - // Possible values: - // "TYPE_UNSPECIFIED" - Unspecified type for quota rule - // "INDIVIDUAL_USER_QUOTA" - Individual user quota rule - // "INDIVIDUAL_GROUP_QUOTA" - Individual group quota rule - // "DEFAULT_USER_QUOTA" - Default user quota rule - // "DEFAULT_GROUP_QUOTA" - Default group quota rule - Type string `json:"type,omitempty"` - - // ServerResponse contains the HTTP response code and headers from the server. - googleapi.ServerResponse `json:"-"` - // ForceSendFields is a list of field names (e.g. "CreateTime") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CreateTime") to include in API - // requests with the JSON null value. By default, fields with empty values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s QuotaRule) MarshalJSON() ([]byte, error) { - type NoMethod QuotaRule - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // Replication: Replication is a nested resource under Volume, that describes a // cross-region replication relationship between 2 volumes in different // regions. @@ -2175,6 +2073,35 @@ func (s TransferStats) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ValidateDirectoryServiceRequest: ValidateDirectoryServiceRequest validates +// the directory service policy attached to the storage pool. +type ValidateDirectoryServiceRequest struct { + // DirectoryServiceType: Type of directory service policy attached to the + // storage pool. + // + // Possible values: + // "DIRECTORY_SERVICE_TYPE_UNSPECIFIED" - Directory service type is not + // specified. + // "ACTIVE_DIRECTORY" - Active directory policy attached to the storage pool. + DirectoryServiceType string `json:"directoryServiceType,omitempty"` + // ForceSendFields is a list of field names (e.g. "DirectoryServiceType") 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. "DirectoryServiceType") 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 ValidateDirectoryServiceRequest) MarshalJSON() ([]byte, error) { + type NoMethod ValidateDirectoryServiceRequest + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // VerifyKmsConfigRequest: VerifyKmsConfigRequest specifies the KMS config to // be validated. type VerifyKmsConfigRequest struct { @@ -5874,7 +5801,7 @@ type ProjectsLocationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. @@ -7008,6 +6935,108 @@ func (c *ProjectsLocationsStoragePoolsSwitchCall) Do(opts ...googleapi.CallOptio return ret, nil } +type ProjectsLocationsStoragePoolsValidateDirectoryServiceCall struct { + s *Service + name string + validatedirectoryservicerequest *ValidateDirectoryServiceRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// ValidateDirectoryService: ValidateDirectoryService does a connectivity check +// for a directory service policy attached to the storage pool. +// +// - name: Name of the storage pool. +func (r *ProjectsLocationsStoragePoolsService) ValidateDirectoryService(name string, validatedirectoryservicerequest *ValidateDirectoryServiceRequest) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall { + c := &ProjectsLocationsStoragePoolsValidateDirectoryServiceCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.validatedirectoryservicerequest = validatedirectoryservicerequest + 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 *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Fields(s ...googleapi.Field) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Context(ctx context.Context) *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall { + 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 *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.validatedirectoryservicerequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}:validateDirectoryService") + 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{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "netapp.projects.locations.storagePools.validateDirectoryService" call. +// Any non-2xx status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsStoragePoolsValidateDirectoryServiceCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + type ProjectsLocationsVolumesCreateCall struct { s *Service parent string @@ -7702,590 +7731,6 @@ func (c *ProjectsLocationsVolumesRevertCall) Do(opts ...googleapi.CallOption) (* return ret, nil } -type ProjectsLocationsVolumesQuotaRulesCreateCall struct { - s *Service - parent string - quotarule *QuotaRule - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Create: Creates a new quota rule. -// -// - parent: Parent value for CreateQuotaRuleRequest. -func (r *ProjectsLocationsVolumesQuotaRulesService) Create(parent string, quotarule *QuotaRule) *ProjectsLocationsVolumesQuotaRulesCreateCall { - c := &ProjectsLocationsVolumesQuotaRulesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - c.quotarule = quotarule - return c -} - -// QuotaRuleId sets the optional parameter "quotaRuleId": Required. ID of the -// quota rule to create. Must be unique within the parent resource. Must -// contain only letters, numbers, underscore and hyphen, with the first -// character a letter or underscore, the last a letter or underscore or a -// number, and a 63 character maximum. -func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) QuotaRuleId(quotaRuleId string) *ProjectsLocationsVolumesQuotaRulesCreateCall { - c.urlParams_.Set("quotaRuleId", quotaRuleId) - 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 *ProjectsLocationsVolumesQuotaRulesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesCreateCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesCreateCall { - 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 *ProjectsLocationsVolumesQuotaRulesCreateCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.quotarule) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/quotaRules") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("POST", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.create" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsVolumesQuotaRulesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsVolumesQuotaRulesDeleteCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Delete: Deletes a quota rule. -// -// - name: Name of the quota rule. -func (r *ProjectsLocationsVolumesQuotaRulesService) Delete(name string) *ProjectsLocationsVolumesQuotaRulesDeleteCall { - c := &ProjectsLocationsVolumesQuotaRulesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesDeleteCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesDeleteCall { - 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 *ProjectsLocationsVolumesQuotaRulesDeleteCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("DELETE", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.delete" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsVolumesQuotaRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsVolumesQuotaRulesGetCall struct { - s *Service - name string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// Get: Returns details of the specified quota rule. -// -// - name: Name of the quota rule. -func (r *ProjectsLocationsVolumesQuotaRulesService) Get(name string) *ProjectsLocationsVolumesQuotaRulesGetCall { - c := &ProjectsLocationsVolumesQuotaRulesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesGetCall { - 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 *ProjectsLocationsVolumesQuotaRulesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesQuotaRulesGetCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesGetCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesGetCall { - 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 *ProjectsLocationsVolumesQuotaRulesGetCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesGetCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.get" call. -// Any non-2xx status code is an error. Response headers are in either -// *QuotaRule.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 *ProjectsLocationsVolumesQuotaRulesGetCall) Do(opts ...googleapi.CallOption) (*QuotaRule, 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 := &QuotaRule{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -type ProjectsLocationsVolumesQuotaRulesListCall struct { - s *Service - parent string - urlParams_ gensupport.URLParams - ifNoneMatch_ string - ctx_ context.Context - header_ http.Header -} - -// List: Returns list of all quota rules in a location. -// -// - parent: Parent value for ListQuotaRulesRequest. -func (r *ProjectsLocationsVolumesQuotaRulesService) List(parent string) *ProjectsLocationsVolumesQuotaRulesListCall { - c := &ProjectsLocationsVolumesQuotaRulesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.parent = parent - return c -} - -// Filter sets the optional parameter "filter": Filtering results -func (c *ProjectsLocationsVolumesQuotaRulesListCall) Filter(filter string) *ProjectsLocationsVolumesQuotaRulesListCall { - c.urlParams_.Set("filter", filter) - return c -} - -// OrderBy sets the optional parameter "orderBy": Hint for how to order the -// results -func (c *ProjectsLocationsVolumesQuotaRulesListCall) OrderBy(orderBy string) *ProjectsLocationsVolumesQuotaRulesListCall { - c.urlParams_.Set("orderBy", orderBy) - return c -} - -// PageSize sets the optional parameter "pageSize": Requested page size. Server -// may return fewer items than requested. If unspecified, the server will pick -// an appropriate default. -func (c *ProjectsLocationsVolumesQuotaRulesListCall) PageSize(pageSize int64) *ProjectsLocationsVolumesQuotaRulesListCall { - c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) - return c -} - -// PageToken sets the optional parameter "pageToken": A token identifying a -// page of results the server should return. -func (c *ProjectsLocationsVolumesQuotaRulesListCall) PageToken(pageToken string) *ProjectsLocationsVolumesQuotaRulesListCall { - c.urlParams_.Set("pageToken", pageToken) - return c -} - -// Fields allows partial responses to be retrieved. See -// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more -// details. -func (c *ProjectsLocationsVolumesQuotaRulesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesListCall { - 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 *ProjectsLocationsVolumesQuotaRulesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVolumesQuotaRulesListCall { - c.ifNoneMatch_ = entityTag - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesListCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesListCall { - 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 *ProjectsLocationsVolumesQuotaRulesListCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesListCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) - if c.ifNoneMatch_ != "" { - reqHeaders.Set("If-None-Match", c.ifNoneMatch_) - } - var body io.Reader = nil - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+parent}/quotaRules") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("GET", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "parent": c.parent, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.list" call. -// Any non-2xx status code is an error. Response headers are in either -// *ListQuotaRulesResponse.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 *ProjectsLocationsVolumesQuotaRulesListCall) Do(opts ...googleapi.CallOption) (*ListQuotaRulesResponse, 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 := &ListQuotaRulesResponse{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - -// 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 *ProjectsLocationsVolumesQuotaRulesListCall) Pages(ctx context.Context, f func(*ListQuotaRulesResponse) 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 ProjectsLocationsVolumesQuotaRulesPatchCall struct { - s *Service - name string - quotarule *QuotaRule - urlParams_ gensupport.URLParams - ctx_ context.Context - header_ http.Header -} - -// Patch: Updates a quota rule. -// -// - name: Identifier. The resource name of the active directory. Format: -// `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_i -// d}`. -func (r *ProjectsLocationsVolumesQuotaRulesService) Patch(name string, quotarule *QuotaRule) *ProjectsLocationsVolumesQuotaRulesPatchCall { - c := &ProjectsLocationsVolumesQuotaRulesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} - c.name = name - c.quotarule = quotarule - return c -} - -// UpdateMask sets the optional parameter "updateMask": Field mask is used to -// specify the fields to be overwritten in the Quota Rule resource by the -// update. The fields specified in the update_mask are relative to the -// resource, not the full request. A field will be overwritten if it is in the -// mask. If the user does not provide a mask then all fields will be -// overwritten. -func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVolumesQuotaRulesPatchCall { - c.urlParams_.Set("updateMask", updateMask) - 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 *ProjectsLocationsVolumesQuotaRulesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVolumesQuotaRulesPatchCall { - c.urlParams_.Set("fields", googleapi.CombineFields(s)) - return c -} - -// Context sets the context to be used in this call's Do method. -func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Context(ctx context.Context) *ProjectsLocationsVolumesQuotaRulesPatchCall { - 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 *ProjectsLocationsVolumesQuotaRulesPatchCall) Header() http.Header { - if c.header_ == nil { - c.header_ = make(http.Header) - } - return c.header_ -} - -func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) doRequest(alt string) (*http.Response, error) { - reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) - var body io.Reader = nil - body, err := googleapi.WithoutDataWrapper.JSONReader(c.quotarule) - if err != nil { - return nil, err - } - c.urlParams_.Set("alt", alt) - c.urlParams_.Set("prettyPrint", "false") - urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}") - urls += "?" + c.urlParams_.Encode() - req, err := http.NewRequest("PATCH", urls, body) - if err != nil { - return nil, err - } - req.Header = reqHeaders - googleapi.Expand(req.URL, map[string]string{ - "name": c.name, - }) - return gensupport.SendRequest(c.ctx_, c.s.client, req) -} - -// Do executes the "netapp.projects.locations.volumes.quotaRules.patch" call. -// Any non-2xx status code is an error. Response headers are in either -// *Operation.ServerResponse.Header or (if a response was returned at all) in -// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check -// whether the returned error was because http.StatusNotModified was returned. -func (c *ProjectsLocationsVolumesQuotaRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) { - gensupport.SetOptions(c.urlParams_, opts...) - res, err := c.doRequest("json") - if res != nil && res.StatusCode == http.StatusNotModified { - if res.Body != nil { - res.Body.Close() - } - return nil, gensupport.WrapError(&googleapi.Error{ - Code: res.StatusCode, - Header: res.Header, - }) - } - if err != nil { - return nil, err - } - defer googleapi.CloseBody(res) - if err := googleapi.CheckResponse(res); err != nil { - return nil, gensupport.WrapError(err) - } - ret := &Operation{ - ServerResponse: googleapi.ServerResponse{ - Header: res.Header, - HTTPStatusCode: res.StatusCode, - }, - } - target := &ret - if err := gensupport.DecodeResponse(target, res); err != nil { - return nil, err - } - return ret, nil -} - type ProjectsLocationsVolumesReplicationsCreateCall struct { s *Service parent string diff --git a/securitycenter/v1/securitycenter-api.json b/securitycenter/v1/securitycenter-api.json index 9bdeea2592..5365c09684 100644 --- a/securitycenter/v1/securitycenter-api.json +++ b/securitycenter/v1/securitycenter-api.json @@ -1971,6 +1971,51 @@ } } }, + "attackPaths": { + "methods": { + "list": { + "description": "Lists the attack paths for a set of simulation results or valued resources and filter.", + "flatPath": "v1/organizations/{organizationsId}/attackPaths", + "httpMethod": "GET", + "id": "securitycenter.organizations.attackPaths.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Name of parent to list attack paths. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", + "location": "path", + "pattern": "^organizations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/attackPaths", + "response": { + "$ref": "ListAttackPathsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "bigQueryExports": { "methods": { "create": { @@ -2856,7 +2901,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/organizations/{organizationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "securitycenter.organizations.operations.cancel", @@ -5893,7 +5938,7 @@ } } }, - "revision": "20241111", + "revision": "20241205", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -10606,6 +10651,403 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2Issue": { + "description": "Security Command Center Issue.", + "id": "GoogleCloudSecuritycenterV2Issue", + "properties": { + "createTime": { + "description": "Output only. The time the issue was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "The description of the issue in Markdown format.", + "type": "string" + }, + "detection": { + "description": "The finding category or rule name that generated the issue.", + "type": "string" + }, + "domains": { + "description": "The domains of the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueDomain" + }, + "type": "array" + }, + "exposureScore": { + "description": "The exposure score of the issue.", + "format": "double", + "type": "number" + }, + "issueType": { + "description": "The type of the issue.", + "enum": [ + "ISSUE_TYPE_UNSPECIFIED", + "CHOKEPOINT", + "TOXIC_COMBINATION", + "INSIGHT" + ], + "enumDescriptions": [ + "Unspecified issue type.", + "Chokepoint issue type.", + "Toxic combination issue type.", + "Insight issue type." + ], + "type": "string" + }, + "lastObservationTime": { + "description": "The time the issue was last observed.", + "format": "google-datetime", + "type": "string" + }, + "mute": { + "$ref": "GoogleCloudSecuritycenterV2IssueMute", + "description": "The mute information of the issue." + }, + "name": { + "description": "Identifier. The name of the issue. Format: organizations/{organization}/locations/{location}/issues/{issue}", + "type": "string" + }, + "primaryResource": { + "$ref": "GoogleCloudSecuritycenterV2IssueResource", + "description": "The primary resource associated with the issue." + }, + "relatedFindings": { + "description": "The findings related to the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueFinding" + }, + "type": "array" + }, + "remediations": { + "description": "Approaches to remediate the issue in Markdown format.", + "items": { + "type": "string" + }, + "type": "array" + }, + "secondaryResources": { + "description": "Additional resources associated with the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueResource" + }, + "type": "array" + }, + "securityContexts": { + "description": "The security context of the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueSecurityContext" + }, + "type": "array" + }, + "severity": { + "description": "The severity of the issue.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "CRITICAL", + "HIGH", + "MEDIUM", + "LOW" + ], + "enumDescriptions": [ + "Unspecified severity.", + "Critical severity.", + "High severity.", + "Medium severity.", + "Low severity." + ], + "type": "string" + }, + "state": { + "description": "Output only. The state of the issue.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "INACTIVE" + ], + "enumDescriptions": [ + "Unspecified state.", + "Active state.", + "Inactive state." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time the issue was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueDomain": { + "description": "The domains of an issue.", + "id": "GoogleCloudSecuritycenterV2IssueDomain", + "properties": { + "domainCategory": { + "description": "The domain category of the issue.", + "enum": [ + "DOMAIN_CATEGORY_UNSPECIFIED", + "AI", + "CODE", + "CONTAINER", + "DATA", + "IDENTITY_AND_ACCESS", + "VULNERABILITY" + ], + "enumDescriptions": [ + "Unspecified domain category.", + "Issues in the AI domain.", + "Issues in the code domain.", + "Issues in the container domain.", + "Issues in the data domain.", + "Issues in the identity and access domain.", + "Issues in the vulnerability domain." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueFinding": { + "description": "Finding related to an issue.", + "id": "GoogleCloudSecuritycenterV2IssueFinding", + "properties": { + "cve": { + "$ref": "GoogleCloudSecuritycenterV2IssueFindingCve", + "description": "The CVE of the finding." + }, + "name": { + "description": "The name of the finding.", + "type": "string" + }, + "securityBulletin": { + "$ref": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", + "description": "The security bulletin of the finding." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueFindingCve": { + "description": "The CVE of the finding.", + "id": "GoogleCloudSecuritycenterV2IssueFindingCve", + "properties": { + "name": { + "description": "The CVE name.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin": { + "description": "The security bulletin of the finding.", + "id": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", + "properties": { + "name": { + "description": "The security bulletin name.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueMute": { + "description": "The mute information of the issue.", + "id": "GoogleCloudSecuritycenterV2IssueMute", + "properties": { + "muteInitiator": { + "description": "The email address of the user who last changed the mute state of the issue.", + "type": "string" + }, + "muteReason": { + "description": "The user-provided reason for muting the issue.", + "type": "string" + }, + "muteState": { + "description": "Output only. The mute state of the issue.", + "enum": [ + "MUTE_STATE_UNSPECIFIED", + "NOT_MUTED", + "MUTED" + ], + "enumDescriptions": [ + "Unspecified mute state.", + "Not muted.", + "Muted." + ], + "readOnly": true, + "type": "string" + }, + "muteUpdateTime": { + "description": "The time the issue was muted.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResource": { + "description": "A resource associated with the an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResource", + "properties": { + "awsMetadata": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", + "description": "The AWS metadata of the resource associated with the issue. Only populated for AWS resources." + }, + "azureMetadata": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", + "description": "The Azure metadata of the resource associated with the issue. Only populated for Azure resources." + }, + "cloudProvider": { + "description": "The cloud provider of the resource associated with the issue.", + "enum": [ + "CLOUD_PROVIDER_UNSPECIFIED", + "GOOGLE_CLOUD", + "AMAZON_WEB_SERVICES", + "MICROSOFT_AZURE" + ], + "enumDescriptions": [ + "Unspecified cloud provider.", + "Google Cloud.", + "Amazon Web Services.", + "Microsoft Azure." + ], + "type": "string" + }, + "displayName": { + "description": "The resource-type specific display name of the resource associated with the issue.", + "type": "string" + }, + "googleCloudMetadata": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", + "description": "The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources." + }, + "name": { + "description": "The full resource name of the resource associated with the issue.", + "type": "string" + }, + "type": { + "description": "The type of the resource associated with the issue.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": { + "description": "The AWS metadata of a resource associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", + "properties": { + "account": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", + "description": "The AWS account of the resource associated with the issue." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": { + "description": "The AWS account of the resource associated with the issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", + "properties": { + "id": { + "description": "The AWS account ID of the resource associated with the issue.", + "type": "string" + }, + "name": { + "description": "The AWS account name of the resource associated with the issue.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata": { + "description": "The Azure metadata of a resource associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", + "properties": { + "subscription": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", + "description": "The Azure subscription of the resource associated with the issue." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription": { + "description": "The Azure subscription of the resource associated with the issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", + "properties": { + "displayName": { + "description": "The Azure subscription display name of the resource associated with the issue.", + "type": "string" + }, + "id": { + "description": "The Azure subscription ID of the resource associated with the issue.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata": { + "description": "Google Cloud metadata of a resource associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", + "properties": { + "projectId": { + "description": "The project ID that the resource associated with the issue belongs to.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueSecurityContext": { + "description": "Security context associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueSecurityContext", + "properties": { + "aggregatedCount": { + "$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", + "description": "The aggregated count of the security context." + }, + "context": { + "$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", + "description": "The context of the security context." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount": { + "description": "Aggregated count of a security context.", + "id": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", + "properties": { + "key": { + "description": "Aggregation key.", + "type": "string" + }, + "value": { + "description": "Aggregation value.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueSecurityContextContext": { + "description": "Context of a security context.", + "id": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", + "properties": { + "type": { + "description": "Context type.", + "type": "string" + }, + "values": { + "description": "Context values.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2KernelRootkit": { "description": "Kernel mode rootkit signatures.", "id": "GoogleCloudSecuritycenterV2KernelRootkit", diff --git a/securitycenter/v1/securitycenter-gen.go b/securitycenter/v1/securitycenter-gen.go index b98e8117b8..a511b0fafb 100644 --- a/securitycenter/v1/securitycenter-gen.go +++ b/securitycenter/v1/securitycenter-gen.go @@ -364,6 +364,7 @@ type FoldersSourcesFindingsExternalSystemsService struct { func NewOrganizationsService(s *Service) *OrganizationsService { rs := &OrganizationsService{s: s} rs.Assets = NewOrganizationsAssetsService(s) + rs.AttackPaths = NewOrganizationsAttackPathsService(s) rs.BigQueryExports = NewOrganizationsBigQueryExportsService(s) rs.EventThreatDetectionSettings = NewOrganizationsEventThreatDetectionSettingsService(s) rs.Findings = NewOrganizationsFindingsService(s) @@ -384,6 +385,8 @@ type OrganizationsService struct { Assets *OrganizationsAssetsService + AttackPaths *OrganizationsAttackPathsService + BigQueryExports *OrganizationsBigQueryExportsService EventThreatDetectionSettings *OrganizationsEventThreatDetectionSettingsService @@ -418,6 +421,15 @@ type OrganizationsAssetsService struct { s *Service } +func NewOrganizationsAttackPathsService(s *Service) *OrganizationsAttackPathsService { + rs := &OrganizationsAttackPathsService{s: s} + return rs +} + +type OrganizationsAttackPathsService struct { + s *Service +} + func NewOrganizationsBigQueryExportsService(s *Service) *OrganizationsBigQueryExportsService { rs := &OrganizationsBigQueryExportsService{s: s} return rs @@ -6659,6 +6671,471 @@ func (s GoogleCloudSecuritycenterV2Indicator) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudSecuritycenterV2Issue: Security Command Center Issue. +type GoogleCloudSecuritycenterV2Issue struct { + // CreateTime: Output only. The time the issue was created. + CreateTime string `json:"createTime,omitempty"` + // Description: The description of the issue in Markdown format. + Description string `json:"description,omitempty"` + // Detection: The finding category or rule name that generated the issue. + Detection string `json:"detection,omitempty"` + // Domains: The domains of the issue. + Domains []*GoogleCloudSecuritycenterV2IssueDomain `json:"domains,omitempty"` + // ExposureScore: The exposure score of the issue. + ExposureScore float64 `json:"exposureScore,omitempty"` + // IssueType: The type of the issue. + // + // Possible values: + // "ISSUE_TYPE_UNSPECIFIED" - Unspecified issue type. + // "CHOKEPOINT" - Chokepoint issue type. + // "TOXIC_COMBINATION" - Toxic combination issue type. + // "INSIGHT" - Insight issue type. + IssueType string `json:"issueType,omitempty"` + // LastObservationTime: The time the issue was last observed. + LastObservationTime string `json:"lastObservationTime,omitempty"` + // Mute: The mute information of the issue. + Mute *GoogleCloudSecuritycenterV2IssueMute `json:"mute,omitempty"` + // Name: Identifier. The name of the issue. Format: + // organizations/{organization}/locations/{location}/issues/{issue} + Name string `json:"name,omitempty"` + // PrimaryResource: The primary resource associated with the issue. + PrimaryResource *GoogleCloudSecuritycenterV2IssueResource `json:"primaryResource,omitempty"` + // RelatedFindings: The findings related to the issue. + RelatedFindings []*GoogleCloudSecuritycenterV2IssueFinding `json:"relatedFindings,omitempty"` + // Remediations: Approaches to remediate the issue in Markdown format. + Remediations []string `json:"remediations,omitempty"` + // SecondaryResources: Additional resources associated with the issue. + SecondaryResources []*GoogleCloudSecuritycenterV2IssueResource `json:"secondaryResources,omitempty"` + // SecurityContexts: The security context of the issue. + SecurityContexts []*GoogleCloudSecuritycenterV2IssueSecurityContext `json:"securityContexts,omitempty"` + // Severity: The severity of the issue. + // + // Possible values: + // "SEVERITY_UNSPECIFIED" - Unspecified severity. + // "CRITICAL" - Critical severity. + // "HIGH" - High severity. + // "MEDIUM" - Medium severity. + // "LOW" - Low severity. + Severity string `json:"severity,omitempty"` + // State: Output only. The state of the issue. + // + // Possible values: + // "STATE_UNSPECIFIED" - Unspecified state. + // "ACTIVE" - Active state. + // "INACTIVE" - Inactive state. + State string `json:"state,omitempty"` + // UpdateTime: Output only. The time the issue was last updated. + UpdateTime string `json:"updateTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "CreateTime") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "CreateTime") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudSecuritycenterV2Issue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2Issue + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudSecuritycenterV2Issue) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudSecuritycenterV2Issue + var s1 struct { + ExposureScore gensupport.JSONFloat64 `json:"exposureScore"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.ExposureScore = float64(s1.ExposureScore) + return nil +} + +// GoogleCloudSecuritycenterV2IssueDomain: The domains of an issue. +type GoogleCloudSecuritycenterV2IssueDomain struct { + // DomainCategory: The domain category of the issue. + // + // Possible values: + // "DOMAIN_CATEGORY_UNSPECIFIED" - Unspecified domain category. + // "AI" - Issues in the AI domain. + // "CODE" - Issues in the code domain. + // "CONTAINER" - Issues in the container domain. + // "DATA" - Issues in the data domain. + // "IDENTITY_AND_ACCESS" - Issues in the identity and access domain. + // "VULNERABILITY" - Issues in the vulnerability domain. + DomainCategory string `json:"domainCategory,omitempty"` + // ForceSendFields is a list of field names (e.g. "DomainCategory") 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. "DomainCategory") 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 GoogleCloudSecuritycenterV2IssueDomain) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueDomain + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueFinding: Finding related to an issue. +type GoogleCloudSecuritycenterV2IssueFinding struct { + // Cve: The CVE of the finding. + Cve *GoogleCloudSecuritycenterV2IssueFindingCve `json:"cve,omitempty"` + // Name: The name of the finding. + Name string `json:"name,omitempty"` + // SecurityBulletin: The security bulletin of the finding. + SecurityBulletin *GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin `json:"securityBulletin,omitempty"` + // ForceSendFields is a list of field names (e.g. "Cve") 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. "Cve") 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 GoogleCloudSecuritycenterV2IssueFinding) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueFinding + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueFindingCve: The CVE of the finding. +type GoogleCloudSecuritycenterV2IssueFindingCve struct { + // Name: The CVE name. + Name string `json:"name,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 GoogleCloudSecuritycenterV2IssueFindingCve) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueFindingCve + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin: The security +// bulletin of the finding. +type GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin struct { + // Name: The security bulletin name. + Name string `json:"name,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueMute: The mute information of the issue. +type GoogleCloudSecuritycenterV2IssueMute struct { + // MuteInitiator: The email address of the user who last changed the mute state + // of the issue. + MuteInitiator string `json:"muteInitiator,omitempty"` + // MuteReason: The user-provided reason for muting the issue. + MuteReason string `json:"muteReason,omitempty"` + // MuteState: Output only. The mute state of the issue. + // + // Possible values: + // "MUTE_STATE_UNSPECIFIED" - Unspecified mute state. + // "NOT_MUTED" - Not muted. + // "MUTED" - Muted. + MuteState string `json:"muteState,omitempty"` + // MuteUpdateTime: The time the issue was muted. + MuteUpdateTime string `json:"muteUpdateTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "MuteInitiator") 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. "MuteInitiator") 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 GoogleCloudSecuritycenterV2IssueMute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueMute + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResource: A resource associated with the an +// issue. +type GoogleCloudSecuritycenterV2IssueResource struct { + // AwsMetadata: The AWS metadata of the resource associated with the issue. + // Only populated for AWS resources. + AwsMetadata *GoogleCloudSecuritycenterV2IssueResourceAwsMetadata `json:"awsMetadata,omitempty"` + // AzureMetadata: The Azure metadata of the resource associated with the issue. + // Only populated for Azure resources. + AzureMetadata *GoogleCloudSecuritycenterV2IssueResourceAzureMetadata `json:"azureMetadata,omitempty"` + // CloudProvider: The cloud provider of the resource associated with the issue. + // + // Possible values: + // "CLOUD_PROVIDER_UNSPECIFIED" - Unspecified cloud provider. + // "GOOGLE_CLOUD" - Google Cloud. + // "AMAZON_WEB_SERVICES" - Amazon Web Services. + // "MICROSOFT_AZURE" - Microsoft Azure. + CloudProvider string `json:"cloudProvider,omitempty"` + // DisplayName: The resource-type specific display name of the resource + // associated with the issue. + DisplayName string `json:"displayName,omitempty"` + // GoogleCloudMetadata: The Google Cloud metadata of the resource associated + // with the issue. Only populated for Google Cloud resources. + GoogleCloudMetadata *GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata `json:"googleCloudMetadata,omitempty"` + // Name: The full resource name of the resource associated with the issue. + Name string `json:"name,omitempty"` + // Type: The type of the resource associated with the issue. + Type string `json:"type,omitempty"` + // ForceSendFields is a list of field names (e.g. "AwsMetadata") 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. "AwsMetadata") 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 GoogleCloudSecuritycenterV2IssueResource) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResource + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAwsMetadata: The AWS metadata of a +// resource associated with an issue. +type GoogleCloudSecuritycenterV2IssueResourceAwsMetadata struct { + // Account: The AWS account of the resource associated with the issue. + Account *GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount `json:"account,omitempty"` + // ForceSendFields is a list of field names (e.g. "Account") 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. "Account") 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 GoogleCloudSecuritycenterV2IssueResourceAwsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAwsMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount: The AWS +// account of the resource associated with the issue. +type GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount struct { + // Id: The AWS account ID of the resource associated with the issue. + Id string `json:"id,omitempty"` + // Name: The AWS account name of the resource associated with the issue. + Name string `json:"name,omitempty"` + // 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 GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAzureMetadata: The Azure metadata of +// a resource associated with an issue. +type GoogleCloudSecuritycenterV2IssueResourceAzureMetadata struct { + // Subscription: The Azure subscription of the resource associated with the + // issue. + Subscription *GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription `json:"subscription,omitempty"` + // ForceSendFields is a list of field names (e.g. "Subscription") 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. "Subscription") 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 GoogleCloudSecuritycenterV2IssueResourceAzureMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAzureMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription: The +// Azure subscription of the resource associated with the issue. +type GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription struct { + // DisplayName: The Azure subscription display name of the resource associated + // with the issue. + DisplayName string `json:"displayName,omitempty"` + // Id: The Azure subscription ID of the resource associated with the issue. + Id string `json:"id,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata: Google Cloud +// metadata of a resource associated with an issue. +type GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata struct { + // ProjectId: The project ID that the resource associated with the issue + // belongs to. + ProjectId string `json:"projectId,omitempty"` + // ForceSendFields is a list of field names (e.g. "ProjectId") 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. "ProjectId") 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 GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueSecurityContext: Security context associated +// with an issue. +type GoogleCloudSecuritycenterV2IssueSecurityContext struct { + // AggregatedCount: The aggregated count of the security context. + AggregatedCount *GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount `json:"aggregatedCount,omitempty"` + // Context: The context of the security context. + Context *GoogleCloudSecuritycenterV2IssueSecurityContextContext `json:"context,omitempty"` + // ForceSendFields is a list of field names (e.g. "AggregatedCount") 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. "AggregatedCount") 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 GoogleCloudSecuritycenterV2IssueSecurityContext) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueSecurityContext + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount: Aggregated +// count of a security context. +type GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount struct { + // Key: Aggregation key. + Key string `json:"key,omitempty"` + // Value: Aggregation value. + Value int64 `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 GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueSecurityContextContext: Context of a +// security context. +type GoogleCloudSecuritycenterV2IssueSecurityContextContext struct { + // Type: Context type. + Type string `json:"type,omitempty"` + // Values: Context values. + Values []string `json:"values,omitempty"` + // ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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 GoogleCloudSecuritycenterV2IssueSecurityContextContext) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueSecurityContextContext + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudSecuritycenterV2KernelRootkit: Kernel mode rootkit signatures. type GoogleCloudSecuritycenterV2KernelRootkit struct { // Name: Rootkit name, when available. @@ -18329,6 +18806,167 @@ func (c *OrganizationsAssetsUpdateSecurityMarksCall) Do(opts ...googleapi.CallOp return ret, nil } +type OrganizationsAttackPathsListCall struct { + s *Service + parent string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// List: Lists the attack paths for a set of simulation results or valued +// resources and filter. +// +// - parent: Name of parent to list attack paths. Valid formats: +// `organizations/{organization}`, +// `organizations/{organization}/simulations/{simulation}` +// `organizations/{organization}/simulations/{simulation}/attackExposureResult +// s/{attack_exposure_result_v2}` +// `organizations/{organization}/simulations/{simulation}/valuedResources/{val +// ued_resource}`. +func (r *OrganizationsAttackPathsService) List(parent string) *OrganizationsAttackPathsListCall { + c := &OrganizationsAttackPathsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + return c +} + +// Filter sets the optional parameter "filter": The filter expression that +// filters the attack path in the response. Supported fields: * +// `valued_resources` supports = +func (c *OrganizationsAttackPathsListCall) Filter(filter string) *OrganizationsAttackPathsListCall { + c.urlParams_.Set("filter", filter) + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number of +// results to return in a single response. Default is 10, minimum is 1, maximum +// is 1000. +func (c *OrganizationsAttackPathsListCall) PageSize(pageSize int64) *OrganizationsAttackPathsListCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": The value returned by the +// last `ListAttackPathsResponse`; indicates that this is a continuation of a +// prior `ListAttackPaths` call, and that the system should return the next +// page of data. +func (c *OrganizationsAttackPathsListCall) PageToken(pageToken string) *OrganizationsAttackPathsListCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *OrganizationsAttackPathsListCall) Fields(s ...googleapi.Field) *OrganizationsAttackPathsListCall { + 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 *OrganizationsAttackPathsListCall) IfNoneMatch(entityTag string) *OrganizationsAttackPathsListCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *OrganizationsAttackPathsListCall) Context(ctx context.Context) *OrganizationsAttackPathsListCall { + 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 *OrganizationsAttackPathsListCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *OrganizationsAttackPathsListCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/attackPaths") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "securitycenter.organizations.attackPaths.list" call. +// Any non-2xx status code is an error. Response headers are in either +// *ListAttackPathsResponse.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 *OrganizationsAttackPathsListCall) Do(opts ...googleapi.CallOption) (*ListAttackPathsResponse, 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 := &ListAttackPathsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil +} + +// 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 *OrganizationsAttackPathsListCall) Pages(ctx context.Context, f func(*ListAttackPathsResponse) 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 OrganizationsBigQueryExportsCreateCall struct { s *Service parent string @@ -21672,7 +22310,7 @@ type OrganizationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/securitycenter/v1beta1/securitycenter-api.json b/securitycenter/v1beta1/securitycenter-api.json index 0281d1b73d..c958d03b47 100644 --- a/securitycenter/v1beta1/securitycenter-api.json +++ b/securitycenter/v1beta1/securitycenter-api.json @@ -352,7 +352,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1beta1/organizations/{organizationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "securitycenter.organizations.operations.cancel", @@ -913,7 +913,7 @@ } } }, - "revision": "20241111", + "revision": "20241205", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -5322,6 +5322,403 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2Issue": { + "description": "Security Command Center Issue.", + "id": "GoogleCloudSecuritycenterV2Issue", + "properties": { + "createTime": { + "description": "Output only. The time the issue was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "The description of the issue in Markdown format.", + "type": "string" + }, + "detection": { + "description": "The finding category or rule name that generated the issue.", + "type": "string" + }, + "domains": { + "description": "The domains of the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueDomain" + }, + "type": "array" + }, + "exposureScore": { + "description": "The exposure score of the issue.", + "format": "double", + "type": "number" + }, + "issueType": { + "description": "The type of the issue.", + "enum": [ + "ISSUE_TYPE_UNSPECIFIED", + "CHOKEPOINT", + "TOXIC_COMBINATION", + "INSIGHT" + ], + "enumDescriptions": [ + "Unspecified issue type.", + "Chokepoint issue type.", + "Toxic combination issue type.", + "Insight issue type." + ], + "type": "string" + }, + "lastObservationTime": { + "description": "The time the issue was last observed.", + "format": "google-datetime", + "type": "string" + }, + "mute": { + "$ref": "GoogleCloudSecuritycenterV2IssueMute", + "description": "The mute information of the issue." + }, + "name": { + "description": "Identifier. The name of the issue. Format: organizations/{organization}/locations/{location}/issues/{issue}", + "type": "string" + }, + "primaryResource": { + "$ref": "GoogleCloudSecuritycenterV2IssueResource", + "description": "The primary resource associated with the issue." + }, + "relatedFindings": { + "description": "The findings related to the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueFinding" + }, + "type": "array" + }, + "remediations": { + "description": "Approaches to remediate the issue in Markdown format.", + "items": { + "type": "string" + }, + "type": "array" + }, + "secondaryResources": { + "description": "Additional resources associated with the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueResource" + }, + "type": "array" + }, + "securityContexts": { + "description": "The security context of the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueSecurityContext" + }, + "type": "array" + }, + "severity": { + "description": "The severity of the issue.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "CRITICAL", + "HIGH", + "MEDIUM", + "LOW" + ], + "enumDescriptions": [ + "Unspecified severity.", + "Critical severity.", + "High severity.", + "Medium severity.", + "Low severity." + ], + "type": "string" + }, + "state": { + "description": "Output only. The state of the issue.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "INACTIVE" + ], + "enumDescriptions": [ + "Unspecified state.", + "Active state.", + "Inactive state." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time the issue was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueDomain": { + "description": "The domains of an issue.", + "id": "GoogleCloudSecuritycenterV2IssueDomain", + "properties": { + "domainCategory": { + "description": "The domain category of the issue.", + "enum": [ + "DOMAIN_CATEGORY_UNSPECIFIED", + "AI", + "CODE", + "CONTAINER", + "DATA", + "IDENTITY_AND_ACCESS", + "VULNERABILITY" + ], + "enumDescriptions": [ + "Unspecified domain category.", + "Issues in the AI domain.", + "Issues in the code domain.", + "Issues in the container domain.", + "Issues in the data domain.", + "Issues in the identity and access domain.", + "Issues in the vulnerability domain." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueFinding": { + "description": "Finding related to an issue.", + "id": "GoogleCloudSecuritycenterV2IssueFinding", + "properties": { + "cve": { + "$ref": "GoogleCloudSecuritycenterV2IssueFindingCve", + "description": "The CVE of the finding." + }, + "name": { + "description": "The name of the finding.", + "type": "string" + }, + "securityBulletin": { + "$ref": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", + "description": "The security bulletin of the finding." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueFindingCve": { + "description": "The CVE of the finding.", + "id": "GoogleCloudSecuritycenterV2IssueFindingCve", + "properties": { + "name": { + "description": "The CVE name.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin": { + "description": "The security bulletin of the finding.", + "id": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", + "properties": { + "name": { + "description": "The security bulletin name.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueMute": { + "description": "The mute information of the issue.", + "id": "GoogleCloudSecuritycenterV2IssueMute", + "properties": { + "muteInitiator": { + "description": "The email address of the user who last changed the mute state of the issue.", + "type": "string" + }, + "muteReason": { + "description": "The user-provided reason for muting the issue.", + "type": "string" + }, + "muteState": { + "description": "Output only. The mute state of the issue.", + "enum": [ + "MUTE_STATE_UNSPECIFIED", + "NOT_MUTED", + "MUTED" + ], + "enumDescriptions": [ + "Unspecified mute state.", + "Not muted.", + "Muted." + ], + "readOnly": true, + "type": "string" + }, + "muteUpdateTime": { + "description": "The time the issue was muted.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResource": { + "description": "A resource associated with the an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResource", + "properties": { + "awsMetadata": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", + "description": "The AWS metadata of the resource associated with the issue. Only populated for AWS resources." + }, + "azureMetadata": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", + "description": "The Azure metadata of the resource associated with the issue. Only populated for Azure resources." + }, + "cloudProvider": { + "description": "The cloud provider of the resource associated with the issue.", + "enum": [ + "CLOUD_PROVIDER_UNSPECIFIED", + "GOOGLE_CLOUD", + "AMAZON_WEB_SERVICES", + "MICROSOFT_AZURE" + ], + "enumDescriptions": [ + "Unspecified cloud provider.", + "Google Cloud.", + "Amazon Web Services.", + "Microsoft Azure." + ], + "type": "string" + }, + "displayName": { + "description": "The resource-type specific display name of the resource associated with the issue.", + "type": "string" + }, + "googleCloudMetadata": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", + "description": "The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources." + }, + "name": { + "description": "The full resource name of the resource associated with the issue.", + "type": "string" + }, + "type": { + "description": "The type of the resource associated with the issue.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": { + "description": "The AWS metadata of a resource associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", + "properties": { + "account": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", + "description": "The AWS account of the resource associated with the issue." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": { + "description": "The AWS account of the resource associated with the issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", + "properties": { + "id": { + "description": "The AWS account ID of the resource associated with the issue.", + "type": "string" + }, + "name": { + "description": "The AWS account name of the resource associated with the issue.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata": { + "description": "The Azure metadata of a resource associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", + "properties": { + "subscription": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", + "description": "The Azure subscription of the resource associated with the issue." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription": { + "description": "The Azure subscription of the resource associated with the issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", + "properties": { + "displayName": { + "description": "The Azure subscription display name of the resource associated with the issue.", + "type": "string" + }, + "id": { + "description": "The Azure subscription ID of the resource associated with the issue.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata": { + "description": "Google Cloud metadata of a resource associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", + "properties": { + "projectId": { + "description": "The project ID that the resource associated with the issue belongs to.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueSecurityContext": { + "description": "Security context associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueSecurityContext", + "properties": { + "aggregatedCount": { + "$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", + "description": "The aggregated count of the security context." + }, + "context": { + "$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", + "description": "The context of the security context." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount": { + "description": "Aggregated count of a security context.", + "id": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", + "properties": { + "key": { + "description": "Aggregation key.", + "type": "string" + }, + "value": { + "description": "Aggregation value.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueSecurityContextContext": { + "description": "Context of a security context.", + "id": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", + "properties": { + "type": { + "description": "Context type.", + "type": "string" + }, + "values": { + "description": "Context values.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2KernelRootkit": { "description": "Kernel mode rootkit signatures.", "id": "GoogleCloudSecuritycenterV2KernelRootkit", diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index 33b60ff6f0..21bcfcb265 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -5633,6 +5633,471 @@ func (s GoogleCloudSecuritycenterV2Indicator) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudSecuritycenterV2Issue: Security Command Center Issue. +type GoogleCloudSecuritycenterV2Issue struct { + // CreateTime: Output only. The time the issue was created. + CreateTime string `json:"createTime,omitempty"` + // Description: The description of the issue in Markdown format. + Description string `json:"description,omitempty"` + // Detection: The finding category or rule name that generated the issue. + Detection string `json:"detection,omitempty"` + // Domains: The domains of the issue. + Domains []*GoogleCloudSecuritycenterV2IssueDomain `json:"domains,omitempty"` + // ExposureScore: The exposure score of the issue. + ExposureScore float64 `json:"exposureScore,omitempty"` + // IssueType: The type of the issue. + // + // Possible values: + // "ISSUE_TYPE_UNSPECIFIED" - Unspecified issue type. + // "CHOKEPOINT" - Chokepoint issue type. + // "TOXIC_COMBINATION" - Toxic combination issue type. + // "INSIGHT" - Insight issue type. + IssueType string `json:"issueType,omitempty"` + // LastObservationTime: The time the issue was last observed. + LastObservationTime string `json:"lastObservationTime,omitempty"` + // Mute: The mute information of the issue. + Mute *GoogleCloudSecuritycenterV2IssueMute `json:"mute,omitempty"` + // Name: Identifier. The name of the issue. Format: + // organizations/{organization}/locations/{location}/issues/{issue} + Name string `json:"name,omitempty"` + // PrimaryResource: The primary resource associated with the issue. + PrimaryResource *GoogleCloudSecuritycenterV2IssueResource `json:"primaryResource,omitempty"` + // RelatedFindings: The findings related to the issue. + RelatedFindings []*GoogleCloudSecuritycenterV2IssueFinding `json:"relatedFindings,omitempty"` + // Remediations: Approaches to remediate the issue in Markdown format. + Remediations []string `json:"remediations,omitempty"` + // SecondaryResources: Additional resources associated with the issue. + SecondaryResources []*GoogleCloudSecuritycenterV2IssueResource `json:"secondaryResources,omitempty"` + // SecurityContexts: The security context of the issue. + SecurityContexts []*GoogleCloudSecuritycenterV2IssueSecurityContext `json:"securityContexts,omitempty"` + // Severity: The severity of the issue. + // + // Possible values: + // "SEVERITY_UNSPECIFIED" - Unspecified severity. + // "CRITICAL" - Critical severity. + // "HIGH" - High severity. + // "MEDIUM" - Medium severity. + // "LOW" - Low severity. + Severity string `json:"severity,omitempty"` + // State: Output only. The state of the issue. + // + // Possible values: + // "STATE_UNSPECIFIED" - Unspecified state. + // "ACTIVE" - Active state. + // "INACTIVE" - Inactive state. + State string `json:"state,omitempty"` + // UpdateTime: Output only. The time the issue was last updated. + UpdateTime string `json:"updateTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "CreateTime") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "CreateTime") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudSecuritycenterV2Issue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2Issue + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudSecuritycenterV2Issue) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudSecuritycenterV2Issue + var s1 struct { + ExposureScore gensupport.JSONFloat64 `json:"exposureScore"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.ExposureScore = float64(s1.ExposureScore) + return nil +} + +// GoogleCloudSecuritycenterV2IssueDomain: The domains of an issue. +type GoogleCloudSecuritycenterV2IssueDomain struct { + // DomainCategory: The domain category of the issue. + // + // Possible values: + // "DOMAIN_CATEGORY_UNSPECIFIED" - Unspecified domain category. + // "AI" - Issues in the AI domain. + // "CODE" - Issues in the code domain. + // "CONTAINER" - Issues in the container domain. + // "DATA" - Issues in the data domain. + // "IDENTITY_AND_ACCESS" - Issues in the identity and access domain. + // "VULNERABILITY" - Issues in the vulnerability domain. + DomainCategory string `json:"domainCategory,omitempty"` + // ForceSendFields is a list of field names (e.g. "DomainCategory") 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. "DomainCategory") 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 GoogleCloudSecuritycenterV2IssueDomain) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueDomain + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueFinding: Finding related to an issue. +type GoogleCloudSecuritycenterV2IssueFinding struct { + // Cve: The CVE of the finding. + Cve *GoogleCloudSecuritycenterV2IssueFindingCve `json:"cve,omitempty"` + // Name: The name of the finding. + Name string `json:"name,omitempty"` + // SecurityBulletin: The security bulletin of the finding. + SecurityBulletin *GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin `json:"securityBulletin,omitempty"` + // ForceSendFields is a list of field names (e.g. "Cve") 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. "Cve") 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 GoogleCloudSecuritycenterV2IssueFinding) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueFinding + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueFindingCve: The CVE of the finding. +type GoogleCloudSecuritycenterV2IssueFindingCve struct { + // Name: The CVE name. + Name string `json:"name,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 GoogleCloudSecuritycenterV2IssueFindingCve) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueFindingCve + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin: The security +// bulletin of the finding. +type GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin struct { + // Name: The security bulletin name. + Name string `json:"name,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueMute: The mute information of the issue. +type GoogleCloudSecuritycenterV2IssueMute struct { + // MuteInitiator: The email address of the user who last changed the mute state + // of the issue. + MuteInitiator string `json:"muteInitiator,omitempty"` + // MuteReason: The user-provided reason for muting the issue. + MuteReason string `json:"muteReason,omitempty"` + // MuteState: Output only. The mute state of the issue. + // + // Possible values: + // "MUTE_STATE_UNSPECIFIED" - Unspecified mute state. + // "NOT_MUTED" - Not muted. + // "MUTED" - Muted. + MuteState string `json:"muteState,omitempty"` + // MuteUpdateTime: The time the issue was muted. + MuteUpdateTime string `json:"muteUpdateTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "MuteInitiator") 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. "MuteInitiator") 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 GoogleCloudSecuritycenterV2IssueMute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueMute + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResource: A resource associated with the an +// issue. +type GoogleCloudSecuritycenterV2IssueResource struct { + // AwsMetadata: The AWS metadata of the resource associated with the issue. + // Only populated for AWS resources. + AwsMetadata *GoogleCloudSecuritycenterV2IssueResourceAwsMetadata `json:"awsMetadata,omitempty"` + // AzureMetadata: The Azure metadata of the resource associated with the issue. + // Only populated for Azure resources. + AzureMetadata *GoogleCloudSecuritycenterV2IssueResourceAzureMetadata `json:"azureMetadata,omitempty"` + // CloudProvider: The cloud provider of the resource associated with the issue. + // + // Possible values: + // "CLOUD_PROVIDER_UNSPECIFIED" - Unspecified cloud provider. + // "GOOGLE_CLOUD" - Google Cloud. + // "AMAZON_WEB_SERVICES" - Amazon Web Services. + // "MICROSOFT_AZURE" - Microsoft Azure. + CloudProvider string `json:"cloudProvider,omitempty"` + // DisplayName: The resource-type specific display name of the resource + // associated with the issue. + DisplayName string `json:"displayName,omitempty"` + // GoogleCloudMetadata: The Google Cloud metadata of the resource associated + // with the issue. Only populated for Google Cloud resources. + GoogleCloudMetadata *GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata `json:"googleCloudMetadata,omitempty"` + // Name: The full resource name of the resource associated with the issue. + Name string `json:"name,omitempty"` + // Type: The type of the resource associated with the issue. + Type string `json:"type,omitempty"` + // ForceSendFields is a list of field names (e.g. "AwsMetadata") 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. "AwsMetadata") 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 GoogleCloudSecuritycenterV2IssueResource) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResource + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAwsMetadata: The AWS metadata of a +// resource associated with an issue. +type GoogleCloudSecuritycenterV2IssueResourceAwsMetadata struct { + // Account: The AWS account of the resource associated with the issue. + Account *GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount `json:"account,omitempty"` + // ForceSendFields is a list of field names (e.g. "Account") 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. "Account") 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 GoogleCloudSecuritycenterV2IssueResourceAwsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAwsMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount: The AWS +// account of the resource associated with the issue. +type GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount struct { + // Id: The AWS account ID of the resource associated with the issue. + Id string `json:"id,omitempty"` + // Name: The AWS account name of the resource associated with the issue. + Name string `json:"name,omitempty"` + // 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 GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAzureMetadata: The Azure metadata of +// a resource associated with an issue. +type GoogleCloudSecuritycenterV2IssueResourceAzureMetadata struct { + // Subscription: The Azure subscription of the resource associated with the + // issue. + Subscription *GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription `json:"subscription,omitempty"` + // ForceSendFields is a list of field names (e.g. "Subscription") 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. "Subscription") 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 GoogleCloudSecuritycenterV2IssueResourceAzureMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAzureMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription: The +// Azure subscription of the resource associated with the issue. +type GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription struct { + // DisplayName: The Azure subscription display name of the resource associated + // with the issue. + DisplayName string `json:"displayName,omitempty"` + // Id: The Azure subscription ID of the resource associated with the issue. + Id string `json:"id,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata: Google Cloud +// metadata of a resource associated with an issue. +type GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata struct { + // ProjectId: The project ID that the resource associated with the issue + // belongs to. + ProjectId string `json:"projectId,omitempty"` + // ForceSendFields is a list of field names (e.g. "ProjectId") 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. "ProjectId") 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 GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueSecurityContext: Security context associated +// with an issue. +type GoogleCloudSecuritycenterV2IssueSecurityContext struct { + // AggregatedCount: The aggregated count of the security context. + AggregatedCount *GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount `json:"aggregatedCount,omitempty"` + // Context: The context of the security context. + Context *GoogleCloudSecuritycenterV2IssueSecurityContextContext `json:"context,omitempty"` + // ForceSendFields is a list of field names (e.g. "AggregatedCount") 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. "AggregatedCount") 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 GoogleCloudSecuritycenterV2IssueSecurityContext) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueSecurityContext + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount: Aggregated +// count of a security context. +type GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount struct { + // Key: Aggregation key. + Key string `json:"key,omitempty"` + // Value: Aggregation value. + Value int64 `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 GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueSecurityContextContext: Context of a +// security context. +type GoogleCloudSecuritycenterV2IssueSecurityContextContext struct { + // Type: Context type. + Type string `json:"type,omitempty"` + // Values: Context values. + Values []string `json:"values,omitempty"` + // ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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 GoogleCloudSecuritycenterV2IssueSecurityContextContext) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueSecurityContextContext + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudSecuritycenterV2KernelRootkit: Kernel mode rootkit signatures. type GoogleCloudSecuritycenterV2KernelRootkit struct { // Name: Rootkit name, when available. @@ -10211,7 +10676,7 @@ type OrganizationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/securitycenter/v1beta2/securitycenter-api.json b/securitycenter/v1beta2/securitycenter-api.json index c55a4adab6..78953a138b 100644 --- a/securitycenter/v1beta2/securitycenter-api.json +++ b/securitycenter/v1beta2/securitycenter-api.json @@ -2003,7 +2003,7 @@ } } }, - "revision": "20241111", + "revision": "20241205", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -6315,6 +6315,403 @@ }, "type": "object" }, + "GoogleCloudSecuritycenterV2Issue": { + "description": "Security Command Center Issue.", + "id": "GoogleCloudSecuritycenterV2Issue", + "properties": { + "createTime": { + "description": "Output only. The time the issue was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "The description of the issue in Markdown format.", + "type": "string" + }, + "detection": { + "description": "The finding category or rule name that generated the issue.", + "type": "string" + }, + "domains": { + "description": "The domains of the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueDomain" + }, + "type": "array" + }, + "exposureScore": { + "description": "The exposure score of the issue.", + "format": "double", + "type": "number" + }, + "issueType": { + "description": "The type of the issue.", + "enum": [ + "ISSUE_TYPE_UNSPECIFIED", + "CHOKEPOINT", + "TOXIC_COMBINATION", + "INSIGHT" + ], + "enumDescriptions": [ + "Unspecified issue type.", + "Chokepoint issue type.", + "Toxic combination issue type.", + "Insight issue type." + ], + "type": "string" + }, + "lastObservationTime": { + "description": "The time the issue was last observed.", + "format": "google-datetime", + "type": "string" + }, + "mute": { + "$ref": "GoogleCloudSecuritycenterV2IssueMute", + "description": "The mute information of the issue." + }, + "name": { + "description": "Identifier. The name of the issue. Format: organizations/{organization}/locations/{location}/issues/{issue}", + "type": "string" + }, + "primaryResource": { + "$ref": "GoogleCloudSecuritycenterV2IssueResource", + "description": "The primary resource associated with the issue." + }, + "relatedFindings": { + "description": "The findings related to the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueFinding" + }, + "type": "array" + }, + "remediations": { + "description": "Approaches to remediate the issue in Markdown format.", + "items": { + "type": "string" + }, + "type": "array" + }, + "secondaryResources": { + "description": "Additional resources associated with the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueResource" + }, + "type": "array" + }, + "securityContexts": { + "description": "The security context of the issue.", + "items": { + "$ref": "GoogleCloudSecuritycenterV2IssueSecurityContext" + }, + "type": "array" + }, + "severity": { + "description": "The severity of the issue.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "CRITICAL", + "HIGH", + "MEDIUM", + "LOW" + ], + "enumDescriptions": [ + "Unspecified severity.", + "Critical severity.", + "High severity.", + "Medium severity.", + "Low severity." + ], + "type": "string" + }, + "state": { + "description": "Output only. The state of the issue.", + "enum": [ + "STATE_UNSPECIFIED", + "ACTIVE", + "INACTIVE" + ], + "enumDescriptions": [ + "Unspecified state.", + "Active state.", + "Inactive state." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time the issue was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueDomain": { + "description": "The domains of an issue.", + "id": "GoogleCloudSecuritycenterV2IssueDomain", + "properties": { + "domainCategory": { + "description": "The domain category of the issue.", + "enum": [ + "DOMAIN_CATEGORY_UNSPECIFIED", + "AI", + "CODE", + "CONTAINER", + "DATA", + "IDENTITY_AND_ACCESS", + "VULNERABILITY" + ], + "enumDescriptions": [ + "Unspecified domain category.", + "Issues in the AI domain.", + "Issues in the code domain.", + "Issues in the container domain.", + "Issues in the data domain.", + "Issues in the identity and access domain.", + "Issues in the vulnerability domain." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueFinding": { + "description": "Finding related to an issue.", + "id": "GoogleCloudSecuritycenterV2IssueFinding", + "properties": { + "cve": { + "$ref": "GoogleCloudSecuritycenterV2IssueFindingCve", + "description": "The CVE of the finding." + }, + "name": { + "description": "The name of the finding.", + "type": "string" + }, + "securityBulletin": { + "$ref": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", + "description": "The security bulletin of the finding." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueFindingCve": { + "description": "The CVE of the finding.", + "id": "GoogleCloudSecuritycenterV2IssueFindingCve", + "properties": { + "name": { + "description": "The CVE name.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin": { + "description": "The security bulletin of the finding.", + "id": "GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin", + "properties": { + "name": { + "description": "The security bulletin name.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueMute": { + "description": "The mute information of the issue.", + "id": "GoogleCloudSecuritycenterV2IssueMute", + "properties": { + "muteInitiator": { + "description": "The email address of the user who last changed the mute state of the issue.", + "type": "string" + }, + "muteReason": { + "description": "The user-provided reason for muting the issue.", + "type": "string" + }, + "muteState": { + "description": "Output only. The mute state of the issue.", + "enum": [ + "MUTE_STATE_UNSPECIFIED", + "NOT_MUTED", + "MUTED" + ], + "enumDescriptions": [ + "Unspecified mute state.", + "Not muted.", + "Muted." + ], + "readOnly": true, + "type": "string" + }, + "muteUpdateTime": { + "description": "The time the issue was muted.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResource": { + "description": "A resource associated with the an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResource", + "properties": { + "awsMetadata": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", + "description": "The AWS metadata of the resource associated with the issue. Only populated for AWS resources." + }, + "azureMetadata": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", + "description": "The Azure metadata of the resource associated with the issue. Only populated for Azure resources." + }, + "cloudProvider": { + "description": "The cloud provider of the resource associated with the issue.", + "enum": [ + "CLOUD_PROVIDER_UNSPECIFIED", + "GOOGLE_CLOUD", + "AMAZON_WEB_SERVICES", + "MICROSOFT_AZURE" + ], + "enumDescriptions": [ + "Unspecified cloud provider.", + "Google Cloud.", + "Amazon Web Services.", + "Microsoft Azure." + ], + "type": "string" + }, + "displayName": { + "description": "The resource-type specific display name of the resource associated with the issue.", + "type": "string" + }, + "googleCloudMetadata": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", + "description": "The Google Cloud metadata of the resource associated with the issue. Only populated for Google Cloud resources." + }, + "name": { + "description": "The full resource name of the resource associated with the issue.", + "type": "string" + }, + "type": { + "description": "The type of the resource associated with the issue.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata": { + "description": "The AWS metadata of a resource associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadata", + "properties": { + "account": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", + "description": "The AWS account of the resource associated with the issue." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount": { + "description": "The AWS account of the resource associated with the issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount", + "properties": { + "id": { + "description": "The AWS account ID of the resource associated with the issue.", + "type": "string" + }, + "name": { + "description": "The AWS account name of the resource associated with the issue.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata": { + "description": "The Azure metadata of a resource associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadata", + "properties": { + "subscription": { + "$ref": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", + "description": "The Azure subscription of the resource associated with the issue." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription": { + "description": "The Azure subscription of the resource associated with the issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription", + "properties": { + "displayName": { + "description": "The Azure subscription display name of the resource associated with the issue.", + "type": "string" + }, + "id": { + "description": "The Azure subscription ID of the resource associated with the issue.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata": { + "description": "Google Cloud metadata of a resource associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata", + "properties": { + "projectId": { + "description": "The project ID that the resource associated with the issue belongs to.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueSecurityContext": { + "description": "Security context associated with an issue.", + "id": "GoogleCloudSecuritycenterV2IssueSecurityContext", + "properties": { + "aggregatedCount": { + "$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", + "description": "The aggregated count of the security context." + }, + "context": { + "$ref": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", + "description": "The context of the security context." + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount": { + "description": "Aggregated count of a security context.", + "id": "GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount", + "properties": { + "key": { + "description": "Aggregation key.", + "type": "string" + }, + "value": { + "description": "Aggregation value.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudSecuritycenterV2IssueSecurityContextContext": { + "description": "Context of a security context.", + "id": "GoogleCloudSecuritycenterV2IssueSecurityContextContext", + "properties": { + "type": { + "description": "Context type.", + "type": "string" + }, + "values": { + "description": "Context values.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudSecuritycenterV2KernelRootkit": { "description": "Kernel mode rootkit signatures.", "id": "GoogleCloudSecuritycenterV2KernelRootkit", diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index 04eccba087..6b03d3c733 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -5584,6 +5584,471 @@ func (s GoogleCloudSecuritycenterV2Indicator) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudSecuritycenterV2Issue: Security Command Center Issue. +type GoogleCloudSecuritycenterV2Issue struct { + // CreateTime: Output only. The time the issue was created. + CreateTime string `json:"createTime,omitempty"` + // Description: The description of the issue in Markdown format. + Description string `json:"description,omitempty"` + // Detection: The finding category or rule name that generated the issue. + Detection string `json:"detection,omitempty"` + // Domains: The domains of the issue. + Domains []*GoogleCloudSecuritycenterV2IssueDomain `json:"domains,omitempty"` + // ExposureScore: The exposure score of the issue. + ExposureScore float64 `json:"exposureScore,omitempty"` + // IssueType: The type of the issue. + // + // Possible values: + // "ISSUE_TYPE_UNSPECIFIED" - Unspecified issue type. + // "CHOKEPOINT" - Chokepoint issue type. + // "TOXIC_COMBINATION" - Toxic combination issue type. + // "INSIGHT" - Insight issue type. + IssueType string `json:"issueType,omitempty"` + // LastObservationTime: The time the issue was last observed. + LastObservationTime string `json:"lastObservationTime,omitempty"` + // Mute: The mute information of the issue. + Mute *GoogleCloudSecuritycenterV2IssueMute `json:"mute,omitempty"` + // Name: Identifier. The name of the issue. Format: + // organizations/{organization}/locations/{location}/issues/{issue} + Name string `json:"name,omitempty"` + // PrimaryResource: The primary resource associated with the issue. + PrimaryResource *GoogleCloudSecuritycenterV2IssueResource `json:"primaryResource,omitempty"` + // RelatedFindings: The findings related to the issue. + RelatedFindings []*GoogleCloudSecuritycenterV2IssueFinding `json:"relatedFindings,omitempty"` + // Remediations: Approaches to remediate the issue in Markdown format. + Remediations []string `json:"remediations,omitempty"` + // SecondaryResources: Additional resources associated with the issue. + SecondaryResources []*GoogleCloudSecuritycenterV2IssueResource `json:"secondaryResources,omitempty"` + // SecurityContexts: The security context of the issue. + SecurityContexts []*GoogleCloudSecuritycenterV2IssueSecurityContext `json:"securityContexts,omitempty"` + // Severity: The severity of the issue. + // + // Possible values: + // "SEVERITY_UNSPECIFIED" - Unspecified severity. + // "CRITICAL" - Critical severity. + // "HIGH" - High severity. + // "MEDIUM" - Medium severity. + // "LOW" - Low severity. + Severity string `json:"severity,omitempty"` + // State: Output only. The state of the issue. + // + // Possible values: + // "STATE_UNSPECIFIED" - Unspecified state. + // "ACTIVE" - Active state. + // "INACTIVE" - Inactive state. + State string `json:"state,omitempty"` + // UpdateTime: Output only. The time the issue was last updated. + UpdateTime string `json:"updateTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "CreateTime") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "CreateTime") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudSecuritycenterV2Issue) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2Issue + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +func (s *GoogleCloudSecuritycenterV2Issue) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudSecuritycenterV2Issue + var s1 struct { + ExposureScore gensupport.JSONFloat64 `json:"exposureScore"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.ExposureScore = float64(s1.ExposureScore) + return nil +} + +// GoogleCloudSecuritycenterV2IssueDomain: The domains of an issue. +type GoogleCloudSecuritycenterV2IssueDomain struct { + // DomainCategory: The domain category of the issue. + // + // Possible values: + // "DOMAIN_CATEGORY_UNSPECIFIED" - Unspecified domain category. + // "AI" - Issues in the AI domain. + // "CODE" - Issues in the code domain. + // "CONTAINER" - Issues in the container domain. + // "DATA" - Issues in the data domain. + // "IDENTITY_AND_ACCESS" - Issues in the identity and access domain. + // "VULNERABILITY" - Issues in the vulnerability domain. + DomainCategory string `json:"domainCategory,omitempty"` + // ForceSendFields is a list of field names (e.g. "DomainCategory") 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. "DomainCategory") 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 GoogleCloudSecuritycenterV2IssueDomain) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueDomain + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueFinding: Finding related to an issue. +type GoogleCloudSecuritycenterV2IssueFinding struct { + // Cve: The CVE of the finding. + Cve *GoogleCloudSecuritycenterV2IssueFindingCve `json:"cve,omitempty"` + // Name: The name of the finding. + Name string `json:"name,omitempty"` + // SecurityBulletin: The security bulletin of the finding. + SecurityBulletin *GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin `json:"securityBulletin,omitempty"` + // ForceSendFields is a list of field names (e.g. "Cve") 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. "Cve") 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 GoogleCloudSecuritycenterV2IssueFinding) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueFinding + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueFindingCve: The CVE of the finding. +type GoogleCloudSecuritycenterV2IssueFindingCve struct { + // Name: The CVE name. + Name string `json:"name,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 GoogleCloudSecuritycenterV2IssueFindingCve) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueFindingCve + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin: The security +// bulletin of the finding. +type GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin struct { + // Name: The security bulletin name. + Name string `json:"name,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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 GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueMute: The mute information of the issue. +type GoogleCloudSecuritycenterV2IssueMute struct { + // MuteInitiator: The email address of the user who last changed the mute state + // of the issue. + MuteInitiator string `json:"muteInitiator,omitempty"` + // MuteReason: The user-provided reason for muting the issue. + MuteReason string `json:"muteReason,omitempty"` + // MuteState: Output only. The mute state of the issue. + // + // Possible values: + // "MUTE_STATE_UNSPECIFIED" - Unspecified mute state. + // "NOT_MUTED" - Not muted. + // "MUTED" - Muted. + MuteState string `json:"muteState,omitempty"` + // MuteUpdateTime: The time the issue was muted. + MuteUpdateTime string `json:"muteUpdateTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "MuteInitiator") 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. "MuteInitiator") 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 GoogleCloudSecuritycenterV2IssueMute) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueMute + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResource: A resource associated with the an +// issue. +type GoogleCloudSecuritycenterV2IssueResource struct { + // AwsMetadata: The AWS metadata of the resource associated with the issue. + // Only populated for AWS resources. + AwsMetadata *GoogleCloudSecuritycenterV2IssueResourceAwsMetadata `json:"awsMetadata,omitempty"` + // AzureMetadata: The Azure metadata of the resource associated with the issue. + // Only populated for Azure resources. + AzureMetadata *GoogleCloudSecuritycenterV2IssueResourceAzureMetadata `json:"azureMetadata,omitempty"` + // CloudProvider: The cloud provider of the resource associated with the issue. + // + // Possible values: + // "CLOUD_PROVIDER_UNSPECIFIED" - Unspecified cloud provider. + // "GOOGLE_CLOUD" - Google Cloud. + // "AMAZON_WEB_SERVICES" - Amazon Web Services. + // "MICROSOFT_AZURE" - Microsoft Azure. + CloudProvider string `json:"cloudProvider,omitempty"` + // DisplayName: The resource-type specific display name of the resource + // associated with the issue. + DisplayName string `json:"displayName,omitempty"` + // GoogleCloudMetadata: The Google Cloud metadata of the resource associated + // with the issue. Only populated for Google Cloud resources. + GoogleCloudMetadata *GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata `json:"googleCloudMetadata,omitempty"` + // Name: The full resource name of the resource associated with the issue. + Name string `json:"name,omitempty"` + // Type: The type of the resource associated with the issue. + Type string `json:"type,omitempty"` + // ForceSendFields is a list of field names (e.g. "AwsMetadata") 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. "AwsMetadata") 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 GoogleCloudSecuritycenterV2IssueResource) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResource + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAwsMetadata: The AWS metadata of a +// resource associated with an issue. +type GoogleCloudSecuritycenterV2IssueResourceAwsMetadata struct { + // Account: The AWS account of the resource associated with the issue. + Account *GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount `json:"account,omitempty"` + // ForceSendFields is a list of field names (e.g. "Account") 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. "Account") 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 GoogleCloudSecuritycenterV2IssueResourceAwsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAwsMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount: The AWS +// account of the resource associated with the issue. +type GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount struct { + // Id: The AWS account ID of the resource associated with the issue. + Id string `json:"id,omitempty"` + // Name: The AWS account name of the resource associated with the issue. + Name string `json:"name,omitempty"` + // 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 GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAzureMetadata: The Azure metadata of +// a resource associated with an issue. +type GoogleCloudSecuritycenterV2IssueResourceAzureMetadata struct { + // Subscription: The Azure subscription of the resource associated with the + // issue. + Subscription *GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription `json:"subscription,omitempty"` + // ForceSendFields is a list of field names (e.g. "Subscription") 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. "Subscription") 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 GoogleCloudSecuritycenterV2IssueResourceAzureMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAzureMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription: The +// Azure subscription of the resource associated with the issue. +type GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription struct { + // DisplayName: The Azure subscription display name of the resource associated + // with the issue. + DisplayName string `json:"displayName,omitempty"` + // Id: The Azure subscription ID of the resource associated with the issue. + Id string `json:"id,omitempty"` + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata: Google Cloud +// metadata of a resource associated with an issue. +type GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata struct { + // ProjectId: The project ID that the resource associated with the issue + // belongs to. + ProjectId string `json:"projectId,omitempty"` + // ForceSendFields is a list of field names (e.g. "ProjectId") 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. "ProjectId") 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 GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueSecurityContext: Security context associated +// with an issue. +type GoogleCloudSecuritycenterV2IssueSecurityContext struct { + // AggregatedCount: The aggregated count of the security context. + AggregatedCount *GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount `json:"aggregatedCount,omitempty"` + // Context: The context of the security context. + Context *GoogleCloudSecuritycenterV2IssueSecurityContextContext `json:"context,omitempty"` + // ForceSendFields is a list of field names (e.g. "AggregatedCount") 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. "AggregatedCount") 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 GoogleCloudSecuritycenterV2IssueSecurityContext) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueSecurityContext + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount: Aggregated +// count of a security context. +type GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount struct { + // Key: Aggregation key. + Key string `json:"key,omitempty"` + // Value: Aggregation value. + Value int64 `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 GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudSecuritycenterV2IssueSecurityContextContext: Context of a +// security context. +type GoogleCloudSecuritycenterV2IssueSecurityContextContext struct { + // Type: Context type. + Type string `json:"type,omitempty"` + // Values: Context values. + Values []string `json:"values,omitempty"` + // ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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 GoogleCloudSecuritycenterV2IssueSecurityContextContext) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudSecuritycenterV2IssueSecurityContextContext + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudSecuritycenterV2KernelRootkit: Kernel mode rootkit signatures. type GoogleCloudSecuritycenterV2KernelRootkit struct { // Name: Rootkit name, when available.