Class: Google::Apis::ConfigV1::PreviewArtifacts

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

Artifacts created by preview.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PreviewArtifacts

Returns a new instance of PreviewArtifacts.



1395
1396
1397
# File 'lib/google/apis/config_v1/classes.rb', line 1395

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

Instance Attribute Details

#artifactsString

Output only. Location of artifacts in Google Cloud Storage. Format: gs:// bucket/object` Corresponds to the JSON propertyartifacts`

Returns:

  • (String)


1387
1388
1389
# File 'lib/google/apis/config_v1/classes.rb', line 1387

def artifacts
  @artifacts
end

#contentString

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

Returns:

  • (String)


1393
1394
1395
# File 'lib/google/apis/config_v1/classes.rb', line 1393

def content
  @content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1400
1401
1402
1403
# File 'lib/google/apis/config_v1/classes.rb', line 1400

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