Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigtableSource

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 Cloud Bigtable source for importing data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1BigtableSource

Returns a new instance of GoogleCloudDiscoveryengineV1BigtableSource.



2030
2031
2032
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2030

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

Instance Attribute Details

#bigtable_optionsGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigtableOptions

The Bigtable Options object that contains information to support the import. Corresponds to the JSON property bigtableOptions



2012
2013
2014
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2012

def bigtable_options
  @bigtable_options
end

#instance_idString

Required. The instance ID of the Cloud Bigtable that needs to be imported. Corresponds to the JSON property instanceId

Returns:

  • (String)


2017
2018
2019
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2017

def instance_id
  @instance_id
end

#project_idString

The project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request. Corresponds to the JSON property projectId

Returns:

  • (String)


2023
2024
2025
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2023

def project_id
  @project_id
end

#table_idString

Required. The table ID of the Cloud Bigtable that needs to be imported. Corresponds to the JSON property tableId

Returns:

  • (String)


2028
2029
2030
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2028

def table_id
  @table_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2035
2036
2037
2038
2039
2040
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2035

def update!(**args)
  @bigtable_options = args[:bigtable_options] if args.key?(:bigtable_options)
  @instance_id = args[:instance_id] if args.key?(:instance_id)
  @project_id = args[:project_id] if args.key?(:project_id)
  @table_id = args[:table_id] if args.key?(:table_id)
end