class ProjectsLocationsDiscoveryClients extends Resource (View source)

The "discoveryClients" collection of methods.

Typical usage is:

 $migrationcenterService = new Google\Service\MigrationCenterAPI(...);
 $discoveryClients = $migrationcenterService->projects_locations_discoveryClients;

Methods

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

Creates a new discovery client. (discoveryClients.create)

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

Deletes a discovery client. (discoveryClients.delete)

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

Gets the details of a discovery client. (discoveryClients.get)

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

Lists all the discovery clients in a given project and location.

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

Updates a discovery client. (discoveryClients.patch)

sendHeartbeat(string $name, SendDiscoveryClientHeartbeatRequest $postBody, array $optParams = [])

Sends a discovery client heartbeat. Healthy clients are expected to send heartbeats regularly (normally every few minutes).

Details

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

Creates a new discovery client. (discoveryClients.create)

Parameters

string $parent

Required. Parent resource.

DiscoveryClient $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a discovery client. (discoveryClients.delete)

Parameters

string $name

Required. The discovery client name.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets the details of a discovery client. (discoveryClients.get)

Parameters

string $name

Required. The discovery client name.

array $optParams

Optional parameters.

Return Value

DiscoveryClient

Exceptions

Exception

ListDiscoveryClientsResponse listProjectsLocationsDiscoveryClients(string $parent, array $optParams = [])

Lists all the discovery clients in a given project and location.

(discoveryClients.listProjectsLocationsDiscoveryClients)

Parameters

string $parent

Required. Parent resource.

array $optParams

Optional parameters.

Return Value

ListDiscoveryClientsResponse

Exceptions

Exception

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

Updates a discovery client. (discoveryClients.patch)

Parameters

string $name

Output only. Identifier. Full name of this discovery client.

DiscoveryClient $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation sendHeartbeat(string $name, SendDiscoveryClientHeartbeatRequest $postBody, array $optParams = [])

Sends a discovery client heartbeat. Healthy clients are expected to send heartbeats regularly (normally every few minutes).

(discoveryClients.sendHeartbeat)

Parameters

string $name

Required. The discovery client name.

SendDiscoveryClientHeartbeatRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception