Class License (1.3.0)

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

Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

Inheritance

Object > License

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

License()

public License()

License(License)

public License(License other)
Parameter
NameDescription
otherLicense

Properties

ChargesUseFee

public bool ChargesUseFee { get; set; }

[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.

Property Value
TypeDescription
Boolean

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
TypeDescription
String

Description

public string Description { get; set; }

An optional textual description of the resource; provided by the client when the resource is created.

Property Value
TypeDescription
String

HasChargesUseFee

public bool HasChargesUseFee { get; }

Gets whether the "charges_use_fee" field is set

Property Value
TypeDescription
Boolean

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

HasLicenseCode

public bool HasLicenseCode { get; }

Gets whether the "license_code" 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

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#license for licenses.

Property Value
TypeDescription
String

LicenseCode

public ulong LicenseCode { get; set; }

[Output Only] The unique code used to attach this license to images, snapshots, and disks.

Property Value
TypeDescription
UInt64

Name

public string Name { get; set; }

Name of the resource. The name must be 1-63 characters long and comply with RFC1035.

Property Value
TypeDescription
String

ResourceRequirements

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

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

Property Value
TypeDescription
String

Transferable

public bool Transferable { get; set; }

If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.

Property Value
TypeDescription
Boolean