Compute Engine v1 API - Class LicenseCode (3.2.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

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

LicenseCode()

public LicenseCode()

LicenseCode(LicenseCode)

public LicenseCode(LicenseCode other)
Parameter
Name Description
other LicenseCode

Properties

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
Type Description
string

Description

public string Description { get; set; }

[Output Only] Description of this License Code.

Property Value
Type Description
string

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
Type Description
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
Type Description
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
Type Description
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
Type Description
bool

HasState

public bool HasState { get; }

Gets whether the "state" field is set

Property Value
Type Description
bool

HasTransferable

public bool HasTransferable { get; }

Gets whether the "transferable" field is set

Property Value
Type Description
bool

Id

public ulong Id { get; set; }

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

Property Value
Type Description
ulong

Kind

public string Kind { get; set; }

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

Property Value
Type Description
string

LicenseAlias

public RepeatedField<LicenseCodeLicenseAlias> LicenseAlias { get; }

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

Property Value
Type Description
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
Type Description
string
public string SelfLink { get; set; }

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

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