google-apis-chat_v1 0.125.0 → 0.127.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chat_v1/classes.rb +111 -21
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/representations.rb +34 -0
- data/lib/google/apis/chat_v1/service.rb +51 -53
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e7fb247be2ed7b058cafff833e67896e93d803a77ba03150a49cee4ca19d5de
|
4
|
+
data.tar.gz: '09ab08120b447825f8d358939fdfa4e07de02912076ecccfbb0c3c70007c7e2c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccf4a01a8adfc5f70bb3743f1579e8e01809dd067f881e1760d2b90a4ebc38e88ad214d4f3149e33495e118df5a49d8cad448a09aa70d728a846d844001b285a
|
7
|
+
data.tar.gz: b7038b48469b32fc37e33647590021d4a078f33ccc9c71f004969d2500461742e17088e4e1cddae7e2e480ccc4e280ed4e1629d41f1016bb06b947afbbda4bf7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chat_v1
|
2
2
|
|
3
|
+
### v0.127.0 (2025-08-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250727
|
6
|
+
|
7
|
+
### v0.126.0 (2025-07-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250720
|
10
|
+
|
3
11
|
### v0.125.0 (2025-07-20)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250710
|
@@ -43,9 +43,8 @@ module Google
|
|
43
43
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
44
44
|
# authorize-chat-user) - [App authentication](https://developers.google.com/
|
45
45
|
# workspace/chat/authenticate-authorize-chat-app) with [administrator approval](
|
46
|
-
# https://support.google.com/a?p=chat-app-auth) with the `chat.app.spaces` scope
|
47
|
-
#
|
48
|
-
# field is not populated when using the `chat.bot` scope with [app
|
46
|
+
# https://support.google.com/a?p=chat-app-auth) with the `chat.app.spaces` scope.
|
47
|
+
# This field is not populated when using the `chat.bot` scope with [app
|
49
48
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
50
49
|
# authorize-chat-app). Setting the target audience requires [user authentication]
|
51
50
|
# (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
|
@@ -184,14 +183,15 @@ module Google
|
|
184
183
|
end
|
185
184
|
end
|
186
185
|
|
187
|
-
# Output only. Annotations associated with the plain-text body of the
|
188
|
-
#
|
189
|
-
#
|
190
|
-
# message
|
191
|
-
#
|
192
|
-
#
|
193
|
-
# "
|
194
|
-
# ` `
|
186
|
+
# Output only. Annotations can be associated with the plain-text body of the
|
187
|
+
# message or with chips that link to Google Workspace resources like Google Docs
|
188
|
+
# or Sheets with `start_index` and `length` of 0. To add basic formatting to a
|
189
|
+
# text message, see [Format text messages](https://developers.google.com/
|
190
|
+
# workspace/chat/format-messages). Example plain-text message body: ``` Hello @
|
191
|
+
# FooBot how are you!" ``` The corresponding annotations metadata: ``` "
|
192
|
+
# annotations":[` "type":"USER_MENTION", "startIndex":6, "length":7, "
|
193
|
+
# userMention": ` "user": ` "name":"users/`user`", "displayName":"FooBot", "
|
194
|
+
# avatarUrl":"https://goo.gl/aeDtrS", "type":"BOT" `, "type":"MENTION" ` `] ```
|
195
195
|
class Annotation
|
196
196
|
include Google::Apis::Core::Hashable
|
197
197
|
|
@@ -201,12 +201,14 @@ module Google
|
|
201
201
|
attr_accessor :custom_emoji_metadata
|
202
202
|
|
203
203
|
# Length of the substring in the plain-text message body this annotation
|
204
|
-
# corresponds to.
|
204
|
+
# corresponds to. If not present, indicates a length of 0.
|
205
205
|
# Corresponds to the JSON property `length`
|
206
206
|
# @return [Fixnum]
|
207
207
|
attr_accessor :length
|
208
208
|
|
209
|
-
# A rich link to a resource.
|
209
|
+
# A rich link to a resource. Rich links can be associated with the plain-text
|
210
|
+
# body of the message or represent chips that link to Google Workspace resources
|
211
|
+
# like Google Docs or Sheets with `start_index` and `length` of 0.
|
210
212
|
# Corresponds to the JSON property `richLinkMetadata`
|
211
213
|
# @return [Google::Apis::ChatV1::RichLinkMetadata]
|
212
214
|
attr_accessor :rich_link_metadata
|
@@ -412,6 +414,33 @@ module Google
|
|
412
414
|
end
|
413
415
|
end
|
414
416
|
|
417
|
+
# Data for Calendar event links.
|
418
|
+
class CalendarEventLinkData
|
419
|
+
include Google::Apis::Core::Hashable
|
420
|
+
|
421
|
+
# The [Calendar identifier](https://developers.google.com/workspace/calendar/api/
|
422
|
+
# v3/reference/calendars) of the linked Calendar.
|
423
|
+
# Corresponds to the JSON property `calendarId`
|
424
|
+
# @return [String]
|
425
|
+
attr_accessor :calendar_id
|
426
|
+
|
427
|
+
# The [Event identifier](https://developers.google.com/workspace/calendar/api/v3/
|
428
|
+
# reference/events) of the linked Calendar event.
|
429
|
+
# Corresponds to the JSON property `eventId`
|
430
|
+
# @return [String]
|
431
|
+
attr_accessor :event_id
|
432
|
+
|
433
|
+
def initialize(**args)
|
434
|
+
update!(**args)
|
435
|
+
end
|
436
|
+
|
437
|
+
# Update properties of this object
|
438
|
+
def update!(**args)
|
439
|
+
@calendar_id = args[:calendar_id] if args.key?(:calendar_id)
|
440
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
415
444
|
# A card is a UI element that can contain UI widgets such as text and images.
|
416
445
|
class Card
|
417
446
|
include Google::Apis::Core::Hashable
|
@@ -4360,6 +4389,38 @@ module Google
|
|
4360
4389
|
end
|
4361
4390
|
end
|
4362
4391
|
|
4392
|
+
# Data for Meet space links.
|
4393
|
+
class MeetSpaceLinkData
|
4394
|
+
include Google::Apis::Core::Hashable
|
4395
|
+
|
4396
|
+
# Optional. Output only. If the Meet is a Huddle, indicates the status of the
|
4397
|
+
# huddle. Otherwise, this is unset.
|
4398
|
+
# Corresponds to the JSON property `huddleStatus`
|
4399
|
+
# @return [String]
|
4400
|
+
attr_accessor :huddle_status
|
4401
|
+
|
4402
|
+
# Meeting code of the linked Meet space.
|
4403
|
+
# Corresponds to the JSON property `meetingCode`
|
4404
|
+
# @return [String]
|
4405
|
+
attr_accessor :meeting_code
|
4406
|
+
|
4407
|
+
# Indicates the type of the Meet space.
|
4408
|
+
# Corresponds to the JSON property `type`
|
4409
|
+
# @return [String]
|
4410
|
+
attr_accessor :type
|
4411
|
+
|
4412
|
+
def initialize(**args)
|
4413
|
+
update!(**args)
|
4414
|
+
end
|
4415
|
+
|
4416
|
+
# Update properties of this object
|
4417
|
+
def update!(**args)
|
4418
|
+
@huddle_status = args[:huddle_status] if args.key?(:huddle_status)
|
4419
|
+
@meeting_code = args[:meeting_code] if args.key?(:meeting_code)
|
4420
|
+
@type = args[:type] if args.key?(:type)
|
4421
|
+
end
|
4422
|
+
end
|
4423
|
+
|
4363
4424
|
# Represents a membership relation in Google Chat, such as whether a user or
|
4364
4425
|
# Chat app is invited to, part of, or absent from a space.
|
4365
4426
|
class Membership
|
@@ -4595,7 +4656,9 @@ module Google
|
|
4595
4656
|
# @return [Google::Apis::ChatV1::ActionResponse]
|
4596
4657
|
attr_accessor :action_response
|
4597
4658
|
|
4598
|
-
# Output only. Annotations associated with the
|
4659
|
+
# Output only. Annotations can be associated with the plain-text body of the
|
4660
|
+
# message or with chips that link to Google Workspace resources like Google Docs
|
4661
|
+
# or Sheets with `start_index` and `length` of 0.
|
4599
4662
|
# Corresponds to the JSON property `annotations`
|
4600
4663
|
# @return [Array<Google::Apis::ChatV1::Annotation>]
|
4601
4664
|
attr_accessor :annotations
|
@@ -5077,13 +5140,13 @@ module Google
|
|
5077
5140
|
class QuotedMessageMetadata
|
5078
5141
|
include Google::Apis::Core::Hashable
|
5079
5142
|
|
5080
|
-
#
|
5081
|
-
#
|
5143
|
+
# Required. The timestamp when the quoted message was created or when the quoted
|
5144
|
+
# message was last updated.
|
5082
5145
|
# Corresponds to the JSON property `lastUpdateTime`
|
5083
5146
|
# @return [String]
|
5084
5147
|
attr_accessor :last_update_time
|
5085
5148
|
|
5086
|
-
#
|
5149
|
+
# Required. Resource name of the message that is quoted. Format: `spaces/`space`/
|
5087
5150
|
# messages/`message``
|
5088
5151
|
# Corresponds to the JSON property `name`
|
5089
5152
|
# @return [String]
|
@@ -5215,10 +5278,17 @@ module Google
|
|
5215
5278
|
end
|
5216
5279
|
end
|
5217
5280
|
|
5218
|
-
# A rich link to a resource.
|
5281
|
+
# A rich link to a resource. Rich links can be associated with the plain-text
|
5282
|
+
# body of the message or represent chips that link to Google Workspace resources
|
5283
|
+
# like Google Docs or Sheets with `start_index` and `length` of 0.
|
5219
5284
|
class RichLinkMetadata
|
5220
5285
|
include Google::Apis::Core::Hashable
|
5221
5286
|
|
5287
|
+
# Data for Calendar event links.
|
5288
|
+
# Corresponds to the JSON property `calendarEventLinkData`
|
5289
|
+
# @return [Google::Apis::ChatV1::CalendarEventLinkData]
|
5290
|
+
attr_accessor :calendar_event_link_data
|
5291
|
+
|
5222
5292
|
# Data for Chat space links.
|
5223
5293
|
# Corresponds to the JSON property `chatSpaceLinkData`
|
5224
5294
|
# @return [Google::Apis::ChatV1::ChatSpaceLinkData]
|
@@ -5229,6 +5299,11 @@ module Google
|
|
5229
5299
|
# @return [Google::Apis::ChatV1::DriveLinkData]
|
5230
5300
|
attr_accessor :drive_link_data
|
5231
5301
|
|
5302
|
+
# Data for Meet space links.
|
5303
|
+
# Corresponds to the JSON property `meetSpaceLinkData`
|
5304
|
+
# @return [Google::Apis::ChatV1::MeetSpaceLinkData]
|
5305
|
+
attr_accessor :meet_space_link_data
|
5306
|
+
|
5232
5307
|
# The rich link type.
|
5233
5308
|
# Corresponds to the JSON property `richLinkType`
|
5234
5309
|
# @return [String]
|
@@ -5245,8 +5320,10 @@ module Google
|
|
5245
5320
|
|
5246
5321
|
# Update properties of this object
|
5247
5322
|
def update!(**args)
|
5323
|
+
@calendar_event_link_data = args[:calendar_event_link_data] if args.key?(:calendar_event_link_data)
|
5248
5324
|
@chat_space_link_data = args[:chat_space_link_data] if args.key?(:chat_space_link_data)
|
5249
5325
|
@drive_link_data = args[:drive_link_data] if args.key?(:drive_link_data)
|
5326
|
+
@meet_space_link_data = args[:meet_space_link_data] if args.key?(:meet_space_link_data)
|
5250
5327
|
@rich_link_type = args[:rich_link_type] if args.key?(:rich_link_type)
|
5251
5328
|
@uri = args[:uri] if args.key?(:uri)
|
5252
5329
|
end
|
@@ -5486,6 +5563,19 @@ module Google
|
|
5486
5563
|
# @return [String]
|
5487
5564
|
attr_accessor :create_time
|
5488
5565
|
|
5566
|
+
# Optional. Immutable. The customer id of the domain of the space. Required only
|
5567
|
+
# when creating a space with [app authentication](https://developers.google.com/
|
5568
|
+
# workspace/chat/authenticate-authorize-chat-app) and `SpaceType` is `SPACE`,
|
5569
|
+
# otherwise should not be set. In the format `customers/`customer``, where `
|
5570
|
+
# customer` is the `id` from the [Admin SDK customer resource]( https://
|
5571
|
+
# developers.google.com/admin-sdk/directory/reference/rest/v1/customers).
|
5572
|
+
# Private apps can also use the `customers/my_customer` alias to create the
|
5573
|
+
# space in the same Google Workspace organization as the app. For DMs, this
|
5574
|
+
# field isn't populated.
|
5575
|
+
# Corresponds to the JSON property `customer`
|
5576
|
+
# @return [String]
|
5577
|
+
attr_accessor :customer
|
5578
|
+
|
5489
5579
|
# Optional. The space's display name. Required when [creating a space](https://
|
5490
5580
|
# developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) with
|
5491
5581
|
# a `spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS`
|
@@ -5557,9 +5647,8 @@ module Google
|
|
5557
5647
|
# Optional. Input only. Predefined space permission settings, input only when
|
5558
5648
|
# creating a space. If the field is not set, a collaboration space is created.
|
5559
5649
|
# After you create the space, settings are populated in the `PermissionSettings`
|
5560
|
-
# field. Setting predefined permission settings supports: -
|
5561
|
-
#
|
5562
|
-
# (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
5650
|
+
# field. Setting predefined permission settings supports: - [App authentication](
|
5651
|
+
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
5563
5652
|
# with [administrator approval](https://support.google.com/a?p=chat-app-auth)
|
5564
5653
|
# with the `chat.app.spaces` or `chat.app.spaces.create` scopes. - [User
|
5565
5654
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
@@ -5621,6 +5710,7 @@ module Google
|
|
5621
5710
|
@access_settings = args[:access_settings] if args.key?(:access_settings)
|
5622
5711
|
@admin_installed = args[:admin_installed] if args.key?(:admin_installed)
|
5623
5712
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5713
|
+
@customer = args[:customer] if args.key?(:customer)
|
5624
5714
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5625
5715
|
@external_user_allowed = args[:external_user_allowed] if args.key?(:external_user_allowed)
|
5626
5716
|
@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.
|
19
|
+
GEM_VERSION = "0.127.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 = "
|
25
|
+
REVISION = "20250727"
|
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'
|
@@ -371,24 +371,23 @@ module Google
|
|
371
371
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
372
372
|
# authorize): - [App authentication](https://developers.google.com/workspace/
|
373
373
|
# chat/authenticate-authorize-chat-app) with [administrator approval](https://
|
374
|
-
# support.google.com/a?p=chat-app-auth)
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
# The
|
391
|
-
# app authentication. * The human user when using user authentication. If you
|
374
|
+
# support.google.com/a?p=chat-app-auth) and one of the following authorization
|
375
|
+
# scopes: - `https://www.googleapis.com/auth/chat.app.spaces.create` - `https://
|
376
|
+
# www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://
|
377
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
378
|
+
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
|
379
|
+
# chat.spaces.create` - `https://www.googleapis.com/auth/chat.spaces` - `https://
|
380
|
+
# www.googleapis.com/auth/chat.import` (import mode spaces only) When
|
381
|
+
# authenticating as an app, the `space.customer` field must be set in the
|
382
|
+
# request. When authenticating as an app, the Chat app is added as a member of
|
383
|
+
# the space. However, unlike human authentication, the Chat app is not added as
|
384
|
+
# a space manager. By default, the Chat app can be removed from the space by all
|
385
|
+
# space members. To allow only space managers to remove the app from a space,
|
386
|
+
# set `space.permission_settings.manage_apps` to `managers_allowed`. Space
|
387
|
+
# membership upon creation depends on whether the space is created in `Import
|
388
|
+
# mode`: * **Import mode:** No members are created. * **All other modes:** The
|
389
|
+
# calling user is added as a member. This is: * The app itself when using app
|
390
|
+
# authentication. * The human user when using user authentication. If you
|
392
391
|
# receive the error message `ALREADY_EXISTS` when creating a space, try a
|
393
392
|
# different `displayName`. An existing space within the Google Workspace
|
394
393
|
# organization might already use this display name.
|
@@ -434,16 +433,15 @@ module Google
|
|
434
433
|
# types of [authentication](https://developers.google.com/workspace/chat/
|
435
434
|
# authenticate-authorize): - [App authentication](https://developers.google.com/
|
436
435
|
# workspace/chat/authenticate-authorize-chat-app) with [administrator approval](
|
437
|
-
# https://support.google.com/a?p=chat-app-auth)
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
#
|
446
|
-
# googleapis.com/auth/chat.admin.delete`
|
436
|
+
# https://support.google.com/a?p=chat-app-auth) and the authorization scope: - `
|
437
|
+
# https://www.googleapis.com/auth/chat.app.delete` (only in spaces the app
|
438
|
+
# created) - [User authentication](https://developers.google.com/workspace/chat/
|
439
|
+
# authenticate-authorize-chat-user) with one of the following authorization
|
440
|
+
# scopes: - `https://www.googleapis.com/auth/chat.delete` - `https://www.
|
441
|
+
# googleapis.com/auth/chat.import` (import mode spaces only) - User
|
442
|
+
# authentication grants administrator privileges when an administrator account
|
443
|
+
# authenticates, `use_admin_access` is `true`, and the following authorization
|
444
|
+
# scope is used: - `https://www.googleapis.com/auth/chat.admin.delete`
|
447
445
|
# @param [String] name
|
448
446
|
# Required. Resource name of the space to delete. Format: `spaces/`space``
|
449
447
|
# @param [Boolean] use_admin_access
|
@@ -662,9 +660,8 @@ module Google
|
|
662
660
|
# (https://developers.google.com/workspace/chat/authenticate-authorize): - [App
|
663
661
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
664
662
|
# authorize-chat-app) with [administrator approval](https://support.google.com/a?
|
665
|
-
# p=chat-app-auth)
|
666
|
-
#
|
667
|
-
# www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://
|
663
|
+
# p=chat-app-auth) and one of the following authorization scopes: - `https://www.
|
664
|
+
# googleapis.com/auth/chat.app.spaces` - [User authentication](https://
|
668
665
|
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
669
666
|
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
|
670
667
|
# chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
|
@@ -944,11 +941,10 @@ module Google
|
|
944
941
|
# space. Supports the following types of [authentication](https://developers.
|
945
942
|
# google.com/workspace/chat/authenticate-authorize): - [App authentication](
|
946
943
|
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
|
947
|
-
# with [administrator approval](https://support.google.com/a?p=chat-app-auth)
|
948
|
-
#
|
949
|
-
#
|
950
|
-
#
|
951
|
-
# authenticate-authorize-chat-user) with one of the following authorization
|
944
|
+
# with [administrator approval](https://support.google.com/a?p=chat-app-auth)
|
945
|
+
# and the authorization scope: - `https://www.googleapis.com/auth/chat.app.
|
946
|
+
# memberships` - [User authentication](https://developers.google.com/workspace/
|
947
|
+
# chat/authenticate-authorize-chat-user) with one of the following authorization
|
952
948
|
# scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.
|
953
949
|
# googleapis.com/auth/chat.memberships.app` (to add the calling app to the space)
|
954
950
|
# - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) -
|
@@ -1012,8 +1008,7 @@ module Google
|
|
1012
1008
|
# Supports the following types of [authentication](https://developers.google.com/
|
1013
1009
|
# workspace/chat/authenticate-authorize): - [App authentication](https://
|
1014
1010
|
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
|
1015
|
-
# administrator approval](https://support.google.com/a?p=chat-app-auth)
|
1016
|
-
# Developer Preview](https://developers.google.com/workspace/preview) and the
|
1011
|
+
# administrator approval](https://support.google.com/a?p=chat-app-auth) and the
|
1017
1012
|
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` -
|
1018
1013
|
# [User authentication](https://developers.google.com/workspace/chat/
|
1019
1014
|
# authenticate-authorize-chat-user) with one of the following authorization
|
@@ -1083,8 +1078,10 @@ module Google
|
|
1083
1078
|
# workspace/chat/get-members). Supports the following types of [authentication](
|
1084
1079
|
# https://developers.google.com/workspace/chat/authenticate-authorize): - [App
|
1085
1080
|
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
1086
|
-
# authorize-chat-app) with the authorization
|
1087
|
-
# com/auth/chat.bot` -
|
1081
|
+
# authorize-chat-app) with one of the following authorization scopes: - `https://
|
1082
|
+
# www.googleapis.com/auth/chat.bot` - `https://www.googleapis.com/auth/chat.app.
|
1083
|
+
# memberships` (requires [administrator approval](https://support.google.com/a?p=
|
1084
|
+
# chat-app-auth)) - [User authentication](https://developers.google.com/
|
1088
1085
|
# workspace/chat/authenticate-authorize-chat-user) with one of the following
|
1089
1086
|
# authorization scopes: - `https://www.googleapis.com/auth/chat.memberships.
|
1090
1087
|
# readonly` - `https://www.googleapis.com/auth/chat.memberships` - User
|
@@ -1147,17 +1144,19 @@ module Google
|
|
1147
1144
|
# in spaces that the authenticated user has access to. Supports the following
|
1148
1145
|
# types of [authentication](https://developers.google.com/workspace/chat/
|
1149
1146
|
# authenticate-authorize): - [App authentication](https://developers.google.com/
|
1150
|
-
# workspace/chat/authenticate-authorize-chat-app) with
|
1151
|
-
# `https://www.googleapis.com/auth/chat.bot` -
|
1152
|
-
#
|
1153
|
-
#
|
1154
|
-
#
|
1155
|
-
# -
|
1156
|
-
#
|
1157
|
-
#
|
1158
|
-
#
|
1159
|
-
#
|
1160
|
-
#
|
1147
|
+
# workspace/chat/authenticate-authorize-chat-app) with one of the following
|
1148
|
+
# authorization scopes: - `https://www.googleapis.com/auth/chat.bot` - `https://
|
1149
|
+
# www.googleapis.com/auth/chat.app.memberships` (requires [administrator
|
1150
|
+
# approval](https://support.google.com/a?p=chat-app-auth)) - [User
|
1151
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-
|
1152
|
+
# authorize-chat-user) with one of the following authorization scopes: - `https:/
|
1153
|
+
# /www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.
|
1154
|
+
# com/auth/chat.memberships` - `https://www.googleapis.com/auth/chat.import` (
|
1155
|
+
# import mode spaces only) - User authentication grants administrator privileges
|
1156
|
+
# when an administrator account authenticates, `use_admin_access` is `true`, and
|
1157
|
+
# one of the following authorization scopes is used: - `https://www.googleapis.
|
1158
|
+
# com/auth/chat.admin.memberships.readonly` - `https://www.googleapis.com/auth/
|
1159
|
+
# chat.admin.memberships`
|
1161
1160
|
# @param [String] parent
|
1162
1161
|
# Required. The resource name of the space for which to fetch a membership list.
|
1163
1162
|
# Format: spaces/`space`
|
@@ -1245,8 +1244,7 @@ module Google
|
|
1245
1244
|
# the following types of [authentication](https://developers.google.com/
|
1246
1245
|
# workspace/chat/authenticate-authorize): - [App authentication](https://
|
1247
1246
|
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
|
1248
|
-
# administrator approval](https://support.google.com/a?p=chat-app-auth)
|
1249
|
-
# Developer Preview](https://developers.google.com/workspace/preview) and the
|
1247
|
+
# administrator approval](https://support.google.com/a?p=chat-app-auth) and the
|
1250
1248
|
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` (
|
1251
1249
|
# only in spaces the app created) - [User authentication](https://developers.
|
1252
1250
|
# google.com/workspace/chat/authenticate-authorize-chat-user) with one of the
|
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.
|
4
|
+
version: 0.127.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chat_v1/v0.127.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:
|