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.



4311
4312
4313
# File 'lib/google/apis/ces_v1/classes.rb', line 4311

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)


4304
4305
4306
# File 'lib/google/apis/ces_v1/classes.rb', line 4304

def next_page_token
  @next_page_token
end

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

The list of tools. Corresponds to the JSON property tools

Returns:



4309
4310
4311
# File 'lib/google/apis/ces_v1/classes.rb', line 4309

def tools
  @tools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4316
4317
4318
4319
# File 'lib/google/apis/ces_v1/classes.rb', line 4316

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