Class: Google::Apis::CloudsupportV2beta::SearchCasesResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::SearchCasesResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb
Overview
The response message for the SearchCases endpoint.
Instance Attribute Summary collapse
-
#cases ⇒ Array<Google::Apis::CloudsupportV2beta::Case>
The list of cases associated with the parent after any filters have been applied.
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchCasesResponse
constructor
A new instance of SearchCasesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchCasesResponse
Returns a new instance of SearchCasesResponse.
1266 1267 1268 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1266 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cases ⇒ Array<Google::Apis::CloudsupportV2beta::Case>
The list of cases associated with the parent after any filters have been
applied.
Corresponds to the JSON property cases
1257 1258 1259 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1257 def cases @cases end |
#next_page_token ⇒ String
A token to retrieve the next page of results. Set this in the page_token
field of subsequent cases.search
requests. If unspecified, there are no more
results to retrieve.
Corresponds to the JSON property nextPageToken
1264 1265 1266 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1264 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1271 1272 1273 1274 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1271 def update!(**args) @cases = args[:cases] if args.key?(:cases) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |