Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigUserPassword
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigUserPassword
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
Parameters to support Username and Password Authentication.
Instance Attribute Summary collapse
-
#password ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret
Secret provides a reference to entries in Secret Manager.
-
#username ⇒ String
Username.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfigUserPassword
constructor
A new instance of GoogleCloudConnectorsV1AuthConfigUserPassword.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfigUserPassword
Returns a new instance of GoogleCloudConnectorsV1AuthConfigUserPassword.
5084 5085 5086 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5084 def initialize(**args) update!(**args) end |
Instance Attribute Details
#password ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret
Secret provides a reference to entries in Secret Manager.
Corresponds to the JSON property password
5077 5078 5079 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5077 def password @password end |
#username ⇒ String
Username.
Corresponds to the JSON property username
5082 5083 5084 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5082 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5089 5090 5091 5092 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5089 def update!(**args) @password = args[:password] if args.key?(:password) @username = args[:username] if args.key?(:username) end |