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).

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more