Get
|
|||||
|
|
Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- View and manage your Google Compute Engine resources
- View your Google Compute Engine resources
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
project Required |
STRING |
Project ID for this request |
licenseCode Required |
STRING |
Number corresponding to the License code resource to return |
= Parameter name
= Format
project STRING Required Project ID for this request |
licenseCode STRING Required Number corresponding to the License code resource to return |
Output
This building block provides 11 output parameters
Name | Format | Description |
---|---|---|
creationTimestamp |
STRING |
[Output Only] Creation timestamp in RFC3339 text format |
description |
STRING |
[Output Only] Description of this License Code |
id |
INTEGER |
[Output Only] The unique identifier for the resource. This identifier is defined by the server |
kind |
STRING |
[Output Only] Type of resource. Always compute#licenseCode for licenses |
licenseAlias[] |
OBJECT |
|
licenseAlias[].description |
STRING |
[Output Only] Description of this License Code |
licenseAlias[].selfLink |
STRING |
[Output Only] URL of license corresponding to this License Code |
name |
STRING |
[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer |
selfLink |
STRING |
[Output Only] Server-defined URL for the resource |
state |
ENUMERATION |
[Output Only] Current state 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 |
= Parameter name
= Format
creationTimestamp STRING [Output Only] Creation timestamp in RFC3339 text format |
description STRING [Output Only] Description of this License Code |
id INTEGER [Output Only] The unique identifier for the resource. This identifier is defined by the server |
kind STRING [Output Only] Type of resource. Always compute#licenseCode for licenses |
licenseAlias[] OBJECT |
licenseAlias[].description STRING [Output Only] Description of this License Code |
licenseAlias[].selfLink STRING [Output Only] URL of license corresponding to this License Code |
name STRING [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer |
selfLink STRING [Output Only] Server-defined URL for the resource |
state ENUMERATION [Output Only] Current state 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 |