google-cloud-dialogflow-v2 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/v2/agent_services_pb.rb +1 -1
  3. data/lib/google/cloud/dialogflow/v2/agents/client.rb +3 -3
  4. data/lib/google/cloud/dialogflow/v2/answer_record_services_pb.rb +1 -1
  5. data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +3 -3
  6. data/lib/google/cloud/dialogflow/v2/context_services_pb.rb +1 -1
  7. data/lib/google/cloud/dialogflow/v2/contexts/client.rb +3 -3
  8. data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +1 -1
  9. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +3 -3
  10. data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +1 -1
  11. data/lib/google/cloud/dialogflow/v2/conversations/client.rb +3 -3
  12. data/lib/google/cloud/dialogflow/v2/document_services_pb.rb +1 -1
  13. data/lib/google/cloud/dialogflow/v2/documents/client.rb +3 -3
  14. data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +1 -1
  15. data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +3 -3
  16. data/lib/google/cloud/dialogflow/v2/environment_services_pb.rb +1 -1
  17. data/lib/google/cloud/dialogflow/v2/environments/client.rb +3 -3
  18. data/lib/google/cloud/dialogflow/v2/fulfillment_services_pb.rb +1 -1
  19. data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +3 -3
  20. data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +1 -1
  21. data/lib/google/cloud/dialogflow/v2/intents/client.rb +12 -4
  22. data/lib/google/cloud/dialogflow/v2/knowledge_base_services_pb.rb +1 -1
  23. data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +3 -3
  24. data/lib/google/cloud/dialogflow/v2/participant_services_pb.rb +1 -1
  25. data/lib/google/cloud/dialogflow/v2/participants/client.rb +6 -6
  26. data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +1 -1
  27. data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +3 -3
  28. data/lib/google/cloud/dialogflow/v2/session_services_pb.rb +1 -1
  29. data/lib/google/cloud/dialogflow/v2/sessions/client.rb +6 -6
  30. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  31. data/lib/google/cloud/dialogflow/v2/version_services_pb.rb +1 -1
  32. data/lib/google/cloud/dialogflow/v2/versions/client.rb +3 -3
  33. data/proto_docs/google/cloud/dialogflow/v2/intent.rb +9 -1
  34. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54dcb06c3a24666e1a7216fbbd1f2ea9d248c8cfbc30319468cb55b41d1a22ef
4
- data.tar.gz: 6e9dde1f3a6d32021c22c03f8079d033a704f1c611cc8c858d24fb63cf5286f2
3
+ metadata.gz: 61cb8fe66f5c94db7de63549e0f997ccd222f7d6d7364bf82e56ce82abb8de62
4
+ data.tar.gz: 53cd81c37e38587646ab9bd883db0f848bf4a423eb5d5836adb092ad513349a3
5
5
  SHA512:
6
- metadata.gz: 582db1a5786660198cc64e680f7a3b9d1c9a68a077ef6e91112ba00d2670090537632c90386975bd9ac26de3f59a4cda7ad18c67cf04f0b57202ebd8c9b332db
7
- data.tar.gz: 31a5eec13a28ea2eb21b45303b3f58d910378dbc59912f8d80e87239ff3d65c632f5a08d1bfb98e97e867f19a98bd09e9702481b1b26095bdaa40ba56e732793
6
+ metadata.gz: 6b872223c16bb0247f8049bd9329317017e654e66844916af3092dc5fd4b13b9f1c7fee38c41e11532f1fb217f3d3149e4cfd639559c7c6cc1456ca5651d4e23
7
+ data.tar.gz: 61095c7577b6d4f0d5de9954c546a8917ca31c1f13b2d02ca3a6d218a97ce511d2c26a22ac238fbbbfa016ccd97f0673c98e70c82848b4dde9137d01b15473f8
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [Agents][google.cloud.dialogflow.v2.Agent].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [AnswerRecords][google.cloud.dialogflow.v2.AnswerRecord].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [Contexts][google.cloud.dialogflow.v2.Context].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [ConversationProfiles][google.cloud.dialogflow.v2.ConversationProfile].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [Conversations][google.cloud.dialogflow.v2.Conversation].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing knowledge [Documents][google.cloud.dialogflow.v2.Document].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [EntityTypes][google.cloud.dialogflow.v2.EntityType].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [Environments][google.cloud.dialogflow.v2.Environment].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [Fulfillments][google.cloud.dialogflow.v2.Fulfillment].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [Intents][google.cloud.dialogflow.v2.Intent].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -190,7 +190,15 @@ module Google
190
190
  #
191
191
  # @param parent [::String]
192
192
  # Required. The agent to list all intents from.
193
- # Format: `projects/<Project ID>/agent`.
193
+ # Format: `projects/<Project ID>/agent` or `projects/<Project
194
+ # ID>/locations/<Location ID>/agent`.
195
+ #
196
+ # Alternatively, you can specify the environment to list intents for.
197
+ # Format: `projects/<Project ID>/agent/environments/<Environment ID>`
198
+ # or `projects/<Project ID>/locations/<Location
199
+ # ID>/agent/environments/<Environment ID>`.
200
+ # Note: training phrases of the intents will not be returned for non-draft
201
+ # environment.
194
202
  # @param language_code [::String]
195
203
  # Optional. The language used to access language-specific data.
196
204
  # If not specified, the agent's default language is used.
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [KnowledgeBases][google.cloud.dialogflow.v2.KnowledgeBase].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [Participants][google.cloud.dialogflow.v2.Participant].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,17 +68,17 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config.rpcs.analyze_content.timeout = 220.0
77
77
  default_config.rpcs.analyze_content.retry_policy = {
78
78
  initial_delay: 0.1,
79
- max_delay: 60.0,
80
- multiplier: 1.3,
81
- retry_codes: [14]
79
+ max_delay: 60.0,
80
+ multiplier: 1.3,
81
+ retry_codes: [14]
82
82
  }
83
83
 
84
84
  default_config
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2.SessionEntityType].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -30,7 +30,7 @@ module Google
30
30
  # guide](https://cloud.google.com/dialogflow/docs/api-overview).
31
31
  class Service
32
32
 
33
- include GRPC::GenericService
33
+ include ::GRPC::GenericService
34
34
 
35
35
  self.marshal_class_method = :encode
36
36
  self.unmarshal_class_method = :decode
@@ -71,17 +71,17 @@ module Google
71
71
  default_config.timeout = 60.0
72
72
  default_config.retry_policy = {
73
73
  initial_delay: 0.1,
74
- max_delay: 60.0,
75
- multiplier: 1.3,
76
- retry_codes: [14]
74
+ max_delay: 60.0,
75
+ multiplier: 1.3,
76
+ retry_codes: [14]
77
77
  }
78
78
 
79
79
  default_config.rpcs.detect_intent.timeout = 220.0
80
80
  default_config.rpcs.detect_intent.retry_policy = {
81
81
  initial_delay: 0.1,
82
- max_delay: 60.0,
83
- multiplier: 1.3,
84
- retry_codes: [14]
82
+ max_delay: 60.0,
83
+ multiplier: 1.3,
84
+ retry_codes: [14]
85
85
  }
86
86
 
87
87
  default_config.rpcs.streaming_detect_intent.timeout = 220.0
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "0.8.0"
24
+ VERSION = "0.8.1"
25
25
  end
26
26
  end
27
27
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # Service for managing [Versions][google.cloud.dialogflow.v2.Version].
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,9 +68,9 @@ module Google
68
68
  default_config.timeout = 60.0
69
69
  default_config.retry_policy = {
70
70
  initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14]
71
+ max_delay: 60.0,
72
+ multiplier: 1.3,
73
+ retry_codes: [14]
74
74
  }
75
75
 
76
76
  default_config
@@ -837,7 +837,15 @@ module Google
837
837
  # @!attribute [rw] parent
838
838
  # @return [::String]
839
839
  # Required. The agent to list all intents from.
840
- # Format: `projects/<Project ID>/agent`.
840
+ # Format: `projects/<Project ID>/agent` or `projects/<Project
841
+ # ID>/locations/<Location ID>/agent`.
842
+ #
843
+ # Alternatively, you can specify the environment to list intents for.
844
+ # Format: `projects/<Project ID>/agent/environments/<Environment ID>`
845
+ # or `projects/<Project ID>/locations/<Location
846
+ # ID>/agent/environments/<Environment ID>`.
847
+ # Note: training phrases of the intents will not be returned for non-draft
848
+ # environment.
841
849
  # @!attribute [rw] language_code
842
850
  # @return [::String]
843
851
  # Optional. The language used to access language-specific data.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.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: 2021-05-06 00:00:00.000000000 Z
11
+ date: 2021-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -320,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
320
  - !ruby/object:Gem::Version
321
321
  version: '0'
322
322
  requirements: []
323
- rubygems_version: 3.2.16
323
+ rubygems_version: 3.2.17
324
324
  signing_key:
325
325
  specification_version: 4
326
326
  summary: API Client library for the Dialogflow V2 API