Class LicenseCode (1.3.1)

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. This field is a member of `oneof`_ ``_creation_timestamp``.
description str
[Output Only] Description of this License Code. This field is a member of `oneof`_ ``_description``.
id int
[Output Only] The unique identifier for the resource. This identifier is defined by the server. This field is a member of `oneof`_ ``_id``.
kind str
[Output Only] Type of resource. Always compute#licenseCode for licenses. This field is a member of `oneof`_ ``_kind``.
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. This field is a member of `oneof`_ ``_name``.
self_link str
[Output Only] Server-defined URL for the resource. This field is a member of `oneof`_ ``_self_link``.
state str
[Output Only] Current state of this License Code. Check the State enum for the list of possible values. This field is a member of `oneof`_ ``_state``.
transferable bool
[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred. This field is a member of `oneof`_ ``_transferable``.

Inheritance

builtins.object > proto.message.Message > LicenseCode

Classes

State

State(value)

[Output Only] Current state of this License Code.