Class: Google::Apis::ContentV2_1::SearchResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::SearchResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Response message for the ReportService.Search method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token which can be sent as
page_token
to retrieve the next page. -
#results ⇒ Array<Google::Apis::ContentV2_1::ReportRow>
Rows that matched the search query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchResponse
constructor
A new instance of SearchResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchResponse
Returns a new instance of SearchResponse.
13136 13137 13138 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Token which can be sent as page_token
to retrieve the next page. If omitted,
there are no subsequent pages.
Corresponds to the JSON property nextPageToken
13129 13130 13131 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13129 def next_page_token @next_page_token end |
#results ⇒ Array<Google::Apis::ContentV2_1::ReportRow>
Rows that matched the search query.
Corresponds to the JSON property results
13134 13135 13136 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13134 def results @results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13141 13142 13143 13144 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13141 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @results = args[:results] if args.key?(:results) end |