Class: Google::Apis::WebsecurityscannerV1beta::Authentication
- Inherits:
-
Object
- Object
- Google::Apis::WebsecurityscannerV1beta::Authentication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/websecurityscanner_v1beta/classes.rb,
lib/google/apis/websecurityscanner_v1beta/representations.rb,
lib/google/apis/websecurityscanner_v1beta/representations.rb
Overview
Scan authentication configuration.
Instance Attribute Summary collapse
-
#custom_account ⇒ Google::Apis::WebsecurityscannerV1beta::CustomAccount
Describes authentication configuration that uses a custom account.
-
#google_account ⇒ Google::Apis::WebsecurityscannerV1beta::GoogleAccount
Describes authentication configuration that uses a Google account.
-
#iap_credential ⇒ Google::Apis::WebsecurityscannerV1beta::IapCredential
Describes authentication configuration for Identity-Aware-Proxy (IAP).
Instance Method Summary collapse
-
#initialize(**args) ⇒ Authentication
constructor
A new instance of Authentication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Authentication
Returns a new instance of Authentication.
44 45 46 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 44 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_account ⇒ Google::Apis::WebsecurityscannerV1beta::CustomAccount
Describes authentication configuration that uses a custom account.
Corresponds to the JSON property customAccount
32 33 34 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 32 def custom_account @custom_account end |
#google_account ⇒ Google::Apis::WebsecurityscannerV1beta::GoogleAccount
Describes authentication configuration that uses a Google account.
Corresponds to the JSON property googleAccount
37 38 39 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 37 def google_account @google_account end |
#iap_credential ⇒ Google::Apis::WebsecurityscannerV1beta::IapCredential
Describes authentication configuration for Identity-Aware-Proxy (IAP).
Corresponds to the JSON property iapCredential
42 43 44 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 42 def iap_credential @iap_credential end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
49 50 51 52 53 |
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 49 def update!(**args) @custom_account = args[:custom_account] if args.key?(:custom_account) @google_account = args[:google_account] if args.key?(:google_account) @iap_credential = args[:iap_credential] if args.key?(:iap_credential) end |