Class: Google::Apis::ConnectorsV1::EndUserAuthenticationConfigUserPassword

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

Overview

Parameters to support Username and Password Authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndUserAuthenticationConfigUserPassword

Returns a new instance of EndUserAuthenticationConfigUserPassword.



2653
2654
2655
# File 'lib/google/apis/connectors_v1/classes.rb', line 2653

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

Instance Attribute Details

#passwordGoogle::Apis::ConnectorsV1::EuaSecret

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



2646
2647
2648
# File 'lib/google/apis/connectors_v1/classes.rb', line 2646

def password
  @password
end

#usernameString

Username. Corresponds to the JSON property username

Returns:

  • (String)


2651
2652
2653
# File 'lib/google/apis/connectors_v1/classes.rb', line 2651

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2658
2659
2660
2661
# File 'lib/google/apis/connectors_v1/classes.rb', line 2658

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