Compute Engine API (compute:alpha)

2022-09-02

4 new methods

Additions

    Methods
  • compute.regionSecurityPolicies.getRule

      Scopes :

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

        priority

          Location : query

          Description : The priority of the rule to get from the security policy.

          Type : integer

          Format : int32

        region

          Type : string

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

          Location : path

          Description : Name of the region scoping this request.

          Required : Yes

        project

          Required : Yes

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

          Location : path

          Type : string

        securityPolicy

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

          Description : Name of the security policy to which the queried rule belongs.

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • region
    • securityPolicy
    • Path : projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule

      Flat Path : projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule

      HTTP Method : GET

      Description : Gets a rule at the specified priority.

  • compute.regionSecurityPolicies.removeRule

      Parameters :

        securityPolicy

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

          Required : Yes

          Description : Name of the security policy to update.

          Location : path

          Type : string

        region

          Required : Yes

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

          Location : path

          Description : Name of the region scoping this request.

          Type : string

        priority

          Location : query

          Format : int32

          Type : integer

          Description : The priority of the rule to remove from the security policy.

        project

          Type : string

          Required : Yes

          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.

      Path : projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule

      Parameter Order :

    • project
    • region
    • securityPolicy
    • Description : Deletes a rule at the specified priority.

      Flat Path : projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule

      HTTP Method : POST

      Scopes :

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

      Description : Inserts a rule into a security policy.

      Scopes :

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

        validateOnly

          Location : query

          Description : If true, the request will not be committed.

          Type : boolean

        region

          Description : Name of the region scoping this request.

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

          Type : string

          Required : Yes

          Location : path

        securityPolicy

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

          Required : Yes

          Description : Name of the security policy to update.

          Location : path

          Type : string

        project

          Required : Yes

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

          Type : string

          Location : path

      Path : projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule

      HTTP Method : POST

      Flat Path : projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule

      Parameter Order :

    • project
    • region
    • securityPolicy
  • compute.regionSecurityPolicies.patchRule

      Flat Path : projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule

      Parameter Order :

    • project
    • region
    • securityPolicy
    • Path : projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Patches a rule at the specified priority.

      HTTP Method : POST

      Parameters :

        region

          Description : Name of the region scoping this request.

          Required : Yes

          Location : path

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

          Type : string

        priority

          Location : query

          Description : The priority of the rule to patch.

          Type : integer

          Format : int32

        project

          Required : Yes

          Location : path

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

          Type : string

        validateOnly

          Location : query

          Description : If true, the request will not be committed.

          Type : boolean

        securityPolicy

          Required : Yes

          Description : Name of the security policy to update.

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

          Type : string

          Location : path