Class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationAuthentication
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryconnectionV1::ConnectorConfigurationAuthentication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigqueryconnection_v1/classes.rb,
lib/google/apis/bigqueryconnection_v1/representations.rb,
lib/google/apis/bigqueryconnection_v1/representations.rb
Overview
Client authentication.
Instance Attribute Summary collapse
-
#service_account ⇒ String
Output only.
-
#username_password ⇒ Google::Apis::BigqueryconnectionV1::ConnectorConfigurationUsernamePassword
Username and Password authentication.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectorConfigurationAuthentication
constructor
A new instance of ConnectorConfigurationAuthentication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectorConfigurationAuthentication
Returns a new instance of ConnectorConfigurationAuthentication.
663 664 665 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 663 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_account ⇒ String
Output only. Google-managed service account associated with this connection, e.
g., service-
project_number@gcp-sa-bigqueryconnection.iam.gserviceaccount.
com
. BigQuery jobs using this connection will act as service_account
identity while connecting to the datasource.
Corresponds to the JSON property serviceAccount
656 657 658 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 656 def service_account @service_account end |
#username_password ⇒ Google::Apis::BigqueryconnectionV1::ConnectorConfigurationUsernamePassword
Username and Password authentication.
Corresponds to the JSON property usernamePassword
661 662 663 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 661 def username_password @username_password end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
668 669 670 671 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 668 def update!(**args) @service_account = args[:service_account] if args.key?(:service_account) @username_password = args[:username_password] if args.key?(:username_password) end |