Class: Google::Apis::DataformV1beta1::CodeCompilationConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb

Overview

Configures various aspects of Dataform code compilation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CodeCompilationConfig

Returns a new instance of CodeCompilationConfig.



271
272
273
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 271

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

Instance Attribute Details

#assertion_schemaString

Optional. The default schema (BigQuery dataset ID) for assertions. Corresponds to the JSON property assertionSchema

Returns:

  • (String)


224
225
226
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 224

def assertion_schema
  @assertion_schema
end

#database_suffixString

Optional. The suffix that should be appended to all database (Google Cloud project ID) names. Corresponds to the JSON property databaseSuffix

Returns:

  • (String)


230
231
232
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 230

def database_suffix
  @database_suffix
end

#default_databaseString

Optional. The default database (Google Cloud project ID). Corresponds to the JSON property defaultDatabase

Returns:

  • (String)


235
236
237
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 235

def default_database
  @default_database
end

#default_locationString

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/ docs/locations. Corresponds to the JSON property defaultLocation

Returns:

  • (String)


242
243
244
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 242

def default_location
  @default_location
end

#default_notebook_runtime_optionsGoogle::Apis::DataformV1beta1::NotebookRuntimeOptions

Corresponds to the JSON property defaultNotebookRuntimeOptions



247
248
249
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 247

def default_notebook_runtime_options
  @default_notebook_runtime_options
end

#default_schemaString

Optional. The default schema (BigQuery dataset ID). Corresponds to the JSON property defaultSchema

Returns:

  • (String)


252
253
254
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 252

def default_schema
  @default_schema
end

#schema_suffixString

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. Corresponds to the JSON property schemaSuffix

Returns:

  • (String)


258
259
260
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 258

def schema_suffix
  @schema_suffix
end

#table_prefixString

Optional. The prefix that should be prepended to all table names. Corresponds to the JSON property tablePrefix

Returns:

  • (String)


263
264
265
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 263

def table_prefix
  @table_prefix
end

#varsHash<String,String>

Optional. User-defined variables that are made available to project code during compilation. Corresponds to the JSON property vars

Returns:

  • (Hash<String,String>)


269
270
271
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 269

def vars
  @vars
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



276
277
278
279
280
281
282
283
284
285
286
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 276

def update!(**args)
  @assertion_schema = args[:assertion_schema] if args.key?(:assertion_schema)
  @database_suffix = args[:database_suffix] if args.key?(:database_suffix)
  @default_database = args[:default_database] if args.key?(:default_database)
  @default_location = args[:default_location] if args.key?(:default_location)
  @default_notebook_runtime_options = args[:default_notebook_runtime_options] if args.key?(:default_notebook_runtime_options)
  @default_schema = args[:default_schema] if args.key?(:default_schema)
  @schema_suffix = args[:schema_suffix] if args.key?(:schema_suffix)
  @table_prefix = args[:table_prefix] if args.key?(:table_prefix)
  @vars = args[:vars] if args.key?(:vars)
end