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.
Implements
IMessage<LicenseCode>, IEquatable<LicenseCode>, IDeepCloneable<LicenseCode>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
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 |
Boolean |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasState
public bool HasState { get; }
Gets whether the "state" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasTransferable
public bool HasTransferable { get; }
Gets whether the "transferable" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
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 |
UInt64 |
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 |
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 | |
---|---|
Type | Description |
String |
SelfLink
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 |
Boolean |