Compute Engine v1 API - Class ShareSettings (2.9.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

GoogleCloudGoogle.Cloud.ComputeV1

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
bool

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
MapFieldstringShareSettingsProjectConfig

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