Class: Google::Apis::BigqueryV2::BigLakeConfiguration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BigLakeConfiguration

Returns a new instance of BigLakeConfiguration.



655
656
657
# File 'lib/google/apis/bigquery_v2/classes.rb', line 655

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

Instance Attribute Details

#connection_idString

[Required] Required and immutable. Credential reference for accessing external storage system. Normalized as project_id.location_id.connection_id. Corresponds to the JSON property connectionId

Returns:

  • (String)


633
634
635
# File 'lib/google/apis/bigquery_v2/classes.rb', line 633

def connection_id
  @connection_id
end

#file_formatString

[Required] Required and immutable. Open source file format that the table data is stored in. Currently only PARQUET is supported. Corresponds to the JSON property fileFormat

Returns:

  • (String)


639
640
641
# File 'lib/google/apis/bigquery_v2/classes.rb', line 639

def file_format
  @file_format
end

#storage_uriString

[Required] Required and immutable. Fully qualified location prefix of the external folder where data is stored. Normalized to standard format: "gs:////". Starts with "gs://" rather than "/bigstore/". Ends with "/". Does not contain "*". See also BigLakeStorageMetadata on how it is used. Corresponds to the JSON property storageUri

Returns:

  • (String)


647
648
649
# File 'lib/google/apis/bigquery_v2/classes.rb', line 647

def storage_uri
  @storage_uri
end

#table_formatString

[Required] Required and immutable. Open source file format that the table data is stored in. Currently only PARQUET is supported. Corresponds to the JSON property tableFormat

Returns:

  • (String)


653
654
655
# File 'lib/google/apis/bigquery_v2/classes.rb', line 653

def table_format
  @table_format
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



660
661
662
663
664
665
# File 'lib/google/apis/bigquery_v2/classes.rb', line 660

def update!(**args)
  @connection_id = args[:connection_id] if args.key?(:connection_id)
  @file_format = args[:file_format] if args.key?(:file_format)
  @storage_uri = args[:storage_uri] if args.key?(:storage_uri)
  @table_format = args[:table_format] if args.key?(:table_format)
end