View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCloudSqlSource (google_api_discovery_engine v0.6.0)

Cloud SQL source import data from.

Attributes

  • databaseId (type: String.t, default: nil) - Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
  • gcsStagingDir (type: String.t, default: nil) - Optional. 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. Please ensure that the Cloud SQL service account has the necessary GCS Storage Admin permissions to access the specified GCS directory.
  • instanceId (type: String.t, default: nil) - Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
  • offload (type: boolean(), default: nil) - Optional. Option for serverless export. Enabling this option will incur additional cost. More info: https://cloud.google.com/sql/pricing#serverless
  • projectId (type: String.t, default: nil) - Optional. The project ID (can be project # or 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.
  • tableId (type: String.t, default: nil) - Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCloudSqlSource{
    databaseId: String.t() | nil,
    gcsStagingDir: String.t() | nil,
    instanceId: String.t() | nil,
    offload: boolean() | nil,
    projectId: String.t() | nil,
    tableId: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.