google-cloud-gemini_data_analytics-v1 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/client.rb +236 -1
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/client.rb +222 -1
- data/lib/google/cloud/gemini_data_analytics/v1/data_agent_service/rest/service_stub.rb +123 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/client.rb +105 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/client.rb +98 -0
- data/lib/google/cloud/gemini_data_analytics/v1/data_chat_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/gemini_data_analytics/v1/version.rb +1 -1
- data/lib/google/cloud/geminidataanalytics/v1/context_pb.rb +2 -1
- data/lib/google/cloud/geminidataanalytics/v1/conversation_pb.rb +3 -1
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_pb.rb +2 -1
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_pb.rb +6 -1
- data/lib/google/cloud/geminidataanalytics/v1/data_agent_service_services_pb.rb +6 -0
- data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_pb.rb +1 -1
- data/lib/google/cloud/geminidataanalytics/v1/data_chat_service_services_pb.rb +2 -0
- data/lib/google/cloud/geminidataanalytics/v1/datasource_pb.rb +1 -1
- data/proto_docs/google/cloud/geminidataanalytics/v1/context.rb +85 -7
- data/proto_docs/google/cloud/geminidataanalytics/v1/conversation.rb +27 -3
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent.rb +51 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_agent_service.rb +100 -0
- data/proto_docs/google/cloud/geminidataanalytics/v1/data_chat_service.rb +6 -8
- data/proto_docs/google/cloud/geminidataanalytics/v1/datasource.rb +7 -0
- data/proto_docs/google/protobuf/timestamp.rb +7 -6
- metadata +1 -1
|
@@ -513,6 +513,86 @@ module Google
|
|
|
513
513
|
end
|
|
514
514
|
end
|
|
515
515
|
|
|
516
|
+
##
|
|
517
|
+
# Baseline implementation for the set_agent_ops_observability REST call
|
|
518
|
+
#
|
|
519
|
+
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::SetAgentOpsObservabilityRequest]
|
|
520
|
+
# A request object representing the call parameters. Required.
|
|
521
|
+
# @param options [::Gapic::CallOptions]
|
|
522
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
523
|
+
#
|
|
524
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
525
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
|
526
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
527
|
+
#
|
|
528
|
+
# @return [::Google::Longrunning::Operation]
|
|
529
|
+
# A result object deserialized from the server's reply
|
|
530
|
+
def set_agent_ops_observability request_pb, options = nil
|
|
531
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
532
|
+
|
|
533
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_set_agent_ops_observability_request request_pb
|
|
534
|
+
query_string_params = if query_string_params.any?
|
|
535
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
536
|
+
else
|
|
537
|
+
{}
|
|
538
|
+
end
|
|
539
|
+
|
|
540
|
+
response = @client_stub.make_http_request(
|
|
541
|
+
verb,
|
|
542
|
+
uri: uri,
|
|
543
|
+
body: body || "",
|
|
544
|
+
params: query_string_params,
|
|
545
|
+
method_name: "set_agent_ops_observability",
|
|
546
|
+
options: options
|
|
547
|
+
)
|
|
548
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
549
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
|
550
|
+
catch :response do
|
|
551
|
+
yield result, operation if block_given?
|
|
552
|
+
result
|
|
553
|
+
end
|
|
554
|
+
end
|
|
555
|
+
|
|
556
|
+
##
|
|
557
|
+
# Baseline implementation for the retrieve_agent_ops_observability REST call
|
|
558
|
+
#
|
|
559
|
+
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::RetrieveAgentOpsObservabilityRequest]
|
|
560
|
+
# A request object representing the call parameters. Required.
|
|
561
|
+
# @param options [::Gapic::CallOptions]
|
|
562
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
563
|
+
#
|
|
564
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
565
|
+
# @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1::RetrieveAgentOpsObservabilityResponse]
|
|
566
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
567
|
+
#
|
|
568
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::RetrieveAgentOpsObservabilityResponse]
|
|
569
|
+
# A result object deserialized from the server's reply
|
|
570
|
+
def retrieve_agent_ops_observability request_pb, options = nil
|
|
571
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
572
|
+
|
|
573
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_retrieve_agent_ops_observability_request request_pb
|
|
574
|
+
query_string_params = if query_string_params.any?
|
|
575
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
576
|
+
else
|
|
577
|
+
{}
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
response = @client_stub.make_http_request(
|
|
581
|
+
verb,
|
|
582
|
+
uri: uri,
|
|
583
|
+
body: body || "",
|
|
584
|
+
params: query_string_params,
|
|
585
|
+
method_name: "retrieve_agent_ops_observability",
|
|
586
|
+
options: options
|
|
587
|
+
)
|
|
588
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
589
|
+
result = ::Google::Cloud::GeminiDataAnalytics::V1::RetrieveAgentOpsObservabilityResponse.decode_json response.body, ignore_unknown_fields: true
|
|
590
|
+
catch :response do
|
|
591
|
+
yield result, operation if block_given?
|
|
592
|
+
result
|
|
593
|
+
end
|
|
594
|
+
end
|
|
595
|
+
|
|
516
596
|
##
|
|
517
597
|
# @private
|
|
518
598
|
#
|
|
@@ -749,6 +829,49 @@ module Google
|
|
|
749
829
|
)
|
|
750
830
|
transcoder.transcode request_pb
|
|
751
831
|
end
|
|
832
|
+
|
|
833
|
+
##
|
|
834
|
+
# @private
|
|
835
|
+
#
|
|
836
|
+
# GRPC transcoding helper method for the set_agent_ops_observability REST call
|
|
837
|
+
#
|
|
838
|
+
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::SetAgentOpsObservabilityRequest]
|
|
839
|
+
# A request object representing the call parameters. Required.
|
|
840
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
841
|
+
# Uri, Body, Query string parameters
|
|
842
|
+
def self.transcode_set_agent_ops_observability_request request_pb
|
|
843
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
844
|
+
.with_bindings(
|
|
845
|
+
uri_method: :post,
|
|
846
|
+
uri_template: "/v1/{parent}/observabilitySettings:setAgentOpsObservability",
|
|
847
|
+
body: "*",
|
|
848
|
+
matches: [
|
|
849
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
850
|
+
]
|
|
851
|
+
)
|
|
852
|
+
transcoder.transcode request_pb
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
##
|
|
856
|
+
# @private
|
|
857
|
+
#
|
|
858
|
+
# GRPC transcoding helper method for the retrieve_agent_ops_observability REST call
|
|
859
|
+
#
|
|
860
|
+
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::RetrieveAgentOpsObservabilityRequest]
|
|
861
|
+
# A request object representing the call parameters. Required.
|
|
862
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
863
|
+
# Uri, Body, Query string parameters
|
|
864
|
+
def self.transcode_retrieve_agent_ops_observability_request request_pb
|
|
865
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
866
|
+
.with_bindings(
|
|
867
|
+
uri_method: :get,
|
|
868
|
+
uri_template: "/v1/{parent}:retrieveAgentOpsObservability",
|
|
869
|
+
matches: [
|
|
870
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
871
|
+
]
|
|
872
|
+
)
|
|
873
|
+
transcoder.transcode request_pb
|
|
874
|
+
end
|
|
752
875
|
end
|
|
753
876
|
end
|
|
754
877
|
end
|
|
@@ -524,6 +524,104 @@ module Google
|
|
|
524
524
|
raise ::Google::Cloud::Error.from_error(e)
|
|
525
525
|
end
|
|
526
526
|
|
|
527
|
+
##
|
|
528
|
+
# Updates a conversation.
|
|
529
|
+
#
|
|
530
|
+
# @overload update_conversation(request, options = nil)
|
|
531
|
+
# Pass arguments to `update_conversation` via a request object, either of type
|
|
532
|
+
# {::Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest} or an equivalent Hash.
|
|
533
|
+
#
|
|
534
|
+
# @param request [::Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest, ::Hash]
|
|
535
|
+
# A request object representing the call parameters. Required. To specify no
|
|
536
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
537
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
538
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
539
|
+
#
|
|
540
|
+
# @overload update_conversation(conversation: nil, update_mask: nil, request_id: nil)
|
|
541
|
+
# Pass arguments to `update_conversation` via keyword arguments. Note that at
|
|
542
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
543
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
544
|
+
#
|
|
545
|
+
# @param conversation [::Google::Cloud::GeminiDataAnalytics::V1::Conversation, ::Hash]
|
|
546
|
+
# Required. The resource being updated.
|
|
547
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
548
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
549
|
+
# Conversation resource by the update.
|
|
550
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
551
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
|
552
|
+
# user does not provide a mask then all fields with non-default values
|
|
553
|
+
# present in the request will be overwritten. If a wildcard mask is provided,
|
|
554
|
+
# all fields will be overwritten.
|
|
555
|
+
# @param request_id [::String]
|
|
556
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
557
|
+
# request ID so that if you must retry your request, the server will know to
|
|
558
|
+
# ignore the request if it has already been completed. The server will
|
|
559
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
560
|
+
#
|
|
561
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
562
|
+
# @yieldparam response [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
|
|
563
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
564
|
+
#
|
|
565
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
|
|
566
|
+
#
|
|
567
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
568
|
+
#
|
|
569
|
+
# @example Basic example
|
|
570
|
+
# require "google/cloud/gemini_data_analytics/v1"
|
|
571
|
+
#
|
|
572
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
573
|
+
# client = Google::Cloud::GeminiDataAnalytics::V1::DataChatService::Client.new
|
|
574
|
+
#
|
|
575
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
576
|
+
# request = Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest.new
|
|
577
|
+
#
|
|
578
|
+
# # Call the update_conversation method.
|
|
579
|
+
# result = client.update_conversation request
|
|
580
|
+
#
|
|
581
|
+
# # The returned object is of type Google::Cloud::GeminiDataAnalytics::V1::Conversation.
|
|
582
|
+
# p result
|
|
583
|
+
#
|
|
584
|
+
def update_conversation request, options = nil
|
|
585
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
586
|
+
|
|
587
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest
|
|
588
|
+
|
|
589
|
+
# Converts hash and nil to an options object
|
|
590
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
591
|
+
|
|
592
|
+
# Customize the options with defaults
|
|
593
|
+
metadata = @config.rpcs.update_conversation.metadata.to_h
|
|
594
|
+
|
|
595
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
596
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
597
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
598
|
+
gapic_version: ::Google::Cloud::GeminiDataAnalytics::V1::VERSION
|
|
599
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
600
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
601
|
+
|
|
602
|
+
header_params = {}
|
|
603
|
+
if request.conversation&.name
|
|
604
|
+
header_params["conversation.name"] = request.conversation.name
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
608
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
609
|
+
|
|
610
|
+
options.apply_defaults timeout: @config.rpcs.update_conversation.timeout,
|
|
611
|
+
metadata: metadata,
|
|
612
|
+
retry_policy: @config.rpcs.update_conversation.retry_policy
|
|
613
|
+
|
|
614
|
+
options.apply_defaults timeout: @config.timeout,
|
|
615
|
+
metadata: @config.metadata,
|
|
616
|
+
retry_policy: @config.retry_policy
|
|
617
|
+
|
|
618
|
+
@data_chat_service_stub.call_rpc :update_conversation, request, options: options do |response, operation|
|
|
619
|
+
yield response, operation if block_given?
|
|
620
|
+
end
|
|
621
|
+
rescue ::GRPC::BadStatus => e
|
|
622
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
623
|
+
end
|
|
624
|
+
|
|
527
625
|
##
|
|
528
626
|
# Gets details of a single conversation by using conversation id and parent.
|
|
529
627
|
#
|
|
@@ -1023,6 +1121,11 @@ module Google
|
|
|
1023
1121
|
#
|
|
1024
1122
|
attr_reader :delete_conversation
|
|
1025
1123
|
##
|
|
1124
|
+
# RPC-specific configuration for `update_conversation`
|
|
1125
|
+
# @return [::Gapic::Config::Method]
|
|
1126
|
+
#
|
|
1127
|
+
attr_reader :update_conversation
|
|
1128
|
+
##
|
|
1026
1129
|
# RPC-specific configuration for `get_conversation`
|
|
1027
1130
|
# @return [::Gapic::Config::Method]
|
|
1028
1131
|
#
|
|
@@ -1046,6 +1149,8 @@ module Google
|
|
|
1046
1149
|
@create_conversation = ::Gapic::Config::Method.new create_conversation_config
|
|
1047
1150
|
delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation
|
|
1048
1151
|
@delete_conversation = ::Gapic::Config::Method.new delete_conversation_config
|
|
1152
|
+
update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation
|
|
1153
|
+
@update_conversation = ::Gapic::Config::Method.new update_conversation_config
|
|
1049
1154
|
get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation
|
|
1050
1155
|
@get_conversation = ::Gapic::Config::Method.new get_conversation_config
|
|
1051
1156
|
list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations
|
|
@@ -499,6 +499,97 @@ module Google
|
|
|
499
499
|
raise ::Google::Cloud::Error.from_error(e)
|
|
500
500
|
end
|
|
501
501
|
|
|
502
|
+
##
|
|
503
|
+
# Updates a conversation.
|
|
504
|
+
#
|
|
505
|
+
# @overload update_conversation(request, options = nil)
|
|
506
|
+
# Pass arguments to `update_conversation` via a request object, either of type
|
|
507
|
+
# {::Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest} or an equivalent Hash.
|
|
508
|
+
#
|
|
509
|
+
# @param request [::Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest, ::Hash]
|
|
510
|
+
# A request object representing the call parameters. Required. To specify no
|
|
511
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
512
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
513
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
514
|
+
#
|
|
515
|
+
# @overload update_conversation(conversation: nil, update_mask: nil, request_id: nil)
|
|
516
|
+
# Pass arguments to `update_conversation` via keyword arguments. Note that at
|
|
517
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
518
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
519
|
+
#
|
|
520
|
+
# @param conversation [::Google::Cloud::GeminiDataAnalytics::V1::Conversation, ::Hash]
|
|
521
|
+
# Required. The resource being updated.
|
|
522
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
523
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
524
|
+
# Conversation resource by the update.
|
|
525
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
526
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
|
527
|
+
# user does not provide a mask then all fields with non-default values
|
|
528
|
+
# present in the request will be overwritten. If a wildcard mask is provided,
|
|
529
|
+
# all fields will be overwritten.
|
|
530
|
+
# @param request_id [::String]
|
|
531
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
532
|
+
# request ID so that if you must retry your request, the server will know to
|
|
533
|
+
# ignore the request if it has already been completed. The server will
|
|
534
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
535
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
536
|
+
# @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
|
|
537
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
538
|
+
#
|
|
539
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
|
|
540
|
+
#
|
|
541
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
542
|
+
#
|
|
543
|
+
# @example Basic example
|
|
544
|
+
# require "google/cloud/gemini_data_analytics/v1"
|
|
545
|
+
#
|
|
546
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
547
|
+
# client = Google::Cloud::GeminiDataAnalytics::V1::DataChatService::Rest::Client.new
|
|
548
|
+
#
|
|
549
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
550
|
+
# request = Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest.new
|
|
551
|
+
#
|
|
552
|
+
# # Call the update_conversation method.
|
|
553
|
+
# result = client.update_conversation request
|
|
554
|
+
#
|
|
555
|
+
# # The returned object is of type Google::Cloud::GeminiDataAnalytics::V1::Conversation.
|
|
556
|
+
# p result
|
|
557
|
+
#
|
|
558
|
+
def update_conversation request, options = nil
|
|
559
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
560
|
+
|
|
561
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest
|
|
562
|
+
|
|
563
|
+
# Converts hash and nil to an options object
|
|
564
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
565
|
+
|
|
566
|
+
# Customize the options with defaults
|
|
567
|
+
call_metadata = @config.rpcs.update_conversation.metadata.to_h
|
|
568
|
+
|
|
569
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
570
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
571
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
572
|
+
gapic_version: ::Google::Cloud::GeminiDataAnalytics::V1::VERSION,
|
|
573
|
+
transports_version_send: [:rest]
|
|
574
|
+
|
|
575
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
576
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
577
|
+
|
|
578
|
+
options.apply_defaults timeout: @config.rpcs.update_conversation.timeout,
|
|
579
|
+
metadata: call_metadata,
|
|
580
|
+
retry_policy: @config.rpcs.update_conversation.retry_policy
|
|
581
|
+
|
|
582
|
+
options.apply_defaults timeout: @config.timeout,
|
|
583
|
+
metadata: @config.metadata,
|
|
584
|
+
retry_policy: @config.retry_policy
|
|
585
|
+
|
|
586
|
+
@data_chat_service_stub.update_conversation request, options do |result, operation|
|
|
587
|
+
yield result, operation if block_given?
|
|
588
|
+
end
|
|
589
|
+
rescue ::Gapic::Rest::Error => e
|
|
590
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
591
|
+
end
|
|
592
|
+
|
|
502
593
|
##
|
|
503
594
|
# Gets details of a single conversation by using conversation id and parent.
|
|
504
595
|
#
|
|
@@ -947,6 +1038,11 @@ module Google
|
|
|
947
1038
|
#
|
|
948
1039
|
attr_reader :delete_conversation
|
|
949
1040
|
##
|
|
1041
|
+
# RPC-specific configuration for `update_conversation`
|
|
1042
|
+
# @return [::Gapic::Config::Method]
|
|
1043
|
+
#
|
|
1044
|
+
attr_reader :update_conversation
|
|
1045
|
+
##
|
|
950
1046
|
# RPC-specific configuration for `get_conversation`
|
|
951
1047
|
# @return [::Gapic::Config::Method]
|
|
952
1048
|
#
|
|
@@ -970,6 +1066,8 @@ module Google
|
|
|
970
1066
|
@create_conversation = ::Gapic::Config::Method.new create_conversation_config
|
|
971
1067
|
delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation
|
|
972
1068
|
@delete_conversation = ::Gapic::Config::Method.new delete_conversation_config
|
|
1069
|
+
update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation
|
|
1070
|
+
@update_conversation = ::Gapic::Config::Method.new update_conversation_config
|
|
973
1071
|
get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation
|
|
974
1072
|
@get_conversation = ::Gapic::Config::Method.new get_conversation_config
|
|
975
1073
|
list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations
|
|
@@ -187,6 +187,46 @@ module Google
|
|
|
187
187
|
end
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
+
##
|
|
191
|
+
# Baseline implementation for the update_conversation REST call
|
|
192
|
+
#
|
|
193
|
+
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest]
|
|
194
|
+
# A request object representing the call parameters. Required.
|
|
195
|
+
# @param options [::Gapic::CallOptions]
|
|
196
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
197
|
+
#
|
|
198
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
199
|
+
# @yieldparam result [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
|
|
200
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
201
|
+
#
|
|
202
|
+
# @return [::Google::Cloud::GeminiDataAnalytics::V1::Conversation]
|
|
203
|
+
# A result object deserialized from the server's reply
|
|
204
|
+
def update_conversation request_pb, options = nil
|
|
205
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
206
|
+
|
|
207
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_conversation_request request_pb
|
|
208
|
+
query_string_params = if query_string_params.any?
|
|
209
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
210
|
+
else
|
|
211
|
+
{}
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
response = @client_stub.make_http_request(
|
|
215
|
+
verb,
|
|
216
|
+
uri: uri,
|
|
217
|
+
body: body || "",
|
|
218
|
+
params: query_string_params,
|
|
219
|
+
method_name: "update_conversation",
|
|
220
|
+
options: options
|
|
221
|
+
)
|
|
222
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
223
|
+
result = ::Google::Cloud::GeminiDataAnalytics::V1::Conversation.decode_json response.body, ignore_unknown_fields: true
|
|
224
|
+
catch :response do
|
|
225
|
+
yield result, operation if block_given?
|
|
226
|
+
result
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
|
|
190
230
|
##
|
|
191
231
|
# Baseline implementation for the get_conversation REST call
|
|
192
232
|
#
|
|
@@ -372,6 +412,28 @@ module Google
|
|
|
372
412
|
transcoder.transcode request_pb
|
|
373
413
|
end
|
|
374
414
|
|
|
415
|
+
##
|
|
416
|
+
# @private
|
|
417
|
+
#
|
|
418
|
+
# GRPC transcoding helper method for the update_conversation REST call
|
|
419
|
+
#
|
|
420
|
+
# @param request_pb [::Google::Cloud::GeminiDataAnalytics::V1::UpdateConversationRequest]
|
|
421
|
+
# A request object representing the call parameters. Required.
|
|
422
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
423
|
+
# Uri, Body, Query string parameters
|
|
424
|
+
def self.transcode_update_conversation_request request_pb
|
|
425
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
426
|
+
.with_bindings(
|
|
427
|
+
uri_method: :patch,
|
|
428
|
+
uri_template: "/v1/{conversation.name}",
|
|
429
|
+
body: "conversation",
|
|
430
|
+
matches: [
|
|
431
|
+
["conversation.name", %r{^projects/[^/]+/locations/[^/]+/conversations/[^/]+/?$}, false]
|
|
432
|
+
]
|
|
433
|
+
)
|
|
434
|
+
transcoder.transcode request_pb
|
|
435
|
+
end
|
|
436
|
+
|
|
375
437
|
##
|
|
376
438
|
# @private
|
|
377
439
|
#
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/geminidataanalytics/v1/datasource_pb'
|
|
|
10
10
|
require 'google/protobuf/wrappers_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n1google/cloud/geminidataanalytics/v1/context.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/geminidataanalytics/v1/datasource.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x90\t\n\x07\x43ontext\x12\x1f\n\x12system_instruction\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12]\n\x15\x64\x61tasource_references\x18\x07 \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1.DatasourceReferencesB\x03\xe0\x41\x02\x12N\n\x07options\x18\x03 \x01(\x0b\x32\x38.google.cloud.geminidataanalytics.v1.ConversationOptionsB\x03\xe0\x41\x01\x12O\n\x0f\x65xample_queries\x18\x05 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQueryB\x03\xe0\x41\x01\x12Z\n\x15looker_golden_queries\x18\x0b \x03(\x0b\x32\x36.google.cloud.geminidataanalytics.v1.LookerGoldenQueryB\x03\xe0\x41\x01\x12N\n\x0eglossary_terms\x18\x08 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.GlossaryTermB\x03\xe0\x41\x01\x12\x62\n\x14schema_relationships\x18\t \x03(\x0b\x32?.google.cloud.geminidataanalytics.v1.Context.SchemaRelationshipB\x03\xe0\x41\x01\x12O\n\x0euser_functions\x18\n \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.UserFunctionsB\x03\xe0\x41\x01\x1a\x82\x04\n\x12SchemaRelationship\x12\x66\n\x11left_schema_paths\x18\x01 \x01(\x0b\x32K.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths\x12g\n\x12right_schema_paths\x18\x02 \x01(\x0b\x32K.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths\x12\\\n\x07sources\x18\x03 \x03(\x0e\x32\x46.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SourceB\x03\xe0\x41\x01\x12\x1d\n\x10\x63onfidence_score\x18\x04 \x01(\x02\x42\x03\xe0\x41\x01\x1a/\n\x0bSchemaPaths\x12\x11\n\ttable_fqn\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\"m\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x42IGQUERY_JOB_HISTORY\x10\x01\x12\x11\n\rLLM_SUGGESTED\x10\x02\x12\x1e\n\x1a\x42IGQUERY_TABLE_CONSTRAINTS\x10\x03\"Z\n\rUserFunctions\x12I\n\x0b\x62q_routines\x18\x01 \x03(\x0b\x32\x34.google.cloud.geminidataanalytics.v1.BigQueryRoutine\"\x80\x01\n\x0f\x42igQueryRoutine\x12X\n\x11routine_reference\x18\x01 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1.BigQueryRoutineReference\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"V\n\x18\x42igQueryRoutineReference\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x12\n\ndataset_id\x18\x02 \x01(\t\x12\x12\n\nroutine_id\x18\x03 \x01(\t\"\xa7\x01\n\x0c\x45xampleQuery\x12\x18\n\tsql_query\x18\x65 \x01(\tB\x03\xe0\x41\x01H\x00\x12&\n\x19natural_language_question\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12L\n\nparameters\x18\x03 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.QueryParameterB\x03\xe0\x41\x01\x42\x07\n\x05query\"U\n\x0eQueryParameter\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tdata_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xb3\x01\n\x0cMatchedQuery\x12H\n\rexample_query\x18\x01 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQuery\x12Y\n\x16query_parameter_values\x18\x02 \x03(\x0b\x32\x39.google.cloud.geminidataanalytics.v1.QueryParameterValues\"=\n\x14QueryParameterValues\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x89\x01\n\x11LookerGoldenQuery\x12\'\n\x1anatural_language_questions\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12K\n\x0clooker_query\x18\x05 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.LookerQueryB\x03\xe0\x41\x01\"\
|
|
13
|
+
descriptor_data = "\n1google/cloud/geminidataanalytics/v1/context.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/geminidataanalytics/v1/datasource.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x90\t\n\x07\x43ontext\x12\x1f\n\x12system_instruction\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12]\n\x15\x64\x61tasource_references\x18\x07 \x01(\x0b\x32\x39.google.cloud.geminidataanalytics.v1.DatasourceReferencesB\x03\xe0\x41\x02\x12N\n\x07options\x18\x03 \x01(\x0b\x32\x38.google.cloud.geminidataanalytics.v1.ConversationOptionsB\x03\xe0\x41\x01\x12O\n\x0f\x65xample_queries\x18\x05 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQueryB\x03\xe0\x41\x01\x12Z\n\x15looker_golden_queries\x18\x0b \x03(\x0b\x32\x36.google.cloud.geminidataanalytics.v1.LookerGoldenQueryB\x03\xe0\x41\x01\x12N\n\x0eglossary_terms\x18\x08 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.GlossaryTermB\x03\xe0\x41\x01\x12\x62\n\x14schema_relationships\x18\t \x03(\x0b\x32?.google.cloud.geminidataanalytics.v1.Context.SchemaRelationshipB\x03\xe0\x41\x01\x12O\n\x0euser_functions\x18\n \x01(\x0b\x32\x32.google.cloud.geminidataanalytics.v1.UserFunctionsB\x03\xe0\x41\x01\x1a\x82\x04\n\x12SchemaRelationship\x12\x66\n\x11left_schema_paths\x18\x01 \x01(\x0b\x32K.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths\x12g\n\x12right_schema_paths\x18\x02 \x01(\x0b\x32K.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SchemaPaths\x12\\\n\x07sources\x18\x03 \x03(\x0e\x32\x46.google.cloud.geminidataanalytics.v1.Context.SchemaRelationship.SourceB\x03\xe0\x41\x01\x12\x1d\n\x10\x63onfidence_score\x18\x04 \x01(\x02\x42\x03\xe0\x41\x01\x1a/\n\x0bSchemaPaths\x12\x11\n\ttable_fqn\x18\x01 \x01(\t\x12\r\n\x05paths\x18\x02 \x03(\t\"m\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x42IGQUERY_JOB_HISTORY\x10\x01\x12\x11\n\rLLM_SUGGESTED\x10\x02\x12\x1e\n\x1a\x42IGQUERY_TABLE_CONSTRAINTS\x10\x03\"Z\n\rUserFunctions\x12I\n\x0b\x62q_routines\x18\x01 \x03(\x0b\x32\x34.google.cloud.geminidataanalytics.v1.BigQueryRoutine\"\x80\x01\n\x0f\x42igQueryRoutine\x12X\n\x11routine_reference\x18\x01 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1.BigQueryRoutineReference\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"V\n\x18\x42igQueryRoutineReference\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x12\n\ndataset_id\x18\x02 \x01(\t\x12\x12\n\nroutine_id\x18\x03 \x01(\t\"\xa7\x01\n\x0c\x45xampleQuery\x12\x18\n\tsql_query\x18\x65 \x01(\tB\x03\xe0\x41\x01H\x00\x12&\n\x19natural_language_question\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12L\n\nparameters\x18\x03 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.QueryParameterB\x03\xe0\x41\x01\x42\x07\n\x05query\"U\n\x0eQueryParameter\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tdata_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xb3\x01\n\x0cMatchedQuery\x12H\n\rexample_query\x18\x01 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQuery\x12Y\n\x16query_parameter_values\x18\x02 \x03(\x0b\x32\x39.google.cloud.geminidataanalytics.v1.QueryParameterValues\"=\n\x14QueryParameterValues\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x89\x01\n\x11LookerGoldenQuery\x12\'\n\x1anatural_language_questions\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12K\n\x0clooker_query\x18\x05 \x01(\x0b\x32\x30.google.cloud.geminidataanalytics.v1.LookerQueryB\x03\xe0\x41\x01\"\x99\x05\n\x0c\x44ynamicField\x12\x1a\n\x08\x63\x61tegory\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x16\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05label\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x1a\n\x08\x62\x61sed_on\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x03\x88\x01\x01\x12\x16\n\x04type\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x04\x88\x01\x01\x12\x1d\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x01H\x05\x88\x01\x01\x12\x1c\n\nexpression\x18\x07 \x01(\tB\x03\xe0\x41\x01H\x06\x88\x01\x01\x12#\n\x11\x66ilter_expression\x18\x08 \x01(\tB\x03\xe0\x41\x01H\x07\x88\x01\x01\x12\x1e\n\x0cvalue_format\x18\t \x01(\tB\x03\xe0\x41\x01H\x08\x88\x01\x01\x12#\n\x11value_format_name\x18\n \x01(\tB\x03\xe0\x41\x01H\t\x88\x01\x01\x12\"\n\x10\x63\x61lculation_type\x18\x0b \x01(\tB\x03\xe0\x41\x01H\n\x88\x01\x01\x12\x11\n\x04\x61rgs\x18\x0c \x03(\tB\x03\xe0\x41\x01\x12\x1b\n\tkind_hint\x18\r \x01(\tB\x03\xe0\x41\x01H\x0b\x88\x01\x01\x12\x1b\n\ttype_hint\x18\x0e \x01(\tB\x03\xe0\x41\x01H\x0c\x88\x01\x01\x12\x1d\n\x0bis_disabled\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01H\r\x88\x01\x01\x42\x0b\n\t_categoryB\x07\n\x05_nameB\x08\n\x06_labelB\x0b\n\t_based_onB\x07\n\x05_typeB\x0e\n\x0c_descriptionB\r\n\x0b_expressionB\x14\n\x12_filter_expressionB\x0f\n\r_value_formatB\x14\n\x12_value_format_nameB\x13\n\x11_calculation_typeB\x0c\n\n_kind_hintB\x0c\n\n_type_hintB\x0e\n\x0c_is_disabled\"\xb7\x03\n\x0bLookerQuery\x12\x12\n\x05model\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07\x65xplore\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ields\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12M\n\x07\x66ilters\x18\x04 \x03(\x0b\x32\x37.google.cloud.geminidataanalytics.v1.LookerQuery.FilterB\x03\xe0\x41\x01\x12\x12\n\x05sorts\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12\x17\n\x05limit\x18\x06 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12N\n\x0e\x64ynamic_fields\x18\t \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.DynamicFieldB\x03\xe0\x41\x01\x12\x1a\n\x08query_id\x18\n \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x1b\n\tclient_id\x18\x0b \x01(\tB\x03\xe0\x41\x01H\x02\x88\x01\x01\x1a?\n\x06\x46ilter\x12\x12\n\x05\x66ield\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x08\n\x06_valueB\x08\n\x06_limitB\x0b\n\t_query_idB\x0c\n\n_client_id\"X\n\x0cGlossaryTerm\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06labels\x18\x03 \x03(\tB\x03\xe0\x41\x01\"\xcb\x02\n\x13\x43onversationOptions\x12K\n\x08\x61nalysis\x18\x02 \x01(\x0b\x32\x34.google.cloud.geminidataanalytics.v1.AnalysisOptionsB\x03\xe0\x41\x01\x12O\n\ndatasource\x18\x03 \x01(\x0b\x32\x36.google.cloud.geminidataanalytics.v1.DatasourceOptionsB\x03\xe0\x41\x01\x12W\n\x05model\x18\x06 \x01(\x0e\x32>.google.cloud.geminidataanalytics.v1.ConversationOptions.ModelB\x03\xe0\x41\x01H\x00\x88\x01\x01\"3\n\x05Model\x12\x15\n\x11MODEL_UNSPECIFIED\x10\x00\x12\x13\n\x0fLATEST_GA_MODEL\x10\x01\x42\x08\n\x06_model\"Y\n\x11\x44\x61tasourceOptions\x12\x44\n\x1a\x62ig_query_max_billed_bytes\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x01\"\x83\x01\n\x0f\x41nalysisOptions\x12P\n\x06python\x18\x01 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1.AnalysisOptions.PythonB\x03\xe0\x41\x01\x1a\x1e\n\x06Python\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xa0\x01\n\x08\x43itation\x12I\n\x07sources\x18\x01 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.CitationSourceB\x03\xe0\x41\x03\x12I\n\x07\x61nchors\x18\x02 \x03(\x0b\x32\x33.google.cloud.geminidataanalytics.v1.CitationAnchorB\x03\xe0\x41\x03\"\xfa\x01\n\x0e\x43itationSource\x12\x12\n\x03uri\x18\x03 \x01(\tB\x03\xe0\x41\x03H\x00\x12O\n\rexample_query\x18\x04 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ExampleQueryB\x03\xe0\x41\x03H\x00\x12O\n\rglossary_term\x18\x05 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.GlossaryTermB\x03\xe0\x41\x03H\x00\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\r\n\x0bsource_type\"\xa2\x02\n\x0e\x43itationAnchor\x12q\n\x13text_message_anchor\x18\x01 \x01(\x0b\x32M.google.cloud.geminidataanalytics.v1.CitationAnchor.TextMessageCitationAnchorB\x03\xe0\x41\x03H\x00\x1a\x8d\x01\n\x19TextMessageCitationAnchor\x12\x17\n\npart_index\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1f\n\x12start_offset_bytes\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1d\n\x10\x65nd_offset_bytes\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nsource_ids\x18\x04 \x03(\tB\x03\xe0\x41\x03\x42\r\n\x0b\x61nchor_typeB\x89\x02\n\'com.google.cloud.geminidataanalytics.v1B\x0c\x43ontextProtoP\x01ZYcloud.google.com/go/geminidataanalytics/apiv1/geminidataanalyticspb;geminidataanalyticspb\xaa\x02#Google.Cloud.GeminiDataAnalytics.V1\xca\x02#Google\\Cloud\\GeminiDataAnalytics\\V1\xea\x02&Google::Cloud::GeminiDataAnalytics::V1b\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -31,6 +31,7 @@ module Google
|
|
|
31
31
|
MatchedQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.MatchedQuery").msgclass
|
|
32
32
|
QueryParameterValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.QueryParameterValues").msgclass
|
|
33
33
|
LookerGoldenQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.LookerGoldenQuery").msgclass
|
|
34
|
+
DynamicField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DynamicField").msgclass
|
|
34
35
|
LookerQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.LookerQuery").msgclass
|
|
35
36
|
LookerQuery::Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.LookerQuery.Filter").msgclass
|
|
36
37
|
GlossaryTerm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.GlossaryTerm").msgclass
|
|
@@ -7,10 +7,11 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/field_info_pb'
|
|
9
9
|
require 'google/api/resource_pb'
|
|
10
|
+
require 'google/protobuf/field_mask_pb'
|
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
|
11
12
|
|
|
12
13
|
|
|
13
|
-
descriptor_data = "\n6google/cloud/geminidataanalytics/v1/conversation.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
14
|
+
descriptor_data = "\n6google/cloud/geminidataanalytics/v1/conversation.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa7\x04\n\x0c\x43onversation\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x08\x12\x13\n\x06\x61gents\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x37\n\x0elast_used_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12R\n\x06labels\x18\t \x03(\x0b\x32=.google.cloud.geminidataanalytics.v1.Conversation.LabelsEntryB\x03\xe0\x41\x01\x12\x12\n\x05title\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12?\n\x07kms_key\x18\n \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKeyH\x00\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x98\x01\xea\x41\x94\x01\n/geminidataanalytics.googleapis.com/Conversation\x12\x44projects/{project}/locations/{location}/conversations/{conversation}*\rconversations2\x0c\x63onversationB\n\n\x08_kms_key\"\xf1\x01\n\x19\x43reateConversationRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/geminidataanalytics.googleapis.com/Conversation\x12\x1c\n\x0f\x63onversation_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12L\n\x0c\x63onversation\x18\x03 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ConversationB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xc0\x01\n\x19UpdateConversationRequest\x12L\n\x0c\x63onversation\x18\x01 \x01(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.ConversationB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"_\n\x16GetConversationRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/Conversation\"\xa9\x01\n\x18ListConversationsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/geminidataanalytics.googleapis.com/Conversation\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"~\n\x19ListConversationsResponse\x12H\n\rconversations\x18\x01 \x03(\x0b\x32\x31.google.cloud.geminidataanalytics.v1.Conversation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"b\n\x19\x44\x65leteConversationRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/geminidataanalytics.googleapis.com/ConversationB\xa1\x03\n\'com.google.cloud.geminidataanalytics.v1B\x11\x43onversationProtoP\x01ZYcloud.google.com/go/geminidataanalytics/apiv1/geminidataanalyticspb;geminidataanalyticspb\xaa\x02#Google.Cloud.GeminiDataAnalytics.V1\xca\x02#Google\\Cloud\\GeminiDataAnalytics\\V1\xea\x02&Google::Cloud::GeminiDataAnalytics::V1\xea\x41\x8f\x01\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}*\ncryptoKeys2\tcryptoKeyb\x06proto3"
|
|
14
15
|
|
|
15
16
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
17
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -21,6 +22,7 @@ module Google
|
|
|
21
22
|
module V1
|
|
22
23
|
Conversation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.Conversation").msgclass
|
|
23
24
|
CreateConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.CreateConversationRequest").msgclass
|
|
25
|
+
UpdateConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.UpdateConversationRequest").msgclass
|
|
24
26
|
GetConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.GetConversationRequest").msgclass
|
|
25
27
|
ListConversationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListConversationsRequest").msgclass
|
|
26
28
|
ListConversationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.ListConversationsResponse").msgclass
|
|
@@ -7,10 +7,11 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
|
9
9
|
require 'google/cloud/geminidataanalytics/v1/data_analytics_agent_pb'
|
|
10
|
+
require 'google/cloud/geminidataanalytics/v1/datasource_pb'
|
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
|
11
12
|
|
|
12
13
|
|
|
13
|
-
descriptor_data = "\n4google/cloud/geminidataanalytics/v1/data_agent.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/geminidataanalytics/v1/data_analytics_agent.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
14
|
+
descriptor_data = "\n4google/cloud/geminidataanalytics/v1/data_agent.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/geminidataanalytics/v1/data_analytics_agent.proto\x1a\x34google/cloud/geminidataanalytics/v1/datasource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x07\n\tDataAgent\x12W\n\x14\x64\x61ta_analytics_agent\x18\x65 \x01(\x0b\x32\x37.google.cloud.geminidataanalytics.v1.DataAnalyticsAgentH\x00\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x05 \x03(\x0b\x32:.google.cloud.geminidataanalytics.v1.DataAgent.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\npurge_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x07kms_key\x18\x0e \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKeyH\x01\x88\x01\x01\x12\x32\n bigquery_agent_analytics_enabled\x18\x12 \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12h\n\x1e\x62igquery_agent_analytics_table\x18\x13 \x01(\x0b\x32;.google.cloud.geminidataanalytics.v1.BigQueryTableReferenceB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x8a\x01\xea\x41\x86\x01\n,geminidataanalytics.googleapis.com/DataAgent\x12?projects/{project}/locations/{location}/dataAgents/{data_agent}*\ndataAgents2\tdataAgentB\x06\n\x04typeB\n\n\x08_kms_keyB#\n!_bigquery_agent_analytics_enabledB\x8b\x02\n\'com.google.cloud.geminidataanalytics.v1B\x0e\x44\x61taAgentProtoP\x01ZYcloud.google.com/go/geminidataanalytics/apiv1/geminidataanalyticspb;geminidataanalyticspb\xaa\x02#Google.Cloud.GeminiDataAnalytics.V1\xca\x02#Google\\Cloud\\GeminiDataAnalytics\\V1\xea\x02&Google::Cloud::GeminiDataAnalytics::V1b\x06proto3"
|
|
14
15
|
|
|
15
16
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
17
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -18,7 +18,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
18
18
|
require 'google/protobuf/timestamp_pb'
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
descriptor_data = "\n<google/cloud/geminidataanalytics/v1/data_agent_service.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/geminidataanalytics/v1/data_agent.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
21
|
+
descriptor_data = "\n<google/cloud/geminidataanalytics/v1/data_agent_service.proto\x12#google.cloud.geminidataanalytics.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/geminidataanalytics/v1/data_agent.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x02\n\x15ListDataAgentsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,geminidataanalytics.googleapis.com/DataAgent\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12o\n\x0e\x63reator_filter\x18\x08 \x01(\x0e\x32R.google.cloud.geminidataanalytics.v1.ListAccessibleDataAgentsRequest.CreatorFilterB\x03\xe0\x41\x01\"\x90\x01\n\x16ListDataAgentsResponse\x12\x43\n\x0b\x64\x61ta_agents\x18\x01 \x03(\x0b\x32..google.cloud.geminidataanalytics.v1.DataAgent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"\xb3\x03\n\x1fListAccessibleDataAgentsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,geminidataanalytics.googleapis.com/DataAgent\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12o\n\x0e\x63reator_filter\x18\x07 \x01(\x0e\x32R.google.cloud.geminidataanalytics.v1.ListAccessibleDataAgentsRequest.CreatorFilterB\x03\xe0\x41\x01\"a\n\rCreatorFilter\x12\x1e\n\x1a\x43REATOR_FILTER_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x10\n\x0c\x43REATOR_ONLY\x10\x02\x12\x14\n\x10NOT_CREATOR_ONLY\x10\x03\"\x9a\x01\n ListAccessibleDataAgentsResponse\x12\x43\n\x0b\x64\x61ta_agents\x18\x01 \x03(\x0b\x32..google.cloud.geminidataanalytics.v1.DataAgent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"Y\n\x13GetDataAgentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\"\xe4\x01\n\x16\x43reateDataAgentRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,geminidataanalytics.googleapis.com/DataAgent\x12\x1a\n\rdata_agent_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12G\n\ndata_agent\x18\x03 \x01(\x0b\x32..google.cloud.geminidataanalytics.v1.DataAgentB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xb8\x01\n\x16UpdateDataAgentRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12G\n\ndata_agent\x18\x02 \x01(\x0b\x32..google.cloud.geminidataanalytics.v1.DataAgentB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"}\n\x16\x44\x65leteDataAgentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,geminidataanalytics.googleapis.com/DataAgent\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xec\x01\n\x1fSetAgentOpsObservabilityRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1e\n\x11telemetry_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1d\n\x10\x64\x61ta_source_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x62qaa_enabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\"\n SetAgentOpsObservabilityResponse\"\"\n SetAgentOpsObservabilityMetadata\"\x80\x01\n$RetrieveAgentOpsObservabilityRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1d\n\x10\x64\x61ta_source_type\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xee\x01\n%RetrieveAgentOpsObservabilityResponse\x12\x1e\n\x11telemetry_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1d\n\x10\x62igquery_enabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x12 \n\x13\x63loud_trace_enabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12%\n\x18\x63loud_monitoring_enabled\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\"\n\x15\x63loud_logging_enabled\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x62qaa_enabled\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\x32\x97\x18\n\x10\x44\x61taAgentService\x12\xca\x01\n\x0eListDataAgents\x12:.google.cloud.geminidataanalytics.v1.ListDataAgentsRequest\x1a;.google.cloud.geminidataanalytics.v1.ListDataAgentsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/dataAgents\x12\xf7\x01\n\x18ListAccessibleDataAgents\x12\x44.google.cloud.geminidataanalytics.v1.ListAccessibleDataAgentsRequest\x1a\x45.google.cloud.geminidataanalytics.v1.ListAccessibleDataAgentsResponse\"N\xda\x41\x06parent\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*}/dataAgents:listAccessible\x12\xb7\x01\n\x0cGetDataAgent\x12\x38.google.cloud.geminidataanalytics.v1.GetDataAgentRequest\x1a..google.cloud.geminidataanalytics.v1.DataAgent\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/dataAgents/*}\x12\xf5\x01\n\x0f\x43reateDataAgent\x12;.google.cloud.geminidataanalytics.v1.CreateDataAgentRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41\x1e\n\tDataAgent\x12\x11OperationMetadata\xda\x41\x1fparent,data_agent,data_agent_id\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/dataAgents:\ndata_agent\x12\xf3\x01\n\x13\x43reateDataAgentSync\x12;.google.cloud.geminidataanalytics.v1.CreateDataAgentRequest\x1a..google.cloud.geminidataanalytics.v1.DataAgent\"o\xda\x41\x1fparent,data_agent,data_agent_id\x82\xd3\xe4\x93\x02G\"9/v1/{parent=projects/*/locations/*}/dataAgents:createSync:\ndata_agent\x12\xf7\x01\n\x0fUpdateDataAgent\x12;.google.cloud.geminidataanalytics.v1.UpdateDataAgentRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1e\n\tDataAgent\x12\x11OperationMetadata\xda\x41\x16\x64\x61ta_agent,update_mask\x82\xd3\xe4\x93\x02G29/v1/{data_agent.name=projects/*/locations/*/dataAgents/*}:\ndata_agent\x12\xf5\x01\n\x13UpdateDataAgentSync\x12;.google.cloud.geminidataanalytics.v1.UpdateDataAgentRequest\x1a..google.cloud.geminidataanalytics.v1.DataAgent\"q\xda\x41\x16\x64\x61ta_agent,update_mask\x82\xd3\xe4\x93\x02R2D/v1/{data_agent.name=projects/*/locations/*/dataAgents/*}:updateSync:\ndata_agent\x12\xd9\x01\n\x0f\x44\x65leteDataAgent\x12;.google.cloud.geminidataanalytics.v1.DeleteDataAgentRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/dataAgents/*}\x12\xb4\x01\n\x13\x44\x65leteDataAgentSync\x12;.google.cloud.geminidataanalytics.v1.DeleteDataAgentRequest\x1a\x16.google.protobuf.Empty\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/dataAgents/*}:deleteSync\x12\xa0\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"U\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x44\"?/v1/{resource=projects/*/locations/*/dataAgents/*}:getIamPolicy:\x01*\x12\xa0\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"U\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x44\"?/v1/{resource=projects/*/locations/*/dataAgents/*}:setIamPolicy:\x01*\x12\xd2\x02\n\x18SetAgentOpsObservability\x12\x44.google.cloud.geminidataanalytics.v1.SetAgentOpsObservabilityRequest\x1a\x1d.google.longrunning.Operation\"\xd0\x01\xca\x41\x44\n SetAgentOpsObservabilityResponse\x12 SetAgentOpsObservabilityMetadata\xda\x41)parent,telemetry_enabled,data_source_type\x82\xd3\xe4\x93\x02W\"R/v1/{parent=projects/*/locations/*}/observabilitySettings:setAgentOpsObservability:\x01*\x12\x9b\x02\n\x1dRetrieveAgentOpsObservability\x12I.google.cloud.geminidataanalytics.v1.RetrieveAgentOpsObservabilityRequest\x1aJ.google.cloud.geminidataanalytics.v1.RetrieveAgentOpsObservabilityResponse\"c\xda\x41\x17parent,data_source_type\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*}:retrieveAgentOpsObservability\x1aV\xca\x41\"geminidataanalytics.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x92\x02\n\'com.google.cloud.geminidataanalytics.v1B\x15\x44\x61taAgentServiceProtoP\x01ZYcloud.google.com/go/geminidataanalytics/apiv1/geminidataanalyticspb;geminidataanalyticspb\xaa\x02#Google.Cloud.GeminiDataAnalytics.V1\xca\x02#Google\\Cloud\\GeminiDataAnalytics\\V1\xea\x02&Google::Cloud::GeminiDataAnalytics::V1b\x06proto3"
|
|
22
22
|
|
|
23
23
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
24
24
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -37,6 +37,11 @@ module Google
|
|
|
37
37
|
UpdateDataAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.UpdateDataAgentRequest").msgclass
|
|
38
38
|
DeleteDataAgentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.DeleteDataAgentRequest").msgclass
|
|
39
39
|
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.OperationMetadata").msgclass
|
|
40
|
+
SetAgentOpsObservabilityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.SetAgentOpsObservabilityRequest").msgclass
|
|
41
|
+
SetAgentOpsObservabilityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.SetAgentOpsObservabilityResponse").msgclass
|
|
42
|
+
SetAgentOpsObservabilityMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.SetAgentOpsObservabilityMetadata").msgclass
|
|
43
|
+
RetrieveAgentOpsObservabilityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.RetrieveAgentOpsObservabilityRequest").msgclass
|
|
44
|
+
RetrieveAgentOpsObservabilityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1.RetrieveAgentOpsObservabilityResponse").msgclass
|
|
40
45
|
end
|
|
41
46
|
end
|
|
42
47
|
end
|