Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::DataA2AService::Rest::ServiceStub.
REST service stub for the DataA2AService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_agent_card
def get_agent_card(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GeminiDataAnalytics::V1beta::AgentCardBaseline implementation for the get_agent_card REST call
- request_pb (::Google::Cloud::GeminiDataAnalytics::V1beta::GetAgentCardRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::GeminiDataAnalytics::V1beta::AgentCard)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GeminiDataAnalytics::V1beta::AgentCard) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#send_message
def send_message(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageResponseBaseline implementation for the send_message REST call
- request_pb (::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#send_streaming_message
def send_streaming_message(request_pb, options = nil) { |chunk| ... } -> ::Gapic::Rest::TransportOperationBaseline implementation for the send_streaming_message REST call
- request_pb (::Google::Cloud::GeminiDataAnalytics::V1beta::SendMessageRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- chunk (::String) — The chunk of data received during server streaming.
- (::Gapic::Rest::TransportOperation)
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)