REST Resource: licenseCodes

Resource: LicenseCode

Represents a License Code resource.

A License Code is a unique identifier used to represent a license resource.

CautionThis resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
JSON representation
 { 
 "kind" 
 : 
 string 
 , 
 "id" 
 : 
 string 
 , 
 "name" 
 : 
 string 
 , 
 "creationTimestamp" 
 : 
 string 
 , 
 "description" 
 : 
 string 
 , 
 "selfLink" 
 : 
 string 
 , 
 "transferable" 
 : 
 boolean 
 , 
 "state" 
 : 
 enum 
 , 
 "licenseAlias" 
 : 
 [ 
 { 
 "selfLink" 
 : 
 string 
 , 
 "description" 
 : 
 string 
 } 
 ] 
 } 
Fields
kind

string

Output only. Type of resource. Always compute#licenseCode for licenses.

id

string ( uint64 format)

Output only. The unique identifier for the resource. This identifier is defined by the server.

name

string

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

creationTimestamp

string

Output only. Creation timestamp in RFC3339 text format.

description

string

Output only. Description of this License Code.

transferable

boolean

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

state

enum

Output only. Current state of this License Code.

licenseAlias[]

object

Output only. URL and description aliases of Licenses with the same License Code.

licenseAlias[].selfLink

string

Output only. URL of license corresponding to this License Code.

licenseAlias[].description

string

Output only. Description of this License Code.

Methods

get

Return a specified license code.

testIamPermissions

Returns permissions that a caller has on the specified resource.
Create a Mobile Website
View Site in Mobile | Classic
Share by: