Class: Google::Apis::WorkloadmanagerV1::ExecutionResult
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::ExecutionResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
Message describing the result of an execution
Instance Attribute Summary collapse
-
#documentation_url ⇒ String
the document url of the rule Corresponds to the JSON property
documentationUrl. -
#resource ⇒ Google::Apis::WorkloadmanagerV1::Resource
Message represent resource in execution result Corresponds to the JSON property
resource. -
#rule ⇒ String
the rule which violate in execution Corresponds to the JSON property
rule. -
#severity ⇒ String
severity of violation Corresponds to the JSON property
severity. -
#violation_details ⇒ Google::Apis::WorkloadmanagerV1::ViolationDetails
Message describing the violdation in execution result Corresponds to the JSON property
violationDetails. -
#violation_message ⇒ String
the violation message of an execution Corresponds to the JSON property
violationMessage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecutionResult
constructor
A new instance of ExecutionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecutionResult
Returns a new instance of ExecutionResult.
394 395 396 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 394 def initialize(**args) update!(**args) end |
Instance Attribute Details
#documentation_url ⇒ String
the document url of the rule
Corresponds to the JSON property documentationUrl
367 368 369 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 367 def documentation_url @documentation_url end |
#resource ⇒ Google::Apis::WorkloadmanagerV1::Resource
Message represent resource in execution result
Corresponds to the JSON property resource
372 373 374 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 372 def resource @resource end |
#rule ⇒ String
the rule which violate in execution
Corresponds to the JSON property rule
377 378 379 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 377 def rule @rule end |
#severity ⇒ String
severity of violation
Corresponds to the JSON property severity
382 383 384 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 382 def severity @severity end |
#violation_details ⇒ Google::Apis::WorkloadmanagerV1::ViolationDetails
Message describing the violdation in execution result
Corresponds to the JSON property violationDetails
387 388 389 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 387 def violation_details @violation_details end |
#violation_message ⇒ String
the violation message of an execution
Corresponds to the JSON property violationMessage
392 393 394 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 392 def @violation_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
399 400 401 402 403 404 405 406 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 399 def update!(**args) @documentation_url = args[:documentation_url] if args.key?(:documentation_url) @resource = args[:resource] if args.key?(:resource) @rule = args[:rule] if args.key?(:rule) @severity = args[:severity] if args.key?(:severity) @violation_details = args[:violation_details] if args.key?(:violation_details) @violation_message = args[:violation_message] if args.key?(:violation_message) end |