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.



1967
1968
1969
# File 'lib/google/apis/config_v1/classes.rb', line 1967

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)


1959
1960
1961
# File 'lib/google/apis/config_v1/classes.rb', line 1959

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)


1965
1966
1967
# File 'lib/google/apis/config_v1/classes.rb', line 1965

def content
  @content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1972
1973
1974
1975
# File 'lib/google/apis/config_v1/classes.rb', line 1972

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