Class License (1.19.2)

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

Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. 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
charges_use_fee bool
[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. This field is a member of oneof_ _charges_use_fee.
creation_timestamp str
[Output Only] Creation timestamp in RFC3339 text format. This field is a member of oneof_ _creation_timestamp.
description str
An optional textual description of the resource; provided by the client when the resource is created. 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#license for licenses. This field is a member of oneof_ _kind.
license_code int
[Output Only] The unique code used to attach this license to images, snapshots, and disks. This field is a member of oneof_ _license_code.
name str
Name of the resource. The name must be 1-63 characters long and comply with RFC1035. This field is a member of oneof_ _name.
resource_requirements google.cloud.compute_v1.types.LicenseResourceRequirements
This field is a member of oneof_ _resource_requirements.
self_link str
[Output Only] Server-defined URL for the resource. This field is a member of oneof_ _self_link.
transferable bool
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. This field is a member of oneof_ _transferable.