Class: Google::Apis::ConfigV1::DeploymentOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::DeploymentOperationMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/config_v1/classes.rb,
lib/google/apis/config_v1/representations.rb,
lib/google/apis/config_v1/representations.rb
Overview
Ephemeral metadata content describing the state of a deployment operation.
Instance Attribute Summary collapse
-
#apply_results ⇒ Google::Apis::ConfigV1::ApplyResults
Outputs and artifacts from applying a deployment.
-
#build ⇒ String
Output only.
-
#logs ⇒ String
Output only.
-
#step ⇒ String
The current step the deployment operation is running.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeploymentOperationMetadata
constructor
A new instance of DeploymentOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeploymentOperationMetadata
Returns a new instance of DeploymentOperationMetadata.
640 641 642 |
# File 'lib/google/apis/config_v1/classes.rb', line 640 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_results ⇒ Google::Apis::ConfigV1::ApplyResults
Outputs and artifacts from applying a deployment.
Corresponds to the JSON property applyResults
622 623 624 |
# File 'lib/google/apis/config_v1/classes.rb', line 622 def apply_results @apply_results end |
#build ⇒ String
Output only. Cloud Build instance UUID associated with this operation.
Corresponds to the JSON property build
627 628 629 |
# File 'lib/google/apis/config_v1/classes.rb', line 627 def build @build end |
#logs ⇒ String
Output only. Location of Deployment operations logs in gs://bucket/object`
format.
Corresponds to the JSON propertylogs`
633 634 635 |
# File 'lib/google/apis/config_v1/classes.rb', line 633 def logs @logs end |
#step ⇒ String
The current step the deployment operation is running.
Corresponds to the JSON property step
638 639 640 |
# File 'lib/google/apis/config_v1/classes.rb', line 638 def step @step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
645 646 647 648 649 650 |
# File 'lib/google/apis/config_v1/classes.rb', line 645 def update!(**args) @apply_results = args[:apply_results] if args.key?(:apply_results) @build = args[:build] if args.key?(:build) @logs = args[:logs] if args.key?(:logs) @step = args[:step] if args.key?(:step) end |