Struct google_compute1::api::LicenseCode
source · pub struct LicenseCode {
pub creation_timestamp: Option<String>,
pub description: Option<String>,
pub id: Option<u64>,
pub kind: Option<String>,
pub license_alias: Option<Vec<LicenseCodeLicenseAlias>>,
pub name: Option<String>,
pub self_link: Option<String>,
pub state: Option<String>,
pub transferable: Option<bool>,
}
Expand description
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.
§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).
- get license codes (response)
- test iam permissions license codes (none)
Fields§
§creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
description: Option<String>
[Output Only] Description of this License Code.
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#licenseCode for licenses.
license_alias: Option<Vec<LicenseCodeLicenseAlias>>
[Output Only] URL and description aliases of Licenses with the same License Code.
name: Option<String>
[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.
self_link: Option<String>
[Output Only] Server-defined URL for the resource.
state: Option<String>
[Output Only] Current state of this License Code.
transferable: Option<bool>
[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.
Trait Implementations§
source§impl Clone for LicenseCode
impl Clone for LicenseCode
source§fn clone(&self) -> LicenseCode
fn clone(&self) -> LicenseCode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more