google-cloud-dialogflow-cx-v3 0.23.0 → 0.24.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +72 -101
  3. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +39 -14
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +28 -6
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +37 -9
  6. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +33 -8
  7. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/service_stub.rb +23 -2
  8. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +38 -14
  9. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +36 -9
  10. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/service_stub.rb +23 -2
  11. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +38 -14
  12. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +36 -9
  13. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/service_stub.rb +23 -2
  14. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +38 -14
  15. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +36 -9
  16. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/service_stub.rb +23 -2
  17. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +39 -14
  18. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +28 -6
  19. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +37 -9
  20. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +33 -8
  21. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/service_stub.rb +23 -2
  22. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +38 -14
  23. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +36 -9
  24. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/service_stub.rb +23 -2
  25. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +39 -14
  26. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +28 -6
  27. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +37 -9
  28. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +33 -8
  29. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/service_stub.rb +23 -2
  30. data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +38 -14
  31. data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +36 -9
  32. data/lib/google/cloud/dialogflow/cx/v3/generators/rest/service_stub.rb +23 -2
  33. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +39 -14
  34. data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +28 -6
  35. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +37 -9
  36. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/operations.rb +33 -8
  37. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/service_stub.rb +23 -2
  38. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +38 -14
  39. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +36 -9
  40. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/service_stub.rb +23 -2
  41. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +38 -14
  42. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +36 -9
  43. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/service_stub.rb +23 -2
  44. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +38 -14
  45. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +36 -9
  46. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/service_stub.rb +23 -2
  47. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +38 -14
  48. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +36 -9
  49. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/service_stub.rb +23 -2
  50. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +39 -14
  51. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +28 -6
  52. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +37 -9
  53. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +33 -8
  54. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/service_stub.rb +23 -2
  55. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +38 -14
  56. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +36 -9
  57. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/service_stub.rb +23 -2
  58. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  59. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +39 -14
  60. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +28 -6
  61. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +37 -9
  62. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +33 -8
  63. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/service_stub.rb +23 -2
  64. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +38 -14
  65. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +36 -9
  66. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/service_stub.rb +23 -2
  67. data/proto_docs/google/api/client.rb +1 -0
  68. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +1 -0
  69. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +2 -0
  70. data/proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb +1 -0
  71. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +2 -0
  72. metadata +6 -6
@@ -31,16 +31,37 @@ module Google
31
31
  # including transcoding, making the REST call, and deserialing the response.
32
32
  #
33
33
  class ServiceStub
34
- def initialize endpoint:, credentials:
34
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
35
35
  # These require statements are intentionally placed here to initialize
36
36
  # the REST modules only when it's required.
37
37
  require "gapic/rest"
38
38
 
39
- @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
39
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
40
+ endpoint_template: endpoint_template,
41
+ universe_domain: universe_domain,
42
+ credentials: credentials,
40
43
  numeric_enums: true,
41
44
  raise_faraday_errors: false
42
45
  end
43
46
 
47
+ ##
48
+ # The effective universe domain
49
+ #
50
+ # @return [String]
51
+ #
52
+ def universe_domain
53
+ @client_stub.universe_domain
54
+ end
55
+
56
+ ##
57
+ # The effective endpoint
58
+ #
59
+ # @return [String]
60
+ #
61
+ def endpoint
62
+ @client_stub.endpoint
63
+ end
64
+
44
65
  ##
45
66
  # Baseline implementation for the list_webhooks REST call
46
67
  #
@@ -21,6 +21,7 @@ module Google
21
21
  module Api
22
22
  # Required information for every language.
23
23
  # @!attribute [rw] reference_docs_uri
24
+ # @deprecated This field is deprecated and may be removed in the next major version update.
24
25
  # @return [::String]
25
26
  # Link to automatically generated reference documentation. Example:
26
27
  # https://cloud.google.com/nodejs/docs/reference/asset/latest
@@ -100,6 +100,7 @@ module Google
100
100
  # reference for the agent. Format: `projects/<Project ID>/locations/<Location
101
101
  # ID>/securitySettings/<Security Settings ID>`.
102
102
  # @!attribute [rw] enable_stackdriver_logging
103
+ # @deprecated This field is deprecated and may be removed in the next major version update.
103
104
  # @return [::Boolean]
104
105
  # Indicates if stackdriver logging is enabled for the agent.
105
106
  # Please use
@@ -816,6 +816,7 @@ module Google
816
816
  # fields are filled in this message, including but not limited to `name` and
817
817
  # `display_name`.
818
818
  # @!attribute [rw] intent
819
+ # @deprecated This field is deprecated and may be removed in the next major version update.
819
820
  # @return [::Google::Cloud::Dialogflow::CX::V3::Intent]
820
821
  # The {::Google::Cloud::Dialogflow::CX::V3::Intent Intent} that matched the
821
822
  # conversational query. Some, not all fields are filled in this message,
@@ -824,6 +825,7 @@ module Google
824
825
  # {::Google::Cloud::Dialogflow::CX::V3::QueryResult#match QueryResult.match}
825
826
  # instead.
826
827
  # @!attribute [rw] intent_detection_confidence
828
+ # @deprecated This field is deprecated and may be removed in the next major version update.
827
829
  # @return [::Float]
828
830
  # The intent detection confidence. Values range from 0.0 (completely
829
831
  # uncertain) to 1.0 (completely certain).
@@ -27,6 +27,7 @@ module Google
27
27
  # @return [::Google::Cloud::Dialogflow::CX::V3::ValidationMessage::ResourceType]
28
28
  # The type of the resources where the message is found.
29
29
  # @!attribute [rw] resources
30
+ # @deprecated This field is deprecated and may be removed in the next major version update.
30
31
  # @return [::Array<::String>]
31
32
  # The names of the resources where the message is found.
32
33
  # @!attribute [rw] resource_names
@@ -63,9 +63,11 @@ module Google
63
63
  # Required. The webhook URI for receiving POST requests. It must use https
64
64
  # protocol.
65
65
  # @!attribute [rw] username
66
+ # @deprecated This field is deprecated and may be removed in the next major version update.
66
67
  # @return [::String]
67
68
  # The user name for HTTP Basic authentication.
68
69
  # @!attribute [rw] password
70
+ # @deprecated This field is deprecated and may be removed in the next major version update.
69
71
  # @return [::String]
70
72
  # The password for HTTP Basic authentication.
71
73
  # @!attribute [rw] request_headers
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.23.0
4
+ version: 0.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-10 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.20.0
19
+ version: 0.21.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.20.0
29
+ version: 0.21.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.4'
53
+ version: '0.7'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.4'
63
+ version: '0.7'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a