Class: Google::Apis::CesV1::ListToolsetsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

Response message for AgentService.ListToolsets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListToolsetsResponse

Returns a new instance of ListToolsetsResponse.



5929
5930
5931
# File 'lib/google/apis/ces_v1/classes.rb', line 5929

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

Instance Attribute Details

#next_page_tokenString

A token that can be sent as ListToolsetsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


5922
5923
5924
# File 'lib/google/apis/ces_v1/classes.rb', line 5922

def next_page_token
  @next_page_token
end

#toolsetsArray<Google::Apis::CesV1::Toolset>

The list of toolsets. Corresponds to the JSON property toolsets

Returns:



5927
5928
5929
# File 'lib/google/apis/ces_v1/classes.rb', line 5927

def toolsets
  @toolsets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5934
5935
5936
5937
# File 'lib/google/apis/ces_v1/classes.rb', line 5934

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