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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.93.0"
19
+ GEM_VERSION = "0.95.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250103"
25
+ REVISION = "20250305"
26
26
  end
27
27
  end
28
28
  end
@@ -682,6 +682,12 @@ module Google
682
682
  include Google::Apis::Core::JsonObjectSupport
683
683
  end
684
684
 
685
+ class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
685
691
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
686
692
  class Representation < Google::Apis::Core::JsonRepresentation; end
687
693
 
@@ -1156,12 +1162,6 @@ module Google
1156
1162
  include Google::Apis::Core::JsonObjectSupport
1157
1163
  end
1158
1164
 
1159
- class GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest
1160
- class Representation < Google::Apis::Core::JsonRepresentation; end
1161
-
1162
- include Google::Apis::Core::JsonObjectSupport
1163
- end
1164
-
1165
1165
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
1166
1166
  class Representation < Google::Apis::Core::JsonRepresentation; end
1167
1167
 
@@ -1336,6 +1336,24 @@ module Google
1336
1336
  include Google::Apis::Core::JsonObjectSupport
1337
1337
  end
1338
1338
 
1339
+ class GoogleCloudDialogflowCxV3beta1Handler
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1345
+ class GoogleCloudDialogflowCxV3beta1HandlerEventHandler
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1351
+ class GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler
1352
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1353
+
1354
+ include Google::Apis::Core::JsonObjectSupport
1355
+ end
1356
+
1339
1357
  class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
1340
1358
  class Representation < Google::Apis::Core::JsonRepresentation; end
1341
1359
 
@@ -1396,12 +1414,6 @@ module Google
1396
1414
  include Google::Apis::Core::JsonObjectSupport
1397
1415
  end
1398
1416
 
1399
- class GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest
1400
- class Representation < Google::Apis::Core::JsonRepresentation; end
1401
-
1402
- include Google::Apis::Core::JsonObjectSupport
1403
- end
1404
-
1405
1417
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
1406
1418
  class Representation < Google::Apis::Core::JsonRepresentation; end
1407
1419
 
@@ -1612,6 +1624,12 @@ module Google
1612
1624
  include Google::Apis::Core::JsonObjectSupport
1613
1625
  end
1614
1626
 
1627
+ class GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse
1628
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1629
+
1630
+ include Google::Apis::Core::JsonObjectSupport
1631
+ end
1632
+
1615
1633
  class GoogleCloudDialogflowCxV3beta1ListToolsResponse
1616
1634
  class Representation < Google::Apis::Core::JsonRepresentation; end
1617
1635
 
@@ -1726,12 +1744,6 @@ module Google
1726
1744
  include Google::Apis::Core::JsonObjectSupport
1727
1745
  end
1728
1746
 
1729
- class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
1730
- class Representation < Google::Apis::Core::JsonRepresentation; end
1731
-
1732
- include Google::Apis::Core::JsonObjectSupport
1733
- end
1734
-
1735
1747
  class GoogleCloudDialogflowCxV3beta1PlaybookInput
1736
1748
  class Representation < Google::Apis::Core::JsonRepresentation; end
1737
1749
 
@@ -1870,13 +1882,13 @@ module Google
1870
1882
  include Google::Apis::Core::JsonObjectSupport
1871
1883
  end
1872
1884
 
1873
- class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest
1885
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest
1874
1886
  class Representation < Google::Apis::Core::JsonRepresentation; end
1875
1887
 
1876
1888
  include Google::Apis::Core::JsonObjectSupport
1877
1889
  end
1878
1890
 
1879
- class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
1891
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse
1880
1892
  class Representation < Google::Apis::Core::JsonRepresentation; end
1881
1893
 
1882
1894
  include Google::Apis::Core::JsonObjectSupport
@@ -2176,6 +2188,12 @@ module Google
2176
2188
  include Google::Apis::Core::JsonObjectSupport
2177
2189
  end
2178
2190
 
2191
+ class GoogleCloudDialogflowCxV3beta1ToolVersion
2192
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2193
+
2194
+ include Google::Apis::Core::JsonObjectSupport
2195
+ end
2196
+
2179
2197
  class GoogleCloudDialogflowCxV3beta1TrainFlowRequest
2180
2198
  class Representation < Google::Apis::Core::JsonRepresentation; end
2181
2199
 
@@ -3732,6 +3750,7 @@ module Google
3732
3750
  class Representation < Google::Apis::Core::JsonRepresentation
3733
3751
  property :data_store, as: 'dataStore'
3734
3752
  property :data_store_type, as: 'dataStoreType'
3753
+ property :document_processing_mode, as: 'documentProcessingMode'
3735
3754
  end
3736
3755
  end
3737
3756
 
@@ -4713,11 +4732,24 @@ module Google
4713
4732
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings
4714
4733
  # @private
4715
4734
  class Representation < Google::Apis::Core::JsonRepresentation
4735
+ property :git_connection_settings, as: 'gitConnectionSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings::Representation
4736
+
4716
4737
  property :github_settings, as: 'githubSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings::Representation
4717
4738
 
4718
4739
  end
4719
4740
  end
4720
4741
 
4742
+ class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings
4743
+ # @private
4744
+ class Representation < Google::Apis::Core::JsonRepresentation
4745
+ property :access_token_secret, as: 'accessTokenSecret'
4746
+ collection :branches, as: 'branches'
4747
+ property :display_name, as: 'displayName'
4748
+ property :repository_uri, as: 'repositoryUri'
4749
+ property :tracking_branch, as: 'trackingBranch'
4750
+ end
4751
+ end
4752
+
4721
4753
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
4722
4754
  # @private
4723
4755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5087,6 +5119,7 @@ module Google
5087
5119
  class Representation < Google::Apis::Core::JsonRepresentation
5088
5120
  property :data_store, as: 'dataStore'
5089
5121
  property :data_store_type, as: 'dataStoreType'
5122
+ property :document_processing_mode, as: 'documentProcessingMode'
5090
5123
  end
5091
5124
  end
5092
5125
 
@@ -5536,14 +5569,6 @@ module Google
5536
5569
  end
5537
5570
  end
5538
5571
 
5539
- class GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest
5540
- # @private
5541
- class Representation < Google::Apis::Core::JsonRepresentation
5542
- property :data_format, as: 'dataFormat'
5543
- property :playbook_uri, as: 'playbookUri'
5544
- end
5545
- end
5546
-
5547
5572
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
5548
5573
  # @private
5549
5574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5851,6 +5876,36 @@ module Google
5851
5876
  end
5852
5877
  end
5853
5878
 
5879
+ class GoogleCloudDialogflowCxV3beta1Handler
5880
+ # @private
5881
+ class Representation < Google::Apis::Core::JsonRepresentation
5882
+ property :event_handler, as: 'eventHandler', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerEventHandler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerEventHandler::Representation
5883
+
5884
+ property :lifecycle_handler, as: 'lifecycleHandler', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler::Representation
5885
+
5886
+ end
5887
+ end
5888
+
5889
+ class GoogleCloudDialogflowCxV3beta1HandlerEventHandler
5890
+ # @private
5891
+ class Representation < Google::Apis::Core::JsonRepresentation
5892
+ property :condition, as: 'condition'
5893
+ property :event, as: 'event'
5894
+ property :fulfillment, as: 'fulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
5895
+
5896
+ end
5897
+ end
5898
+
5899
+ class GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler
5900
+ # @private
5901
+ class Representation < Google::Apis::Core::JsonRepresentation
5902
+ property :condition, as: 'condition'
5903
+ property :fulfillment, as: 'fulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
5904
+
5905
+ property :lifecycle_stage, as: 'lifecycleStage'
5906
+ end
5907
+ end
5908
+
5854
5909
  class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
5855
5910
  # @private
5856
5911
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5936,16 +5991,6 @@ module Google
5936
5991
  end
5937
5992
  end
5938
5993
 
5939
- class GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest
5940
- # @private
5941
- class Representation < Google::Apis::Core::JsonRepresentation
5942
- property :import_strategy, as: 'importStrategy', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy::Representation
5943
-
5944
- property :playbook_content, :base64 => true, as: 'playbookContent'
5945
- property :playbook_uri, as: 'playbookUri'
5946
- end
5947
- end
5948
-
5949
5994
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
5950
5995
  # @private
5951
5996
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6269,6 +6314,15 @@ module Google
6269
6314
  end
6270
6315
  end
6271
6316
 
6317
+ class GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse
6318
+ # @private
6319
+ class Representation < Google::Apis::Core::JsonRepresentation
6320
+ property :next_page_token, as: 'nextPageToken'
6321
+ collection :tool_versions, as: 'toolVersions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion::Representation
6322
+
6323
+ end
6324
+ end
6325
+
6272
6326
  class GoogleCloudDialogflowCxV3beta1ListToolsResponse
6273
6327
  # @private
6274
6328
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6461,6 +6515,8 @@ module Google
6461
6515
  property :create_time, as: 'createTime'
6462
6516
  property :display_name, as: 'displayName'
6463
6517
  property :goal, as: 'goal'
6518
+ collection :handlers, as: 'handlers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler::Representation
6519
+
6464
6520
  collection :input_parameter_definitions, as: 'inputParameterDefinitions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition::Representation
6465
6521
 
6466
6522
  property :instruction, as: 'instruction', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInstruction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInstruction::Representation
@@ -6480,15 +6536,6 @@ module Google
6480
6536
  end
6481
6537
  end
6482
6538
 
6483
- class GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
6484
- # @private
6485
- class Representation < Google::Apis::Core::JsonRepresentation
6486
- property :main_playbook_import_strategy, as: 'mainPlaybookImportStrategy'
6487
- property :nested_resource_import_strategy, as: 'nestedResourceImportStrategy'
6488
- property :tool_import_strategy, as: 'toolImportStrategy'
6489
- end
6490
- end
6491
-
6492
6539
  class GoogleCloudDialogflowCxV3beta1PlaybookInput
6493
6540
  # @private
6494
6541
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6500,6 +6547,7 @@ module Google
6500
6547
  class GoogleCloudDialogflowCxV3beta1PlaybookInstruction
6501
6548
  # @private
6502
6549
  class Representation < Google::Apis::Core::JsonRepresentation
6550
+ property :guidelines, as: 'guidelines'
6503
6551
  collection :steps, as: 'steps', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookStep, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookStep::Representation
6504
6552
 
6505
6553
  end
@@ -6765,16 +6813,16 @@ module Google
6765
6813
  end
6766
6814
  end
6767
6815
 
6768
- class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest
6816
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest
6769
6817
  # @private
6770
6818
  class Representation < Google::Apis::Core::JsonRepresentation
6771
6819
  end
6772
6820
  end
6773
6821
 
6774
- class GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
6822
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse
6775
6823
  # @private
6776
6824
  class Representation < Google::Apis::Core::JsonRepresentation
6777
- property :playbook, as: 'playbook', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook::Representation
6825
+ property :tool, as: 'tool', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool::Representation
6778
6826
 
6779
6827
  end
6780
6828
  end
@@ -7233,6 +7281,18 @@ module Google
7233
7281
  end
7234
7282
  end
7235
7283
 
7284
+ class GoogleCloudDialogflowCxV3beta1ToolVersion
7285
+ # @private
7286
+ class Representation < Google::Apis::Core::JsonRepresentation
7287
+ property :create_time, as: 'createTime'
7288
+ property :display_name, as: 'displayName'
7289
+ property :name, as: 'name'
7290
+ property :tool, as: 'tool', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool::Representation
7291
+
7292
+ property :update_time, as: 'updateTime'
7293
+ end
7294
+ end
7295
+
7236
7296
  class GoogleCloudDialogflowCxV3beta1TrainFlowRequest
7237
7297
  # @private
7238
7298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3658,41 +3658,6 @@ module Google
3658
3658
  execute_or_queue_command(command, &block)
3659
3659
  end
3660
3660
 
3661
- # Exports the specified playbook to a binary file. Note that resources (e.g.
3662
- # examples, tools) that the playbook references will also be exported.
3663
- # @param [String] name
3664
- # Required. The name of the playbook to export. Format: `projects//locations//
3665
- # agents//playbooks/`.
3666
- # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest] google_cloud_dialogflow_cx_v3beta1_export_playbook_request_object
3667
- # @param [String] fields
3668
- # Selector specifying which fields to include in a partial response.
3669
- # @param [String] quota_user
3670
- # Available to use for quota purposes for server-side applications. Can be any
3671
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3672
- # @param [Google::Apis::RequestOptions] options
3673
- # Request-specific options
3674
- #
3675
- # @yield [result, err] Result & error if block supplied
3676
- # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
3677
- # @yieldparam err [StandardError] error object if request failed
3678
- #
3679
- # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
3680
- #
3681
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3682
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3683
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3684
- def export_project_location_agent_playbook(name, google_cloud_dialogflow_cx_v3beta1_export_playbook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3685
- command = make_simple_command(:post, 'v3beta1/{+name}:export', options)
3686
- command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest::Representation
3687
- command.request_object = google_cloud_dialogflow_cx_v3beta1_export_playbook_request_object
3688
- command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
3689
- command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
3690
- command.params['name'] = name unless name.nil?
3691
- command.query['fields'] = fields unless fields.nil?
3692
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3693
- execute_or_queue_command(command, &block)
3694
- end
3695
-
3696
3661
  # Retrieves the specified Playbook.
3697
3662
  # @param [String] name
3698
3663
  # Required. The name of the playbook. Format: `projects//locations//agents//
@@ -3724,40 +3689,6 @@ module Google
3724
3689
  execute_or_queue_command(command, &block)
3725
3690
  end
3726
3691
 
3727
- # Imports the specified playbook to the specified agent from a binary file.
3728
- # @param [String] parent
3729
- # Required. The agent to import the playbook into. Format: `projects//locations//
3730
- # agents/`.
3731
- # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest] google_cloud_dialogflow_cx_v3beta1_import_playbook_request_object
3732
- # @param [String] fields
3733
- # Selector specifying which fields to include in a partial response.
3734
- # @param [String] quota_user
3735
- # Available to use for quota purposes for server-side applications. Can be any
3736
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3737
- # @param [Google::Apis::RequestOptions] options
3738
- # Request-specific options
3739
- #
3740
- # @yield [result, err] Result & error if block supplied
3741
- # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
3742
- # @yieldparam err [StandardError] error object if request failed
3743
- #
3744
- # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
3745
- #
3746
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3747
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3748
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3749
- def import_project_location_agent_playbook(parent, google_cloud_dialogflow_cx_v3beta1_import_playbook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3750
- command = make_simple_command(:post, 'v3beta1/{+parent}/playbooks:import', options)
3751
- command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest::Representation
3752
- command.request_object = google_cloud_dialogflow_cx_v3beta1_import_playbook_request_object
3753
- command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
3754
- command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
3755
- command.params['parent'] = parent unless parent.nil?
3756
- command.query['fields'] = fields unless fields.nil?
3757
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3758
- execute_or_queue_command(command, &block)
3759
- end
3760
-
3761
3692
  # Returns a list of playbooks in the specified agent.
3762
3693
  # @param [String] parent
3763
3694
  # Required. The agent to list playbooks from. Format: `projects//locations//
@@ -4145,41 +4076,6 @@ module Google
4145
4076
  execute_or_queue_command(command, &block)
4146
4077
  end
4147
4078
 
4148
- # Retrieves the specified version of the Playbook and stores it as the current
4149
- # playbook draft, returning the playbook with resources updated.
4150
- # @param [String] name
4151
- # Required. The name of the playbook version. Format: `projects//locations//
4152
- # agents//playbooks//versions/`.
4153
- # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest] google_cloud_dialogflow_cx_v3beta1_restore_playbook_version_request_object
4154
- # @param [String] fields
4155
- # Selector specifying which fields to include in a partial response.
4156
- # @param [String] quota_user
4157
- # Available to use for quota purposes for server-side applications. Can be any
4158
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4159
- # @param [Google::Apis::RequestOptions] options
4160
- # Request-specific options
4161
- #
4162
- # @yield [result, err] Result & error if block supplied
4163
- # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse] parsed result object
4164
- # @yieldparam err [StandardError] error object if request failed
4165
- #
4166
- # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse]
4167
- #
4168
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4169
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4170
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4171
- def restore_project_location_agent_playbook_version(name, google_cloud_dialogflow_cx_v3beta1_restore_playbook_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4172
- command = make_simple_command(:post, 'v3beta1/{+name}:restore', options)
4173
- command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionRequest::Representation
4174
- command.request_object = google_cloud_dialogflow_cx_v3beta1_restore_playbook_version_request_object
4175
- command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse::Representation
4176
- command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestorePlaybookVersionResponse
4177
- command.params['name'] = name unless name.nil?
4178
- command.query['fields'] = fields unless fields.nil?
4179
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4180
- execute_or_queue_command(command, &block)
4181
- end
4182
-
4183
4079
  # Processes a natural language query and returns structured, actionable data as
4184
4080
  # a result. This method is not idempotent, because it may cause session entity
4185
4081
  # types to be updated, which in turn might affect results of future queries.
@@ -5230,6 +5126,181 @@ module Google
5230
5126
  execute_or_queue_command(command, &block)
5231
5127
  end
5232
5128
 
5129
+ # Creates a version for the specified Tool.
5130
+ # @param [String] parent
5131
+ # Required. The tool to create a version for. Format: `projects//locations//
5132
+ # agents//tools/`.
5133
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion] google_cloud_dialogflow_cx_v3beta1_tool_version_object
5134
+ # @param [String] fields
5135
+ # Selector specifying which fields to include in a partial response.
5136
+ # @param [String] quota_user
5137
+ # Available to use for quota purposes for server-side applications. Can be any
5138
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5139
+ # @param [Google::Apis::RequestOptions] options
5140
+ # Request-specific options
5141
+ #
5142
+ # @yield [result, err] Result & error if block supplied
5143
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion] parsed result object
5144
+ # @yieldparam err [StandardError] error object if request failed
5145
+ #
5146
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion]
5147
+ #
5148
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5149
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5150
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5151
+ def create_project_location_agent_tool_version(parent, google_cloud_dialogflow_cx_v3beta1_tool_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5152
+ command = make_simple_command(:post, 'v3beta1/{+parent}/versions', options)
5153
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion::Representation
5154
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_tool_version_object
5155
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion::Representation
5156
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion
5157
+ command.params['parent'] = parent unless parent.nil?
5158
+ command.query['fields'] = fields unless fields.nil?
5159
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5160
+ execute_or_queue_command(command, &block)
5161
+ end
5162
+
5163
+ # Deletes the specified version of the Tool.
5164
+ # @param [String] name
5165
+ # Required. The name of the tool version to delete. Format: `projects//locations/
5166
+ # /agents//tools//versions/`.
5167
+ # @param [Boolean] force
5168
+ # Optional. This field has no effect for Tools not being used. For Tools that
5169
+ # are used: * If `force` is set to false, an error will be returned with message
5170
+ # indicating the referenced resources. * If `force` is set to true, Dialogflow
5171
+ # will remove the tool, as well as any references to the tool.
5172
+ # @param [String] fields
5173
+ # Selector specifying which fields to include in a partial response.
5174
+ # @param [String] quota_user
5175
+ # Available to use for quota purposes for server-side applications. Can be any
5176
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5177
+ # @param [Google::Apis::RequestOptions] options
5178
+ # Request-specific options
5179
+ #
5180
+ # @yield [result, err] Result & error if block supplied
5181
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
5182
+ # @yieldparam err [StandardError] error object if request failed
5183
+ #
5184
+ # @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
5185
+ #
5186
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5187
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5188
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5189
+ def delete_project_location_agent_tool_version(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
5190
+ command = make_simple_command(:delete, 'v3beta1/{+name}', options)
5191
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
5192
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
5193
+ command.params['name'] = name unless name.nil?
5194
+ command.query['force'] = force unless force.nil?
5195
+ command.query['fields'] = fields unless fields.nil?
5196
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5197
+ execute_or_queue_command(command, &block)
5198
+ end
5199
+
5200
+ # Retrieves the specified version of the Tool.
5201
+ # @param [String] name
5202
+ # Required. The name of the tool version. Format: `projects//locations//agents//
5203
+ # tools//versions/`.
5204
+ # @param [String] fields
5205
+ # Selector specifying which fields to include in a partial response.
5206
+ # @param [String] quota_user
5207
+ # Available to use for quota purposes for server-side applications. Can be any
5208
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5209
+ # @param [Google::Apis::RequestOptions] options
5210
+ # Request-specific options
5211
+ #
5212
+ # @yield [result, err] Result & error if block supplied
5213
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion] parsed result object
5214
+ # @yieldparam err [StandardError] error object if request failed
5215
+ #
5216
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion]
5217
+ #
5218
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5219
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5220
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5221
+ def get_project_location_agent_tool_version(name, fields: nil, quota_user: nil, options: nil, &block)
5222
+ command = make_simple_command(:get, 'v3beta1/{+name}', options)
5223
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion::Representation
5224
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolVersion
5225
+ command.params['name'] = name unless name.nil?
5226
+ command.query['fields'] = fields unless fields.nil?
5227
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5228
+ execute_or_queue_command(command, &block)
5229
+ end
5230
+
5231
+ # List versions of the specified Tool.
5232
+ # @param [String] parent
5233
+ # Required. The parent of the tool versions. Format: `projects//locations//
5234
+ # agents//tools/`.
5235
+ # @param [Fixnum] page_size
5236
+ # Optional. The maximum number of items to return in a single page. By default
5237
+ # 100 and at most 1000.
5238
+ # @param [String] page_token
5239
+ # Optional. The next_page_token value returned from a previous list request.
5240
+ # @param [String] fields
5241
+ # Selector specifying which fields to include in a partial response.
5242
+ # @param [String] quota_user
5243
+ # Available to use for quota purposes for server-side applications. Can be any
5244
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5245
+ # @param [Google::Apis::RequestOptions] options
5246
+ # Request-specific options
5247
+ #
5248
+ # @yield [result, err] Result & error if block supplied
5249
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse] parsed result object
5250
+ # @yieldparam err [StandardError] error object if request failed
5251
+ #
5252
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse]
5253
+ #
5254
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5255
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5256
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5257
+ def list_project_location_agent_tool_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5258
+ command = make_simple_command(:get, 'v3beta1/{+parent}/versions', options)
5259
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse::Representation
5260
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse
5261
+ command.params['parent'] = parent unless parent.nil?
5262
+ command.query['pageSize'] = page_size unless page_size.nil?
5263
+ command.query['pageToken'] = page_token unless page_token.nil?
5264
+ command.query['fields'] = fields unless fields.nil?
5265
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5266
+ execute_or_queue_command(command, &block)
5267
+ end
5268
+
5269
+ # Retrieves the specified version of the Tool and stores it as the current tool
5270
+ # draft, returning the tool with resources updated.
5271
+ # @param [String] name
5272
+ # Required. The name of the tool version. Format: `projects//locations//agents//
5273
+ # tools//versions/`.
5274
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest] google_cloud_dialogflow_cx_v3beta1_restore_tool_version_request_object
5275
+ # @param [String] fields
5276
+ # Selector specifying which fields to include in a partial response.
5277
+ # @param [String] quota_user
5278
+ # Available to use for quota purposes for server-side applications. Can be any
5279
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5280
+ # @param [Google::Apis::RequestOptions] options
5281
+ # Request-specific options
5282
+ #
5283
+ # @yield [result, err] Result & error if block supplied
5284
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse] parsed result object
5285
+ # @yieldparam err [StandardError] error object if request failed
5286
+ #
5287
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse]
5288
+ #
5289
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5290
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5291
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5292
+ def restore_project_location_agent_tool_version(name, google_cloud_dialogflow_cx_v3beta1_restore_tool_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5293
+ command = make_simple_command(:post, 'v3beta1/{+name}:restore', options)
5294
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest::Representation
5295
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_restore_tool_version_request_object
5296
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse::Representation
5297
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse
5298
+ command.params['name'] = name unless name.nil?
5299
+ command.query['fields'] = fields unless fields.nil?
5300
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5301
+ execute_or_queue_command(command, &block)
5302
+ end
5303
+
5233
5304
  # Creates an TransitionRouteGroup in the specified flow. Note: You should always
5234
5305
  # train a flow prior to sending it queries. See the [training documentation](
5235
5306
  # https://cloud.google.com/dialogflow/cx/docs/concept/training).
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.0
4
+ version: 0.95.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-12 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.93.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.95.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.2
76
+ rubygems_version: 3.6.5
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Dialogflow API V3beta1
79
79
  test_files: []