Class LicenseCode (1.1.0)

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

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

Google.Cloud.Compute.V1

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
Boolean

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
Boolean

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
Boolean

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
Boolean

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
Boolean
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
Boolean

HasState

public bool HasState { get; }

Gets whether the "state" field is set

Property Value
TypeDescription
Boolean

HasTransferable

public bool HasTransferable { get; }

Gets whether the "transferable" field is set

Property Value
TypeDescription
Boolean

Id

public ulong Id { get; set; }

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

Property Value
TypeDescription
UInt64

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
RepeatedField<LicenseCodeLicenseAlias>

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
Boolean