Class: Google::Apis::BigqueryV2::ExternalCatalogTableOptions

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

Overview

Metadata about open source compatible table. The fields contained in these options correspond to hive metastore's table level properties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExternalCatalogTableOptions

Returns a new instance of ExternalCatalogTableOptions.



3036
3037
3038
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3036

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

Instance Attribute Details

#connection_idString

Optional. The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection is needed to read the open source table from BigQuery Engine. The connection_id can have the form .. or projects//locations//connections/. Corresponds to the JSON property connectionId

Returns:

  • (String)


3021
3022
3023
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3021

def connection_id
  @connection_id
end

#parametersHash<String,String>

Optional. A map of key value pairs defining the parameters and properties of the open source table. Corresponds with hive meta store table parameters. Maximum size of 4Mib. Corresponds to the JSON property parameters

Returns:

  • (Hash<String,String>)


3028
3029
3030
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3028

def parameters
  @parameters
end

#storage_descriptorGoogle::Apis::BigqueryV2::StorageDescriptor

Contains information about how a table's data is stored and accessed by open source query engines. Corresponds to the JSON property storageDescriptor



3034
3035
3036
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3034

def storage_descriptor
  @storage_descriptor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3041
3042
3043
3044
3045
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3041

def update!(**args)
  @connection_id = args[:connection_id] if args.key?(:connection_id)
  @parameters = args[:parameters] if args.key?(:parameters)
  @storage_descriptor = args[:storage_descriptor] if args.key?(:storage_descriptor)
end