Class: Google::Apis::WebsecurityscannerV1alpha::CrawledUrl
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::WebsecurityscannerV1alpha::CrawledUrl
 
 
- 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
A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web Security Scanner Service crawls the web applications, following all links within the scope of sites, to find the URLs to test against.
Instance Attribute Summary collapse
- 
  
    
      #body  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #http_method  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CrawledUrl 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CrawledUrl.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CrawledUrl
Returns a new instance of CrawledUrl
      75 76 77  | 
    
      # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 75 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#body ⇒ String
Output only.
The body of the request that was used to visit the URL.
Corresponds to the JSON property body
      60 61 62  | 
    
      # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 60 def body @body end  | 
  
#http_method ⇒ String
Output only.
The http method of the request that was used to visit the URL, in
uppercase.
Corresponds to the JSON property httpMethod
      67 68 69  | 
    
      # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 67 def http_method @http_method end  | 
  
#url ⇒ String
Output only.
The URL that was crawled.
Corresponds to the JSON property url
      73 74 75  | 
    
      # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 73 def url @url end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      80 81 82 83 84  | 
    
      # File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 80 def update!(**args) @body = args[:body] if args.key?(:body) @http_method = args[:http_method] if args.key?(:http_method) @url = args[:url] if args.key?(:url) end  |