google-cloud-dialogflow-v2 1.2.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/v2/agent_pb.rb +1 -1
  3. data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +1 -1
  4. data/lib/google/cloud/dialogflow/v2/context_pb.rb +1 -1
  5. data/lib/google/cloud/dialogflow/v2/conversation_dataset_pb.rb +1 -1
  6. data/lib/google/cloud/dialogflow/v2/conversation_event_pb.rb +1 -1
  7. data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +1 -1
  8. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +13 -1
  9. data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +1 -1
  10. data/lib/google/cloud/dialogflow/v2/conversation_profiles/paths.rb +19 -0
  11. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +27 -3
  12. data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +64 -0
  13. data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +27 -3
  14. data/lib/google/cloud/dialogflow/v2/entity_type_pb.rb +1 -1
  15. data/lib/google/cloud/dialogflow/v2/environment_pb.rb +1 -1
  16. data/lib/google/cloud/dialogflow/v2/fulfillment_pb.rb +1 -1
  17. data/lib/google/cloud/dialogflow/v2/gcs_pb.rb +1 -1
  18. data/lib/google/cloud/dialogflow/v2/generators/client.rb +3 -3
  19. data/lib/google/cloud/dialogflow/v2/generators/rest/client.rb +3 -3
  20. data/lib/google/cloud/dialogflow/v2/human_agent_assistant_event_pb.rb +1 -1
  21. data/lib/google/cloud/dialogflow/v2/intent_pb.rb +1 -1
  22. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +1 -1
  23. data/lib/google/cloud/dialogflow/v2/participants/paths.rb +19 -0
  24. data/lib/google/cloud/dialogflow/v2/session_entity_type_pb.rb +1 -1
  25. data/lib/google/cloud/dialogflow/v2/sessions/paths.rb +19 -0
  26. data/lib/google/cloud/dialogflow/v2/validation_result_pb.rb +1 -1
  27. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  28. data/lib/google/cloud/dialogflow/v2/version_pb.rb +1 -1
  29. data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +1 -1
  30. data/proto_docs/google/api/client.rb +20 -0
  31. data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +6 -0
  32. data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +219 -2
  33. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +4 -0
  34. data/proto_docs/google/cloud/dialogflow/v2/generator.rb +3 -4
  35. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +3 -0
  36. metadata +3 -3
@@ -11,7 +11,7 @@ require 'google/cloud/dialogflow/v2/session_entity_type_pb'
11
11
  require 'google/protobuf/struct_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n(google/cloud/dialogflow/v2/webhook.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a(google/cloud/dialogflow/v2/context.proto\x1a\'google/cloud/dialogflow/v2/intent.proto\x1a(google/cloud/dialogflow/v2/session.proto\x1a\x34google/cloud/dialogflow/v2/session_entity_type.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xd6\x01\n\x0eWebhookRequest\x12\x0f\n\x07session\x18\x04 \x01(\t\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12=\n\x0cquery_result\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.QueryResult\x12_\n\x1eoriginal_detect_intent_request\x18\x03 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2.OriginalDetectIntentRequest\"\x80\x03\n\x0fWebhookResponse\x12\x18\n\x10\x66ulfillment_text\x18\x01 \x01(\t\x12H\n\x14\x66ulfillment_messages\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.v2.Intent.Message\x12\x0e\n\x06source\x18\x03 \x01(\t\x12(\n\x07payload\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12<\n\x0foutput_contexts\x18\x05 \x03(\x0b\x32#.google.cloud.dialogflow.v2.Context\x12\x44\n\x14\x66ollowup_event_input\x18\x06 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EventInput\x12K\n\x14session_entity_types\x18\n \x03(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityType\"h\n\x1bOriginalDetectIntentRequest\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12(\n\x07payload\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x95\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0cWebhookProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"
14
+ descriptor_data = "\n(google/cloud/dialogflow/v2/webhook.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a(google/cloud/dialogflow/v2/context.proto\x1a\'google/cloud/dialogflow/v2/intent.proto\x1a(google/cloud/dialogflow/v2/session.proto\x1a\x34google/cloud/dialogflow/v2/session_entity_type.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xd6\x01\n\x0eWebhookRequest\x12\x0f\n\x07session\x18\x04 \x01(\t\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12=\n\x0cquery_result\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.v2.QueryResult\x12_\n\x1eoriginal_detect_intent_request\x18\x03 \x01(\x0b\x32\x37.google.cloud.dialogflow.v2.OriginalDetectIntentRequest\"\x80\x03\n\x0fWebhookResponse\x12\x18\n\x10\x66ulfillment_text\x18\x01 \x01(\t\x12H\n\x14\x66ulfillment_messages\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.v2.Intent.Message\x12\x0e\n\x06source\x18\x03 \x01(\t\x12(\n\x07payload\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12<\n\x0foutput_contexts\x18\x05 \x03(\x0b\x32#.google.cloud.dialogflow.v2.Context\x12\x44\n\x14\x66ollowup_event_input\x18\x06 \x01(\x0b\x32&.google.cloud.dialogflow.v2.EventInput\x12K\n\x14session_entity_types\x18\n \x03(\x0b\x32-.google.cloud.dialogflow.v2.SessionEntityType\"h\n\x1bOriginalDetectIntentRequest\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12(\n\x07payload\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x92\x01\n\x1e\x63om.google.cloud.dialogflow.v2B\x0cWebhookProtoP\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
 
@@ -28,6 +28,9 @@ module Google
28
28
  # @!attribute [rw] destinations
29
29
  # @return [::Array<::Google::Api::ClientLibraryDestination>]
30
30
  # The destination where API teams want this client library to be published.
31
+ # @!attribute [rw] selective_gapic_generation
32
+ # @return [::Google::Api::SelectiveGapicGeneration]
33
+ # Configuration for which RPCs should be generated in the GAPIC client.
31
34
  class CommonLanguageSettings
32
35
  include ::Google::Protobuf::MessageExts
33
36
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -212,6 +215,12 @@ module Google
212
215
  # enabled. By default, asynchronous REST clients will not be generated.
213
216
  # This feature will be enabled by default 1 month after launching the
214
217
  # feature in preview packages.
218
+ # @!attribute [rw] protobuf_pythonic_types_enabled
219
+ # @return [::Boolean]
220
+ # Enables generation of protobuf code using new types that are more
221
+ # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
+ # enabled by default 1 month after launching the feature in preview
223
+ # packages.
215
224
  class ExperimentalFeatures
216
225
  include ::Google::Protobuf::MessageExts
217
226
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -375,6 +384,17 @@ module Google
375
384
  end
376
385
  end
377
386
 
387
+ # This message is used to configure the generation of a subset of the RPCs in
388
+ # a service for client libraries.
389
+ # @!attribute [rw] methods
390
+ # @return [::Array<::String>]
391
+ # An allowlist of the fully qualified names of RPCs that should be included
392
+ # on public client surfaces.
393
+ class SelectiveGapicGeneration
394
+ include ::Google::Protobuf::MessageExts
395
+ extend ::Google::Protobuf::MessageExts::ClassMethods
396
+ end
397
+
378
398
  # The organization for which the client libraries are being published.
379
399
  # Affects the url where generated docs are published, etc.
380
400
  module ClientLibraryOrganization
@@ -159,6 +159,9 @@ module Google
159
159
  # @!attribute [rw] enable_automatic_punctuation
160
160
  # @return [::Boolean]
161
161
  # Enable automatic punctuation option at the speech backend.
162
+ # @!attribute [rw] phrase_sets
163
+ # @return [::Array<::String>]
164
+ # A collection of phrase set resources to use for speech adaptation.
162
165
  # @!attribute [rw] opt_out_conformer_model_migration
163
166
  # @return [::Boolean]
164
167
  # If `true`, the request will opt out for STT conformer model migration.
@@ -291,6 +294,9 @@ module Google
291
294
  # [Agent Speech
292
295
  # settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech)
293
296
  # for model selection.
297
+ # @!attribute [rw] phrase_sets
298
+ # @return [::Array<::String>]
299
+ # List of names of Cloud Speech phrase sets that are used for transcription.
294
300
  # @!attribute [rw] audio_encoding
295
301
  # @return [::Google::Cloud::Dialogflow::V2::AudioEncoding]
296
302
  # Audio encoding of the audio content to process.
@@ -116,9 +116,9 @@ module Google
116
116
  # Google. Only set it if you cannot wait for the response to return a
117
117
  # auto-generated one to you.
118
118
  #
119
- # The conversation ID must be compliant with the regression fomula
119
+ # The conversation ID must be compliant with the regression formula
120
120
  # `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64].
121
- # If the field is provided, the caller is resposible for
121
+ # If the field is provided, the caller is responsible for
122
122
  # 1. the uniqueness of the ID, otherwise the request will be rejected.
123
123
  # 2. the consistency for whether to use custom ID or not under a project to
124
124
  # better ensure uniqueness.
@@ -496,9 +496,223 @@ module Google
496
496
  # triggered.
497
497
  # Format: `projects/<Project ID>/locations/<Location
498
498
  # ID>/conversations/<Conversation ID>/messages/<Message ID>`.
499
+ # @!attribute [rw] query_source
500
+ # @return [::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::QuerySource]
501
+ # Optional. The source of the query in the request.
502
+ # @!attribute [rw] end_user_metadata
503
+ # @return [::Google::Protobuf::Struct]
504
+ # Optional. Information about the end-user to improve the relevance and
505
+ # accuracy of generative answers.
506
+ #
507
+ # This will be interpreted and used by a language model, so, for good
508
+ # results, the data should be self-descriptive, and in a simple structure.
509
+ #
510
+ # Example:
511
+ #
512
+ # ```json
513
+ # {
514
+ # "subscription plan": "Business Premium Plus",
515
+ # "devices owned": [
516
+ # \\{"model": "Google Pixel 7"},
517
+ # \\{"model": "Google Pixel Tablet"}
518
+ # ]
519
+ # }
520
+ # ```
521
+ # @!attribute [rw] search_config
522
+ # @return [::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig]
523
+ # Optional. Configuration specific to search queries with data stores.
524
+ # @!attribute [rw] exact_search
525
+ # @return [::Boolean]
526
+ # Optional. Whether to search the query exactly without query rewrite.
499
527
  class SearchKnowledgeRequest
500
528
  include ::Google::Protobuf::MessageExts
501
529
  extend ::Google::Protobuf::MessageExts::ClassMethods
530
+
531
+ # Configuration specific to search queries with data stores.
532
+ # @!attribute [rw] boost_specs
533
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs>]
534
+ # Optional. Boost specifications for data stores.
535
+ # @!attribute [rw] filter_specs
536
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::FilterSpecs>]
537
+ # Optional. Filter specification for data store queries.
538
+ class SearchConfig
539
+ include ::Google::Protobuf::MessageExts
540
+ extend ::Google::Protobuf::MessageExts::ClassMethods
541
+
542
+ # Boost specifications for data stores.
543
+ # @!attribute [rw] data_stores
544
+ # @return [::Array<::String>]
545
+ # Optional. Data Stores where the boosting configuration is applied. The
546
+ # full names of the referenced data stores. Formats:
547
+ # `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
548
+ # `projects/{project}/locations/{location}/dataStores/{data_store}`
549
+ # @!attribute [rw] spec
550
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec>]
551
+ # Optional. A list of boosting specifications.
552
+ class BoostSpecs
553
+ include ::Google::Protobuf::MessageExts
554
+ extend ::Google::Protobuf::MessageExts::ClassMethods
555
+
556
+ # Boost specification to boost certain documents.
557
+ # A copy of google.cloud.discoveryengine.v1main.BoostSpec, field
558
+ # documentation is available at
559
+ # https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec
560
+ # @!attribute [rw] condition_boost_specs
561
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec>]
562
+ # Optional. Condition boost specifications. If a document matches
563
+ # multiple conditions in the specifictions, boost scores from these
564
+ # specifications are all applied and combined in a non-linear way.
565
+ # Maximum number of specifications is 20.
566
+ class BoostSpec
567
+ include ::Google::Protobuf::MessageExts
568
+ extend ::Google::Protobuf::MessageExts::ClassMethods
569
+
570
+ # Boost applies to documents which match a condition.
571
+ # @!attribute [rw] condition
572
+ # @return [::String]
573
+ # Optional. An expression which specifies a boost condition. The
574
+ # syntax and supported fields are the same as a filter expression.
575
+ # Examples:
576
+ #
577
+ # * To boost documents with document ID "doc_1" or "doc_2", and
578
+ # color
579
+ # "Red" or "Blue":
580
+ # * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
581
+ # @!attribute [rw] boost
582
+ # @return [::Float]
583
+ # Optional. Strength of the condition boost, which should be in [-1,
584
+ # 1]. Negative boost means demotion. Default is 0.0.
585
+ #
586
+ # Setting to 1.0 gives the document a big promotion. However, it does
587
+ # not necessarily mean that the boosted document will be the top
588
+ # result at all times, nor that other documents will be excluded.
589
+ # Results could still be shown even when none of them matches the
590
+ # condition. And results that are significantly more relevant to the
591
+ # search query can still trump your heavily favored but irrelevant
592
+ # documents.
593
+ #
594
+ # Setting to -1.0 gives the document a big demotion. However, results
595
+ # that are deeply relevant might still be shown. The document will
596
+ # have an upstream battle to get a fairly high ranking, but it is not
597
+ # blocked out completely.
598
+ #
599
+ # Setting to 0.0 means no boost applied. The boosting condition is
600
+ # ignored.
601
+ # @!attribute [rw] boost_control_spec
602
+ # @return [::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec]
603
+ # Optional. Complex specification for custom ranking based on
604
+ # customer defined attribute value.
605
+ class ConditionBoostSpec
606
+ include ::Google::Protobuf::MessageExts
607
+ extend ::Google::Protobuf::MessageExts::ClassMethods
608
+
609
+ # Specification for custom ranking based on customer specified
610
+ # attribute
611
+ # value. It provides more controls for customized ranking than the
612
+ # simple (condition, boost) combination above.
613
+ # @!attribute [rw] field_name
614
+ # @return [::String]
615
+ # Optional. The name of the field whose value will be used to
616
+ # determine the boost amount.
617
+ # @!attribute [rw] attribute_type
618
+ # @return [::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::AttributeType]
619
+ # Optional. The attribute type to be used to determine the boost
620
+ # amount. The attribute value can be derived from the field value
621
+ # of the specified field_name. In the case of numerical it is
622
+ # straightforward i.e. attribute_value = numerical_field_value. In
623
+ # the case of freshness however, attribute_value = (time.now() -
624
+ # datetime_field_value).
625
+ # @!attribute [rw] interpolation_type
626
+ # @return [::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::InterpolationType]
627
+ # Optional. The interpolation type to be applied to connect the
628
+ # control points listed below.
629
+ # @!attribute [rw] control_points
630
+ # @return [::Array<::Google::Cloud::Dialogflow::V2::SearchKnowledgeRequest::SearchConfig::BoostSpecs::BoostSpec::ConditionBoostSpec::BoostControlSpec::ControlPoint>]
631
+ # Optional. The control points used to define the curve. The
632
+ # monotonic function (defined through the interpolation_type above)
633
+ # passes through the control points listed here.
634
+ class BoostControlSpec
635
+ include ::Google::Protobuf::MessageExts
636
+ extend ::Google::Protobuf::MessageExts::ClassMethods
637
+
638
+ # The control points used to define the curve. The curve defined
639
+ # through these control points can only be monotonically increasing
640
+ # or decreasing(constant values are acceptable).
641
+ class ControlPoint
642
+ include ::Google::Protobuf::MessageExts
643
+ extend ::Google::Protobuf::MessageExts::ClassMethods
644
+ end
645
+
646
+ # The attribute(or function) for which the custom ranking is to be
647
+ # applied.
648
+ module AttributeType
649
+ # Unspecified AttributeType.
650
+ ATTRIBUTE_TYPE_UNSPECIFIED = 0
651
+
652
+ # The value of the numerical field will be used to dynamically
653
+ # update the boost amount. In this case, the attribute_value (the
654
+ # x value) of the control point will be the actual value of the
655
+ # numerical field for which the boost_amount is specified.
656
+ NUMERICAL = 1
657
+
658
+ # For the freshness use case the attribute value will be the
659
+ # duration between the current time and the date in the datetime
660
+ # field specified. The value must be formatted as an XSD
661
+ # `dayTimeDuration` value (a restricted subset of an ISO 8601
662
+ # duration value). The pattern for this is:
663
+ # `[nD][T[nH][nM][nS]]`. E.g. `5D`, `3DT12H30M`, `T24H`.
664
+ FRESHNESS = 2
665
+ end
666
+
667
+ # The interpolation type to be applied. Default will be linear
668
+ # (Piecewise Linear).
669
+ module InterpolationType
670
+ # Interpolation type is unspecified. In this case, it defaults to
671
+ # Linear.
672
+ INTERPOLATION_TYPE_UNSPECIFIED = 0
673
+
674
+ # Piecewise linear interpolation will be applied.
675
+ LINEAR = 1
676
+ end
677
+ end
678
+ end
679
+ end
680
+ end
681
+
682
+ # Filter specification for data store queries.
683
+ # @!attribute [rw] data_stores
684
+ # @return [::Array<::String>]
685
+ # Optional. The data store where the filter configuration is applied.
686
+ # Full resource name of data store, such as
687
+ # projects/\\{project}/locations/\\{location}/collections/\\{collectionId}/
688
+ # dataStores/\\{dataStoreId}.
689
+ # @!attribute [rw] filter
690
+ # @return [::String]
691
+ # Optional. The filter expression to be applied.
692
+ # Expression syntax is documented at
693
+ # https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax
694
+ class FilterSpecs
695
+ include ::Google::Protobuf::MessageExts
696
+ extend ::Google::Protobuf::MessageExts::ClassMethods
697
+ end
698
+ end
699
+
700
+ # The source of the query. We use QuerySource to distinguish queries directly
701
+ # entered by agents and suggested queries from
702
+ # {::Google::Cloud::Dialogflow::V2::Participants::Client#suggest_knowledge_assist Participants.SuggestKnowledgeAssist}.
703
+ # If SUGGESTED_QUERY source is specified, we will treat it as a continuation
704
+ # of a SuggestKnowledgeAssist call.
705
+ module QuerySource
706
+ # Unknown query source.
707
+ QUERY_SOURCE_UNSPECIFIED = 0
708
+
709
+ # The query is from agents.
710
+ AGENT_QUERY = 1
711
+
712
+ # The query is a suggested query from
713
+ # {::Google::Cloud::Dialogflow::V2::Participants::Client#suggest_knowledge_assist Participants.SuggestKnowledgeAssist}.
714
+ SUGGESTED_QUERY = 2
715
+ end
502
716
  end
503
717
 
504
718
  # The response message for
@@ -545,6 +759,9 @@ module Google
545
759
  # @!attribute [rw] snippet
546
760
  # @return [::String]
547
761
  # The relevant snippet of the article.
762
+ # @!attribute [rw] metadata
763
+ # @return [::Google::Protobuf::Struct]
764
+ # Metadata associated with the article.
548
765
  class AnswerSource
549
766
  include ::Google::Protobuf::MessageExts
550
767
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -370,6 +370,10 @@ module Google
370
370
  # @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::Sections]
371
371
  # Optional. The customized sections chosen to return when requesting a
372
372
  # summary of a conversation.
373
+ # @!attribute [rw] context_size
374
+ # @return [::Integer]
375
+ # Optional. The number of recent messages to include in the context.
376
+ # Supported features: KNOWLEDGE_ASSIST.
373
377
  class SuggestionQueryConfig
374
378
  include ::Google::Protobuf::MessageExts
375
379
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -34,10 +34,10 @@ module Google
34
34
  # Optional. The ID to use for the generator, which will become the final
35
35
  # component of the generator's resource name.
36
36
  #
37
- # The generator ID must be compliant with the regression fomula
37
+ # The generator ID must be compliant with the regression formula
38
38
  # `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64].
39
39
  # If the field is not provided, an Id will be auto-generated.
40
- # If the field is provided, the caller is resposible for
40
+ # If the field is provided, the caller is responsible for
41
41
  # 1. the uniqueness of the ID, otherwise the request will be rejected.
42
42
  # 2. the consistency for whether to use custom ID or not under a project to
43
43
  # better ensure uniqueness.
@@ -50,7 +50,7 @@ module Google
50
50
  # @!attribute [rw] name
51
51
  # @return [::String]
52
52
  # Required. The generator resource name to retrieve. Format:
53
- # `projects/<Project ID>/locations/<Location ID>`/generators/<Generator ID>`
53
+ # `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
54
54
  class GetGeneratorRequest
55
55
  include ::Google::Protobuf::MessageExts
56
56
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -165,7 +165,6 @@ module Google
165
165
 
166
166
  # Providing examples in the generator (i.e. building a few-shot generator)
167
167
  # helps convey the desired format of the LLM response.
168
- # NEXT_ID: 10
169
168
  # @!attribute [rw] conversation_context
170
169
  # @return [::Google::Cloud::Dialogflow::V2::ConversationContext]
171
170
  # Optional. Conversation transcripts.
@@ -1147,6 +1147,9 @@ module Google
1147
1147
  # @!attribute [rw] title
1148
1148
  # @return [::String]
1149
1149
  # Title of the document.
1150
+ # @!attribute [rw] metadata
1151
+ # @return [::Google::Protobuf::Struct]
1152
+ # Metadata of the document.
1150
1153
  class Snippet
1151
1154
  include ::Google::Protobuf::MessageExts
1152
1155
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-30 00:00:00.000000000 Z
11
+ date: 2024-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -337,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
337
337
  - !ruby/object:Gem::Version
338
338
  version: '0'
339
339
  requirements: []
340
- rubygems_version: 3.5.6
340
+ rubygems_version: 3.5.22
341
341
  signing_key:
342
342
  specification_version: 4
343
343
  summary: Builds conversational interfaces (for example, chatbots, and voice-powered