Compute Engine API (compute:beta)

2023-04-28

4 new methods | 1 updated method

Additions

    Methods
  • compute.regionSecurityPolicies.getRule

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

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

      HTTP Method : GET

      Parameters :

        priority

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

          Location : query

          Type : integer

          Format : int32

        project

          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

          Required : Yes

          Type : string

        region

          Description : Name of the region scoping this request.

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

          Location : path

          Required : Yes

          Type : string

        securityPolicy

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

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • region
    • securityPolicy
    • Scopes :

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

  • compute.regionSecurityPolicies.addRule

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

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

      HTTP Method : POST

      Parameters :

        project

          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

          Required : Yes

          Type : string

        region

          Description : Name of the region scoping this request.

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

          Location : path

          Required : Yes

          Type : string

        securityPolicy

          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}

          Location : path

          Required : Yes

          Type : string

        validateOnly

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

          Location : query

          Type : boolean

      Parameter Order :

    • project
    • region
    • securityPolicy
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Inserts a rule into a security policy.

  • compute.regionSecurityPolicies.removeRule

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

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

      HTTP Method : POST

      Parameters :

        priority

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

          Location : query

          Type : integer

          Format : int32

        project

          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

          Required : Yes

          Type : string

        region

          Description : Name of the region scoping this request.

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

          Location : path

          Required : Yes

          Type : string

        securityPolicy

          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}

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • region
    • securityPolicy
    • Scopes :

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

  • compute.regionSecurityPolicies.patchRule

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

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

      HTTP Method : POST

      Parameters :

        priority

          Description : The priority of the rule to patch.

          Location : query

          Type : integer

          Format : int32

        project

          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

          Required : Yes

          Type : string

        region

          Description : Name of the region scoping this request.

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

          Location : path

          Required : Yes

          Type : string

        securityPolicy

          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}

          Location : path

          Required : Yes

          Type : string

        validateOnly

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

          Location : query

          Type : boolean

      Parameter Order :

    • project
    • region
    • securityPolicy
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask.

Updates

    Methods
  • compute.instances.simulateMaintenanceEvent

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

          Location : query

          Type : string