Class: Google::Apis::ConnectorsV2::ListToolsResponse

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

Overview

Response message for ConnectorAgentService.ListTools

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListToolsResponse

Returns a new instance of ListToolsResponse.



1610
1611
1612
# File 'lib/google/apis/connectors_v2/classes.rb', line 1610

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

Instance Attribute Details

#metadataHash<String,Hash<String,Object>>

Metadata like service latency, etc. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Hash<String,Object>>)


1598
1599
1600
# File 'lib/google/apis/connectors_v2/classes.rb', line 1598

def 
  @metadata
end

#next_page_tokenString

Next page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1603
1604
1605
# File 'lib/google/apis/connectors_v2/classes.rb', line 1603

def next_page_token
  @next_page_token
end

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

List of available tools. Corresponds to the JSON property tools



1608
1609
1610
# File 'lib/google/apis/connectors_v2/classes.rb', line 1608

def tools
  @tools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1615
1616
1617
1618
1619
# File 'lib/google/apis/connectors_v2/classes.rb', line 1615

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