Compute Engine API (compute:beta)

2023-05-05

1 new method

Additions

    Methods
  • compute.regionBackendServices.setSecurityPolicy

      Path : projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy

      HTTP Method : POST

      Parameter Order :

    • project
    • region
    • backendService
    • Description : Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview

      Flat Path : projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy

      Parameters :

        region

          Required : Yes

          Description : Name of the region scoping this request.

          Type : string

          Location : path

          Pattern : [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?

        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).

          Type : string

          Location : query

        backendService

          Location : path

          Required : Yes

          Type : string

          Description : Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.

        project

          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])?))

          Location : path

          Required : Yes

          Type : string

          Description : Project ID for this request.

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute