class ProjectsLocationsPrivateConnections extends Resource (View source)

The "privateConnections" collection of methods.

Typical usage is:

 $vmwareengineService = new Google\Service\VMwareEngine(...);
 $privateConnections = $vmwareengineService->projects_locations_privateConnections;

Methods

create(string $parent, PrivateConnection $postBody, array $optParams = [])

Creates a new private connection that can be used for accessing private Clouds. (privateConnections.create)

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

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network. (privateConnections.delete)

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

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state. (privateConnections.get)

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

Lists PrivateConnection resources in a given project and location.

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

Modifies a PrivateConnection resource. Only description and routing_mode fields can be updated. Only fields specified in updateMask are applied. (privateConnections.patch)

Details

Operation create(string $parent, PrivateConnection $postBody, array $optParams = [])

Creates a new private connection that can be used for accessing private Clouds. (privateConnections.create)

Parameters

string $parent

Required. The resource name of the location to create the new private connection in. Private connection is a regional resource. 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

PrivateConnection $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a PrivateConnection resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network. (privateConnections.delete)

Parameters

string $name

Required. The resource name of the private connection to be deleted. 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/privateConnections/my-connection

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Retrieves a PrivateConnection resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state. (privateConnections.get)

Parameters

string $name

Required. The resource name of the private connection 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/privateConnections/my-connection

array $optParams

Optional parameters.

Return Value

PrivateConnection

Exceptions

Exception

ListPrivateConnectionsResponse listProjectsLocationsPrivateConnections(string $parent, array $optParams = [])

Lists PrivateConnection resources in a given project and location.

(privateConnections.listProjectsLocationsPrivateConnections)

Parameters

string $parent

Required. The resource name of the location to query for private connections. 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

array $optParams

Optional parameters.

Return Value

ListPrivateConnectionsResponse

Exceptions

Exception

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

Modifies a PrivateConnection resource. Only description and routing_mode fields can be updated. Only fields specified in updateMask are applied. (privateConnections.patch)

Parameters

string $name

Output only. The resource name of the private connection. 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/privateConnections/my-connection

PrivateConnection $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception