google-apis-chat_v1 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/chat_v1/classes.rb +48 -47
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +16 -24
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c53d2d684e06d822883b4b821291ed4a8cc259546bfcf5e284f14f1ea4e39ab
|
4
|
+
data.tar.gz: d4f94581b98be67474c49272edb3233360fac3b6b4a522864ecc97b9c8e9aca1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1952ea98c566106575f07a9efbe8c5567506c6f03e6a1b68ef8224fe5c737b997ec323ffa70805b186a8c41b9d11d6c3d45ca126f4deba8ede521b8bd800f623
|
7
|
+
data.tar.gz: b5594bd43cf5d527121c3caf6a42a242bbbce553be4808e224fa74ffe3d7223840e16e9a6b3851b05820e85483ef943844773d9c495f9757d418d593e9dbfd97
|
data/CHANGELOG.md
CHANGED
@@ -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
|
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": "
|
694
|
-
#
|
695
|
-
#
|
696
|
-
#
|
697
|
-
#
|
698
|
-
#
|
699
|
-
#
|
700
|
-
#
|
701
|
-
#
|
702
|
-
#
|
703
|
-
#
|
704
|
-
#
|
705
|
-
#
|
706
|
-
#
|
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": "
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
#
|
1130
|
-
#
|
1131
|
-
#
|
1132
|
-
#
|
1133
|
-
#
|
1134
|
-
#
|
1135
|
-
#
|
1136
|
-
#
|
1137
|
-
#
|
1138
|
-
#
|
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": "
|
1686
|
-
#
|
1687
|
-
#
|
1688
|
-
#
|
1689
|
-
#
|
1690
|
-
#
|
1691
|
-
#
|
1692
|
-
#
|
1693
|
-
#
|
1694
|
-
#
|
1695
|
-
#
|
1696
|
-
#
|
1697
|
-
#
|
1698
|
-
#
|
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.
|
2938
|
-
#
|
2939
|
-
#
|
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.
|
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 = "
|
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.
|
62
|
-
#
|
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.
|
111
|
-
#
|
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.
|
160
|
-
#
|
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.
|
247
|
-
#
|
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.
|
296
|
-
#
|
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.
|
345
|
-
#
|
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.
|
459
|
-
#
|
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.
|
576
|
-
#
|
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.
|
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-
|
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.
|
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: []
|