- 1.41.0 (latest)
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.2
- 1.18.0
- 1.17.0
- 1.16.1
- 1.15.0
- 1.14.1
- 1.13.0
- 1.12.1
- 1.11.0
- 1.10.1
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.1
- 1.5.2
- 1.4.0
- 1.3.2
- 1.2.0
- 1.1.0
- 1.0.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.2
- 0.3.0
- 0.2.1
- 0.1.0
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
allowed_replacement_licenses
MutableSequence[str]
Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false.
appendable_to_disk
bool
If true, this license can be appended to an existing disk's set of licenses. This field is a member of
oneof
_ _appendable_to_disk
.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
.incompatible_licenses
MutableSequence[str]
Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image.
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
.minimum_retention
google.cloud.compute_v1.types.Duration
If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed. This field is a member of
oneof
_ _minimum_retention
.multi_tenant_only
bool
If true, this license can only be used on VMs on multi tenant nodes. This field is a member of
oneof
_ _multi_tenant_only
.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
.os_license
bool
If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time. This field is a member of
oneof
_ _os_license
.removable_from_disk
bool
If true, this license can be removed from a disk's set of licenses, with no replacement license needed. This field is a member of
oneof
_ _removable_from_disk
.required_coattached_licenses
MutableSequence[str]
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license.
resource_requirements
google.cloud.compute_v1.types.LicenseResourceRequirements
[Input Only] Deprecated. 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
.self_link_with_id
str
[Output Only] Server-defined URL for this resource with the resource id. This field is a member of
oneof
_ _self_link_with_id
.sole_tenant_only
bool
If true, this license can only be used on VMs on sole tenant nodes. This field is a member of
oneof
_ _sole_tenant_only
.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
.update_timestamp
str
[Output Only] Last update timestamp in RFC3339 text format. This field is a member of
oneof
_ _update_timestamp
.
