Class: Google::Apis::WebsecurityscannerV1alpha::CustomAccount
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::WebsecurityscannerV1alpha::CustomAccount
 
- 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
Describes authentication configuration that uses a custom account.
Instance Attribute Summary collapse
- 
  
    
      #login_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #password  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Input only. 
- 
  
    
      #username  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CustomAccount 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CustomAccount. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomAccount
Returns a new instance of CustomAccount
| 111 112 113 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 111 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#login_url ⇒ String
Required.
The login form URL of the website.
Corresponds to the JSON property loginUrl
| 95 96 97 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 95 def login_url @login_url end | 
#password ⇒ String
Input only.
Required.
The password of the custom account. The credential is stored encrypted
and not returned in any response.
Corresponds to the JSON property password
| 103 104 105 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 103 def password @password end | 
#username ⇒ String
Required.
The user name of the custom account.
Corresponds to the JSON property username
| 109 110 111 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 109 def username @username end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 116 117 118 119 120 | # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 116 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 |