Compute Engine v1 API - Class ShareSettings (2.6.0)

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

Reference documentation and code samples for the Compute Engine v1 API class ShareSettings.

The share setting for reservations and sole tenancy node groups.

Inheritance

Object > ShareSettings

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ShareSettings()

public ShareSettings()

ShareSettings(ShareSettings)

public ShareSettings(ShareSettings other)
Parameter
NameDescription
otherShareSettings

Properties

HasShareType

public bool HasShareType { get; }

Gets whether the "share_type" field is set

Property Value
TypeDescription
Boolean

ProjectMap

public MapField<string, ShareSettingsProjectConfig> ProjectMap { get; }

A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.

Property Value
TypeDescription
MapField<String, ShareSettingsProjectConfig>

ShareType

public string ShareType { get; set; }

Type of sharing for this shared-reservation Check the ShareType enum for the list of possible values.

Property Value
TypeDescription
String