Class: Google::Apis::CesV1::ListToolsResponse

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.ListTools.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListToolsResponse

Returns a new instance of ListToolsResponse.



4478
4479
4480
# File 'lib/google/apis/ces_v1/classes.rb', line 4478

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

Instance Attribute Details

#next_page_tokenString

A token that can be sent as ListToolsRequest.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)


4471
4472
4473
# File 'lib/google/apis/ces_v1/classes.rb', line 4471

def next_page_token
  @next_page_token
end

#toolsArray<Google::Apis::CesV1::Tool>

The list of tools. Corresponds to the JSON property tools

Returns:



4476
4477
4478
# File 'lib/google/apis/ces_v1/classes.rb', line 4476

def tools
  @tools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4483
4484
4485
4486
# File 'lib/google/apis/ces_v1/classes.rb', line 4483

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