Struct google_api_proto::google::cloud::telcoautomation::v1alpha1::PublicBlueprint
source · pub struct PublicBlueprint {
pub name: String,
pub display_name: String,
pub description: String,
pub deployment_level: i32,
pub source_provider: String,
pub rollback_support: bool,
}
Expand description
A Blueprint contains a collection of kubernetes resources in the form of YAML files. The file contents of a blueprint are collectively known as package. Public blueprint is a TNA provided blueprint that in present in TNA’s public catalog. A user can copy the public blueprint to their private catalog for further modifications.
Fields§
§name: String
Name of the public blueprint.
display_name: String
The display name of the public blueprint.
description: String
The description of the public blueprint.
deployment_level: i32
DeploymentLevel of a blueprint signifies where the blueprint will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]
source_provider: String
Source provider is the author of a public blueprint. e.g. Google, vendors
rollback_support: bool
Output only. Indicates if the deployment created from this blueprint can be rolled back.
Implementations§
source§impl PublicBlueprint
impl PublicBlueprint
sourcepub fn deployment_level(&self) -> DeploymentLevel
pub fn deployment_level(&self) -> DeploymentLevel
Returns the enum value of deployment_level
, or the default if the field is set to an invalid enum value.
sourcepub fn set_deployment_level(&mut self, value: DeploymentLevel)
pub fn set_deployment_level(&mut self, value: DeploymentLevel)
Sets deployment_level
to the provided enum value.
Trait Implementations§
source§impl Clone for PublicBlueprint
impl Clone for PublicBlueprint
source§fn clone(&self) -> PublicBlueprint
fn clone(&self) -> PublicBlueprint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PublicBlueprint
impl Debug for PublicBlueprint
source§impl Default for PublicBlueprint
impl Default for PublicBlueprint
source§impl Message for PublicBlueprint
impl Message for PublicBlueprint
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
.source§impl PartialEq for PublicBlueprint
impl PartialEq for PublicBlueprint
source§fn eq(&self, other: &PublicBlueprint) -> bool
fn eq(&self, other: &PublicBlueprint) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PublicBlueprint
Auto Trait Implementations§
impl Freeze for PublicBlueprint
impl RefUnwindSafe for PublicBlueprint
impl Send for PublicBlueprint
impl Sync for PublicBlueprint
impl Unpin for PublicBlueprint
impl UnwindSafe for PublicBlueprint
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request