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.



444
445
446
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 444

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



436
437
438
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 436

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)


442
443
444
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 442

def key_field_name
  @key_field_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



449
450
451
452
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 449

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