Struct google_deploymentmanager2::api::Deployment
source · [−]pub struct Deployment {
pub description: Option<String>,
pub fingerprint: Option<String>,
pub id: Option<String>,
pub insert_time: Option<String>,
pub labels: Option<Vec<DeploymentLabelEntry>>,
pub manifest: Option<String>,
pub name: Option<String>,
pub operation: Option<Operation>,
pub self_link: Option<String>,
pub target: Option<TargetConfiguration>,
pub update: Option<DeploymentUpdate>,
pub update_time: Option<String>,
}
Expand description
There is no detailed description.
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).
- cancel preview deployments (none)
- delete deployments (none)
- get deployments (response)
- get iam policy deployments (none)
- insert deployments (request)
- list deployments (none)
- patch deployments (request)
- set iam policy deployments (none)
- stop deployments (none)
- test iam permissions deployments (none)
- update deployments (request)
Fields
description: Option<String>
An optional user-provided description of the deployment.
fingerprint: Option<String>
Provides a fingerprint to use in requests to modify a deployment, such as update()
, stop()
, and cancelPreview()
requests. A fingerprint is a randomly generated value that must be provided with update()
, stop()
, and cancelPreview()
requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time. The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get()
request to a deployment.
id: Option<String>
no description provided
insert_time: Option<String>
Output only. Creation timestamp in RFC3339 text format.
labels: Option<Vec<DeploymentLabelEntry>>
Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?
Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
.
manifest: Option<String>
Output only. URL of the manifest representing the last manifest that was successfully deployed. If no manifest has been successfully deployed, this field will be absent.
name: Option<String>
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
operation: Option<Operation>
Output only. The Operation that most recently ran, or is currently running, on this deployment.
self_link: Option<String>
Output only. Server defined URL for the resource.
target: Option<TargetConfiguration>
[Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates.
update: Option<DeploymentUpdate>
Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
update_time: Option<String>
Output only. Update timestamp in RFC3339 text format.
Trait Implementations
sourceimpl Clone for Deployment
impl Clone for Deployment
sourcefn clone(&self) -> Deployment
fn clone(&self) -> Deployment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Deployment
impl Debug for Deployment
sourceimpl Default for Deployment
impl Default for Deployment
sourcefn default() -> Deployment
fn default() -> Deployment
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Deployment
impl<'de> Deserialize<'de> for Deployment
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for Deployment
impl Serialize for Deployment
impl RequestValue for Deployment
impl Resource for Deployment
impl ResponseResult for Deployment
Auto Trait Implementations
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more