View Source GoogleApi.Metastore.V1.Model.CloudSQLConnectionConfig (google_api_metastore v0.11.0)

Configuration information to establish customer database connection before the cutover phase of migration

Attributes

  • hiveDatabaseName (type: String.t, default: nil) - Required. The hive database name.
  • instanceConnectionName (type: String.t, default: nil) - Required. Cloud SQL database connection name (project_id:region:instance_name)
  • ipAddress (type: String.t, default: nil) - Required. The private IP address of the Cloud SQL instance.
  • natSubnet (type: String.t, default: nil) - Required. The relative resource name of the subnetwork to be used for Private Service Connect. Note that this cannot be a regular subnet and is used only for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet size must be at least /29 and it should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}
  • password (type: String.t, default: nil) - Required. Input only. The password for the user that Dataproc Metastore service will be using to connect to the database. This field is not returned on request.
  • port (type: integer(), default: nil) - Required. The network port of the database.
  • proxySubnet (type: String.t, default: nil) - Required. The relative resource name of the subnetwork to deploy the SOCKS5 proxy service in. The subnetwork should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id}
  • username (type: String.t, default: nil) - Required. The username that Dataproc Metastore service will use to connect to the database.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Metastore.V1.Model.CloudSQLConnectionConfig{
  hiveDatabaseName: String.t() | nil,
  instanceConnectionName: String.t() | nil,
  ipAddress: String.t() | nil,
  natSubnet: String.t() | nil,
  password: String.t() | nil,
  port: integer() | nil,
  proxySubnet: String.t() | nil,
  username: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.