google-apis-dialogflow_v3beta1 0.93.0 → 0.95.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.
@@ -174,8 +174,8 @@ module Google
174
174
  # @return [String]
175
175
  attr_accessor :no_speech_timeout
176
176
 
177
- # Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
178
- # timeout value.
177
+ # Use timeout based endpointing, interpreting endpointer sensitivity as seconds
178
+ # of timeout value.
179
179
  # Corresponds to the JSON property `useTimeoutBasedEndpointing`
180
180
  # @return [Boolean]
181
181
  attr_accessor :use_timeout_based_endpointing
@@ -547,6 +547,13 @@ module Google
547
547
  # @return [String]
548
548
  attr_accessor :data_store_type
549
549
 
550
+ # The document processing mode for the data store connection. Should only be set
551
+ # for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as
552
+ # DOCUMENTS, as this is the legacy mode.
553
+ # Corresponds to the JSON property `documentProcessingMode`
554
+ # @return [String]
555
+ attr_accessor :document_processing_mode
556
+
550
557
  def initialize(**args)
551
558
  update!(**args)
552
559
  end
@@ -555,6 +562,7 @@ module Google
555
562
  def update!(**args)
556
563
  @data_store = args[:data_store] if args.key?(:data_store)
557
564
  @data_store_type = args[:data_store_type] if args.key?(:data_store_type)
565
+ @document_processing_mode = args[:document_processing_mode] if args.key?(:document_processing_mode)
558
566
  end
559
567
  end
560
568
 
@@ -2134,7 +2142,7 @@ module Google
2134
2142
 
2135
2143
  # A list of transitions for the transition rules of this page. They route the
2136
2144
  # conversation to another page in the same flow, or another flow. When we are in
2137
- # a certain page, the TransitionRoutes are evalauted in the following order: *
2145
+ # a certain page, the TransitionRoutes are evaluated in the following order: *
2138
2146
  # TransitionRoutes defined in the page with intent specified. * TransitionRoutes
2139
2147
  # defined in the transition route groups with intent specified. *
2140
2148
  # TransitionRoutes defined in flow with intent specified. * TransitionRoutes
@@ -3390,7 +3398,7 @@ module Google
3390
3398
  # @return [String]
3391
3399
  attr_accessor :client_id
3392
3400
 
3393
- # Required. The client secret provided by the 3rd party platform.
3401
+ # Optional. The client secret provided by the 3rd party platform.
3394
3402
  # Corresponds to the JSON property `clientSecret`
3395
3403
  # @return [String]
3396
3404
  attr_accessor :client_secret
@@ -3947,8 +3955,8 @@ module Google
3947
3955
  # @return [String]
3948
3956
  attr_accessor :no_speech_timeout
3949
3957
 
3950
- # Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
3951
- # timeout value.
3958
+ # Use timeout based endpointing, interpreting endpointer sensitivity as seconds
3959
+ # of timeout value.
3952
3960
  # Corresponds to the JSON property `useTimeoutBasedEndpointing`
3953
3961
  # @return [Boolean]
3954
3962
  attr_accessor :use_timeout_based_endpointing
@@ -4254,6 +4262,11 @@ module Google
4254
4262
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings
4255
4263
  include Google::Apis::Core::Hashable
4256
4264
 
4265
+ # Integration settings for a Git service hosted on Cloud Run.
4266
+ # Corresponds to the JSON property `gitConnectionSettings`
4267
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings]
4268
+ attr_accessor :git_connection_settings
4269
+
4257
4270
  # Settings of integration with GitHub.
4258
4271
  # Corresponds to the JSON property `githubSettings`
4259
4272
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings]
@@ -4265,10 +4278,55 @@ module Google
4265
4278
 
4266
4279
  # Update properties of this object
4267
4280
  def update!(**args)
4281
+ @git_connection_settings = args[:git_connection_settings] if args.key?(:git_connection_settings)
4268
4282
  @github_settings = args[:github_settings] if args.key?(:github_settings)
4269
4283
  end
4270
4284
  end
4271
4285
 
4286
+ # Integration settings for a Git service hosted on Cloud Run.
4287
+ class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings
4288
+ include Google::Apis::Core::Hashable
4289
+
4290
+ # The name of the SecretManager secret version resource storing the git access
4291
+ # token. Format: `projects/`project`/secrets/`secret`/versions/`version``
4292
+ # Corresponds to the JSON property `accessTokenSecret`
4293
+ # @return [String]
4294
+ attr_accessor :access_token_secret
4295
+
4296
+ # Optional. List of branches configured for the repository.
4297
+ # Corresponds to the JSON property `branches`
4298
+ # @return [Array<String>]
4299
+ attr_accessor :branches
4300
+
4301
+ # Required. Display name for the repository
4302
+ # Corresponds to the JSON property `displayName`
4303
+ # @return [String]
4304
+ attr_accessor :display_name
4305
+
4306
+ # Required. Git server reporitory URI.
4307
+ # Corresponds to the JSON property `repositoryUri`
4308
+ # @return [String]
4309
+ attr_accessor :repository_uri
4310
+
4311
+ # Required. Default branch of the repository.
4312
+ # Corresponds to the JSON property `trackingBranch`
4313
+ # @return [String]
4314
+ attr_accessor :tracking_branch
4315
+
4316
+ def initialize(**args)
4317
+ update!(**args)
4318
+ end
4319
+
4320
+ # Update properties of this object
4321
+ def update!(**args)
4322
+ @access_token_secret = args[:access_token_secret] if args.key?(:access_token_secret)
4323
+ @branches = args[:branches] if args.key?(:branches)
4324
+ @display_name = args[:display_name] if args.key?(:display_name)
4325
+ @repository_uri = args[:repository_uri] if args.key?(:repository_uri)
4326
+ @tracking_branch = args[:tracking_branch] if args.key?(:tracking_branch)
4327
+ end
4328
+ end
4329
+
4272
4330
  # Settings of integration with GitHub.
4273
4331
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
4274
4332
  include Google::Apis::Core::Hashable
@@ -4629,7 +4687,7 @@ module Google
4629
4687
  include Google::Apis::Core::Hashable
4630
4688
 
4631
4689
  # Optional. Condition boost specifications. If a document matches multiple
4632
- # conditions in the specifictions, boost scores from these specifications are
4690
+ # conditions in the specifications, boost scores from these specifications are
4633
4691
  # all applied and combined in a non-linear way. Maximum number of specifications
4634
4692
  # is 20.
4635
4693
  # Corresponds to the JSON property `conditionBoostSpecs`
@@ -5604,6 +5662,13 @@ module Google
5604
5662
  # @return [String]
5605
5663
  attr_accessor :data_store_type
5606
5664
 
5665
+ # The document processing mode for the data store connection. Should only be set
5666
+ # for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is considered as
5667
+ # DOCUMENTS, as this is the legacy mode.
5668
+ # Corresponds to the JSON property `documentProcessingMode`
5669
+ # @return [String]
5670
+ attr_accessor :document_processing_mode
5671
+
5607
5672
  def initialize(**args)
5608
5673
  update!(**args)
5609
5674
  end
@@ -5612,6 +5677,7 @@ module Google
5612
5677
  def update!(**args)
5613
5678
  @data_store = args[:data_store] if args.key?(:data_store)
5614
5679
  @data_store_type = args[:data_store_type] if args.key?(:data_store_type)
5680
+ @document_processing_mode = args[:document_processing_mode] if args.key?(:document_processing_mode)
5615
5681
  end
5616
5682
  end
5617
5683
 
@@ -7264,38 +7330,6 @@ module Google
7264
7330
  end
7265
7331
  end
7266
7332
 
7267
- # The request message for Playbooks.ExportPlaybook.
7268
- class GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest
7269
- include Google::Apis::Core::Hashable
7270
-
7271
- # Optional. The data format of the exported agent. If not specified, `BLOB` is
7272
- # assumed.
7273
- # Corresponds to the JSON property `dataFormat`
7274
- # @return [String]
7275
- attr_accessor :data_format
7276
-
7277
- # Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
7278
- # URI to export the playbook to. The format of this URI must be `gs:///`. If
7279
- # left unspecified, the serialized playbook is returned inline. Dialogflow
7280
- # performs a write operation for the Cloud Storage object on the caller's behalf,
7281
- # so your request authentication must have write permissions for the object.
7282
- # For more information, see [Dialogflow access control](https://cloud.google.com/
7283
- # dialogflow/cx/docs/concept/access-control#storage).
7284
- # Corresponds to the JSON property `playbookUri`
7285
- # @return [String]
7286
- attr_accessor :playbook_uri
7287
-
7288
- def initialize(**args)
7289
- update!(**args)
7290
- end
7291
-
7292
- # Update properties of this object
7293
- def update!(**args)
7294
- @data_format = args[:data_format] if args.key?(:data_format)
7295
- @playbook_uri = args[:playbook_uri] if args.key?(:playbook_uri)
7296
- end
7297
- end
7298
-
7299
7333
  # Metadata returned for the TestCases.ExportTestCases long running operation.
7300
7334
  # This message currently has no fields.
7301
7335
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
@@ -7546,7 +7580,7 @@ module Google
7546
7580
  # every page's transition routes and can support use cases such as the user
7547
7581
  # saying "help" or "can I talk to a human?", which can be handled in a common
7548
7582
  # way regardless of the current page. Transition routes defined in the page have
7549
- # higher priority than those defined in the flow. TransitionRoutes are evalauted
7583
+ # higher priority than those defined in the flow. TransitionRoutes are evaluated
7550
7584
  # in the following order: * TransitionRoutes with intent specified. *
7551
7585
  # TransitionRoutes with only condition specified. TransitionRoutes with intent
7552
7586
  # specified are inherited by pages in the flow.
@@ -8477,6 +8511,110 @@ module Google
8477
8511
  end
8478
8512
  end
8479
8513
 
8514
+ # Handler can be used to define custom logic to be executed based on the user-
8515
+ # specified triggers.
8516
+ class GoogleCloudDialogflowCxV3beta1Handler
8517
+ include Google::Apis::Core::Hashable
8518
+
8519
+ # A handler that is triggered by the specified event.
8520
+ # Corresponds to the JSON property `eventHandler`
8521
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerEventHandler]
8522
+ attr_accessor :event_handler
8523
+
8524
+ # A handler that is triggered on the specific lifecycle_stage of the playbook
8525
+ # execution.
8526
+ # Corresponds to the JSON property `lifecycleHandler`
8527
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler]
8528
+ attr_accessor :lifecycle_handler
8529
+
8530
+ def initialize(**args)
8531
+ update!(**args)
8532
+ end
8533
+
8534
+ # Update properties of this object
8535
+ def update!(**args)
8536
+ @event_handler = args[:event_handler] if args.key?(:event_handler)
8537
+ @lifecycle_handler = args[:lifecycle_handler] if args.key?(:lifecycle_handler)
8538
+ end
8539
+ end
8540
+
8541
+ # A handler that is triggered by the specified event.
8542
+ class GoogleCloudDialogflowCxV3beta1HandlerEventHandler
8543
+ include Google::Apis::Core::Hashable
8544
+
8545
+ # Optional. The condition that must be satisfied to trigger this handler.
8546
+ # Corresponds to the JSON property `condition`
8547
+ # @return [String]
8548
+ attr_accessor :condition
8549
+
8550
+ # Required. The name of the event that triggers this handler.
8551
+ # Corresponds to the JSON property `event`
8552
+ # @return [String]
8553
+ attr_accessor :event
8554
+
8555
+ # A fulfillment can do one or more of the following actions at the same time: *
8556
+ # Generate rich message responses. * Set parameter values. * Call the webhook.
8557
+ # Fulfillments can be called at various stages in the Page or Form lifecycle.
8558
+ # For example, when a DetectIntentRequest drives a session to enter a new page,
8559
+ # the page's entry fulfillment can add a static response to the QueryResult in
8560
+ # the returning DetectIntentResponse, call the webhook (for example, to load
8561
+ # user data from a database), or both.
8562
+ # Corresponds to the JSON property `fulfillment`
8563
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment]
8564
+ attr_accessor :fulfillment
8565
+
8566
+ def initialize(**args)
8567
+ update!(**args)
8568
+ end
8569
+
8570
+ # Update properties of this object
8571
+ def update!(**args)
8572
+ @condition = args[:condition] if args.key?(:condition)
8573
+ @event = args[:event] if args.key?(:event)
8574
+ @fulfillment = args[:fulfillment] if args.key?(:fulfillment)
8575
+ end
8576
+ end
8577
+
8578
+ # A handler that is triggered on the specific lifecycle_stage of the playbook
8579
+ # execution.
8580
+ class GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler
8581
+ include Google::Apis::Core::Hashable
8582
+
8583
+ # Optional. The condition that must be satisfied to trigger this handler.
8584
+ # Corresponds to the JSON property `condition`
8585
+ # @return [String]
8586
+ attr_accessor :condition
8587
+
8588
+ # A fulfillment can do one or more of the following actions at the same time: *
8589
+ # Generate rich message responses. * Set parameter values. * Call the webhook.
8590
+ # Fulfillments can be called at various stages in the Page or Form lifecycle.
8591
+ # For example, when a DetectIntentRequest drives a session to enter a new page,
8592
+ # the page's entry fulfillment can add a static response to the QueryResult in
8593
+ # the returning DetectIntentResponse, call the webhook (for example, to load
8594
+ # user data from a database), or both.
8595
+ # Corresponds to the JSON property `fulfillment`
8596
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment]
8597
+ attr_accessor :fulfillment
8598
+
8599
+ # Required. The name of the lifecycle stage that triggers this handler.
8600
+ # Supported values: * `playbook-start` * `pre-action-selection` * `pre-action-
8601
+ # execution`
8602
+ # Corresponds to the JSON property `lifecycleStage`
8603
+ # @return [String]
8604
+ attr_accessor :lifecycle_stage
8605
+
8606
+ def initialize(**args)
8607
+ update!(**args)
8608
+ end
8609
+
8610
+ # Update properties of this object
8611
+ def update!(**args)
8612
+ @condition = args[:condition] if args.key?(:condition)
8613
+ @fulfillment = args[:fulfillment] if args.key?(:fulfillment)
8614
+ @lifecycle_stage = args[:lifecycle_stage] if args.key?(:lifecycle_stage)
8615
+ end
8616
+ end
8617
+
8480
8618
  # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
8481
8619
  class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
8482
8620
  include Google::Apis::Core::Hashable
@@ -8761,40 +8899,6 @@ module Google
8761
8899
  end
8762
8900
  end
8763
8901
 
8764
- # The request message for Playbooks.ImportPlaybook.
8765
- class GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest
8766
- include Google::Apis::Core::Hashable
8767
-
8768
- # The playbook import strategy used for resource conflict resolution associated
8769
- # with an ImportPlaybookRequest.
8770
- # Corresponds to the JSON property `importStrategy`
8771
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy]
8772
- attr_accessor :import_strategy
8773
-
8774
- # Uncompressed raw byte content for playbook.
8775
- # Corresponds to the JSON property `playbookContent`
8776
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
8777
- # @return [String]
8778
- attr_accessor :playbook_content
8779
-
8780
- # [Dialogflow access control] (https://cloud.google.com/dialogflow/cx/docs/
8781
- # concept/access-control#storage).
8782
- # Corresponds to the JSON property `playbookUri`
8783
- # @return [String]
8784
- attr_accessor :playbook_uri
8785
-
8786
- def initialize(**args)
8787
- update!(**args)
8788
- end
8789
-
8790
- # Update properties of this object
8791
- def update!(**args)
8792
- @import_strategy = args[:import_strategy] if args.key?(:import_strategy)
8793
- @playbook_content = args[:playbook_content] if args.key?(:playbook_content)
8794
- @playbook_uri = args[:playbook_uri] if args.key?(:playbook_uri)
8795
- end
8796
- end
8797
-
8798
8902
  # Metadata returned for the TestCases.ImportTestCases long running operation.
8799
8903
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
8800
8904
  include Google::Apis::Core::Hashable
@@ -9906,6 +10010,33 @@ module Google
9906
10010
  end
9907
10011
  end
9908
10012
 
10013
+ # The response message for Tools.ListToolVersions.
10014
+ class GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse
10015
+ include Google::Apis::Core::Hashable
10016
+
10017
+ # Token to retrieve the next page of results, or empty if there are no more
10018
+ # results in the list.
10019
+ # Corresponds to the JSON property `nextPageToken`
10020
+ # @return [String]
10021
+ attr_accessor :next_page_token
10022
+
10023
+ # The list of tool versions. There will be a maximum number of items returned
10024
+ # based on the page_size field in the request.
10025
+ # Corresponds to the JSON property `toolVersions`
10026
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion>]
10027
+ attr_accessor :tool_versions
10028
+
10029
+ def initialize(**args)
10030
+ update!(**args)
10031
+ end
10032
+
10033
+ # Update properties of this object
10034
+ def update!(**args)
10035
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10036
+ @tool_versions = args[:tool_versions] if args.key?(:tool_versions)
10037
+ end
10038
+ end
10039
+
9909
10040
  # The response message for Tools.ListTools.
9910
10041
  class GoogleCloudDialogflowCxV3beta1ListToolsResponse
9911
10042
  include Google::Apis::Core::Hashable
@@ -10426,7 +10557,7 @@ module Google
10426
10557
 
10427
10558
  # A list of transitions for the transition rules of this page. They route the
10428
10559
  # conversation to another page in the same flow, or another flow. When we are in
10429
- # a certain page, the TransitionRoutes are evalauted in the following order: *
10560
+ # a certain page, the TransitionRoutes are evaluated in the following order: *
10430
10561
  # TransitionRoutes defined in the page with intent specified. * TransitionRoutes
10431
10562
  # defined in the transition route groups with intent specified. *
10432
10563
  # TransitionRoutes defined in flow with intent specified. * TransitionRoutes
@@ -10643,10 +10774,18 @@ module Google
10643
10774
  attr_accessor :display_name
10644
10775
 
10645
10776
  # Required. High level description of the goal the playbook intend to accomplish.
10777
+ # A goal should be concise since it's visible to other playbooks that may
10778
+ # reference this playbook.
10646
10779
  # Corresponds to the JSON property `goal`
10647
10780
  # @return [String]
10648
10781
  attr_accessor :goal
10649
10782
 
10783
+ # Optional. A list of registered handlers to execute based on the specified
10784
+ # triggers.
10785
+ # Corresponds to the JSON property `handlers`
10786
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler>]
10787
+ attr_accessor :handlers
10788
+
10650
10789
  # Optional. Defined structured input parameters for this playbook.
10651
10790
  # Corresponds to the JSON property `inputParameterDefinitions`
10652
10791
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>]
@@ -10717,6 +10856,7 @@ module Google
10717
10856
  @create_time = args[:create_time] if args.key?(:create_time)
10718
10857
  @display_name = args[:display_name] if args.key?(:display_name)
10719
10858
  @goal = args[:goal] if args.key?(:goal)
10859
+ @handlers = args[:handlers] if args.key?(:handlers)
10720
10860
  @input_parameter_definitions = args[:input_parameter_definitions] if args.key?(:input_parameter_definitions)
10721
10861
  @instruction = args[:instruction] if args.key?(:instruction)
10722
10862
  @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
@@ -10731,43 +10871,6 @@ module Google
10731
10871
  end
10732
10872
  end
10733
10873
 
10734
- # The playbook import strategy used for resource conflict resolution associated
10735
- # with an ImportPlaybookRequest.
10736
- class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
10737
- include Google::Apis::Core::Hashable
10738
-
10739
- # Optional. Specifies the import strategy used when resolving conflicts with the
10740
- # main playbook. If not specified, 'CREATE_NEW' is assumed.
10741
- # Corresponds to the JSON property `mainPlaybookImportStrategy`
10742
- # @return [String]
10743
- attr_accessor :main_playbook_import_strategy
10744
-
10745
- # Optional. Specifies the import strategy used when resolving referenced
10746
- # playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.
10747
- # Corresponds to the JSON property `nestedResourceImportStrategy`
10748
- # @return [String]
10749
- attr_accessor :nested_resource_import_strategy
10750
-
10751
- # Optional. Specifies the import strategy used when resolving tool conflicts. If
10752
- # not specified, 'CREATE_NEW' is assumed. This will be applied after the main
10753
- # playbook and nested resource import strategies, meaning if the playbook that
10754
- # references the tool is skipped, the tool will also be skipped.
10755
- # Corresponds to the JSON property `toolImportStrategy`
10756
- # @return [String]
10757
- attr_accessor :tool_import_strategy
10758
-
10759
- def initialize(**args)
10760
- update!(**args)
10761
- end
10762
-
10763
- # Update properties of this object
10764
- def update!(**args)
10765
- @main_playbook_import_strategy = args[:main_playbook_import_strategy] if args.key?(:main_playbook_import_strategy)
10766
- @nested_resource_import_strategy = args[:nested_resource_import_strategy] if args.key?(:nested_resource_import_strategy)
10767
- @tool_import_strategy = args[:tool_import_strategy] if args.key?(:tool_import_strategy)
10768
- end
10769
- end
10770
-
10771
10874
  # Input of the playbook.
10772
10875
  class GoogleCloudDialogflowCxV3beta1PlaybookInput
10773
10876
  include Google::Apis::Core::Hashable
@@ -10798,6 +10901,13 @@ module Google
10798
10901
  class GoogleCloudDialogflowCxV3beta1PlaybookInstruction
10799
10902
  include Google::Apis::Core::Hashable
10800
10903
 
10904
+ # General guidelines for the playbook. These are unstructured instructions that
10905
+ # are not directly part of the goal, e.g. "Always be polite". It's valid for
10906
+ # this text to be long and used instead of steps altogether.
10907
+ # Corresponds to the JSON property `guidelines`
10908
+ # @return [String]
10909
+ attr_accessor :guidelines
10910
+
10801
10911
  # Ordered list of step by step execution instructions to accomplish target goal.
10802
10912
  # Corresponds to the JSON property `steps`
10803
10913
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookStep>]
@@ -10809,6 +10919,7 @@ module Google
10809
10919
 
10810
10920
  # Update properties of this object
10811
10921
  def update!(**args)
10922
+ @guidelines = args[:guidelines] if args.key?(:guidelines)
10812
10923
  @steps = args[:steps] if args.key?(:steps)
10813
10924
  end
10814
10925
  end
@@ -11888,8 +11999,8 @@ module Google
11888
11999
  end
11889
12000
  end
11890
12001
 
11891
- # The request message for Playbooks.RestorePlaybookVersion.
11892
- class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest
12002
+ # The request message for Tools.RestoreToolVersion.
12003
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest
11893
12004
  include Google::Apis::Core::Hashable
11894
12005
 
11895
12006
  def initialize(**args)
@@ -11901,19 +12012,17 @@ module Google
11901
12012
  end
11902
12013
  end
11903
12014
 
11904
- # The response message for Playbooks.RestorePlaybookVersion.
11905
- class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
12015
+ # The response message for Tools.RestoreToolVersion.
12016
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse
11906
12017
  include Google::Apis::Core::Hashable
11907
12018
 
11908
- # Playbook is the basic building block to instruct the LLM how to execute a
11909
- # certain task. A playbook consists of a goal to accomplish, an optional list of
11910
- # step by step instructions (the step instruction may refers to name of the
11911
- # custom or default plugin tools to use) to perform the task, a list of
11912
- # contextual input data to be passed in at the beginning of the invoked, and a
11913
- # list of output parameters to store the playbook result.
11914
- # Corresponds to the JSON property `playbook`
11915
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook]
11916
- attr_accessor :playbook
12019
+ # A tool provides a list of actions which are available to the Playbook to
12020
+ # attain its goal. A Tool consists of a description of the tool's usage and a
12021
+ # specification of the tool which contains the schema and authentication
12022
+ # information.
12023
+ # Corresponds to the JSON property `tool`
12024
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool]
12025
+ attr_accessor :tool
11917
12026
 
11918
12027
  def initialize(**args)
11919
12028
  update!(**args)
@@ -11921,7 +12030,7 @@ module Google
11921
12030
 
11922
12031
  # Update properties of this object
11923
12032
  def update!(**args)
11924
- @playbook = args[:playbook] if args.key?(:playbook)
12033
+ @tool = args[:tool] if args.key?(:tool)
11925
12034
  end
11926
12035
  end
11927
12036
 
@@ -12187,12 +12296,18 @@ module Google
12187
12296
  class GoogleCloudDialogflowCxV3beta1SearchConfig
12188
12297
  include Google::Apis::Core::Hashable
12189
12298
 
12190
- # Optional. Boosting configuration for the datastores.
12299
+ # Optional. Boosting configuration for the datastores. Maps from datastore name
12300
+ # to their boost configuration. Do not specify more than one BoostSpecs for each
12301
+ # datastore name. If multiple BoostSpecs are provided for the same datastore
12302
+ # name, the behavior is undefined.
12191
12303
  # Corresponds to the JSON property `boostSpecs`
12192
12304
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecs>]
12193
12305
  attr_accessor :boost_specs
12194
12306
 
12195
- # Optional. Filter configuration for the datastores.
12307
+ # Optional. Filter configuration for the datastores. Maps from datastore name to
12308
+ # the filter expression for that datastore. Do not specify more than one
12309
+ # FilterSpecs for each datastore name. If multiple FilterSpecs are provided for
12310
+ # the same datastore name, the behavior is undefined.
12196
12311
  # Corresponds to the JSON property `filterSpecs`
12197
12312
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FilterSpecs>]
12198
12313
  attr_accessor :filter_specs
@@ -13025,7 +13140,8 @@ module Google
13025
13140
  class GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig
13026
13141
  include Google::Apis::Core::Hashable
13027
13142
 
13028
- # Required. The API key.
13143
+ # Optional. The API key. If the `secret_version_for_api_key` field is set, this
13144
+ # field will be ignored.
13029
13145
  # Corresponds to the JSON property `apiKey`
13030
13146
  # @return [String]
13031
13147
  attr_accessor :api_key
@@ -13058,7 +13174,7 @@ module Google
13058
13174
  class GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig
13059
13175
  include Google::Apis::Core::Hashable
13060
13176
 
13061
- # Required. The text token appended to the text `Bearer` to the request
13177
+ # Optional. The text token appended to the text `Bearer` to the request
13062
13178
  # Authorization header. [Session parameters reference](https://cloud.google.com/
13063
13179
  # dialogflow/cx/docs/concept/parameter#session-ref) can be used to pass the
13064
13180
  # token dynamically, e.g. `$session.params.parameter-id`.
@@ -13085,7 +13201,8 @@ module Google
13085
13201
  # @return [String]
13086
13202
  attr_accessor :client_id
13087
13203
 
13088
- # Required. The client secret from the OAuth provider.
13204
+ # Optional. The client secret from the OAuth provider. If the `
13205
+ # secret_version_for_client_secret` field is set, this field will be ignored.
13089
13206
  # Corresponds to the JSON property `clientSecret`
13090
13207
  # @return [String]
13091
13208
  attr_accessor :client_secret
@@ -13479,6 +13596,53 @@ module Google
13479
13596
  end
13480
13597
  end
13481
13598
 
13599
+ # Tool version is a snapshot of the tool at certain timestamp.
13600
+ class GoogleCloudDialogflowCxV3beta1ToolVersion
13601
+ include Google::Apis::Core::Hashable
13602
+
13603
+ # Output only. Last time the tool version was created or modified.
13604
+ # Corresponds to the JSON property `createTime`
13605
+ # @return [String]
13606
+ attr_accessor :create_time
13607
+
13608
+ # Required. The display name of the tool version.
13609
+ # Corresponds to the JSON property `displayName`
13610
+ # @return [String]
13611
+ attr_accessor :display_name
13612
+
13613
+ # Identifier. The unique identifier of the tool version. Format: `projects//
13614
+ # locations//agents//tools//versions/`.
13615
+ # Corresponds to the JSON property `name`
13616
+ # @return [String]
13617
+ attr_accessor :name
13618
+
13619
+ # A tool provides a list of actions which are available to the Playbook to
13620
+ # attain its goal. A Tool consists of a description of the tool's usage and a
13621
+ # specification of the tool which contains the schema and authentication
13622
+ # information.
13623
+ # Corresponds to the JSON property `tool`
13624
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool]
13625
+ attr_accessor :tool
13626
+
13627
+ # Output only. Last time the tool version was created or modified.
13628
+ # Corresponds to the JSON property `updateTime`
13629
+ # @return [String]
13630
+ attr_accessor :update_time
13631
+
13632
+ def initialize(**args)
13633
+ update!(**args)
13634
+ end
13635
+
13636
+ # Update properties of this object
13637
+ def update!(**args)
13638
+ @create_time = args[:create_time] if args.key?(:create_time)
13639
+ @display_name = args[:display_name] if args.key?(:display_name)
13640
+ @name = args[:name] if args.key?(:name)
13641
+ @tool = args[:tool] if args.key?(:tool)
13642
+ @update_time = args[:update_time] if args.key?(:update_time)
13643
+ end
13644
+ end
13645
+
13482
13646
  # The request message for Flows.TrainFlow.
13483
13647
  class GoogleCloudDialogflowCxV3beta1TrainFlowRequest
13484
13648
  include Google::Apis::Core::Hashable
@@ -14392,7 +14556,7 @@ module Google
14392
14556
  # @return [String]
14393
14557
  attr_accessor :client_id
14394
14558
 
14395
- # Required. The client secret provided by the 3rd party platform.
14559
+ # Optional. The client secret provided by the 3rd party platform.
14396
14560
  # Corresponds to the JSON property `clientSecret`
14397
14561
  # @return [String]
14398
14562
  attr_accessor :client_secret
@@ -17262,7 +17426,8 @@ module Google
17262
17426
  # @return [String]
17263
17427
  attr_accessor :participant_role
17264
17428
 
17265
- # Optional. The time when the message was sent.
17429
+ # Optional. The time when the message was sent. For voice messages, this is the
17430
+ # time when an utterance started.
17266
17431
  # Corresponds to the JSON property `sendTime`
17267
17432
  # @return [String]
17268
17433
  attr_accessor :send_time
@@ -20976,7 +21141,8 @@ module Google
20976
21141
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
20977
21142
  attr_accessor :response_messages
20978
21143
 
20979
- # Optional. The time when the message was sent.
21144
+ # Optional. The time when the message was sent. For voice messages, this is the
21145
+ # time when an utterance started.
20980
21146
  # Corresponds to the JSON property `sendTime`
20981
21147
  # @return [String]
20982
21148
  attr_accessor :send_time
@@ -21263,9 +21429,9 @@ module Google
21263
21429
  # Dialogflow only uses this to determine which conversations were handed off to
21264
21430
  # a human agent for measurement purposes. What else to do with this signal is up
21265
21431
  # to you and your handoff procedures. You may set this, for example: * In the
21266
- # entry fulfillment of a CX Page if entering the page indicates something went
21267
- # extremely wrong in the conversation. * In a webhook response when you
21268
- # determine that the customer issue can only be handled by a human.
21432
+ # entry fulfillment of a Dialogflow CX Page if entering the page indicates
21433
+ # something went extremely wrong in the conversation. * In a webhook response
21434
+ # when you determine that the customer issue can only be handled by a human.
21269
21435
  # Corresponds to the JSON property `liveAgentHandoff`
21270
21436
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
21271
21437
  attr_accessor :live_agent_handoff
@@ -21324,9 +21490,9 @@ module Google
21324
21490
  # Dialogflow only uses this to determine which conversations were handed off to
21325
21491
  # a human agent for measurement purposes. What else to do with this signal is up
21326
21492
  # to you and your handoff procedures. You may set this, for example: * In the
21327
- # entry fulfillment of a CX Page if entering the page indicates something went
21328
- # extremely wrong in the conversation. * In a webhook response when you
21329
- # determine that the customer issue can only be handled by a human.
21493
+ # entry fulfillment of a Dialogflow CX Page if entering the page indicates
21494
+ # something went extremely wrong in the conversation. * In a webhook response
21495
+ # when you determine that the customer issue can only be handled by a human.
21330
21496
  class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
21331
21497
  include Google::Apis::Core::Hashable
21332
21498