google-apis-chat_v1 0.39.0 → 0.42.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 +12 -0
- data/lib/google/apis/chat_v1/classes.rb +102 -98
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +34 -47
- data/lib/google/apis/chat_v1/service.rb +1 -1
- 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: bfb3cd8faa502e6ac70771f42102054ad99af8e767b5f19ec652fb53e16f9332
|
4
|
+
data.tar.gz: e5ff75c4c3fba099711d8779e120024c3ce10532b8e470c7d3238742a188ed66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5576a38709b21fe184af233720690c0e438222d2479c47604343a33d4d3be3162991b692a01eea1b76e18e27db3c1a3c4e304227af26263eff55ea31698a8fae
|
7
|
+
data.tar.gz: 4c6869d4c375cf86a961e1c54a27c8376d7796d9c7190b7707beb022ec1ff9f5360728b24527cab8b2fbca12a2ceafd3fd3db7e890018bd7c3bf41dcf78c29ee
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.42.0 (2022-07-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220722
|
6
|
+
|
7
|
+
### v0.41.0 (2022-07-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220716
|
10
|
+
|
11
|
+
### v0.40.0 (2022-07-13)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220706
|
14
|
+
|
3
15
|
### v0.39.0 (2022-07-08)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220701
|
@@ -374,6 +374,49 @@ module Google
|
|
374
374
|
end
|
375
375
|
end
|
376
376
|
|
377
|
+
# Widgets for Chat apps to specify.
|
378
|
+
class CardWithId
|
379
|
+
include Google::Apis::Core::Hashable
|
380
|
+
|
381
|
+
# A card is a UI element that can contain UI widgets such as text and images.
|
382
|
+
# For more information, see Cards . For example, the following JSON creates a
|
383
|
+
# card that has a header with the name, position, icons, and link for a contact,
|
384
|
+
# followed by a section with contact information like email and phone number. ```
|
385
|
+
# ` "header": ` "title": "Sasha", "subtitle": "Software Engineer", "imageStyle":
|
386
|
+
# "ImageStyle.AVATAR", "imageUrl": "https://example.com/sasha.png", "
|
387
|
+
# imageAltText": "Avatar for Sasha" `, "sections" : [ ` "header": "Contact Info",
|
388
|
+
# "widgets": [ ` "decorated_text": ` "icon": ` "knownIcon": "EMAIL" `, "content"
|
389
|
+
# : "sasha@example.com" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "PERSON"
|
390
|
+
# `, "content": "Online" ` `, ` "decoratedText": ` "icon": ` "knownIcon": "
|
391
|
+
# PHONE" `, "content": "+1 (555) 555-1234" ` `, ` "buttons": [ ` "textButton": `
|
392
|
+
# "text": "Share", `, "onClick": ` "openLink": ` "url": "https://example.com/
|
393
|
+
# share" ` ` `, ` "textButton": ` "text": "Edit", `, "onClick": ` "action": ` "
|
394
|
+
# function": "goToView", "parameters": [ ` "key": "viewType", "value": "EDIT" ` ]
|
395
|
+
# , "loadIndicator": "LoadIndicator.SPINNER" ` ` ` ] ` ], "collapsible": true, "
|
396
|
+
# uncollapsibleWidgetsCount": 3 ` ], "cardActions": [ ` "actionLabel": "Send
|
397
|
+
# Feedback", "onClick": ` "openLink": ` "url": "https://example.com/feedback" ` `
|
398
|
+
# ` ], "name": "contact-card-K3wB6arF2H9L" ` ```
|
399
|
+
# Corresponds to the JSON property `card`
|
400
|
+
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Card]
|
401
|
+
attr_accessor :card
|
402
|
+
|
403
|
+
# Required for `cardsV2` messages. Chat app-specified identifier for this widget.
|
404
|
+
# Scoped within a message.
|
405
|
+
# Corresponds to the JSON property `cardId`
|
406
|
+
# @return [String]
|
407
|
+
attr_accessor :card_id
|
408
|
+
|
409
|
+
def initialize(**args)
|
410
|
+
update!(**args)
|
411
|
+
end
|
412
|
+
|
413
|
+
# Update properties of this object
|
414
|
+
def update!(**args)
|
415
|
+
@card = args[:card] if args.key?(:card)
|
416
|
+
@card_id = args[:card_id] if args.key?(:card_id)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
377
420
|
# JSON payload of error messages. If the Cloud Logging API is enabled, these
|
378
421
|
# error messages are logged to [Google Cloud Logging](https://cloud.google.com/
|
379
422
|
# logging/docs).
|
@@ -887,7 +930,7 @@ module Google
|
|
887
930
|
# to `false`, it is strongly recommended that the card use [LoadIndicator.
|
888
931
|
# SPINNER](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator)
|
889
932
|
# for all actions, as this locks the UI to ensure no changes are made by the
|
890
|
-
# user while the action is being processed.
|
933
|
+
# user while the action is being processed. Not supported by Google Chat apps.
|
891
934
|
# Corresponds to the JSON property `persistValues`
|
892
935
|
# @return [Boolean]
|
893
936
|
attr_accessor :persist_values
|
@@ -934,37 +977,6 @@ module Google
|
|
934
977
|
end
|
935
978
|
end
|
936
979
|
|
937
|
-
# Represents the platform specific uri/intent to open for each client.
|
938
|
-
class GoogleAppsCardV1AppUri
|
939
|
-
include Google::Apis::Core::Hashable
|
940
|
-
|
941
|
-
# Android intent.
|
942
|
-
# Corresponds to the JSON property `androidIntent`
|
943
|
-
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Intent]
|
944
|
-
attr_accessor :android_intent
|
945
|
-
|
946
|
-
# A companion uri string to be opened in the chat companion window. on the web.
|
947
|
-
# Corresponds to the JSON property `companionUri`
|
948
|
-
# @return [String]
|
949
|
-
attr_accessor :companion_uri
|
950
|
-
|
951
|
-
# A uri string to be opened in the corresponding iOS hosting app.
|
952
|
-
# Corresponds to the JSON property `iosUri`
|
953
|
-
# @return [String]
|
954
|
-
attr_accessor :ios_uri
|
955
|
-
|
956
|
-
def initialize(**args)
|
957
|
-
update!(**args)
|
958
|
-
end
|
959
|
-
|
960
|
-
# Update properties of this object
|
961
|
-
def update!(**args)
|
962
|
-
@android_intent = args[:android_intent] if args.key?(:android_intent)
|
963
|
-
@companion_uri = args[:companion_uri] if args.key?(:companion_uri)
|
964
|
-
@ios_uri = args[:ios_uri] if args.key?(:ios_uri)
|
965
|
-
end
|
966
|
-
end
|
967
|
-
|
968
980
|
# Represents the complete border style applied to widgets.
|
969
981
|
class GoogleAppsCardV1BorderStyle
|
970
982
|
include Google::Apis::Core::Hashable
|
@@ -1187,7 +1199,7 @@ module Google
|
|
1187
1199
|
# @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1CardAction>]
|
1188
1200
|
attr_accessor :card_actions
|
1189
1201
|
|
1190
|
-
# The display style for
|
1202
|
+
# The `peekCardHeader` display style for. Not supported by Google Chat apps.
|
1191
1203
|
# Corresponds to the JSON property `displayStyle`
|
1192
1204
|
# @return [String]
|
1193
1205
|
attr_accessor :display_style
|
@@ -1478,32 +1490,6 @@ module Google
|
|
1478
1490
|
end
|
1479
1491
|
end
|
1480
1492
|
|
1481
|
-
# Extra data for an android intent. Valid keys are defined in the hosting app
|
1482
|
-
# contract.
|
1483
|
-
class GoogleAppsCardV1ExtraData
|
1484
|
-
include Google::Apis::Core::Hashable
|
1485
|
-
|
1486
|
-
# A key for the intent extra data.
|
1487
|
-
# Corresponds to the JSON property `key`
|
1488
|
-
# @return [String]
|
1489
|
-
attr_accessor :key
|
1490
|
-
|
1491
|
-
# Value for the given extra data key.
|
1492
|
-
# Corresponds to the JSON property `value`
|
1493
|
-
# @return [String]
|
1494
|
-
attr_accessor :value
|
1495
|
-
|
1496
|
-
def initialize(**args)
|
1497
|
-
update!(**args)
|
1498
|
-
end
|
1499
|
-
|
1500
|
-
# Update properties of this object
|
1501
|
-
def update!(**args)
|
1502
|
-
@key = args[:key] if args.key?(:key)
|
1503
|
-
@value = args[:value] if args.key?(:value)
|
1504
|
-
end
|
1505
|
-
end
|
1506
|
-
|
1507
1493
|
# Represents a Grid widget that displays items in a configurable grid layout.
|
1508
1494
|
class GoogleAppsCardV1Grid
|
1509
1495
|
include Google::Apis::Core::Hashable
|
@@ -1731,34 +1717,6 @@ module Google
|
|
1731
1717
|
end
|
1732
1718
|
end
|
1733
1719
|
|
1734
|
-
# Android intent.
|
1735
|
-
class GoogleAppsCardV1Intent
|
1736
|
-
include Google::Apis::Core::Hashable
|
1737
|
-
|
1738
|
-
# A list of extra data for the android intent. For example, for a calendar event
|
1739
|
-
# edit intent, the event title information can be passed as extra data.
|
1740
|
-
# Corresponds to the JSON property `extraData`
|
1741
|
-
# @return [Array<Google::Apis::ChatV1::GoogleAppsCardV1ExtraData>]
|
1742
|
-
attr_accessor :extra_data
|
1743
|
-
|
1744
|
-
# An android intent action string for the `@link android.content.Intent` object.
|
1745
|
-
# For example: for the view intent action type, a valid value will be android.
|
1746
|
-
# content.Intent.ACTION_VIEW.
|
1747
|
-
# Corresponds to the JSON property `intentAction`
|
1748
|
-
# @return [String]
|
1749
|
-
attr_accessor :intent_action
|
1750
|
-
|
1751
|
-
def initialize(**args)
|
1752
|
-
update!(**args)
|
1753
|
-
end
|
1754
|
-
|
1755
|
-
# Update properties of this object
|
1756
|
-
def update!(**args)
|
1757
|
-
@extra_data = args[:extra_data] if args.key?(:extra_data)
|
1758
|
-
@intent_action = args[:intent_action] if args.key?(:intent_action)
|
1759
|
-
end
|
1760
|
-
end
|
1761
|
-
|
1762
1720
|
# Represents the response to an `onClick` event.
|
1763
1721
|
class GoogleAppsCardV1OnClick
|
1764
1722
|
include Google::Apis::Core::Hashable
|
@@ -1819,11 +1777,6 @@ module Google
|
|
1819
1777
|
class GoogleAppsCardV1OpenLink
|
1820
1778
|
include Google::Apis::Core::Hashable
|
1821
1779
|
|
1822
|
-
# Represents the platform specific uri/intent to open for each client.
|
1823
|
-
# Corresponds to the JSON property `appUri`
|
1824
|
-
# @return [Google::Apis::ChatV1::GoogleAppsCardV1AppUri]
|
1825
|
-
attr_accessor :app_uri
|
1826
|
-
|
1827
1780
|
# Whether the client forgets about a link after opening it, or observes it until
|
1828
1781
|
# the window closes. Not supported by Chat apps.
|
1829
1782
|
# Corresponds to the JSON property `onClose`
|
@@ -1846,7 +1799,6 @@ module Google
|
|
1846
1799
|
|
1847
1800
|
# Update properties of this object
|
1848
1801
|
def update!(**args)
|
1849
|
-
@app_uri = args[:app_uri] if args.key?(:app_uri)
|
1850
1802
|
@on_close = args[:on_close] if args.key?(:on_close)
|
1851
1803
|
@open_as = args[:open_as] if args.key?(:open_as)
|
1852
1804
|
@url = args[:url] if args.key?(:url)
|
@@ -2127,7 +2079,7 @@ module Google
|
|
2127
2079
|
end
|
2128
2080
|
|
2129
2081
|
# A paragraph of text that supports formatting. See [Text formatting](workspace/
|
2130
|
-
# add-ons/concepts/widgets#text_formatting
|
2082
|
+
# add-ons/concepts/widgets#text_formatting) for details.
|
2131
2083
|
class GoogleAppsCardV1TextParagraph
|
2132
2084
|
include Google::Apis::Core::Hashable
|
2133
2085
|
|
@@ -2201,7 +2153,7 @@ module Google
|
|
2201
2153
|
attr_accessor :text_input
|
2202
2154
|
|
2203
2155
|
# A paragraph of text that supports formatting. See [Text formatting](workspace/
|
2204
|
-
# add-ons/concepts/widgets#text_formatting
|
2156
|
+
# add-ons/concepts/widgets#text_formatting) for details.
|
2205
2157
|
# Corresponds to the JSON property `textParagraph`
|
2206
2158
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph]
|
2207
2159
|
attr_accessor :text_paragraph
|
@@ -2514,6 +2466,12 @@ module Google
|
|
2514
2466
|
# @return [String]
|
2515
2467
|
attr_accessor :name
|
2516
2468
|
|
2469
|
+
# Output only. User's role within a Chat space, which determines their permitted
|
2470
|
+
# actions in the space.
|
2471
|
+
# Corresponds to the JSON property `role`
|
2472
|
+
# @return [String]
|
2473
|
+
attr_accessor :role
|
2474
|
+
|
2517
2475
|
# Output only. State of the membership.
|
2518
2476
|
# Corresponds to the JSON property `state`
|
2519
2477
|
# @return [String]
|
@@ -2528,6 +2486,7 @@ module Google
|
|
2528
2486
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2529
2487
|
@member = args[:member] if args.key?(:member)
|
2530
2488
|
@name = args[:name] if args.key?(:name)
|
2489
|
+
@role = args[:role] if args.key?(:role)
|
2531
2490
|
@state = args[:state] if args.key?(:state)
|
2532
2491
|
end
|
2533
2492
|
end
|
@@ -2563,6 +2522,18 @@ module Google
|
|
2563
2522
|
# @return [Array<Google::Apis::ChatV1::Card>]
|
2564
2523
|
attr_accessor :cards
|
2565
2524
|
|
2525
|
+
# Richly formatted and interactive cards that display UI elements and editable
|
2526
|
+
# widgets, such as: - Formatted text - Buttons - Clickable images - Checkboxes -
|
2527
|
+
# Radio buttons - Input widgets. Cards are usually displayed below the text-body
|
2528
|
+
# of a Chat message, but can situationally appear other places, such as [dialogs]
|
2529
|
+
# (https://developers.google.com/chat/how-tos/dialogs). The `cardId` is a unique
|
2530
|
+
# identifier among cards in the same message and for identifying user input
|
2531
|
+
# values. Currently supported widgets include: - `TextParagraph` - `
|
2532
|
+
# DecoratedText` - `Image` - `ButtonList`
|
2533
|
+
# Corresponds to the JSON property `cardsV2`
|
2534
|
+
# @return [Array<Google::Apis::ChatV1::CardWithId>]
|
2535
|
+
attr_accessor :cards_v2
|
2536
|
+
|
2566
2537
|
# Output only. The time at which the message was created in Google Chat server.
|
2567
2538
|
# Corresponds to the JSON property `createTime`
|
2568
2539
|
# @return [String]
|
@@ -2574,8 +2545,8 @@ module Google
|
|
2574
2545
|
# @return [String]
|
2575
2546
|
attr_accessor :fallback_text
|
2576
2547
|
|
2577
|
-
# Output only. The time at which the message was last
|
2578
|
-
#
|
2548
|
+
# Output only. The time at which the message was last edited by a user. If the
|
2549
|
+
# message has never been edited, this field is empty.
|
2579
2550
|
# Corresponds to the JSON property `lastUpdateTime`
|
2580
2551
|
# @return [String]
|
2581
2552
|
attr_accessor :last_update_time
|
@@ -2632,6 +2603,7 @@ module Google
|
|
2632
2603
|
@argument_text = args[:argument_text] if args.key?(:argument_text)
|
2633
2604
|
@attachment = args[:attachment] if args.key?(:attachment)
|
2634
2605
|
@cards = args[:cards] if args.key?(:cards)
|
2606
|
+
@cards_v2 = args[:cards_v2] if args.key?(:cards_v2)
|
2635
2607
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2636
2608
|
@fallback_text = args[:fallback_text] if args.key?(:fallback_text)
|
2637
2609
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
@@ -2803,13 +2775,18 @@ module Google
|
|
2803
2775
|
attr_accessor :single_user_bot_dm
|
2804
2776
|
alias_method :single_user_bot_dm?, :single_user_bot_dm
|
2805
2777
|
|
2778
|
+
# Details about the space including description and rules.
|
2779
|
+
# Corresponds to the JSON property `spaceDetails`
|
2780
|
+
# @return [Google::Apis::ChatV1::SpaceDetails]
|
2781
|
+
attr_accessor :space_details
|
2782
|
+
|
2806
2783
|
# Output only. Whether messages are threaded in this space.
|
2807
2784
|
# Corresponds to the JSON property `threaded`
|
2808
2785
|
# @return [Boolean]
|
2809
2786
|
attr_accessor :threaded
|
2810
2787
|
alias_method :threaded?, :threaded
|
2811
2788
|
|
2812
|
-
# Output only. Deprecated: Use `
|
2789
|
+
# Output only. Deprecated: Use `singleUserBotDm` or `spaceType` (developer
|
2813
2790
|
# preview) instead. The type of a space.
|
2814
2791
|
# Corresponds to the JSON property `type`
|
2815
2792
|
# @return [String]
|
@@ -2824,11 +2801,38 @@ module Google
|
|
2824
2801
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2825
2802
|
@name = args[:name] if args.key?(:name)
|
2826
2803
|
@single_user_bot_dm = args[:single_user_bot_dm] if args.key?(:single_user_bot_dm)
|
2804
|
+
@space_details = args[:space_details] if args.key?(:space_details)
|
2827
2805
|
@threaded = args[:threaded] if args.key?(:threaded)
|
2828
2806
|
@type = args[:type] if args.key?(:type)
|
2829
2807
|
end
|
2830
2808
|
end
|
2831
2809
|
|
2810
|
+
# Details about the space including description and rules.
|
2811
|
+
class SpaceDetails
|
2812
|
+
include Google::Apis::Core::Hashable
|
2813
|
+
|
2814
|
+
# Optional. A description of the space. It could describe the space's discussion
|
2815
|
+
# topic, functional purpose, or participants.
|
2816
|
+
# Corresponds to the JSON property `description`
|
2817
|
+
# @return [String]
|
2818
|
+
attr_accessor :description
|
2819
|
+
|
2820
|
+
# Optional. The space's rules, expectations, and etiquette.
|
2821
|
+
# Corresponds to the JSON property `guidelines`
|
2822
|
+
# @return [String]
|
2823
|
+
attr_accessor :guidelines
|
2824
|
+
|
2825
|
+
def initialize(**args)
|
2826
|
+
update!(**args)
|
2827
|
+
end
|
2828
|
+
|
2829
|
+
# Update properties of this object
|
2830
|
+
def update!(**args)
|
2831
|
+
@description = args[:description] if args.key?(:description)
|
2832
|
+
@guidelines = args[:guidelines] if args.key?(:guidelines)
|
2833
|
+
end
|
2834
|
+
end
|
2835
|
+
|
2832
2836
|
# The `Status` type defines a logical error model that is suitable for different
|
2833
2837
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2834
2838
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -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.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220722"
|
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 CardWithId
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class ChatAppLogEntry
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -160,12 +166,6 @@ module Google
|
|
160
166
|
include Google::Apis::Core::JsonObjectSupport
|
161
167
|
end
|
162
168
|
|
163
|
-
class GoogleAppsCardV1AppUri
|
164
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
-
|
166
|
-
include Google::Apis::Core::JsonObjectSupport
|
167
|
-
end
|
168
|
-
|
169
169
|
class GoogleAppsCardV1BorderStyle
|
170
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
171
|
|
@@ -226,12 +226,6 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
-
class GoogleAppsCardV1ExtraData
|
230
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
-
|
232
|
-
include Google::Apis::Core::JsonObjectSupport
|
233
|
-
end
|
234
|
-
|
235
229
|
class GoogleAppsCardV1Grid
|
236
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
231
|
|
@@ -268,12 +262,6 @@ module Google
|
|
268
262
|
include Google::Apis::Core::JsonObjectSupport
|
269
263
|
end
|
270
264
|
|
271
|
-
class GoogleAppsCardV1Intent
|
272
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
-
|
274
|
-
include Google::Apis::Core::JsonObjectSupport
|
275
|
-
end
|
276
|
-
|
277
265
|
class GoogleAppsCardV1OnClick
|
278
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
267
|
|
@@ -436,6 +424,12 @@ module Google
|
|
436
424
|
include Google::Apis::Core::JsonObjectSupport
|
437
425
|
end
|
438
426
|
|
427
|
+
class SpaceDetails
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
439
433
|
class Status
|
440
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
435
|
|
@@ -600,6 +594,15 @@ module Google
|
|
600
594
|
end
|
601
595
|
end
|
602
596
|
|
597
|
+
class CardWithId
|
598
|
+
# @private
|
599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
600
|
+
property :card, as: 'card', class: Google::Apis::ChatV1::GoogleAppsCardV1Card, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Card::Representation
|
601
|
+
|
602
|
+
property :card_id, as: 'cardId'
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
603
606
|
class ChatAppLogEntry
|
604
607
|
# @private
|
605
608
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -733,16 +736,6 @@ module Google
|
|
733
736
|
end
|
734
737
|
end
|
735
738
|
|
736
|
-
class GoogleAppsCardV1AppUri
|
737
|
-
# @private
|
738
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
739
|
-
property :android_intent, as: 'androidIntent', class: Google::Apis::ChatV1::GoogleAppsCardV1Intent, decorator: Google::Apis::ChatV1::GoogleAppsCardV1Intent::Representation
|
740
|
-
|
741
|
-
property :companion_uri, as: 'companionUri'
|
742
|
-
property :ios_uri, as: 'iosUri'
|
743
|
-
end
|
744
|
-
end
|
745
|
-
|
746
739
|
class GoogleAppsCardV1BorderStyle
|
747
740
|
# @private
|
748
741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -865,14 +858,6 @@ module Google
|
|
865
858
|
end
|
866
859
|
end
|
867
860
|
|
868
|
-
class GoogleAppsCardV1ExtraData
|
869
|
-
# @private
|
870
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
871
|
-
property :key, as: 'key'
|
872
|
-
property :value, as: 'value'
|
873
|
-
end
|
874
|
-
end
|
875
|
-
|
876
861
|
class GoogleAppsCardV1Grid
|
877
862
|
# @private
|
878
863
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -940,15 +925,6 @@ module Google
|
|
940
925
|
end
|
941
926
|
end
|
942
927
|
|
943
|
-
class GoogleAppsCardV1Intent
|
944
|
-
# @private
|
945
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
946
|
-
collection :extra_data, as: 'extraData', class: Google::Apis::ChatV1::GoogleAppsCardV1ExtraData, decorator: Google::Apis::ChatV1::GoogleAppsCardV1ExtraData::Representation
|
947
|
-
|
948
|
-
property :intent_action, as: 'intentAction'
|
949
|
-
end
|
950
|
-
end
|
951
|
-
|
952
928
|
class GoogleAppsCardV1OnClick
|
953
929
|
# @private
|
954
930
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -966,8 +942,6 @@ module Google
|
|
966
942
|
class GoogleAppsCardV1OpenLink
|
967
943
|
# @private
|
968
944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
969
|
-
property :app_uri, as: 'appUri', class: Google::Apis::ChatV1::GoogleAppsCardV1AppUri, decorator: Google::Apis::ChatV1::GoogleAppsCardV1AppUri::Representation
|
970
|
-
|
971
945
|
property :on_close, as: 'onClose'
|
972
946
|
property :open_as, as: 'openAs'
|
973
947
|
property :url, as: 'url'
|
@@ -1173,6 +1147,7 @@ module Google
|
|
1173
1147
|
property :member, as: 'member', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
1174
1148
|
|
1175
1149
|
property :name, as: 'name'
|
1150
|
+
property :role, as: 'role'
|
1176
1151
|
property :state, as: 'state'
|
1177
1152
|
end
|
1178
1153
|
end
|
@@ -1189,6 +1164,8 @@ module Google
|
|
1189
1164
|
|
1190
1165
|
collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
|
1191
1166
|
|
1167
|
+
collection :cards_v2, as: 'cardsV2', class: Google::Apis::ChatV1::CardWithId, decorator: Google::Apis::ChatV1::CardWithId::Representation
|
1168
|
+
|
1192
1169
|
property :create_time, as: 'createTime'
|
1193
1170
|
property :fallback_text, as: 'fallbackText'
|
1194
1171
|
property :last_update_time, as: 'lastUpdateTime'
|
@@ -1258,11 +1235,21 @@ module Google
|
|
1258
1235
|
property :display_name, as: 'displayName'
|
1259
1236
|
property :name, as: 'name'
|
1260
1237
|
property :single_user_bot_dm, as: 'singleUserBotDm'
|
1238
|
+
property :space_details, as: 'spaceDetails', class: Google::Apis::ChatV1::SpaceDetails, decorator: Google::Apis::ChatV1::SpaceDetails::Representation
|
1239
|
+
|
1261
1240
|
property :threaded, as: 'threaded'
|
1262
1241
|
property :type, as: 'type'
|
1263
1242
|
end
|
1264
1243
|
end
|
1265
1244
|
|
1245
|
+
class SpaceDetails
|
1246
|
+
# @private
|
1247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1248
|
+
property :description, as: 'description'
|
1249
|
+
property :guidelines, as: 'guidelines'
|
1250
|
+
end
|
1251
|
+
end
|
1252
|
+
|
1266
1253
|
class Status
|
1267
1254
|
# @private
|
1268
1255
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -660,7 +660,7 @@ module Google
|
|
660
660
|
# @param [String] update_mask
|
661
661
|
# Required. The field paths to update. Separate multiple values with commas.
|
662
662
|
# Currently supported field paths: - text - cards (Requires [service account
|
663
|
-
# authentication](/chat/api/guides/auth/service-accounts).)
|
663
|
+
# authentication](/chat/api/guides/auth/service-accounts).)
|
664
664
|
# @param [String] fields
|
665
665
|
# Selector specifying which fields to include in a partial response.
|
666
666
|
# @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.
|
4
|
+
version: 0.42.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-08-01 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.42.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: []
|