Method: projects.locations.networkPolicies.externalAccessRules.get

Gets details of a single external access rule.

HTTP request

GET https://vmwareengine.googleapis.com/v1/{name=projects/*/locations/*/networkPolicies/*/externalAccessRules/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the external access firewall rule to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule

Authorization requires the following IAM permission on the specified resource name:

  • vmwareengine.externalAccessRules.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ExternalAccessRule.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.