google-apis-chat_v1 0.27.0 → 0.30.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 +55 -53
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +0 -1
- data/lib/google/apis/chat_v1/service.rb +51 -41
- 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: 06a54325626a566ef1e388e95eddc54667dad22eb1584f9cd9e4f6e4af4613f7
|
4
|
+
data.tar.gz: 8b81083b511abe3e7a18c87d789dc2aa50aad10e69874b8b4eac1bf6fac958d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22c6c0dcaca3e90317512a411462ff2e75460fb85abc581035cbf1d33a11099ee470f893835ce2f876a4f64bae16ce2f16c1ece1a94f026558cae1343077c129
|
7
|
+
data.tar.gz: e9c22fc87699b17feee7b68d9cb75e35e7e5d744a72fc24ccc3992cdbdc41b98022e160570c0b1a766891ef0bd3b2d9b2a00ec073d6bafc227b8bc4bcc08d3f9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.30.0 (2022-04-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220405
|
6
|
+
|
7
|
+
### v0.29.0 (2022-04-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220326
|
10
|
+
|
11
|
+
### v0.28.0 (2022-03-25)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220319
|
14
|
+
|
3
15
|
### v0.27.0 (2022-03-09)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220308
|
@@ -50,22 +50,23 @@ module Google
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
# Parameters that a
|
53
|
+
# Parameters that a Chat app can use to configure how it's response is posted.
|
54
54
|
class ActionResponse
|
55
55
|
include Google::Apis::Core::Hashable
|
56
56
|
|
57
|
-
# Contains a [dialog](https://developers.google.com/chat/how-tos/
|
58
|
-
#
|
57
|
+
# Contains a [dialog](https://developers.google.com/chat/how-tos/dialogs) and
|
58
|
+
# request status code.
|
59
59
|
# Corresponds to the JSON property `dialogAction`
|
60
60
|
# @return [Google::Apis::ChatV1::DialogAction]
|
61
61
|
attr_accessor :dialog_action
|
62
62
|
|
63
|
-
# The type of
|
63
|
+
# Input only. The type of Chat app response.
|
64
64
|
# Corresponds to the JSON property `type`
|
65
65
|
# @return [String]
|
66
66
|
attr_accessor :type
|
67
67
|
|
68
|
-
# URL for users to auth or config. (Only for REQUEST_CONFIG response
|
68
|
+
# Input only. URL for users to auth or config. (Only for REQUEST_CONFIG response
|
69
|
+
# types.)
|
69
70
|
# Corresponds to the JSON property `url`
|
70
71
|
# @return [String]
|
71
72
|
attr_accessor :url
|
@@ -82,7 +83,8 @@ module Google
|
|
82
83
|
end
|
83
84
|
end
|
84
85
|
|
85
|
-
# Represents the status
|
86
|
+
# Represents the status for a request to either invoke or submit a [dialog](
|
87
|
+
# https://developers.google.com/chat/how-tos/dialogs).
|
86
88
|
class ActionStatus
|
87
89
|
include Google::Apis::Core::Hashable
|
88
90
|
|
@@ -178,8 +180,8 @@ module Google
|
|
178
180
|
attr_accessor :content_type
|
179
181
|
|
180
182
|
# Output only. The download URL which should be used to allow a human user to
|
181
|
-
# download the attachment.
|
182
|
-
# content.
|
183
|
+
# download the attachment. Chat apps should not use this URL to download
|
184
|
+
# attachment content.
|
183
185
|
# Corresponds to the JSON property `downloadUri`
|
184
186
|
# @return [String]
|
185
187
|
attr_accessor :download_uri
|
@@ -201,7 +203,8 @@ module Google
|
|
201
203
|
attr_accessor :source
|
202
204
|
|
203
205
|
# Output only. The thumbnail URL which should be used to preview the attachment
|
204
|
-
# to a human user.
|
206
|
+
# to a human user. Chat apps should not use this URL to download attachment
|
207
|
+
# content.
|
205
208
|
# Corresponds to the JSON property `thumbnailUri`
|
206
209
|
# @return [String]
|
207
210
|
attr_accessor :thumbnail_uri
|
@@ -462,7 +465,7 @@ module Google
|
|
462
465
|
# Represents information about the user's client, such as locale, host app, and
|
463
466
|
# platform. For Chat apps, `CommonEventObject` includes data submitted by users
|
464
467
|
# interacting with cards, like data entered in [dialogs](https://developers.
|
465
|
-
# google.com/chat/how-tos/
|
468
|
+
# google.com/chat/how-tos/dialogs).
|
466
469
|
class CommonEventObject
|
467
470
|
include Google::Apis::Core::Hashable
|
468
471
|
|
@@ -473,7 +476,7 @@ module Google
|
|
473
476
|
# array of `StringInput` objects. For a date-time picker, a `DateTimeInput`. For
|
474
477
|
# a date-only picker, a `DateInput`. For a time-only picker, a `TimeInput`.
|
475
478
|
# Corresponds with the data entered by a user on a card in a [dialog](https://
|
476
|
-
# developers.google.com/chat/how-tos/
|
479
|
+
# developers.google.com/chat/how-tos/dialogs).
|
477
480
|
# Corresponds to the JSON property `formInputs`
|
478
481
|
# @return [Hash<String,Google::Apis::ChatV1::Inputs>]
|
479
482
|
attr_accessor :form_inputs
|
@@ -595,12 +598,12 @@ module Google
|
|
595
598
|
# Represents information about the user's client, such as locale, host app, and
|
596
599
|
# platform. For Chat apps, `CommonEventObject` includes data submitted by users
|
597
600
|
# interacting with cards, like data entered in [dialogs](https://developers.
|
598
|
-
# google.com/chat/how-tos/
|
601
|
+
# google.com/chat/how-tos/dialogs).
|
599
602
|
# Corresponds to the JSON property `common`
|
600
603
|
# @return [Google::Apis::ChatV1::CommonEventObject]
|
601
604
|
attr_accessor :common
|
602
605
|
|
603
|
-
# The URL the
|
606
|
+
# The URL the Chat app should redirect the user to after they have completed an
|
604
607
|
# authorization or configuration flow outside of Google Chat. See the [
|
605
608
|
# Authorizing access to 3p services guide](/chat/how-tos/auth-3p) for more
|
606
609
|
# information.
|
@@ -608,8 +611,8 @@ module Google
|
|
608
611
|
# @return [String]
|
609
612
|
attr_accessor :config_complete_redirect_url
|
610
613
|
|
611
|
-
# The type of [dialog](https://developers.google.com/chat/how-tos/
|
612
|
-
#
|
614
|
+
# The type of [dialog](https://developers.google.com/chat/how-tos/dialogs) event
|
615
|
+
# received.
|
613
616
|
# Corresponds to the JSON property `dialogEventType`
|
614
617
|
# @return [String]
|
615
618
|
attr_accessor :dialog_event_type
|
@@ -620,7 +623,7 @@ module Google
|
|
620
623
|
attr_accessor :event_time
|
621
624
|
|
622
625
|
# True when the event is related to [dialogs](https://developers.google.com/chat/
|
623
|
-
# how-tos/
|
626
|
+
# how-tos/dialogs).
|
624
627
|
# Corresponds to the JSON property `isDialogEvent`
|
625
628
|
# @return [Boolean]
|
626
629
|
attr_accessor :is_dialog_event
|
@@ -632,21 +635,24 @@ module Google
|
|
632
635
|
attr_accessor :message
|
633
636
|
|
634
637
|
# A space in Google Chat. Spaces are conversations between two or more users or
|
635
|
-
# 1:1 messages between a user and a Chat
|
638
|
+
# 1:1 messages between a user and a Chat app.
|
636
639
|
# Corresponds to the JSON property `space`
|
637
640
|
# @return [Google::Apis::ChatV1::Space]
|
638
641
|
attr_accessor :space
|
639
642
|
|
640
|
-
# The
|
641
|
-
# field of the `spaces.message.create` request for more information.
|
643
|
+
# The Chat app-defined key for the thread related to the event. See the
|
644
|
+
# thread_key field of the `spaces.message.create` request for more information.
|
642
645
|
# Corresponds to the JSON property `threadKey`
|
643
646
|
# @return [String]
|
644
647
|
attr_accessor :thread_key
|
645
648
|
|
646
|
-
# A secret value that
|
647
|
-
#
|
648
|
-
#
|
649
|
-
#
|
649
|
+
# A secret value that legacy Chat apps can use to verify if a request is from
|
650
|
+
# Google. Google randomly generates the token, and its value remains static. You
|
651
|
+
# can obtain, revoke, or regenerate the token from the [Chat API configuration
|
652
|
+
# page](https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-
|
653
|
+
# chat) in the Google Cloud Console. Modern Chat apps don't use this field. It
|
654
|
+
# is absent from API responses and the [Chat API configuration page](https://
|
655
|
+
# console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat).
|
650
656
|
# Corresponds to the JSON property `token`
|
651
657
|
# @return [String]
|
652
658
|
attr_accessor :token
|
@@ -718,12 +724,13 @@ module Google
|
|
718
724
|
end
|
719
725
|
end
|
720
726
|
|
721
|
-
# Contains a [dialog](https://developers.google.com/chat/how-tos/
|
722
|
-
#
|
727
|
+
# Contains a [dialog](https://developers.google.com/chat/how-tos/dialogs) and
|
728
|
+
# request status code.
|
723
729
|
class DialogAction
|
724
730
|
include Google::Apis::Core::Hashable
|
725
731
|
|
726
|
-
# Represents the status
|
732
|
+
# Represents the status for a request to either invoke or submit a [dialog](
|
733
|
+
# https://developers.google.com/chat/how-tos/dialogs).
|
727
734
|
# Corresponds to the JSON property `actionStatus`
|
728
735
|
# @return [Google::Apis::ChatV1::ActionStatus]
|
729
736
|
attr_accessor :action_status
|
@@ -806,8 +813,7 @@ module Google
|
|
806
813
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
807
814
|
# messages in your APIs. A typical example is to use it as the request or the
|
808
815
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
809
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
810
|
-
# `Empty` is empty JSON object ````.
|
816
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
811
817
|
class Empty
|
812
818
|
include Google::Apis::Core::Hashable
|
813
819
|
|
@@ -826,8 +832,8 @@ module Google
|
|
826
832
|
include Google::Apis::Core::Hashable
|
827
833
|
|
828
834
|
# The method name is used to identify which part of the form triggered the form
|
829
|
-
# submission. This information is echoed back to the
|
830
|
-
# click event. The same method name can be used for several elements that
|
835
|
+
# submission. This information is echoed back to the Chat app as part of the
|
836
|
+
# card click event. The same method name can be used for several elements that
|
831
837
|
# trigger a common behavior if desired.
|
832
838
|
# Corresponds to the JSON property `actionMethodName`
|
833
839
|
# @return [String]
|
@@ -2356,12 +2362,13 @@ module Google
|
|
2356
2362
|
end
|
2357
2363
|
end
|
2358
2364
|
|
2359
|
-
# A matched url in a Chat message. Chat
|
2360
|
-
# information, refer to [Unfurl links](/chat/how-
|
2365
|
+
# A matched url in a Chat message. Chat apps can unfurl matched URLs. For more
|
2366
|
+
# information, refer to [Unfurl links](https://developers.google.com/chat/how-
|
2367
|
+
# tos/link-unfurling).
|
2361
2368
|
class MatchedUrl
|
2362
2369
|
include Google::Apis::Core::Hashable
|
2363
2370
|
|
2364
|
-
# The url that was matched.
|
2371
|
+
# Output only. The url that was matched.
|
2365
2372
|
# Corresponds to the JSON property `url`
|
2366
2373
|
# @return [String]
|
2367
2374
|
attr_accessor :url
|
@@ -2437,7 +2444,7 @@ module Google
|
|
2437
2444
|
class Message
|
2438
2445
|
include Google::Apis::Core::Hashable
|
2439
2446
|
|
2440
|
-
# Parameters that a
|
2447
|
+
# Parameters that a Chat app can use to configure how it's response is posted.
|
2441
2448
|
# Corresponds to the JSON property `actionResponse`
|
2442
2449
|
# @return [Google::Apis::ChatV1::ActionResponse]
|
2443
2450
|
attr_accessor :action_response
|
@@ -2447,7 +2454,7 @@ module Google
|
|
2447
2454
|
# @return [Array<Google::Apis::ChatV1::Annotation>]
|
2448
2455
|
attr_accessor :annotations
|
2449
2456
|
|
2450
|
-
# Plain-text body of the message with all
|
2457
|
+
# Plain-text body of the message with all Chat app mentions stripped out.
|
2451
2458
|
# Corresponds to the JSON property `argumentText`
|
2452
2459
|
# @return [String]
|
2453
2460
|
attr_accessor :argument_text
|
@@ -2482,8 +2489,9 @@ module Google
|
|
2482
2489
|
# @return [String]
|
2483
2490
|
attr_accessor :last_update_time
|
2484
2491
|
|
2485
|
-
# A matched url in a Chat message. Chat
|
2486
|
-
# information, refer to [Unfurl links](/chat/how-
|
2492
|
+
# A matched url in a Chat message. Chat apps can unfurl matched URLs. For more
|
2493
|
+
# information, refer to [Unfurl links](https://developers.google.com/chat/how-
|
2494
|
+
# tos/link-unfurling).
|
2487
2495
|
# Corresponds to the JSON property `matchedUrl`
|
2488
2496
|
# @return [Google::Apis::ChatV1::MatchedUrl]
|
2489
2497
|
attr_accessor :matched_url
|
@@ -2494,13 +2502,6 @@ module Google
|
|
2494
2502
|
# @return [String]
|
2495
2503
|
attr_accessor :name
|
2496
2504
|
|
2497
|
-
# Text for generating preview chips. This text will not be displayed to the user,
|
2498
|
-
# but any links to images, web pages, videos, etc. included here will generate
|
2499
|
-
# preview chips.
|
2500
|
-
# Corresponds to the JSON property `previewText`
|
2501
|
-
# @return [String]
|
2502
|
-
attr_accessor :preview_text
|
2503
|
-
|
2504
2505
|
# A user in Google Chat.
|
2505
2506
|
# Corresponds to the JSON property `sender`
|
2506
2507
|
# @return [Google::Apis::ChatV1::User]
|
@@ -2513,12 +2514,13 @@ module Google
|
|
2513
2514
|
attr_accessor :slash_command
|
2514
2515
|
|
2515
2516
|
# A space in Google Chat. Spaces are conversations between two or more users or
|
2516
|
-
# 1:1 messages between a user and a Chat
|
2517
|
+
# 1:1 messages between a user and a Chat app.
|
2517
2518
|
# Corresponds to the JSON property `space`
|
2518
2519
|
# @return [Google::Apis::ChatV1::Space]
|
2519
2520
|
attr_accessor :space
|
2520
2521
|
|
2521
|
-
# Plain-text body of the message.
|
2522
|
+
# Plain-text body of the message. The first link to an image, video, web page,
|
2523
|
+
# or other preview-able item generates a preview chip.
|
2522
2524
|
# Corresponds to the JSON property `text`
|
2523
2525
|
# @return [String]
|
2524
2526
|
attr_accessor :text
|
@@ -2544,7 +2546,6 @@ module Google
|
|
2544
2546
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
2545
2547
|
@matched_url = args[:matched_url] if args.key?(:matched_url)
|
2546
2548
|
@name = args[:name] if args.key?(:name)
|
2547
|
-
@preview_text = args[:preview_text] if args.key?(:preview_text)
|
2548
2549
|
@sender = args[:sender] if args.key?(:sender)
|
2549
2550
|
@slash_command = args[:slash_command] if args.key?(:slash_command)
|
2550
2551
|
@space = args[:space] if args.key?(:space)
|
@@ -2690,7 +2691,7 @@ module Google
|
|
2690
2691
|
end
|
2691
2692
|
|
2692
2693
|
# A space in Google Chat. Spaces are conversations between two or more users or
|
2693
|
-
# 1:1 messages between a user and a Chat
|
2694
|
+
# 1:1 messages between a user and a Chat app.
|
2694
2695
|
class Space
|
2695
2696
|
include Google::Apis::Core::Hashable
|
2696
2697
|
|
@@ -2706,19 +2707,20 @@ module Google
|
|
2706
2707
|
# @return [String]
|
2707
2708
|
attr_accessor :name
|
2708
2709
|
|
2709
|
-
# Output only. Whether the space is a DM between a
|
2710
|
+
# Output only. Whether the space is a DM between a Chat app and a single human.
|
2710
2711
|
# Corresponds to the JSON property `singleUserBotDm`
|
2711
2712
|
# @return [Boolean]
|
2712
2713
|
attr_accessor :single_user_bot_dm
|
2713
2714
|
alias_method :single_user_bot_dm?, :single_user_bot_dm
|
2714
2715
|
|
2715
|
-
# Output only. Whether the messages are threaded in this space.
|
2716
|
+
# Output only. Output only. Whether the messages are threaded in this space.
|
2716
2717
|
# Corresponds to the JSON property `threaded`
|
2717
2718
|
# @return [Boolean]
|
2718
2719
|
attr_accessor :threaded
|
2719
2720
|
alias_method :threaded?, :threaded
|
2720
2721
|
|
2721
|
-
#
|
2722
|
+
# Output only. Deprecated: Use `single_user_bot_dm` instead. Output only. The
|
2723
|
+
# type of a space.
|
2722
2724
|
# Corresponds to the JSON property `type`
|
2723
2725
|
# @return [String]
|
2724
2726
|
attr_accessor :type
|
@@ -2918,7 +2920,7 @@ module Google
|
|
2918
2920
|
class User
|
2919
2921
|
include Google::Apis::Core::Hashable
|
2920
2922
|
|
2921
|
-
# The user's display name.
|
2923
|
+
# Output only. The user's display name.
|
2922
2924
|
# Corresponds to the JSON property `displayName`
|
2923
2925
|
# @return [String]
|
2924
2926
|
attr_accessor :display_name
|
@@ -2928,7 +2930,7 @@ module Google
|
|
2928
2930
|
# @return [String]
|
2929
2931
|
attr_accessor :domain_id
|
2930
2932
|
|
2931
|
-
#
|
2933
|
+
# Output only. When `true`, the user is deleted or their profile is not visible.
|
2932
2934
|
# Corresponds to the JSON property `isAnonymous`
|
2933
2935
|
# @return [Boolean]
|
2934
2936
|
attr_accessor :is_anonymous
|
@@ -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.30.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 = "20220405"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1148,7 +1148,6 @@ module Google
|
|
1148
1148
|
property :matched_url, as: 'matchedUrl', class: Google::Apis::ChatV1::MatchedUrl, decorator: Google::Apis::ChatV1::MatchedUrl::Representation
|
1149
1149
|
|
1150
1150
|
property :name, as: 'name'
|
1151
|
-
property :preview_text, as: 'previewText'
|
1152
1151
|
property :sender, as: 'sender', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
1153
1152
|
|
1154
1153
|
property :slash_command, as: 'slashCommand', class: Google::Apis::ChatV1::SlashCommand, decorator: Google::Apis::ChatV1::SlashCommand::Representation
|
@@ -64,10 +64,10 @@ module Google
|
|
64
64
|
# Optional. Opaque thread identifier string that can be specified to group
|
65
65
|
# messages into a single thread. If this is the first message with a given
|
66
66
|
# thread identifier, a new thread is created. Subsequent messages with the same
|
67
|
-
# thread identifier will be posted into the same thread. This relieves
|
68
|
-
# webhooks from having to store the Google Chat thread ID of a thread (
|
69
|
-
# earlier by them) to post further updates to it. Has no effect if
|
70
|
-
# corresponding to an existing thread, is set in message.
|
67
|
+
# thread identifier will be posted into the same thread. This relieves Chat apps
|
68
|
+
# and webhooks from having to store the Google Chat thread ID of a thread (
|
69
|
+
# created earlier by them) to post further updates to it. Has no effect if
|
70
|
+
# thread field, corresponding to an existing thread, is set in message.
|
71
71
|
# @param [String] fields
|
72
72
|
# Selector specifying which fields to include in a partial response.
|
73
73
|
# @param [String] quota_user
|
@@ -112,10 +112,10 @@ module Google
|
|
112
112
|
# Optional. Opaque thread identifier string that can be specified to group
|
113
113
|
# messages into a single thread. If this is the first message with a given
|
114
114
|
# thread identifier, a new thread is created. Subsequent messages with the same
|
115
|
-
# thread identifier will be posted into the same thread. This relieves
|
116
|
-
# webhooks from having to store the Google Chat thread ID of a thread (
|
117
|
-
# earlier by them) to post further updates to it. Has no effect if
|
118
|
-
# corresponding to an existing thread, is set in message.
|
115
|
+
# thread identifier will be posted into the same thread. This relieves Chat apps
|
116
|
+
# and webhooks from having to store the Google Chat thread ID of a thread (
|
117
|
+
# created earlier by them) to post further updates to it. Has no effect if
|
118
|
+
# thread field, corresponding to an existing thread, is set in message.
|
119
119
|
# @param [String] fields
|
120
120
|
# Selector specifying which fields to include in a partial response.
|
121
121
|
# @param [String] quota_user
|
@@ -160,10 +160,10 @@ module Google
|
|
160
160
|
# Optional. Opaque thread identifier string that can be specified to group
|
161
161
|
# messages into a single thread. If this is the first message with a given
|
162
162
|
# thread identifier, a new thread is created. Subsequent messages with the same
|
163
|
-
# thread identifier will be posted into the same thread. This relieves
|
164
|
-
# webhooks from having to store the Google Chat thread ID of a thread (
|
165
|
-
# earlier by them) to post further updates to it. Has no effect if
|
166
|
-
# corresponding to an existing thread, is set in message.
|
163
|
+
# thread identifier will be posted into the same thread. This relieves Chat apps
|
164
|
+
# and webhooks from having to store the Google Chat thread ID of a thread (
|
165
|
+
# created earlier by them) to post further updates to it. Has no effect if
|
166
|
+
# thread field, corresponding to an existing thread, is set in message.
|
167
167
|
# @param [String] fields
|
168
168
|
# Selector specifying which fields to include in a partial response.
|
169
169
|
# @param [String] quota_user
|
@@ -246,10 +246,10 @@ module Google
|
|
246
246
|
# Optional. Opaque thread identifier string that can be specified to group
|
247
247
|
# messages into a single thread. If this is the first message with a given
|
248
248
|
# thread identifier, a new thread is created. Subsequent messages with the same
|
249
|
-
# thread identifier will be posted into the same thread. This relieves
|
250
|
-
# webhooks from having to store the Google Chat thread ID of a thread (
|
251
|
-
# earlier by them) to post further updates to it. Has no effect if
|
252
|
-
# corresponding to an existing thread, is set in message.
|
249
|
+
# thread identifier will be posted into the same thread. This relieves Chat apps
|
250
|
+
# and webhooks from having to store the Google Chat thread ID of a thread (
|
251
|
+
# created earlier by them) to post further updates to it. Has no effect if
|
252
|
+
# thread field, corresponding to an existing thread, is set in message.
|
253
253
|
# @param [String] fields
|
254
254
|
# Selector specifying which fields to include in a partial response.
|
255
255
|
# @param [String] quota_user
|
@@ -294,10 +294,10 @@ module Google
|
|
294
294
|
# Optional. Opaque thread identifier string that can be specified to group
|
295
295
|
# messages into a single thread. If this is the first message with a given
|
296
296
|
# thread identifier, a new thread is created. Subsequent messages with the same
|
297
|
-
# thread identifier will be posted into the same thread. This relieves
|
298
|
-
# webhooks from having to store the Google Chat thread ID of a thread (
|
299
|
-
# earlier by them) to post further updates to it. Has no effect if
|
300
|
-
# corresponding to an existing thread, is set in message.
|
297
|
+
# thread identifier will be posted into the same thread. This relieves Chat apps
|
298
|
+
# and webhooks from having to store the Google Chat thread ID of a thread (
|
299
|
+
# created earlier by them) to post further updates to it. Has no effect if
|
300
|
+
# thread field, corresponding to an existing thread, is set in message.
|
301
301
|
# @param [String] fields
|
302
302
|
# Selector specifying which fields to include in a partial response.
|
303
303
|
# @param [String] quota_user
|
@@ -342,10 +342,10 @@ module Google
|
|
342
342
|
# Optional. Opaque thread identifier string that can be specified to group
|
343
343
|
# messages into a single thread. If this is the first message with a given
|
344
344
|
# thread identifier, a new thread is created. Subsequent messages with the same
|
345
|
-
# thread identifier will be posted into the same thread. This relieves
|
346
|
-
# webhooks from having to store the Google Chat thread ID of a thread (
|
347
|
-
# earlier by them) to post further updates to it. Has no effect if
|
348
|
-
# corresponding to an existing thread, is set in message.
|
345
|
+
# thread identifier will be posted into the same thread. This relieves Chat apps
|
346
|
+
# and webhooks from having to store the Google Chat thread ID of a thread (
|
347
|
+
# created earlier by them) to post further updates to it. Has no effect if
|
348
|
+
# thread field, corresponding to an existing thread, is set in message.
|
349
349
|
# @param [String] fields
|
350
350
|
# Selector specifying which fields to include in a partial response.
|
351
351
|
# @param [String] quota_user
|
@@ -377,7 +377,8 @@ module Google
|
|
377
377
|
execute_or_queue_command(command, &block)
|
378
378
|
end
|
379
379
|
|
380
|
-
# Returns a space.
|
380
|
+
# Returns a space. Requires [service account authentication](https://developers.
|
381
|
+
# google.com/chat/api/guides/auth/service-accounts).
|
381
382
|
# @param [String] name
|
382
383
|
# Required. Resource name of the space, in the form "spaces/*". Example: spaces/
|
383
384
|
# AAAAAAAAAAAA
|
@@ -408,7 +409,9 @@ module Google
|
|
408
409
|
execute_or_queue_command(command, &block)
|
409
410
|
end
|
410
411
|
|
411
|
-
# Lists spaces the caller is a member of.
|
412
|
+
# Lists spaces the caller is a member of. Requires [service account
|
413
|
+
# authentication](https://developers.google.com/chat/api/guides/auth/service-
|
414
|
+
# accounts).
|
412
415
|
# @param [Fixnum] page_size
|
413
416
|
# Requested page size. The value is capped at 1000. Server may return fewer
|
414
417
|
# results than requested. If unspecified, server will default to 100.
|
@@ -455,10 +458,10 @@ module Google
|
|
455
458
|
# Optional. Opaque thread identifier string that can be specified to group
|
456
459
|
# messages into a single thread. If this is the first message with a given
|
457
460
|
# thread identifier, a new thread is created. Subsequent messages with the same
|
458
|
-
# thread identifier will be posted into the same thread. This relieves
|
459
|
-
# webhooks from having to store the Google Chat thread ID of a thread (
|
460
|
-
# earlier by them) to post further updates to it. Has no effect if
|
461
|
-
# corresponding to an existing thread, is set in message.
|
461
|
+
# thread identifier will be posted into the same thread. This relieves Chat apps
|
462
|
+
# and webhooks from having to store the Google Chat thread ID of a thread (
|
463
|
+
# created earlier by them) to post further updates to it. Has no effect if
|
464
|
+
# thread field, corresponding to an existing thread, is set in message.
|
462
465
|
# @param [String] fields
|
463
466
|
# Selector specifying which fields to include in a partial response.
|
464
467
|
# @param [String] quota_user
|
@@ -490,7 +493,8 @@ module Google
|
|
490
493
|
execute_or_queue_command(command, &block)
|
491
494
|
end
|
492
495
|
|
493
|
-
# Returns a membership.
|
496
|
+
# Returns a membership. Requires [service account authentication](https://
|
497
|
+
# developers.google.com/chat/api/guides/auth/service-accounts).
|
494
498
|
# @param [String] name
|
495
499
|
# Required. Resource name of the membership to be retrieved, in the form "spaces/
|
496
500
|
# */members/*". Example: spaces/AAAAAAAAAAAA/members/111111111111111111111
|
@@ -521,7 +525,8 @@ module Google
|
|
521
525
|
execute_or_queue_command(command, &block)
|
522
526
|
end
|
523
527
|
|
524
|
-
# Lists human memberships in a space.
|
528
|
+
# Lists human memberships in a space. Requires [service account authentication](
|
529
|
+
# https://developers.google.com/chat/api/guides/auth/service-accounts).
|
525
530
|
# @param [String] parent
|
526
531
|
# Required. The resource name of the space for which membership list is to be
|
527
532
|
# fetched, in the form "spaces/*". Example: spaces/AAAAAAAAAAAA
|
@@ -559,7 +564,8 @@ module Google
|
|
559
564
|
execute_or_queue_command(command, &block)
|
560
565
|
end
|
561
566
|
|
562
|
-
# Creates a message.
|
567
|
+
# Creates a message. Requires [service account authentication](https://
|
568
|
+
# developers.google.com/chat/api/guides/auth/service-accounts).
|
563
569
|
# @param [String] parent
|
564
570
|
# Required. Space resource name, in the form "spaces/*". Example: spaces/
|
565
571
|
# AAAAAAAAAAA
|
@@ -571,10 +577,10 @@ module Google
|
|
571
577
|
# Optional. Opaque thread identifier string that can be specified to group
|
572
578
|
# messages into a single thread. If this is the first message with a given
|
573
579
|
# thread identifier, a new thread is created. Subsequent messages with the same
|
574
|
-
# thread identifier will be posted into the same thread. This relieves
|
575
|
-
# webhooks from having to store the Google Chat thread ID of a thread (
|
576
|
-
# earlier by them) to post further updates to it. Has no effect if
|
577
|
-
# corresponding to an existing thread, is set in message.
|
580
|
+
# thread identifier will be posted into the same thread. This relieves Chat apps
|
581
|
+
# and webhooks from having to store the Google Chat thread ID of a thread (
|
582
|
+
# created earlier by them) to post further updates to it. Has no effect if
|
583
|
+
# thread field, corresponding to an existing thread, is set in message.
|
578
584
|
# @param [String] fields
|
579
585
|
# Selector specifying which fields to include in a partial response.
|
580
586
|
# @param [String] quota_user
|
@@ -606,7 +612,8 @@ module Google
|
|
606
612
|
execute_or_queue_command(command, &block)
|
607
613
|
end
|
608
614
|
|
609
|
-
# Deletes a message.
|
615
|
+
# Deletes a message. Requires [service account authentication](https://
|
616
|
+
# developers.google.com/chat/api/guides/auth/service-accounts).
|
610
617
|
# @param [String] name
|
611
618
|
# Required. Resource name of the message to be deleted, in the form "spaces/*/
|
612
619
|
# messages/*" Example: spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB
|
@@ -637,7 +644,8 @@ module Google
|
|
637
644
|
execute_or_queue_command(command, &block)
|
638
645
|
end
|
639
646
|
|
640
|
-
# Returns a message.
|
647
|
+
# Returns a message. Requires [service account authentication](https://
|
648
|
+
# developers.google.com/chat/api/guides/auth/service-accounts).
|
641
649
|
# @param [String] name
|
642
650
|
# Required. Resource name of the message to be retrieved, in the form "spaces/*/
|
643
651
|
# messages/*". Example: spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.BBBBBBBBBBB
|
@@ -668,7 +676,8 @@ module Google
|
|
668
676
|
execute_or_queue_command(command, &block)
|
669
677
|
end
|
670
678
|
|
671
|
-
# Updates a message.
|
679
|
+
# Updates a message. Requires [service account authentication](https://
|
680
|
+
# developers.google.com/chat/api/guides/auth/service-accounts).
|
672
681
|
# @param [String] name
|
673
682
|
# Resource name in the form `spaces/*/messages/*`. Example: `spaces/AAAAAAAAAAA/
|
674
683
|
# messages/BBBBBBBBBBB.BBBBBBBBBBB`
|
@@ -707,7 +716,8 @@ module Google
|
|
707
716
|
end
|
708
717
|
|
709
718
|
# Gets the metadata of a message attachment. The attachment data is fetched
|
710
|
-
# using the media API.
|
719
|
+
# using the media API. Requires [service account authentication](https://
|
720
|
+
# developers.google.com/chat/api/guides/auth/service-accounts).
|
711
721
|
# @param [String] name
|
712
722
|
# Required. Resource name of the attachment, in the form "spaces/*/messages/*/
|
713
723
|
# attachments/*".
|
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.30.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-04-11 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.30.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: []
|