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 moreSource§impl Debug for LicenseCode
impl Debug for LicenseCode
Source§impl Default for LicenseCode
impl Default for LicenseCode
Source§fn default() -> LicenseCode
fn default() -> LicenseCode
Source§impl<'de> Deserialize<'de> for LicenseCode
impl<'de> Deserialize<'de> for LicenseCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for LicenseCode
impl Serialize for LicenseCode
impl Resource for LicenseCode
impl ResponseResult for LicenseCode
Auto Trait Implementations§
impl Freeze for LicenseCode
impl RefUnwindSafe for LicenseCode
impl Send for LicenseCode
impl Sync for LicenseCode
impl Unpin for LicenseCode
impl UnwindSafe for LicenseCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more