Struct google_api_proto::google::cloud::deploy::v1::AutomationRun
source · pub struct AutomationRun {Show 14 fields
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub etag: String,
pub service_account: String,
pub automation_snapshot: Option<Automation>,
pub target_id: String,
pub state: i32,
pub state_description: String,
pub expire_time: Option<Timestamp>,
pub rule_id: String,
pub automation_id: String,
pub wait_until_time: Option<Timestamp>,
pub operation: Option<Operation>,
}
Expand description
An AutomationRun
resource in the Cloud Deploy API.
An AutomationRun
represents an execution instance of an
automation rule.
Fields§
§name: String
Output only. Name of the AutomationRun
. Format is
projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}
.
create_time: Option<Timestamp>
Output only. Time at which the AutomationRun
was created.
update_time: Option<Timestamp>
Output only. Time at which the automationRun was updated.
etag: String
Output only. The weak etag of the AutomationRun
resource.
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.
service_account: String
Output only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.
automation_snapshot: Option<Automation>
Output only. Snapshot of the Automation taken at AutomationRun creation time.
target_id: String
Output only. The ID of the target that represents the promotion stage that
initiates the AutomationRun
. The value of this field is the last segment
of a target name.
state: i32
Output only. Current state of the AutomationRun
.
state_description: String
Output only. Explains the current state of the AutomationRun
. Present
only when an explanation is needed.
expire_time: Option<Timestamp>
Output only. Time the AutomationRun
expires. An AutomationRun
expires
after 14 days from its creation date.
rule_id: String
Output only. The ID of the automation rule that initiated the operation.
automation_id: String
Output only. The ID of the automation that initiated the operation.
wait_until_time: Option<Timestamp>
Output only. Earliest time the AutomationRun
will attempt to resume.
Wait-time is configured by wait
in automation rule.
operation: Option<Operation>
The operation that the AutomationRun
will perform.
Implementations§
Trait Implementations§
source§impl Clone for AutomationRun
impl Clone for AutomationRun
source§fn clone(&self) -> AutomationRun
fn clone(&self) -> AutomationRun
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutomationRun
impl Debug for AutomationRun
source§impl Default for AutomationRun
impl Default for AutomationRun
source§impl Message for AutomationRun
impl Message for AutomationRun
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AutomationRun
impl PartialEq for AutomationRun
source§fn eq(&self, other: &AutomationRun) -> bool
fn eq(&self, other: &AutomationRun) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomationRun
Auto Trait Implementations§
impl Freeze for AutomationRun
impl RefUnwindSafe for AutomationRun
impl Send for AutomationRun
impl Sync for AutomationRun
impl Unpin for AutomationRun
impl UnwindSafe for AutomationRun
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request