Struct google_deploymentmanager2::Deployment
source · pub struct Deployment {
pub description: Option<String>,
pub name: Option<String>,
pub labels: Option<Vec<DeploymentLabelEntry>>,
pub update: Option<DeploymentUpdate>,
pub manifest: Option<String>,
pub insert_time: Option<String>,
pub fingerprint: Option<String>,
pub operation: Option<Operation>,
pub id: Option<String>,
pub self_link: Option<String>,
pub target: Option<TargetConfiguration>,
}Expand 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).
- update deployments (request)
- get deployments (response)
- insert deployments (request)
- test iam permissions deployments (none)
- cancel preview deployments (none)
- list deployments (none)
- patch deployments (request)
- stop deployments (none)
- get iam policy deployments (none)
- set iam policy deployments (none)
- delete deployments (none)
Fields§
§description: Option<String>An optional user-provided description of the deployment.
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? 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.
labels: Option<Vec<DeploymentLabelEntry>>Map of 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? Label values must be between 0 and 63 characters long and must conform to the regular expression (a-z?)?
update: Option<DeploymentUpdate>Output only. If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
manifest: Option<String>Output only. URL of the manifest representing the last manifest that was successfully deployed.
insert_time: Option<String>Output only. Timestamp when the deployment was created, in RFC3339 text format .
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.
operation: Option<Operation>Output only. The Operation that most recently ran, or is currently running, on this deployment.
id: Option<String>Output only. Unique identifier for the resource; defined by the server.
self_link: Option<String>Output only. Self link for the deployment.
target: Option<TargetConfiguration>[Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates.
Trait Implementations§
source§impl Clone for Deployment
impl Clone for Deployment
source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Deployment
impl Debug for Deployment
source§impl Default for Deployment
impl Default for Deployment
source§fn default() -> Deployment
fn default() -> Deployment
source§impl<'de> Deserialize<'de> for Deployment
impl<'de> Deserialize<'de> for Deployment
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 Deployment
impl Serialize for Deployment
impl RequestValue for Deployment
impl Resource for Deployment
impl ResponseResult for Deployment
Auto Trait Implementations§
impl Freeze for Deployment
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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