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.



1703
1704
1705
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1703

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



1695
1696
1697
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1695

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)


1701
1702
1703
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1701

def key_field_name
  @key_field_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1708
1709
1710
1711
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1708

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