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.



4504
4505
4506
# File 'lib/google/apis/ces_v1/classes.rb', line 4504

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)


4497
4498
4499
# File 'lib/google/apis/ces_v1/classes.rb', line 4497

def next_page_token
  @next_page_token
end

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

The list of toolsets. Corresponds to the JSON property toolsets

Returns:



4502
4503
4504
# File 'lib/google/apis/ces_v1/classes.rb', line 4502

def toolsets
  @toolsets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4509
4510
4511
4512
# File 'lib/google/apis/ces_v1/classes.rb', line 4509

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