google-apis-chat_v1 0.15.0 → 0.19.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: 06d451f2679ee7377987db11152a045d11900c7fbf41b44ee04c243feebff5a8
4
- data.tar.gz: 9dbc703b11cc6caa7bdfbc61bd3801df8b0d635dc58cc32b3b74e8c9a7b20e1b
3
+ metadata.gz: 4d25dc2ecb47c46f03bbe2da36ec94b628e884e3a7a2c8b46de33d699ecbf927
4
+ data.tar.gz: d9138189f1f1c4c3fb2ec5137589605c8a4702931b9e691e1e3dd5760a77d6e3
5
5
  SHA512:
6
- metadata.gz: 606256351c57f21c7872b62ec19a5359e4ddb1afb891f1489ee12e0e563583d018a0e01b709c6ac4b1a7fdb4c0964d53394e91b93f45320d2e9c17af538cab35
7
- data.tar.gz: 56b89ec1e9d0a5ca391d9ff2d3b95c5b0d7ad0a7581762763ce938d8731920f6349c48d34421fd1af1546da5f5d7307abf1bba1748f6a183e4a78fa393a192cd
6
+ metadata.gz: 59b64fa0469dc0e5dda480d2de717ed6e8b67ddf5bb79052334d683a9d68dac225ea449056ff9813d0274b08d2d5065c30034562c96f59b159188bce57753374
7
+ data.tar.gz: 4517c2c5b18b1096eeee3a5f8f527a3040ebbcd77bcaa3b52be00ad2d7187163ee89fbc92a3724df26a88d3f81aeffb8eac7699a9b726e5095c6f586faea5ca7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.19.0 (2021-12-01)
4
+
5
+ * Regenerated from discovery document revision 20211125
6
+
7
+ ### v0.18.0 (2021-11-13)
8
+
9
+ * Regenerated from discovery document revision 20211106
10
+
11
+ ### v0.17.0 (2021-10-29)
12
+
13
+ * Regenerated from discovery document revision 20211022
14
+
15
+ ### v0.16.0 (2021-10-22)
16
+
17
+ * Regenerated from discovery document revision 20211015
18
+
3
19
  ### v0.15.0 (2021-09-15)
4
20
 
5
21
  * Regenerated from discovery document revision 20210911
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Chat service in particular.)
67
67
 
@@ -604,7 +604,7 @@ module Google
604
604
  # @return [String]
605
605
  attr_accessor :dialog_event_type
606
606
 
607
- # The timestamp indicating when the event was dispatched.
607
+ # The timestamp indicating when the event occurred.
608
608
  # Corresponds to the JSON property `eventTime`
609
609
  # @return [String]
610
610
  attr_accessor :event_time
@@ -756,6 +756,46 @@ module Google
756
756
  end
757
757
  end
758
758
 
759
+ # JSON payload of error messages. If the Cloud Logging API is enabled, these
760
+ # error messages are logged to [Google Cloud Logging](https://cloud.google.com/
761
+ # logging/docs).
762
+ class DynamiteIntegrationLogEntry
763
+ include Google::Apis::Core::Hashable
764
+
765
+ # The deployment that caused the error. For Chat bots built in Apps Script, this
766
+ # is the deployment ID defined by Apps Script.
767
+ # Corresponds to the JSON property `deployment`
768
+ # @return [String]
769
+ attr_accessor :deployment
770
+
771
+ # The unencrypted `callback_method` name that was running when the error was
772
+ # encountered.
773
+ # Corresponds to the JSON property `deploymentFunction`
774
+ # @return [String]
775
+ attr_accessor :deployment_function
776
+
777
+ # The `Status` type defines a logical error model that is suitable for different
778
+ # programming environments, including REST APIs and RPC APIs. It is used by [
779
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
780
+ # data: error code, error message, and error details. You can find out more
781
+ # about this error model and how to work with it in the [API Design Guide](https:
782
+ # //cloud.google.com/apis/design/errors).
783
+ # Corresponds to the JSON property `error`
784
+ # @return [Google::Apis::ChatV1::Status]
785
+ attr_accessor :error
786
+
787
+ def initialize(**args)
788
+ update!(**args)
789
+ end
790
+
791
+ # Update properties of this object
792
+ def update!(**args)
793
+ @deployment = args[:deployment] if args.key?(:deployment)
794
+ @deployment_function = args[:deployment_function] if args.key?(:deployment_function)
795
+ @error = args[:error] if args.key?(:error)
796
+ end
797
+ end
798
+
759
799
  # A generic empty message that you can re-use to avoid defining duplicated empty
760
800
  # messages in your APIs. A typical example is to use it as the request or the
761
801
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -2333,8 +2373,8 @@ module Google
2333
2373
  class Membership
2334
2374
  include Google::Apis::Core::Hashable
2335
2375
 
2336
- # The creation time of the membership a.k.a the time at which the member joined
2337
- # the space, if applicable.
2376
+ # Output only. The creation time of the membership a.k.a. the time at which the
2377
+ # member joined the space, if applicable.
2338
2378
  # Corresponds to the JSON property `createTime`
2339
2379
  # @return [String]
2340
2380
  attr_accessor :create_time
@@ -2349,7 +2389,8 @@ module Google
2349
2389
  # @return [String]
2350
2390
  attr_accessor :name
2351
2391
 
2352
- # State of the membership.
2392
+ # State of the membership. Required for `CreateMembership`. Read-only for other
2393
+ # usage.
2353
2394
  # Corresponds to the JSON property `state`
2354
2395
  # @return [String]
2355
2396
  attr_accessor :state
@@ -2416,7 +2457,8 @@ module Google
2416
2457
  # @return [String]
2417
2458
  attr_accessor :last_update_time
2418
2459
 
2419
- #
2460
+ # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
2461
+ # messages/BBBBBBBBBBB.BBBBBBBBBBB`
2420
2462
  # Corresponds to the JSON property `name`
2421
2463
  # @return [String]
2422
2464
  attr_accessor :name
@@ -2618,32 +2660,31 @@ module Google
2618
2660
  class Space
2619
2661
  include Google::Apis::Core::Hashable
2620
2662
 
2621
- # Output only. The display name (only if the space is of type `ROOM`). Please
2622
- # note that this field might not be populated in direct messages between humans.
2663
+ # The space's display name. For direct messages between humans, this field might
2664
+ # be empty.
2623
2665
  # Corresponds to the JSON property `displayName`
2624
2666
  # @return [String]
2625
2667
  attr_accessor :display_name
2626
2668
 
2627
2669
  # Resource name of the space, in the form "spaces/*". Example: spaces/
2628
- # AAAAMpdlehYs
2670
+ # AAAAAAAAAAAA
2629
2671
  # Corresponds to the JSON property `name`
2630
2672
  # @return [String]
2631
2673
  attr_accessor :name
2632
2674
 
2633
- # Whether the space is a DM between a bot and a single human.
2675
+ # Output only. Whether the space is a DM between a bot and a single human.
2634
2676
  # Corresponds to the JSON property `singleUserBotDm`
2635
2677
  # @return [Boolean]
2636
2678
  attr_accessor :single_user_bot_dm
2637
2679
  alias_method :single_user_bot_dm?, :single_user_bot_dm
2638
2680
 
2639
- # Whether the messages are threaded in this space.
2681
+ # Output only. Whether the messages are threaded in this space.
2640
2682
  # Corresponds to the JSON property `threaded`
2641
2683
  # @return [Boolean]
2642
2684
  attr_accessor :threaded
2643
2685
  alias_method :threaded?, :threaded
2644
2686
 
2645
- # Output only. The type of a space. This is deprecated. Use `single_user_bot_dm`
2646
- # instead.
2687
+ # Deprecated. Use `single_user_bot_dm` instead. Output only. The type of a space.
2647
2688
  # Corresponds to the JSON property `type`
2648
2689
  # @return [String]
2649
2690
  attr_accessor :type
@@ -2662,6 +2703,45 @@ module Google
2662
2703
  end
2663
2704
  end
2664
2705
 
2706
+ # The `Status` type defines a logical error model that is suitable for different
2707
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2708
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2709
+ # data: error code, error message, and error details. You can find out more
2710
+ # about this error model and how to work with it in the [API Design Guide](https:
2711
+ # //cloud.google.com/apis/design/errors).
2712
+ class Status
2713
+ include Google::Apis::Core::Hashable
2714
+
2715
+ # The status code, which should be an enum value of google.rpc.Code.
2716
+ # Corresponds to the JSON property `code`
2717
+ # @return [Fixnum]
2718
+ attr_accessor :code
2719
+
2720
+ # A list of messages that carry the error details. There is a common set of
2721
+ # message types for APIs to use.
2722
+ # Corresponds to the JSON property `details`
2723
+ # @return [Array<Hash<String,Object>>]
2724
+ attr_accessor :details
2725
+
2726
+ # A developer-facing error message, which should be in English. Any user-facing
2727
+ # error message should be localized and sent in the google.rpc.Status.details
2728
+ # field, or localized by the client.
2729
+ # Corresponds to the JSON property `message`
2730
+ # @return [String]
2731
+ attr_accessor :message
2732
+
2733
+ def initialize(**args)
2734
+ update!(**args)
2735
+ end
2736
+
2737
+ # Update properties of this object
2738
+ def update!(**args)
2739
+ @code = args[:code] if args.key?(:code)
2740
+ @details = args[:details] if args.key?(:details)
2741
+ @message = args[:message] if args.key?(:message)
2742
+ end
2743
+ end
2744
+
2665
2745
  # Input parameter for regular widgets. For single-valued widgets, it will be a
2666
2746
  # single value list; for multi-valued widgets, such as checkbox, all the values
2667
2747
  # are presented.
@@ -2731,8 +2811,8 @@ module Google
2731
2811
  class Thread
2732
2812
  include Google::Apis::Core::Hashable
2733
2813
 
2734
- # Resource name, in the form "spaces/*/threads/*". Example: spaces/AAAAMpdlehY/
2735
- # threads/UMxbHmzDlr4
2814
+ # Resource name, in the form "spaces/*/threads/*". Example: spaces/AAAAAAAAAAA/
2815
+ # threads/TTTTTTTTTTT
2736
2816
  # Corresponds to the JSON property `name`
2737
2817
  # @return [String]
2738
2818
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChatV1
18
18
  # Version of the google-apis-chat_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.19.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 = "20210911"
25
+ REVISION = "20211125"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class DynamiteIntegrationLogEntry
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class Empty
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -406,6 +412,12 @@ module Google
406
412
  include Google::Apis::Core::JsonObjectSupport
407
413
  end
408
414
 
415
+ class Status
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
409
421
  class StringInputs
410
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
423
 
@@ -653,6 +665,16 @@ module Google
653
665
  end
654
666
  end
655
667
 
668
+ class DynamiteIntegrationLogEntry
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :deployment, as: 'deployment'
672
+ property :deployment_function, as: 'deploymentFunction'
673
+ property :error, as: 'error', class: Google::Apis::ChatV1::Status, decorator: Google::Apis::ChatV1::Status::Representation
674
+
675
+ end
676
+ end
677
+
656
678
  class Empty
657
679
  # @private
658
680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1180,6 +1202,15 @@ module Google
1180
1202
  end
1181
1203
  end
1182
1204
 
1205
+ class Status
1206
+ # @private
1207
+ class Representation < Google::Apis::Core::JsonRepresentation
1208
+ property :code, as: 'code'
1209
+ collection :details, as: 'details'
1210
+ property :message, as: 'message'
1211
+ end
1212
+ end
1213
+
1183
1214
  class StringInputs
1184
1215
  # @private
1185
1216
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -55,8 +55,12 @@ module Google
55
55
  # response.
56
56
  # @param [String] parent
57
57
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
58
- # AAAAMpdlehY
58
+ # AAAAAAAAAAA
59
59
  # @param [Google::Apis::ChatV1::Message] message_object
60
+ # @param [String] request_id
61
+ # Optional. A unique request ID for this message. If a message has already been
62
+ # created in the space with this request ID, the subsequent request will return
63
+ # the existing message and no new message will be created.
60
64
  # @param [String] thread_key
61
65
  # Optional. Opaque thread identifier string that can be specified to group
62
66
  # messages into a single thread. If this is the first message with a given
@@ -82,13 +86,14 @@ module Google
82
86
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
83
87
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
84
88
  # @raise [Google::Apis::AuthorizationError] Authorization is required
85
- def messages_dm(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
89
+ def messages_dm(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
86
90
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
87
91
  command.request_representation = Google::Apis::ChatV1::Message::Representation
88
92
  command.request_object = message_object
89
93
  command.response_representation = Google::Apis::ChatV1::Message::Representation
90
94
  command.response_class = Google::Apis::ChatV1::Message
91
95
  command.params['parent'] = parent unless parent.nil?
96
+ command.query['requestId'] = request_id unless request_id.nil?
92
97
  command.query['threadKey'] = thread_key unless thread_key.nil?
93
98
  command.query['fields'] = fields unless fields.nil?
94
99
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -99,8 +104,12 @@ module Google
99
104
  # response.
100
105
  # @param [String] parent
101
106
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
102
- # AAAAMpdlehY
107
+ # AAAAAAAAAAA
103
108
  # @param [Google::Apis::ChatV1::Message] message_object
109
+ # @param [String] request_id
110
+ # Optional. A unique request ID for this message. If a message has already been
111
+ # created in the space with this request ID, the subsequent request will return
112
+ # the existing message and no new message will be created.
104
113
  # @param [String] thread_key
105
114
  # Optional. Opaque thread identifier string that can be specified to group
106
115
  # messages into a single thread. If this is the first message with a given
@@ -126,13 +135,14 @@ module Google
126
135
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
127
136
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
128
137
  # @raise [Google::Apis::AuthorizationError] Authorization is required
129
- def webhooks_dm(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
138
+ def webhooks_dm(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
130
139
  command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
131
140
  command.request_representation = Google::Apis::ChatV1::Message::Representation
132
141
  command.request_object = message_object
133
142
  command.response_representation = Google::Apis::ChatV1::Message::Representation
134
143
  command.response_class = Google::Apis::ChatV1::Message
135
144
  command.params['parent'] = parent unless parent.nil?
145
+ command.query['requestId'] = request_id unless request_id.nil?
136
146
  command.query['threadKey'] = thread_key unless thread_key.nil?
137
147
  command.query['fields'] = fields unless fields.nil?
138
148
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -143,8 +153,12 @@ module Google
143
153
  # response.
144
154
  # @param [String] parent
145
155
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
146
- # AAAAMpdlehY
156
+ # AAAAAAAAAAA
147
157
  # @param [Google::Apis::ChatV1::Message] message_object
158
+ # @param [String] request_id
159
+ # Optional. A unique request ID for this message. If a message has already been
160
+ # created in the space with this request ID, the subsequent request will return
161
+ # the existing message and no new message will be created.
148
162
  # @param [String] thread_key
149
163
  # Optional. Opaque thread identifier string that can be specified to group
150
164
  # messages into a single thread. If this is the first message with a given
@@ -170,13 +184,14 @@ module Google
170
184
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
171
185
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
172
186
  # @raise [Google::Apis::AuthorizationError] Authorization is required
173
- def messages_dm_conversation(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
187
+ def messages_dm_conversation(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
174
188
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
175
189
  command.request_representation = Google::Apis::ChatV1::Message::Representation
176
190
  command.request_object = message_object
177
191
  command.response_representation = Google::Apis::ChatV1::Message::Representation
178
192
  command.response_class = Google::Apis::ChatV1::Message
179
193
  command.params['parent'] = parent unless parent.nil?
194
+ command.query['requestId'] = request_id unless request_id.nil?
180
195
  command.query['threadKey'] = thread_key unless thread_key.nil?
181
196
  command.query['fields'] = fields unless fields.nil?
182
197
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -225,8 +240,12 @@ module Google
225
240
  # response.
226
241
  # @param [String] parent
227
242
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
228
- # AAAAMpdlehY
243
+ # AAAAAAAAAAA
229
244
  # @param [Google::Apis::ChatV1::Message] message_object
245
+ # @param [String] request_id
246
+ # Optional. A unique request ID for this message. If a message has already been
247
+ # created in the space with this request ID, the subsequent request will return
248
+ # the existing message and no new message will be created.
230
249
  # @param [String] thread_key
231
250
  # Optional. Opaque thread identifier string that can be specified to group
232
251
  # messages into a single thread. If this is the first message with a given
@@ -252,13 +271,14 @@ module Google
252
271
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
253
272
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
254
273
  # @raise [Google::Apis::AuthorizationError] Authorization is required
255
- def messages_room(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
274
+ def messages_room(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
256
275
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
257
276
  command.request_representation = Google::Apis::ChatV1::Message::Representation
258
277
  command.request_object = message_object
259
278
  command.response_representation = Google::Apis::ChatV1::Message::Representation
260
279
  command.response_class = Google::Apis::ChatV1::Message
261
280
  command.params['parent'] = parent unless parent.nil?
281
+ command.query['requestId'] = request_id unless request_id.nil?
262
282
  command.query['threadKey'] = thread_key unless thread_key.nil?
263
283
  command.query['fields'] = fields unless fields.nil?
264
284
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -269,8 +289,12 @@ module Google
269
289
  # response.
270
290
  # @param [String] parent
271
291
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
272
- # AAAAMpdlehY
292
+ # AAAAAAAAAAA
273
293
  # @param [Google::Apis::ChatV1::Message] message_object
294
+ # @param [String] request_id
295
+ # Optional. A unique request ID for this message. If a message has already been
296
+ # created in the space with this request ID, the subsequent request will return
297
+ # the existing message and no new message will be created.
274
298
  # @param [String] thread_key
275
299
  # Optional. Opaque thread identifier string that can be specified to group
276
300
  # messages into a single thread. If this is the first message with a given
@@ -296,13 +320,14 @@ module Google
296
320
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
297
321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
298
322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
299
- def webhooks_room(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
323
+ def webhooks_room(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
300
324
  command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
301
325
  command.request_representation = Google::Apis::ChatV1::Message::Representation
302
326
  command.request_object = message_object
303
327
  command.response_representation = Google::Apis::ChatV1::Message::Representation
304
328
  command.response_class = Google::Apis::ChatV1::Message
305
329
  command.params['parent'] = parent unless parent.nil?
330
+ command.query['requestId'] = request_id unless request_id.nil?
306
331
  command.query['threadKey'] = thread_key unless thread_key.nil?
307
332
  command.query['fields'] = fields unless fields.nil?
308
333
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -313,8 +338,12 @@ module Google
313
338
  # response.
314
339
  # @param [String] parent
315
340
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
316
- # AAAAMpdlehY
341
+ # AAAAAAAAAAA
317
342
  # @param [Google::Apis::ChatV1::Message] message_object
343
+ # @param [String] request_id
344
+ # Optional. A unique request ID for this message. If a message has already been
345
+ # created in the space with this request ID, the subsequent request will return
346
+ # the existing message and no new message will be created.
318
347
  # @param [String] thread_key
319
348
  # Optional. Opaque thread identifier string that can be specified to group
320
349
  # messages into a single thread. If this is the first message with a given
@@ -340,13 +369,14 @@ module Google
340
369
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
341
370
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
342
371
  # @raise [Google::Apis::AuthorizationError] Authorization is required
343
- def messages_room_conversation(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
372
+ def messages_room_conversation(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
344
373
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
345
374
  command.request_representation = Google::Apis::ChatV1::Message::Representation
346
375
  command.request_object = message_object
347
376
  command.response_representation = Google::Apis::ChatV1::Message::Representation
348
377
  command.response_class = Google::Apis::ChatV1::Message
349
378
  command.params['parent'] = parent unless parent.nil?
379
+ command.query['requestId'] = request_id unless request_id.nil?
350
380
  command.query['threadKey'] = thread_key unless thread_key.nil?
351
381
  command.query['fields'] = fields unless fields.nil?
352
382
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -356,7 +386,7 @@ module Google
356
386
  # Returns a space.
357
387
  # @param [String] name
358
388
  # Required. Resource name of the space, in the form "spaces/*". Example: spaces/
359
- # AAAAMpdlehY
389
+ # AAAAAAAAAAAA
360
390
  # @param [String] fields
361
391
  # Selector specifying which fields to include in a partial response.
362
392
  # @param [String] quota_user
@@ -422,8 +452,12 @@ module Google
422
452
  # response.
423
453
  # @param [String] parent
424
454
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
425
- # AAAAMpdlehY
455
+ # AAAAAAAAAAA
426
456
  # @param [Google::Apis::ChatV1::Message] message_object
457
+ # @param [String] request_id
458
+ # Optional. A unique request ID for this message. If a message has already been
459
+ # created in the space with this request ID, the subsequent request will return
460
+ # the existing message and no new message will be created.
427
461
  # @param [String] thread_key
428
462
  # Optional. Opaque thread identifier string that can be specified to group
429
463
  # messages into a single thread. If this is the first message with a given
@@ -449,13 +483,14 @@ module Google
449
483
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
450
484
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
451
485
  # @raise [Google::Apis::AuthorizationError] Authorization is required
452
- def webhooks_space(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
486
+ def webhooks_space(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
453
487
  command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
454
488
  command.request_representation = Google::Apis::ChatV1::Message::Representation
455
489
  command.request_object = message_object
456
490
  command.response_representation = Google::Apis::ChatV1::Message::Representation
457
491
  command.response_class = Google::Apis::ChatV1::Message
458
492
  command.params['parent'] = parent unless parent.nil?
493
+ command.query['requestId'] = request_id unless request_id.nil?
459
494
  command.query['threadKey'] = thread_key unless thread_key.nil?
460
495
  command.query['fields'] = fields unless fields.nil?
461
496
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -465,7 +500,7 @@ module Google
465
500
  # Returns a membership.
466
501
  # @param [String] name
467
502
  # Required. Resource name of the membership to be retrieved, in the form "spaces/
468
- # */members/*". Example: spaces/AAAAMpdlehY/members/105115627578887013105
503
+ # */members/*". Example: spaces/AAAAAAAAAAAA/members/111111111111111111111
469
504
  # @param [String] fields
470
505
  # Selector specifying which fields to include in a partial response.
471
506
  # @param [String] quota_user
@@ -496,7 +531,7 @@ module Google
496
531
  # Lists human memberships in a space.
497
532
  # @param [String] parent
498
533
  # Required. The resource name of the space for which membership list is to be
499
- # fetched, in the form "spaces/*". Example: spaces/AAAAMpdlehY
534
+ # fetched, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
500
535
  # @param [Fixnum] page_size
501
536
  # Requested page size. The value is capped at 1000. Server may return fewer
502
537
  # results than requested. If unspecified, server will default to 100.
@@ -534,8 +569,12 @@ module Google
534
569
  # Creates a message.
535
570
  # @param [String] parent
536
571
  # Required. Space resource name, in the form "spaces/*". Example: spaces/
537
- # AAAAMpdlehY
572
+ # AAAAAAAAAAA
538
573
  # @param [Google::Apis::ChatV1::Message] message_object
574
+ # @param [String] request_id
575
+ # Optional. A unique request ID for this message. If a message has already been
576
+ # created in the space with this request ID, the subsequent request will return
577
+ # the existing message and no new message will be created.
539
578
  # @param [String] thread_key
540
579
  # Optional. Opaque thread identifier string that can be specified to group
541
580
  # messages into a single thread. If this is the first message with a given
@@ -561,13 +600,14 @@ module Google
561
600
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
562
601
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
563
602
  # @raise [Google::Apis::AuthorizationError] Authorization is required
564
- def create_space_message(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
603
+ def create_space_message(parent, message_object = nil, request_id: nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
565
604
  command = make_simple_command(:post, 'v1/{+parent}/messages', options)
566
605
  command.request_representation = Google::Apis::ChatV1::Message::Representation
567
606
  command.request_object = message_object
568
607
  command.response_representation = Google::Apis::ChatV1::Message::Representation
569
608
  command.response_class = Google::Apis::ChatV1::Message
570
609
  command.params['parent'] = parent unless parent.nil?
610
+ command.query['requestId'] = request_id unless request_id.nil?
571
611
  command.query['threadKey'] = thread_key unless thread_key.nil?
572
612
  command.query['fields'] = fields unless fields.nil?
573
613
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -577,7 +617,7 @@ module Google
577
617
  # Deletes a message.
578
618
  # @param [String] name
579
619
  # Required. Resource name of the message to be deleted, in the form "spaces/*/
580
- # messages/*" Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
620
+ # messages/*" Example: spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB
581
621
  # @param [String] fields
582
622
  # Selector specifying which fields to include in a partial response.
583
623
  # @param [String] quota_user
@@ -608,7 +648,7 @@ module Google
608
648
  # Returns a message.
609
649
  # @param [String] name
610
650
  # Required. Resource name of the message to be retrieved, in the form "spaces/*/
611
- # messages/*". Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
651
+ # messages/*". Example: spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB
612
652
  # @param [String] fields
613
653
  # Selector specifying which fields to include in a partial response.
614
654
  # @param [String] quota_user
@@ -638,10 +678,13 @@ module Google
638
678
 
639
679
  # Updates a message.
640
680
  # @param [String] name
681
+ # Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
682
+ # messages/BBBBBBBBBBB.BBBBBBBBBBB`
641
683
  # @param [Google::Apis::ChatV1::Message] message_object
642
684
  # @param [String] update_mask
643
685
  # Required. The field paths to be updated, comma separated if there are multiple.
644
- # Currently supported field paths: * text * cards
686
+ # Currently supported field paths: * text * cards *
687
+ # gsuite_message_integration_render_data * attachment
645
688
  # @param [String] fields
646
689
  # Selector specifying which fields to include in a partial response.
647
690
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.19.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-20 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chat_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.15.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chat_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.19.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: