public interface CloudSqlSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDatabaseId()
Required.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
Required.
|
String |
getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
com.google.protobuf.ByteString |
getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
String |
getInstanceId()
Required.
|
com.google.protobuf.ByteString |
getInstanceIdBytes()
Required.
|
boolean |
getOffload()
Option for serverless export.
|
String |
getProjectId()
The project ID that contains the Cloud SQL source.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The project ID that contains the Cloud SQL source.
|
String |
getTableId()
Required.
|
com.google.protobuf.ByteString |
getTableIdBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getProjectId()
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 project_id = 1;com.google.protobuf.ByteString getProjectIdBytes()
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 project_id = 1;String getInstanceId()
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getInstanceIdBytes()
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];String getDatabaseId()
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDatabaseIdBytes()
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];String getTableId()
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getTableIdBytes()
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];String getGcsStagingDir()
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 gcs_staging_dir = 5;com.google.protobuf.ByteString getGcsStagingDirBytes()
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 gcs_staging_dir = 5;boolean getOffload()
Option for serverless export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/sql/pricing#serverless).
bool offload = 6;Copyright © 2025 Google LLC. All rights reserved.