class Projects extends Resource (View source)

The "projects" collection of methods.

Typical usage is:

 $dataflowService = new Google\Service\Dataflow(...);
 $projects = $dataflowService->projects;

Methods

deleteSnapshots(string $projectId, array $optParams = [])

Deletes a snapshot. (projects.deleteSnapshots)

workerMessages(string $projectId, SendWorkerMessagesRequest $postBody, array $optParams = [])

Send a worker_message to the service. (projects.workerMessages)

Details

DeleteSnapshotResponse deleteSnapshots(string $projectId, array $optParams = [])

Deletes a snapshot. (projects.deleteSnapshots)

Parameters

string $projectId

The ID of the Cloud Platform project that the snapshot belongs to.

array $optParams

Optional parameters.

Return Value

DeleteSnapshotResponse

Exceptions

Exception

SendWorkerMessagesResponse workerMessages(string $projectId, SendWorkerMessagesRequest $postBody, array $optParams = [])

Send a worker_message to the service. (projects.workerMessages)

Parameters

string $projectId

The project to send the WorkerMessages to.

SendWorkerMessagesRequest $postBody
array $optParams

Optional parameters.

Return Value

SendWorkerMessagesResponse

Exceptions

Exception