Class: Google::Apis::BigqueryconnectionV1beta1::ConnectionCredential

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigqueryconnection_v1beta1/classes.rb,
lib/google/apis/bigqueryconnection_v1beta1/representations.rb,
lib/google/apis/bigqueryconnection_v1beta1/representations.rb

Overview

Credential to use with a connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectionCredential

Returns a new instance of ConnectionCredential.



310
311
312
# File 'lib/google/apis/bigqueryconnection_v1beta1/classes.rb', line 310

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cloud_sqlGoogle::Apis::BigqueryconnectionV1beta1::CloudSqlCredential

Credential info for the Cloud SQL. Corresponds to the JSON property cloudSql



308
309
310
# File 'lib/google/apis/bigqueryconnection_v1beta1/classes.rb', line 308

def cloud_sql
  @cloud_sql
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



315
316
317
# File 'lib/google/apis/bigqueryconnection_v1beta1/classes.rb', line 315

def update!(**args)
  @cloud_sql = args[:cloud_sql] if args.key?(:cloud_sql)
end