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.



1899
1900
1901
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1899

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



1891
1892
1893
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1891

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)


1897
1898
1899
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1897

def key_field_name
  @key_field_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1904
1905
1906
1907
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1904

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