Struct google_api_proto::google::cloud::dataproc::v1::SessionTemplate
source · pub struct SessionTemplate {
pub name: String,
pub description: String,
pub create_time: Option<Timestamp>,
pub creator: String,
pub labels: BTreeMap<String, String>,
pub runtime_config: Option<RuntimeConfig>,
pub environment_config: Option<EnvironmentConfig>,
pub update_time: Option<Timestamp>,
pub uuid: String,
pub session_config: Option<SessionConfig>,
}
Expand description
A representation of a session template.
Fields§
§name: String
Required. The resource name of the session template.
description: String
Optional. Brief description of the template.
create_time: Option<Timestamp>
Output only. The time when the template was created.
creator: String
Output only. The email address of the user who created the template.
labels: BTreeMap<String, String>
Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035. No more than 32 labels can be associated with a session.
runtime_config: Option<RuntimeConfig>
Optional. Runtime configuration for session execution.
environment_config: Option<EnvironmentConfig>
Optional. Environment configuration for session execution.
update_time: Option<Timestamp>
Output only. The time the template was last updated.
uuid: String
Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.
session_config: Option<SessionConfig>
The session configuration.
Trait Implementations§
source§impl Clone for SessionTemplate
impl Clone for SessionTemplate
source§fn clone(&self) -> SessionTemplate
fn clone(&self) -> SessionTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionTemplate
impl Debug for SessionTemplate
source§impl Default for SessionTemplate
impl Default for SessionTemplate
source§impl Message for SessionTemplate
impl Message for SessionTemplate
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 SessionTemplate
impl PartialEq for SessionTemplate
source§fn eq(&self, other: &SessionTemplate) -> bool
fn eq(&self, other: &SessionTemplate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SessionTemplate
Auto Trait Implementations§
impl Freeze for SessionTemplate
impl RefUnwindSafe for SessionTemplate
impl Send for SessionTemplate
impl Sync for SessionTemplate
impl Unpin for SessionTemplate
impl UnwindSafe for SessionTemplate
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