Class: Google::Apis::WebsecurityscannerV1alpha::ListFindingsResponse

Inherits:
Object
  • Object
show all
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

Response for the ListFindings method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListFindingsResponse

Returns a new instance of ListFindingsResponse



407
408
409
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 407

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#findingsArray<Google::Apis::WebsecurityscannerV1alpha::Finding>

The list of Findings returned. Corresponds to the JSON property findings



399
400
401
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 399

def findings
  @findings
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


405
406
407
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 405

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



412
413
414
415
# File 'generated/google/apis/websecurityscanner_v1alpha/classes.rb', line 412

def update!(**args)
  @findings = args[:findings] if args.key?(:findings)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end