pub struct CustomTargetType {
pub annotations: Option<HashMap<String, String>>,
pub create_time: Option<DateTime<Utc>>,
pub custom_actions: Option<CustomTargetSkaffoldActions>,
pub custom_target_type_id: Option<String>,
pub description: Option<String>,
pub etag: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub uid: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
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.
§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).
- locations custom target types create projects (request)
- locations custom target types get projects (response)
- locations custom target types patch projects (request)
Fields§
§annotations: Option<HashMap<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.
create_time: Option<DateTime<Utc>>
Output only. Time at which the CustomTargetType
was created.
custom_actions: Option<CustomTargetSkaffoldActions>
Configures render and deploy for the CustomTargetType
using Skaffold custom actions.
custom_target_type_id: Option<String>
Output only. Resource id of the CustomTargetType
.
description: Option<String>
Optional. Description of the CustomTargetType
. Max length is 255 characters.
etag: Option<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.
labels: Option<HashMap<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.
name: Option<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])?
uid: Option<String>
Output only. Unique identifier of the CustomTargetType
.
update_time: Option<DateTime<Utc>>
Output only. Most recent time at which the CustomTargetType
was updated.
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§fn default() -> CustomTargetType
fn default() -> CustomTargetType
Source§impl<'de> Deserialize<'de> for CustomTargetType
impl<'de> Deserialize<'de> for CustomTargetType
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 CustomTargetType
impl Serialize for CustomTargetType
impl RequestValue for CustomTargetType
impl ResponseResult 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
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