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.



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

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)


661
662
663
# File 'lib/google/apis/config_v1/classes.rb', line 661

def artifacts
  @artifacts
end

#buildString

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

Returns:

  • (String)


666
667
668
# File 'lib/google/apis/config_v1/classes.rb', line 666

def build
  @build
end

#contentString

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

Returns:

  • (String)


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

def content
  @content
end

#deployment_stepString

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

Returns:

  • (String)


677
678
679
# File 'lib/google/apis/config_v1/classes.rb', line 677

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)


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

def logs
  @logs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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