google-apis-chat_v1 0.125.0 → 0.126.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: 1eccb57565043eb0f6fe17629a115cb611f33830ac00d25da949a14486c56421
4
- data.tar.gz: 9295881ce981751ccbe383464f28aa4248aa7f4cb3d357bcae83c830eb5d5f1e
3
+ metadata.gz: 36fac06008052864f722f212719cd3d061e97d0218e3f8d32947192640b15b45
4
+ data.tar.gz: 4ff4de153d22ce0a072eefa6de7df2dff99299e2de100bf1867b749d23e23ddc
5
5
  SHA512:
6
- metadata.gz: bbf749f82b291c3d2e24a5fb1f2435091210a6c9afd0b364a18baa63c4b3243e07545e8e444cc42a7f4c39588356a42c2995638d9da57c5262646b32749bb897
7
- data.tar.gz: 7a06597619e56fd2079fe9059d1a05b950bf4a604850f241d3115c9ad312c75dbb7f93ea3f011933002258b81a7fdfb06f0eebc20181183467fe3828eb9e9207
6
+ metadata.gz: bd297d4acc4ddeb93abe51601ca16acd937d1220169bb8992f7c7c9273541919ff3901934a38413d7adacfc8b9aed669d5e2faa600d386e843a3f4c7cae81c8d
7
+ data.tar.gz: a3554b7e724f4554fccdb387ec4d402080704a2b90bed0297ff2d3284b5552aab380f9f702b54bfcda99c9831d744b9aa87d030ed03455c2f95d75d767936040
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chat_v1
2
2
 
3
+ ### v0.126.0 (2025-07-27)
4
+
5
+ * Regenerated from discovery document revision 20250720
6
+
3
7
  ### v0.125.0 (2025-07-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20250710
@@ -184,14 +184,15 @@ module Google
184
184
  end
185
185
  end
186
186
 
187
- # Output only. Annotations associated with the plain-text body of the message.
188
- # To add basic formatting to a text message, see [Format text messages](https://
189
- # developers.google.com/workspace/chat/format-messages). Example plain-text
190
- # message body: ``` Hello @FooBot how are you!" ``` The corresponding
191
- # annotations metadata: ``` "annotations":[` "type":"USER_MENTION", "startIndex":
192
- # 6, "length":7, "userMention": ` "user": ` "name":"users/`user`", "displayName":
193
- # "FooBot", "avatarUrl":"https://goo.gl/aeDtrS", "type":"BOT" `, "type":"MENTION"
194
- # ` `] ```
187
+ # Annotations can be associated with the plain-text body of the message or with
188
+ # chips that link to Google Workspace resources like Google Docs or Sheets with
189
+ # a `start_index` and `length` of 0. To add basic formatting to a text message,
190
+ # see [Format text messages](https://developers.google.com/workspace/chat/format-
191
+ # messages). Example plain-text message body: ``` Hello @FooBot how are you!" ```
192
+ # The corresponding annotations metadata: ``` "annotations":[` "type":"
193
+ # USER_MENTION", "startIndex":6, "length":7, "userMention": ` "user": ` "name":"
194
+ # users/`user`", "displayName":"FooBot", "avatarUrl":"https://goo.gl/aeDtrS", "
195
+ # type":"BOT" `, "type":"MENTION" ` `] ```
195
196
  class Annotation
196
197
  include Google::Apis::Core::Hashable
197
198
 
@@ -201,12 +202,14 @@ module Google
201
202
  attr_accessor :custom_emoji_metadata
202
203
 
203
204
  # Length of the substring in the plain-text message body this annotation
204
- # corresponds to.
205
+ # corresponds to. If not present, indicates a length of 0.
205
206
  # Corresponds to the JSON property `length`
206
207
  # @return [Fixnum]
207
208
  attr_accessor :length
208
209
 
209
- # A rich link to a resource.
210
+ # A rich link to a resource. Rich links can be associated with the plain-text
211
+ # body of the message or represent chips that link to Google Workspace resources
212
+ # like Google Docs or Sheets with a with `start_index` and `length` of 0.
210
213
  # Corresponds to the JSON property `richLinkMetadata`
211
214
  # @return [Google::Apis::ChatV1::RichLinkMetadata]
212
215
  attr_accessor :rich_link_metadata
@@ -412,6 +415,33 @@ module Google
412
415
  end
413
416
  end
414
417
 
418
+ # Data for Calendar event links.
419
+ class CalendarEventLinkData
420
+ include Google::Apis::Core::Hashable
421
+
422
+ # The [Calendar identifier](https://developers.google.com/workspace/calendar/api/
423
+ # v3/reference/calendars) of the linked Calendar.
424
+ # Corresponds to the JSON property `calendarId`
425
+ # @return [String]
426
+ attr_accessor :calendar_id
427
+
428
+ # The [Event identifier](https://developers.google.com/workspace/calendar/api/v3/
429
+ # reference/events) of the linked Calendar event.
430
+ # Corresponds to the JSON property `eventId`
431
+ # @return [String]
432
+ attr_accessor :event_id
433
+
434
+ def initialize(**args)
435
+ update!(**args)
436
+ end
437
+
438
+ # Update properties of this object
439
+ def update!(**args)
440
+ @calendar_id = args[:calendar_id] if args.key?(:calendar_id)
441
+ @event_id = args[:event_id] if args.key?(:event_id)
442
+ end
443
+ end
444
+
415
445
  # A card is a UI element that can contain UI widgets such as text and images.
416
446
  class Card
417
447
  include Google::Apis::Core::Hashable
@@ -4360,6 +4390,38 @@ module Google
4360
4390
  end
4361
4391
  end
4362
4392
 
4393
+ # Data for Meet space links.
4394
+ class MeetSpaceLinkData
4395
+ include Google::Apis::Core::Hashable
4396
+
4397
+ # Optional. Output only. If the Meet is a Huddle, indicates the status of the
4398
+ # huddle. Otherwise, this is unset.
4399
+ # Corresponds to the JSON property `huddleStatus`
4400
+ # @return [String]
4401
+ attr_accessor :huddle_status
4402
+
4403
+ # Meeting code of the linked Meet space.
4404
+ # Corresponds to the JSON property `meetingCode`
4405
+ # @return [String]
4406
+ attr_accessor :meeting_code
4407
+
4408
+ # Indicates the type of the Meet space.
4409
+ # Corresponds to the JSON property `type`
4410
+ # @return [String]
4411
+ attr_accessor :type
4412
+
4413
+ def initialize(**args)
4414
+ update!(**args)
4415
+ end
4416
+
4417
+ # Update properties of this object
4418
+ def update!(**args)
4419
+ @huddle_status = args[:huddle_status] if args.key?(:huddle_status)
4420
+ @meeting_code = args[:meeting_code] if args.key?(:meeting_code)
4421
+ @type = args[:type] if args.key?(:type)
4422
+ end
4423
+ end
4424
+
4363
4425
  # Represents a membership relation in Google Chat, such as whether a user or
4364
4426
  # Chat app is invited to, part of, or absent from a space.
4365
4427
  class Membership
@@ -4595,7 +4657,9 @@ module Google
4595
4657
  # @return [Google::Apis::ChatV1::ActionResponse]
4596
4658
  attr_accessor :action_response
4597
4659
 
4598
- # Output only. Annotations associated with the `text` in this message.
4660
+ # Output only. Annotations can be associated with the plain-text body of the
4661
+ # message or with chips that link to Google Workspace resources like Google Docs
4662
+ # or Sheets with a `start_index` and `length` of 0.
4599
4663
  # Corresponds to the JSON property `annotations`
4600
4664
  # @return [Array<Google::Apis::ChatV1::Annotation>]
4601
4665
  attr_accessor :annotations
@@ -5215,10 +5279,17 @@ module Google
5215
5279
  end
5216
5280
  end
5217
5281
 
5218
- # A rich link to a resource.
5282
+ # A rich link to a resource. Rich links can be associated with the plain-text
5283
+ # body of the message or represent chips that link to Google Workspace resources
5284
+ # like Google Docs or Sheets with a with `start_index` and `length` of 0.
5219
5285
  class RichLinkMetadata
5220
5286
  include Google::Apis::Core::Hashable
5221
5287
 
5288
+ # Data for Calendar event links.
5289
+ # Corresponds to the JSON property `calendarEventLinkData`
5290
+ # @return [Google::Apis::ChatV1::CalendarEventLinkData]
5291
+ attr_accessor :calendar_event_link_data
5292
+
5222
5293
  # Data for Chat space links.
5223
5294
  # Corresponds to the JSON property `chatSpaceLinkData`
5224
5295
  # @return [Google::Apis::ChatV1::ChatSpaceLinkData]
@@ -5229,6 +5300,11 @@ module Google
5229
5300
  # @return [Google::Apis::ChatV1::DriveLinkData]
5230
5301
  attr_accessor :drive_link_data
5231
5302
 
5303
+ # Data for Meet space links.
5304
+ # Corresponds to the JSON property `meetSpaceLinkData`
5305
+ # @return [Google::Apis::ChatV1::MeetSpaceLinkData]
5306
+ attr_accessor :meet_space_link_data
5307
+
5232
5308
  # The rich link type.
5233
5309
  # Corresponds to the JSON property `richLinkType`
5234
5310
  # @return [String]
@@ -5245,8 +5321,10 @@ module Google
5245
5321
 
5246
5322
  # Update properties of this object
5247
5323
  def update!(**args)
5324
+ @calendar_event_link_data = args[:calendar_event_link_data] if args.key?(:calendar_event_link_data)
5248
5325
  @chat_space_link_data = args[:chat_space_link_data] if args.key?(:chat_space_link_data)
5249
5326
  @drive_link_data = args[:drive_link_data] if args.key?(:drive_link_data)
5327
+ @meet_space_link_data = args[:meet_space_link_data] if args.key?(:meet_space_link_data)
5250
5328
  @rich_link_type = args[:rich_link_type] if args.key?(:rich_link_type)
5251
5329
  @uri = args[:uri] if args.key?(:uri)
5252
5330
  end
@@ -5486,6 +5564,20 @@ module Google
5486
5564
  # @return [String]
5487
5565
  attr_accessor :create_time
5488
5566
 
5567
+ # Optional. Immutable. The customer id of the domain of the space. Required only
5568
+ # when creating a space with [app authentication](https://developers.google.com/
5569
+ # workspace/chat/authenticate-authorize-chat-app) and `SpaceType` is `SPACE`,
5570
+ # otherwise should not be set. In the format `customers/`customer``, where `
5571
+ # customer` is the `id` from the [Admin SDK customer resource]( https://
5572
+ # developers.google.com/admin-sdk/directory/reference/rest/v1/customers).
5573
+ # Private apps can also use the `customers/my_customer` alias to create the
5574
+ # space in the same Google Workspace organization as the app. For DMs, this
5575
+ # field isn't populated. [Developer Preview](https://developers.google.com/
5576
+ # workspace/preview).
5577
+ # Corresponds to the JSON property `customer`
5578
+ # @return [String]
5579
+ attr_accessor :customer
5580
+
5489
5581
  # Optional. The space's display name. Required when [creating a space](https://
5490
5582
  # developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) with
5491
5583
  # a `spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS`
@@ -5621,6 +5713,7 @@ module Google
5621
5713
  @access_settings = args[:access_settings] if args.key?(:access_settings)
5622
5714
  @admin_installed = args[:admin_installed] if args.key?(:admin_installed)
5623
5715
  @create_time = args[:create_time] if args.key?(:create_time)
5716
+ @customer = args[:customer] if args.key?(:customer)
5624
5717
  @display_name = args[:display_name] if args.key?(:display_name)
5625
5718
  @external_user_allowed = args[:external_user_allowed] if args.key?(:external_user_allowed)
5626
5719
  @import_mode = args[:import_mode] if args.key?(:import_mode)
@@ -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.125.0"
19
+ GEM_VERSION = "0.126.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250710"
25
+ REVISION = "20250720"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class CalendarEventLinkData
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class Card
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -586,6 +592,12 @@ module Google
586
592
  include Google::Apis::Core::JsonObjectSupport
587
593
  end
588
594
 
595
+ class MeetSpaceLinkData
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
589
601
  class Membership
590
602
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
603
 
@@ -1020,6 +1032,14 @@ module Google
1020
1032
  end
1021
1033
  end
1022
1034
 
1035
+ class CalendarEventLinkData
1036
+ # @private
1037
+ class Representation < Google::Apis::Core::JsonRepresentation
1038
+ property :calendar_id, as: 'calendarId'
1039
+ property :event_id, as: 'eventId'
1040
+ end
1041
+ end
1042
+
1023
1043
  class Card
1024
1044
  # @private
1025
1045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1927,6 +1947,15 @@ module Google
1927
1947
  end
1928
1948
  end
1929
1949
 
1950
+ class MeetSpaceLinkData
1951
+ # @private
1952
+ class Representation < Google::Apis::Core::JsonRepresentation
1953
+ property :huddle_status, as: 'huddleStatus'
1954
+ property :meeting_code, as: 'meetingCode'
1955
+ property :type, as: 'type'
1956
+ end
1957
+ end
1958
+
1930
1959
  class Membership
1931
1960
  # @private
1932
1961
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2195,10 +2224,14 @@ module Google
2195
2224
  class RichLinkMetadata
2196
2225
  # @private
2197
2226
  class Representation < Google::Apis::Core::JsonRepresentation
2227
+ property :calendar_event_link_data, as: 'calendarEventLinkData', class: Google::Apis::ChatV1::CalendarEventLinkData, decorator: Google::Apis::ChatV1::CalendarEventLinkData::Representation
2228
+
2198
2229
  property :chat_space_link_data, as: 'chatSpaceLinkData', class: Google::Apis::ChatV1::ChatSpaceLinkData, decorator: Google::Apis::ChatV1::ChatSpaceLinkData::Representation
2199
2230
 
2200
2231
  property :drive_link_data, as: 'driveLinkData', class: Google::Apis::ChatV1::DriveLinkData, decorator: Google::Apis::ChatV1::DriveLinkData::Representation
2201
2232
 
2233
+ property :meet_space_link_data, as: 'meetSpaceLinkData', class: Google::Apis::ChatV1::MeetSpaceLinkData, decorator: Google::Apis::ChatV1::MeetSpaceLinkData::Representation
2234
+
2202
2235
  property :rich_link_type, as: 'richLinkType'
2203
2236
  property :uri, as: 'uri'
2204
2237
  end
@@ -2268,6 +2301,7 @@ module Google
2268
2301
 
2269
2302
  property :admin_installed, as: 'adminInstalled'
2270
2303
  property :create_time, as: 'createTime'
2304
+ property :customer, as: 'customer'
2271
2305
  property :display_name, as: 'displayName'
2272
2306
  property :external_user_allowed, as: 'externalUserAllowed'
2273
2307
  property :import_mode, as: 'importMode'
@@ -1083,8 +1083,10 @@ module Google
1083
1083
  # workspace/chat/get-members). Supports the following types of [authentication](
1084
1084
  # https://developers.google.com/workspace/chat/authenticate-authorize): - [App
1085
1085
  # authentication](https://developers.google.com/workspace/chat/authenticate-
1086
- # authorize-chat-app) with the authorization scope: - `https://www.googleapis.
1087
- # com/auth/chat.bot` - [User authentication](https://developers.google.com/
1086
+ # authorize-chat-app) with one of the following authorization scopes: - `https://
1087
+ # www.googleapis.com/auth/chat.bot` - `https://www.googleapis.com/auth/chat.app.
1088
+ # memberships` (requires [administrator approval](https://support.google.com/a?p=
1089
+ # chat-app-auth)) - [User authentication](https://developers.google.com/
1088
1090
  # workspace/chat/authenticate-authorize-chat-user) with one of the following
1089
1091
  # authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.
1090
1092
  # readonly` - `https://www.googleapis.com/auth/chat.memberships` - User
@@ -1147,17 +1149,19 @@ module Google
1147
1149
  # in spaces that the authenticated user has access to. Supports the following
1148
1150
  # types of [authentication](https://developers.google.com/workspace/chat/
1149
1151
  # authenticate-authorize): - [App authentication](https://developers.google.com/
1150
- # workspace/chat/authenticate-authorize-chat-app) with the authorization scope: -
1151
- # `https://www.googleapis.com/auth/chat.bot` - [User authentication](https://
1152
- # developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
1153
- # one of the following authorization scopes: - `https://www.googleapis.com/auth/
1154
- # chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships`
1155
- # - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) -
1156
- # User authentication grants administrator privileges when an administrator
1157
- # account authenticates, `use_admin_access` is `true`, and one of the following
1158
- # authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.
1159
- # memberships.readonly` - `https://www.googleapis.com/auth/chat.admin.
1160
- # memberships`
1152
+ # workspace/chat/authenticate-authorize-chat-app) with one of the following
1153
+ # authorization scopes: - `https://www.googleapis.com/auth/chat.bot` - `https://
1154
+ # www.googleapis.com/auth/chat.app.memberships` (requires [administrator
1155
+ # approval](https://support.google.com/a?p=chat-app-auth)) - [User
1156
+ # authentication](https://developers.google.com/workspace/chat/authenticate-
1157
+ # authorize-chat-user) with one of the following authorization scopes: - `https:/
1158
+ # /www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.
1159
+ # com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.import` (
1160
+ # import mode spaces only) - User authentication grants administrator privileges
1161
+ # when an administrator account authenticates, `use_admin_access` is `true`, and
1162
+ # one of the following authorization scopes is used: - `https://www.googleapis.
1163
+ # com/auth/chat.admin.memberships.readonly` - `https://www.googleapis.com/auth/
1164
+ # chat.admin.memberships`
1161
1165
  # @param [String] parent
1162
1166
  # Required. The resource name of the space for which to fetch a membership list.
1163
1167
  # Format: spaces/`space`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chat_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.125.0
4
+ version: 0.126.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.125.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.126.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chat_v1
62
62
  rdoc_options: []
63
63
  require_paths: