REST Resource: licenses

Resource: 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.

JSON representation
{
  "kind": string,
  "name": string,
  "chargesUseFee": boolean,
  "id": string,
  "licenseCode": string,
  "creationTimestamp": string,
  "description": string,
  "transferable": boolean,
  "selfLink": string,
  "resourceRequirements": {
    object (ResourceRequirements)
  }
}
Fields
kind

string

[Output Only] Type of resource. Always

compute#license

for licenses.

name

string

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

chargesUseFee

boolean

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

id

string (uint64 format)

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

licenseCode

string (uint64 format)

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

creationTimestamp

string

[Output Only] Creation timestamp in RFC3339 text format.

description

string

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

transferable

boolean

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.

resourceRequirements

object (ResourceRequirements)

[Input Only] Deprecated.

ResourceRequirements

JSON representation
{
  "minGuestCpuCount": integer,
  "minMemoryMb": integer
}
Fields
minGuestCpuCount

integer

[Input Only] Deprecated. This field no longer reflects the minimum number of guest cpus required to use the Instance.

minMemoryMb

integer

[Input Only] Deprecated. This field no longer reflects the minimum memory required to use the Instance.

Methods

delete

The method compute.v1.LicensesService.Delete is not available in this (s3nsapis.fr) universe.

get

The method compute.v1.LicensesService.Get is not available in this (s3nsapis.fr) universe.

getIamPolicy

The method compute.v1.LicensesService.GetPolicy is not available in this (s3nsapis.fr) universe.

insert

The method compute.v1.LicensesService.Insert is not available in this (s3nsapis.fr) universe.

list

The method compute.v1.LicensesService.List is not available in this (s3nsapis.fr) universe.

setIamPolicy

The method compute.v1.LicensesService.SetPolicy is not available in this (s3nsapis.fr) universe.

testIamPermissions

The method compute.v1.LicensesService.TestPermissions is not available in this (s3nsapis.fr) universe.