Resource: License
Represents a License resource.
A License represents billing and aggregate usage data for public and marketplace images.
JSON representation |
---|
{ "kind": string, "name": string, "chargesUseFee": boolean, "id": string, "licenseCode": string, "creationTimestamp": string, "description": string, "transferable": boolean, "selfLink": string, "resourceRequirements": { "minGuestCpuCount": integer, "minMemoryMb": integer } } |
Fields | |
---|---|
kind |
[Output Only] Type of resource. Always |
name |
Name of the resource. The name must be 1-63 characters long and comply with RFC1035. |
chargesUseFee |
[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. |
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
licenseCode |
[Output Only] The unique code used to attach this license to images, snapshots, and disks. |
creationTimestamp |
[Output Only] Creation timestamp in RFC3339 text format. |
description |
An optional textual description of the resource; provided by the client when the resource is created. |
transferable |
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. |
selfLink |
[Output Only] Server-defined URL for the resource. |
resourceRequirements |
|
resourceRequirements.minGuestCpuCount |
Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. |
resourceRequirements.minMemoryMb |
Minimum memory required to use the Instance. Enforced at Instance creation and Instance start. |
Methods |
|
---|---|
|
Deletes the specified license. |
|
Returns the specified License resource. |
|
Gets the access control policy for a resource. |
|
Create a License resource in the specified project. |
|
Retrieves the list of licenses available in the specified project. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |