class ProjectsLocationsSnapshots extends Resource (View source)

The "snapshots" collection of methods.

Typical usage is:

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

Methods

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

Deletes a snapshot. (snapshots.delete)

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

Gets information about a snapshot. (snapshots.get)

listProjectsLocationsSnapshots(string $projectId, string $location, array $optParams = [])

Lists snapshots. (snapshots.listProjectsLocationsSnapshots)

Details

DeleteSnapshotResponse delete(string $projectId, string $location, string $snapshotId, array $optParams = [])

Deletes a snapshot. (snapshots.delete)

Parameters

string $projectId

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

string $location

The location that contains this snapshot.

string $snapshotId

The ID of the snapshot.

array $optParams

Optional parameters.

Return Value

DeleteSnapshotResponse

Exceptions

Exception

Snapshot get(string $projectId, string $location, 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 $location

The location that contains this snapshot.

string $snapshotId

The ID of the snapshot.

array $optParams

Optional parameters.

Return Value

Snapshot

Exceptions

Exception

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

Lists snapshots. (snapshots.listProjectsLocationsSnapshots)

Parameters

string $projectId

The project ID to list snapshots for.

string $location

The location to list snapshots in.

array $optParams

Optional parameters.

Return Value

ListSnapshotsResponse

Exceptions

Exception