Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUsernameAndPassword
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaUsernameAndPassword
- 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
Username and password pair.
Instance Attribute Summary collapse
-
#password ⇒ String
Password to be used Corresponds to the JSON property
password. -
#username ⇒ String
Username to be used Corresponds to the JSON property
username.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaUsernameAndPassword
constructor
A new instance of GoogleCloudIntegrationsV1alphaUsernameAndPassword.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaUsernameAndPassword
Returns a new instance of GoogleCloudIntegrationsV1alphaUsernameAndPassword.
8844 8845 8846 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8844 def initialize(**args) update!(**args) end |
Instance Attribute Details
#password ⇒ String
Password to be used
Corresponds to the JSON property password
8837 8838 8839 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8837 def password @password end |
#username ⇒ String
Username to be used
Corresponds to the JSON property username
8842 8843 8844 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8842 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8849 8850 8851 8852 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8849 def update!(**args) @password = args[:password] if args.key?(:password) @username = args[:username] if args.key?(:username) end |