google-apis-chat_v1 0.29.0 → 0.32.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: 0aa1630e3e59bf9fc8b75ec7cd2c26a469c7efea3ef9619f74fc9ceab0c56c5e
4
- data.tar.gz: 3acc0e64a841735c89669762940588683ecde00f16dd98ce62aa8a33855e39ba
3
+ metadata.gz: 9006fe6d43f89b28a8d41b7136c3e1a0e2098e3cd1085484fe52dc79e77cc369
4
+ data.tar.gz: 7e8287b0b1bc238dd9c2840d1a8dbf019080b08a635512b8229d3080be9380a4
5
5
  SHA512:
6
- metadata.gz: 615fdee53c4f3388c8850861ee30e4306a73ac1b9887290db2cf23394e102a78cbf6119004d8fa2293f10a793c0780584ccdc43ca08e57341dad7b675149a8b9
7
- data.tar.gz: f9b6b1652a30a2bbede1a87938ec94d6db46783425864310ea2699fe783d883bec71f047e02219e8c2aaea715bf70d8a747c8b3fca8706f923e0ca45a64c4a68
6
+ metadata.gz: 131de5ed63ac874af5c5ae49220e507f4fee0e5b2ea0ec3dae8398f89b48dba10e224816f217b95deecc239356856c0430565865549d8f5f97fc323976c87184
7
+ data.tar.gz: 228c32c75af5094d40d58b528c58c31c37242e23da2128ccd23e79969e9eef7bc47f8c7d6200459af242e601bb9979167b5e8fe69b0afd740dc986e12fdcccc0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.32.0 (2022-05-13)
4
+
5
+ * Regenerated from discovery document revision 20220506
6
+
7
+ ### v0.31.0 (2022-04-22)
8
+
9
+ * Regenerated from discovery document revision 20220415
10
+
11
+ ### v0.30.0 (2022-04-08)
12
+
13
+ * Regenerated from discovery document revision 20220405
14
+
3
15
  ### v0.29.0 (2022-04-01)
4
16
 
5
17
  * Regenerated from discovery document revision 20220326
@@ -60,12 +60,13 @@ module Google
60
60
  # @return [Google::Apis::ChatV1::DialogAction]
61
61
  attr_accessor :dialog_action
62
62
 
63
- # The type of Chat app response.
63
+ # Input only. The type of Chat app response.
64
64
  # Corresponds to the JSON property `type`
65
65
  # @return [String]
66
66
  attr_accessor :type
67
67
 
68
- # URL for users to auth or config. (Only for REQUEST_CONFIG response types.)
68
+ # Input only. URL for users to auth or config. (Only for REQUEST_CONFIG response
69
+ # types.)
69
70
  # Corresponds to the JSON property `url`
70
71
  # @return [String]
71
72
  attr_accessor :url
@@ -82,7 +83,8 @@ module Google
82
83
  end
83
84
  end
84
85
 
85
- # Represents the status of a request.
86
+ # Represents the status for a request to either invoke or submit a [dialog](
87
+ # https://developers.google.com/chat/how-tos/dialogs).
86
88
  class ActionStatus
87
89
  include Google::Apis::Core::Hashable
88
90
 
@@ -372,6 +374,46 @@ module Google
372
374
  end
373
375
  end
374
376
 
377
+ # JSON payload of error messages. If the Cloud Logging API is enabled, these
378
+ # error messages are logged to [Google Cloud Logging](https://cloud.google.com/
379
+ # logging/docs).
380
+ class ChatAppLogEntry
381
+ include Google::Apis::Core::Hashable
382
+
383
+ # The deployment that caused the error. For Chat apps built in Apps Script, this
384
+ # is the deployment ID defined by Apps Script.
385
+ # Corresponds to the JSON property `deployment`
386
+ # @return [String]
387
+ attr_accessor :deployment
388
+
389
+ # The unencrypted `callback_method` name that was running when the error was
390
+ # encountered.
391
+ # Corresponds to the JSON property `deploymentFunction`
392
+ # @return [String]
393
+ attr_accessor :deployment_function
394
+
395
+ # The `Status` type defines a logical error model that is suitable for different
396
+ # programming environments, including REST APIs and RPC APIs. It is used by [
397
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
398
+ # data: error code, error message, and error details. You can find out more
399
+ # about this error model and how to work with it in the [API Design Guide](https:
400
+ # //cloud.google.com/apis/design/errors).
401
+ # Corresponds to the JSON property `error`
402
+ # @return [Google::Apis::ChatV1::Status]
403
+ attr_accessor :error
404
+
405
+ def initialize(**args)
406
+ update!(**args)
407
+ end
408
+
409
+ # Update properties of this object
410
+ def update!(**args)
411
+ @deployment = args[:deployment] if args.key?(:deployment)
412
+ @deployment_function = args[:deployment_function] if args.key?(:deployment_function)
413
+ @error = args[:error] if args.key?(:error)
414
+ end
415
+ end
416
+
375
417
  # Represents a color in the RGBA color space. This representation is designed
376
418
  # for simplicity of conversion to/from color representations in various
377
419
  # languages over compactness. For example, the fields of this representation can
@@ -644,10 +686,13 @@ module Google
644
686
  # @return [String]
645
687
  attr_accessor :thread_key
646
688
 
647
- # A secret value that Chat apps can use to verify if a request is from Google.
648
- # The token is randomly generated by Google, remains static, and can be obtained
649
- # from the Google Chat API configuration page in the Cloud Console. Developers
650
- # can revoke/regenerate it if needed from the same page.
689
+ # A secret value that legacy Chat apps can use to verify if a request is from
690
+ # Google. Google randomly generates the token, and its value remains static. You
691
+ # can obtain, revoke, or regenerate the token from the [Chat API configuration
692
+ # page](https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-
693
+ # chat) in the Google Cloud Console. Modern Chat apps don't use this field. It
694
+ # is absent from API responses and the [Chat API configuration page](https://
695
+ # console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat).
651
696
  # Corresponds to the JSON property `token`
652
697
  # @return [String]
653
698
  attr_accessor :token
@@ -724,7 +769,8 @@ module Google
724
769
  class DialogAction
725
770
  include Google::Apis::Core::Hashable
726
771
 
727
- # Represents the status of a request.
772
+ # Represents the status for a request to either invoke or submit a [dialog](
773
+ # https://developers.google.com/chat/how-tos/dialogs).
728
774
  # Corresponds to the JSON property `actionStatus`
729
775
  # @return [Google::Apis::ChatV1::ActionStatus]
730
776
  attr_accessor :action_status
@@ -764,46 +810,6 @@ module Google
764
810
  end
765
811
  end
766
812
 
767
- # JSON payload of error messages. If the Cloud Logging API is enabled, these
768
- # error messages are logged to [Google Cloud Logging](https://cloud.google.com/
769
- # logging/docs).
770
- class DynamiteIntegrationLogEntry
771
- include Google::Apis::Core::Hashable
772
-
773
- # The deployment that caused the error. For Chat bots built in Apps Script, this
774
- # is the deployment ID defined by Apps Script.
775
- # Corresponds to the JSON property `deployment`
776
- # @return [String]
777
- attr_accessor :deployment
778
-
779
- # The unencrypted `callback_method` name that was running when the error was
780
- # encountered.
781
- # Corresponds to the JSON property `deploymentFunction`
782
- # @return [String]
783
- attr_accessor :deployment_function
784
-
785
- # The `Status` type defines a logical error model that is suitable for different
786
- # programming environments, including REST APIs and RPC APIs. It is used by [
787
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
788
- # data: error code, error message, and error details. You can find out more
789
- # about this error model and how to work with it in the [API Design Guide](https:
790
- # //cloud.google.com/apis/design/errors).
791
- # Corresponds to the JSON property `error`
792
- # @return [Google::Apis::ChatV1::Status]
793
- attr_accessor :error
794
-
795
- def initialize(**args)
796
- update!(**args)
797
- end
798
-
799
- # Update properties of this object
800
- def update!(**args)
801
- @deployment = args[:deployment] if args.key?(:deployment)
802
- @deployment_function = args[:deployment_function] if args.key?(:deployment_function)
803
- @error = args[:error] if args.key?(:error)
804
- end
805
- end
806
-
807
813
  # A generic empty message that you can re-use to avoid defining duplicated empty
808
814
  # messages in your APIs. A typical example is to use it as the request or the
809
815
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -2356,12 +2362,13 @@ module Google
2356
2362
  end
2357
2363
  end
2358
2364
 
2359
- # A matched url in a Chat message. Chat apps can unfurl matched URLs. For more
2360
- # information, refer to [Unfurl links](/chat/how-tos/link-unfurling).
2365
+ # A matched url in a Chat message. Chat apps can preview matched URLs. For more
2366
+ # information, refer to [Preview links](https://developers.google.com/chat/how-
2367
+ # tos/preview-links).
2361
2368
  class MatchedUrl
2362
2369
  include Google::Apis::Core::Hashable
2363
2370
 
2364
- # The url that was matched.
2371
+ # Output only. The url that was matched.
2365
2372
  # Corresponds to the JSON property `url`
2366
2373
  # @return [String]
2367
2374
  attr_accessor :url
@@ -2395,12 +2402,13 @@ module Google
2395
2402
  end
2396
2403
  end
2397
2404
 
2398
- # Represents a membership relation in Google Chat.
2405
+ # Represents a membership relation in Google Chat, such as whether a user or
2406
+ # Chat app is invited to, part of, or absent from a space.
2399
2407
  class Membership
2400
2408
  include Google::Apis::Core::Hashable
2401
2409
 
2402
- # Output only. The creation time of the membership a.k.a. the time at which the
2403
- # member joined the space, if applicable.
2410
+ # Output only. The creation time of the membership, such as when a member joined
2411
+ # or was invited to join a space.
2404
2412
  # Corresponds to the JSON property `createTime`
2405
2413
  # @return [String]
2406
2414
  attr_accessor :create_time
@@ -2410,7 +2418,7 @@ module Google
2410
2418
  # @return [Google::Apis::ChatV1::User]
2411
2419
  attr_accessor :member
2412
2420
 
2413
- #
2421
+ # Resource name of the membership. Format: spaces/`space`/members/`member`
2414
2422
  # Corresponds to the JSON property `name`
2415
2423
  # @return [String]
2416
2424
  attr_accessor :name
@@ -2482,8 +2490,9 @@ module Google
2482
2490
  # @return [String]
2483
2491
  attr_accessor :last_update_time
2484
2492
 
2485
- # A matched url in a Chat message. Chat apps can unfurl matched URLs. For more
2486
- # information, refer to [Unfurl links](/chat/how-tos/link-unfurling).
2493
+ # A matched url in a Chat message. Chat apps can preview matched URLs. For more
2494
+ # information, refer to [Preview links](https://developers.google.com/chat/how-
2495
+ # tos/preview-links).
2487
2496
  # Corresponds to the JSON property `matchedUrl`
2488
2497
  # @return [Google::Apis::ChatV1::MatchedUrl]
2489
2498
  attr_accessor :matched_url
@@ -2693,8 +2702,7 @@ module Google
2693
2702
  # @return [String]
2694
2703
  attr_accessor :display_name
2695
2704
 
2696
- # Optional. Resource name of the space, in the form "spaces/*". Example: spaces/
2697
- # AAAAAAAAAAAA
2705
+ # Resource name of the space. Format: spaces/`space`
2698
2706
  # Corresponds to the JSON property `name`
2699
2707
  # @return [String]
2700
2708
  attr_accessor :name
@@ -2705,13 +2713,14 @@ module Google
2705
2713
  attr_accessor :single_user_bot_dm
2706
2714
  alias_method :single_user_bot_dm?, :single_user_bot_dm
2707
2715
 
2708
- # Output only. Whether the messages are threaded in this space.
2716
+ # Output only. Whether messages are threaded in this space.
2709
2717
  # Corresponds to the JSON property `threaded`
2710
2718
  # @return [Boolean]
2711
2719
  attr_accessor :threaded
2712
2720
  alias_method :threaded?, :threaded
2713
2721
 
2714
- # Deprecated. Use `single_user_bot_dm` instead. Output only. The type of a space.
2722
+ # Output only. Deprecated: Use `single_user_bot_dm` or `space_type` (developer
2723
+ # preview) instead. The type of a space.
2715
2724
  # Corresponds to the JSON property `type`
2716
2725
  # @return [String]
2717
2726
  attr_accessor :type
@@ -2911,7 +2920,7 @@ module Google
2911
2920
  class User
2912
2921
  include Google::Apis::Core::Hashable
2913
2922
 
2914
- # The user's display name.
2923
+ # Output only. The user's display name.
2915
2924
  # Corresponds to the JSON property `displayName`
2916
2925
  # @return [String]
2917
2926
  attr_accessor :display_name
@@ -2921,7 +2930,7 @@ module Google
2921
2930
  # @return [String]
2922
2931
  attr_accessor :domain_id
2923
2932
 
2924
- # When `true`, the user is deleted or their profile is not visible.
2933
+ # Output only. When `true`, the user is deleted or their profile is not visible.
2925
2934
  # Corresponds to the JSON property `isAnonymous`
2926
2935
  # @return [Boolean]
2927
2936
  attr_accessor :is_anonymous
@@ -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.29.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220326"
25
+ REVISION = "20220506"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class ChatAppLogEntry
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class Color
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -130,12 +136,6 @@ module Google
130
136
  include Google::Apis::Core::JsonObjectSupport
131
137
  end
132
138
 
133
- class DynamiteIntegrationLogEntry
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
139
  class Empty
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
@@ -582,6 +582,16 @@ module Google
582
582
  end
583
583
  end
584
584
 
585
+ class ChatAppLogEntry
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :deployment, as: 'deployment'
589
+ property :deployment_function, as: 'deploymentFunction'
590
+ property :error, as: 'error', class: Google::Apis::ChatV1::Status, decorator: Google::Apis::ChatV1::Status::Representation
591
+
592
+ end
593
+ end
594
+
585
595
  class Color
586
596
  # @private
587
597
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -671,16 +681,6 @@ module Google
671
681
  end
672
682
  end
673
683
 
674
- class DynamiteIntegrationLogEntry
675
- # @private
676
- class Representation < Google::Apis::Core::JsonRepresentation
677
- property :deployment, as: 'deployment'
678
- property :deployment_function, as: 'deploymentFunction'
679
- property :error, as: 'error', class: Google::Apis::ChatV1::Status, decorator: Google::Apis::ChatV1::Status::Representation
680
-
681
- end
682
- end
683
-
684
684
  class Empty
685
685
  # @private
686
686
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -61,13 +61,10 @@ module Google
61
61
  # Optional. A unique request ID for this message. Specifying an existing request
62
62
  # ID returns the message created with that ID instead of creating a new message.
63
63
  # @param [String] thread_key
64
- # Optional. Opaque thread identifier string that can be specified to group
65
- # messages into a single thread. If this is the first message with a given
66
- # thread identifier, a new thread is created. Subsequent messages with the same
67
- # thread identifier will be posted into the same thread. This relieves Chat apps
68
- # and webhooks from having to store the Google Chat thread ID of a thread (
69
- # created earlier by them) to post further updates to it. Has no effect if
70
- # thread field, corresponding to an existing thread, is set in message.
64
+ # Optional. Opaque thread identifier. To start or add to a thread, create a
65
+ # message and specify a `threadKey` instead of thread.name. (Setting thread.name
66
+ # has no effect.) The first message with a given `threadKey` starts a new thread.
67
+ # Subsequent messages with the same `threadKey` post into the same thread.
71
68
  # @param [String] fields
72
69
  # Selector specifying which fields to include in a partial response.
73
70
  # @param [String] quota_user
@@ -109,13 +106,10 @@ module Google
109
106
  # Optional. A unique request ID for this message. Specifying an existing request
110
107
  # ID returns the message created with that ID instead of creating a new message.
111
108
  # @param [String] thread_key
112
- # Optional. Opaque thread identifier string that can be specified to group
113
- # messages into a single thread. If this is the first message with a given
114
- # thread identifier, a new thread is created. Subsequent messages with the same
115
- # thread identifier will be posted into the same thread. This relieves Chat apps
116
- # and webhooks from having to store the Google Chat thread ID of a thread (
117
- # created earlier by them) to post further updates to it. Has no effect if
118
- # thread field, corresponding to an existing thread, is set in message.
109
+ # Optional. Opaque thread identifier. To start or add to a thread, create a
110
+ # message and specify a `threadKey` instead of thread.name. (Setting thread.name
111
+ # has no effect.) The first message with a given `threadKey` starts a new thread.
112
+ # Subsequent messages with the same `threadKey` post into the same thread.
119
113
  # @param [String] fields
120
114
  # Selector specifying which fields to include in a partial response.
121
115
  # @param [String] quota_user
@@ -157,13 +151,10 @@ module Google
157
151
  # Optional. A unique request ID for this message. Specifying an existing request
158
152
  # ID returns the message created with that ID instead of creating a new message.
159
153
  # @param [String] thread_key
160
- # Optional. Opaque thread identifier string that can be specified to group
161
- # messages into a single thread. If this is the first message with a given
162
- # thread identifier, a new thread is created. Subsequent messages with the same
163
- # thread identifier will be posted into the same thread. This relieves Chat apps
164
- # and webhooks from having to store the Google Chat thread ID of a thread (
165
- # created earlier by them) to post further updates to it. Has no effect if
166
- # thread field, corresponding to an existing thread, is set in message.
154
+ # Optional. Opaque thread identifier. To start or add to a thread, create a
155
+ # message and specify a `threadKey` instead of thread.name. (Setting thread.name
156
+ # has no effect.) The first message with a given `threadKey` starts a new thread.
157
+ # Subsequent messages with the same `threadKey` post into the same thread.
167
158
  # @param [String] fields
168
159
  # Selector specifying which fields to include in a partial response.
169
160
  # @param [String] quota_user
@@ -243,13 +234,10 @@ module Google
243
234
  # Optional. A unique request ID for this message. Specifying an existing request
244
235
  # ID returns the message created with that ID instead of creating a new message.
245
236
  # @param [String] thread_key
246
- # Optional. Opaque thread identifier string that can be specified to group
247
- # messages into a single thread. If this is the first message with a given
248
- # thread identifier, a new thread is created. Subsequent messages with the same
249
- # thread identifier will be posted into the same thread. This relieves Chat apps
250
- # and webhooks from having to store the Google Chat thread ID of a thread (
251
- # created earlier by them) to post further updates to it. Has no effect if
252
- # thread field, corresponding to an existing thread, is set in message.
237
+ # Optional. Opaque thread identifier. To start or add to a thread, create a
238
+ # message and specify a `threadKey` instead of thread.name. (Setting thread.name
239
+ # has no effect.) The first message with a given `threadKey` starts a new thread.
240
+ # Subsequent messages with the same `threadKey` post into the same thread.
253
241
  # @param [String] fields
254
242
  # Selector specifying which fields to include in a partial response.
255
243
  # @param [String] quota_user
@@ -291,13 +279,10 @@ module Google
291
279
  # Optional. A unique request ID for this message. Specifying an existing request
292
280
  # ID returns the message created with that ID instead of creating a new message.
293
281
  # @param [String] thread_key
294
- # Optional. Opaque thread identifier string that can be specified to group
295
- # messages into a single thread. If this is the first message with a given
296
- # thread identifier, a new thread is created. Subsequent messages with the same
297
- # thread identifier will be posted into the same thread. This relieves Chat apps
298
- # and webhooks from having to store the Google Chat thread ID of a thread (
299
- # created earlier by them) to post further updates to it. Has no effect if
300
- # thread field, corresponding to an existing thread, is set in message.
282
+ # Optional. Opaque thread identifier. To start or add to a thread, create a
283
+ # message and specify a `threadKey` instead of thread.name. (Setting thread.name
284
+ # has no effect.) The first message with a given `threadKey` starts a new thread.
285
+ # Subsequent messages with the same `threadKey` post into the same thread.
301
286
  # @param [String] fields
302
287
  # Selector specifying which fields to include in a partial response.
303
288
  # @param [String] quota_user
@@ -339,13 +324,10 @@ module Google
339
324
  # Optional. A unique request ID for this message. Specifying an existing request
340
325
  # ID returns the message created with that ID instead of creating a new message.
341
326
  # @param [String] thread_key
342
- # Optional. Opaque thread identifier string that can be specified to group
343
- # messages into a single thread. If this is the first message with a given
344
- # thread identifier, a new thread is created. Subsequent messages with the same
345
- # thread identifier will be posted into the same thread. This relieves Chat apps
346
- # and webhooks from having to store the Google Chat thread ID of a thread (
347
- # created earlier by them) to post further updates to it. Has no effect if
348
- # thread field, corresponding to an existing thread, is set in message.
327
+ # Optional. Opaque thread identifier. To start or add to a thread, create a
328
+ # message and specify a `threadKey` instead of thread.name. (Setting thread.name
329
+ # has no effect.) The first message with a given `threadKey` starts a new thread.
330
+ # Subsequent messages with the same `threadKey` post into the same thread.
349
331
  # @param [String] fields
350
332
  # Selector specifying which fields to include in a partial response.
351
333
  # @param [String] quota_user
@@ -380,8 +362,8 @@ module Google
380
362
  # Returns a space. Requires [service account authentication](https://developers.
381
363
  # google.com/chat/api/guides/auth/service-accounts).
382
364
  # @param [String] name
383
- # Required. Resource name of the space, in the form "spaces/*". Example: spaces/
384
- # AAAAAAAAAAAA
365
+ # Required. Resource name of the space, in the form "spaces/*". Format: spaces/`
366
+ # space`
385
367
  # @param [String] fields
386
368
  # Selector specifying which fields to include in a partial response.
387
369
  # @param [String] quota_user
@@ -455,13 +437,10 @@ module Google
455
437
  # Optional. A unique request ID for this message. Specifying an existing request
456
438
  # ID returns the message created with that ID instead of creating a new message.
457
439
  # @param [String] thread_key
458
- # Optional. Opaque thread identifier string that can be specified to group
459
- # messages into a single thread. If this is the first message with a given
460
- # thread identifier, a new thread is created. Subsequent messages with the same
461
- # thread identifier will be posted into the same thread. This relieves Chat apps
462
- # and webhooks from having to store the Google Chat thread ID of a thread (
463
- # created earlier by them) to post further updates to it. Has no effect if
464
- # thread field, corresponding to an existing thread, is set in message.
440
+ # Optional. Opaque thread identifier. To start or add to a thread, create a
441
+ # message and specify a `threadKey` instead of thread.name. (Setting thread.name
442
+ # has no effect.) The first message with a given `threadKey` starts a new thread.
443
+ # Subsequent messages with the same `threadKey` post into the same thread.
465
444
  # @param [String] fields
466
445
  # Selector specifying which fields to include in a partial response.
467
446
  # @param [String] quota_user
@@ -496,8 +475,8 @@ module Google
496
475
  # Returns a membership. Requires [service account authentication](https://
497
476
  # developers.google.com/chat/api/guides/auth/service-accounts).
498
477
  # @param [String] name
499
- # Required. Resource name of the membership to be retrieved, in the form "spaces/
500
- # */members/*". Example: spaces/AAAAAAAAAAAA/members/111111111111111111111
478
+ # Required. Resource name of the membership to retrieve. Format: spaces/`space`/
479
+ # members/`member`
501
480
  # @param [String] fields
502
481
  # Selector specifying which fields to include in a partial response.
503
482
  # @param [String] quota_user
@@ -528,8 +507,8 @@ module Google
528
507
  # Lists human memberships in a space. Requires [service account authentication](
529
508
  # https://developers.google.com/chat/api/guides/auth/service-accounts).
530
509
  # @param [String] parent
531
- # Required. The resource name of the space for which membership list is to be
532
- # fetched, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
510
+ # Required. The resource name of the space for which to fetch a membership list.
511
+ # Format: spaces/`space`
533
512
  # @param [Fixnum] page_size
534
513
  # Requested page size. The value is capped at 1000. Server may return fewer
535
514
  # results than requested. If unspecified, server will default to 100.
@@ -574,13 +553,10 @@ module Google
574
553
  # Optional. A unique request ID for this message. Specifying an existing request
575
554
  # ID returns the message created with that ID instead of creating a new message.
576
555
  # @param [String] thread_key
577
- # Optional. Opaque thread identifier string that can be specified to group
578
- # messages into a single thread. If this is the first message with a given
579
- # thread identifier, a new thread is created. Subsequent messages with the same
580
- # thread identifier will be posted into the same thread. This relieves Chat apps
581
- # and webhooks from having to store the Google Chat thread ID of a thread (
582
- # created earlier by them) to post further updates to it. Has no effect if
583
- # thread field, corresponding to an existing thread, is set in message.
556
+ # Optional. Opaque thread identifier. To start or add to a thread, create a
557
+ # message and specify a `threadKey` instead of thread.name. (Setting thread.name
558
+ # has no effect.) The first message with a given `threadKey` starts a new thread.
559
+ # Subsequent messages with the same `threadKey` post into the same thread.
584
560
  # @param [String] fields
585
561
  # Selector specifying which fields to include in a partial response.
586
562
  # @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.29.0
4
+ version: 0.32.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: 2022-04-04 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.32.0
62
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: []