Compute Engine v1 API - Class SnapshotSettingsAccessLocation (3.27.0)

public sealed class SnapshotSettingsAccessLocation : IMessage<SnapshotSettingsAccessLocation>, IEquatable<SnapshotSettingsAccessLocation>, IDeepCloneable<SnapshotSettingsAccessLocation>, IBufferMessage, IMessage

Inheritance

object > SnapshotSettingsAccessLocation

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SnapshotSettingsAccessLocation()

public SnapshotSettingsAccessLocation()

SnapshotSettingsAccessLocation(SnapshotSettingsAccessLocation)

public SnapshotSettingsAccessLocation(SnapshotSettingsAccessLocation other)
Parameter
Name Description
other SnapshotSettingsAccessLocation

Properties

HasPolicy

public bool HasPolicy { get; }

Gets whether the "policy" field is set

Property Value
Type Description
bool

Locations

public MapField<string, SnapshotSettingsAccessLocationAccessLocationPreference> Locations { get; }

List of regions that can restore a regional snapshot from the current region

Property Value
Type Description
MapFieldstringSnapshotSettingsAccessLocationAccessLocationPreference

Policy

public string Policy { get; set; }

Policy of which location is allowed to access snapshot. Check the Policy enum for the list of possible values.

Property Value
Type Description
string