Method: projects.locations.privateClouds.subnets.get

Gets details of a single subnet.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the subnet 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-a/privateClouds/my-cloud/subnets/my-subnet

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

  • vmwareengine.subnets.get

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.