diff --git a/discovery/compute-alpha.json b/discovery/compute-alpha.json index 5330ba6181..afa239161f 100644 --- a/discovery/compute-alpha.json +++ b/discovery/compute-alpha.json @@ -29,7 +29,7 @@ "description": "Creates and runs virtual machines on Google Cloud Platform.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", - "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/-j-4kEaw-IymDYPchM3d5GvWF38\"", + "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/axYSpezpsrRN9uJAkuL9_ckfG58\"", "icons": { "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" @@ -1320,6 +1320,46 @@ "https://www.googleapis.com/auth/compute" ] }, + "setEdgeSecurityPolicy": { + "description": "Sets the edge security policy for the specified backend bucket.", + "httpMethod": "POST", + "id": "compute.backendBuckets.setEdgeSecurityPolicy", + "parameterOrder": [ + "project", + "backendBucket" + ], + "parameters": { + "backendBucket": { + "description": "Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor 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.\n\nThe 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" + } + }, + "path": "projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy", + "request": { + "$ref": "SecurityPolicyReference" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "setIamPolicy": { "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", "httpMethod": "POST", @@ -1817,6 +1857,46 @@ "https://www.googleapis.com/auth/compute" ] }, + "setEdgeSecurityPolicy": { + "description": "Sets the edge security policy for the specified backend service.", + "httpMethod": "POST", + "id": "compute.backendServices.setEdgeSecurityPolicy", + "parameterOrder": [ + "project", + "backendService" + ], + "parameters": { + "backendService": { + "description": "Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor 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.\n\nThe 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" + } + }, + "path": "projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy", + "request": { + "$ref": "SecurityPolicyReference" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "setSecurityPolicy": { "description": "Sets the security policy for the specified backend service.", "httpMethod": "POST", @@ -33350,7 +33430,7 @@ } } }, - "revision": "20201007", + "revision": "20201019", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -34481,6 +34561,10 @@ "format": "int64", "type": "string" }, + "forceAttach": { + "description": "[Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.", + "type": "boolean" + }, "guestOsFeatures": { "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", "items": { @@ -35600,6 +35684,10 @@ "description": "An optional textual description of the resource; provided by the client when the resource is created.", "type": "string" }, + "edgeSecurityPolicy": { + "description": "[Output Only] The resource URL for the edge security policy associated with this backend bucket.", + "type": "string" + }, "enableCdn": { "description": "If true, enable Cloud CDN for this BackendBucket.", "type": "boolean" @@ -35904,6 +35992,10 @@ "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, + "edgeSecurityPolicy": { + "description": "[Output Only] The resource URL for the edge security policy associated with this backend service.", + "type": "string" + }, "enableCDN": { "description": "If true, enables Cloud CDN for the backend service. Only applicable if the loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS.", "type": "boolean" @@ -46678,6 +46770,11 @@ "description": "[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.", "type": "string" }, + "dataplaneVersion": { + "description": "[Output Only] Dataplane version for this InterconnectAttachment.", + "format": "int32", + "type": "integer" + }, "description": { "description": "An optional description of this resource.", "type": "string" @@ -48473,7 +48570,7 @@ "type": "object" }, "LocationPolicy": { - "description": "Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). Note that this message has a copy in logs/proto/bigcluster/bulk_apis.proto.", + "description": "Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).", "id": "LocationPolicy", "properties": { "locations": { @@ -59834,9 +59931,11 @@ "description": "The type indicates the intended use of the security policy. CLOUD_ARMOR policies apply to backend services. FIREWALL policies apply to organizations.", "enum": [ "CLOUD_ARMOR", + "CLOUD_ARMOR_EDGE", "FIREWALL" ], "enumDescriptions": [ + "", "", "" ], diff --git a/src/apis/compute/alpha.ts b/src/apis/compute/alpha.ts index 0ff31e4a47..d179cff645 100644 --- a/src/apis/compute/alpha.ts +++ b/src/apis/compute/alpha.ts @@ -834,6 +834,10 @@ export namespace compute_alpha { * The size of the disk in GB. */ diskSizeGb?: string | null; + /** + * [Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error. + */ + forceAttach?: boolean | null; /** * A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. */ @@ -1555,6 +1559,10 @@ export namespace compute_alpha { * An optional textual description of the resource; provided by the client when the resource is created. */ description?: string | null; + /** + * [Output Only] The resource URL for the edge security policy associated with this backend bucket. + */ + edgeSecurityPolicy?: string | null; /** * If true, enable Cloud CDN for this BackendBucket. */ @@ -1757,6 +1765,10 @@ export namespace compute_alpha { * An optional description of this resource. Provide this property when you create the resource. */ description?: string | null; + /** + * [Output Only] The resource URL for the edge security policy associated with this backend service. + */ + edgeSecurityPolicy?: string | null; /** * If true, enables Cloud CDN for the backend service. Only applicable if the loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS. */ @@ -7496,6 +7508,10 @@ export namespace compute_alpha { * [Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. */ customerRouterIpAddress?: string | null; + /** + * [Output Only] Dataplane version for this InterconnectAttachment. + */ + dataplaneVersion?: number | null; /** * An optional description of this resource. */ @@ -8344,7 +8360,7 @@ export namespace compute_alpha { diskType?: string | null; } /** - * Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). Note that this message has a copy in logs/proto/bigcluster/bulk_apis.proto. + * Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). */ export interface Schema$LocationPolicy { /** @@ -21208,6 +21224,7 @@ export namespace compute_alpha { * // "creationTimestamp": "my_creationTimestamp", * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCdn": false, * // "id": "my_id", * // "kind": "my_kind", @@ -21500,6 +21517,7 @@ export namespace compute_alpha { * // "creationTimestamp": "my_creationTimestamp", * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCdn": false, * // "id": "my_id", * // "kind": "my_kind", @@ -21844,6 +21862,7 @@ export namespace compute_alpha { * // "creationTimestamp": "my_creationTimestamp", * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCdn": false, * // "id": "my_id", * // "kind": "my_kind", @@ -21975,6 +21994,180 @@ export namespace compute_alpha { } } + /** + * Sets the edge security policy for the specified backend bucket. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // `$ gcloud auth application-default login` + * // - Install the npm module by running: + * // `$ npm install googleapis` + * + * const {google} = require('googleapis'); + * const compute = google.compute('alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.backendBuckets.setEdgeSecurityPolicy({ + * // Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. + * backendBucket: 'placeholder-value', + * // Project ID for this request. + * project: + * '(?:(?:[-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])?))', + * // 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). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "securityPolicy": "my_securityPolicy" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "clientOperationId": "my_clientOperationId", + * // "creationTimestamp": "my_creationTimestamp", + * // "description": "my_description", + * // "endTime": "my_endTime", + * // "error": {}, + * // "httpErrorMessage": "my_httpErrorMessage", + * // "httpErrorStatusCode": 0, + * // "id": "my_id", + * // "insertTime": "my_insertTime", + * // "kind": "my_kind", + * // "name": "my_name", + * // "operationType": "my_operationType", + * // "progress": 0, + * // "region": "my_region", + * // "selfLink": "my_selfLink", + * // "selfLinkWithId": "my_selfLinkWithId", + * // "startTime": "my_startTime", + * // "status": "my_status", + * // "statusMessage": "my_statusMessage", + * // "targetId": "my_targetId", + * // "targetLink": "my_targetLink", + * // "user": "my_user", + * // "warnings": [], + * // "zone": "my_zone" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + setEdgeSecurityPolicy( + params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + options: StreamMethodOptions + ): GaxiosPromise; + setEdgeSecurityPolicy( + params?: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + options?: MethodOptions + ): GaxiosPromise; + setEdgeSecurityPolicy( + params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + params: Params$Resource$Backendbuckets$Setedgesecuritypolicy, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + paramsOrCallback?: + | Params$Resource$Backendbuckets$Setedgesecuritypolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Backendbuckets$Setedgesecuritypolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Backendbuckets$Setedgesecuritypolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, + options + ), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Sets the access control policy on the specified resource. Replaces any existing policy. * @example @@ -22327,6 +22520,7 @@ export namespace compute_alpha { * // "creationTimestamp": "my_creationTimestamp", * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCdn": false, * // "id": "my_id", * // "kind": "my_kind", @@ -22632,6 +22826,30 @@ export namespace compute_alpha { */ requestBody?: Schema$BackendBucket; } + export interface Params$Resource$Backendbuckets$Setedgesecuritypolicy + extends StandardParameters { + /** + * Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. + */ + backendBucket?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * 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). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SecurityPolicyReference; + } export interface Params$Resource$Backendbuckets$Setiampolicy extends StandardParameters { /** @@ -23420,6 +23638,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -23749,6 +23968,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -24116,6 +24336,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -24265,6 +24486,180 @@ export namespace compute_alpha { } } + /** + * Sets the edge security policy for the specified backend service. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // `$ gcloud auth application-default login` + * // - Install the npm module by running: + * // `$ npm install googleapis` + * + * const {google} = require('googleapis'); + * const compute = google.compute('alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.backendServices.setEdgeSecurityPolicy({ + * // Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. + * backendService: 'placeholder-value', + * // Project ID for this request. + * project: + * '(?:(?:[-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])?))', + * // 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). + * requestId: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "securityPolicy": "my_securityPolicy" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "clientOperationId": "my_clientOperationId", + * // "creationTimestamp": "my_creationTimestamp", + * // "description": "my_description", + * // "endTime": "my_endTime", + * // "error": {}, + * // "httpErrorMessage": "my_httpErrorMessage", + * // "httpErrorStatusCode": 0, + * // "id": "my_id", + * // "insertTime": "my_insertTime", + * // "kind": "my_kind", + * // "name": "my_name", + * // "operationType": "my_operationType", + * // "progress": 0, + * // "region": "my_region", + * // "selfLink": "my_selfLink", + * // "selfLinkWithId": "my_selfLinkWithId", + * // "startTime": "my_startTime", + * // "status": "my_status", + * // "statusMessage": "my_statusMessage", + * // "targetId": "my_targetId", + * // "targetLink": "my_targetLink", + * // "user": "my_user", + * // "warnings": [], + * // "zone": "my_zone" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + setEdgeSecurityPolicy( + params: Params$Resource$Backendservices$Setedgesecuritypolicy, + options: StreamMethodOptions + ): GaxiosPromise; + setEdgeSecurityPolicy( + params?: Params$Resource$Backendservices$Setedgesecuritypolicy, + options?: MethodOptions + ): GaxiosPromise; + setEdgeSecurityPolicy( + params: Params$Resource$Backendservices$Setedgesecuritypolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + params: Params$Resource$Backendservices$Setedgesecuritypolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + params: Params$Resource$Backendservices$Setedgesecuritypolicy, + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + callback: BodyResponseCallback + ): void; + setEdgeSecurityPolicy( + paramsOrCallback?: + | Params$Resource$Backendservices$Setedgesecuritypolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Backendservices$Setedgesecuritypolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Backendservices$Setedgesecuritypolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, + options + ), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Sets the security policy for the specified backend service. * @example @@ -24644,6 +25039,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -25009,6 +25405,30 @@ export namespace compute_alpha { */ requestBody?: Schema$BackendService; } + export interface Params$Resource$Backendservices$Setedgesecuritypolicy + extends StandardParameters { + /** + * Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. + */ + backendService?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * 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). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SecurityPolicyReference; + } export interface Params$Resource$Backendservices$Setsecuritypolicy extends StandardParameters { /** @@ -53186,6 +53606,7 @@ export namespace compute_alpha { * // "deviceName": "my_deviceName", * // "diskEncryptionKey": {}, * // "diskSizeGb": "my_diskSizeGb", + * // "forceAttach": false, * // "guestOsFeatures": [], * // "index": 0, * // "initializeParams": {}, @@ -63795,6 +64216,7 @@ export namespace compute_alpha { * // "cloudRouterIpAddress": "my_cloudRouterIpAddress", * // "creationTimestamp": "my_creationTimestamp", * // "customerRouterIpAddress": "my_customerRouterIpAddress", + * // "dataplaneVersion": 0, * // "description": "my_description", * // "edgeAvailabilityDomain": "my_edgeAvailabilityDomain", * // "encryption": "my_encryption", @@ -64117,6 +64539,7 @@ export namespace compute_alpha { * // "cloudRouterIpAddress": "my_cloudRouterIpAddress", * // "creationTimestamp": "my_creationTimestamp", * // "customerRouterIpAddress": "my_customerRouterIpAddress", + * // "dataplaneVersion": 0, * // "description": "my_description", * // "edgeAvailabilityDomain": "my_edgeAvailabilityDomain", * // "encryption": "my_encryption", @@ -64489,6 +64912,7 @@ export namespace compute_alpha { * // "cloudRouterIpAddress": "my_cloudRouterIpAddress", * // "creationTimestamp": "my_creationTimestamp", * // "customerRouterIpAddress": "my_customerRouterIpAddress", + * // "dataplaneVersion": 0, * // "description": "my_description", * // "edgeAvailabilityDomain": "my_edgeAvailabilityDomain", * // "encryption": "my_encryption", @@ -94079,6 +94503,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -94408,6 +94833,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -94779,6 +95205,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint", @@ -95139,6 +95566,7 @@ export namespace compute_alpha { * // "customRequestHeaders": [], * // "customResponseHeaders": [], * // "description": "my_description", + * // "edgeSecurityPolicy": "my_edgeSecurityPolicy", * // "enableCDN": false, * // "failoverPolicy": {}, * // "fingerprint": "my_fingerprint",