Class: Google::Apis::WebsecurityscannerV1beta::ListFindingsResponse

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

Response for the ListFindings method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListFindingsResponse

Returns a new instance of ListFindingsResponse.



471
472
473
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 471

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

Instance Attribute Details

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

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



463
464
465
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 463

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)


469
470
471
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 469

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



476
477
478
479
# File 'lib/google/apis/websecurityscanner_v1beta/classes.rb', line 476

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