Class: Google::Apis::ConfigV1::DeploymentOperationSummary

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

The summary of the deployment operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeploymentOperationSummary

Returns a new instance of DeploymentOperationSummary.



692
693
694
# File 'lib/google/apis/config_v1/classes.rb', line 692

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#artifactsString

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

Returns:

  • (String)


668
669
670
# File 'lib/google/apis/config_v1/classes.rb', line 668

def artifacts
  @artifacts
end

#buildString

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

Returns:

  • (String)


673
674
675
# File 'lib/google/apis/config_v1/classes.rb', line 673

def build
  @build
end

#contentString

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

Returns:

  • (String)


679
680
681
# File 'lib/google/apis/config_v1/classes.rb', line 679

def content
  @content
end

#deployment_stepString

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

Returns:

  • (String)


684
685
686
# File 'lib/google/apis/config_v1/classes.rb', line 684

def deployment_step
  @deployment_step
end

#logsString

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

Returns:

  • (String)


690
691
692
# File 'lib/google/apis/config_v1/classes.rb', line 690

def logs
  @logs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



697
698
699
700
701
702
703
# File 'lib/google/apis/config_v1/classes.rb', line 697

def update!(**args)
  @artifacts = args[:artifacts] if args.key?(:artifacts)
  @build = args[:build] if args.key?(:build)
  @content = args[:content] if args.key?(:content)
  @deployment_step = args[:deployment_step] if args.key?(:deployment_step)
  @logs = args[:logs] if args.key?(:logs)
end