google-apis-chat_v1 0.61.0 → 0.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ce4f08194e9900ea233f2e96c09b64541600262c309b02d002457d9dd584f7b
|
4
|
+
data.tar.gz: 6111f9c5277283e0682176343e830fb46d7ceba0ca5b93b25f69525edde20deb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19c7acf01282b8c6ec7ebd06e16b3ab0148c2f02975919bcd5dcac64dc6979d5daacbb19411365223e2ce11925ab93bc336fff78302beb677c20859ff5ff5b70
|
7
|
+
data.tar.gz: b69c7b11a851c40b4b13580c7499f428fa44d2b5cd100f31a48a72ebb1edab7dc5d6ab15663446280f8ea275e56a906d6b75f40b7c7f5928013f935491ae68d8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.63.0 (2023-07-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230622
|
6
|
+
|
7
|
+
### v0.62.0 (2023-06-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230608
|
10
|
+
|
3
11
|
### v0.61.0 (2023-06-11)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230606
|
@@ -160,6 +160,25 @@ module Google
|
|
160
160
|
end
|
161
161
|
end
|
162
162
|
|
163
|
+
# A GIF image that's specified by a URL.
|
164
|
+
class AttachedGif
|
165
|
+
include Google::Apis::Core::Hashable
|
166
|
+
|
167
|
+
# Output only. The URL that hosts the GIF image.
|
168
|
+
# Corresponds to the JSON property `uri`
|
169
|
+
# @return [String]
|
170
|
+
attr_accessor :uri
|
171
|
+
|
172
|
+
def initialize(**args)
|
173
|
+
update!(**args)
|
174
|
+
end
|
175
|
+
|
176
|
+
# Update properties of this object
|
177
|
+
def update!(**args)
|
178
|
+
@uri = args[:uri] if args.key?(:uri)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
163
182
|
# An attachment in Google Chat.
|
164
183
|
class Attachment
|
165
184
|
include Google::Apis::Core::Hashable
|
@@ -724,7 +743,9 @@ module Google
|
|
724
743
|
end
|
725
744
|
end
|
726
745
|
|
727
|
-
# Google Chat events.
|
746
|
+
# Google Chat events. To learn how to use events, see [Receive and respond to
|
747
|
+
# Google Chat events](https://developers.google.com/chat/api/guides/message-
|
748
|
+
# formats).
|
728
749
|
class DeprecatedEvent
|
729
750
|
include Google::Apis::Core::Hashable
|
730
751
|
|
@@ -3074,6 +3095,11 @@ module Google
|
|
3074
3095
|
# @return [String]
|
3075
3096
|
attr_accessor :argument_text
|
3076
3097
|
|
3098
|
+
# Output only. GIF images that are attached to the message.
|
3099
|
+
# Corresponds to the JSON property `attachedGifs`
|
3100
|
+
# @return [Array<Google::Apis::ChatV1::AttachedGif>]
|
3101
|
+
attr_accessor :attached_gifs
|
3102
|
+
|
3077
3103
|
# User-uploaded attachment.
|
3078
3104
|
# Corresponds to the JSON property `attachment`
|
3079
3105
|
# @return [Array<Google::Apis::ChatV1::Attachment>]
|
@@ -3110,8 +3136,8 @@ module Google
|
|
3110
3136
|
# message's resource name. Instead, it sets the custom name as the `
|
3111
3137
|
# clientAssignedMessageId` field, which you can reference while processing later
|
3112
3138
|
# operations, like updating or deleting the message. For example usage, see [
|
3113
|
-
# Name a created message](https://developers.google.com/chat/api/guides/
|
3114
|
-
# messages#name_a_created_message).
|
3139
|
+
# Name a created message](https://developers.google.com/chat/api/guides/v1/
|
3140
|
+
# messages/create#name_a_created_message).
|
3115
3141
|
# Corresponds to the JSON property `clientAssignedMessageId`
|
3116
3142
|
# @return [String]
|
3117
3143
|
attr_accessor :client_assigned_message_id
|
@@ -3213,6 +3239,7 @@ module Google
|
|
3213
3239
|
@action_response = args[:action_response] if args.key?(:action_response)
|
3214
3240
|
@annotations = args[:annotations] if args.key?(:annotations)
|
3215
3241
|
@argument_text = args[:argument_text] if args.key?(:argument_text)
|
3242
|
+
@attached_gifs = args[:attached_gifs] if args.key?(:attached_gifs)
|
3216
3243
|
@attachment = args[:attachment] if args.key?(:attachment)
|
3217
3244
|
@cards = args[:cards] if args.key?(:cards)
|
3218
3245
|
@cards_v2 = args[:cards_v2] if args.key?(:cards_v2)
|
@@ -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.63.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 = "20230622"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class AttachedGif
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class Attachment
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -607,6 +613,13 @@ module Google
|
|
607
613
|
end
|
608
614
|
end
|
609
615
|
|
616
|
+
class AttachedGif
|
617
|
+
# @private
|
618
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
619
|
+
property :uri, as: 'uri'
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
610
623
|
class Attachment
|
611
624
|
# @private
|
612
625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1330,6 +1343,8 @@ module Google
|
|
1330
1343
|
collection :annotations, as: 'annotations', class: Google::Apis::ChatV1::Annotation, decorator: Google::Apis::ChatV1::Annotation::Representation
|
1331
1344
|
|
1332
1345
|
property :argument_text, as: 'argumentText'
|
1346
|
+
collection :attached_gifs, as: 'attachedGifs', class: Google::Apis::ChatV1::AttachedGif, decorator: Google::Apis::ChatV1::AttachedGif::Representation
|
1347
|
+
|
1333
1348
|
collection :attachment, as: 'attachment', class: Google::Apis::ChatV1::Attachment, decorator: Google::Apis::ChatV1::Attachment::Representation
|
1334
1349
|
|
1335
1350
|
collection :cards, as: 'cards', class: Google::Apis::ChatV1::Card, decorator: Google::Apis::ChatV1::Card::Representation
|
@@ -571,8 +571,9 @@ module Google
|
|
571
571
|
# developers.google.com/chat/api/guides/auth/users) requires the `chat.
|
572
572
|
# memberships` or `chat.memberships.readonly` authorization scope.
|
573
573
|
# @param [String] name
|
574
|
-
# Required. Resource name of the membership to retrieve.
|
575
|
-
# members
|
574
|
+
# Required. Resource name of the membership to retrieve. To get the app's own
|
575
|
+
# membership, you can optionally use `spaces/`space`/members/app`. Format: `
|
576
|
+
# spaces/`space`/members/`member`` or `spaces/`space`/members/app`
|
576
577
|
# @param [String] fields
|
577
578
|
# Selector specifying which fields to include in a partial response.
|
578
579
|
# @param [String] quota_user
|
@@ -705,8 +706,8 @@ module Google
|
|
705
706
|
# name` field, the message's resource name. Instead, it sets the custom name as
|
706
707
|
# the `clientAssignedMessageId` field, which you can reference while processing
|
707
708
|
# later operations, like updating or deleting the message. For example usage,
|
708
|
-
# see [Name a created message](https://developers.google.com/chat/api/guides/
|
709
|
-
#
|
709
|
+
# see [Name a created message](https://developers.google.com/chat/api/guides/v1/
|
710
|
+
# messages/create#name_a_created_message).
|
710
711
|
# @param [String] message_reply_option
|
711
712
|
# Optional. Specifies whether a message starts a thread or replies to one. Only
|
712
713
|
# supported in named spaces.
|
@@ -812,7 +813,7 @@ module Google
|
|
812
813
|
# name assigned by a Chat app that created it with the Chat REST API. That Chat
|
813
814
|
# app (but not others) can pass the custom name to get, update, or delete the
|
814
815
|
# message. To learn more, see [create and name a message] (https://developers.
|
815
|
-
# google.com/chat/api/guides/
|
816
|
+
# google.com/chat/api/guides/v1/messages/create#name_a_created_message).
|
816
817
|
# @param [String] fields
|
817
818
|
# Selector specifying which fields to include in a partial response.
|
818
819
|
# @param [String] quota_user
|
@@ -935,7 +936,7 @@ module Google
|
|
935
936
|
# @param [Boolean] allow_missing
|
936
937
|
# Optional. If `true` and the message isn't found, a new message is created and `
|
937
938
|
# updateMask` is ignored. The specified message ID must be [client-assigned](
|
938
|
-
# https://developers.google.com/chat/api/guides/
|
939
|
+
# https://developers.google.com/chat/api/guides/v1/messages/create#
|
939
940
|
# name_a_created_message) or the request fails.
|
940
941
|
# @param [String] update_mask
|
941
942
|
# Required. The field paths to update. Separate multiple values with commas.
|
@@ -991,7 +992,7 @@ module Google
|
|
991
992
|
# @param [Boolean] allow_missing
|
992
993
|
# Optional. If `true` and the message isn't found, a new message is created and `
|
993
994
|
# updateMask` is ignored. The specified message ID must be [client-assigned](
|
994
|
-
# https://developers.google.com/chat/api/guides/
|
995
|
+
# https://developers.google.com/chat/api/guides/v1/messages/create#
|
995
996
|
# name_a_created_message) or the request fails.
|
996
997
|
# @param [String] update_mask
|
997
998
|
# Required. The field paths to update. Separate multiple values with commas.
|
data/lib/google/apis/chat_v1.rb
CHANGED
@@ -36,6 +36,9 @@ module Google
|
|
36
36
|
# Delete conversations and spaces & remove access to associated files in Google Chat
|
37
37
|
AUTH_CHAT_DELETE = 'https://www.googleapis.com/auth/chat.delete'
|
38
38
|
|
39
|
+
# Import spaces, messages, and memberships into Google Chat.
|
40
|
+
AUTH_CHAT_IMPORT = 'https://www.googleapis.com/auth/chat.import'
|
41
|
+
|
39
42
|
# View, add, and remove members from conversations in Google Chat
|
40
43
|
AUTH_CHAT_MEMBERSHIPS = 'https://www.googleapis.com/auth/chat.memberships'
|
41
44
|
|
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.63.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-
|
11
|
+
date: 2023-07-02 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.63.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: []
|