Compute V1 Client - Class Policy (2.9.0)

Reference documentation and code samples for the Compute V1 Client class Policy.

Policy of which location is allowed to access snapshot.

Protobuf type google.cloud.compute.v1.SnapshotSettingsAccessLocation.Policy

Namespace

Google \ Cloud \ Compute \ V1 \ SnapshotSettingsAccessLocation

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_POLICY

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_POLICY = 0;

ALL_REGIONS

Value: 273143585

Any regions will be able to access the source location.

Generated from protobuf enum ALL_REGIONS = 273143585;

POLICY_UNSPECIFIED

Value: 197974922

Generated from protobuf enum POLICY_UNSPECIFIED = 197974922;

SPECIFIC_REGIONS

Value: 454128082

Only allowlisted regions will be able to restore region scoped snapshots

Generated from protobuf enum SPECIFIC_REGIONS = 454128082;