google-cloud-dialogflow-cx-v3 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +2 -2
  3. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +2 -2
  4. data/lib/google/cloud/dialogflow/cx/v3/agent_services_pb.rb +10 -1
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +9 -0
  6. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +2 -2
  7. data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +63 -0
  8. data/lib/google/cloud/dialogflow/cx/v3/deployment_services_pb.rb +49 -0
  9. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +462 -0
  10. data/lib/google/cloud/dialogflow/cx/v3/deployments/credentials.rb +54 -0
  11. data/lib/google/cloud/dialogflow/cx/v3/deployments/paths.rb +79 -0
  12. data/lib/google/cloud/dialogflow/cx/v3/deployments.rb +51 -0
  13. data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +2 -2
  14. data/lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb +1 -1
  15. data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +23 -2
  16. data/lib/google/cloud/dialogflow/cx/v3/environment_services_pb.rb +33 -1
  17. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +112 -0
  18. data/lib/google/cloud/dialogflow/cx/v3/environments/paths.rb +21 -0
  19. data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +2 -2
  20. data/lib/google/cloud/dialogflow/cx/v3/experiment_services_pb.rb +1 -1
  21. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +2 -2
  22. data/lib/google/cloud/dialogflow/cx/v3/flow_services_pb.rb +26 -1
  23. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +25 -0
  24. data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +2 -2
  25. data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +2 -2
  26. data/lib/google/cloud/dialogflow/cx/v3/intent_services_pb.rb +1 -1
  27. data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +2 -2
  28. data/lib/google/cloud/dialogflow/cx/v3/page_services_pb.rb +1 -1
  29. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +2 -2
  30. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +2 -2
  31. data/lib/google/cloud/dialogflow/cx/v3/security_settings_services_pb.rb +1 -1
  32. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +2 -2
  33. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_services_pb.rb +1 -1
  34. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +3 -2
  35. data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +1 -1
  36. data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +2 -2
  37. data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +23 -1
  38. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +22 -0
  39. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +2 -2
  40. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_services_pb.rb +1 -1
  41. data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +2 -2
  42. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  43. data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +2 -2
  44. data/lib/google/cloud/dialogflow/cx/v3/version_services_pb.rb +17 -1
  45. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +16 -0
  46. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +2 -2
  47. data/lib/google/cloud/dialogflow/cx/v3/webhook_services_pb.rb +1 -1
  48. data/lib/google/cloud/dialogflow/cx/v3.rb +1 -0
  49. data/proto_docs/google/cloud/dialogflow/cx/v3/deployment.rb +135 -0
  50. data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +62 -0
  51. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +4 -1
  52. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +4 -0
  53. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +1 -0
  54. metadata +9 -2
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/test_case.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -19,6 +17,8 @@ require 'google/protobuf/field_mask_pb'
19
17
  require 'google/protobuf/struct_pb'
20
18
  require 'google/protobuf/timestamp_pb'
21
19
  require 'google/rpc/status_pb'
20
+ require 'google/protobuf'
21
+
22
22
  Google::Protobuf::DescriptorPool.generated_pool.build do
23
23
  add_file("google/cloud/dialogflow/cx/v3/test_case.proto", :syntax => :proto3) do
24
24
  add_message "google.cloud.dialogflow.cx.v3.TestCase" do
@@ -29,7 +29,7 @@ module Google
29
29
  # [Test Case Results][google.cloud.dialogflow.cx.v3.TestCaseResult].
30
30
  class Service
31
31
 
32
- include GRPC::GenericService
32
+ include ::GRPC::GenericService
33
33
 
34
34
  self.marshal_class_method = :encode
35
35
  self.unmarshal_class_method = :decode
@@ -46,6 +46,7 @@ module Google
46
46
  # Updates the specified test case.
47
47
  rpc :UpdateTestCase, ::Google::Cloud::Dialogflow::CX::V3::UpdateTestCaseRequest, ::Google::Cloud::Dialogflow::CX::V3::TestCase
48
48
  # Kicks off a test case run.
49
+ #
49
50
  # This method is a [long-running
50
51
  # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
51
52
  # The returned `Operation` type has the following method-specific fields:
@@ -54,15 +55,36 @@ module Google
54
55
  # - `response`: [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]
55
56
  rpc :RunTestCase, ::Google::Cloud::Dialogflow::CX::V3::RunTestCaseRequest, ::Google::Longrunning::Operation
56
57
  # Kicks off a batch run of test cases.
58
+ #
59
+ # This method is a [long-running
60
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
61
+ # The returned `Operation` type has the following method-specific fields:
62
+ #
63
+ # - `metadata`: [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata]
64
+ # - `response`: [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse]
57
65
  rpc :BatchRunTestCases, ::Google::Cloud::Dialogflow::CX::V3::BatchRunTestCasesRequest, ::Google::Longrunning::Operation
58
66
  # Calculates the test coverage for an agent.
59
67
  rpc :CalculateCoverage, ::Google::Cloud::Dialogflow::CX::V3::CalculateCoverageRequest, ::Google::Cloud::Dialogflow::CX::V3::CalculateCoverageResponse
60
68
  # Imports the test cases from a Cloud Storage bucket or a local file. It
61
69
  # always creates new test cases and won't overwite any existing ones. The
62
70
  # provided ID in the imported test case is neglected.
71
+ #
72
+ # This method is a [long-running
73
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
74
+ # The returned `Operation` type has the following method-specific fields:
75
+ #
76
+ # - `metadata`: [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata]
77
+ # - `response`: [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse]
63
78
  rpc :ImportTestCases, ::Google::Cloud::Dialogflow::CX::V3::ImportTestCasesRequest, ::Google::Longrunning::Operation
64
79
  # Exports the test cases under the agent to a Cloud Storage bucket or a local
65
80
  # file. Filter can be applied to export a subset of test cases.
81
+ #
82
+ # This method is a [long-running
83
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
84
+ # The returned `Operation` type has the following method-specific fields:
85
+ #
86
+ # - `metadata`: [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata]
87
+ # - `response`: [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse]
66
88
  rpc :ExportTestCases, ::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesRequest, ::Google::Longrunning::Operation
67
89
  # Fetches a list of results for a given test case.
68
90
  rpc :ListTestCaseResults, ::Google::Cloud::Dialogflow::CX::V3::ListTestCaseResultsRequest, ::Google::Cloud::Dialogflow::CX::V3::ListTestCaseResultsResponse
@@ -528,6 +528,7 @@ module Google
528
528
 
529
529
  ##
530
530
  # Kicks off a test case run.
531
+ #
531
532
  # This method is a [long-running
532
533
  # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
533
534
  # The returned `Operation` type has the following method-specific fields:
@@ -609,6 +610,13 @@ module Google
609
610
  ##
610
611
  # Kicks off a batch run of test cases.
611
612
  #
613
+ # This method is a [long-running
614
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
615
+ # The returned `Operation` type has the following method-specific fields:
616
+ #
617
+ # - `metadata`: {::Google::Cloud::Dialogflow::CX::V3::BatchRunTestCasesMetadata BatchRunTestCasesMetadata}
618
+ # - `response`: {::Google::Cloud::Dialogflow::CX::V3::BatchRunTestCasesResponse BatchRunTestCasesResponse}
619
+ #
612
620
  # @overload batch_run_test_cases(request, options = nil)
613
621
  # Pass arguments to `batch_run_test_cases` via a request object, either of type
614
622
  # {::Google::Cloud::Dialogflow::CX::V3::BatchRunTestCasesRequest} or an equivalent Hash.
@@ -759,6 +767,13 @@ module Google
759
767
  # always creates new test cases and won't overwite any existing ones. The
760
768
  # provided ID in the imported test case is neglected.
761
769
  #
770
+ # This method is a [long-running
771
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
772
+ # The returned `Operation` type has the following method-specific fields:
773
+ #
774
+ # - `metadata`: {::Google::Cloud::Dialogflow::CX::V3::ImportTestCasesMetadata ImportTestCasesMetadata}
775
+ # - `response`: {::Google::Cloud::Dialogflow::CX::V3::ImportTestCasesResponse ImportTestCasesResponse}
776
+ #
762
777
  # @overload import_test_cases(request, options = nil)
763
778
  # Pass arguments to `import_test_cases` via a request object, either of type
764
779
  # {::Google::Cloud::Dialogflow::CX::V3::ImportTestCasesRequest} or an equivalent Hash.
@@ -836,6 +851,13 @@ module Google
836
851
  # Exports the test cases under the agent to a Cloud Storage bucket or a local
837
852
  # file. Filter can be applied to export a subset of test cases.
838
853
  #
854
+ # This method is a [long-running
855
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
856
+ # The returned `Operation` type has the following method-specific fields:
857
+ #
858
+ # - `metadata`: {::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesMetadata ExportTestCasesMetadata}
859
+ # - `response`: {::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesResponse ExportTestCasesResponse}
860
+ #
839
861
  # @overload export_test_cases(request, options = nil)
840
862
  # Pass arguments to `export_test_cases` via a request object, either of type
841
863
  # {::Google::Cloud::Dialogflow::CX::V3::ExportTestCasesRequest} or an equivalent Hash.
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/transition_route_group.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -10,6 +8,8 @@ require 'google/api/resource_pb'
10
8
  require 'google/cloud/dialogflow/cx/v3/page_pb'
11
9
  require 'google/protobuf/empty_pb'
12
10
  require 'google/protobuf/field_mask_pb'
11
+ require 'google/protobuf'
12
+
13
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_file("google/cloud/dialogflow/cx/v3/transition_route_group.proto", :syntax => :proto3) do
15
15
  add_message "google.cloud.dialogflow.cx.v3.TransitionRouteGroup" do
@@ -28,7 +28,7 @@ module Google
28
28
  # Service for managing [TransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
29
29
  class Service
30
30
 
31
- include GRPC::GenericService
31
+ include ::GRPC::GenericService
32
32
 
33
33
  self.marshal_class_method = :encode
34
34
  self.unmarshal_class_method = :decode
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/validation_message.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/protobuf/struct_pb'
7
5
  require 'google/api/annotations_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/cloud/dialogflow/cx/v3/validation_message.proto", :syntax => :proto3) do
10
10
  add_message "google.cloud.dialogflow.cx.v3.ValidationMessage" do
@@ -22,7 +22,7 @@ module Google
22
22
  module Dialogflow
23
23
  module CX
24
24
  module V3
25
- VERSION = "0.1.1"
25
+ VERSION = "0.2.0"
26
26
  end
27
27
  end
28
28
  end
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/version.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -17,6 +15,8 @@ require 'google/longrunning/operations_pb'
17
15
  require 'google/protobuf/empty_pb'
18
16
  require 'google/protobuf/field_mask_pb'
19
17
  require 'google/protobuf/timestamp_pb'
18
+ require 'google/protobuf'
19
+
20
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
21
21
  add_file("google/cloud/dialogflow/cx/v3/version.proto", :syntax => :proto3) do
22
22
  add_message "google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata" do
@@ -28,7 +28,7 @@ module Google
28
28
  # Service for managing [Versions][google.cloud.dialogflow.cx.v3.Version].
29
29
  class Service
30
30
 
31
- include GRPC::GenericService
31
+ include ::GRPC::GenericService
32
32
 
33
33
  self.marshal_class_method = :encode
34
34
  self.unmarshal_class_method = :decode
@@ -39,12 +39,28 @@ module Google
39
39
  # Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].
40
40
  rpc :GetVersion, ::Google::Cloud::Dialogflow::CX::V3::GetVersionRequest, ::Google::Cloud::Dialogflow::CX::V3::Version
41
41
  # Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
42
+ #
43
+ # This method is a [long-running
44
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
45
+ # The returned `Operation` type has the following method-specific fields:
46
+ #
47
+ # - `metadata`: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata]
48
+ # - `response`: [Version][google.cloud.dialogflow.cx.v3.Version]
42
49
  rpc :CreateVersion, ::Google::Cloud::Dialogflow::CX::V3::CreateVersionRequest, ::Google::Longrunning::Operation
43
50
  # Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].
44
51
  rpc :UpdateVersion, ::Google::Cloud::Dialogflow::CX::V3::UpdateVersionRequest, ::Google::Cloud::Dialogflow::CX::V3::Version
45
52
  # Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].
46
53
  rpc :DeleteVersion, ::Google::Cloud::Dialogflow::CX::V3::DeleteVersionRequest, ::Google::Protobuf::Empty
47
54
  # Loads resources in the specified version to the draft flow.
55
+ #
56
+ # This method is a [long-running
57
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
58
+ # The returned `Operation` type has the following method-specific fields:
59
+ #
60
+ # - `metadata`: An empty [Struct
61
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
62
+ # - `response`: An [Empty
63
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
48
64
  rpc :LoadVersion, ::Google::Cloud::Dialogflow::CX::V3::LoadVersionRequest, ::Google::Longrunning::Operation
49
65
  end
50
66
 
@@ -311,6 +311,13 @@ module Google
311
311
  ##
312
312
  # Creates a {::Google::Cloud::Dialogflow::CX::V3::Version Version} in the specified {::Google::Cloud::Dialogflow::CX::V3::Flow Flow}.
313
313
  #
314
+ # This method is a [long-running
315
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
316
+ # The returned `Operation` type has the following method-specific fields:
317
+ #
318
+ # - `metadata`: {::Google::Cloud::Dialogflow::CX::V3::CreateVersionOperationMetadata CreateVersionOperationMetadata}
319
+ # - `response`: {::Google::Cloud::Dialogflow::CX::V3::Version Version}
320
+ #
314
321
  # @overload create_version(request, options = nil)
315
322
  # Pass arguments to `create_version` via a request object, either of type
316
323
  # {::Google::Cloud::Dialogflow::CX::V3::CreateVersionRequest} or an equivalent Hash.
@@ -525,6 +532,15 @@ module Google
525
532
  ##
526
533
  # Loads resources in the specified version to the draft flow.
527
534
  #
535
+ # This method is a [long-running
536
+ # operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
537
+ # The returned `Operation` type has the following method-specific fields:
538
+ #
539
+ # - `metadata`: An empty [Struct
540
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
541
+ # - `response`: An [Empty
542
+ # message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
543
+ #
528
544
  # @overload load_version(request, options = nil)
529
545
  # Pass arguments to `load_version` via a request object, either of type
530
546
  # {::Google::Cloud::Dialogflow::CX::V3::LoadVersionRequest} or an equivalent Hash.
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/dialogflow/cx/v3/webhook.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -12,6 +10,8 @@ require 'google/protobuf/duration_pb'
12
10
  require 'google/protobuf/empty_pb'
13
11
  require 'google/protobuf/field_mask_pb'
14
12
  require 'google/protobuf/struct_pb'
13
+ require 'google/protobuf'
14
+
15
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  add_file("google/cloud/dialogflow/cx/v3/webhook.proto", :syntax => :proto3) do
17
17
  add_message "google.cloud.dialogflow.cx.v3.Webhook" do
@@ -28,7 +28,7 @@ module Google
28
28
  # Service for managing [Webhooks][google.cloud.dialogflow.cx.v3.Webhook].
29
29
  class Service
30
30
 
31
- include GRPC::GenericService
31
+ include ::GRPC::GenericService
32
32
 
33
33
  self.marshal_class_method = :encode
34
34
  self.unmarshal_class_method = :decode
@@ -20,6 +20,7 @@ require "google/cloud/dialogflow/cx/v3/pages"
20
20
  require "google/cloud/dialogflow/cx/v3/flows"
21
21
  require "google/cloud/dialogflow/cx/v3/security_settings_service"
22
22
  require "google/cloud/dialogflow/cx/v3/agents"
23
+ require "google/cloud/dialogflow/cx/v3/deployments"
23
24
  require "google/cloud/dialogflow/cx/v3/entity_types"
24
25
  require "google/cloud/dialogflow/cx/v3/intents"
25
26
  require "google/cloud/dialogflow/cx/v3/session_entity_types"
@@ -0,0 +1,135 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module CX
24
+ module V3
25
+ # Represents an deployment in an environment. A deployment happens when a flow
26
+ # version configured to be active in the environment. You can configure running
27
+ # pre-deployment steps, e.g. running validation test cases, experiment
28
+ # auto-rollout, etc.
29
+ # @!attribute [rw] name
30
+ # @return [::String]
31
+ # The name of the deployment.
32
+ # Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
33
+ # ID>/environments/<Environment ID>/deployments/<Deployment ID>.
34
+ # @!attribute [rw] flow_version
35
+ # @return [::String]
36
+ # The name of the flow version for this deployment.
37
+ # Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
38
+ # ID>/flows/<Flow ID>/versions/<Verion ID>.
39
+ # @!attribute [rw] state
40
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Deployment::State]
41
+ # The current state of the deployment.
42
+ # @!attribute [rw] result
43
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Deployment::Result]
44
+ # Result of the deployment.
45
+ # @!attribute [rw] start_time
46
+ # @return [::Google::Protobuf::Timestamp]
47
+ # Start time of this deployment.
48
+ # @!attribute [rw] end_time
49
+ # @return [::Google::Protobuf::Timestamp]
50
+ # End time of this deployment.
51
+ class Deployment
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+
55
+ # Result of the deployment.
56
+ # @!attribute [rw] deployment_test_results
57
+ # @return [::Array<::String>]
58
+ # Results of test cases running before the deployment.
59
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
60
+ # ID>/testCases/<TestCase ID>/results/<TestCaseResult ID>`.
61
+ # @!attribute [rw] experiment
62
+ # @return [::String]
63
+ # The name of the experiment triggered by this deployment.
64
+ # Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
65
+ # ID>/environments/<Environment ID>/experiments/<Experiment ID>.
66
+ class Result
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+
71
+ # The state of the deployment.
72
+ module State
73
+ # State unspecified.
74
+ STATE_UNSPECIFIED = 0
75
+
76
+ # The deployment is running.
77
+ RUNNING = 1
78
+
79
+ # The deployment succeeded.
80
+ SUCCEEDED = 2
81
+
82
+ # The deployment failed.
83
+ FAILED = 3
84
+ end
85
+ end
86
+
87
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::Deployments::Client#list_deployments Deployments.ListDeployments}.
88
+ # @!attribute [rw] parent
89
+ # @return [::String]
90
+ # Required. The {::Google::Cloud::Dialogflow::CX::V3::Environment Environment} to list all environments for.
91
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
92
+ # ID>/environments/<Environment ID>`.
93
+ # @!attribute [rw] page_size
94
+ # @return [::Integer]
95
+ # The maximum number of items to return in a single page. By default 20 and
96
+ # at most 100.
97
+ # @!attribute [rw] page_token
98
+ # @return [::String]
99
+ # The next_page_token value returned from a previous list request.
100
+ class ListDeploymentsRequest
101
+ include ::Google::Protobuf::MessageExts
102
+ extend ::Google::Protobuf::MessageExts::ClassMethods
103
+ end
104
+
105
+ # The response message for {::Google::Cloud::Dialogflow::CX::V3::Deployments::Client#list_deployments Deployments.ListDeployments}.
106
+ # @!attribute [rw] deployments
107
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Deployment>]
108
+ # The list of deployments. There will be a maximum number of items
109
+ # returned based on the page_size field in the request. The list may in some
110
+ # cases be empty or contain fewer entries than page_size even if this isn't
111
+ # the last page.
112
+ # @!attribute [rw] next_page_token
113
+ # @return [::String]
114
+ # Token to retrieve the next page of results, or empty if there are no more
115
+ # results in the list.
116
+ class ListDeploymentsResponse
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+
121
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::Deployments::Client#get_deployment Deployments.GetDeployment}.
122
+ # @!attribute [rw] name
123
+ # @return [::String]
124
+ # Required. The name of the {::Google::Cloud::Dialogflow::CX::V3::Deployment Deployment}.
125
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
126
+ # ID>/environments/<Environment ID>/deployments/<Deployment ID>`.
127
+ class GetDeploymentRequest
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+ end
132
+ end
133
+ end
134
+ end
135
+ end
@@ -52,6 +52,9 @@ module Google
52
52
  # @!attribute [r] update_time
53
53
  # @return [::Google::Protobuf::Timestamp]
54
54
  # Output only. Update time of this environment.
55
+ # @!attribute [rw] test_cases_config
56
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig]
57
+ # The test cases config for continuous tests of this environment.
55
58
  class Environment
56
59
  include ::Google::Protobuf::MessageExts
57
60
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -65,6 +68,25 @@ module Google
65
68
  include ::Google::Protobuf::MessageExts
66
69
  extend ::Google::Protobuf::MessageExts::ClassMethods
67
70
  end
71
+
72
+ # The configuration for continuous tests.
73
+ # @!attribute [rw] test_cases
74
+ # @return [::Array<::String>]
75
+ # A list of test case names to run. They should be under the same agent.
76
+ # Format of each test case name: `projects/<Project ID>/locations/
77
+ # <Location ID>/agents/<AgentID>/testCases/<TestCase ID>`
78
+ # @!attribute [rw] enable_continuous_run
79
+ # @return [::Boolean]
80
+ # Whether to run test cases in {::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig#test_cases TestCasesConfig.test_cases} periodically.
81
+ # Default false. If set to ture, run once a day.
82
+ # @!attribute [rw] enable_predeployment_run
83
+ # @return [::Boolean]
84
+ # Whether to run test cases in {::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig#test_cases TestCasesConfig.test_cases} before
85
+ # deploying a flow version to the environment. Default false.
86
+ class TestCasesConfig
87
+ include ::Google::Protobuf::MessageExts
88
+ extend ::Google::Protobuf::MessageExts::ClassMethods
89
+ end
68
90
  end
69
91
 
70
92
  # The request message for {::Google::Cloud::Dialogflow::CX::V3::Environments::Client#list_environments Environments.ListEnvironments}.
@@ -272,6 +294,46 @@ module Google
272
294
  include ::Google::Protobuf::MessageExts
273
295
  extend ::Google::Protobuf::MessageExts::ClassMethods
274
296
  end
297
+
298
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::Environments::Client#deploy_flow Environments.DeployFlow}.
299
+ # @!attribute [rw] environment
300
+ # @return [::String]
301
+ # Required. The environment to deploy the flow to.
302
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
303
+ # environments/<Environment ID>`.
304
+ # @!attribute [rw] flow_version
305
+ # @return [::String]
306
+ # Required. The flow version to deploy.
307
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
308
+ # flows/<Flow ID>/versions/<Version ID>`.
309
+ class DeployFlowRequest
310
+ include ::Google::Protobuf::MessageExts
311
+ extend ::Google::Protobuf::MessageExts::ClassMethods
312
+ end
313
+
314
+ # The response message for {::Google::Cloud::Dialogflow::CX::V3::Environments::Client#deploy_flow Environments.DeployFlow}.
315
+ # @!attribute [rw] environment
316
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Environment]
317
+ # The updated environment where the flow is deployed.
318
+ # @!attribute [rw] deployment
319
+ # @return [::String]
320
+ # The name of the flow version {::Google::Cloud::Dialogflow::CX::V3::Deployment Deployment}.
321
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
322
+ # environments/<Environment ID>/deployments/<Deployment ID>`.
323
+ class DeployFlowResponse
324
+ include ::Google::Protobuf::MessageExts
325
+ extend ::Google::Protobuf::MessageExts::ClassMethods
326
+ end
327
+
328
+ # Metadata returned for the {::Google::Cloud::Dialogflow::CX::V3::Environments::Client#deploy_flow Environments.DeployFlow} long running
329
+ # operation.
330
+ # @!attribute [rw] test_errors
331
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::TestError>]
332
+ # Errors of running deployment tests.
333
+ class DeployFlowMetadata
334
+ include ::Google::Protobuf::MessageExts
335
+ extend ::Google::Protobuf::MessageExts::ClassMethods
336
+ end
275
337
  end
276
338
  end
277
339
  end
@@ -106,7 +106,10 @@ module Google
106
106
  # propagate to all the related components and take effect.
107
107
  # @!attribute [rw] name
108
108
  # @return [::String]
109
- # Required. Resource name of the settings.
109
+ # Resource name of the settings.
110
+ # Required for the {::Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Client#update_security_settings SecuritySettingsService.UpdateSecuritySettings} method.
111
+ # {::Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Client#create_security_settings SecuritySettingsService.CreateSecuritySettings} populates the name
112
+ # automatically.
110
113
  # Format: `projects/<Project ID>/locations/<Location
111
114
  # ID>/securitySettings/<Security Settings ID>`.
112
115
  # @!attribute [rw] display_name
@@ -463,6 +463,10 @@ module Google
463
463
  # @return [::String]
464
464
  # If an {::Google::Cloud::Dialogflow::CX::V3::EventInput event} was provided as input, this field will contain
465
465
  # the name of the event.
466
+ # @!attribute [rw] dtmf
467
+ # @return [::Google::Cloud::Dialogflow::CX::V3::DtmfInput]
468
+ # If a [DTMF][DTMFInput] was provided as input, this field will contain
469
+ # a copy of the [DTMFInput][].
466
470
  # @!attribute [rw] language_code
467
471
  # @return [::String]
468
472
  # The language that was triggered during intent detection.
@@ -666,6 +666,7 @@ module Google
666
666
 
667
667
  # Metadata returned for the {::Google::Cloud::Dialogflow::CX::V3::TestCases::Client#export_test_cases TestCases.ExportTestCases} long running
668
668
  # operation.
669
+ # This message currently has no fields.
669
670
  class ExportTestCasesMetadata
670
671
  include ::Google::Protobuf::MessageExts
671
672
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-cx-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.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-08-30 00:00:00.000000000 Z
11
+ date: 2021-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -185,6 +185,12 @@ files:
185
185
  - lib/google/cloud/dialogflow/cx/v3/agents/operations.rb
186
186
  - lib/google/cloud/dialogflow/cx/v3/agents/paths.rb
187
187
  - lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb
188
+ - lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb
189
+ - lib/google/cloud/dialogflow/cx/v3/deployment_services_pb.rb
190
+ - lib/google/cloud/dialogflow/cx/v3/deployments.rb
191
+ - lib/google/cloud/dialogflow/cx/v3/deployments/client.rb
192
+ - lib/google/cloud/dialogflow/cx/v3/deployments/credentials.rb
193
+ - lib/google/cloud/dialogflow/cx/v3/deployments/paths.rb
188
194
  - lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb
189
195
  - lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb
190
196
  - lib/google/cloud/dialogflow/cx/v3/entity_types.rb
@@ -277,6 +283,7 @@ files:
277
283
  - proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb
278
284
  - proto_docs/google/cloud/dialogflow/cx/v3/agent.rb
279
285
  - proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb
286
+ - proto_docs/google/cloud/dialogflow/cx/v3/deployment.rb
280
287
  - proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb
281
288
  - proto_docs/google/cloud/dialogflow/cx/v3/environment.rb
282
289
  - proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb