google-cloud-dialogflow-v2 1.7.0 → 1.9.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/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +1 -1
 - data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +12 -2
 - data/lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb +12 -2
 - data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +11 -1
 - data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +1 -1
 - data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +7 -0
 - data/lib/google/cloud/dialogflow/v2/conversations/client.rb +212 -1
 - data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +198 -1
 - data/lib/google/cloud/dialogflow/v2/conversations/rest/service_stub.rb +132 -0
 - data/lib/google/cloud/dialogflow/v2/document_pb.rb +1 -1
 - data/lib/google/cloud/dialogflow/v2/encryption_spec_pb.rb +1 -1
 - data/lib/google/cloud/dialogflow/v2/generator_pb.rb +3 -1
 - data/lib/google/cloud/dialogflow/v2/knowledge_base_pb.rb +1 -1
 - data/lib/google/cloud/dialogflow/v2/participant_pb.rb +6 -1
 - data/lib/google/cloud/dialogflow/v2/participants/client.rb +9 -5
 - data/lib/google/cloud/dialogflow/v2/participants/rest/client.rb +9 -5
 - data/lib/google/cloud/dialogflow/v2/rest.rb +1 -1
 - data/lib/google/cloud/dialogflow/v2/session_pb.rb +1 -1
 - data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
 - data/lib/google/cloud/dialogflow/v2.rb +1 -1
 - data/proto_docs/google/api/client.rb +14 -0
 - data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +13 -4
 - data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +3 -1
 - data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +227 -2
 - data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +3 -3
 - data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +3 -0
 - data/proto_docs/google/cloud/dialogflow/v2/generator.rb +53 -0
 - data/proto_docs/google/cloud/dialogflow/v2/participant.rb +79 -14
 - metadata +3 -3
 
| 
         @@ -571,6 +571,92 @@ module Google 
     | 
|
| 
       571 
571 
     | 
    
         
             
                            raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
       572 
572 
     | 
    
         
             
                          end
         
     | 
| 
       573 
573 
     | 
    
         | 
| 
      
 574 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 575 
     | 
    
         
            +
                          # Data ingestion API.
         
     | 
| 
      
 576 
     | 
    
         
            +
                          # Ingests context references for an existing conversation.
         
     | 
| 
      
 577 
     | 
    
         
            +
                          #
         
     | 
| 
      
 578 
     | 
    
         
            +
                          # @overload ingest_context_references(request, options = nil)
         
     | 
| 
      
 579 
     | 
    
         
            +
                          #   Pass arguments to `ingest_context_references` via a request object, either of type
         
     | 
| 
      
 580 
     | 
    
         
            +
                          #   {::Google::Cloud::Dialogflow::V2::IngestContextReferencesRequest} or an equivalent Hash.
         
     | 
| 
      
 581 
     | 
    
         
            +
                          #
         
     | 
| 
      
 582 
     | 
    
         
            +
                          #   @param request [::Google::Cloud::Dialogflow::V2::IngestContextReferencesRequest, ::Hash]
         
     | 
| 
      
 583 
     | 
    
         
            +
                          #     A request object representing the call parameters. Required. To specify no
         
     | 
| 
      
 584 
     | 
    
         
            +
                          #     parameters, or to keep all the default parameter values, pass an empty Hash.
         
     | 
| 
      
 585 
     | 
    
         
            +
                          #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
      
 586 
     | 
    
         
            +
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
      
 587 
     | 
    
         
            +
                          #
         
     | 
| 
      
 588 
     | 
    
         
            +
                          # @overload ingest_context_references(conversation: nil, context_references: nil)
         
     | 
| 
      
 589 
     | 
    
         
            +
                          #   Pass arguments to `ingest_context_references` via keyword arguments. Note that at
         
     | 
| 
      
 590 
     | 
    
         
            +
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
      
 591 
     | 
    
         
            +
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
      
 592 
     | 
    
         
            +
                          #
         
     | 
| 
      
 593 
     | 
    
         
            +
                          #   @param conversation [::String]
         
     | 
| 
      
 594 
     | 
    
         
            +
                          #     Required. Resource identifier of the conversation to ingest context
         
     | 
| 
      
 595 
     | 
    
         
            +
                          #     information for. Format: `projects/<Project ID>/locations/<Location
         
     | 
| 
      
 596 
     | 
    
         
            +
                          #     ID>/conversations/<Conversation ID>`.
         
     | 
| 
      
 597 
     | 
    
         
            +
                          #   @param context_references [::Hash{::String => ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference, ::Hash}]
         
     | 
| 
      
 598 
     | 
    
         
            +
                          #     Required. The context references to ingest. The key is the name of the
         
     | 
| 
      
 599 
     | 
    
         
            +
                          #     context reference and the value contains the contents of the context
         
     | 
| 
      
 600 
     | 
    
         
            +
                          #     reference. The key is used to incorporate ingested context references to
         
     | 
| 
      
 601 
     | 
    
         
            +
                          #     enhance the generator.
         
     | 
| 
      
 602 
     | 
    
         
            +
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
      
 603 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dialogflow::V2::IngestContextReferencesResponse]
         
     | 
| 
      
 604 
     | 
    
         
            +
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
      
 605 
     | 
    
         
            +
                          #
         
     | 
| 
      
 606 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dialogflow::V2::IngestContextReferencesResponse]
         
     | 
| 
      
 607 
     | 
    
         
            +
                          #
         
     | 
| 
      
 608 
     | 
    
         
            +
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         
     | 
| 
      
 609 
     | 
    
         
            +
                          #
         
     | 
| 
      
 610 
     | 
    
         
            +
                          # @example Basic example
         
     | 
| 
      
 611 
     | 
    
         
            +
                          #   require "google/cloud/dialogflow/v2"
         
     | 
| 
      
 612 
     | 
    
         
            +
                          #
         
     | 
| 
      
 613 
     | 
    
         
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         
     | 
| 
      
 614 
     | 
    
         
            +
                          #   client = Google::Cloud::Dialogflow::V2::Conversations::Rest::Client.new
         
     | 
| 
      
 615 
     | 
    
         
            +
                          #
         
     | 
| 
      
 616 
     | 
    
         
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         
     | 
| 
      
 617 
     | 
    
         
            +
                          #   request = Google::Cloud::Dialogflow::V2::IngestContextReferencesRequest.new
         
     | 
| 
      
 618 
     | 
    
         
            +
                          #
         
     | 
| 
      
 619 
     | 
    
         
            +
                          #   # Call the ingest_context_references method.
         
     | 
| 
      
 620 
     | 
    
         
            +
                          #   result = client.ingest_context_references request
         
     | 
| 
      
 621 
     | 
    
         
            +
                          #
         
     | 
| 
      
 622 
     | 
    
         
            +
                          #   # The returned object is of type Google::Cloud::Dialogflow::V2::IngestContextReferencesResponse.
         
     | 
| 
      
 623 
     | 
    
         
            +
                          #   p result
         
     | 
| 
      
 624 
     | 
    
         
            +
                          #
         
     | 
| 
      
 625 
     | 
    
         
            +
                          def ingest_context_references request, options = nil
         
     | 
| 
      
 626 
     | 
    
         
            +
                            raise ::ArgumentError, "request must be provided" if request.nil?
         
     | 
| 
      
 627 
     | 
    
         
            +
             
     | 
| 
      
 628 
     | 
    
         
            +
                            request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::IngestContextReferencesRequest
         
     | 
| 
      
 629 
     | 
    
         
            +
             
     | 
| 
      
 630 
     | 
    
         
            +
                            # Converts hash and nil to an options object
         
     | 
| 
      
 631 
     | 
    
         
            +
                            options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
         
     | 
| 
      
 632 
     | 
    
         
            +
             
     | 
| 
      
 633 
     | 
    
         
            +
                            # Customize the options with defaults
         
     | 
| 
      
 634 
     | 
    
         
            +
                            call_metadata = @config.rpcs.ingest_context_references.metadata.to_h
         
     | 
| 
      
 635 
     | 
    
         
            +
             
     | 
| 
      
 636 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
      
 637 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
      
 638 
     | 
    
         
            +
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
      
 639 
     | 
    
         
            +
                              gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
         
     | 
| 
      
 640 
     | 
    
         
            +
                              transports_version_send: [:rest]
         
     | 
| 
      
 641 
     | 
    
         
            +
             
     | 
| 
      
 642 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
      
 643 
     | 
    
         
            +
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
      
 644 
     | 
    
         
            +
             
     | 
| 
      
 645 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.rpcs.ingest_context_references.timeout,
         
     | 
| 
      
 646 
     | 
    
         
            +
                                                   metadata:     call_metadata,
         
     | 
| 
      
 647 
     | 
    
         
            +
                                                   retry_policy: @config.rpcs.ingest_context_references.retry_policy
         
     | 
| 
      
 648 
     | 
    
         
            +
             
     | 
| 
      
 649 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 650 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
      
 651 
     | 
    
         
            +
                                                   retry_policy: @config.retry_policy
         
     | 
| 
      
 652 
     | 
    
         
            +
             
     | 
| 
      
 653 
     | 
    
         
            +
                            @conversations_stub.ingest_context_references request, options do |result, operation|
         
     | 
| 
      
 654 
     | 
    
         
            +
                              yield result, operation if block_given?
         
     | 
| 
      
 655 
     | 
    
         
            +
                            end
         
     | 
| 
      
 656 
     | 
    
         
            +
                          rescue ::Gapic::Rest::Error => e
         
     | 
| 
      
 657 
     | 
    
         
            +
                            raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
      
 658 
     | 
    
         
            +
                          end
         
     | 
| 
      
 659 
     | 
    
         
            +
             
     | 
| 
       574 
660 
     | 
    
         
             
                          ##
         
     | 
| 
       575 
661 
     | 
    
         
             
                          # Lists messages that belong to a given conversation.
         
     | 
| 
       576 
662 
     | 
    
         
             
                          # `messages` are ordered by `create_time` in descending order. To fetch
         
     | 
| 
         @@ -878,7 +964,7 @@ module Google 
     | 
|
| 
       878 
964 
     | 
    
         
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       879 
965 
     | 
    
         
             
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       880 
966 
     | 
    
         
             
                          #
         
     | 
| 
       881 
     | 
    
         
            -
                          # @overload generate_stateless_suggestion(parent: nil, generator: nil, generator_name: nil, conversation_context: nil, trigger_events: nil)
         
     | 
| 
      
 967 
     | 
    
         
            +
                          # @overload generate_stateless_suggestion(parent: nil, generator: nil, generator_name: nil, context_references: nil, conversation_context: nil, trigger_events: nil)
         
     | 
| 
       882 
968 
     | 
    
         
             
                          #   Pass arguments to `generate_stateless_suggestion` via keyword arguments. Note that at
         
     | 
| 
       883 
969 
     | 
    
         
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       884 
970 
     | 
    
         
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -896,6 +982,11 @@ module Google 
     | 
|
| 
       896 
982 
     | 
    
         
             
                          #     `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
         
     | 
| 
       897 
983 
     | 
    
         
             
                          #
         
     | 
| 
       898 
984 
     | 
    
         
             
                          #     Note: The following fields are mutually exclusive: `generator_name`, `generator`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
      
 985 
     | 
    
         
            +
                          #   @param context_references [::Hash{::String => ::Google::Cloud::Dialogflow::V2::Conversation::ContextReference, ::Hash}]
         
     | 
| 
      
 986 
     | 
    
         
            +
                          #     Optional. A section of ingested context information. The key is the name of
         
     | 
| 
      
 987 
     | 
    
         
            +
                          #     the context reference and the value contains the contents of the context
         
     | 
| 
      
 988 
     | 
    
         
            +
                          #     reference. The key is used to incorporate ingested context references to
         
     | 
| 
      
 989 
     | 
    
         
            +
                          #     enhance the generator.
         
     | 
| 
       899 
990 
     | 
    
         
             
                          #   @param conversation_context [::Google::Cloud::Dialogflow::V2::ConversationContext, ::Hash]
         
     | 
| 
       900 
991 
     | 
    
         
             
                          #     Optional. Context of the conversation, including transcripts.
         
     | 
| 
       901 
992 
     | 
    
         
             
                          #   @param trigger_events [::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>]
         
     | 
| 
         @@ -1086,6 +1177,98 @@ module Google 
     | 
|
| 
       1086 
1177 
     | 
    
         
             
                            raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
       1087 
1178 
     | 
    
         
             
                          end
         
     | 
| 
       1088 
1179 
     | 
    
         | 
| 
      
 1180 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 1181 
     | 
    
         
            +
                          # Generates all the suggestions using generators configured in the
         
     | 
| 
      
 1182 
     | 
    
         
            +
                          # conversation profile. A generator is used only if its trigger event is
         
     | 
| 
      
 1183 
     | 
    
         
            +
                          # matched.
         
     | 
| 
      
 1184 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1185 
     | 
    
         
            +
                          # @overload generate_suggestions(request, options = nil)
         
     | 
| 
      
 1186 
     | 
    
         
            +
                          #   Pass arguments to `generate_suggestions` via a request object, either of type
         
     | 
| 
      
 1187 
     | 
    
         
            +
                          #   {::Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest} or an equivalent Hash.
         
     | 
| 
      
 1188 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1189 
     | 
    
         
            +
                          #   @param request [::Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest, ::Hash]
         
     | 
| 
      
 1190 
     | 
    
         
            +
                          #     A request object representing the call parameters. Required. To specify no
         
     | 
| 
      
 1191 
     | 
    
         
            +
                          #     parameters, or to keep all the default parameter values, pass an empty Hash.
         
     | 
| 
      
 1192 
     | 
    
         
            +
                          #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
      
 1193 
     | 
    
         
            +
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
      
 1194 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1195 
     | 
    
         
            +
                          # @overload generate_suggestions(conversation: nil, latest_message: nil, trigger_events: nil)
         
     | 
| 
      
 1196 
     | 
    
         
            +
                          #   Pass arguments to `generate_suggestions` via keyword arguments. Note that at
         
     | 
| 
      
 1197 
     | 
    
         
            +
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
      
 1198 
     | 
    
         
            +
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
      
 1199 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1200 
     | 
    
         
            +
                          #   @param conversation [::String]
         
     | 
| 
      
 1201 
     | 
    
         
            +
                          #     Required. The conversation for which the suggestions are generated. Format:
         
     | 
| 
      
 1202 
     | 
    
         
            +
                          #     `projects/<Project ID>/locations/<Location
         
     | 
| 
      
 1203 
     | 
    
         
            +
                          #     ID>/conversations/<Conversation ID>`.
         
     | 
| 
      
 1204 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1205 
     | 
    
         
            +
                          #     The conversation must be created with a conversation profile which has
         
     | 
| 
      
 1206 
     | 
    
         
            +
                          #     generators configured in it to be able to get suggestions.
         
     | 
| 
      
 1207 
     | 
    
         
            +
                          #   @param latest_message [::String]
         
     | 
| 
      
 1208 
     | 
    
         
            +
                          #     Optional. The name of the latest conversation message for which the request
         
     | 
| 
      
 1209 
     | 
    
         
            +
                          #     is triggered. Format: `projects/<Project ID>/locations/<Location
         
     | 
| 
      
 1210 
     | 
    
         
            +
                          #     ID>/conversations/<Conversation ID>/messages/<Message ID>`.
         
     | 
| 
      
 1211 
     | 
    
         
            +
                          #   @param trigger_events [::Array<::Google::Cloud::Dialogflow::V2::TriggerEvent>]
         
     | 
| 
      
 1212 
     | 
    
         
            +
                          #     Optional. A list of trigger events. Only generators configured in the
         
     | 
| 
      
 1213 
     | 
    
         
            +
                          #     conversation_profile whose trigger_event is listed here will be triggered.
         
     | 
| 
      
 1214 
     | 
    
         
            +
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
      
 1215 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse]
         
     | 
| 
      
 1216 
     | 
    
         
            +
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
      
 1217 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1218 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse]
         
     | 
| 
      
 1219 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1220 
     | 
    
         
            +
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         
     | 
| 
      
 1221 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1222 
     | 
    
         
            +
                          # @example Basic example
         
     | 
| 
      
 1223 
     | 
    
         
            +
                          #   require "google/cloud/dialogflow/v2"
         
     | 
| 
      
 1224 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1225 
     | 
    
         
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         
     | 
| 
      
 1226 
     | 
    
         
            +
                          #   client = Google::Cloud::Dialogflow::V2::Conversations::Rest::Client.new
         
     | 
| 
      
 1227 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1228 
     | 
    
         
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         
     | 
| 
      
 1229 
     | 
    
         
            +
                          #   request = Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest.new
         
     | 
| 
      
 1230 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1231 
     | 
    
         
            +
                          #   # Call the generate_suggestions method.
         
     | 
| 
      
 1232 
     | 
    
         
            +
                          #   result = client.generate_suggestions request
         
     | 
| 
      
 1233 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1234 
     | 
    
         
            +
                          #   # The returned object is of type Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse.
         
     | 
| 
      
 1235 
     | 
    
         
            +
                          #   p result
         
     | 
| 
      
 1236 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1237 
     | 
    
         
            +
                          def generate_suggestions request, options = nil
         
     | 
| 
      
 1238 
     | 
    
         
            +
                            raise ::ArgumentError, "request must be provided" if request.nil?
         
     | 
| 
      
 1239 
     | 
    
         
            +
             
     | 
| 
      
 1240 
     | 
    
         
            +
                            request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest
         
     | 
| 
      
 1241 
     | 
    
         
            +
             
     | 
| 
      
 1242 
     | 
    
         
            +
                            # Converts hash and nil to an options object
         
     | 
| 
      
 1243 
     | 
    
         
            +
                            options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
         
     | 
| 
      
 1244 
     | 
    
         
            +
             
     | 
| 
      
 1245 
     | 
    
         
            +
                            # Customize the options with defaults
         
     | 
| 
      
 1246 
     | 
    
         
            +
                            call_metadata = @config.rpcs.generate_suggestions.metadata.to_h
         
     | 
| 
      
 1247 
     | 
    
         
            +
             
     | 
| 
      
 1248 
     | 
    
         
            +
                            # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
         
     | 
| 
      
 1249 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
         
     | 
| 
      
 1250 
     | 
    
         
            +
                              lib_name: @config.lib_name, lib_version: @config.lib_version,
         
     | 
| 
      
 1251 
     | 
    
         
            +
                              gapic_version: ::Google::Cloud::Dialogflow::V2::VERSION,
         
     | 
| 
      
 1252 
     | 
    
         
            +
                              transports_version_send: [:rest]
         
     | 
| 
      
 1253 
     | 
    
         
            +
             
     | 
| 
      
 1254 
     | 
    
         
            +
                            call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
         
     | 
| 
      
 1255 
     | 
    
         
            +
                            call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
         
     | 
| 
      
 1256 
     | 
    
         
            +
             
     | 
| 
      
 1257 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.rpcs.generate_suggestions.timeout,
         
     | 
| 
      
 1258 
     | 
    
         
            +
                                                   metadata:     call_metadata,
         
     | 
| 
      
 1259 
     | 
    
         
            +
                                                   retry_policy: @config.rpcs.generate_suggestions.retry_policy
         
     | 
| 
      
 1260 
     | 
    
         
            +
             
     | 
| 
      
 1261 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1262 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
      
 1263 
     | 
    
         
            +
                                                   retry_policy: @config.retry_policy
         
     | 
| 
      
 1264 
     | 
    
         
            +
             
     | 
| 
      
 1265 
     | 
    
         
            +
                            @conversations_stub.generate_suggestions request, options do |result, operation|
         
     | 
| 
      
 1266 
     | 
    
         
            +
                              yield result, operation if block_given?
         
     | 
| 
      
 1267 
     | 
    
         
            +
                            end
         
     | 
| 
      
 1268 
     | 
    
         
            +
                          rescue ::Gapic::Rest::Error => e
         
     | 
| 
      
 1269 
     | 
    
         
            +
                            raise ::Google::Cloud::Error.from_error(e)
         
     | 
| 
      
 1270 
     | 
    
         
            +
                          end
         
     | 
| 
      
 1271 
     | 
    
         
            +
             
     | 
| 
       1089 
1272 
     | 
    
         
             
                          ##
         
     | 
| 
       1090 
1273 
     | 
    
         
             
                          # Configuration class for the Conversations REST API.
         
     | 
| 
       1091 
1274 
     | 
    
         
             
                          #
         
     | 
| 
         @@ -1260,6 +1443,11 @@ module Google 
     | 
|
| 
       1260 
1443 
     | 
    
         
             
                              #
         
     | 
| 
       1261 
1444 
     | 
    
         
             
                              attr_reader :complete_conversation
         
     | 
| 
       1262 
1445 
     | 
    
         
             
                              ##
         
     | 
| 
      
 1446 
     | 
    
         
            +
                              # RPC-specific configuration for `ingest_context_references`
         
     | 
| 
      
 1447 
     | 
    
         
            +
                              # @return [::Gapic::Config::Method]
         
     | 
| 
      
 1448 
     | 
    
         
            +
                              #
         
     | 
| 
      
 1449 
     | 
    
         
            +
                              attr_reader :ingest_context_references
         
     | 
| 
      
 1450 
     | 
    
         
            +
                              ##
         
     | 
| 
       1263 
1451 
     | 
    
         
             
                              # RPC-specific configuration for `list_messages`
         
     | 
| 
       1264 
1452 
     | 
    
         
             
                              # @return [::Gapic::Config::Method]
         
     | 
| 
       1265 
1453 
     | 
    
         
             
                              #
         
     | 
| 
         @@ -1284,6 +1472,11 @@ module Google 
     | 
|
| 
       1284 
1472 
     | 
    
         
             
                              # @return [::Gapic::Config::Method]
         
     | 
| 
       1285 
1473 
     | 
    
         
             
                              #
         
     | 
| 
       1286 
1474 
     | 
    
         
             
                              attr_reader :search_knowledge
         
     | 
| 
      
 1475 
     | 
    
         
            +
                              ##
         
     | 
| 
      
 1476 
     | 
    
         
            +
                              # RPC-specific configuration for `generate_suggestions`
         
     | 
| 
      
 1477 
     | 
    
         
            +
                              # @return [::Gapic::Config::Method]
         
     | 
| 
      
 1478 
     | 
    
         
            +
                              #
         
     | 
| 
      
 1479 
     | 
    
         
            +
                              attr_reader :generate_suggestions
         
     | 
| 
       1287 
1480 
     | 
    
         | 
| 
       1288 
1481 
     | 
    
         
             
                              # @private
         
     | 
| 
       1289 
1482 
     | 
    
         
             
                              def initialize parent_rpcs = nil
         
     | 
| 
         @@ -1295,6 +1488,8 @@ module Google 
     | 
|
| 
       1295 
1488 
     | 
    
         
             
                                @get_conversation = ::Gapic::Config::Method.new get_conversation_config
         
     | 
| 
       1296 
1489 
     | 
    
         
             
                                complete_conversation_config = parent_rpcs.complete_conversation if parent_rpcs.respond_to? :complete_conversation
         
     | 
| 
       1297 
1490 
     | 
    
         
             
                                @complete_conversation = ::Gapic::Config::Method.new complete_conversation_config
         
     | 
| 
      
 1491 
     | 
    
         
            +
                                ingest_context_references_config = parent_rpcs.ingest_context_references if parent_rpcs.respond_to? :ingest_context_references
         
     | 
| 
      
 1492 
     | 
    
         
            +
                                @ingest_context_references = ::Gapic::Config::Method.new ingest_context_references_config
         
     | 
| 
       1298 
1493 
     | 
    
         
             
                                list_messages_config = parent_rpcs.list_messages if parent_rpcs.respond_to? :list_messages
         
     | 
| 
       1299 
1494 
     | 
    
         
             
                                @list_messages = ::Gapic::Config::Method.new list_messages_config
         
     | 
| 
       1300 
1495 
     | 
    
         
             
                                suggest_conversation_summary_config = parent_rpcs.suggest_conversation_summary if parent_rpcs.respond_to? :suggest_conversation_summary
         
     | 
| 
         @@ -1305,6 +1500,8 @@ module Google 
     | 
|
| 
       1305 
1500 
     | 
    
         
             
                                @generate_stateless_suggestion = ::Gapic::Config::Method.new generate_stateless_suggestion_config
         
     | 
| 
       1306 
1501 
     | 
    
         
             
                                search_knowledge_config = parent_rpcs.search_knowledge if parent_rpcs.respond_to? :search_knowledge
         
     | 
| 
       1307 
1502 
     | 
    
         
             
                                @search_knowledge = ::Gapic::Config::Method.new search_knowledge_config
         
     | 
| 
      
 1503 
     | 
    
         
            +
                                generate_suggestions_config = parent_rpcs.generate_suggestions if parent_rpcs.respond_to? :generate_suggestions
         
     | 
| 
      
 1504 
     | 
    
         
            +
                                @generate_suggestions = ::Gapic::Config::Method.new generate_suggestions_config
         
     | 
| 
       1308 
1505 
     | 
    
         | 
| 
       1309 
1506 
     | 
    
         
             
                                yield self if block_given?
         
     | 
| 
       1310 
1507 
     | 
    
         
             
                              end
         
     | 
| 
         @@ -233,6 +233,46 @@ module Google 
     | 
|
| 
       233 
233 
     | 
    
         
             
                            end
         
     | 
| 
       234 
234 
     | 
    
         
             
                          end
         
     | 
| 
       235 
235 
     | 
    
         | 
| 
      
 236 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 237 
     | 
    
         
            +
                          # Baseline implementation for the ingest_context_references REST call
         
     | 
| 
      
 238 
     | 
    
         
            +
                          #
         
     | 
| 
      
 239 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dialogflow::V2::IngestContextReferencesRequest]
         
     | 
| 
      
 240 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 241 
     | 
    
         
            +
                          # @param options [::Gapic::CallOptions]
         
     | 
| 
      
 242 
     | 
    
         
            +
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
      
 243 
     | 
    
         
            +
                          #
         
     | 
| 
      
 244 
     | 
    
         
            +
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
      
 245 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dialogflow::V2::IngestContextReferencesResponse]
         
     | 
| 
      
 246 
     | 
    
         
            +
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
      
 247 
     | 
    
         
            +
                          #
         
     | 
| 
      
 248 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dialogflow::V2::IngestContextReferencesResponse]
         
     | 
| 
      
 249 
     | 
    
         
            +
                          #   A result object deserialized from the server's reply
         
     | 
| 
      
 250 
     | 
    
         
            +
                          def ingest_context_references request_pb, options = nil
         
     | 
| 
      
 251 
     | 
    
         
            +
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
      
 252 
     | 
    
         
            +
             
     | 
| 
      
 253 
     | 
    
         
            +
                            verb, uri, query_string_params, body = ServiceStub.transcode_ingest_context_references_request request_pb
         
     | 
| 
      
 254 
     | 
    
         
            +
                            query_string_params = if query_string_params.any?
         
     | 
| 
      
 255 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
      
 256 
     | 
    
         
            +
                                                  else
         
     | 
| 
      
 257 
     | 
    
         
            +
                                                    {}
         
     | 
| 
      
 258 
     | 
    
         
            +
                                                  end
         
     | 
| 
      
 259 
     | 
    
         
            +
             
     | 
| 
      
 260 
     | 
    
         
            +
                            response = @client_stub.make_http_request(
         
     | 
| 
      
 261 
     | 
    
         
            +
                              verb,
         
     | 
| 
      
 262 
     | 
    
         
            +
                              uri: uri,
         
     | 
| 
      
 263 
     | 
    
         
            +
                              body: body || "",
         
     | 
| 
      
 264 
     | 
    
         
            +
                              params: query_string_params,
         
     | 
| 
      
 265 
     | 
    
         
            +
                              method_name: "ingest_context_references",
         
     | 
| 
      
 266 
     | 
    
         
            +
                              options: options
         
     | 
| 
      
 267 
     | 
    
         
            +
                            )
         
     | 
| 
      
 268 
     | 
    
         
            +
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
      
 269 
     | 
    
         
            +
                            result = ::Google::Cloud::Dialogflow::V2::IngestContextReferencesResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
      
 270 
     | 
    
         
            +
                            catch :response do
         
     | 
| 
      
 271 
     | 
    
         
            +
                              yield result, operation if block_given?
         
     | 
| 
      
 272 
     | 
    
         
            +
                              result
         
     | 
| 
      
 273 
     | 
    
         
            +
                            end
         
     | 
| 
      
 274 
     | 
    
         
            +
                          end
         
     | 
| 
      
 275 
     | 
    
         
            +
             
     | 
| 
       236 
276 
     | 
    
         
             
                          ##
         
     | 
| 
       237 
277 
     | 
    
         
             
                          # Baseline implementation for the list_messages REST call
         
     | 
| 
       238 
278 
     | 
    
         
             
                          #
         
     | 
| 
         @@ -433,6 +473,46 @@ module Google 
     | 
|
| 
       433 
473 
     | 
    
         
             
                            end
         
     | 
| 
       434 
474 
     | 
    
         
             
                          end
         
     | 
| 
       435 
475 
     | 
    
         | 
| 
      
 476 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 477 
     | 
    
         
            +
                          # Baseline implementation for the generate_suggestions REST call
         
     | 
| 
      
 478 
     | 
    
         
            +
                          #
         
     | 
| 
      
 479 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest]
         
     | 
| 
      
 480 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 481 
     | 
    
         
            +
                          # @param options [::Gapic::CallOptions]
         
     | 
| 
      
 482 
     | 
    
         
            +
                          #   Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
      
 483 
     | 
    
         
            +
                          #
         
     | 
| 
      
 484 
     | 
    
         
            +
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
      
 485 
     | 
    
         
            +
                          # @yieldparam result [::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse]
         
     | 
| 
      
 486 
     | 
    
         
            +
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
      
 487 
     | 
    
         
            +
                          #
         
     | 
| 
      
 488 
     | 
    
         
            +
                          # @return [::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse]
         
     | 
| 
      
 489 
     | 
    
         
            +
                          #   A result object deserialized from the server's reply
         
     | 
| 
      
 490 
     | 
    
         
            +
                          def generate_suggestions request_pb, options = nil
         
     | 
| 
      
 491 
     | 
    
         
            +
                            raise ::ArgumentError, "request must be provided" if request_pb.nil?
         
     | 
| 
      
 492 
     | 
    
         
            +
             
     | 
| 
      
 493 
     | 
    
         
            +
                            verb, uri, query_string_params, body = ServiceStub.transcode_generate_suggestions_request request_pb
         
     | 
| 
      
 494 
     | 
    
         
            +
                            query_string_params = if query_string_params.any?
         
     | 
| 
      
 495 
     | 
    
         
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         
     | 
| 
      
 496 
     | 
    
         
            +
                                                  else
         
     | 
| 
      
 497 
     | 
    
         
            +
                                                    {}
         
     | 
| 
      
 498 
     | 
    
         
            +
                                                  end
         
     | 
| 
      
 499 
     | 
    
         
            +
             
     | 
| 
      
 500 
     | 
    
         
            +
                            response = @client_stub.make_http_request(
         
     | 
| 
      
 501 
     | 
    
         
            +
                              verb,
         
     | 
| 
      
 502 
     | 
    
         
            +
                              uri: uri,
         
     | 
| 
      
 503 
     | 
    
         
            +
                              body: body || "",
         
     | 
| 
      
 504 
     | 
    
         
            +
                              params: query_string_params,
         
     | 
| 
      
 505 
     | 
    
         
            +
                              method_name: "generate_suggestions",
         
     | 
| 
      
 506 
     | 
    
         
            +
                              options: options
         
     | 
| 
      
 507 
     | 
    
         
            +
                            )
         
     | 
| 
      
 508 
     | 
    
         
            +
                            operation = ::Gapic::Rest::TransportOperation.new response
         
     | 
| 
      
 509 
     | 
    
         
            +
                            result = ::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse.decode_json response.body, ignore_unknown_fields: true
         
     | 
| 
      
 510 
     | 
    
         
            +
                            catch :response do
         
     | 
| 
      
 511 
     | 
    
         
            +
                              yield result, operation if block_given?
         
     | 
| 
      
 512 
     | 
    
         
            +
                              result
         
     | 
| 
      
 513 
     | 
    
         
            +
                            end
         
     | 
| 
      
 514 
     | 
    
         
            +
                          end
         
     | 
| 
      
 515 
     | 
    
         
            +
             
     | 
| 
       436 
516 
     | 
    
         
             
                          ##
         
     | 
| 
       437 
517 
     | 
    
         
             
                          # @private
         
     | 
| 
       438 
518 
     | 
    
         
             
                          #
         
     | 
| 
         @@ -549,6 +629,28 @@ module Google 
     | 
|
| 
       549 
629 
     | 
    
         
             
                            transcoder.transcode request_pb
         
     | 
| 
       550 
630 
     | 
    
         
             
                          end
         
     | 
| 
       551 
631 
     | 
    
         | 
| 
      
 632 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 633 
     | 
    
         
            +
                          # @private
         
     | 
| 
      
 634 
     | 
    
         
            +
                          #
         
     | 
| 
      
 635 
     | 
    
         
            +
                          # GRPC transcoding helper method for the ingest_context_references REST call
         
     | 
| 
      
 636 
     | 
    
         
            +
                          #
         
     | 
| 
      
 637 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dialogflow::V2::IngestContextReferencesRequest]
         
     | 
| 
      
 638 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 639 
     | 
    
         
            +
                          # @return [Array(String, [String, nil], Hash{String => String})]
         
     | 
| 
      
 640 
     | 
    
         
            +
                          #   Uri, Body, Query string parameters
         
     | 
| 
      
 641 
     | 
    
         
            +
                          def self.transcode_ingest_context_references_request request_pb
         
     | 
| 
      
 642 
     | 
    
         
            +
                            transcoder = Gapic::Rest::GrpcTranscoder.new
         
     | 
| 
      
 643 
     | 
    
         
            +
                                                                    .with_bindings(
         
     | 
| 
      
 644 
     | 
    
         
            +
                                                                      uri_method: :post,
         
     | 
| 
      
 645 
     | 
    
         
            +
                                                                      uri_template: "/v2/{conversation}:ingestContextReferences",
         
     | 
| 
      
 646 
     | 
    
         
            +
                                                                      body: "*",
         
     | 
| 
      
 647 
     | 
    
         
            +
                                                                      matches: [
         
     | 
| 
      
 648 
     | 
    
         
            +
                                                                        ["conversation", %r{^projects/[^/]+/locations/[^/]+/conversations/[^/]+/?$}, false]
         
     | 
| 
      
 649 
     | 
    
         
            +
                                                                      ]
         
     | 
| 
      
 650 
     | 
    
         
            +
                                                                    )
         
     | 
| 
      
 651 
     | 
    
         
            +
                            transcoder.transcode request_pb
         
     | 
| 
      
 652 
     | 
    
         
            +
                          end
         
     | 
| 
      
 653 
     | 
    
         
            +
             
     | 
| 
       552 
654 
     | 
    
         
             
                          ##
         
     | 
| 
       553 
655 
     | 
    
         
             
                          # @private
         
     | 
| 
       554 
656 
     | 
    
         
             
                          #
         
     | 
| 
         @@ -704,6 +806,36 @@ module Google 
     | 
|
| 
       704 
806 
     | 
    
         
             
                                                                    )
         
     | 
| 
       705 
807 
     | 
    
         
             
                            transcoder.transcode request_pb
         
     | 
| 
       706 
808 
     | 
    
         
             
                          end
         
     | 
| 
      
 809 
     | 
    
         
            +
             
     | 
| 
      
 810 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 811 
     | 
    
         
            +
                          # @private
         
     | 
| 
      
 812 
     | 
    
         
            +
                          #
         
     | 
| 
      
 813 
     | 
    
         
            +
                          # GRPC transcoding helper method for the generate_suggestions REST call
         
     | 
| 
      
 814 
     | 
    
         
            +
                          #
         
     | 
| 
      
 815 
     | 
    
         
            +
                          # @param request_pb [::Google::Cloud::Dialogflow::V2::GenerateSuggestionsRequest]
         
     | 
| 
      
 816 
     | 
    
         
            +
                          #   A request object representing the call parameters. Required.
         
     | 
| 
      
 817 
     | 
    
         
            +
                          # @return [Array(String, [String, nil], Hash{String => String})]
         
     | 
| 
      
 818 
     | 
    
         
            +
                          #   Uri, Body, Query string parameters
         
     | 
| 
      
 819 
     | 
    
         
            +
                          def self.transcode_generate_suggestions_request request_pb
         
     | 
| 
      
 820 
     | 
    
         
            +
                            transcoder = Gapic::Rest::GrpcTranscoder.new
         
     | 
| 
      
 821 
     | 
    
         
            +
                                                                    .with_bindings(
         
     | 
| 
      
 822 
     | 
    
         
            +
                                                                      uri_method: :post,
         
     | 
| 
      
 823 
     | 
    
         
            +
                                                                      uri_template: "/v2/{conversation}/suggestions:generate",
         
     | 
| 
      
 824 
     | 
    
         
            +
                                                                      body: "*",
         
     | 
| 
      
 825 
     | 
    
         
            +
                                                                      matches: [
         
     | 
| 
      
 826 
     | 
    
         
            +
                                                                        ["conversation", %r{^projects/[^/]+/conversations/[^/]+/?$}, false]
         
     | 
| 
      
 827 
     | 
    
         
            +
                                                                      ]
         
     | 
| 
      
 828 
     | 
    
         
            +
                                                                    )
         
     | 
| 
      
 829 
     | 
    
         
            +
                                                                    .with_bindings(
         
     | 
| 
      
 830 
     | 
    
         
            +
                                                                      uri_method: :post,
         
     | 
| 
      
 831 
     | 
    
         
            +
                                                                      uri_template: "/v2/{conversation}/suggestions:generate",
         
     | 
| 
      
 832 
     | 
    
         
            +
                                                                      body: "*",
         
     | 
| 
      
 833 
     | 
    
         
            +
                                                                      matches: [
         
     | 
| 
      
 834 
     | 
    
         
            +
                                                                        ["conversation", %r{^projects/[^/]+/locations/[^/]+/conversations/[^/]+/?$}, false]
         
     | 
| 
      
 835 
     | 
    
         
            +
                                                                      ]
         
     | 
| 
      
 836 
     | 
    
         
            +
                                                                    )
         
     | 
| 
      
 837 
     | 
    
         
            +
                            transcoder.transcode request_pb
         
     | 
| 
      
 838 
     | 
    
         
            +
                          end
         
     | 
| 
       707 
839 
     | 
    
         
             
                        end
         
     | 
| 
       708 
840 
     | 
    
         
             
                      end
         
     | 
| 
       709 
841 
     | 
    
         
             
                    end
         
     | 
| 
         @@ -16,7 +16,7 @@ require 'google/protobuf/timestamp_pb' 
     | 
|
| 
       16 
16 
     | 
    
         
             
            require 'google/rpc/status_pb'
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            descriptor_data = "\n)google/cloud/dialogflow/v2/document.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/cloud/dialogflow/v2/gcs.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa6\x08\n\x08\x44ocument\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tmime_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0fknowledge_types\x18\x04 \x03(\x0e\x32\x32.google.cloud.dialogflow.v2.Document.KnowledgeTypeB\x03\xe0\x41\x02\x12\x15\n\x0b\x63ontent_uri\x18\x05 \x01(\tH\x00\x12\x15\n\x0braw_content\x18\t \x01(\x0cH\x00\x12\x1f\n\x12\x65nable_auto_reload\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12T\n\x14latest_reload_status\x18\x0c \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.Document.ReloadStatusB\x03\xe0\x41\x03\x12I\n\x08metadata\x18\x07 \x03(\x0b\x32\x32.google.cloud.dialogflow.v2.Document.MetadataEntryB\x03\xe0\x41\x01\x12>\n\x05state\x18\r \x01(\x0e\x32*.google.cloud.dialogflow.v2.Document.StateB\x03\xe0\x41\x03\x1a\\\n\x0cReloadStatus\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x81\x01\n\rKnowledgeType\x12\x1e\n\x1aKNOWLEDGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x46\x41Q\x10\x01\x12\x11\n\rEXTRACTIVE_QA\x10\x02\x12\x16\n\x12\x41RTICLE_SUGGESTION\x10\x03\x12\x1c\n\x18\x41GENT_FACING_SMART_REPLY\x10\x04\"c\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\r\n\tRELOADING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:\xcf\x01\xea\x41\xcb\x01\n\"dialogflow.googleapis.com/Document\x12Gprojects/{project}/knowledgeBases/{knowledge_base}/documents/{document}\x12\\projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}B\x08\n\x06source\"N\n\x12GetDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\"\x89\x01\n\x14ListDocumentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"i\n\x15ListDocumentsResponse\x12\x37\n\tdocuments\x18\x01 \x03(\x0b\x32$.google.cloud.dialogflow.v2.Document\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x90\x01\n\x15\x43reateDocumentRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12;\n\x08\x64ocument\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.v2.DocumentB\x03\xe0\x41\x02\"\x99\x02\n\x16ImportDocumentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12\x41\n\ngcs_source\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.v2.GcsSourcesB\x03\xe0\x41\x01H\x00\x12R\n\x11\x64ocument_template\x18\x03 \x01(\x0b\x32\x32.google.cloud.dialogflow.v2.ImportDocumentTemplateB\x03\xe0\x41\x02\x12\"\n\x1aimport_gcs_custom_metadata\x18\x04 \x01(\x08\x42\x08\n\x06source\"\x87\x02\n\x16ImportDocumentTemplate\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0fknowledge_types\x18\x02 \x03(\x0e\x32\x32.google.cloud.dialogflow.v2.Document.KnowledgeTypeB\x03\xe0\x41\x02\x12R\n\x08metadata\x18\x03 \x03(\x0b\x32@.google.cloud.dialogflow.v2.ImportDocumentTemplate.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"?\n\x17ImportDocumentsResponse\x12$\n\x08warnings\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\"Q\n\x15\x44\x65leteDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\"\x8a\x01\n\x15UpdateDocumentRequest\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.v2.DocumentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xcd\x01\n\x15ReloadDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\x12\x1a\n\x0b\x63ontent_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x12\'\n\x1aimport_gcs_custom_metadata\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12+\n\x1esmart_messaging_partial_update\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\xec\x01\n\x15\x45xportDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\x12\x45\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.v2.GcsDestinationH\x00\x12\x1b\n\x13\x65xport_full_content\x18\x03 \x01(\x08\x12&\n\x1esmart_messaging_partial_update\x18\x05 \x01(\x08\x42\r\n\x0b\x64\x65stination\"g\n\x17\x45xportOperationMetadata\x12L\n\x18\x65xported_gcs_destination\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.v2.GcsDestination\"\xba\x02\n\x1aKnowledgeOperationMetadata\x12P\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.dialogflow.v2.KnowledgeOperationMetadata.StateB\x03\xe0\x41\x03\x12\x16\n\x0eknowledge_base\x18\x03 \x01(\t\x12X\n\x19\x65xport_operation_metadata\x18\x04 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.ExportOperationMetadataH\x00\"B\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x42\x14\n\x12operation_metadata2\xac\x16\n\tDocuments\x12\xb9\x02\n\rListDocuments\x12\x30.google.cloud.dialogflow.v2.ListDocumentsRequest\x1a\x31.google.cloud.dialogflow.v2.ListDocumentsResponse\"\xc2\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb2\x01\x12\x32/v2/{parent=projects/*/knowledgeBases/*}/documentsZ@\x12>/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documentsZ:\x12\x38/v2/{parent=projects/*/agent/knowledgeBases/*}/documents\x12\xa6\x02\n\x0bGetDocument\x12..google.cloud.dialogflow.v2.GetDocumentRequest\x1a$.google.cloud.dialogflow.v2.Document\"\xc0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb2\x01\x12\x32/v2/{name=projects/*/knowledgeBases/*/documents/*}Z@\x12>/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}Z:\x12\x38/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\xf7\x02\n\x0e\x43reateDocument\x12\x31.google.cloud.dialogflow.v2.CreateDocumentRequest\x1a\x1d.google.longrunning.Operation\"\x92\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x0fparent,document\x82\xd3\xe4\x93\x02\xd0\x01\"2/v2/{parent=projects/*/knowledgeBases/*}/documents:\x08\x64ocumentZJ\">/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents:\x08\x64ocumentZD\"8/v2/{parent=projects/*/agent/knowledgeBases/*}/documents:\x08\x64ocument\x12\xb0\x02\n\x0fImportDocuments\x12\x32.google.cloud.dialogflow.v2.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xc9\x01\xca\x41\x35\n\x17ImportDocumentsResponse\x12\x1aKnowledgeOperationMetadata\x82\xd3\xe4\x93\x02\x8a\x01\"9/v2/{parent=projects/*/knowledgeBases/*}/documents:import:\x01*ZJ\"E/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents:import:\x01*\x12\xdb\x02\n\x0e\x44\x65leteDocument\x12\x31.google.cloud.dialogflow.v2.DeleteDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xf6\x01\xca\x41\x33\n\x15google.protobuf.Empty\x12\x1aKnowledgeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb2\x01*2/v2/{name=projects/*/knowledgeBases/*/documents/*}Z@*>/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}Z:*8/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\x97\x03\n\x0eUpdateDocument\x12\x31.google.cloud.dialogflow.v2.UpdateDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x14\x64ocument,update_mask\x82\xd3\xe4\x93\x02\xeb\x01\x32;/v2/{document.name=projects/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZS2G/v2/{document.name=projects/*/locations/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZM2A/v2/{document.name=projects/*/agent/knowledgeBases/*/documents/*}:\x08\x64ocument\x12\xf8\x02\n\x0eReloadDocument\x12\x31.google.cloud.dialogflow.v2.ReloadDocumentRequest\x1a\x1d.google.longrunning.Operation\"\x93\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x10name,content_uri\x82\xd3\xe4\x93\x02\xd0\x01\"9/v2/{name=projects/*/knowledgeBases/*/documents/*}:reload:\x01*ZJ\"E/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:reload:\x01*ZD\"?/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}:reload:\x01*\x12\x9f\x02\n\x0e\x45xportDocument\x12\x31.google.cloud.dialogflow.v2.ExportDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xba\x01\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\x82\xd3\xe4\x93\x02\x8a\x01\"9/v2/{name=projects/*/knowledgeBases/*/documents/*}:export:\x01*ZJ\"E/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:export:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\ 
     | 
| 
      
 19 
     | 
    
         
            +
            descriptor_data = "\n)google/cloud/dialogflow/v2/document.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/cloud/dialogflow/v2/gcs.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa6\x08\n\x08\x44ocument\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tmime_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0fknowledge_types\x18\x04 \x03(\x0e\x32\x32.google.cloud.dialogflow.v2.Document.KnowledgeTypeB\x03\xe0\x41\x02\x12\x15\n\x0b\x63ontent_uri\x18\x05 \x01(\tH\x00\x12\x15\n\x0braw_content\x18\t \x01(\x0cH\x00\x12\x1f\n\x12\x65nable_auto_reload\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12T\n\x14latest_reload_status\x18\x0c \x01(\x0b\x32\x31.google.cloud.dialogflow.v2.Document.ReloadStatusB\x03\xe0\x41\x03\x12I\n\x08metadata\x18\x07 \x03(\x0b\x32\x32.google.cloud.dialogflow.v2.Document.MetadataEntryB\x03\xe0\x41\x01\x12>\n\x05state\x18\r \x01(\x0e\x32*.google.cloud.dialogflow.v2.Document.StateB\x03\xe0\x41\x03\x1a\\\n\x0cReloadStatus\x12(\n\x04time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x81\x01\n\rKnowledgeType\x12\x1e\n\x1aKNOWLEDGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x46\x41Q\x10\x01\x12\x11\n\rEXTRACTIVE_QA\x10\x02\x12\x16\n\x12\x41RTICLE_SUGGESTION\x10\x03\x12\x1c\n\x18\x41GENT_FACING_SMART_REPLY\x10\x04\"c\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\r\n\tRELOADING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:\xcf\x01\xea\x41\xcb\x01\n\"dialogflow.googleapis.com/Document\x12Gprojects/{project}/knowledgeBases/{knowledge_base}/documents/{document}\x12\\projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}B\x08\n\x06source\"N\n\x12GetDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\"\x89\x01\n\x14ListDocumentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"i\n\x15ListDocumentsResponse\x12\x37\n\tdocuments\x18\x01 \x03(\x0b\x32$.google.cloud.dialogflow.v2.Document\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x90\x01\n\x15\x43reateDocumentRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12;\n\x08\x64ocument\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.v2.DocumentB\x03\xe0\x41\x02\"\x99\x02\n\x16ImportDocumentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/Document\x12\x41\n\ngcs_source\x18\x02 \x01(\x0b\x32&.google.cloud.dialogflow.v2.GcsSourcesB\x03\xe0\x41\x01H\x00\x12R\n\x11\x64ocument_template\x18\x03 \x01(\x0b\x32\x32.google.cloud.dialogflow.v2.ImportDocumentTemplateB\x03\xe0\x41\x02\x12\"\n\x1aimport_gcs_custom_metadata\x18\x04 \x01(\x08\x42\x08\n\x06source\"\x87\x02\n\x16ImportDocumentTemplate\x12\x16\n\tmime_type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0fknowledge_types\x18\x02 \x03(\x0e\x32\x32.google.cloud.dialogflow.v2.Document.KnowledgeTypeB\x03\xe0\x41\x02\x12R\n\x08metadata\x18\x03 \x03(\x0b\x32@.google.cloud.dialogflow.v2.ImportDocumentTemplate.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"?\n\x17ImportDocumentsResponse\x12$\n\x08warnings\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\"Q\n\x15\x44\x65leteDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\"\x8a\x01\n\x15UpdateDocumentRequest\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32$.google.cloud.dialogflow.v2.DocumentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xcd\x01\n\x15ReloadDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\x12\x1a\n\x0b\x63ontent_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x12\'\n\x1aimport_gcs_custom_metadata\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12+\n\x1esmart_messaging_partial_update\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x42\x08\n\x06source\"\xec\x01\n\x15\x45xportDocumentRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/Document\x12\x45\n\x0fgcs_destination\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.v2.GcsDestinationH\x00\x12\x1b\n\x13\x65xport_full_content\x18\x03 \x01(\x08\x12&\n\x1esmart_messaging_partial_update\x18\x05 \x01(\x08\x42\r\n\x0b\x64\x65stination\"g\n\x17\x45xportOperationMetadata\x12L\n\x18\x65xported_gcs_destination\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.v2.GcsDestination\"\xba\x02\n\x1aKnowledgeOperationMetadata\x12P\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.dialogflow.v2.KnowledgeOperationMetadata.StateB\x03\xe0\x41\x03\x12\x16\n\x0eknowledge_base\x18\x03 \x01(\t\x12X\n\x19\x65xport_operation_metadata\x18\x04 \x01(\x0b\x32\x33.google.cloud.dialogflow.v2.ExportOperationMetadataH\x00\"B\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x42\x14\n\x12operation_metadata2\xac\x16\n\tDocuments\x12\xb9\x02\n\rListDocuments\x12\x30.google.cloud.dialogflow.v2.ListDocumentsRequest\x1a\x31.google.cloud.dialogflow.v2.ListDocumentsResponse\"\xc2\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xb2\x01\x12\x32/v2/{parent=projects/*/knowledgeBases/*}/documentsZ@\x12>/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documentsZ:\x12\x38/v2/{parent=projects/*/agent/knowledgeBases/*}/documents\x12\xa6\x02\n\x0bGetDocument\x12..google.cloud.dialogflow.v2.GetDocumentRequest\x1a$.google.cloud.dialogflow.v2.Document\"\xc0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb2\x01\x12\x32/v2/{name=projects/*/knowledgeBases/*/documents/*}Z@\x12>/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}Z:\x12\x38/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\xf7\x02\n\x0e\x43reateDocument\x12\x31.google.cloud.dialogflow.v2.CreateDocumentRequest\x1a\x1d.google.longrunning.Operation\"\x92\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x0fparent,document\x82\xd3\xe4\x93\x02\xd0\x01\"2/v2/{parent=projects/*/knowledgeBases/*}/documents:\x08\x64ocumentZJ\">/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents:\x08\x64ocumentZD\"8/v2/{parent=projects/*/agent/knowledgeBases/*}/documents:\x08\x64ocument\x12\xb0\x02\n\x0fImportDocuments\x12\x32.google.cloud.dialogflow.v2.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xc9\x01\xca\x41\x35\n\x17ImportDocumentsResponse\x12\x1aKnowledgeOperationMetadata\x82\xd3\xe4\x93\x02\x8a\x01\"9/v2/{parent=projects/*/knowledgeBases/*}/documents:import:\x01*ZJ\"E/v2/{parent=projects/*/locations/*/knowledgeBases/*}/documents:import:\x01*\x12\xdb\x02\n\x0e\x44\x65leteDocument\x12\x31.google.cloud.dialogflow.v2.DeleteDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xf6\x01\xca\x41\x33\n\x15google.protobuf.Empty\x12\x1aKnowledgeOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb2\x01*2/v2/{name=projects/*/knowledgeBases/*/documents/*}Z@*>/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}Z:*8/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}\x12\x97\x03\n\x0eUpdateDocument\x12\x31.google.cloud.dialogflow.v2.UpdateDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x14\x64ocument,update_mask\x82\xd3\xe4\x93\x02\xeb\x01\x32;/v2/{document.name=projects/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZS2G/v2/{document.name=projects/*/locations/*/knowledgeBases/*/documents/*}:\x08\x64ocumentZM2A/v2/{document.name=projects/*/agent/knowledgeBases/*/documents/*}:\x08\x64ocument\x12\xf8\x02\n\x0eReloadDocument\x12\x31.google.cloud.dialogflow.v2.ReloadDocumentRequest\x1a\x1d.google.longrunning.Operation\"\x93\x02\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\xda\x41\x10name,content_uri\x82\xd3\xe4\x93\x02\xd0\x01\"9/v2/{name=projects/*/knowledgeBases/*/documents/*}:reload:\x01*ZJ\"E/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:reload:\x01*ZD\"?/v2/{name=projects/*/agent/knowledgeBases/*/documents/*}:reload:\x01*\x12\x9f\x02\n\x0e\x45xportDocument\x12\x31.google.cloud.dialogflow.v2.ExportDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xba\x01\xca\x41&\n\x08\x44ocument\x12\x1aKnowledgeOperationMetadata\x82\xd3\xe4\x93\x02\x8a\x01\"9/v2/{name=projects/*/knowledgeBases/*/documents/*}:export:\x01*ZJ\"E/v2/{name=projects/*/locations/*/knowledgeBases/*/documents/*}:export:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x93\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\rDocumentProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
         @@ -11,7 +11,7 @@ require 'google/api/resource_pb' 
     | 
|
| 
       11 
11 
     | 
    
         
             
            require 'google/longrunning/operations_pb'
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
            descriptor_data = "\n0google/cloud/dialogflow/v2/encryption_spec.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\"Z\n\x18GetEncryptionSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dialogflow.googleapis.com/EncryptionSpec\"\xc3\x01\n\x0e\x45ncryptionSpec\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x07kms_key\x18\x02 \x01(\tB\x03\xe0\x41\x02:\x87\x01\xea\x41\x83\x01\n(dialogflow.googleapis.com/EncryptionSpec\x12\x36projects/{project}/locations/{location}/encryptionSpec*\x0f\x65ncryptionSpecs2\x0e\x65ncryptionSpec\"k\n\x1fInitializeEncryptionSpecRequest\x12H\n\x0f\x65ncryption_spec\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.v2.EncryptionSpecB\x03\xe0\x41\x02\"\"\n InitializeEncryptionSpecResponse\"u\n InitializeEncryptionSpecMetadata\x12Q\n\x07request\x18\x04 \x01(\x0b\x32;.google.cloud.dialogflow.v2.InitializeEncryptionSpecRequestB\x03\xe0\x41\x03\x32\xf5\x04\n\x15\x45ncryptionSpecService\x12\xb6\x01\n\x11GetEncryptionSpec\x12\x34.google.cloud.dialogflow.v2.GetEncryptionSpecRequest\x1a*.google.cloud.dialogflow.v2.EncryptionSpec\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v2/{name=projects/*/locations/*/encryptionSpec}\x12\xa8\x02\n\x18InitializeEncryptionSpec\x12;.google.cloud.dialogflow.v2.InitializeEncryptionSpecRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\xca\x41\x44\n InitializeEncryptionSpecResponse\x12 InitializeEncryptionSpecMetadata\xda\x41\x0f\x65ncryption_spec\x82\xd3\xe4\x93\x02P\"K/v2/{encryption_spec.name=projects/*/locations/*/encryptionSpec}:initialize:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\ 
     | 
| 
      
 14 
     | 
    
         
            +
            descriptor_data = "\n0google/cloud/dialogflow/v2/encryption_spec.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\"Z\n\x18GetEncryptionSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dialogflow.googleapis.com/EncryptionSpec\"\xc3\x01\n\x0e\x45ncryptionSpec\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x07kms_key\x18\x02 \x01(\tB\x03\xe0\x41\x02:\x87\x01\xea\x41\x83\x01\n(dialogflow.googleapis.com/EncryptionSpec\x12\x36projects/{project}/locations/{location}/encryptionSpec*\x0f\x65ncryptionSpecs2\x0e\x65ncryptionSpec\"k\n\x1fInitializeEncryptionSpecRequest\x12H\n\x0f\x65ncryption_spec\x18\x01 \x01(\x0b\x32*.google.cloud.dialogflow.v2.EncryptionSpecB\x03\xe0\x41\x02\"\"\n InitializeEncryptionSpecResponse\"u\n InitializeEncryptionSpecMetadata\x12Q\n\x07request\x18\x04 \x01(\x0b\x32;.google.cloud.dialogflow.v2.InitializeEncryptionSpecRequestB\x03\xe0\x41\x03\x32\xf5\x04\n\x15\x45ncryptionSpecService\x12\xb6\x01\n\x11GetEncryptionSpec\x12\x34.google.cloud.dialogflow.v2.GetEncryptionSpecRequest\x1a*.google.cloud.dialogflow.v2.EncryptionSpec\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v2/{name=projects/*/locations/*/encryptionSpec}\x12\xa8\x02\n\x18InitializeEncryptionSpec\x12;.google.cloud.dialogflow.v2.InitializeEncryptionSpecRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\xca\x41\x44\n InitializeEncryptionSpecResponse\x12 InitializeEncryptionSpecMetadata\xda\x41\x0f\x65ncryption_spec\x82\xd3\xe4\x93\x02P\"K/v2/{encryption_spec.name=projects/*/locations/*/encryptionSpec}:initialize:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x99\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x13\x45ncryptionSpecProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
         @@ -13,7 +13,7 @@ require 'google/protobuf/field_mask_pb' 
     | 
|
| 
       13 
13 
     | 
    
         
             
            require 'google/protobuf/timestamp_pb'
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
     | 
    
         
            -
            descriptor_data = "\n*google/cloud/dialogflow/v2/generator.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x16\x43reateGeneratorRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12=\n\tgenerator\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x19\n\x0cgenerator_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n\x13GetGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x15ListGeneratorsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\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\"l\n\x16ListGeneratorsResponse\x12\x39\n\ngenerators\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.Generator\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x44\x65leteGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x16UpdateGeneratorRequest\x12=\n\tgenerator\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x87\x02\n\x0cMessageEntry\x12@\n\x04role\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.v2.MessageEntry.RoleB\x03\xe0\x41\x01\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"]\n\x13\x43onversationContext\x12\x46\n\x0fmessage_entries\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.v2.MessageEntryB\x03\xe0\x41\x01\"q\n\x18SummarizationSectionList\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\"\xa0\x03\n\x0e\x46\x65wShotExample\x12R\n\x14\x63onversation_context\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.ConversationContextB\x03\xe0\x41\x01\x12R\n\nextra_info\x18\x04 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.FewShotExample.ExtraInfoEntryB\x03\xe0\x41\x01\x12Z\n\x1asummarization_section_list\x18\x06 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SummarizationSectionListH\x00\x12\x44\n\x06output\x18\x07 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestionB\x03\xe0\x41\x02\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10instruction_list\"\xc4\x01\n\x12InferenceParameter\x12#\n\x11max_output_tokens\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x17\n\x05top_p\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\x14\n\x12_max_output_tokensB\x0e\n\x0c_temperatureB\x08\n\x06_top_kB\x08\n\x06_top_p\"\ 
     | 
| 
      
 16 
     | 
    
         
            +
            descriptor_data = "\n*google/cloud/dialogflow/v2/generator.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x16\x43reateGeneratorRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12=\n\tgenerator\x18\x02 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x19\n\x0cgenerator_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"P\n\x13GetGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x15ListGeneratorsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\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\"l\n\x16ListGeneratorsResponse\x12\x39\n\ngenerators\x18\x01 \x03(\x0b\x32%.google.cloud.dialogflow.v2.Generator\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x44\x65leteGeneratorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#dialogflow.googleapis.com/Generator\"\x8d\x01\n\x16UpdateGeneratorRequest\x12=\n\tgenerator\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.v2.GeneratorB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x87\x02\n\x0cMessageEntry\x12@\n\x04role\x18\x01 \x01(\x0e\x32-.google.cloud.dialogflow.v2.MessageEntry.RoleB\x03\xe0\x41\x01\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rlanguage_code\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"P\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\"]\n\x13\x43onversationContext\x12\x46\n\x0fmessage_entries\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.v2.MessageEntryB\x03\xe0\x41\x01\"q\n\x18SummarizationSectionList\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\"\xa0\x03\n\x0e\x46\x65wShotExample\x12R\n\x14\x63onversation_context\x18\x03 \x01(\x0b\x32/.google.cloud.dialogflow.v2.ConversationContextB\x03\xe0\x41\x01\x12R\n\nextra_info\x18\x04 \x03(\x0b\x32\x39.google.cloud.dialogflow.v2.FewShotExample.ExtraInfoEntryB\x03\xe0\x41\x01\x12Z\n\x1asummarization_section_list\x18\x06 \x01(\x0b\x32\x34.google.cloud.dialogflow.v2.SummarizationSectionListH\x00\x12\x44\n\x06output\x18\x07 \x01(\x0b\x32/.google.cloud.dialogflow.v2.GeneratorSuggestionB\x03\xe0\x41\x02\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x12\n\x10instruction_list\"\xc4\x01\n\x12InferenceParameter\x12#\n\x11max_output_tokens\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0btemperature\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x17\n\x05top_k\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x17\n\x05top_p\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\x14\n\x12_max_output_tokensB\x0e\n\x0c_temperatureB\x08\n\x06_top_kB\x08\n\x06_top_p\"\xdc\x02\n\x14SummarizationSection\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndefinition\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x04type\x18\x03 \x01(\x0e\x32\x35.google.cloud.dialogflow.v2.SummarizationSection.TypeB\x03\xe0\x41\x01\"\xce\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tSITUATION\x10\x01\x12\n\n\x06\x41\x43TION\x10\x02\x12\x0e\n\nRESOLUTION\x10\x03\x12\x1b\n\x17REASON_FOR_CANCELLATION\x10\x04\x12\x19\n\x15\x43USTOMER_SATISFACTION\x10\x05\x12\x0c\n\x08\x45NTITIES\x10\x06\x12\x14\n\x10\x43USTOMER_DEFINED\x10\x07\x12\x15\n\x11SITUATION_CONCISE\x10\t\x12\x12\n\x0e\x41\x43TION_CONCISE\x10\n\"\xf2\x01\n\x14SummarizationContext\x12U\n\x16summarization_sections\x18\x01 \x03(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationSectionB\x03\xe0\x41\x01\x12J\n\x11\x66\x65w_shot_examples\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.v2.FewShotExampleB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14output_language_code\x18\x06 \x01(\tB\x03\xe0\x41\x01\"$\n\x0f\x46reeFormContext\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x9c\x05\n\tGenerator\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12H\n\x11\x66ree_form_context\x18\x0b \x01(\x0b\x32+.google.cloud.dialogflow.v2.FreeFormContextH\x00\x12Q\n\x15summarization_context\x18\r \x01(\x0b\x32\x30.google.cloud.dialogflow.v2.SummarizationContextH\x00\x12P\n\x13inference_parameter\x18\x04 \x01(\x0b\x32..google.cloud.dialogflow.v2.InferenceParameterB\x03\xe0\x41\x01\x12\x44\n\rtrigger_event\x18\x05 \x01(\x0e\x32(.google.cloud.dialogflow.v2.TriggerEventB\x03\xe0\x41\x01\x12\x1e\n\x0fpublished_model\x18\x0f \x01(\tB\x03\xe0\x41\x01H\x01\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x7f\xea\x41|\n#dialogflow.googleapis.com/Generator\x12>projects/{project}/locations/{location}/generators/{generator}*\ngenerators2\tgeneratorB\t\n\x07\x63ontextB\x12\n\x10\x66oundation_model\"+\n\x12\x46reeFormSuggestion\x12\x15\n\x08response\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xae\x01\n\x11SummarySuggestion\x12[\n\x10summary_sections\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.v2.SummarySuggestion.SummarySectionB\x03\xe0\x41\x02\x1a<\n\x0eSummarySection\x12\x14\n\x07section\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07summary\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xca\x01\n\x13GeneratorSuggestion\x12S\n\x14\x66ree_form_suggestion\x18\x01 \x01(\x0b\x32..google.cloud.dialogflow.v2.FreeFormSuggestionB\x03\xe0\x41\x01H\x00\x12P\n\x12summary_suggestion\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.v2.SummarySuggestionB\x03\xe0\x41\x01H\x00\x42\x0c\n\nsuggestion*}\n\x0cTriggerEvent\x12\x1d\n\x19TRIGGER_EVENT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45ND_OF_UTTERANCE\x10\x01\x12\x0f\n\x0bMANUAL_CALL\x10\x02\x12\x14\n\x10\x43USTOMER_MESSAGE\x10\x03\x12\x11\n\rAGENT_MESSAGE\x10\x04\x32\x86\t\n\nGenerators\x12\x81\x02\n\x0f\x43reateGenerator\x12\x32.google.cloud.dialogflow.v2.CreateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"\x92\x01\xda\x41\x1dparent,generator,generator_id\x82\xd3\xe4\x93\x02l\"./v2/{parent=projects/*/locations/*}/generators:\tgeneratorZ/\"\"/v2/{parent=projects/*}/generators:\tgenerator\x12\xa5\x01\n\x0cGetGenerator\x12/.google.cloud.dialogflow.v2.GetGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v2/{name=projects/*/locations/*/generators/*}\x12\xde\x01\n\x0eListGenerators\x12\x31.google.cloud.dialogflow.v2.ListGeneratorsRequest\x1a\x32.google.cloud.dialogflow.v2.ListGeneratorsResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02V\x12./v2/{parent=projects/*/locations/*}/generatorsZ$\x12\"/v2/{parent=projects/*}/generators\x12\x9c\x01\n\x0f\x44\x65leteGenerator\x12\x32.google.cloud.dialogflow.v2.DeleteGeneratorRequest\x1a\x16.google.protobuf.Empty\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v2/{name=projects/*/locations/*/generators/*}\x12\xd1\x01\n\x0fUpdateGenerator\x12\x32.google.cloud.dialogflow.v2.UpdateGeneratorRequest\x1a%.google.cloud.dialogflow.v2.Generator\"c\xda\x41\x15generator,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v2/{generator.name=projects/*/locations/*/generators/*}:\tgenerator\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x94\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0eGeneratorProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
         @@ -60,7 +60,9 @@ module Google 
     | 
|
| 
       60 
60 
     | 
    
         
             
                    SummarizationSection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationSection").msgclass
         
     | 
| 
       61 
61 
     | 
    
         
             
                    SummarizationSection::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationSection.Type").enummodule
         
     | 
| 
       62 
62 
     | 
    
         
             
                    SummarizationContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarizationContext").msgclass
         
     | 
| 
      
 63 
     | 
    
         
            +
                    FreeFormContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.FreeFormContext").msgclass
         
     | 
| 
       63 
64 
     | 
    
         
             
                    Generator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Generator").msgclass
         
     | 
| 
      
 65 
     | 
    
         
            +
                    FreeFormSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.FreeFormSuggestion").msgclass
         
     | 
| 
       64 
66 
     | 
    
         
             
                    SummarySuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarySuggestion").msgclass
         
     | 
| 
       65 
67 
     | 
    
         
             
                    SummarySuggestion::SummarySection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.SummarySuggestion.SummarySection").msgclass
         
     | 
| 
       66 
68 
     | 
    
         
             
                    GeneratorSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GeneratorSuggestion").msgclass
         
     | 
| 
         @@ -12,7 +12,7 @@ require 'google/protobuf/empty_pb' 
     | 
|
| 
       12 
12 
     | 
    
         
             
            require 'google/protobuf/field_mask_pb'
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            descriptor_data = "\n/google/cloud/dialogflow/v2/knowledge_base.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xfc\x01\n\rKnowledgeBase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x04 \x01(\t:\xaa\x01\xea\x41\xa6\x01\n\'dialogflow.googleapis.com/KnowledgeBase\x12\x32projects/{project}/knowledgeBases/{knowledge_base}\x12Gprojects/{project}/locations/{location}/knowledgeBases/{knowledge_base}\"\x93\x01\n\x19ListKnowledgeBasesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'dialogflow.googleapis.com/KnowledgeBase\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"y\n\x1aListKnowledgeBasesResponse\x12\x42\n\x0fknowledge_bases\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.v2.KnowledgeBase\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x17GetKnowledgeBaseRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'dialogflow.googleapis.com/KnowledgeBase\"\xa5\x01\n\x1a\x43reateKnowledgeBaseRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'dialogflow.googleapis.com/KnowledgeBase\x12\x46\n\x0eknowledge_base\x18\x02 \x01(\x0b\x32).google.cloud.dialogflow.v2.KnowledgeBaseB\x03\xe0\x41\x02\"o\n\x1a\x44\x65leteKnowledgeBaseRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'dialogflow.googleapis.com/KnowledgeBase\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x9a\x01\n\x1aUpdateKnowledgeBaseRequest\x12\x46\n\x0eknowledge_base\x18\x01 \x01(\x0b\x32).google.cloud.dialogflow.v2.KnowledgeBaseB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x32\xb4\r\n\x0eKnowledgeBases\x12\xa4\x02\n\x12ListKnowledgeBases\x12\x35.google.cloud.dialogflow.v2.ListKnowledgeBasesRequest\x1a\x36.google.cloud.dialogflow.v2.ListKnowledgeBasesResponse\"\x9e\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x8e\x01\x12&/v2/{parent=projects/*}/knowledgeBasesZ4\x12\x32/v2/{parent=projects/*/locations/*}/knowledgeBasesZ.\x12,/v2/{parent=projects/*/agent}/knowledgeBases\x12\x91\x02\n\x10GetKnowledgeBase\x12\x33.google.cloud.dialogflow.v2.GetKnowledgeBaseRequest\x1a).google.cloud.dialogflow.v2.KnowledgeBase\"\x9c\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8e\x01\x12&/v2/{name=projects/*/knowledgeBases/*}Z4\x12\x32/v2/{name=projects/*/locations/*/knowledgeBases/*}Z.\x12,/v2/{name=projects/*/agent/knowledgeBases/*}\x12\xd8\x02\n\x13\x43reateKnowledgeBase\x12\x36.google.cloud.dialogflow.v2.CreateKnowledgeBaseRequest\x1a).google.cloud.dialogflow.v2.KnowledgeBase\"\xdd\x01\xda\x41\x15parent,knowledge_base\x82\xd3\xe4\x93\x02\xbe\x01\"&/v2/{parent=projects/*}/knowledgeBases:\x0eknowledge_baseZD\"2/v2/{parent=projects/*/locations/*}/knowledgeBases:\x0eknowledge_baseZ>\",/v2/{parent=projects/*/agent}/knowledgeBases:\x0eknowledge_base\x12\x84\x02\n\x13\x44\x65leteKnowledgeBase\x12\x36.google.cloud.dialogflow.v2.DeleteKnowledgeBaseRequest\x1a\x16.google.protobuf.Empty\"\x9c\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8e\x01*&/v2/{name=projects/*/knowledgeBases/*}Z4*2/v2/{name=projects/*/locations/*/knowledgeBases/*}Z.*,/v2/{name=projects/*/agent/knowledgeBases/*}\x12\x8a\x03\n\x13UpdateKnowledgeBase\x12\x36.google.cloud.dialogflow.v2.UpdateKnowledgeBaseRequest\x1a).google.cloud.dialogflow.v2.KnowledgeBase\"\x8f\x02\xda\x41\x1aknowledge_base,update_mask\x82\xd3\xe4\x93\x02\xeb\x01\x32\x35/v2/{knowledge_base.name=projects/*/knowledgeBases/*}:\x0eknowledge_baseZS2A/v2/{knowledge_base.name=projects/*/locations/*/knowledgeBases/*}:\x0eknowledge_baseZM2;/v2/{knowledge_base.name=projects/*/agent/knowledgeBases/*}:\x0eknowledge_base\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\ 
     | 
| 
      
 15 
     | 
    
         
            +
            descriptor_data = "\n/google/cloud/dialogflow/v2/knowledge_base.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xfc\x01\n\rKnowledgeBase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x04 \x01(\t:\xaa\x01\xea\x41\xa6\x01\n\'dialogflow.googleapis.com/KnowledgeBase\x12\x32projects/{project}/knowledgeBases/{knowledge_base}\x12Gprojects/{project}/locations/{location}/knowledgeBases/{knowledge_base}\"\x93\x01\n\x19ListKnowledgeBasesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'dialogflow.googleapis.com/KnowledgeBase\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"y\n\x1aListKnowledgeBasesResponse\x12\x42\n\x0fknowledge_bases\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.v2.KnowledgeBase\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x17GetKnowledgeBaseRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'dialogflow.googleapis.com/KnowledgeBase\"\xa5\x01\n\x1a\x43reateKnowledgeBaseRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'dialogflow.googleapis.com/KnowledgeBase\x12\x46\n\x0eknowledge_base\x18\x02 \x01(\x0b\x32).google.cloud.dialogflow.v2.KnowledgeBaseB\x03\xe0\x41\x02\"o\n\x1a\x44\x65leteKnowledgeBaseRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'dialogflow.googleapis.com/KnowledgeBase\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x9a\x01\n\x1aUpdateKnowledgeBaseRequest\x12\x46\n\x0eknowledge_base\x18\x01 \x01(\x0b\x32).google.cloud.dialogflow.v2.KnowledgeBaseB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x32\xb4\r\n\x0eKnowledgeBases\x12\xa4\x02\n\x12ListKnowledgeBases\x12\x35.google.cloud.dialogflow.v2.ListKnowledgeBasesRequest\x1a\x36.google.cloud.dialogflow.v2.ListKnowledgeBasesResponse\"\x9e\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x8e\x01\x12&/v2/{parent=projects/*}/knowledgeBasesZ4\x12\x32/v2/{parent=projects/*/locations/*}/knowledgeBasesZ.\x12,/v2/{parent=projects/*/agent}/knowledgeBases\x12\x91\x02\n\x10GetKnowledgeBase\x12\x33.google.cloud.dialogflow.v2.GetKnowledgeBaseRequest\x1a).google.cloud.dialogflow.v2.KnowledgeBase\"\x9c\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8e\x01\x12&/v2/{name=projects/*/knowledgeBases/*}Z4\x12\x32/v2/{name=projects/*/locations/*/knowledgeBases/*}Z.\x12,/v2/{name=projects/*/agent/knowledgeBases/*}\x12\xd8\x02\n\x13\x43reateKnowledgeBase\x12\x36.google.cloud.dialogflow.v2.CreateKnowledgeBaseRequest\x1a).google.cloud.dialogflow.v2.KnowledgeBase\"\xdd\x01\xda\x41\x15parent,knowledge_base\x82\xd3\xe4\x93\x02\xbe\x01\"&/v2/{parent=projects/*}/knowledgeBases:\x0eknowledge_baseZD\"2/v2/{parent=projects/*/locations/*}/knowledgeBases:\x0eknowledge_baseZ>\",/v2/{parent=projects/*/agent}/knowledgeBases:\x0eknowledge_base\x12\x84\x02\n\x13\x44\x65leteKnowledgeBase\x12\x36.google.cloud.dialogflow.v2.DeleteKnowledgeBaseRequest\x1a\x16.google.protobuf.Empty\"\x9c\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8e\x01*&/v2/{name=projects/*/knowledgeBases/*}Z4*2/v2/{name=projects/*/locations/*/knowledgeBases/*}Z.*,/v2/{name=projects/*/agent/knowledgeBases/*}\x12\x8a\x03\n\x13UpdateKnowledgeBase\x12\x36.google.cloud.dialogflow.v2.UpdateKnowledgeBaseRequest\x1a).google.cloud.dialogflow.v2.KnowledgeBase\"\x8f\x02\xda\x41\x1aknowledge_base,update_mask\x82\xd3\xe4\x93\x02\xeb\x01\x32\x35/v2/{knowledge_base.name=projects/*/knowledgeBases/*}:\x0eknowledge_baseZS2A/v2/{knowledge_base.name=projects/*/locations/*/knowledgeBases/*}:\x0eknowledge_baseZM2;/v2/{knowledge_base.name=projects/*/agent/knowledgeBases/*}:\x0eknowledge_base\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\x98\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x12KnowledgeBaseProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       18 
18 
     | 
    
         |