Compute Engine v1 API - Class SnapshotSettingsStorageLocationSettings (3.2.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
Name Description
other SnapshotSettingsStorageLocationSettings

Properties

HasPolicy

public bool HasPolicy { get; }

Gets whether the "policy" field is set

Property Value
Type Description
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 Cloud Storage bucket locations. Only one location can be specified.

Property Value
Type Description
MapFieldstringSnapshotSettingsStorageLocationSettingsStorageLocationPreference

Policy

public string Policy { get; set; }

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

Property Value
Type Description
string