Compute Engine API (compute:beta)

2024-07-09

8 new methods

Additions

    Methods
  • compute.firewallPolicies.getPacketMirroringRule

      Path: locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule

      Flat Path: locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule

      HTTP Method: GET

      Parameters:

        firewallPolicy

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

          Pattern: (firewallPolicies/)?[0-9]{0,20}

          Location: path

          Required: Yes

          Type: string

        priority

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

          Location: query

          Type: integer

          Format: int32

      Parameter Order: firewallPolicy

      Scopes:

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

  • compute.firewallPolicies.addPacketMirroringRule

      Path: locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule

      Flat Path: locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule

      HTTP Method: POST

      Parameters:

        firewallPolicy

          Description: Name of the firewall policy to update.

          Pattern: (firewallPolicies/)?[0-9]{0,20}

          Location: path

          Required: Yes

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

      Parameter Order: firewallPolicy

      Scopes:

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

  • compute.firewallPolicies.removePacketMirroringRule

      Path: locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule

      Flat Path: locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule

      HTTP Method: POST

      Parameters:

        firewallPolicy

          Description: Name of the firewall policy to update.

          Pattern: (firewallPolicies/)?[0-9]{0,20}

          Location: path

          Required: Yes

          Type: string

        priority

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

          Location: query

          Type: integer

          Format: int32

        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

      Parameter Order: firewallPolicy

      Scopes:

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

  • compute.firewallPolicies.patchPacketMirroringRule

      Path: locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule

      Flat Path: locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule

      HTTP Method: POST

      Parameters:

        firewallPolicy

          Description: Name of the firewall policy to update.

          Pattern: (firewallPolicies/)?[0-9]{0,20}

          Location: path

          Required: Yes

          Type: string

        priority

          Description: The priority of the rule to patch.

          Location: query

          Type: integer

          Format: int32

        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

      Parameter Order: firewallPolicy

      Scopes:

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

  • compute.networkFirewallPolicies.getPacketMirroringRule

      Path: projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule

      Flat Path: projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule

      HTTP Method: GET

      Parameters:

        firewallPolicy

          Description: Name of the firewall 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

        priority

          Description: The priority of the rule to get from the firewall 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

      Parameter Order:

    • project
    • firewallPolicy
    • Scopes:

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

  • compute.networkFirewallPolicies.addPacketMirroringRule

      Path: projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule

      Flat Path: projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule

      HTTP Method: POST

      Parameters:

        firewallPolicy

          Description: Name of the firewall 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

        maxPriority

          Description: When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.

          Location: query

          Type: integer

          Format: int32

        minPriority

          Description: When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.

          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

        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

      Parameter Order:

    • project
    • firewallPolicy
    • Scopes:

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

  • compute.networkFirewallPolicies.removePacketMirroringRule

      Path: projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule

      Flat Path: projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule

      HTTP Method: POST

      Parameters:

        firewallPolicy

          Description: Name of the firewall 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

        priority

          Description: The priority of the rule to remove from the firewall 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

        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

      Parameter Order:

    • project
    • firewallPolicy
    • Scopes:

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

  • compute.networkFirewallPolicies.patchPacketMirroringRule

      Path: projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule

      Flat Path: projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule

      HTTP Method: POST

      Parameters:

        firewallPolicy

          Description: Name of the firewall 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

        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

        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

      Parameter Order:

    • project
    • firewallPolicy
    • Scopes:

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