Class: Google::Apis::CloudsupportV2beta::SearchCaseClassificationsResponse

Inherits:
Object
  • Object
show all
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 SearchCaseClassifications endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchCaseClassificationsResponse

Returns a new instance of SearchCaseClassificationsResponse.



1238
1239
1240
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1238

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

Instance Attribute Details

#case_classificationsArray<Google::Apis::CloudsupportV2beta::CaseClassification>

The classifications retrieved. Corresponds to the JSON property caseClassifications



1229
1230
1231
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1229

def case_classifications
  @case_classifications
end

#next_page_tokenString

A token to retrieve the next page of results. Set this in the page_token field of subsequent caseClassifications.list requests. If unspecified, there are no more results to retrieve. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1236
1237
1238
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1236

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1243
1244
1245
1246
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1243

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