AlloyDB V1 API - Class Google::Cloud::AlloyDB::V1::ImportClusterRequest (v1.3.0)

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
Returns

#csv_import_options=

def csv_import_options=(value) -> ::Google::Cloud::AlloyDB::V1::ImportClusterRequest::CsvImportOptions
Parameter
Returns

#database

def database() -> ::String
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::String) — Required. The resource name of the cluster.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the cluster.
Returns
  • (::String) — Required. The resource name of the cluster.

#sql_import_options

def sql_import_options() -> ::Google::Cloud::AlloyDB::V1::ImportClusterRequest::SqlImportOptions
Returns

#sql_import_options=

def sql_import_options=(value) -> ::Google::Cloud::AlloyDB::V1::ImportClusterRequest::SqlImportOptions
Parameter
Returns

#user

def user() -> ::String
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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.