class Google::Apis::WebsecurityscannerV1alpha::Authentication

Scan authentication configuration.

Attributes

custom_account[RW]

Describes authentication configuration that uses a custom account. Corresponds to the JSON property `customAccount` @return [Google::Apis::WebsecurityscannerV1alpha::CustomAccount]

google_account[RW]

Describes authentication configuration that uses a Google account. Corresponds to the JSON property `googleAccount` @return [Google::Apis::WebsecurityscannerV1alpha::GoogleAccount]

Public Class Methods

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