Reference documentation and code samples for the Compute V1 Client class SnapshotSettingsAccessLocation.
Generated from protobuf message google.cloud.compute.v1.SnapshotSettingsAccessLocation
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ locations
array| Google\Protobuf\Internal\MapField
List of regions that can restore a regional snapshot from the current region
↳ policy
string
Policy of which location is allowed to access snapshot. Check the Policy enum for the list of possible values.
getLocations
List of regions that can restore a regional snapshot from the current region
setLocations
List of regions that can restore a regional snapshot from the current region
$this
getPolicy
Policy of which location is allowed to access snapshot.
Check the Policy enum for the list of possible values.
string
hasPolicy
clearPolicy
setPolicy
Policy of which location is allowed to access snapshot.
Check the Policy enum for the list of possible values.
var
string
$this

