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.
13145 13146 13147 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13145 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
13138 13139 13140 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13138 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
13143 13144 13145 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13143 def results @results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13150 13151 13152 13153 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13150 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @results = args[:results] if args.key?(:results) end |