class Google::Apis::WebsecurityscannerV1beta::CustomAccount

Describes authentication configuration that uses a custom account.

Attributes

login_url[RW]

Required. The login form URL of the website. Corresponds to the JSON property `loginUrl` @return [String]

password[RW]

Required. Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs. Corresponds to the JSON property `password` @return [String]

username[RW]

Required. The user name of the custom account. Corresponds to the JSON property `username` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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