Class: Google::Apis::ConfigV1::ApplyResults

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

Outputs and artifacts from applying a deployment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApplyResults

Returns a new instance of ApplyResults.



46
47
48
# File 'lib/google/apis/config_v1/classes.rb', line 46

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

Instance Attribute Details

#artifactsString

Location of artifacts (e.g. logs) in Google Cloud Storage. Format: gs:// bucket/object` Corresponds to the JSON propertyartifacts`

Returns:

  • (String)


33
34
35
# File 'lib/google/apis/config_v1/classes.rb', line 33

def artifacts
  @artifacts
end

#contentString

Location of a blueprint copy and other manifests in Google Cloud Storage. Format: gs://bucket/object` Corresponds to the JSON propertycontent`

Returns:

  • (String)


39
40
41
# File 'lib/google/apis/config_v1/classes.rb', line 39

def content
  @content
end

#outputsHash<String,Google::Apis::ConfigV1::TerraformOutput>

Map of output name to output info. Corresponds to the JSON property outputs

Returns:



44
45
46
# File 'lib/google/apis/config_v1/classes.rb', line 44

def outputs
  @outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51
52
53
54
55
# File 'lib/google/apis/config_v1/classes.rb', line 51

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