Struct googapis::google::cloud::deploy::v1::Rollout [−][src]
pub struct Rollout {Show 16 fields
pub name: String,
pub uid: String,
pub description: String,
pub annotations: HashMap<String, String>,
pub labels: HashMap<String, String>,
pub create_time: Option<Timestamp>,
pub approve_time: Option<Timestamp>,
pub enqueue_time: Option<Timestamp>,
pub deploy_start_time: Option<Timestamp>,
pub deploy_end_time: Option<Timestamp>,
pub target_id: String,
pub approval_state: i32,
pub state: i32,
pub failure_reason: String,
pub deploying_build: String,
pub etag: String,
}
Expand description
A Rollout
resource in the Google Cloud Deploy API.
A Rollout
contains information around a specific deployment to a Target
.
Fields
name: String
Optional. Name of the Rollout
. Format is projects/{project}/
locations/{location}/deliveryPipelines/{deliveryPipeline}/
releases/{release}/rollouts/[a-z][a-z0-9-]{0,62}.
uid: String
Output only. Unique identifier of the Rollout
.
description: String
Description of the Rollout
for user purposes. Max length is 255
characters.
annotations: HashMap<String, String>
User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
labels: HashMap<String, String>
Labels are attributes that can be set and used by both the
user and by Google Cloud Deploy. Labels must meet the following
constraints: Each resource is limited to 64 labels. Keys must conform to
the regexp: \[a-zA-Z][a-zA-Z0-9_-\]{0,62}
. Values must conform to the
regexp: \[a-zA-Z0-9_-\]{0,63}
. Both keys and values are additionally
constrained to be <= 128 bytes in size.
create_time: Option<Timestamp>
Output only. Time at which the Rollout
was created.
approve_time: Option<Timestamp>
Output only. Time at which the Rollout
was approved.
enqueue_time: Option<Timestamp>
Output only. Time at which the Rollout
was enqueued.
deploy_start_time: Option<Timestamp>
Output only. Time at which the Rollout
started deploying.
deploy_end_time: Option<Timestamp>
Output only. Time at which the Rollout
finished deploying.
target_id: String
Required. The ID of Target to which this Rollout
is deploying.
approval_state: i32
Output only. Approval state of the Rollout
.
state: i32
Output only. Current state of the Rollout
.
failure_reason: String
Output only. Reason the build failed. Empty if the build succeeded.
deploying_build: String
Output only. The resource name of the Cloud Build Build
object that is used to deploy
the Rollout. Format is
projects/{project}/locations/{location}/builds/{build}
.
etag: String
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.
Implementations
Returns the enum value of approval_state
, or the default if the field is set to an invalid enum value.
Sets approval_state
to the provided enum value.
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Rollout
impl UnwindSafe for Rollout
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
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