Struct google_api_proto::google::cloud::integrations::v1alpha::ExecutionInfo
source · pub struct ExecutionInfo {Show 16 fields
pub integration: String,
pub project_id: String,
pub trigger_id: String,
pub request_params: BTreeMap<String, EventParameter>,
pub response_params: BTreeMap<String, EventParameter>,
pub errors: Vec<ErrorDetail>,
pub task_configs: Vec<TaskConfig>,
pub integration_version_number: String,
pub execution_id: String,
pub integration_version_state: i32,
pub enable_database_persistence: bool,
pub cloud_logging_details: Option<CloudLoggingDetails>,
pub integration_execution_details: Option<IntegrationExecutionDetails>,
pub execution_type: i32,
pub execution_method: i32,
pub integration_snapshot_number: i64,
}
Expand description
Log entry to log execution info for the monitored resource
integrations.googleapis.com/IntegrationVersion
.
Fields§
§integration: String
Name of the integration.
project_id: String
The customer’s project number.
trigger_id: String
The trigger id of the integration trigger config. If both trigger_id and client_id is present, the integration is executed from the start tasks provided by the matching trigger config otherwise it is executed from the default start tasks.
request_params: BTreeMap<String, EventParameter>
Execution parameters come in as part of the request.
response_params: BTreeMap<String, EventParameter>
Execution parameters come out as part of the response.
errors: Vec<ErrorDetail>
Errors, warnings, and informationals associated with the workflow/task. The order in which the errors were added by the workflow/task is maintained.
task_configs: Vec<TaskConfig>
The configuration details for a task.
integration_version_number: String
Pointer to the active version it is executing.
execution_id: String
Auto-generated primary key.
integration_version_state: i32
Output only. State of the integration version
enable_database_persistence: bool
Database persistence policy for execution info
cloud_logging_details: Option<CloudLoggingDetails>
Cloud Logging details for execution info
integration_execution_details: Option<IntegrationExecutionDetails>
The details about this integration execution.
execution_type: i32
Specifies whether this execution info corresponds to actual integration or test case.
execution_method: i32
The ways user posts this event.
integration_snapshot_number: i64
An increasing sequence that is set when a new snapshot (Integration Version) is created.
Implementations§
source§impl ExecutionInfo
impl ExecutionInfo
sourcepub fn integration_version_state(&self) -> IntegrationState
pub fn integration_version_state(&self) -> IntegrationState
Returns the enum value of integration_version_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_integration_version_state(&mut self, value: IntegrationState)
pub fn set_integration_version_state(&mut self, value: IntegrationState)
Sets integration_version_state
to the provided enum value.
sourcepub fn execution_type(&self) -> ExecutionType
pub fn execution_type(&self) -> ExecutionType
Returns the enum value of execution_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_execution_type(&mut self, value: ExecutionType)
pub fn set_execution_type(&mut self, value: ExecutionType)
Sets execution_type
to the provided enum value.
sourcepub fn execution_method(&self) -> ExecutionMethod
pub fn execution_method(&self) -> ExecutionMethod
Returns the enum value of execution_method
, or the default if the field is set to an invalid enum value.
sourcepub fn set_execution_method(&mut self, value: ExecutionMethod)
pub fn set_execution_method(&mut self, value: ExecutionMethod)
Sets execution_method
to the provided enum value.
Trait Implementations§
source§impl Clone for ExecutionInfo
impl Clone for ExecutionInfo
source§fn clone(&self) -> ExecutionInfo
fn clone(&self) -> ExecutionInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecutionInfo
impl Debug for ExecutionInfo
source§impl Default for ExecutionInfo
impl Default for ExecutionInfo
source§impl Message for ExecutionInfo
impl Message for ExecutionInfo
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 ExecutionInfo
impl PartialEq for ExecutionInfo
source§fn eq(&self, other: &ExecutionInfo) -> bool
fn eq(&self, other: &ExecutionInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExecutionInfo
Auto Trait Implementations§
impl Freeze for ExecutionInfo
impl RefUnwindSafe for ExecutionInfo
impl Send for ExecutionInfo
impl Sync for ExecutionInfo
impl Unpin for ExecutionInfo
impl UnwindSafe for ExecutionInfo
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