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.



468
469
470
# File 'lib/google/apis/config_v1/classes.rb', line 468

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



450
451
452
# File 'lib/google/apis/config_v1/classes.rb', line 450

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)


455
456
457
# File 'lib/google/apis/config_v1/classes.rb', line 455

def build
  @build
end

#logsString

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

Returns:

  • (String)


461
462
463
# File 'lib/google/apis/config_v1/classes.rb', line 461

def logs
  @logs
end

#stepString

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

Returns:

  • (String)


466
467
468
# File 'lib/google/apis/config_v1/classes.rb', line 466

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



473
474
475
476
477
478
# File 'lib/google/apis/config_v1/classes.rb', line 473

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