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.



2112
2113
2114
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2112

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

Instance Attribute Details

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

List of findings. Corresponds to the JSON property findings



2105
2106
2107
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2105

def findings
  @findings
end

#next_page_tokenString

Page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2110
2111
2112
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2110

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2117
2118
2119
2120
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2117

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