Discovery Engine v1beta API - Class CloudSqlSource (1.0.0-beta15)

public sealed class CloudSqlSource : IMessage<CloudSqlSource>, IEquatable<CloudSqlSource>, IDeepCloneable<CloudSqlSource>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class CloudSqlSource.

Cloud SQL source import data from.

Inheritance

object > CloudSqlSource

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

CloudSqlSource()

public CloudSqlSource()

CloudSqlSource(CloudSqlSource)

public CloudSqlSource(CloudSqlSource other)
Parameter
Name Description
other CloudSqlSource

Properties

DatabaseId

public string DatabaseId { get; set; }

Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.

Property Value
Type Description
string

GcsStagingDir

public string GcsStagingDir { get; set; }

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.

Property Value
Type Description
string

InstanceId

public string InstanceId { get; set; }

Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.

Property Value
Type Description
string

Offload

public bool Offload { get; set; }

Option for serverless export. Enabling this option will incur additional cost. More info can be found here.

Property Value
Type Description
bool

ProjectId

public string ProjectId { get; set; }

The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

Property Value
Type Description
string

TableId

public string TableId { get; set; }

Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.

Property Value
Type Description
string