class Google::Apis::WebsecurityscannerV1alpha::GoogleAccount

Describes authentication configuration that uses a Google account.

Attributes

password[RW]

Required. Input only. The password of the Google 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 Google account. Corresponds to the JSON property `username` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/websecurityscanner_v1alpha/classes.rb, line 285
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_v1alpha/classes.rb, line 290
def update!(**args)
  @password = args[:password] if args.key?(:password)
  @username = args[:username] if args.key?(:username)
end