class SnapshotSettings extends Resource (View source)

The "snapshotSettings" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $snapshotSettings = $computeService->snapshotSettings;

Methods

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

Get snapshot settings. (snapshotSettings.get)

patch(string $project, SnapshotSettings $postBody, array $optParams = [])

Patch snapshot settings. (snapshotSettings.patch)

Details

SnapshotSettings get(string $project, array $optParams = [])

Get snapshot settings. (snapshotSettings.get)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

SnapshotSettings

Exceptions

Exception

Operation patch(string $project, SnapshotSettings $postBody, array $optParams = [])

Patch snapshot settings. (snapshotSettings.patch)

Parameters

string $project

Project ID for this request.

SnapshotSettings $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception