Class: Google::Apis::BigqueryconnectionV1beta1::ConnectionCredential
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryconnectionV1beta1::ConnectionCredential
- 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 more...
Overview
Credential to use with a connection.
Instance Attribute Summary collapse
-
#cloud_sql ⇒ Google::Apis::BigqueryconnectionV1beta1::CloudSqlCredential
Credential info for the Cloud SQL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectionCredential
constructor
A new instance of ConnectionCredential.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectionCredential
Returns a new instance of ConnectionCredential.
332 333 334 |
# File 'lib/google/apis/bigqueryconnection_v1beta1/classes.rb', line 332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_sql ⇒ Google::Apis::BigqueryconnectionV1beta1::CloudSqlCredential
Credential info for the Cloud SQL.
Corresponds to the JSON property cloudSql
330 331 332 |
# File 'lib/google/apis/bigqueryconnection_v1beta1/classes.rb', line 330 def cloud_sql @cloud_sql end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
337 338 339 |
# File 'lib/google/apis/bigqueryconnection_v1beta1/classes.rb', line 337 def update!(**args) @cloud_sql = args[:cloud_sql] if args.key?(:cloud_sql) end |