REST Resource: licenseCodes Stay organized with collections Save and categorize content based on your preferences.
Resource: LicenseCode
Represents a License Code resource.
A License Code is a unique identifier used to represent alicense resource.
| 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 |
[Output Only] Type of resource. Always |
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name |
[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer. |
creationTimestamp |
[Output Only] Creation timestamp inRFC3339 text format. |
description |
[Output Only] Description of this License Code. |
selfLink |
[Output Only] Server-defined URL for the resource. |
transferable |
[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred. |
state |
[Output Only] Current state of this License Code. |
licenseAlias[] |
[Output Only] URL and description aliases of Licenses with the same License Code. |
licenseAlias[].selfLink |
[Output Only] URL of license corresponding to this License Code. |
licenseAlias[].description |
[Output Only] Description of this License Code. |
Methods | |
|---|---|
| Return a specified license code. |
| Returns permissions that a caller has on the specified resource. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-28 UTC.