Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaUsernameAndPassword

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Overview

Username and password pair.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaUsernameAndPassword

Returns a new instance of GoogleCloudIntegrationsV1alphaUsernameAndPassword.



11649
11650
11651
# File 'lib/google/apis/integrations_v1/classes.rb', line 11649

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#passwordString

Password to be used Corresponds to the JSON property password

Returns:

  • (String)


11642
11643
11644
# File 'lib/google/apis/integrations_v1/classes.rb', line 11642

def password
  @password
end

#usernameString

Username to be used Corresponds to the JSON property username

Returns:

  • (String)


11647
11648
11649
# File 'lib/google/apis/integrations_v1/classes.rb', line 11647

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11654
11655
11656
11657
# File 'lib/google/apis/integrations_v1/classes.rb', line 11654

def update!(**args)
  @password = args[:password] if args.key?(:password)
  @username = args[:username] if args.key?(:username)
end