google-apis-dialogflow_v3beta1 0.94.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a406a2f81ad668124c160f8ab3f21be2a539fabcabcc4c1383b383767993df17
4
- data.tar.gz: c7b3d1b1f8992f07c1dc557e04ed7d201d5bc3c8fa394c2c34365ee72d477c10
3
+ metadata.gz: 1555ff67e7c3e20b52cd20d236131b6494b989ddd5f88bd24e06cacf38972525
4
+ data.tar.gz: 92f19ff075352e036b64da5509fc42f36f06df81aa7a841dca2dec81cdf3eed5
5
5
  SHA512:
6
- metadata.gz: e5a60c6b275def86e573c70b99a57d97813b578cf4bc70611b47aa9e397ec73872b7e3237d76e90fec33778ab8077d9187aa17741c0a9d990e280983cba0ab00
7
- data.tar.gz: 6c972dbcf1fee253a5748e547bbdadacb36488c8ba3c6ce0321c396347fd8383b594d8ca66c1af202b9390e9bc20623820a4980153698619cfb77fcd2c4f363b
6
+ metadata.gz: 1eced0a752431c8a2586c9986eea63f9b6b449145b10f8e6b54499e3bcbdd603855582fdc82b7af7feea9b8e81b495d1814180ffeb8c77ff52efc42c92eb0ac1
7
+ data.tar.gz: 7642086931290ba6ba72bcc1320f468c5d7f545e9473dd3151c2983ae2e0c0ef3610c5b67bdb9c66e3cf770e8db69efeaa3c78e5a81b64e7c96f756893bdbe18
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.95.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250305
6
+
3
7
  ### v0.94.0 (2025-03-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20250221
@@ -4262,6 +4262,11 @@ module Google
4262
4262
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings
4263
4263
  include Google::Apis::Core::Hashable
4264
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
+
4265
4270
  # Settings of integration with GitHub.
4266
4271
  # Corresponds to the JSON property `githubSettings`
4267
4272
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings]
@@ -4273,10 +4278,55 @@ module Google
4273
4278
 
4274
4279
  # Update properties of this object
4275
4280
  def update!(**args)
4281
+ @git_connection_settings = args[:git_connection_settings] if args.key?(:git_connection_settings)
4276
4282
  @github_settings = args[:github_settings] if args.key?(:github_settings)
4277
4283
  end
4278
4284
  end
4279
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
+
4280
4330
  # Settings of integration with GitHub.
4281
4331
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
4282
4332
  include Google::Apis::Core::Hashable
@@ -8461,6 +8511,110 @@ module Google
8461
8511
  end
8462
8512
  end
8463
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
+
8464
8618
  # Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
8465
8619
  class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
8466
8620
  include Google::Apis::Core::Hashable
@@ -9856,6 +10010,33 @@ module Google
9856
10010
  end
9857
10011
  end
9858
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
+
9859
10040
  # The response message for Tools.ListTools.
9860
10041
  class GoogleCloudDialogflowCxV3beta1ListToolsResponse
9861
10042
  include Google::Apis::Core::Hashable
@@ -10599,6 +10780,12 @@ module Google
10599
10780
  # @return [String]
10600
10781
  attr_accessor :goal
10601
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
+
10602
10789
  # Optional. Defined structured input parameters for this playbook.
10603
10790
  # Corresponds to the JSON property `inputParameterDefinitions`
10604
10791
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>]
@@ -10669,6 +10856,7 @@ module Google
10669
10856
  @create_time = args[:create_time] if args.key?(:create_time)
10670
10857
  @display_name = args[:display_name] if args.key?(:display_name)
10671
10858
  @goal = args[:goal] if args.key?(:goal)
10859
+ @handlers = args[:handlers] if args.key?(:handlers)
10672
10860
  @input_parameter_definitions = args[:input_parameter_definitions] if args.key?(:input_parameter_definitions)
10673
10861
  @instruction = args[:instruction] if args.key?(:instruction)
10674
10862
  @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
@@ -11811,6 +11999,41 @@ module Google
11811
11999
  end
11812
12000
  end
11813
12001
 
12002
+ # The request message for Tools.RestoreToolVersion.
12003
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest
12004
+ include Google::Apis::Core::Hashable
12005
+
12006
+ def initialize(**args)
12007
+ update!(**args)
12008
+ end
12009
+
12010
+ # Update properties of this object
12011
+ def update!(**args)
12012
+ end
12013
+ end
12014
+
12015
+ # The response message for Tools.RestoreToolVersion.
12016
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse
12017
+ include Google::Apis::Core::Hashable
12018
+
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
12026
+
12027
+ def initialize(**args)
12028
+ update!(**args)
12029
+ end
12030
+
12031
+ # Update properties of this object
12032
+ def update!(**args)
12033
+ @tool = args[:tool] if args.key?(:tool)
12034
+ end
12035
+ end
12036
+
11814
12037
  # The configuration for auto rollout.
11815
12038
  class GoogleCloudDialogflowCxV3beta1RolloutConfig
11816
12039
  include Google::Apis::Core::Hashable
@@ -13373,6 +13596,53 @@ module Google
13373
13596
  end
13374
13597
  end
13375
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
+
13376
13646
  # The request message for Flows.TrainFlow.
13377
13647
  class GoogleCloudDialogflowCxV3beta1TrainFlowRequest
13378
13648
  include Google::Apis::Core::Hashable
@@ -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.94.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 = "20250221"
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
 
@@ -1330,6 +1336,24 @@ module Google
1330
1336
  include Google::Apis::Core::JsonObjectSupport
1331
1337
  end
1332
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
+
1333
1357
  class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
1334
1358
  class Representation < Google::Apis::Core::JsonRepresentation; end
1335
1359
 
@@ -1600,6 +1624,12 @@ module Google
1600
1624
  include Google::Apis::Core::JsonObjectSupport
1601
1625
  end
1602
1626
 
1627
+ class GoogleCloudDialogflowCxV3beta1ListToolVersionsResponse
1628
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1629
+
1630
+ include Google::Apis::Core::JsonObjectSupport
1631
+ end
1632
+
1603
1633
  class GoogleCloudDialogflowCxV3beta1ListToolsResponse
1604
1634
  class Representation < Google::Apis::Core::JsonRepresentation; end
1605
1635
 
@@ -1852,6 +1882,18 @@ module Google
1852
1882
  include Google::Apis::Core::JsonObjectSupport
1853
1883
  end
1854
1884
 
1885
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest
1886
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1887
+
1888
+ include Google::Apis::Core::JsonObjectSupport
1889
+ end
1890
+
1891
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse
1892
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1893
+
1894
+ include Google::Apis::Core::JsonObjectSupport
1895
+ end
1896
+
1855
1897
  class GoogleCloudDialogflowCxV3beta1RolloutConfig
1856
1898
  class Representation < Google::Apis::Core::JsonRepresentation; end
1857
1899
 
@@ -2146,6 +2188,12 @@ module Google
2146
2188
  include Google::Apis::Core::JsonObjectSupport
2147
2189
  end
2148
2190
 
2191
+ class GoogleCloudDialogflowCxV3beta1ToolVersion
2192
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2193
+
2194
+ include Google::Apis::Core::JsonObjectSupport
2195
+ end
2196
+
2149
2197
  class GoogleCloudDialogflowCxV3beta1TrainFlowRequest
2150
2198
  class Representation < Google::Apis::Core::JsonRepresentation; end
2151
2199
 
@@ -4684,11 +4732,24 @@ module Google
4684
4732
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings
4685
4733
  # @private
4686
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
+
4687
4737
  property :github_settings, as: 'githubSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings::Representation
4688
4738
 
4689
4739
  end
4690
4740
  end
4691
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
+
4692
4753
  class GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings
4693
4754
  # @private
4694
4755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5815,6 +5876,36 @@ module Google
5815
5876
  end
5816
5877
  end
5817
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
+
5818
5909
  class GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata
5819
5910
  # @private
5820
5911
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6223,6 +6314,15 @@ module Google
6223
6314
  end
6224
6315
  end
6225
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
+
6226
6326
  class GoogleCloudDialogflowCxV3beta1ListToolsResponse
6227
6327
  # @private
6228
6328
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6415,6 +6515,8 @@ module Google
6415
6515
  property :create_time, as: 'createTime'
6416
6516
  property :display_name, as: 'displayName'
6417
6517
  property :goal, as: 'goal'
6518
+ collection :handlers, as: 'handlers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler::Representation
6519
+
6418
6520
  collection :input_parameter_definitions, as: 'inputParameterDefinitions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition::Representation
6419
6521
 
6420
6522
  property :instruction, as: 'instruction', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInstruction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInstruction::Representation
@@ -6711,6 +6813,20 @@ module Google
6711
6813
  end
6712
6814
  end
6713
6815
 
6816
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionRequest
6817
+ # @private
6818
+ class Representation < Google::Apis::Core::JsonRepresentation
6819
+ end
6820
+ end
6821
+
6822
+ class GoogleCloudDialogflowCxV3beta1RestoreToolVersionResponse
6823
+ # @private
6824
+ class Representation < Google::Apis::Core::JsonRepresentation
6825
+ property :tool, as: 'tool', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Tool::Representation
6826
+
6827
+ end
6828
+ end
6829
+
6714
6830
  class GoogleCloudDialogflowCxV3beta1RolloutConfig
6715
6831
  # @private
6716
6832
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7165,6 +7281,18 @@ module Google
7165
7281
  end
7166
7282
  end
7167
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
+
7168
7296
  class GoogleCloudDialogflowCxV3beta1TrainFlowRequest
7169
7297
  # @private
7170
7298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5126,6 +5126,181 @@ module Google
5126
5126
  execute_or_queue_command(command, &block)
5127
5127
  end
5128
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
+
5129
5304
  # Creates an TransitionRouteGroup in the specified flow. Note: You should always
5130
5305
  # train a flow prior to sending it queries. See the [training documentation](
5131
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.94.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-03-02 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.94.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: