class ProjectsLocationsPrivateCloudsSubnets extends Resource (View source)

The "subnets" collection of methods.

Typical usage is:

 $vmwareengineService = new Google\Service\VMwareEngine(...);
 $subnets = $vmwareengineService->projects_locations_privateClouds_subnets;

Methods

get(string $name, array $optParams = [])

Gets details of a single subnet. (subnets.get)

listProjectsLocationsPrivateCloudsSubnets(string $parent, array $optParams = [])

Lists subnets in a given private cloud.

patch(string $name, Subnet $postBody, array $optParams = [])

Updates the parameters of a single subnet. Only fields specified in update_mask are applied. Note: This API is synchronous and always returns a successful google.longrunning.Operation (LRO). The returned LRO will only have done and response fields. (subnets.patch)

Details

Subnet get(string $name, array $optParams = [])

Gets details of a single subnet. (subnets.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

Subnet

Exceptions

Exception

ListSubnetsResponse listProjectsLocationsPrivateCloudsSubnets(string $parent, array $optParams = [])

Lists subnets in a given private cloud.

(subnets.listProjectsLocationsPrivateCloudsSubnets)

Parameters

string $parent

Required. The resource name of the private cloud to be queried for subnets. 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

array $optParams

Optional parameters.

Return Value

ListSubnetsResponse

Exceptions

Exception

Operation patch(string $name, Subnet $postBody, array $optParams = [])

Updates the parameters of a single subnet. Only fields specified in update_mask are applied. Note: This API is synchronous and always returns a successful google.longrunning.Operation (LRO). The returned LRO will only have done and response fields. (subnets.patch)

Parameters

string $name

Output only. The resource name of this subnet. 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

Subnet $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception