class ProjectsSnapshots extends Resource (View source)

The "snapshots" collection of methods.

Typical usage is:

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

Methods

get(string $projectId, string $snapshotId, array $optParams = [])

Gets information about a snapshot. (snapshots.get)

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

Lists snapshots. (snapshots.listProjectsSnapshots)

Details

Snapshot get(string $projectId, string $snapshotId, array $optParams = [])

Gets information about a snapshot. (snapshots.get)

Parameters

string $projectId

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

string $snapshotId

The ID of the snapshot.

array $optParams

Optional parameters.

Return Value

Snapshot

Exceptions

Exception

ListSnapshotsResponse listProjectsSnapshots(string $projectId, array $optParams = [])

Lists snapshots. (snapshots.listProjectsSnapshots)

Parameters

string $projectId

The project ID to list snapshots for.

array $optParams

Optional parameters.

Return Value

ListSnapshotsResponse

Exceptions

Exception