class ProjectsLocationsPrivateConnections extends Resource (View source)

The "privateConnections" collection of methods.

Typical usage is:

 $datastreamService = new Google\Service\Datastream(...);
 $privateConnections = $datastreamService->projects_locations_privateConnections;

Methods

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

Use this method to create a private connectivity configuration.

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

Use this method to delete a private connectivity configuration.

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

Use this method to get details about a private connectivity configuration.

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

Use this method to list private connectivity configurations in a project and location. (privateConnections.listProjectsLocationsPrivateConnections)

Details

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

Use this method to create a private connectivity configuration.

(privateConnections.create)

Parameters

string $parent

Required. The parent that owns the collection of PrivateConnections.

PrivateConnection $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Use this method to delete a private connectivity configuration.

(privateConnections.delete)

Parameters

string $name

Required. The name of the private connectivity configuration to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Use this method to get details about a private connectivity configuration.

(privateConnections.get)

Parameters

string $name

Required. The name of the private connectivity configuration to get.

array $optParams

Optional parameters.

Return Value

PrivateConnection

Exceptions

Exception

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

Use this method to list private connectivity configurations in a project and location. (privateConnections.listProjectsLocationsPrivateConnections)

Parameters

string $parent

Required. The parent that owns the collection of private connectivity configurations.

array $optParams

Optional parameters.

Return Value

ListPrivateConnectionsResponse

Exceptions

Exception