Class: Google::Apis::ThreatintelligenceV1beta::ListFindingsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/threatintelligence_v1beta/classes.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb

Overview

Response message for ListFindings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListFindingsResponse

Returns a new instance of ListFindingsResponse.



1515
1516
1517
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1515

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

Instance Attribute Details

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

List of findings. Corresponds to the JSON property findings



1508
1509
1510
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1508

def findings
  @findings
end

#next_page_tokenString

Page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1513
1514
1515
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1513

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1520
1521
1522
1523
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1520

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