Compute Engine v1 API - Class LicenseCode (2.8.0)

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

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

Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

Inheritance

object > LicenseCode

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

LicenseCode()

public LicenseCode()

LicenseCode(LicenseCode)

public LicenseCode(LicenseCode other)
Parameter
NameDescription
otherLicenseCode

Properties

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
TypeDescription
string

Description

public string Description { get; set; }

[Output Only] Description of this License Code.

Property Value
TypeDescription
string

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
TypeDescription
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
bool

HasState

public bool HasState { get; }

Gets whether the "state" field is set

Property Value
TypeDescription
bool

HasTransferable

public bool HasTransferable { get; }

Gets whether the "transferable" field is set

Property Value
TypeDescription
bool

Id

public ulong Id { get; set; }

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Property Value
TypeDescription
ulong

Kind

public string Kind { get; set; }

[Output Only] Type of resource. Always compute#licenseCode for licenses.

Property Value
TypeDescription
string

LicenseAlias

public RepeatedField<LicenseCodeLicenseAlias> LicenseAlias { get; }

[Output Only] URL and description aliases of Licenses with the same License Code.

Property Value
TypeDescription
RepeatedFieldLicenseCodeLicenseAlias

Name

public string Name { get; set; }

[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.

Property Value
TypeDescription
string
public string SelfLink { get; set; }

[Output Only] Server-defined URL for the resource.

Property Value
TypeDescription
string

State

public string State { get; set; }

[Output Only] Current state of this License Code. Check the State enum for the list of possible values.

Property Value
TypeDescription
string

Transferable

public bool Transferable { get; set; }

[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.

Property Value
TypeDescription
bool