google-apis-chat_v1 0.62.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: 29162cbbc43fda0bb6fc025148be609ad230eb7397be7a75c161213b300b37a7
4
- data.tar.gz: '05748ef61413adccc9999e6ad040814dfac44bd2d9c4409c6c1d114fbedbd922'
3
+ metadata.gz: 8ce4f08194e9900ea233f2e96c09b64541600262c309b02d002457d9dd584f7b
4
+ data.tar.gz: 6111f9c5277283e0682176343e830fb46d7ceba0ca5b93b25f69525edde20deb
5
5
  SHA512:
6
- metadata.gz: 7c23247c0a0feb61362622e692076a9ea1984ae5d924670fa1919bb9d367d84c9fc35f1598e2caec206b95e5bd9b035924ec186e34b78da921bc2d598a23d47a
7
- data.tar.gz: 9341e24ff0ffab8ea41f9fa9889377b3b86a05080cf82e967e316905ed9eb7a65836c05013ae86dbc108593f4314c634c3b6dbe42372ab2d8c37e4142e54bd67
6
+ metadata.gz: 19c7acf01282b8c6ec7ebd06e16b3ab0148c2f02975919bcd5dcac64dc6979d5daacbb19411365223e2ce11925ab93bc336fff78302beb677c20859ff5ff5b70
7
+ data.tar.gz: b69c7b11a851c40b4b13580c7499f428fa44d2b5cd100f31a48a72ebb1edab7dc5d6ab15663446280f8ea275e56a906d6b75f40b7c7f5928013f935491ae68d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.62.0 (2023-06-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20230608
@@ -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
@@ -3076,6 +3095,11 @@ module Google
3076
3095
  # @return [String]
3077
3096
  attr_accessor :argument_text
3078
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
+
3079
3103
  # User-uploaded attachment.
3080
3104
  # Corresponds to the JSON property `attachment`
3081
3105
  # @return [Array<Google::Apis::ChatV1::Attachment>]
@@ -3112,8 +3136,8 @@ module Google
3112
3136
  # message's resource name. Instead, it sets the custom name as the `
3113
3137
  # clientAssignedMessageId` field, which you can reference while processing later
3114
3138
  # operations, like updating or deleting the message. For example usage, see [
3115
- # Name a created message](https://developers.google.com/chat/api/guides/crudl/
3116
- # 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).
3117
3141
  # Corresponds to the JSON property `clientAssignedMessageId`
3118
3142
  # @return [String]
3119
3143
  attr_accessor :client_assigned_message_id
@@ -3215,6 +3239,7 @@ module Google
3215
3239
  @action_response = args[:action_response] if args.key?(:action_response)
3216
3240
  @annotations = args[:annotations] if args.key?(:annotations)
3217
3241
  @argument_text = args[:argument_text] if args.key?(:argument_text)
3242
+ @attached_gifs = args[:attached_gifs] if args.key?(:attached_gifs)
3218
3243
  @attachment = args[:attachment] if args.key?(:attachment)
3219
3244
  @cards = args[:cards] if args.key?(:cards)
3220
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.62.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 = "20230608"
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
@@ -706,8 +706,8 @@ module Google
706
706
  # name` field, the message's resource name. Instead, it sets the custom name as
707
707
  # the `clientAssignedMessageId` field, which you can reference while processing
708
708
  # later operations, like updating or deleting the message. For example usage,
709
- # see [Name a created message](https://developers.google.com/chat/api/guides/
710
- # crudl/messages#name_a_created_message).
709
+ # see [Name a created message](https://developers.google.com/chat/api/guides/v1/
710
+ # messages/create#name_a_created_message).
711
711
  # @param [String] message_reply_option
712
712
  # Optional. Specifies whether a message starts a thread or replies to one. Only
713
713
  # supported in named spaces.
@@ -813,7 +813,7 @@ module Google
813
813
  # name assigned by a Chat app that created it with the Chat REST API. That Chat
814
814
  # app (but not others) can pass the custom name to get, update, or delete the
815
815
  # message. To learn more, see [create and name a message] (https://developers.
816
- # google.com/chat/api/guides/crudl/messages#name_a_created_message).
816
+ # google.com/chat/api/guides/v1/messages/create#name_a_created_message).
817
817
  # @param [String] fields
818
818
  # Selector specifying which fields to include in a partial response.
819
819
  # @param [String] quota_user
@@ -936,7 +936,7 @@ module Google
936
936
  # @param [Boolean] allow_missing
937
937
  # Optional. If `true` and the message isn't found, a new message is created and `
938
938
  # updateMask` is ignored. The specified message ID must be [client-assigned](
939
- # https://developers.google.com/chat/api/guides/crudl/messages#
939
+ # https://developers.google.com/chat/api/guides/v1/messages/create#
940
940
  # name_a_created_message) or the request fails.
941
941
  # @param [String] update_mask
942
942
  # Required. The field paths to update. Separate multiple values with commas.
@@ -992,7 +992,7 @@ module Google
992
992
  # @param [Boolean] allow_missing
993
993
  # Optional. If `true` and the message isn't found, a new message is created and `
994
994
  # updateMask` is ignored. The specified message ID must be [client-assigned](
995
- # https://developers.google.com/chat/api/guides/crudl/messages#
995
+ # https://developers.google.com/chat/api/guides/v1/messages/create#
996
996
  # name_a_created_message) or the request fails.
997
997
  # @param [String] update_mask
998
998
  # Required. The field paths to update. Separate multiple values with commas.
@@ -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.62.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-06-25 00:00:00.000000000 Z
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.62.0
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: []