Class: Google::Apis::ConfigV1::TerraformBlueprint

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

TerraformBlueprint describes the source of a Terraform root module which describes the resources and configs to be deployed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TerraformBlueprint

Returns a new instance of TerraformBlueprint.



1858
1859
1860
# File 'lib/google/apis/config_v1/classes.rb', line 1858

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

Instance Attribute Details

#gcs_sourceString

URI of an object in Google Cloud Storage. Format: gs://bucket/objectURI may also specify an object version for zipped objects. Format: `gs://`bucket`/` object`#`version Corresponds to the JSON property gcsSource

Returns:

  • (String)


1846
1847
1848
# File 'lib/google/apis/config_v1/classes.rb', line 1846

def gcs_source
  @gcs_source
end

#git_sourceGoogle::Apis::ConfigV1::GitSource

A set of files in a Git repository. Corresponds to the JSON property gitSource



1851
1852
1853
# File 'lib/google/apis/config_v1/classes.rb', line 1851

def git_source
  @git_source
end

#input_valuesHash<String,Google::Apis::ConfigV1::TerraformVariable>

Input variable values for the Terraform blueprint. Corresponds to the JSON property inputValues



1856
1857
1858
# File 'lib/google/apis/config_v1/classes.rb', line 1856

def input_values
  @input_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1863
1864
1865
1866
1867
# File 'lib/google/apis/config_v1/classes.rb', line 1863

def update!(**args)
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
  @git_source = args[:git_source] if args.key?(:git_source)
  @input_values = args[:input_values] if args.key?(:input_values)
end