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.



646
647
648
# File 'lib/google/apis/config_v1/classes.rb', line 646

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

#apply_results_availableBoolean Also known as: apply_results_available?

Output only. Indicating if early apply results are available. Corresponds to the JSON property applyResultsAvailable

Returns:

  • (Boolean)


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

def apply_results_available
  @apply_results_available
end

#buildString

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

Returns:

  • (String)


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

def build
  @build
end

#logsString

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

Returns:

  • (String)


639
640
641
# File 'lib/google/apis/config_v1/classes.rb', line 639

def logs
  @logs
end

#stepString

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

Returns:

  • (String)


644
645
646
# File 'lib/google/apis/config_v1/classes.rb', line 644

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



651
652
653
654
655
656
657
# File 'lib/google/apis/config_v1/classes.rb', line 651

def update!(**args)
  @apply_results = args[:apply_results] if args.key?(:apply_results)
  @apply_results_available = args[:apply_results_available] if args.key?(:apply_results_available)
  @build = args[:build] if args.key?(:build)
  @logs = args[:logs] if args.key?(:logs)
  @step = args[:step] if args.key?(:step)
end