google-apis-dialogflow_v3beta1 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0fa3cd21a92535bfaa6ec49e42e0bb6d2e888034fb6bac704c4ccc94749100b
4
- data.tar.gz: 8022d2b42aeb3963797bc914b208229f69c257d4cd3b30aa9d174ac86cac0190
3
+ metadata.gz: 4b6b062169f97f39ec2735a3e8f05f7838cc5cb341de27250e54dff52b1d0479
4
+ data.tar.gz: 6c8adfa686478018a83ce42eb64e80d5f4869f2c7f4b9a7e2d480e26900d7553
5
5
  SHA512:
6
- metadata.gz: 70175bbc3e0af73dc105f6fa1a1f967661e8137ef1b496aefe92a6d3e3d38ec9ad31cc71fd5c7dcdd55cd52bd199cc33ee553eb18d7180f4e167ae007a500ce5
7
- data.tar.gz: bc654419ef9fd28c71dd55c85a34e07686d93ddeee8acfc7f959e17476b9a482b7e0c136f3e3d3599e9682ade14773173779ae5d328ea2f66f4998ad9cf15b6c
6
+ metadata.gz: a2492db0c415b7238691c28aad70dfcac677e6bfa6868ae6dba0aa5ff57bd38746d926eba91621d403b6eedb7ce8247c49311b9d8a4646b3f19fdadfc7ca930d
7
+ data.tar.gz: 984976ca81552ba5440d2ba6b94c51fa104e3908dad041fc825748dab2b32bb09fdc29d4345baa71fe7a305b9a183ae1195df64babbad9d88d556af1c08327e1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.22.0 (2021-09-24)
4
+
5
+ * Regenerated from discovery document revision 20210918
6
+
3
7
  ### v0.21.0 (2021-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20210830
@@ -335,6 +335,57 @@ module Google
335
335
  end
336
336
  end
337
337
 
338
+ # Metadata returned for the Environments.DeployFlow long running operation.
339
+ class GoogleCloudDialogflowCxV3DeployFlowMetadata
340
+ include Google::Apis::Core::Hashable
341
+
342
+ # Errors of running deployment tests.
343
+ # Corresponds to the JSON property `testErrors`
344
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError>]
345
+ attr_accessor :test_errors
346
+
347
+ def initialize(**args)
348
+ update!(**args)
349
+ end
350
+
351
+ # Update properties of this object
352
+ def update!(**args)
353
+ @test_errors = args[:test_errors] if args.key?(:test_errors)
354
+ end
355
+ end
356
+
357
+ # The response message for Environments.DeployFlow.
358
+ class GoogleCloudDialogflowCxV3DeployFlowResponse
359
+ include Google::Apis::Core::Hashable
360
+
361
+ # The name of the flow version Deployment. Format: `projects//locations//agents//
362
+ # environments//deployments/`.
363
+ # Corresponds to the JSON property `deployment`
364
+ # @return [String]
365
+ attr_accessor :deployment
366
+
367
+ # Represents an environment for an agent. You can create multiple versions of
368
+ # your agent and publish them to separate environments. When you edit an agent,
369
+ # you are editing the draft agent. At any point, you can save the draft agent as
370
+ # an agent version, which is an immutable snapshot of your agent. When you save
371
+ # the draft agent, it is published to the default environment. When you create
372
+ # agent versions, you can publish them to custom environments. You can create a
373
+ # variety of custom environments for testing, development, production, etc.
374
+ # Corresponds to the JSON property `environment`
375
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Environment]
376
+ attr_accessor :environment
377
+
378
+ def initialize(**args)
379
+ update!(**args)
380
+ end
381
+
382
+ # Update properties of this object
383
+ def update!(**args)
384
+ @deployment = args[:deployment] if args.key?(:deployment)
385
+ @environment = args[:environment] if args.key?(:environment)
386
+ end
387
+ end
388
+
338
389
  # Represents the input for dtmf event.
339
390
  class GoogleCloudDialogflowCxV3DtmfInput
340
391
  include Google::Apis::Core::Hashable
@@ -360,6 +411,121 @@ module Google
360
411
  end
361
412
  end
362
413
 
414
+ # Represents an environment for an agent. You can create multiple versions of
415
+ # your agent and publish them to separate environments. When you edit an agent,
416
+ # you are editing the draft agent. At any point, you can save the draft agent as
417
+ # an agent version, which is an immutable snapshot of your agent. When you save
418
+ # the draft agent, it is published to the default environment. When you create
419
+ # agent versions, you can publish them to custom environments. You can create a
420
+ # variety of custom environments for testing, development, production, etc.
421
+ class GoogleCloudDialogflowCxV3Environment
422
+ include Google::Apis::Core::Hashable
423
+
424
+ # The human-readable description of the environment. The maximum length is 500
425
+ # characters. If exceeded, the request is rejected.
426
+ # Corresponds to the JSON property `description`
427
+ # @return [String]
428
+ attr_accessor :description
429
+
430
+ # Required. The human-readable name of the environment (unique in an agent).
431
+ # Limit of 64 characters.
432
+ # Corresponds to the JSON property `displayName`
433
+ # @return [String]
434
+ attr_accessor :display_name
435
+
436
+ # The name of the environment. Format: `projects//locations//agents//
437
+ # environments/`.
438
+ # Corresponds to the JSON property `name`
439
+ # @return [String]
440
+ attr_accessor :name
441
+
442
+ # The configuration for continuous tests.
443
+ # Corresponds to the JSON property `testCasesConfig`
444
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig]
445
+ attr_accessor :test_cases_config
446
+
447
+ # Output only. Update time of this environment.
448
+ # Corresponds to the JSON property `updateTime`
449
+ # @return [String]
450
+ attr_accessor :update_time
451
+
452
+ # Required. A list of configurations for flow versions. You should include
453
+ # version configs for all flows that are reachable from `Start Flow` in the
454
+ # agent. Otherwise, an error will be returned.
455
+ # Corresponds to the JSON property `versionConfigs`
456
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig>]
457
+ attr_accessor :version_configs
458
+
459
+ def initialize(**args)
460
+ update!(**args)
461
+ end
462
+
463
+ # Update properties of this object
464
+ def update!(**args)
465
+ @description = args[:description] if args.key?(:description)
466
+ @display_name = args[:display_name] if args.key?(:display_name)
467
+ @name = args[:name] if args.key?(:name)
468
+ @test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
469
+ @update_time = args[:update_time] if args.key?(:update_time)
470
+ @version_configs = args[:version_configs] if args.key?(:version_configs)
471
+ end
472
+ end
473
+
474
+ # The configuration for continuous tests.
475
+ class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
476
+ include Google::Apis::Core::Hashable
477
+
478
+ # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
479
+ # false. If set to ture, run once a day.
480
+ # Corresponds to the JSON property `enableContinuousRun`
481
+ # @return [Boolean]
482
+ attr_accessor :enable_continuous_run
483
+ alias_method :enable_continuous_run?, :enable_continuous_run
484
+
485
+ # Whether to run test cases in TestCasesConfig.test_cases before deploying a
486
+ # flow version to the environment. Default false.
487
+ # Corresponds to the JSON property `enablePredeploymentRun`
488
+ # @return [Boolean]
489
+ attr_accessor :enable_predeployment_run
490
+ alias_method :enable_predeployment_run?, :enable_predeployment_run
491
+
492
+ # A list of test case names to run. They should be under the same agent. Format
493
+ # of each test case name: `projects//locations/ /agents//testCases/`
494
+ # Corresponds to the JSON property `testCases`
495
+ # @return [Array<String>]
496
+ attr_accessor :test_cases
497
+
498
+ def initialize(**args)
499
+ update!(**args)
500
+ end
501
+
502
+ # Update properties of this object
503
+ def update!(**args)
504
+ @enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
505
+ @enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
506
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
507
+ end
508
+ end
509
+
510
+ # Configuration for the version.
511
+ class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
512
+ include Google::Apis::Core::Hashable
513
+
514
+ # Required. Format: projects//locations//agents//flows//versions/.
515
+ # Corresponds to the JSON property `version`
516
+ # @return [String]
517
+ attr_accessor :version
518
+
519
+ def initialize(**args)
520
+ update!(**args)
521
+ end
522
+
523
+ # Update properties of this object
524
+ def update!(**args)
525
+ @version = args[:version] if args.key?(:version)
526
+ end
527
+ end
528
+
363
529
  # An event handler specifies an event that can be handled during a session. When
364
530
  # the specified event happens, the following actions are taken in order: * If
365
531
  # there is a `trigger_fulfillment` associated with the event, it will be called.
@@ -3151,6 +3317,158 @@ module Google
3151
3317
  end
3152
3318
  end
3153
3319
 
3320
+ # Metadata returned for the Environments.DeployFlow long running operation.
3321
+ class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
3322
+ include Google::Apis::Core::Hashable
3323
+
3324
+ # Errors of running deployment tests.
3325
+ # Corresponds to the JSON property `testErrors`
3326
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError>]
3327
+ attr_accessor :test_errors
3328
+
3329
+ def initialize(**args)
3330
+ update!(**args)
3331
+ end
3332
+
3333
+ # Update properties of this object
3334
+ def update!(**args)
3335
+ @test_errors = args[:test_errors] if args.key?(:test_errors)
3336
+ end
3337
+ end
3338
+
3339
+ # The request message for Environments.DeployFlow.
3340
+ class GoogleCloudDialogflowCxV3beta1DeployFlowRequest
3341
+ include Google::Apis::Core::Hashable
3342
+
3343
+ # Required. The flow version to deploy. Format: `projects//locations//agents//
3344
+ # flows//versions/`.
3345
+ # Corresponds to the JSON property `flowVersion`
3346
+ # @return [String]
3347
+ attr_accessor :flow_version
3348
+
3349
+ def initialize(**args)
3350
+ update!(**args)
3351
+ end
3352
+
3353
+ # Update properties of this object
3354
+ def update!(**args)
3355
+ @flow_version = args[:flow_version] if args.key?(:flow_version)
3356
+ end
3357
+ end
3358
+
3359
+ # The response message for Environments.DeployFlow.
3360
+ class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
3361
+ include Google::Apis::Core::Hashable
3362
+
3363
+ # The name of the flow version deployment. Format: `projects//locations//agents//
3364
+ # environments//deployments/`.
3365
+ # Corresponds to the JSON property `deployment`
3366
+ # @return [String]
3367
+ attr_accessor :deployment
3368
+
3369
+ # Represents an environment for an agent. You can create multiple versions of
3370
+ # your agent and publish them to separate environments. When you edit an agent,
3371
+ # you are editing the draft agent. At any point, you can save the draft agent as
3372
+ # an agent version, which is an immutable snapshot of your agent. When you save
3373
+ # the draft agent, it is published to the default environment. When you create
3374
+ # agent versions, you can publish them to custom environments. You can create a
3375
+ # variety of custom environments for testing, development, production, etc.
3376
+ # Corresponds to the JSON property `environment`
3377
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment]
3378
+ attr_accessor :environment
3379
+
3380
+ def initialize(**args)
3381
+ update!(**args)
3382
+ end
3383
+
3384
+ # Update properties of this object
3385
+ def update!(**args)
3386
+ @deployment = args[:deployment] if args.key?(:deployment)
3387
+ @environment = args[:environment] if args.key?(:environment)
3388
+ end
3389
+ end
3390
+
3391
+ # Represents an deployment in an environment. A deployment happens when a flow
3392
+ # version configured to be active in the environment. You can configure running
3393
+ # pre-deployment steps, e.g. running validation test cases, experiment auto-
3394
+ # rollout, etc.
3395
+ class GoogleCloudDialogflowCxV3beta1Deployment
3396
+ include Google::Apis::Core::Hashable
3397
+
3398
+ # End time of this deployment.
3399
+ # Corresponds to the JSON property `endTime`
3400
+ # @return [String]
3401
+ attr_accessor :end_time
3402
+
3403
+ # The name of the flow version for this deployment. Format: projects//locations//
3404
+ # agents//flows//versions/.
3405
+ # Corresponds to the JSON property `flowVersion`
3406
+ # @return [String]
3407
+ attr_accessor :flow_version
3408
+
3409
+ # The name of the deployment. Format: projects//locations//agents//environments//
3410
+ # deployments/.
3411
+ # Corresponds to the JSON property `name`
3412
+ # @return [String]
3413
+ attr_accessor :name
3414
+
3415
+ # Result of the deployment.
3416
+ # Corresponds to the JSON property `result`
3417
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult]
3418
+ attr_accessor :result
3419
+
3420
+ # Start time of this deployment.
3421
+ # Corresponds to the JSON property `startTime`
3422
+ # @return [String]
3423
+ attr_accessor :start_time
3424
+
3425
+ # The current state of the deployment.
3426
+ # Corresponds to the JSON property `state`
3427
+ # @return [String]
3428
+ attr_accessor :state
3429
+
3430
+ def initialize(**args)
3431
+ update!(**args)
3432
+ end
3433
+
3434
+ # Update properties of this object
3435
+ def update!(**args)
3436
+ @end_time = args[:end_time] if args.key?(:end_time)
3437
+ @flow_version = args[:flow_version] if args.key?(:flow_version)
3438
+ @name = args[:name] if args.key?(:name)
3439
+ @result = args[:result] if args.key?(:result)
3440
+ @start_time = args[:start_time] if args.key?(:start_time)
3441
+ @state = args[:state] if args.key?(:state)
3442
+ end
3443
+ end
3444
+
3445
+ # Result of the deployment.
3446
+ class GoogleCloudDialogflowCxV3beta1DeploymentResult
3447
+ include Google::Apis::Core::Hashable
3448
+
3449
+ # Results of test cases running before the deployment. Format: `projects//
3450
+ # locations//agents//testCases//results/`.
3451
+ # Corresponds to the JSON property `deploymentTestResults`
3452
+ # @return [Array<String>]
3453
+ attr_accessor :deployment_test_results
3454
+
3455
+ # The name of the experiment triggered by this deployment. Format: projects//
3456
+ # locations//agents//environments//experiments/.
3457
+ # Corresponds to the JSON property `experiment`
3458
+ # @return [String]
3459
+ attr_accessor :experiment
3460
+
3461
+ def initialize(**args)
3462
+ update!(**args)
3463
+ end
3464
+
3465
+ # Update properties of this object
3466
+ def update!(**args)
3467
+ @deployment_test_results = args[:deployment_test_results] if args.key?(:deployment_test_results)
3468
+ @experiment = args[:experiment] if args.key?(:experiment)
3469
+ end
3470
+ end
3471
+
3154
3472
  # The request to detect user's intent.
3155
3473
  class GoogleCloudDialogflowCxV3beta1DetectIntentRequest
3156
3474
  include Google::Apis::Core::Hashable
@@ -3437,6 +3755,11 @@ module Google
3437
3755
  # @return [String]
3438
3756
  attr_accessor :name
3439
3757
 
3758
+ # The configuration for continuous tests.
3759
+ # Corresponds to the JSON property `testCasesConfig`
3760
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig]
3761
+ attr_accessor :test_cases_config
3762
+
3440
3763
  # Output only. Update time of this environment.
3441
3764
  # Corresponds to the JSON property `updateTime`
3442
3765
  # @return [String]
@@ -3458,11 +3781,48 @@ module Google
3458
3781
  @description = args[:description] if args.key?(:description)
3459
3782
  @display_name = args[:display_name] if args.key?(:display_name)
3460
3783
  @name = args[:name] if args.key?(:name)
3784
+ @test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
3461
3785
  @update_time = args[:update_time] if args.key?(:update_time)
3462
3786
  @version_configs = args[:version_configs] if args.key?(:version_configs)
3463
3787
  end
3464
3788
  end
3465
3789
 
3790
+ # The configuration for continuous tests.
3791
+ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
3792
+ include Google::Apis::Core::Hashable
3793
+
3794
+ # Whether to run test cases in TestCasesConfig.test_cases periodically. Default
3795
+ # false. If set to ture, run once a day.
3796
+ # Corresponds to the JSON property `enableContinuousRun`
3797
+ # @return [Boolean]
3798
+ attr_accessor :enable_continuous_run
3799
+ alias_method :enable_continuous_run?, :enable_continuous_run
3800
+
3801
+ # Whether to run test cases in TestCasesConfig.test_cases before deploying a
3802
+ # flow version to the environment. Default false.
3803
+ # Corresponds to the JSON property `enablePredeploymentRun`
3804
+ # @return [Boolean]
3805
+ attr_accessor :enable_predeployment_run
3806
+ alias_method :enable_predeployment_run?, :enable_predeployment_run
3807
+
3808
+ # A list of test case names to run. They should be under the same agent. Format
3809
+ # of each test case name: `projects//locations/ /agents//testCases/`
3810
+ # Corresponds to the JSON property `testCases`
3811
+ # @return [Array<String>]
3812
+ attr_accessor :test_cases
3813
+
3814
+ def initialize(**args)
3815
+ update!(**args)
3816
+ end
3817
+
3818
+ # Update properties of this object
3819
+ def update!(**args)
3820
+ @enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run)
3821
+ @enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run)
3822
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
3823
+ end
3824
+ end
3825
+
3466
3826
  # Configuration for the version.
3467
3827
  class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
3468
3828
  include Google::Apis::Core::Hashable
@@ -5113,6 +5473,34 @@ module Google
5113
5473
  end
5114
5474
  end
5115
5475
 
5476
+ # The response message for Deployments.ListDeployments.
5477
+ class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
5478
+ include Google::Apis::Core::Hashable
5479
+
5480
+ # The list of deployments. There will be a maximum number of items returned
5481
+ # based on the page_size field in the request. The list may in some cases be
5482
+ # empty or contain fewer entries than page_size even if this isn't the last page.
5483
+ # Corresponds to the JSON property `deployments`
5484
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment>]
5485
+ attr_accessor :deployments
5486
+
5487
+ # Token to retrieve the next page of results, or empty if there are no more
5488
+ # results in the list.
5489
+ # Corresponds to the JSON property `nextPageToken`
5490
+ # @return [String]
5491
+ attr_accessor :next_page_token
5492
+
5493
+ def initialize(**args)
5494
+ update!(**args)
5495
+ end
5496
+
5497
+ # Update properties of this object
5498
+ def update!(**args)
5499
+ @deployments = args[:deployments] if args.key?(:deployments)
5500
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5501
+ end
5502
+ end
5503
+
5116
5504
  # The response message for EntityTypes.ListEntityTypes.
5117
5505
  class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
5118
5506
  include Google::Apis::Core::Hashable
@@ -6884,7 +7272,9 @@ module Google
6884
7272
  # @return [String]
6885
7273
  attr_accessor :inspect_template
6886
7274
 
6887
- # Required. Resource name of the settings. Format: `projects//locations//
7275
+ # Resource name of the settings. Required for the SecuritySettingsService.
7276
+ # UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
7277
+ # populates the name automatically. Format: `projects//locations//
6888
7278
  # securitySettings/`.
6889
7279
  # Corresponds to the JSON property `name`
6890
7280
  # @return [String]
@@ -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.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210830"
25
+ REVISION = "20210918"
26
26
  end
27
27
  end
28
28
  end
@@ -82,12 +82,42 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleCloudDialogflowCxV3DeployFlowMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudDialogflowCxV3DeployFlowResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class GoogleCloudDialogflowCxV3DtmfInput
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
88
100
  include Google::Apis::Core::JsonObjectSupport
89
101
  end
90
102
 
103
+ class GoogleCloudDialogflowCxV3Environment
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
91
121
  class GoogleCloudDialogflowCxV3EventHandler
92
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
123
 
@@ -562,6 +592,36 @@ module Google
562
592
  include Google::Apis::Core::JsonObjectSupport
563
593
  end
564
594
 
595
+ class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class GoogleCloudDialogflowCxV3beta1DeployFlowRequest
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class GoogleCloudDialogflowCxV3beta1Deployment
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class GoogleCloudDialogflowCxV3beta1DeploymentResult
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
565
625
  class GoogleCloudDialogflowCxV3beta1DetectIntentRequest
566
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
627
 
@@ -604,6 +664,12 @@ module Google
604
664
  include Google::Apis::Core::JsonObjectSupport
605
665
  end
606
666
 
667
+ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
607
673
  class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
608
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
675
 
@@ -880,6 +946,12 @@ module Google
880
946
  include Google::Apis::Core::JsonObjectSupport
881
947
  end
882
948
 
949
+ class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
883
955
  class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
884
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
957
 
@@ -2423,6 +2495,23 @@ module Google
2423
2495
  end
2424
2496
  end
2425
2497
 
2498
+ class GoogleCloudDialogflowCxV3DeployFlowMetadata
2499
+ # @private
2500
+ class Representation < Google::Apis::Core::JsonRepresentation
2501
+ collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError::Representation
2502
+
2503
+ end
2504
+ end
2505
+
2506
+ class GoogleCloudDialogflowCxV3DeployFlowResponse
2507
+ # @private
2508
+ class Representation < Google::Apis::Core::JsonRepresentation
2509
+ property :deployment, as: 'deployment'
2510
+ property :environment, as: 'environment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Environment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Environment::Representation
2511
+
2512
+ end
2513
+ end
2514
+
2426
2515
  class GoogleCloudDialogflowCxV3DtmfInput
2427
2516
  # @private
2428
2517
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2431,6 +2520,36 @@ module Google
2431
2520
  end
2432
2521
  end
2433
2522
 
2523
+ class GoogleCloudDialogflowCxV3Environment
2524
+ # @private
2525
+ class Representation < Google::Apis::Core::JsonRepresentation
2526
+ property :description, as: 'description'
2527
+ property :display_name, as: 'displayName'
2528
+ property :name, as: 'name'
2529
+ property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig::Representation
2530
+
2531
+ property :update_time, as: 'updateTime'
2532
+ collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig::Representation
2533
+
2534
+ end
2535
+ end
2536
+
2537
+ class GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
2538
+ # @private
2539
+ class Representation < Google::Apis::Core::JsonRepresentation
2540
+ property :enable_continuous_run, as: 'enableContinuousRun'
2541
+ property :enable_predeployment_run, as: 'enablePredeploymentRun'
2542
+ collection :test_cases, as: 'testCases'
2543
+ end
2544
+ end
2545
+
2546
+ class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
2547
+ # @private
2548
+ class Representation < Google::Apis::Core::JsonRepresentation
2549
+ property :version, as: 'version'
2550
+ end
2551
+ end
2552
+
2434
2553
  class GoogleCloudDialogflowCxV3EventHandler
2435
2554
  # @private
2436
2555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3209,6 +3328,51 @@ module Google
3209
3328
  end
3210
3329
  end
3211
3330
 
3331
+ class GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
3332
+ # @private
3333
+ class Representation < Google::Apis::Core::JsonRepresentation
3334
+ collection :test_errors, as: 'testErrors', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError::Representation
3335
+
3336
+ end
3337
+ end
3338
+
3339
+ class GoogleCloudDialogflowCxV3beta1DeployFlowRequest
3340
+ # @private
3341
+ class Representation < Google::Apis::Core::JsonRepresentation
3342
+ property :flow_version, as: 'flowVersion'
3343
+ end
3344
+ end
3345
+
3346
+ class GoogleCloudDialogflowCxV3beta1DeployFlowResponse
3347
+ # @private
3348
+ class Representation < Google::Apis::Core::JsonRepresentation
3349
+ property :deployment, as: 'deployment'
3350
+ property :environment, as: 'environment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment::Representation
3351
+
3352
+ end
3353
+ end
3354
+
3355
+ class GoogleCloudDialogflowCxV3beta1Deployment
3356
+ # @private
3357
+ class Representation < Google::Apis::Core::JsonRepresentation
3358
+ property :end_time, as: 'endTime'
3359
+ property :flow_version, as: 'flowVersion'
3360
+ property :name, as: 'name'
3361
+ property :result, as: 'result', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeploymentResult::Representation
3362
+
3363
+ property :start_time, as: 'startTime'
3364
+ property :state, as: 'state'
3365
+ end
3366
+ end
3367
+
3368
+ class GoogleCloudDialogflowCxV3beta1DeploymentResult
3369
+ # @private
3370
+ class Representation < Google::Apis::Core::JsonRepresentation
3371
+ collection :deployment_test_results, as: 'deploymentTestResults'
3372
+ property :experiment, as: 'experiment'
3373
+ end
3374
+ end
3375
+
3212
3376
  class GoogleCloudDialogflowCxV3beta1DetectIntentRequest
3213
3377
  # @private
3214
3378
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3280,12 +3444,23 @@ module Google
3280
3444
  property :description, as: 'description'
3281
3445
  property :display_name, as: 'displayName'
3282
3446
  property :name, as: 'name'
3447
+ property :test_cases_config, as: 'testCasesConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig::Representation
3448
+
3283
3449
  property :update_time, as: 'updateTime'
3284
3450
  collection :version_configs, as: 'versionConfigs', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig::Representation
3285
3451
 
3286
3452
  end
3287
3453
  end
3288
3454
 
3455
+ class GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
3456
+ # @private
3457
+ class Representation < Google::Apis::Core::JsonRepresentation
3458
+ property :enable_continuous_run, as: 'enableContinuousRun'
3459
+ property :enable_predeployment_run, as: 'enablePredeploymentRun'
3460
+ collection :test_cases, as: 'testCases'
3461
+ end
3462
+ end
3463
+
3289
3464
  class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
3290
3465
  # @private
3291
3466
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3736,6 +3911,15 @@ module Google
3736
3911
  end
3737
3912
  end
3738
3913
 
3914
+ class GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
3915
+ # @private
3916
+ class Representation < Google::Apis::Core::JsonRepresentation
3917
+ collection :deployments, as: 'deployments', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment::Representation
3918
+
3919
+ property :next_page_token, as: 'nextPageToken'
3920
+ end
3921
+ end
3922
+
3739
3923
  class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
3740
3924
  # @private
3741
3925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -733,6 +733,43 @@ module Google
733
733
  execute_or_queue_command(command, &block)
734
734
  end
735
735
 
736
+ # Deploys a flow to the specified Environment. This method is a [long-running
737
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-
738
+ # operation). The returned `Operation` type has the following method-specific
739
+ # fields: - `metadata`: DeployFlowMetadata - `response`: DeployFlowResponse
740
+ # @param [String] environment
741
+ # Required. The environment to deploy the flow to. Format: `projects//locations//
742
+ # agents// environments/`.
743
+ # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeployFlowRequest] google_cloud_dialogflow_cx_v3beta1_deploy_flow_request_object
744
+ # @param [String] fields
745
+ # Selector specifying which fields to include in a partial response.
746
+ # @param [String] quota_user
747
+ # Available to use for quota purposes for server-side applications. Can be any
748
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
749
+ # @param [Google::Apis::RequestOptions] options
750
+ # Request-specific options
751
+ #
752
+ # @yield [result, err] Result & error if block supplied
753
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
754
+ # @yieldparam err [StandardError] error object if request failed
755
+ #
756
+ # @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
757
+ #
758
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
759
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
760
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
761
+ def deploy_project_location_agent_environment_flow(environment, google_cloud_dialogflow_cx_v3beta1_deploy_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
762
+ command = make_simple_command(:post, 'v3beta1/{+environment}:deployFlow', options)
763
+ command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DeployFlowRequest::Representation
764
+ command.request_object = google_cloud_dialogflow_cx_v3beta1_deploy_flow_request_object
765
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
766
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
767
+ command.params['environment'] = environment unless environment.nil?
768
+ command.query['fields'] = fields unless fields.nil?
769
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
770
+ execute_or_queue_command(command, &block)
771
+ end
772
+
736
773
  # Retrieves the specified Environment.
737
774
  # @param [String] name
738
775
  # Required. The name of the Environment. Format: `projects//locations//agents//
@@ -956,6 +993,75 @@ module Google
956
993
  execute_or_queue_command(command, &block)
957
994
  end
958
995
 
996
+ # Retrieves the specified Deployment.
997
+ # @param [String] name
998
+ # Required. The name of the Deployment. Format: `projects//locations//agents//
999
+ # environments//deployments/`.
1000
+ # @param [String] fields
1001
+ # Selector specifying which fields to include in a partial response.
1002
+ # @param [String] quota_user
1003
+ # Available to use for quota purposes for server-side applications. Can be any
1004
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1005
+ # @param [Google::Apis::RequestOptions] options
1006
+ # Request-specific options
1007
+ #
1008
+ # @yield [result, err] Result & error if block supplied
1009
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment] parsed result object
1010
+ # @yieldparam err [StandardError] error object if request failed
1011
+ #
1012
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment]
1013
+ #
1014
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1015
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1016
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1017
+ def get_project_location_agent_environment_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
1018
+ command = make_simple_command(:get, 'v3beta1/{+name}', options)
1019
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment::Representation
1020
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Deployment
1021
+ command.params['name'] = name unless name.nil?
1022
+ command.query['fields'] = fields unless fields.nil?
1023
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1024
+ execute_or_queue_command(command, &block)
1025
+ end
1026
+
1027
+ # Returns the list of all deployments in the specified Environment.
1028
+ # @param [String] parent
1029
+ # Required. The Environment to list all environments for. Format: `projects//
1030
+ # locations//agents//environments/`.
1031
+ # @param [Fixnum] page_size
1032
+ # The maximum number of items to return in a single page. By default 20 and at
1033
+ # most 100.
1034
+ # @param [String] page_token
1035
+ # The next_page_token value returned from a previous list request.
1036
+ # @param [String] fields
1037
+ # Selector specifying which fields to include in a partial response.
1038
+ # @param [String] quota_user
1039
+ # Available to use for quota purposes for server-side applications. Can be any
1040
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1041
+ # @param [Google::Apis::RequestOptions] options
1042
+ # Request-specific options
1043
+ #
1044
+ # @yield [result, err] Result & error if block supplied
1045
+ # @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse] parsed result object
1046
+ # @yieldparam err [StandardError] error object if request failed
1047
+ #
1048
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse]
1049
+ #
1050
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1051
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1052
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1053
+ def list_project_location_agent_environment_deployments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1054
+ command = make_simple_command(:get, 'v3beta1/{+parent}/deployments', options)
1055
+ command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse::Representation
1056
+ command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse
1057
+ command.params['parent'] = parent unless parent.nil?
1058
+ command.query['pageSize'] = page_size unless page_size.nil?
1059
+ command.query['pageToken'] = page_token unless page_token.nil?
1060
+ command.query['fields'] = fields unless fields.nil?
1061
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1062
+ execute_or_queue_command(command, &block)
1063
+ end
1064
+
959
1065
  # Creates an Experiment in the specified Environment.
960
1066
  # @param [String] parent
961
1067
  # Required. The Agent to create an Environment for. Format: `projects//locations/
@@ -3996,7 +4102,9 @@ module Google
3996
4102
 
3997
4103
  # Updates the specified SecuritySettings.
3998
4104
  # @param [String] name
3999
- # Required. Resource name of the settings. Format: `projects//locations//
4105
+ # Resource name of the settings. Required for the SecuritySettingsService.
4106
+ # UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
4107
+ # populates the name automatically. Format: `projects//locations//
4000
4108
  # securitySettings/`.
4001
4109
  # @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings] google_cloud_dialogflow_cx_v3beta1_security_settings_object
4002
4110
  # @param [String] update_mask
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []