class Google::Apis::BigqueryconnectionV1beta1::CloudSqlProperties

Connection properties specific to the Cloud SQL.

Attributes

credential[RW]

Credential info for the Cloud SQL. Corresponds to the JSON property `credential` @return [Google::Apis::BigqueryconnectionV1beta1::CloudSqlCredential]

database[RW]

Database name. Corresponds to the JSON property `database` @return [String]

instance_id[RW]

Cloud SQL instance ID in the form `project:location:instance`. Corresponds to the JSON property `instanceId` @return [String]

type[RW]

Type of the Cloud SQL database. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigqueryconnection_v1beta1/classes.rb, line 216
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigqueryconnection_v1beta1/classes.rb, line 221
def update!(**args)
  @credential = args[:credential] if args.key?(:credential)
  @database = args[:database] if args.key?(:database)
  @instance_id = args[:instance_id] if args.key?(:instance_id)
  @type = args[:type] if args.key?(:type)
end