class ProjectsLocationsConnectionProfiles extends Resource (View source)

The "connectionProfiles" collection of methods.

Typical usage is:

 $datastreamService = new Google\Service\Datastream(...);
 $connectionProfiles = $datastreamService->projects_locations_connectionProfiles;

Methods

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

Use this method to create a connection profile in a project and location.

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

Use this method to delete a connection profile. (connectionProfiles.delete)

discover(string $parent, DiscoverConnectionProfileRequest $postBody, array $optParams = [])

Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that's optionally supplied in the request. (connectionProfiles.discover)

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

Use this method to get details about a connection profile.

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

Use this method to list connection profiles created in a project and location. (connectionProfiles.listProjectsLocationsConnectionProfiles)

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

Use this method to update the parameters of a connection profile.

Details

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

Use this method to create a connection profile in a project and location.

(connectionProfiles.create)

Parameters

string $parent

Required. The parent that owns the collection of ConnectionProfiles.

ConnectionProfile $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Use this method to delete a connection profile. (connectionProfiles.delete)

Parameters

string $name

Required. The name of the connection profile resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

DiscoverConnectionProfileResponse discover(string $parent, DiscoverConnectionProfileRequest $postBody, array $optParams = [])

Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that's optionally supplied in the request. (connectionProfiles.discover)

Parameters

string $parent

Required. The parent resource of the connection profile type. Must be in the format projects/locations.

DiscoverConnectionProfileRequest $postBody
array $optParams

Optional parameters.

Return Value

DiscoverConnectionProfileResponse

Exceptions

Exception

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

Use this method to get details about a connection profile.

(connectionProfiles.get)

Parameters

string $name

Required. The name of the connection profile resource to get.

array $optParams

Optional parameters.

Return Value

ConnectionProfile

Exceptions

Exception

ListConnectionProfilesResponse listProjectsLocationsConnectionProfiles(string $parent, array $optParams = [])

Use this method to list connection profiles created in a project and location. (connectionProfiles.listProjectsLocationsConnectionProfiles)

Parameters

string $parent

Required. The parent that owns the collection of connection profiles.

array $optParams

Optional parameters.

Return Value

ListConnectionProfilesResponse

Exceptions

Exception

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

Use this method to update the parameters of a connection profile.

(connectionProfiles.patch)

Parameters

string $name

Output only. The resource's name.

ConnectionProfile $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception