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

Properties

HasShareType

public bool HasShareType { get; }

Gets whether the "share_type" field is set

Property Value
Type Description
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
Type Description
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
Type Description
string