google-cloud-dialogflow-v2 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2695854767da63efd280859b76ae0fc6fda1580b391b0d9e5379483da8b25f4d
4
- data.tar.gz: 945d77febd761b6b4c7b8575c4b29a6ff30774cbd3693268e7f4de55bb0a4844
3
+ metadata.gz: 83244380b1485829daa476ae43bb05fb2680d4fdfe94dd2e7ae76b022cf0cafa
4
+ data.tar.gz: 491960c461f9d97c2450fa39bcea1531be0ac5e9a2df8487dd56dfdb422e11aa
5
5
  SHA512:
6
- metadata.gz: b8f300e13ca1e9276add6565847d028c32c333b74a8b9d564fa29901013d123e9caea361f50de69d89c64a2fe0b4107a70b4bb41c14b600315ae7b5e1bbfe502
7
- data.tar.gz: bc67e5b2869c3d149552dce4290550f7bc1401cc7cf1d312bb6a565ecf481f2638fc62ea5d48e3c6975ec1497ba4aa0727f1378bc57c3a48eb1578e187058085
6
+ metadata.gz: e1d0cd386f15f2601cf9c4bc0aaa8475cb1ccd3a27c7d3632b766d44853c9c145039c770d50ec32ef15df5acb2a8f21c40bb520ca0df939da610e2ae6b369ce4
7
+ data.tar.gz: a607ac890ee4da27430a72b894b30acaeb1a44c667d0c3f044011c0257b1f43fcb9b3212758af1d87b58b764e94e0a675f91fbf0641ae7ca77f8be2d6b023163
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dialogflow
23
23
  module V2
24
- VERSION = "0.2.1"
24
+ VERSION = "0.2.2"
25
25
  end
26
26
  end
27
27
  end
@@ -101,7 +101,8 @@ module Google
101
101
  # @!attribute [rw] type_url
102
102
  # @return [String]
103
103
  # A URL/resource name that uniquely identifies the type of the serialized
104
- # protocol buffer message. The last segment of the URL's path must represent
104
+ # protocol buffer message. This string must contain at least
105
+ # one "/" character. The last segment of the URL's path must represent
105
106
  # the fully qualified name of the type (as in
106
107
  # `path/google.protobuf.Duration`). The name should be in a canonical form
107
108
  # (e.g., leading "." is not accepted).
@@ -40,7 +40,7 @@ module Google
40
40
  # if (duration.seconds < 0 && duration.nanos > 0) {
41
41
  # duration.seconds += 1;
42
42
  # duration.nanos -= 1000000000;
43
- # } else if (durations.seconds > 0 && duration.nanos < 0) {
43
+ # } else if (duration.seconds > 0 && duration.nanos < 0) {
44
44
  # duration.seconds -= 1;
45
45
  # duration.nanos += 1000000000;
46
46
  # }
@@ -87,57 +87,49 @@ module Google
87
87
  # describe the updated values, the API ignores the values of all
88
88
  # fields not covered by the mask.
89
89
  #
90
- # If a repeated field is specified for an update operation, the existing
91
- # repeated values in the target resource will be overwritten by the new values.
92
- # Note that a repeated field is only allowed in the last position of a `paths`
93
- # string.
90
+ # If a repeated field is specified for an update operation, new values will
91
+ # be appended to the existing repeated field in the target resource. Note that
92
+ # a repeated field is only allowed in the last position of a `paths` string.
94
93
  #
95
94
  # If a sub-message is specified in the last position of the field mask for an
96
- # update operation, then the existing sub-message in the target resource is
97
- # overwritten. Given the target message:
95
+ # update operation, then new value will be merged into the existing sub-message
96
+ # in the target resource.
97
+ #
98
+ # For example, given the target message:
98
99
  #
99
100
  # f {
100
101
  # b {
101
- # d : 1
102
- # x : 2
102
+ # d: 1
103
+ # x: 2
103
104
  # }
104
- # c : 1
105
+ # c: [1]
105
106
  # }
106
107
  #
107
108
  # And an update message:
108
109
  #
109
110
  # f {
110
111
  # b {
111
- # d : 10
112
+ # d: 10
112
113
  # }
114
+ # c: [2]
113
115
  # }
114
116
  #
115
117
  # then if the field mask is:
116
118
  #
117
- # paths: "f.b"
119
+ # paths: ["f.b", "f.c"]
118
120
  #
119
121
  # then the result will be:
120
122
  #
121
123
  # f {
122
124
  # b {
123
- # d : 10
125
+ # d: 10
126
+ # x: 2
124
127
  # }
125
- # c : 1
128
+ # c: [1, 2]
126
129
  # }
127
130
  #
128
- # However, if the update mask was:
129
- #
130
- # paths: "f.b.d"
131
- #
132
- # then the result would be:
133
- #
134
- # f {
135
- # b {
136
- # d : 10
137
- # x : 2
138
- # }
139
- # c : 1
140
- # }
131
+ # An implementation may provide options to override this default behavior for
132
+ # repeated and message fields.
141
133
  #
142
134
  # In order to reset a field's value to the default, the field must
143
135
  # be in the mask and set to the default value in the provided resource.
@@ -225,7 +217,7 @@ module Google
225
217
  #
226
218
  # The implementation of any API method which has a FieldMask type field in the
227
219
  # request should verify the included field paths, and return an
228
- # `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
220
+ # `INVALID_ARGUMENT` error if any path is unmappable.
229
221
  # @!attribute [rw] paths
230
222
  # @return [Array<String>]
231
223
  # The set of field mask paths.
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-30 00:00:00.000000000 Z
11
+ date: 2020-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common