google-apis-chat_v1 0.87.0 → 0.88.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 +74 -6
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +18 -0
- 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: e5b85b25be16ed0128a60b822679a45a543c7306d1b2919673a1ff14f6c09f8a
|
4
|
+
data.tar.gz: efb29ffcda926e57b94cb68c8c9da3423e321b62f4a3c0617062495345268dbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90d1cb36f2dbbef6c9288b68bf39cb7cb66ecad1b7f162e27b141eb51cb6acbfa3868cf809a6e970ddccc32fec9751522e363b0212226a526f0ccc2a86974d64
|
7
|
+
data.tar.gz: 5430ac88317101150eff8ab4ad2dc0b6444ebfcc682e46fb7f8a5f56811789c6682f4b4d99d36341b228733c2b0027366917bc671dc8b8a07421a5f09757b3ee
|
data/CHANGELOG.md
CHANGED
@@ -817,10 +817,13 @@ module Google
|
|
817
817
|
|
818
818
|
# A Google Chat app interaction event. To learn about interaction events, see [
|
819
819
|
# Receive and respond to interactions with your Google Chat app](https://
|
820
|
-
# developers.google.com/chat/api/guides/message-formats). To learn
|
821
|
-
# types and for example event payloads, see [Types of Google Chat
|
822
|
-
# interaction events](https://developers.google.com/chat/
|
823
|
-
#
|
820
|
+
# developers.google.com/workspace/chat/api/guides/message-formats). To learn
|
821
|
+
# about event types and for example event payloads, see [Types of Google Chat
|
822
|
+
# app interaction events](https://developers.google.com/workspace/chat/events).
|
823
|
+
# In addition to receiving events from user interactions, Chat apps can receive
|
824
|
+
# events about changes to spaces, such as when a new member is added to a space.
|
825
|
+
# To learn about space events, see [Work with events from Google Chat](https://
|
826
|
+
# developers.google.com/workspace/chat/events-overview).
|
824
827
|
class DeprecatedEvent
|
825
828
|
include Google::Apis::Core::Hashable
|
826
829
|
|
@@ -894,8 +897,7 @@ module Google
|
|
894
897
|
attr_accessor :token
|
895
898
|
|
896
899
|
# The type of interaction event. For details, see [Types of Google Chat app
|
897
|
-
# interaction events](https://developers.google.com/chat/
|
898
|
-
# formats/events).
|
900
|
+
# interaction events](https://developers.google.com/workspace/chat/events).
|
899
901
|
# Corresponds to the JSON property `type`
|
900
902
|
# @return [String]
|
901
903
|
attr_accessor :type
|
@@ -2096,6 +2098,17 @@ module Google
|
|
2096
2098
|
# @return [String]
|
2097
2099
|
attr_accessor :known_icon
|
2098
2100
|
|
2101
|
+
# A [Google Material Icon](https://fonts.google.com/icons), which includes over
|
2102
|
+
# 2500+ options. For example, to display a [checkbox icon](https://fonts.google.
|
2103
|
+
# com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%
|
2104
|
+
# 40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write ` "name":
|
2105
|
+
# "check_box", "fill": true, "weight": 300, "grade": -25 ` Available for Chat
|
2106
|
+
# apps and in [Developer Preview](https://developers.google.com/workspace/
|
2107
|
+
# preview) for Google Workspace Add-ons.
|
2108
|
+
# Corresponds to the JSON property `materialIcon`
|
2109
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon]
|
2110
|
+
attr_accessor :material_icon
|
2111
|
+
|
2099
2112
|
def initialize(**args)
|
2100
2113
|
update!(**args)
|
2101
2114
|
end
|
@@ -2106,6 +2119,7 @@ module Google
|
|
2106
2119
|
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
2107
2120
|
@image_type = args[:image_type] if args.key?(:image_type)
|
2108
2121
|
@known_icon = args[:known_icon] if args.key?(:known_icon)
|
2122
|
+
@material_icon = args[:material_icon] if args.key?(:material_icon)
|
2109
2123
|
end
|
2110
2124
|
end
|
2111
2125
|
|
@@ -2219,6 +2233,60 @@ module Google
|
|
2219
2233
|
end
|
2220
2234
|
end
|
2221
2235
|
|
2236
|
+
# A [Google Material Icon](https://fonts.google.com/icons), which includes over
|
2237
|
+
# 2500+ options. For example, to display a [checkbox icon](https://fonts.google.
|
2238
|
+
# com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%
|
2239
|
+
# 40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write ` "name":
|
2240
|
+
# "check_box", "fill": true, "weight": 300, "grade": -25 ` Available for Chat
|
2241
|
+
# apps and in [Developer Preview](https://developers.google.com/workspace/
|
2242
|
+
# preview) for Google Workspace Add-ons.
|
2243
|
+
class GoogleAppsCardV1MaterialIcon
|
2244
|
+
include Google::Apis::Core::Hashable
|
2245
|
+
|
2246
|
+
# Whether it renders a filled icon. Default value is false. See Customization in
|
2247
|
+
# [Google Font Icon](https://fonts.google.com/icons) for details.
|
2248
|
+
# Corresponds to the JSON property `fill`
|
2249
|
+
# @return [Boolean]
|
2250
|
+
attr_accessor :fill
|
2251
|
+
alias_method :fill?, :fill
|
2252
|
+
|
2253
|
+
# Weight and grade affect a symbol’s thickness. Adjustments to grade are more
|
2254
|
+
# granular than adjustments to weight and have a small impact on the size of the
|
2255
|
+
# symbol. Choose from `-25, 0, 200`. If absent, default value is 0. If any other
|
2256
|
+
# value is specified, a broken image icon is displayed. See Customization in [
|
2257
|
+
# Google Font Icon](https://fonts.google.com/icons) for details.
|
2258
|
+
# Corresponds to the JSON property `grade`
|
2259
|
+
# @return [Fixnum]
|
2260
|
+
attr_accessor :grade
|
2261
|
+
|
2262
|
+
# The icon name defined in the [Google Material Icon Icon](https://fonts.google.
|
2263
|
+
# com/icons) in snake_case. e.g. "check_box". Any invalid names are abandoned
|
2264
|
+
# and replaced with empty string and results in the icon failing to render.
|
2265
|
+
# Corresponds to the JSON property `name`
|
2266
|
+
# @return [String]
|
2267
|
+
attr_accessor :name
|
2268
|
+
|
2269
|
+
# The stroke weight of the icon. Choose from `100, 200, 300, 400, 500, 600, 700`.
|
2270
|
+
# If absent, default value is 400. If any other value is specified, a broken
|
2271
|
+
# image icon is displayed. See Customization in [Google Font Icon](https://fonts.
|
2272
|
+
# google.com/icons) for details.
|
2273
|
+
# Corresponds to the JSON property `weight`
|
2274
|
+
# @return [Fixnum]
|
2275
|
+
attr_accessor :weight
|
2276
|
+
|
2277
|
+
def initialize(**args)
|
2278
|
+
update!(**args)
|
2279
|
+
end
|
2280
|
+
|
2281
|
+
# Update properties of this object
|
2282
|
+
def update!(**args)
|
2283
|
+
@fill = args[:fill] if args.key?(:fill)
|
2284
|
+
@grade = args[:grade] if args.key?(:grade)
|
2285
|
+
@name = args[:name] if args.key?(:name)
|
2286
|
+
@weight = args[:weight] if args.key?(:weight)
|
2287
|
+
end
|
2288
|
+
end
|
2289
|
+
|
2222
2290
|
# Represents how to respond when users click an interactive element on a card,
|
2223
2291
|
# such as a button. [Google Workspace Add-ons and Chat apps](https://developers.
|
2224
2292
|
# google.com/workspace/extend):
|
@@ -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.88.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240315"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -328,6 +328,12 @@ module Google
|
|
328
328
|
include Google::Apis::Core::JsonObjectSupport
|
329
329
|
end
|
330
330
|
|
331
|
+
class GoogleAppsCardV1MaterialIcon
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
331
337
|
class GoogleAppsCardV1OnClick
|
332
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
339
|
|
@@ -1143,6 +1149,8 @@ module Google
|
|
1143
1149
|
property :icon_url, as: 'iconUrl'
|
1144
1150
|
property :image_type, as: 'imageType'
|
1145
1151
|
property :known_icon, as: 'knownIcon'
|
1152
|
+
property :material_icon, as: 'materialIcon', class: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon, decorator: Google::Apis::ChatV1::GoogleAppsCardV1MaterialIcon::Representation
|
1153
|
+
|
1146
1154
|
end
|
1147
1155
|
end
|
1148
1156
|
|
@@ -1176,6 +1184,16 @@ module Google
|
|
1176
1184
|
end
|
1177
1185
|
end
|
1178
1186
|
|
1187
|
+
class GoogleAppsCardV1MaterialIcon
|
1188
|
+
# @private
|
1189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1190
|
+
property :fill, as: 'fill'
|
1191
|
+
property :grade, as: 'grade'
|
1192
|
+
property :name, as: 'name'
|
1193
|
+
property :weight, as: 'weight'
|
1194
|
+
end
|
1195
|
+
end
|
1196
|
+
|
1179
1197
|
class GoogleAppsCardV1OnClick
|
1180
1198
|
# @private
|
1181
1199
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.88.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: 2024-03-
|
11
|
+
date: 2024-03-24 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.88.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: []
|