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_tokento 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.
12737 12738 12739 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12737 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
12730 12731 12732 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12730 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
12735 12736 12737 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12735 def results @results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12742 12743 12744 12745 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 12742 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @results = args[:results] if args.key?(:results) end |