Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigUserPassword

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

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.



5358
5359
5360
# File 'lib/google/apis/integrations_v1/classes.rb', line 5358

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

Instance Attribute Details

#passwordGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1Secret

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



5351
5352
5353
# File 'lib/google/apis/integrations_v1/classes.rb', line 5351

def password
  @password
end

#usernameString

Username. Corresponds to the JSON property username

Returns:

  • (String)


5356
5357
5358
# File 'lib/google/apis/integrations_v1/classes.rb', line 5356

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5363
5364
5365
5366
# File 'lib/google/apis/integrations_v1/classes.rb', line 5363

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