Show / Hide Table of Contents

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
System.Object
LicenseCode
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class LicenseCode : IDirectResponseSchema

Properties

CreationTimestamp

[Output Only] Creation timestamp in RFC3339 text format.

Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type Description
System.String

Description

[Output Only] Description of this License Code.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Id

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

Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type Description
System.Nullable<System.UInt64>

Kind

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

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

LicenseAlias

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

Declaration
[JsonProperty("licenseAlias")]
public virtual IList<LicenseCodeLicenseAlias> LicenseAlias { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<LicenseCodeLicenseAlias>

Name

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

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

SelfLink

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

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
System.String

State

[Output Only] Current state of this License Code.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
System.String

Transferable

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

Declaration
[JsonProperty("transferable")]
public virtual bool? Transferable { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Implements

IDirectResponseSchema
In This Article
Back to top