google-apis-chat_v1 0.63.0 → 0.65.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 +8 -0
- data/lib/google/apis/chat_v1/classes.rb +196 -0
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +81 -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: 2c65a81dab6ac075cef33aaf03a2642d95ffc774f7e8ff9277de309f9abcfc22
|
4
|
+
data.tar.gz: 54d6ae2576c77c768aced97592262e42212265fb1de025c795f23754eccb98e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63388e05529dc3e365028e1ab0b725eea9a9663d7ac70c9c0ca22864e15cf15cf9a163084e10376b2f2ff00fdf363d7e1e67011274ce88ed5e01b900809abcb6
|
7
|
+
data.tar.gz: eb707a4877edd21f2fc4ab8975c379cae0497c7530b1f548cda4f784c0da0e032407ef21a952a81307e03ccb47dc8615293fbe23bd8e6c6c84d3b55087e07495
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.65.0 (2023-07-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230711
|
6
|
+
|
7
|
+
### v0.64.0 (2023-07-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230704
|
10
|
+
|
3
11
|
### v0.63.0 (2023-07-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230622
|
@@ -490,6 +490,29 @@ module Google
|
|
490
490
|
end
|
491
491
|
end
|
492
492
|
|
493
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a
|
494
|
+
# data source from Google Chat. For example, a list of Google Chat spaces of
|
495
|
+
# which the user is a member. [Developer Preview](https://developers.google.com/
|
496
|
+
# workspace/preview).
|
497
|
+
class ChatClientDataSourceMarkup
|
498
|
+
include Google::Apis::Core::Hashable
|
499
|
+
|
500
|
+
# A data source representing a Google Chat space. Format: spaces/`space` [
|
501
|
+
# Developer Preview](https://developers.google.com/workspace/preview).
|
502
|
+
# Corresponds to the JSON property `spaceDataSource`
|
503
|
+
# @return [Google::Apis::ChatV1::SpaceDataSource]
|
504
|
+
attr_accessor :space_data_source
|
505
|
+
|
506
|
+
def initialize(**args)
|
507
|
+
update!(**args)
|
508
|
+
end
|
509
|
+
|
510
|
+
# Update properties of this object
|
511
|
+
def update!(**args)
|
512
|
+
@space_data_source = args[:space_data_source] if args.key?(:space_data_source)
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
493
516
|
# Represents a color in the RGBA color space. This representation is designed
|
494
517
|
# for simplicity of conversion to and from color representations in various
|
495
518
|
# languages over compactness. For example, the fields of this representation can
|
@@ -1401,6 +1424,11 @@ module Google
|
|
1401
1424
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1CardHeader]
|
1402
1425
|
attr_accessor :peek_card_header
|
1403
1426
|
|
1427
|
+
# The divider style between sections.
|
1428
|
+
# Corresponds to the JSON property `sectionDividerStyle`
|
1429
|
+
# @return [String]
|
1430
|
+
attr_accessor :section_divider_style
|
1431
|
+
|
1404
1432
|
# Contains a collection of widgets. Each section has its own, optional header.
|
1405
1433
|
# Sections are visually separated by a line divider.
|
1406
1434
|
# Corresponds to the JSON property `sections`
|
@@ -1419,6 +1447,7 @@ module Google
|
|
1419
1447
|
@header = args[:header] if args.key?(:header)
|
1420
1448
|
@name = args[:name] if args.key?(:name)
|
1421
1449
|
@peek_card_header = args[:peek_card_header] if args.key?(:peek_card_header)
|
1450
|
+
@section_divider_style = args[:section_divider_style] if args.key?(:section_divider_style)
|
1422
1451
|
@sections = args[:sections] if args.key?(:sections)
|
1423
1452
|
end
|
1424
1453
|
end
|
@@ -2131,6 +2160,40 @@ module Google
|
|
2131
2160
|
end
|
2132
2161
|
end
|
2133
2162
|
|
2163
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multi-select menu,
|
2164
|
+
# the data from a [Google Workspace host application](https://developers.google.
|
2165
|
+
# com/chat/api/reference/rest/v1/HostApp). Used to populate the items in the
|
2166
|
+
# multi-select menu. [Developer Preview](https://developers.google.com/workspace/
|
2167
|
+
# preview).
|
2168
|
+
class GoogleAppsCardV1PlatformDataSource
|
2169
|
+
include Google::Apis::Core::Hashable
|
2170
|
+
|
2171
|
+
# For a `SelectionInput` widget that uses a multi-select menu, a data source
|
2172
|
+
# shared by all Google Workspace host applications, such as users in a Google
|
2173
|
+
# Workspace organization. [Developer Preview](https://developers.google.com/
|
2174
|
+
# workspace/preview).
|
2175
|
+
# Corresponds to the JSON property `commonDataSource`
|
2176
|
+
# @return [String]
|
2177
|
+
attr_accessor :common_data_source
|
2178
|
+
|
2179
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a
|
2180
|
+
# data source from a Google Workspace host application. [Developer Preview](
|
2181
|
+
# https://developers.google.com/workspace/preview).
|
2182
|
+
# Corresponds to the JSON property `hostAppDataSource`
|
2183
|
+
# @return [Google::Apis::ChatV1::HostAppDataSourceMarkup]
|
2184
|
+
attr_accessor :host_app_data_source
|
2185
|
+
|
2186
|
+
def initialize(**args)
|
2187
|
+
update!(**args)
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
# Update properties of this object
|
2191
|
+
def update!(**args)
|
2192
|
+
@common_data_source = args[:common_data_source] if args.key?(:common_data_source)
|
2193
|
+
@host_app_data_source = args[:host_app_data_source] if args.key?(:host_app_data_source)
|
2194
|
+
end
|
2195
|
+
end
|
2196
|
+
|
2134
2197
|
# A section contains a collection of widgets that are rendered vertically in the
|
2135
2198
|
# order that they're specified.
|
2136
2199
|
class GoogleAppsCardV1Section
|
@@ -2193,6 +2256,13 @@ module Google
|
|
2193
2256
|
class GoogleAppsCardV1SelectionInput
|
2194
2257
|
include Google::Apis::Core::Hashable
|
2195
2258
|
|
2259
|
+
# An action that describes the behavior when the form is submitted. For example,
|
2260
|
+
# you can invoke an Apps Script script to handle the form. If the action is
|
2261
|
+
# triggered, the form values are sent to the server.
|
2262
|
+
# Corresponds to the JSON property `externalDataSource`
|
2263
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
|
2264
|
+
attr_accessor :external_data_source
|
2265
|
+
|
2196
2266
|
# An array of selectable items. For example, an array of radio buttons or
|
2197
2267
|
# checkboxes. Supports up to 100 items.
|
2198
2268
|
# Corresponds to the JSON property `items`
|
@@ -2207,6 +2277,22 @@ module Google
|
|
2207
2277
|
# @return [String]
|
2208
2278
|
attr_accessor :label
|
2209
2279
|
|
2280
|
+
# For multi-select menus, the maximum number of items that a user can select.
|
2281
|
+
# Minimum value is 1 item. If unspecified, set to 3 items. [Developer Preview](
|
2282
|
+
# https://developers.google.com/workspace/preview).
|
2283
|
+
# Corresponds to the JSON property `multiSelectMaxSelectedItems`
|
2284
|
+
# @return [Fixnum]
|
2285
|
+
attr_accessor :multi_select_max_selected_items
|
2286
|
+
|
2287
|
+
# For multi-select menus, the number of text characters that a user inputs
|
2288
|
+
# before the Chat app queries autocomplete and displays suggested items on the
|
2289
|
+
# card. If unspecified, set to 0 characters for static data sources and 3
|
2290
|
+
# characters for external data sources. [Developer Preview](https://developers.
|
2291
|
+
# google.com/workspace/preview).
|
2292
|
+
# Corresponds to the JSON property `multiSelectMinQueryLength`
|
2293
|
+
# @return [Fixnum]
|
2294
|
+
attr_accessor :multi_select_min_query_length
|
2295
|
+
|
2210
2296
|
# The name that identifies the selection input in a form input event. For
|
2211
2297
|
# details about working with form inputs, see [Receive form data](https://
|
2212
2298
|
# developers.google.com/chat/how-tos/dialogs#receive_form_data_from_dialogs).
|
@@ -2221,6 +2307,15 @@ module Google
|
|
2221
2307
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
|
2222
2308
|
attr_accessor :on_change_action
|
2223
2309
|
|
2310
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multi-select menu,
|
2311
|
+
# the data from a [Google Workspace host application](https://developers.google.
|
2312
|
+
# com/chat/api/reference/rest/v1/HostApp). Used to populate the items in the
|
2313
|
+
# multi-select menu. [Developer Preview](https://developers.google.com/workspace/
|
2314
|
+
# preview).
|
2315
|
+
# Corresponds to the JSON property `platformDataSource`
|
2316
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource]
|
2317
|
+
attr_accessor :platform_data_source
|
2318
|
+
|
2224
2319
|
# The type of items that are displayed to users in a `SelectionInput` widget.
|
2225
2320
|
# Selection types support different types of interactions. For example, users
|
2226
2321
|
# can select one or more checkboxes, but they can only select one value from a
|
@@ -2235,10 +2330,14 @@ module Google
|
|
2235
2330
|
|
2236
2331
|
# Update properties of this object
|
2237
2332
|
def update!(**args)
|
2333
|
+
@external_data_source = args[:external_data_source] if args.key?(:external_data_source)
|
2238
2334
|
@items = args[:items] if args.key?(:items)
|
2239
2335
|
@label = args[:label] if args.key?(:label)
|
2336
|
+
@multi_select_max_selected_items = args[:multi_select_max_selected_items] if args.key?(:multi_select_max_selected_items)
|
2337
|
+
@multi_select_min_query_length = args[:multi_select_min_query_length] if args.key?(:multi_select_min_query_length)
|
2240
2338
|
@name = args[:name] if args.key?(:name)
|
2241
2339
|
@on_change_action = args[:on_change_action] if args.key?(:on_change_action)
|
2340
|
+
@platform_data_source = args[:platform_data_source] if args.key?(:platform_data_source)
|
2242
2341
|
@type = args[:type] if args.key?(:type)
|
2243
2342
|
end
|
2244
2343
|
end
|
@@ -2248,6 +2347,13 @@ module Google
|
|
2248
2347
|
class GoogleAppsCardV1SelectionItem
|
2249
2348
|
include Google::Apis::Core::Hashable
|
2250
2349
|
|
2350
|
+
# For multi-select menus, a text description or label that's displayed below the
|
2351
|
+
# item's `text` field. [Developer Preview](https://developers.google.com/
|
2352
|
+
# workspace/preview).
|
2353
|
+
# Corresponds to the JSON property `bottomText`
|
2354
|
+
# @return [String]
|
2355
|
+
attr_accessor :bottom_text
|
2356
|
+
|
2251
2357
|
# Whether the item is selected by default. If the selection input only accepts
|
2252
2358
|
# one value (such as for radio buttons or a dropdown menu), only set this field
|
2253
2359
|
# for one item.
|
@@ -2256,6 +2362,14 @@ module Google
|
|
2256
2362
|
attr_accessor :selected
|
2257
2363
|
alias_method :selected?, :selected
|
2258
2364
|
|
2365
|
+
# For multi-select menus, the URL for the icon displayed next to the item's `
|
2366
|
+
# text` field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example,
|
2367
|
+
# `https://developers.google.com/chat/images/quickstart-app-avatar.png`. [
|
2368
|
+
# Developer Preview](https://developers.google.com/workspace/preview).
|
2369
|
+
# Corresponds to the JSON property `startIconUri`
|
2370
|
+
# @return [String]
|
2371
|
+
attr_accessor :start_icon_uri
|
2372
|
+
|
2259
2373
|
# The text that identifies or describes the item to users.
|
2260
2374
|
# Corresponds to the JSON property `text`
|
2261
2375
|
# @return [String]
|
@@ -2275,7 +2389,9 @@ module Google
|
|
2275
2389
|
|
2276
2390
|
# Update properties of this object
|
2277
2391
|
def update!(**args)
|
2392
|
+
@bottom_text = args[:bottom_text] if args.key?(:bottom_text)
|
2278
2393
|
@selected = args[:selected] if args.key?(:selected)
|
2394
|
+
@start_icon_uri = args[:start_icon_uri] if args.key?(:start_icon_uri)
|
2279
2395
|
@text = args[:text] if args.key?(:text)
|
2280
2396
|
@value = args[:value] if args.key?(:value)
|
2281
2397
|
end
|
@@ -2697,6 +2813,30 @@ module Google
|
|
2697
2813
|
end
|
2698
2814
|
end
|
2699
2815
|
|
2816
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a
|
2817
|
+
# data source from a Google Workspace host application. [Developer Preview](
|
2818
|
+
# https://developers.google.com/workspace/preview).
|
2819
|
+
class HostAppDataSourceMarkup
|
2820
|
+
include Google::Apis::Core::Hashable
|
2821
|
+
|
2822
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a
|
2823
|
+
# data source from Google Chat. For example, a list of Google Chat spaces of
|
2824
|
+
# which the user is a member. [Developer Preview](https://developers.google.com/
|
2825
|
+
# workspace/preview).
|
2826
|
+
# Corresponds to the JSON property `chatDataSource`
|
2827
|
+
# @return [Google::Apis::ChatV1::ChatClientDataSourceMarkup]
|
2828
|
+
attr_accessor :chat_data_source
|
2829
|
+
|
2830
|
+
def initialize(**args)
|
2831
|
+
update!(**args)
|
2832
|
+
end
|
2833
|
+
|
2834
|
+
# Update properties of this object
|
2835
|
+
def update!(**args)
|
2836
|
+
@chat_data_source = args[:chat_data_source] if args.key?(:chat_data_source)
|
2837
|
+
end
|
2838
|
+
end
|
2839
|
+
|
2700
2840
|
# An image that's specified by a URL and can have an `onclick` action.
|
2701
2841
|
class Image
|
2702
2842
|
include Google::Apis::Core::Hashable
|
@@ -3193,6 +3333,11 @@ module Google
|
|
3193
3333
|
# @return [String]
|
3194
3334
|
attr_accessor :name
|
3195
3335
|
|
3336
|
+
# Information about a quoted message.
|
3337
|
+
# Corresponds to the JSON property `quotedMessageMetadata`
|
3338
|
+
# @return [Google::Apis::ChatV1::QuotedMessageMetadata]
|
3339
|
+
attr_accessor :quoted_message_metadata
|
3340
|
+
|
3196
3341
|
# A user in Google Chat.
|
3197
3342
|
# Corresponds to the JSON property `sender`
|
3198
3343
|
# @return [Google::Apis::ChatV1::User]
|
@@ -3252,6 +3397,7 @@ module Google
|
|
3252
3397
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
3253
3398
|
@matched_url = args[:matched_url] if args.key?(:matched_url)
|
3254
3399
|
@name = args[:name] if args.key?(:name)
|
3400
|
+
@quoted_message_metadata = args[:quoted_message_metadata] if args.key?(:quoted_message_metadata)
|
3255
3401
|
@sender = args[:sender] if args.key?(:sender)
|
3256
3402
|
@slash_command = args[:slash_command] if args.key?(:slash_command)
|
3257
3403
|
@space = args[:space] if args.key?(:space)
|
@@ -3306,6 +3452,33 @@ module Google
|
|
3306
3452
|
end
|
3307
3453
|
end
|
3308
3454
|
|
3455
|
+
# Information about a quoted message.
|
3456
|
+
class QuotedMessageMetadata
|
3457
|
+
include Google::Apis::Core::Hashable
|
3458
|
+
|
3459
|
+
# Output only. The timestamp when the quoted message was created or when the
|
3460
|
+
# quoted message was last updated.
|
3461
|
+
# Corresponds to the JSON property `lastUpdateTime`
|
3462
|
+
# @return [String]
|
3463
|
+
attr_accessor :last_update_time
|
3464
|
+
|
3465
|
+
# Output only. Resource name of the quoted message. Format: `spaces/`space`/
|
3466
|
+
# messages/`message``
|
3467
|
+
# Corresponds to the JSON property `name`
|
3468
|
+
# @return [String]
|
3469
|
+
attr_accessor :name
|
3470
|
+
|
3471
|
+
def initialize(**args)
|
3472
|
+
update!(**args)
|
3473
|
+
end
|
3474
|
+
|
3475
|
+
# Update properties of this object
|
3476
|
+
def update!(**args)
|
3477
|
+
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
3478
|
+
@name = args[:name] if args.key?(:name)
|
3479
|
+
end
|
3480
|
+
end
|
3481
|
+
|
3309
3482
|
# A reaction to a message.
|
3310
3483
|
class Reaction
|
3311
3484
|
include Google::Apis::Core::Hashable
|
@@ -3565,6 +3738,29 @@ module Google
|
|
3565
3738
|
end
|
3566
3739
|
end
|
3567
3740
|
|
3741
|
+
# A data source representing a Google Chat space. Format: spaces/`space` [
|
3742
|
+
# Developer Preview](https://developers.google.com/workspace/preview).
|
3743
|
+
class SpaceDataSource
|
3744
|
+
include Google::Apis::Core::Hashable
|
3745
|
+
|
3746
|
+
# When `true`, uses the card's Google Chat space as the default selection. The
|
3747
|
+
# default value is `false`. [Developer Preview](https://developers.google.com/
|
3748
|
+
# workspace/preview).
|
3749
|
+
# Corresponds to the JSON property `defaultToCurrentSpace`
|
3750
|
+
# @return [Boolean]
|
3751
|
+
attr_accessor :default_to_current_space
|
3752
|
+
alias_method :default_to_current_space?, :default_to_current_space
|
3753
|
+
|
3754
|
+
def initialize(**args)
|
3755
|
+
update!(**args)
|
3756
|
+
end
|
3757
|
+
|
3758
|
+
# Update properties of this object
|
3759
|
+
def update!(**args)
|
3760
|
+
@default_to_current_space = args[:default_to_current_space] if args.key?(:default_to_current_space)
|
3761
|
+
end
|
3762
|
+
end
|
3763
|
+
|
3568
3764
|
# Details about the space including description and rules.
|
3569
3765
|
class SpaceDetails
|
3570
3766
|
include Google::Apis::Core::Hashable
|
@@ -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.65.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230711"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class ChatClientDataSourceMarkup
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class Color
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -316,6 +322,12 @@ module Google
|
|
316
322
|
include Google::Apis::Core::JsonObjectSupport
|
317
323
|
end
|
318
324
|
|
325
|
+
class GoogleAppsCardV1PlatformDataSource
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
319
331
|
class GoogleAppsCardV1Section
|
320
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
333
|
|
@@ -376,6 +388,12 @@ module Google
|
|
376
388
|
include Google::Apis::Core::JsonObjectSupport
|
377
389
|
end
|
378
390
|
|
391
|
+
class HostAppDataSourceMarkup
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
379
397
|
class Image
|
380
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
399
|
|
@@ -460,6 +478,12 @@ module Google
|
|
460
478
|
include Google::Apis::Core::JsonObjectSupport
|
461
479
|
end
|
462
480
|
|
481
|
+
class QuotedMessageMetadata
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
463
487
|
class Reaction
|
464
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
489
|
|
@@ -496,6 +520,12 @@ module Google
|
|
496
520
|
include Google::Apis::Core::JsonObjectSupport
|
497
521
|
end
|
498
522
|
|
523
|
+
class SpaceDataSource
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
499
529
|
class SpaceDetails
|
500
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
531
|
|
@@ -705,6 +735,14 @@ module Google
|
|
705
735
|
end
|
706
736
|
end
|
707
737
|
|
738
|
+
class ChatClientDataSourceMarkup
|
739
|
+
# @private
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
741
|
+
property :space_data_source, as: 'spaceDataSource', class: Google::Apis::ChatV1::SpaceDataSource, decorator: Google::Apis::ChatV1::SpaceDataSource::Representation
|
742
|
+
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
708
746
|
class Color
|
709
747
|
# @private
|
710
748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -907,6 +945,7 @@ module Google
|
|
907
945
|
property :name, as: 'name'
|
908
946
|
property :peek_card_header, as: 'peekCardHeader', class: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader, decorator: Google::Apis::ChatV1::GoogleAppsCardV1CardHeader::Representation
|
909
947
|
|
948
|
+
property :section_divider_style, as: 'sectionDividerStyle'
|
910
949
|
collection :sections, as: 'sections', class: Google::Apis::ChatV1::GoogleAppsCardV1Section, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Section::Representation
|
911
950
|
|
912
951
|
end
|
@@ -1091,6 +1130,15 @@ module Google
|
|
1091
1130
|
end
|
1092
1131
|
end
|
1093
1132
|
|
1133
|
+
class GoogleAppsCardV1PlatformDataSource
|
1134
|
+
# @private
|
1135
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1136
|
+
property :common_data_source, as: 'commonDataSource'
|
1137
|
+
property :host_app_data_source, as: 'hostAppDataSource', class: Google::Apis::ChatV1::HostAppDataSourceMarkup, decorator: Google::Apis::ChatV1::HostAppDataSourceMarkup::Representation
|
1138
|
+
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
|
1094
1142
|
class GoogleAppsCardV1Section
|
1095
1143
|
# @private
|
1096
1144
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1105,12 +1153,18 @@ module Google
|
|
1105
1153
|
class GoogleAppsCardV1SelectionInput
|
1106
1154
|
# @private
|
1107
1155
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1156
|
+
property :external_data_source, as: 'externalDataSource', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
1157
|
+
|
1108
1158
|
collection :items, as: 'items', class: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem, decorator: Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem::Representation
|
1109
1159
|
|
1110
1160
|
property :label, as: 'label'
|
1161
|
+
property :multi_select_max_selected_items, as: 'multiSelectMaxSelectedItems'
|
1162
|
+
property :multi_select_min_query_length, as: 'multiSelectMinQueryLength'
|
1111
1163
|
property :name, as: 'name'
|
1112
1164
|
property :on_change_action, as: 'onChangeAction', class: Google::Apis::ChatV1::GoogleAppsCardV1Action, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Action::Representation
|
1113
1165
|
|
1166
|
+
property :platform_data_source, as: 'platformDataSource', class: Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource, decorator: Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource::Representation
|
1167
|
+
|
1114
1168
|
property :type, as: 'type'
|
1115
1169
|
end
|
1116
1170
|
end
|
@@ -1118,7 +1172,9 @@ module Google
|
|
1118
1172
|
class GoogleAppsCardV1SelectionItem
|
1119
1173
|
# @private
|
1120
1174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1175
|
+
property :bottom_text, as: 'bottomText'
|
1121
1176
|
property :selected, as: 'selected'
|
1177
|
+
property :start_icon_uri, as: 'startIconUri'
|
1122
1178
|
property :text, as: 'text'
|
1123
1179
|
property :value, as: 'value'
|
1124
1180
|
end
|
@@ -1222,6 +1278,14 @@ module Google
|
|
1222
1278
|
end
|
1223
1279
|
end
|
1224
1280
|
|
1281
|
+
class HostAppDataSourceMarkup
|
1282
|
+
# @private
|
1283
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1284
|
+
property :chat_data_source, as: 'chatDataSource', class: Google::Apis::ChatV1::ChatClientDataSourceMarkup, decorator: Google::Apis::ChatV1::ChatClientDataSourceMarkup::Representation
|
1285
|
+
|
1286
|
+
end
|
1287
|
+
end
|
1288
|
+
|
1225
1289
|
class Image
|
1226
1290
|
# @private
|
1227
1291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1363,6 +1427,8 @@ module Google
|
|
1363
1427
|
property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
|
1364
1428
|
|
1365
1429
|
property :name, as: 'name'
|
1430
|
+
property :quoted_message_metadata, as: 'quotedMessageMetadata', class: Google::Apis::ChatV1::QuotedMessageMetadata, decorator: Google::Apis::ChatV1::QuotedMessageMetadata::Representation
|
1431
|
+
|
1366
1432
|
property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
1367
1433
|
|
1368
1434
|
property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommand, decorator: Google::Apis::ChatV1::SlashCommand::Representation
|
@@ -1393,6 +1459,14 @@ module Google
|
|
1393
1459
|
end
|
1394
1460
|
end
|
1395
1461
|
|
1462
|
+
class QuotedMessageMetadata
|
1463
|
+
# @private
|
1464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1465
|
+
property :last_update_time, as: 'lastUpdateTime'
|
1466
|
+
property :name, as: 'name'
|
1467
|
+
end
|
1468
|
+
end
|
1469
|
+
|
1396
1470
|
class Reaction
|
1397
1471
|
# @private
|
1398
1472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1460,6 +1534,13 @@ module Google
|
|
1460
1534
|
end
|
1461
1535
|
end
|
1462
1536
|
|
1537
|
+
class SpaceDataSource
|
1538
|
+
# @private
|
1539
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1540
|
+
property :default_to_current_space, as: 'defaultToCurrentSpace'
|
1541
|
+
end
|
1542
|
+
end
|
1543
|
+
|
1463
1544
|
class SpaceDetails
|
1464
1545
|
# @private
|
1465
1546
|
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.65.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: 2023-07-
|
11
|
+
date: 2023-07-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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.65.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: []
|