Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlloyDbSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlloyDbSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
AlloyDB source import data from.
Instance Attribute Summary collapse
-
#cluster_id ⇒ String
Required.
-
#database_id ⇒ String
Required.
-
#gcs_staging_dir ⇒ String
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.
-
#location_id ⇒ String
Required.
-
#project_id ⇒ String
The project ID that the AlloyDB source is in with a length limit of 128 characters.
-
#table_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlloyDbSource
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAlloyDbSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlloyDbSource
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlloyDbSource.
2515 2516 2517 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2515 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_id ⇒ String
Required. The AlloyDB cluster to copy the data from with a length limit of 256
characters.
Corresponds to the JSON property clusterId
2480 2481 2482 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2480 def cluster_id @cluster_id end |
#database_id ⇒ String
Required. The AlloyDB database to copy the data from with a length limit of
256 characters.
Corresponds to the JSON property databaseId
2486 2487 2488 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2486 def database_id @database_id end |
#gcs_staging_dir ⇒ String
Intermediate Cloud Storage directory used for the import with a length limit
of 2,000 characters. Can be specified if one wants to have the AlloyDB export
to a specific Cloud Storage directory. Ensure that the AlloyDB service account
has the necessary Cloud Storage Admin permissions to access the specified
Cloud Storage directory.
Corresponds to the JSON property gcsStagingDir
2495 2496 2497 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2495 def gcs_staging_dir @gcs_staging_dir end |
#location_id ⇒ String
Required. The AlloyDB location to copy the data from with a length limit of
256 characters.
Corresponds to the JSON property locationId
2501 2502 2503 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2501 def location_id @location_id end |
#project_id ⇒ String
The project ID that the AlloyDB source is in with a length limit of 128
characters. If not specified, inherits the project ID from the parent request.
Corresponds to the JSON property projectId
2507 2508 2509 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2507 def project_id @project_id end |
#table_id ⇒ String
Required. The AlloyDB table to copy the data from with a length limit of 256
characters.
Corresponds to the JSON property tableId
2513 2514 2515 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2513 def table_id @table_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2520 2521 2522 2523 2524 2525 2526 2527 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2520 def update!(**args) @cluster_id = args[:cluster_id] if args.key?(:cluster_id) @database_id = args[:database_id] if args.key?(:database_id) @gcs_staging_dir = args[:gcs_staging_dir] if args.key?(:gcs_staging_dir) @location_id = args[:location_id] if args.key?(:location_id) @project_id = args[:project_id] if args.key?(:project_id) @table_id = args[:table_id] if args.key?(:table_id) end |