Compute Engine v1 API - Class SnapshotSettingsStorageLocationSettings (2.14.0)

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

Inheritance

object > SnapshotSettingsStorageLocationSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SnapshotSettingsStorageLocationSettings()

public SnapshotSettingsStorageLocationSettings()

SnapshotSettingsStorageLocationSettings(SnapshotSettingsStorageLocationSettings)

public SnapshotSettingsStorageLocationSettings(SnapshotSettingsStorageLocationSettings other)
Parameter
NameDescription
otherSnapshotSettingsStorageLocationSettings

Properties

HasPolicy

public bool HasPolicy { get; }

Gets whether the "policy" field is set

Property Value
TypeDescription
bool

Locations

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

When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations.

Property Value
TypeDescription
MapFieldstringSnapshotSettingsStorageLocationSettingsStorageLocationPreference

Policy

public string Policy { get; set; }

The chosen location policy. Check the Policy enum for the list of possible values.

Property Value
TypeDescription
string