Reference documentation and code samples for the Workload Manager V1 API class Google::Cloud::WorkloadManager::V1::Execution.
Execution that represents a single run of an Evaluation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] End time stamp.
#engine
def engine() -> ::Google::Cloud::WorkloadManager::V1::Execution::Engine
Returns
- (::Google::Cloud::WorkloadManager::V1::Execution::Engine) — Optional. Engine.
#engine=
def engine=(value) -> ::Google::Cloud::WorkloadManager::V1::Execution::Engine
Parameter
- value (::Google::Cloud::WorkloadManager::V1::Execution::Engine) — Optional. Engine.
Returns
- (::Google::Cloud::WorkloadManager::V1::Execution::Engine) — Optional. Engine.
#evaluation_id
def evaluation_id() -> ::String
Returns
- (::String) — Output only. [Output only] Evaluation ID.
#external_data_sources
def external_data_sources() -> ::Array<::Google::Cloud::WorkloadManager::V1::Execution::ExternalDataSources>
Returns
- (::Array<::Google::Cloud::WorkloadManager::V1::Execution::ExternalDataSources>) — Optional. External data sources.
#external_data_sources=
def external_data_sources=(value) -> ::Array<::Google::Cloud::WorkloadManager::V1::Execution::ExternalDataSources>
Parameter
- value (::Array<::Google::Cloud::WorkloadManager::V1::Execution::ExternalDataSources>) — Optional. External data sources.
Returns
- (::Array<::Google::Cloud::WorkloadManager::V1::Execution::ExternalDataSources>) — Optional. External data sources.
#inventory_time
def inventory_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Inventory time stamp.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
#name
def name() -> ::String
Returns
- (::String) — The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.
Returns
- (::String) — The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.
#notices
def notices() -> ::Array<::Google::Cloud::WorkloadManager::V1::Execution::Notice>
Returns
- (::Array<::Google::Cloud::WorkloadManager::V1::Execution::Notice>) — Output only. Additional information generated by the execution.
#result_summary
def result_summary() -> ::Google::Cloud::WorkloadManager::V1::Execution::Summary
Returns
- (::Google::Cloud::WorkloadManager::V1::Execution::Summary) — Output only. [Output only] Result summary for the execution.
#rule_results
def rule_results() -> ::Array<::Google::Cloud::WorkloadManager::V1::RuleExecutionResult>
Returns
- (::Array<::Google::Cloud::WorkloadManager::V1::RuleExecutionResult>) — Output only. Execution result summary per rule.
#run_type
def run_type() -> ::Google::Cloud::WorkloadManager::V1::Execution::Type
Returns
-
(::Google::Cloud::WorkloadManager::V1::Execution::Type) — Type which represents whether the execution executed directly by user or
scheduled according to the
Evaluation.schedulefield.
#run_type=
def run_type=(value) -> ::Google::Cloud::WorkloadManager::V1::Execution::Type
Parameter
-
value (::Google::Cloud::WorkloadManager::V1::Execution::Type) — Type which represents whether the execution executed directly by user or
scheduled according to the
Evaluation.schedulefield.
Returns
-
(::Google::Cloud::WorkloadManager::V1::Execution::Type) — Type which represents whether the execution executed directly by user or
scheduled according to the
Evaluation.schedulefield.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. [Output only] Start time stamp.
#state
def state() -> ::Google::Cloud::WorkloadManager::V1::Execution::State
Returns
- (::Google::Cloud::WorkloadManager::V1::Execution::State) — Output only. [Output only] State.