google-apis-chat_v1 0.25.0 → 0.26.0

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: a1629a0ba48c528e11ef58f0c3e09f99469f5a5c19786a4d1728800fb318dc4b
4
- data.tar.gz: 5f9c6a14603dae0833a9d5dece6ddbaa1c6b5346c6d2e6ba3f21b384334acec8
3
+ metadata.gz: 2c53d2d684e06d822883b4b821291ed4a8cc259546bfcf5e284f14f1ea4e39ab
4
+ data.tar.gz: d4f94581b98be67474c49272edb3233360fac3b6b4a522864ecc97b9c8e9aca1
5
5
  SHA512:
6
- metadata.gz: 768ed968958e7e50a1b0287cf657925f27dbe94751ddd3f02c86dfe0d8e36f88929368608888d1e6c1bdaad0f5478c64e97423dad32573cf5945d28b3cb3d8d6
7
- data.tar.gz: 0f5283fbe69075a9318cc0eb66b1cd3af4e48ac55e8a07d9c3e4d1e2dc2b4318e93e7672b0efa7f394df997bc23ad1352133766e22142aa1ef99e725803b8172
6
+ metadata.gz: 1952ea98c566106575f07a9efbe8c5567506c6f03e6a1b68ef8224fe5c737b997ec323ffa70805b186a8c41b9d11d6c3d45ca126f4deba8ede521b8bd800f623
7
+ data.tar.gz: b5594bd43cf5d527121c3caf6a42a242bbbce553be4808e224fa74ffe3d7223840e16e9a6b3851b05820e85483ef943844773d9c495f9757d418d593e9dbfd97
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.26.0 (2022-03-04)
4
+
5
+ * Regenerated from discovery document revision 20220302
6
+
3
7
  ### v0.25.0 (2022-02-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20220216
@@ -508,8 +508,8 @@ module Google
508
508
  # @return [Google::Apis::ChatV1::TimeZone]
509
509
  attr_accessor :time_zone
510
510
 
511
- # The full locale.displayName in the format of [ISO 639 language code]-[ISO 3166
512
- # country/region code] such as "en-US". Not supported by Chat apps.
511
+ # The full `locale.displayName` in the format of [ISO 639 language code]-[ISO
512
+ # 3166 country/region code] such as "en-US". Not supported by Chat apps.
513
513
  # Corresponds to the JSON property `userLocale`
514
514
  # @return [String]
515
515
  attr_accessor :user_locale
@@ -690,20 +690,20 @@ module Google
690
690
  # For more information, see Cards . For example, the following JSON creates a
691
691
  # card that has a header with the name, position, icons, and link for a contact,
692
692
  # followed by a section with contact information like email and phone number. ```
693
- # ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
694
- # imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
695
- # png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
696
- # Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
697
- # EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
698
- # ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
699
- # icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
700
- # buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
701
- # url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
702
- # onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
703
- # viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
704
- # ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
705
- # [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
706
- # example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
693
+ # ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageStyle":
694
+ # "ImageStyle.AVATAR", "imageUrl": "https://example.com/sasha.png", "
695
+ # imageAltText": "Avatar for Sasha" `, "sections" : [ ` "header": "Contact Info",
696
+ # "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "EMAIL" `, "content"
697
+ # : "sasha@example.com" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "PERSON"
698
+ # `, "content": "Online" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "
699
+ # PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "buttons": [ ` "textButton": `
700
+ # "text": "Share", `, "onClick": ` "openLink": ` "url": "https://example.com/
701
+ # share" ` ` `, ` "textButton": ` "text": "Edit", `, "onClick": ` "action": ` "
702
+ # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT" ` ]
703
+ # , "loadIndicator": "LoadIndicator.SPINNER" ` ` ` ] ` ], "collapsible": true, "
704
+ # uncollapsibleWidgetsCount": 3 ` ], "cardActions": [ ` "actionLabel": "Send
705
+ # Feedback", "onClick": ` "openLink": ` "url": "https://example.com/feedback" ` `
706
+ # ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
707
707
  # Corresponds to the JSON property `body`
708
708
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
709
709
  attr_accessor :body
@@ -1122,20 +1122,20 @@ module Google
1122
1122
  # For more information, see Cards . For example, the following JSON creates a
1123
1123
  # card that has a header with the name, position, icons, and link for a contact,
1124
1124
  # followed by a section with contact information like email and phone number. ```
1125
- # ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
1126
- # imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
1127
- # png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
1128
- # Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
1129
- # EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
1130
- # ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
1131
- # icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
1132
- # buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
1133
- # url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
1134
- # onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
1135
- # viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
1136
- # ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
1137
- # [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
1138
- # example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
1125
+ # ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageStyle":
1126
+ # "ImageStyle.AVATAR", "imageUrl": "https://example.com/sasha.png", "
1127
+ # imageAltText": "Avatar for Sasha" `, "sections" : [ ` "header": "Contact Info",
1128
+ # "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "EMAIL" `, "content"
1129
+ # : "sasha@example.com" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "PERSON"
1130
+ # `, "content": "Online" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "
1131
+ # PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "buttons": [ ` "textButton": `
1132
+ # "text": "Share", `, "onClick": ` "openLink": ` "url": "https://example.com/
1133
+ # share" ` ` `, ` "textButton": ` "text": "Edit", `, "onClick": ` "action": ` "
1134
+ # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT" ` ]
1135
+ # , "loadIndicator": "LoadIndicator.SPINNER" ` ` ` ] ` ], "collapsible": true, "
1136
+ # uncollapsibleWidgetsCount": 3 ` ], "cardActions": [ ` "actionLabel": "Send
1137
+ # Feedback", "onClick": ` "openLink": ` "url": "https://example.com/feedback" ` `
1138
+ # ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
1139
1139
  class GoogleAppsCardV1Card
1140
1140
  include Google::Apis::Core::Hashable
1141
1141
 
@@ -1682,20 +1682,20 @@ module Google
1682
1682
  # For more information, see Cards . For example, the following JSON creates a
1683
1683
  # card that has a header with the name, position, icons, and link for a contact,
1684
1684
  # followed by a section with contact information like email and phone number. ```
1685
- # ` "header": ` "title": "Heba Salam", "subtitle": "Software Engineer", "
1686
- # imageStyle": "ImageStyle.AVATAR", "imageUrl": "https://example.com/heba_salam.
1687
- # png", "imageAltText": "Avatar for Heba Salam" `, "sections" : [ ` "header": "
1688
- # Contact Info", "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "
1689
- # EMAIL" `, "content": "heba.salam@example.com" ` `, ` "decoratedText": ` "icon":
1690
- # ` "knownIcon": "PERSON" `, "content": "Online" ` `, ` "decoratedText": ` "
1691
- # icon": ` "knownIcon": "PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "
1692
- # buttons": [ ` "textButton": ` "text": "Share", `, "onClick": ` "openLink": ` "
1693
- # url": "https://example.com/share" ` ` `, ` "textButton": ` "text": "Edit", `, "
1694
- # onClick": ` "action": ` "function": "goToView", "parameters": [ ` "key": "
1695
- # viewType", "value": "EDIT" ` ], "loadIndicator": "LoadIndicator.SPINNER" ` ` `
1696
- # ] ` ], "collapsible": true, "uncollapsibleWidgetsCount": 3 ` ], "cardActions":
1697
- # [ ` "actionLabel": "Send Feedback", "onClick": ` "openLink": ` "url": "https://
1698
- # example.com/feedback" ` ` ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
1685
+ # ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageStyle":
1686
+ # "ImageStyle.AVATAR", "imageUrl": "https://example.com/sasha.png", "
1687
+ # imageAltText": "Avatar for Sasha" `, "sections" : [ ` "header": "Contact Info",
1688
+ # "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "EMAIL" `, "content"
1689
+ # : "sasha@example.com" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "PERSON"
1690
+ # `, "content": "Online" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "
1691
+ # PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "buttons": [ ` "textButton": `
1692
+ # "text": "Share", `, "onClick": ` "openLink": ` "url": "https://example.com/
1693
+ # share" ` ` `, ` "textButton": ` "text": "Edit", `, "onClick": ` "action": ` "
1694
+ # function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT" ` ]
1695
+ # , "loadIndicator": "LoadIndicator.SPINNER" ` ` ` ] ` ], "collapsible": true, "
1696
+ # uncollapsibleWidgetsCount": 3 ` ], "cardActions": [ ` "actionLabel": "Send
1697
+ # Feedback", "onClick": ` "openLink": ` "url": "https://example.com/feedback" ` `
1698
+ # ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
1699
1699
  # Corresponds to the JSON property `card`
1700
1700
  # @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
1701
1701
  attr_accessor :card
@@ -2934,9 +2934,10 @@ module Google
2934
2934
  attr_accessor :is_anonymous
2935
2935
  alias_method :is_anonymous?, :is_anonymous
2936
2936
 
2937
- # Resource name for a Google Chat user. Formatted as `users/`user``. Represents
2938
- # a [person](https://developers.google.com/people/api/rest/v1/people#Person) in
2939
- # the People API.
2937
+ # Resource name for a Google Chat user. Represents a [person](https://developers.
2938
+ # google.com/people/api/rest/v1/people#Person) in the People API or a [user](
2939
+ # https://developers.google.com/admin-sdk/directory/reference/rest/v1/users) in
2940
+ # the Admin SDK Directory API. Formatted as: `users/`user``
2940
2941
  # Corresponds to the JSON property `name`
2941
2942
  # @return [String]
2942
2943
  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.25.0"
19
+ GEM_VERSION = "0.26.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 = "20220216"
25
+ REVISION = "20220302"
26
26
  end
27
27
  end
28
28
  end
@@ -58,9 +58,8 @@ module Google
58
58
  # AAAAAAAAAAA
59
59
  # @param [Google::Apis::ChatV1::Message] message_object
60
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.
61
+ # Optional. A unique request ID for this message. Specifying an existing request
62
+ # ID returns the message created with that ID instead of creating a new message.
64
63
  # @param [String] thread_key
65
64
  # Optional. Opaque thread identifier string that can be specified to group
66
65
  # messages into a single thread. If this is the first message with a given
@@ -107,9 +106,8 @@ module Google
107
106
  # AAAAAAAAAAA
108
107
  # @param [Google::Apis::ChatV1::Message] message_object
109
108
  # @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.
109
+ # Optional. A unique request ID for this message. Specifying an existing request
110
+ # ID returns the message created with that ID instead of creating a new message.
113
111
  # @param [String] thread_key
114
112
  # Optional. Opaque thread identifier string that can be specified to group
115
113
  # messages into a single thread. If this is the first message with a given
@@ -156,9 +154,8 @@ module Google
156
154
  # AAAAAAAAAAA
157
155
  # @param [Google::Apis::ChatV1::Message] message_object
158
156
  # @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.
157
+ # Optional. A unique request ID for this message. Specifying an existing request
158
+ # ID returns the message created with that ID instead of creating a new message.
162
159
  # @param [String] thread_key
163
160
  # Optional. Opaque thread identifier string that can be specified to group
164
161
  # messages into a single thread. If this is the first message with a given
@@ -243,9 +240,8 @@ module Google
243
240
  # AAAAAAAAAAA
244
241
  # @param [Google::Apis::ChatV1::Message] message_object
245
242
  # @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.
243
+ # Optional. A unique request ID for this message. Specifying an existing request
244
+ # ID returns the message created with that ID instead of creating a new message.
249
245
  # @param [String] thread_key
250
246
  # Optional. Opaque thread identifier string that can be specified to group
251
247
  # messages into a single thread. If this is the first message with a given
@@ -292,9 +288,8 @@ module Google
292
288
  # AAAAAAAAAAA
293
289
  # @param [Google::Apis::ChatV1::Message] message_object
294
290
  # @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.
291
+ # Optional. A unique request ID for this message. Specifying an existing request
292
+ # ID returns the message created with that ID instead of creating a new message.
298
293
  # @param [String] thread_key
299
294
  # Optional. Opaque thread identifier string that can be specified to group
300
295
  # messages into a single thread. If this is the first message with a given
@@ -341,9 +336,8 @@ module Google
341
336
  # AAAAAAAAAAA
342
337
  # @param [Google::Apis::ChatV1::Message] message_object
343
338
  # @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.
339
+ # Optional. A unique request ID for this message. Specifying an existing request
340
+ # ID returns the message created with that ID instead of creating a new message.
347
341
  # @param [String] thread_key
348
342
  # Optional. Opaque thread identifier string that can be specified to group
349
343
  # messages into a single thread. If this is the first message with a given
@@ -455,9 +449,8 @@ module Google
455
449
  # AAAAAAAAAAA
456
450
  # @param [Google::Apis::ChatV1::Message] message_object
457
451
  # @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.
452
+ # Optional. A unique request ID for this message. Specifying an existing request
453
+ # ID returns the message created with that ID instead of creating a new message.
461
454
  # @param [String] thread_key
462
455
  # Optional. Opaque thread identifier string that can be specified to group
463
456
  # messages into a single thread. If this is the first message with a given
@@ -572,9 +565,8 @@ module Google
572
565
  # AAAAAAAAAAA
573
566
  # @param [Google::Apis::ChatV1::Message] message_object
574
567
  # @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.
568
+ # Optional. A unique request ID for this message. Specifying an existing request
569
+ # ID returns the message created with that ID instead of creating a new message.
578
570
  # @param [String] thread_key
579
571
  # Optional. Opaque thread identifier string that can be specified to group
580
572
  # messages into a single thread. If this is the first message with a given
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.25.0
4
+ version: 0.26.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-02-28 00:00:00.000000000 Z
11
+ date: 2022-03-07 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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.26.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: []