Reference documentation and code samples for the AlloyDB V1 API class Google::Cloud::AlloyDB::V1::ImportClusterRequest.
Import cluster request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#csv_import_options
def csv_import_options() -> ::Google::Cloud::AlloyDB::V1::ImportClusterRequest::CsvImportOptions
-
(::Google::Cloud::AlloyDB::V1::ImportClusterRequest::CsvImportOptions) — Options for importing data in CSV format.
Note: The following fields are mutually exclusive:
csv_import_options
,sql_import_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#csv_import_options=
def csv_import_options=(value) -> ::Google::Cloud::AlloyDB::V1::ImportClusterRequest::CsvImportOptions
-
value (::Google::Cloud::AlloyDB::V1::ImportClusterRequest::CsvImportOptions) — Options for importing data in CSV format.
Note: The following fields are mutually exclusive:
csv_import_options
,sql_import_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AlloyDB::V1::ImportClusterRequest::CsvImportOptions) — Options for importing data in CSV format.
Note: The following fields are mutually exclusive:
csv_import_options
,sql_import_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#database
def database() -> ::String
-
(::String) — Optional. Name of the database to which the import will be done.
For import from SQL file, this is required only if the file does not
specify a database.
Note - Value provided should be the same as expected from
SELECT current_database();
and NOT as a resource reference.
#database=
def database=(value) -> ::String
-
value (::String) — Optional. Name of the database to which the import will be done.
For import from SQL file, this is required only if the file does not
specify a database.
Note - Value provided should be the same as expected from
SELECT current_database();
and NOT as a resource reference.
-
(::String) — Optional. Name of the database to which the import will be done.
For import from SQL file, this is required only if the file does not
specify a database.
Note - Value provided should be the same as expected from
SELECT current_database();
and NOT as a resource reference.
#gcs_uri
def gcs_uri() -> ::String
-
(::String) — Required. The path to the file in Google Cloud Storage where the source
file for import will be stored. The URI is in the form
gs://bucketName/fileName
.
#gcs_uri=
def gcs_uri=(value) -> ::String
-
value (::String) — Required. The path to the file in Google Cloud Storage where the source
file for import will be stored. The URI is in the form
gs://bucketName/fileName
.
-
(::String) — Required. The path to the file in Google Cloud Storage where the source
file for import will be stored. The URI is in the form
gs://bucketName/fileName
.
#name
def name() -> ::String
- (::String) — Required. The resource name of the cluster.
#name=
def name=(value) -> ::String
- value (::String) — Required. The resource name of the cluster.
- (::String) — Required. The resource name of the cluster.
#sql_import_options
def sql_import_options() -> ::Google::Cloud::AlloyDB::V1::ImportClusterRequest::SqlImportOptions
-
(::Google::Cloud::AlloyDB::V1::ImportClusterRequest::SqlImportOptions) — Options for importing data in SQL format.
Note: The following fields are mutually exclusive:
sql_import_options
,csv_import_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#sql_import_options=
def sql_import_options=(value) -> ::Google::Cloud::AlloyDB::V1::ImportClusterRequest::SqlImportOptions
-
value (::Google::Cloud::AlloyDB::V1::ImportClusterRequest::SqlImportOptions) — Options for importing data in SQL format.
Note: The following fields are mutually exclusive:
sql_import_options
,csv_import_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AlloyDB::V1::ImportClusterRequest::SqlImportOptions) — Options for importing data in SQL format.
Note: The following fields are mutually exclusive:
sql_import_options
,csv_import_options
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#user
def user() -> ::String
-
(::String) — Optional. Database user to be used for importing the data.
Note - Value provided should be the same as expected from
SELECT current_user;
and NOT as a resource reference.
#user=
def user=(value) -> ::String
-
value (::String) — Optional. Database user to be used for importing the data.
Note - Value provided should be the same as expected from
SELECT current_user;
and NOT as a resource reference.
-
(::String) — Optional. Database user to be used for importing the data.
Note - Value provided should be the same as expected from
SELECT current_user;
and NOT as a resource reference.