Class: Google::Apis::WebsecurityscannerV1alpha::Authentication
- Inherits:
-
Object
- Object
- Google::Apis::WebsecurityscannerV1alpha::Authentication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/websecurityscanner_v1alpha/classes.rb,
generated/google/apis/websecurityscanner_v1alpha/representations.rb,
generated/google/apis/websecurityscanner_v1alpha/representations.rb
Overview
Scan authentication configuration.
Instance Attribute Summary collapse
-
#custom_account ⇒ Google::Apis::WebsecurityscannerV1alpha::CustomAccount
Describes authentication configuration that uses a custom account.
-
#google_account ⇒ Google::Apis::WebsecurityscannerV1alpha::GoogleAccount
Describes authentication configuration that uses a Google account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Authentication
constructor
A new instance of Authentication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Authentication
Returns a new instance of Authentication
39 40 41 |
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 39 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_account ⇒ Google::Apis::WebsecurityscannerV1alpha::CustomAccount
Describes authentication configuration that uses a custom account.
Corresponds to the JSON property customAccount
32 33 34 |
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 32 def custom_account @custom_account end |
#google_account ⇒ Google::Apis::WebsecurityscannerV1alpha::GoogleAccount
Describes authentication configuration that uses a Google account.
Corresponds to the JSON property googleAccount
37 38 39 |
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 37 def google_account @google_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44 45 46 47 |
# File 'generated/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 |