class Google::Apis::ConnectorsV1::UserPassword

Parameters to support Username and Password Authentication.

Attributes

password[RW]

Secret provides a reference to entries in Secret Manager. Corresponds to the JSON property ‘password` @return [Google::Apis::ConnectorsV1::Secret]

username[RW]

Username. Corresponds to the JSON property ‘username` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/connectors_v1/classes.rb, line 2109
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/connectors_v1/classes.rb, line 2114
def update!(**args)
  @password = args[:password] if args.key?(:password)
  @username = args[:username] if args.key?(:username)
end