Struct google_compute1::api::License
source · pub struct License {
pub charges_use_fee: Option<bool>,
pub creation_timestamp: Option<String>,
pub description: Option<String>,
pub id: Option<u64>,
pub kind: Option<String>,
pub license_code: Option<u64>,
pub name: Option<String>,
pub resource_requirements: Option<LicenseResourceRequirements>,
pub self_link: Option<String>,
pub transferable: Option<bool>,
}
Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- delete licenses (none)
- get licenses (response)
- get iam policy licenses (none)
- insert licenses (request)
- list licenses (none)
- set iam policy licenses (none)
- test iam permissions licenses (none)
Fields§
§charges_use_fee: Option<bool>
[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
description: Option<String>
An optional textual description of the resource; provided by the client when the resource is created.
id: Option<u64>
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind: Option<String>
[Output Only] Type of resource. Always compute#license for licenses.
license_code: Option<u64>
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
name: Option<String>
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
resource_requirements: Option<LicenseResourceRequirements>
no description provided
self_link: Option<String>
[Output Only] Server-defined URL for the resource.
transferable: Option<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.