Class: Google::Apis::CloudsupportV2beta::SearchCasesResponse

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 the SearchCases endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchCasesResponse

Returns a new instance of SearchCasesResponse.



1095
1096
1097
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1095

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

Instance Attribute Details

#casesArray<Google::Apis::CloudsupportV2beta::Case>

The list of cases associated with the Google Cloud Resource, after any filters have been applied. Corresponds to the JSON property cases



1086
1087
1088
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1086

def cases
  @cases
end

#next_page_tokenString

A token to retrieve the next page of results. This should be set in the page_token field of subsequent SearchCaseRequest message that is issued. If unspecified, there are no more results to retrieve. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1093
1094
1095
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1093

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1100
1101
1102
1103
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1100

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