class ProjectsLocationsSnapshotSchedulePolicies extends Resource (View source)

The "snapshotSchedulePolicies" collection of methods.

Typical usage is:

 $baremetalsolutionService = new Google\Service\Baremetalsolution(...);
 $snapshotSchedulePolicies = $baremetalsolutionService->snapshotSchedulePolicies;

Methods

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

Create a snapshot schedule policy in the specified project.

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

Delete a named snapshot schedule policy. (snapshotSchedulePolicies.delete)

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

Get details of a single snapshot schedule policy.

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

List snapshot schedule policies in a given project and location.

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

Update a snapshot schedule policy in the specified project.

Details

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

Create a snapshot schedule policy in the specified project.

(snapshotSchedulePolicies.create)

Parameters

string $parent

Required. The parent project and location containing the SnapshotSchedulePolicy.

SnapshotSchedulePolicy $postBody
array $optParams

Optional parameters.

Return Value

SnapshotSchedulePolicy

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

Delete a named snapshot schedule policy. (snapshotSchedulePolicies.delete)

Parameters

string $name

Required. The name of the snapshot schedule policy to delete.

array $optParams

Optional parameters.

Return Value

BaremetalsolutionEmpty

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

Get details of a single snapshot schedule policy.

(snapshotSchedulePolicies.get)

Parameters

string $name

Required. Name of the resource.

array $optParams

Optional parameters.

Return Value

SnapshotSchedulePolicy

ListSnapshotSchedulePoliciesResponse listProjectsLocationsSnapshotSchedulePolicies(string $parent, array $optParams = [])

List snapshot schedule policies in a given project and location.

(snapshotSchedulePolicies.listProjectsLocationsSnapshotSchedulePolicies)

Parameters

string $parent

Required. The parent project containing the Snapshot Schedule Policies.

array $optParams

Optional parameters.

Return Value

ListSnapshotSchedulePoliciesResponse

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

Update a snapshot schedule policy in the specified project.

(snapshotSchedulePolicies.patch)

Parameters

string $name

Output only. The name of the snapshot schedule policy.

SnapshotSchedulePolicy $postBody
array $optParams

Optional parameters.

Return Value

SnapshotSchedulePolicy