Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigUserPassword

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfigUserPassword

Returns a new instance of GoogleCloudConnectorsV1AuthConfigUserPassword.



5034
5035
5036
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5034

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

Instance Attribute Details

#passwordGoogle::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property password



5027
5028
5029
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5027

def password
  @password
end

#usernameString

Username. Corresponds to the JSON property username

Returns:

  • (String)


5032
5033
5034
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5032

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5039
5040
5041
5042
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5039

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