Show / Hide Table of Contents

Class License

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

Properties

ChargesUseFee

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

Declaration
[JsonProperty("chargesUseFee")]
public virtual bool? ChargesUseFee { get; set; }
Property Value
Type Description
bool?

CreationTimestamp

[Output Only] Creation timestamp in RFC3339 text format.

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

Description

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

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

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
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
ulong?

Kind

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

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

LicenseCode

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

Declaration
[JsonProperty("licenseCode")]
public virtual ulong? LicenseCode { get; set; }
Property Value
Type Description
ulong?

Name

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

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

ResourceRequirements

Declaration
[JsonProperty("resourceRequirements")]
public virtual LicenseResourceRequirements ResourceRequirements { get; set; }
Property Value
Type Description
LicenseResourceRequirements

SelfLink

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

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

SelfLinkWithId

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

Declaration
[JsonProperty("selfLinkWithId")]
public virtual string SelfLinkWithId { get; set; }
Property Value
Type Description
string

Transferable

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.

Declaration
[JsonProperty("transferable")]
public virtual bool? Transferable { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX