Class LicenseCode (1.23.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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
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 MutableSequence[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.

Classes

State

State(value)

[Output Only] Current state of this License Code.