REST Resource: licenseCodes

Resource: LicenseCodesGetResponse

JSON representation
{
  "resource": {
    "id": string,
    "name": string,
    "creationTimestamp": string,
    "description": string,
    "selfLink": string,
    "transferable": boolean,
    "state": enum,
    "licenseAlias": {
      "selfLink": string,
      "description": string
    },
    "kind": string
  }
}
Fields
resource

object

resource.id

string (fixed64 format)

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

resource.name

string

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

resource.creationTimestamp

string

[Output Only] Creation timestamp in RFC3339 text format.

resource.description

string

[Output Only] Description of this License Code.

resource.selfLink

string

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

resource.transferable

boolean

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

resource.state

enum

[Output Only] Current state of this License Code.

resource.licenseAlias[]

object

[Output Only] URL and description aliases of Licenses with the same License Code.

resource.licenseAlias[].selfLink

string

[Output Only] URL of license corresponding to this License Code.

resource.licenseAlias[].description

string

[Output Only] Description of this License Code.

resource.kind

string

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

Methods

get

Return a specified license code.

testIamPermissions

Returns permissions that a caller has on the specified resource.

Send feedback about...

Compute Engine