pub struct LaunchTemplate {
pub name: String,
pub launch_template_data: Option<LaunchTemplateData>,
pub default_version: i32,
pub latest_version: i32,
pub create_time: Option<Timestamp>,
pub creator: String,
pub tags: BTreeMap<String, String>,
pub version: i32,
pub version_create_time: Option<Timestamp>,
}Expand description
A recipe kept under a name: numbered versions of it, and the one that is the default.
Fields§
§name: StringThe launch template’s resource name. A template read at one version,
by @{version}, @default or @latest, is named with that version’s
number, projects/{project}/launchTemplates/{launch_template}@{version}.
launch_template_data: Option<LaunchTemplateData>The recipe of the version this shows, version: the default version’s
unless the name named another. On creation, the recipe of version 1.
default_version: i32The number of the version launches use when they name no version. 1 on creation; an update sets it to another version the template has.
latest_version: i32The number of the newest version the template has.
create_time: Option<Timestamp>When the launch template was created.
creator: StringThe principal that created the launch template, by its full name on
iam: //iam.origincloudapis.eu/users/{user},
//iam.origincloudapis.eu/organizations/{organization}/serviceAccounts/{service_account},
or a platform service agent’s or service’s name when the platform did.
Labels of your own for the launch template, at most 50. The
origin:name tag is the name the console shows. The recipe’s own
tags are the instances’.
version: i32The number of the version whose recipe this shows.
version_create_time: Option<Timestamp>When that version was created.
Trait Implementations§
Source§impl Clone for LaunchTemplate
impl Clone for LaunchTemplate
Source§impl Debug for LaunchTemplate
impl Debug for LaunchTemplate
Source§impl Default for LaunchTemplate
impl Default for LaunchTemplate
Source§impl<'de> Deserialize<'de> for LaunchTemplate
impl<'de> Deserialize<'de> for LaunchTemplate
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 Message for LaunchTemplate
impl Message for LaunchTemplate
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.