Class: Google::Apis::ConfigV1::DeploymentOperationMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_resultsGoogle::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

#buildString

Output only. Cloud Build instance UUID associated with this operation. Corresponds to the JSON property build

Returns:

  • (String)


627
628
629
# File 'lib/google/apis/config_v1/classes.rb', line 627

def build
  @build
end

#logsString

Output only. Location of Deployment operations logs in gs://bucket/object` format. Corresponds to the JSON propertylogs`

Returns:

  • (String)


633
634
635
# File 'lib/google/apis/config_v1/classes.rb', line 633

def logs
  @logs
end

#stepString

The current step the deployment operation is running. Corresponds to the JSON property step

Returns:

  • (String)


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