Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::CloudSqlSource.
Cloud SQL source import data from.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#database_id
def database_id() -> ::String
- (::String) — Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
#database_id=
def database_id=(value) -> ::String
- value (::String) — Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
- (::String) — Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
#gcs_staging_dir
def gcs_staging_dir() -> ::String
-
(::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
Cloud SQL export to a specific Cloud Storage directory.
Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
#gcs_staging_dir=
def gcs_staging_dir=(value) -> ::String
-
value (::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
Cloud SQL export to a specific Cloud Storage directory.
Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
-
(::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
Cloud SQL export to a specific Cloud Storage directory.
Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
#instance_id
def instance_id() -> ::String
- (::String) — Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
#instance_id=
def instance_id=(value) -> ::String
- value (::String) — Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
- (::String) — Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
#offload
def offload() -> ::Boolean
- (::Boolean) — Option for serverless export. Enabling this option will incur additional cost. More info can be found here.
#offload=
def offload=(value) -> ::Boolean
- value (::Boolean) — Option for serverless export. Enabling this option will incur additional cost. More info can be found here.
- (::Boolean) — Option for serverless export. Enabling this option will incur additional cost. More info can be found here.
#project_id
def project_id() -> ::String
- (::String) — The project ID that contains the Cloud SQL source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
#project_id=
def project_id=(value) -> ::String
- value (::String) — The project ID that contains the Cloud SQL source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
- (::String) — The project ID that contains the Cloud SQL source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
#table_id
def table_id() -> ::String
- (::String) — Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
#table_id=
def table_id=(value) -> ::String
- value (::String) — Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
- (::String) — Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.