Class: Google::Apis::ThreatintelligenceV1beta::SearchFindingsResponse

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 SearchFindings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchFindingsResponse

Returns a new instance of SearchFindingsResponse.



1803
1804
1805
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1803

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

Instance Attribute Details

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

List of findings. Corresponds to the JSON property findings



1796
1797
1798
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1796

def findings
  @findings
end

#next_page_tokenString

Page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1801
1802
1803
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1801

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1808
1809
1810
1811
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1808

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