Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigtableOptions

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

Overview

The Bigtable Options object that contains information to support the import.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1BigtableOptions

Returns a new instance of GoogleCloudDiscoveryengineV1BigtableOptions.



2342
2343
2344
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2342

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

Instance Attribute Details

#familiesHash<String,Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily>

The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored. Corresponds to the JSON property families



2334
2335
2336
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2334

def families
  @families
end

#key_field_nameString

The field name used for saving row key value in the document. The name has to match the pattern a-zA-Z0-9*. Corresponds to the JSON property keyFieldName

Returns:

  • (String)


2340
2341
2342
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2340

def key_field_name
  @key_field_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2347
2348
2349
2350
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2347

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