Class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationUsernamePassword
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryconnectionV1::ConnectorConfigurationUsernamePassword
- 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
Username and Password authentication.
Instance Attribute Summary collapse
-
#password ⇒ Google::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret
Secret value parameter.
-
#username ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectorConfigurationUsernamePassword
constructor
A new instance of ConnectorConfigurationUsernamePassword.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectorConfigurationUsernamePassword
Returns a new instance of ConnectorConfigurationUsernamePassword.
774 775 776 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 774 def initialize(**args) update!(**args) end |
Instance Attribute Details
#password ⇒ Google::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret
Secret value parameter.
Corresponds to the JSON property password
767 768 769 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 767 def password @password end |
#username ⇒ String
Required. Username.
Corresponds to the JSON property username
772 773 774 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 772 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
779 780 781 782 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 779 def update!(**args) @password = args[:password] if args.key?(:password) @username = args[:username] if args.key?(:username) end |