google-apis-chat_v1 0.124.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chat_v1/classes.rb +185 -30
- 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 +17 -13
- 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: 36fac06008052864f722f212719cd3d061e97d0218e3f8d32947192640b15b45
|
4
|
+
data.tar.gz: 4ff4de153d22ce0a072eefa6de7df2dff99299e2de100bf1867b749d23e23ddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd297d4acc4ddeb93abe51601ca16acd937d1220169bb8992f7c7c9273541919ff3901934a38413d7adacfc8b9aed669d5e2faa600d386e843a3f4c7cae81c8d
|
7
|
+
data.tar.gz: a3554b7e724f4554fccdb387ec4d402080704a2b90bed0297ff2d3284b5552aab380f9f702b54bfcda99c9831d744b9aa87d030ed03455c2f95d75d767936040
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.125.0 (2025-07-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250710
|
10
|
+
|
3
11
|
### v0.124.0 (2025-07-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250706
|
@@ -184,14 +184,15 @@ module Google
|
|
184
184
|
end
|
185
185
|
end
|
186
186
|
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
# "
|
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
|
@@ -756,23 +786,60 @@ module Google
|
|
756
786
|
end
|
757
787
|
end
|
758
788
|
|
759
|
-
#
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
789
|
+
# The common event object is the portion of the overall event object that
|
790
|
+
# carries general, host-independent information to the add-on from the user's
|
791
|
+
# client. This information includes details such as the user's locale, host app,
|
792
|
+
# and platform. In addition to homepage and contextual triggers, add-ons
|
793
|
+
# construct and pass event objects to [action callback functions](https://
|
794
|
+
# developers.google.com/workspace/add-ons/concepts/actions#callback_functions)
|
795
|
+
# when the user interacts with widgets. Your add-on's callback function can
|
796
|
+
# query the common event object to determine the contents of open widgets in the
|
797
|
+
# user's client. For example, your add-on can locate the text a user has entered
|
798
|
+
# into a [TextInput](https://developers.google.com/apps-script/reference/card-
|
799
|
+
# service/text-input) widget in the `eventObject.commentEventObject.formInputs`
|
800
|
+
# object. For Chat apps, the name of the function that the user invoked when
|
801
|
+
# interacting with a widget.
|
763
802
|
class CommonEventObject
|
764
803
|
include Google::Apis::Core::Hashable
|
765
804
|
|
766
|
-
# A map containing the values
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
805
|
+
# A map containing the current values of the widgets in the displayed card. The
|
806
|
+
# map keys are the string IDs assigned with each widget. The structure of the
|
807
|
+
# map value object is dependent on the widget type: **Note**: The following
|
808
|
+
# examples are formatted for Apps Script's V8 runtime. If you're using Rhino
|
809
|
+
# runtime, you must add `[""]` after the value. For example, instead of `e.
|
810
|
+
# commonEventObject.formInputs.employeeName.stringInputs.value[0]`, format the
|
811
|
+
# event object as `e.commonEventObject.formInputs.employeeName[""].stringInputs.
|
812
|
+
# value[0]`. To learn more about runtimes in Apps Script, see the [V8 Runtime
|
813
|
+
# Overview](https://developers.google.com/apps-script/guides/v8-runtime). *
|
814
|
+
# Single-valued widgets (for example, a text box): a list of strings (only one
|
815
|
+
# element). **Example**: for a text input widget with `employeeName` as its ID,
|
816
|
+
# access the text input value with: `e.commonEventObject.formInputs.employeeName.
|
817
|
+
# stringInputs.value[0]`. * Multi-valued widgets (for example, checkbox groups):
|
818
|
+
# a list of strings. **Example**: for a multi-value widget with `participants`
|
819
|
+
# as its ID, access the value array with: `e.commonEventObject.formInputs.
|
820
|
+
# participants.stringInputs.value`. * **A date-time picker**: a [`DateTimeInput
|
821
|
+
# object`](https://developers.google.com/workspace/add-ons/concepts/event-
|
822
|
+
# objects#date-time-input). **Example**: For a picker with an ID of `myDTPicker`,
|
823
|
+
# access the [`DateTimeInput`](https://developers.google.com/workspace/add-ons/
|
824
|
+
# concepts/event-objects#date-time-input) object using `e.commonEventObject.
|
825
|
+
# formInputs.myDTPicker.dateTimeInput`. * **A date-only picker**: a [`DateInput
|
826
|
+
# object`](https://developers.google.com/workspace/add-ons/concepts/event-
|
827
|
+
# objects#date-input). **Example**: For a picker with an ID of `myDatePicker`,
|
828
|
+
# access the [`DateInput`](https://developers.google.com/workspace/add-ons/
|
829
|
+
# concepts/event-objects#date-input) object using `e.commonEventObject.
|
830
|
+
# formInputs.myDatePicker.dateInput`. * **A time-only picker**: a [`TimeInput
|
831
|
+
# object`](https://developers.google.com/workspace/add-ons/concepts/event-
|
832
|
+
# objects#time-input). **Example**: For a picker with an ID of `myTimePicker`,
|
833
|
+
# access the [`TimeInput`](https://developers.google.com/workspace/add-ons/
|
834
|
+
# concepts/event-objects#time-input) object using `e.commonEventObject.
|
835
|
+
# formInputs.myTimePicker.timeInput`.
|
770
836
|
# Corresponds to the JSON property `formInputs`
|
771
837
|
# @return [Hash<String,Google::Apis::ChatV1::Inputs>]
|
772
838
|
attr_accessor :form_inputs
|
773
839
|
|
774
|
-
#
|
775
|
-
#
|
840
|
+
# Indicates the host app the add-on is active in when the event object is
|
841
|
+
# generated. Possible values include the following: * `GMAIL` * `CALENDAR` * `
|
842
|
+
# DRIVE` * `DOCS` * `SHEETS` * `SLIDES` * `CHAT`
|
776
843
|
# Corresponds to the JSON property `hostApp`
|
777
844
|
# @return [String]
|
778
845
|
attr_accessor :host_app
|
@@ -783,8 +850,18 @@ module Google
|
|
783
850
|
# @return [String]
|
784
851
|
attr_accessor :invoked_function
|
785
852
|
|
786
|
-
#
|
787
|
-
#
|
853
|
+
# Any additional parameters you supply to an action using [`actionParameters`](
|
854
|
+
# https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.
|
855
|
+
# v1#google.apps.card.v1.Action.ActionParameter) or [`Action.setParameters()`](
|
856
|
+
# https://developers.google.com/apps-script/reference/card-service/action#
|
857
|
+
# setparametersparameters). **Developer Preview:** For [add-ons that extend
|
858
|
+
# Google Chat](https://developers.google.com/workspace/add-ons/chat), to suggest
|
859
|
+
# items based on what the users type in multiselect menus, use the value of the `
|
860
|
+
# "autocomplete_widget_query"` key (`event.commonEventObject.parameters["
|
861
|
+
# autocomplete_widget_query"]`). You can use this value to query a database and
|
862
|
+
# suggest selectable items to users as they type. For details, see [Collect and
|
863
|
+
# process information from Google Chat users](https://developers.google.com/
|
864
|
+
# workspace/add-ons/chat/collect-information).
|
788
865
|
# Corresponds to the JSON property `parameters`
|
789
866
|
# @return [Hash<String,String>]
|
790
867
|
attr_accessor :parameters
|
@@ -804,8 +881,14 @@ module Google
|
|
804
881
|
# @return [Google::Apis::ChatV1::TimeZone]
|
805
882
|
attr_accessor :time_zone
|
806
883
|
|
807
|
-
#
|
808
|
-
#
|
884
|
+
# **Disabled by default.** The user's language and country/region identifier in
|
885
|
+
# the format of [ISO 639](https://wikipedia.org/wiki/ISO_639_macrolanguage)
|
886
|
+
# language code-[ISO 3166](https://wikipedia.org/wiki/ISO_3166) country/region
|
887
|
+
# code. For example, `en-US`. To turn on this field, you must set `addOns.common.
|
888
|
+
# useLocaleFromApp` to `true` in your add-on's manifest. Your add-on's scope
|
889
|
+
# list must also include `https://www.googleapis.com/auth/script.locale`. See [
|
890
|
+
# Accessing user locale and timezone](https://developers.google.com/workspace/
|
891
|
+
# add-ons/how-tos/access-user-locale) for more details.
|
809
892
|
# Corresponds to the JSON property `userLocale`
|
810
893
|
# @return [String]
|
811
894
|
attr_accessor :user_locale
|
@@ -1058,10 +1141,19 @@ module Google
|
|
1058
1141
|
# @return [Google::Apis::ChatV1::AppCommandMetadata]
|
1059
1142
|
attr_accessor :app_command_metadata
|
1060
1143
|
|
1061
|
-
#
|
1062
|
-
#
|
1063
|
-
#
|
1064
|
-
#
|
1144
|
+
# The common event object is the portion of the overall event object that
|
1145
|
+
# carries general, host-independent information to the add-on from the user's
|
1146
|
+
# client. This information includes details such as the user's locale, host app,
|
1147
|
+
# and platform. In addition to homepage and contextual triggers, add-ons
|
1148
|
+
# construct and pass event objects to [action callback functions](https://
|
1149
|
+
# developers.google.com/workspace/add-ons/concepts/actions#callback_functions)
|
1150
|
+
# when the user interacts with widgets. Your add-on's callback function can
|
1151
|
+
# query the common event object to determine the contents of open widgets in the
|
1152
|
+
# user's client. For example, your add-on can locate the text a user has entered
|
1153
|
+
# into a [TextInput](https://developers.google.com/apps-script/reference/card-
|
1154
|
+
# service/text-input) widget in the `eventObject.commentEventObject.formInputs`
|
1155
|
+
# object. For Chat apps, the name of the function that the user invoked when
|
1156
|
+
# interacting with a widget.
|
1065
1157
|
# Corresponds to the JSON property `common`
|
1066
1158
|
# @return [Google::Apis::ChatV1::CommonEventObject]
|
1067
1159
|
attr_accessor :common
|
@@ -4298,6 +4390,38 @@ module Google
|
|
4298
4390
|
end
|
4299
4391
|
end
|
4300
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
|
+
|
4301
4425
|
# Represents a membership relation in Google Chat, such as whether a user or
|
4302
4426
|
# Chat app is invited to, part of, or absent from a space.
|
4303
4427
|
class Membership
|
@@ -4533,7 +4657,9 @@ module Google
|
|
4533
4657
|
# @return [Google::Apis::ChatV1::ActionResponse]
|
4534
4658
|
attr_accessor :action_response
|
4535
4659
|
|
4536
|
-
# Output only. Annotations associated with the
|
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.
|
4537
4663
|
# Corresponds to the JSON property `annotations`
|
4538
4664
|
# @return [Array<Google::Apis::ChatV1::Annotation>]
|
4539
4665
|
attr_accessor :annotations
|
@@ -5153,10 +5279,17 @@ module Google
|
|
5153
5279
|
end
|
5154
5280
|
end
|
5155
5281
|
|
5156
|
-
# 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.
|
5157
5285
|
class RichLinkMetadata
|
5158
5286
|
include Google::Apis::Core::Hashable
|
5159
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
|
+
|
5160
5293
|
# Data for Chat space links.
|
5161
5294
|
# Corresponds to the JSON property `chatSpaceLinkData`
|
5162
5295
|
# @return [Google::Apis::ChatV1::ChatSpaceLinkData]
|
@@ -5167,6 +5300,11 @@ module Google
|
|
5167
5300
|
# @return [Google::Apis::ChatV1::DriveLinkData]
|
5168
5301
|
attr_accessor :drive_link_data
|
5169
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
|
+
|
5170
5308
|
# The rich link type.
|
5171
5309
|
# Corresponds to the JSON property `richLinkType`
|
5172
5310
|
# @return [String]
|
@@ -5183,8 +5321,10 @@ module Google
|
|
5183
5321
|
|
5184
5322
|
# Update properties of this object
|
5185
5323
|
def update!(**args)
|
5324
|
+
@calendar_event_link_data = args[:calendar_event_link_data] if args.key?(:calendar_event_link_data)
|
5186
5325
|
@chat_space_link_data = args[:chat_space_link_data] if args.key?(:chat_space_link_data)
|
5187
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)
|
5188
5328
|
@rich_link_type = args[:rich_link_type] if args.key?(:rich_link_type)
|
5189
5329
|
@uri = args[:uri] if args.key?(:uri)
|
5190
5330
|
end
|
@@ -5424,6 +5564,20 @@ module Google
|
|
5424
5564
|
# @return [String]
|
5425
5565
|
attr_accessor :create_time
|
5426
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
|
+
|
5427
5581
|
# Optional. The space's display name. Required when [creating a space](https://
|
5428
5582
|
# developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) with
|
5429
5583
|
# a `spaceType` of `SPACE`. If you receive the error message `ALREADY_EXISTS`
|
@@ -5559,6 +5713,7 @@ module Google
|
|
5559
5713
|
@access_settings = args[:access_settings] if args.key?(:access_settings)
|
5560
5714
|
@admin_installed = args[:admin_installed] if args.key?(:admin_installed)
|
5561
5715
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5716
|
+
@customer = args[:customer] if args.key?(:customer)
|
5562
5717
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5563
5718
|
@external_user_allowed = args[:external_user_allowed] if args.key?(:external_user_allowed)
|
5564
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.
|
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 = "
|
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
|
1087
|
-
# com/auth/chat.bot` -
|
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
|
1151
|
-
# `https://www.googleapis.com/auth/chat.bot` -
|
1152
|
-
#
|
1153
|
-
#
|
1154
|
-
#
|
1155
|
-
# -
|
1156
|
-
#
|
1157
|
-
#
|
1158
|
-
#
|
1159
|
-
#
|
1160
|
-
#
|
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.
|
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.
|
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:
|