Class LicenseCode (0.7.0)

LicenseCode(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

Attributes

NameDescription
creation_timestamp str
[Output Only] Creation timestamp in RFC3339 text format.
description str
[Output Only] Description of this License Code.
id int
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind str
[Output Only] Type of resource. Always compute#licenseCode for licenses.
license_alias Sequence[google.cloud.compute_v1.types.LicenseCodeLicenseAlias]
[Output Only] URL and description aliases of Licenses with the same License Code.
name str
[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.
self_link str
[Output Only] Server-defined URL for the resource.
state google.cloud.compute_v1.types.LicenseCode.State
[Output Only] Current state of this License Code.
transferable bool
[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.

Classes

State

State(value)

[Output Only] Current state of this License Code.