Compute Engine API (compute:v1)

2023-09-07

4 new methods

Additions

    Methods
  • compute.regionBackendServices.setSecurityPolicy

      Scopes :

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

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

      Parameters :

        project

          Type : string

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

          Description : Project ID for this request.

          Required : Yes

        region

          Description : Name of the region scoping this request.

          Required : Yes

          Type : string

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

          Location : path

        requestId

          Type : string

          Location : query

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

        backendService

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

          Type : string

          Required : Yes

          Location : path

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

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

      Parameter Order :

    • project
    • region
    • backendService
  • compute.instances.setSecurityPolicy

      HTTP Method : POST

      Scopes :

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

    • project
    • zone
    • instance
    • Path : projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy

      Parameters :

        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

        instance

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

          Type : string

          Required : Yes

          Location : path

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

          Required : Yes

          Type : string

          Description : Project ID for this request.

          Location : path

        zone

          Type : string

          Required : Yes

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

          Location : path

          Description : Name of the zone scoping this request.

      Description : Sets the Google Cloud Armor security policy for the specified instance. For more information, see Google Cloud Armor Overview

      Flat Path : projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy

  • compute.targetInstances.setSecurityPolicy

      Scopes :

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

    • project
    • zone
    • targetInstance
    • Flat Path : projects/{project}/zones/{zone}/targetInstances/{targetInstance}/setSecurityPolicy

      HTTP Method : POST

      Path : projects/{project}/zones/{zone}/targetInstances/{targetInstance}/setSecurityPolicy

      Description : Sets the Google Cloud Armor security policy for the specified target instance. For more information, see Google Cloud Armor Overview

      Parameters :

        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.

        targetInstance

          Location : path

          Required : Yes

          Type : string

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

        requestId

          Type : string

          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

        zone

          Description : Name of the zone scoping this request.

          Location : path

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

          Required : Yes

          Type : string

  • compute.targetPools.setSecurityPolicy

      HTTP Method : POST

      Flat Path : projects/{project}/regions/{region}/targetPools/{targetPool}/setSecurityPolicy

      Parameter Order :

    • project
    • region
    • targetPool
    • Scopes :

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

        project

          Type : string

          Description : Project ID for this request.

          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 : Yes

          Location : path

        region

          Required : Yes

          Location : path

          Type : string

          Description : Name of the region scoping this request.

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

        targetPool

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

          Type : string

          Location : path

          Required : Yes

        requestId

          Location : query

          Type : string

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

      Path : projects/{project}/regions/{region}/targetPools/{targetPool}/setSecurityPolicy

      Description : Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview