Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::AgentInterface.
Declares a combination of a target URL, transport and protocol version for interacting with the agent. This allows agents to expose the same functionality over multiple protocol binding mechanisms.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#protocol_binding
def protocol_binding() -> ::String
Returns
-
(::String) — Required. The protocol binding supported at this URL. This is an open form
string, to be easily extended for other protocol bindings. The core ones
officially supported are
JSONRPC,GRPCandHTTP+JSON.
#protocol_binding=
def protocol_binding=(value) -> ::String
Parameter
-
value (::String) — Required. The protocol binding supported at this URL. This is an open form
string, to be easily extended for other protocol bindings. The core ones
officially supported are
JSONRPC,GRPCandHTTP+JSON.
Returns
-
(::String) — Required. The protocol binding supported at this URL. This is an open form
string, to be easily extended for other protocol bindings. The core ones
officially supported are
JSONRPC,GRPCandHTTP+JSON.
#protocol_version
def protocol_version() -> ::String
Returns
- (::String) — Required. The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0"
#protocol_version=
def protocol_version=(value) -> ::String
Parameter
- value (::String) — Required. The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0"
Returns
- (::String) — Required. The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0"
#tenant
def tenant() -> ::String
Returns
- (::String) — Tenant ID to be used in the request when calling the agent.
#tenant=
def tenant=(value) -> ::String
Parameter
- value (::String) — Tenant ID to be used in the request when calling the agent.
Returns
- (::String) — Tenant ID to be used in the request when calling the agent.
#url
def url() -> ::String
Returns
- (::String) — Required. The URL where this interface is available. Must be a valid absolute HTTPS URL in production. Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"
#url=
def url=(value) -> ::String
Parameter
- value (::String) — Required. The URL where this interface is available. Must be a valid absolute HTTPS URL in production. Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"
Returns
- (::String) — Required. The URL where this interface is available. Must be a valid absolute HTTPS URL in production. Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"