Struct google_api_proto::google::cloud::deploy::v1::CustomTargetType
source · pub struct CustomTargetType {
pub name: String,
pub custom_target_type_id: String,
pub uid: String,
pub description: String,
pub annotations: BTreeMap<String, String>,
pub labels: BTreeMap<String, String>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub etag: String,
pub definition: Option<Definition>,
}
Expand description
A CustomTargetType
resource in the Cloud Deploy API.
A CustomTargetType
defines a type of custom target that can be referenced
in a Target
in order to facilitate deploying to other systems besides the
supported runtimes.
Fields§
§name: String
Optional. Name of the CustomTargetType
. Format is
projects/{project}/locations/{location}/customTargetTypes/{customTargetType}
.
The customTargetType
component must match
[a-z](\[a-z0-9-\]{0,61}\[a-z0-9\])?
custom_target_type_id: String
Output only. Resource id of the CustomTargetType
.
uid: String
Output only. Unique identifier of the CustomTargetType
.
description: String
Optional. Description of the CustomTargetType
. Max length is 255
characters.
annotations: BTreeMap<String, String>
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
labels: BTreeMap<String, String>
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
- Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
- All characters must use UTF-8 encoding, and international characters are allowed.
- Keys must start with a lowercase letter or international character.
- Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
create_time: Option<Timestamp>
Output only. Time at which the CustomTargetType
was created.
update_time: Option<Timestamp>
Output only. Most recent time at which the CustomTargetType
was updated.
etag: String
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
definition: Option<Definition>
Defines the CustomTargetType
renderer and deployer.
Trait Implementations§
source§impl Clone for CustomTargetType
impl Clone for CustomTargetType
source§fn clone(&self) -> CustomTargetType
fn clone(&self) -> CustomTargetType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomTargetType
impl Debug for CustomTargetType
source§impl Default for CustomTargetType
impl Default for CustomTargetType
source§impl Message for CustomTargetType
impl Message for CustomTargetType
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for CustomTargetType
impl PartialEq for CustomTargetType
source§fn eq(&self, other: &CustomTargetType) -> bool
fn eq(&self, other: &CustomTargetType) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomTargetType
Auto Trait Implementations§
impl Freeze for CustomTargetType
impl RefUnwindSafe for CustomTargetType
impl Send for CustomTargetType
impl Sync for CustomTargetType
impl Unpin for CustomTargetType
impl UnwindSafe for CustomTargetType
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