google-apis-chat_v1 0.73.0 → 0.74.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 +4 -0
- data/lib/google/apis/chat_v1/classes.rb +39 -50
- data/lib/google/apis/chat_v1/gem_version.rb +2 -2
- data/lib/google/apis/chat_v1/service.rb +8 -14
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d67346256295e7b834725fda06e4ce14e4740e8fa7e32b59910c57fc78fb09d
|
|
4
|
+
data.tar.gz: 8a4dd8178d823a74399a81f6d3a63a45cd3de24562d8bfab034c7f762c65a799
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a74a1886ecaf5463ad63017f73c6badc40b5bee06aa5591b5d6eb40a086aef39af616dfc238b8bb2080db029f0ff2e5a37e20832921ee06231e6386d5fc8dfd
|
|
7
|
+
data.tar.gz: a6bb63a061abf8020e8c58b15fe3f7bf625e0e93147ba58862e1069ba7d8f6ee329d4ca34253deeb0e5f54898ce03114f37dee7dd3a2ac481b26888c9641423c
|
data/CHANGELOG.md
CHANGED
|
@@ -494,15 +494,15 @@ module Google
|
|
|
494
494
|
end
|
|
495
495
|
end
|
|
496
496
|
|
|
497
|
-
# Chat apps only. For a `SelectionInput` widget that uses a
|
|
498
|
-
# data source from Google Chat.
|
|
499
|
-
#
|
|
500
|
-
#
|
|
497
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
|
|
498
|
+
# data source from Google Chat. The data source populates selection items for
|
|
499
|
+
# the multiselect menu. For example, a user can select Google Chat spaces that
|
|
500
|
+
# they're a member of.
|
|
501
501
|
class ChatClientDataSourceMarkup
|
|
502
502
|
include Google::Apis::Core::Hashable
|
|
503
503
|
|
|
504
|
-
# A data source
|
|
505
|
-
#
|
|
504
|
+
# A data source that populates Google Chat spaces as selection items for a
|
|
505
|
+
# multiselect menu. Only populates spaces that the user is a member of.
|
|
506
506
|
# Corresponds to the JSON property `spaceDataSource`
|
|
507
507
|
# @return [Google::Apis::ChatV1::SpaceDataSource]
|
|
508
508
|
attr_accessor :space_data_source
|
|
@@ -2194,25 +2194,21 @@ module Google
|
|
|
2194
2194
|
end
|
|
2195
2195
|
end
|
|
2196
2196
|
|
|
2197
|
-
# Chat apps only. For a `SelectionInput` widget that uses a
|
|
2198
|
-
#
|
|
2199
|
-
#
|
|
2200
|
-
# multi-select menu. [Developer Preview](https://developers.google.com/workspace/
|
|
2201
|
-
# preview).
|
|
2197
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
|
|
2198
|
+
# data source from Google Workspace. Used to populate items in a multiselect
|
|
2199
|
+
# menu.
|
|
2202
2200
|
class GoogleAppsCardV1PlatformDataSource
|
|
2203
2201
|
include Google::Apis::Core::Hashable
|
|
2204
2202
|
|
|
2205
|
-
#
|
|
2206
|
-
#
|
|
2207
|
-
# Workspace organization. [Developer Preview](https://developers.google.com/
|
|
2208
|
-
# workspace/preview).
|
|
2203
|
+
# A data source shared by all Google Workspace applications, such as users in a
|
|
2204
|
+
# Google Workspace organization.
|
|
2209
2205
|
# Corresponds to the JSON property `commonDataSource`
|
|
2210
2206
|
# @return [String]
|
|
2211
2207
|
attr_accessor :common_data_source
|
|
2212
2208
|
|
|
2213
|
-
# Chat apps only. For a `SelectionInput` widget that uses a
|
|
2214
|
-
# data source from a Google Workspace
|
|
2215
|
-
#
|
|
2209
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
|
|
2210
|
+
# data source from a Google Workspace application. The data source populates
|
|
2211
|
+
# selection items for the multiselect menu.
|
|
2216
2212
|
# Corresponds to the JSON property `hostAppDataSource`
|
|
2217
2213
|
# @return [Google::Apis::ChatV1::HostAppDataSourceMarkup]
|
|
2218
2214
|
attr_accessor :host_app_data_source
|
|
@@ -2312,18 +2308,16 @@ module Google
|
|
|
2312
2308
|
# @return [String]
|
|
2313
2309
|
attr_accessor :label
|
|
2314
2310
|
|
|
2315
|
-
# For
|
|
2316
|
-
# Minimum value is 1 item. If unspecified,
|
|
2317
|
-
# https://developers.google.com/workspace/preview).
|
|
2311
|
+
# For multiselect menus, the maximum number of items that a user can select.
|
|
2312
|
+
# Minimum value is 1 item. If unspecified, defaults to 3 items.
|
|
2318
2313
|
# Corresponds to the JSON property `multiSelectMaxSelectedItems`
|
|
2319
2314
|
# @return [Fixnum]
|
|
2320
2315
|
attr_accessor :multi_select_max_selected_items
|
|
2321
2316
|
|
|
2322
|
-
# For
|
|
2323
|
-
#
|
|
2324
|
-
#
|
|
2325
|
-
#
|
|
2326
|
-
# google.com/workspace/preview).
|
|
2317
|
+
# For multiselect menus, the number of text characters that a user inputs before
|
|
2318
|
+
# the Chat app queries autocomplete and displays suggested items in the menu. If
|
|
2319
|
+
# unspecified, defaults to 0 characters for static data sources and 3 characters
|
|
2320
|
+
# for external data sources.
|
|
2327
2321
|
# Corresponds to the JSON property `multiSelectMinQueryLength`
|
|
2328
2322
|
# @return [Fixnum]
|
|
2329
2323
|
attr_accessor :multi_select_min_query_length
|
|
@@ -2342,11 +2336,9 @@ module Google
|
|
|
2342
2336
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1Action]
|
|
2343
2337
|
attr_accessor :on_change_action
|
|
2344
2338
|
|
|
2345
|
-
# Chat apps only. For a `SelectionInput` widget that uses a
|
|
2346
|
-
#
|
|
2347
|
-
#
|
|
2348
|
-
# multi-select menu. [Developer Preview](https://developers.google.com/workspace/
|
|
2349
|
-
# preview).
|
|
2339
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
|
|
2340
|
+
# data source from Google Workspace. Used to populate items in a multiselect
|
|
2341
|
+
# menu.
|
|
2350
2342
|
# Corresponds to the JSON property `platformDataSource`
|
|
2351
2343
|
# @return [Google::Apis::ChatV1::GoogleAppsCardV1PlatformDataSource]
|
|
2352
2344
|
attr_accessor :platform_data_source
|
|
@@ -2382,9 +2374,8 @@ module Google
|
|
|
2382
2374
|
class GoogleAppsCardV1SelectionItem
|
|
2383
2375
|
include Google::Apis::Core::Hashable
|
|
2384
2376
|
|
|
2385
|
-
# For
|
|
2386
|
-
# item's `text` field.
|
|
2387
|
-
# workspace/preview).
|
|
2377
|
+
# For multiselect menus, a text description or label that's displayed below the
|
|
2378
|
+
# item's `text` field.
|
|
2388
2379
|
# Corresponds to the JSON property `bottomText`
|
|
2389
2380
|
# @return [String]
|
|
2390
2381
|
attr_accessor :bottom_text
|
|
@@ -2397,10 +2388,9 @@ module Google
|
|
|
2397
2388
|
attr_accessor :selected
|
|
2398
2389
|
alias_method :selected?, :selected
|
|
2399
2390
|
|
|
2400
|
-
# For
|
|
2401
|
-
#
|
|
2402
|
-
#
|
|
2403
|
-
# Developer Preview](https://developers.google.com/workspace/preview).
|
|
2391
|
+
# For multiselect menus, the URL for the icon displayed next to the item's `text`
|
|
2392
|
+
# field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `
|
|
2393
|
+
# https://developers.google.com/chat/images/quickstart-app-avatar.png`.
|
|
2404
2394
|
# Corresponds to the JSON property `startIconUri`
|
|
2405
2395
|
# @return [String]
|
|
2406
2396
|
attr_accessor :start_icon_uri
|
|
@@ -2876,16 +2866,16 @@ module Google
|
|
|
2876
2866
|
end
|
|
2877
2867
|
end
|
|
2878
2868
|
|
|
2879
|
-
# Chat apps only. For a `SelectionInput` widget that uses a
|
|
2880
|
-
# data source from a Google Workspace
|
|
2881
|
-
#
|
|
2869
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
|
|
2870
|
+
# data source from a Google Workspace application. The data source populates
|
|
2871
|
+
# selection items for the multiselect menu.
|
|
2882
2872
|
class HostAppDataSourceMarkup
|
|
2883
2873
|
include Google::Apis::Core::Hashable
|
|
2884
2874
|
|
|
2885
|
-
# Chat apps only. For a `SelectionInput` widget that uses a
|
|
2886
|
-
# data source from Google Chat.
|
|
2887
|
-
#
|
|
2888
|
-
#
|
|
2875
|
+
# Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
|
|
2876
|
+
# data source from Google Chat. The data source populates selection items for
|
|
2877
|
+
# the multiselect menu. For example, a user can select Google Chat spaces that
|
|
2878
|
+
# they're a member of.
|
|
2889
2879
|
# Corresponds to the JSON property `chatDataSource`
|
|
2890
2880
|
# @return [Google::Apis::ChatV1::ChatClientDataSourceMarkup]
|
|
2891
2881
|
attr_accessor :chat_data_source
|
|
@@ -3860,14 +3850,13 @@ module Google
|
|
|
3860
3850
|
end
|
|
3861
3851
|
end
|
|
3862
3852
|
|
|
3863
|
-
# A data source
|
|
3864
|
-
#
|
|
3853
|
+
# A data source that populates Google Chat spaces as selection items for a
|
|
3854
|
+
# multiselect menu. Only populates spaces that the user is a member of.
|
|
3865
3855
|
class SpaceDataSource
|
|
3866
3856
|
include Google::Apis::Core::Hashable
|
|
3867
3857
|
|
|
3868
|
-
#
|
|
3869
|
-
#
|
|
3870
|
-
# workspace/preview).
|
|
3858
|
+
# If set to `true`, the multiselect menu selects the current Google Chat space
|
|
3859
|
+
# as an item by default.
|
|
3871
3860
|
# Corresponds to the JSON property `defaultToCurrentSpace`
|
|
3872
3861
|
# @return [Boolean]
|
|
3873
3862
|
attr_accessor :default_to_current_space
|
|
@@ -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.74.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 = "20231019"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -572,8 +572,7 @@ module Google
|
|
|
572
572
|
# authentication](https://developers.google.com/chat/api/guides/auth). Fully
|
|
573
573
|
# supports [service account authentication](https://developers.google.com/chat/
|
|
574
574
|
# api/guides/auth/service-accounts) and [user authentication](https://developers.
|
|
575
|
-
# google.com/chat/api/guides/auth/users).
|
|
576
|
-
# developers.google.com/chat/api/guides/auth/users).
|
|
575
|
+
# google.com/chat/api/guides/auth/users).
|
|
577
576
|
# @param [String] name
|
|
578
577
|
# Required. Resource name of the membership to retrieve. To get the app's own
|
|
579
578
|
# membership, you can optionally use `spaces/`space`/members/app`. Format: `
|
|
@@ -619,8 +618,7 @@ module Google
|
|
|
619
618
|
# Requires [authentication](https://developers.google.com/chat/api/guides/auth).
|
|
620
619
|
# Fully supports [service account authentication](https://developers.google.com/
|
|
621
620
|
# chat/api/guides/auth/service-accounts) and [user authentication](https://
|
|
622
|
-
# developers.google.com/chat/api/guides/auth/users).
|
|
623
|
-
# //developers.google.com/chat/api/guides/auth/users).
|
|
621
|
+
# developers.google.com/chat/api/guides/auth/users).
|
|
624
622
|
# @param [String] parent
|
|
625
623
|
# Required. The resource name of the space for which to fetch a membership list.
|
|
626
624
|
# Format: spaces/`space`
|
|
@@ -760,9 +758,8 @@ module Google
|
|
|
760
758
|
# https://developers.google.com/chat/api/guides/auth). Fully supports [service
|
|
761
759
|
# account authentication](https://developers.google.com/chat/api/guides/auth/
|
|
762
760
|
# service-accounts) and [user authentication](https://developers.google.com/chat/
|
|
763
|
-
# api/guides/auth/users).
|
|
764
|
-
#
|
|
765
|
-
# only delete messages created by the calling Chat app.
|
|
761
|
+
# api/guides/auth/users). Requests authenticated with service accounts can only
|
|
762
|
+
# delete messages created by the calling Chat app.
|
|
766
763
|
# @param [String] name
|
|
767
764
|
# Required. Resource name of the message that you want to delete, in the form `
|
|
768
765
|
# spaces/*/messages/*` Example: `spaces/AAAAAAAAAAA/messages/BBBBBBBBBBB.
|
|
@@ -806,9 +803,8 @@ module Google
|
|
|
806
803
|
# authentication](https://developers.google.com/chat/api/guides/auth). Fully
|
|
807
804
|
# supports [service account authentication](https://developers.google.com/chat/
|
|
808
805
|
# api/guides/auth/service-accounts) and [user authentication](https://developers.
|
|
809
|
-
# google.com/chat/api/guides/auth/users).
|
|
810
|
-
#
|
|
811
|
-
# message from a blocked member or space.
|
|
806
|
+
# google.com/chat/api/guides/auth/users). Note: Might return a message from a
|
|
807
|
+
# blocked member or space.
|
|
812
808
|
# @param [String] name
|
|
813
809
|
# Required. Resource name of the message to retrieve. Format: `spaces/`space`/
|
|
814
810
|
# messages/`message`` If the message begins with `client-`, then it has a custom
|
|
@@ -926,8 +922,7 @@ module Google
|
|
|
926
922
|
# messages/update). Requires [authentication](https://developers.google.com/chat/
|
|
927
923
|
# api/guides/auth). Fully supports [service account authentication](https://
|
|
928
924
|
# developers.google.com/chat/api/guides/auth/service-accounts) and [user
|
|
929
|
-
# authentication](https://developers.google.com/chat/api/guides/auth/users).
|
|
930
|
-
# User authentication](https://developers.google.com/chat/api/guides/auth/users).
|
|
925
|
+
# authentication](https://developers.google.com/chat/api/guides/auth/users).
|
|
931
926
|
# Requests authenticated with service accounts can only update messages created
|
|
932
927
|
# by the calling Chat app.
|
|
933
928
|
# @param [String] name
|
|
@@ -983,8 +978,7 @@ module Google
|
|
|
983
978
|
# messages/update). Requires [authentication](https://developers.google.com/chat/
|
|
984
979
|
# api/guides/auth). Fully supports [service account authentication](https://
|
|
985
980
|
# developers.google.com/chat/api/guides/auth/service-accounts) and [user
|
|
986
|
-
# authentication](https://developers.google.com/chat/api/guides/auth/users).
|
|
987
|
-
# User authentication](https://developers.google.com/chat/api/guides/auth/users).
|
|
981
|
+
# authentication](https://developers.google.com/chat/api/guides/auth/users).
|
|
988
982
|
# Requests authenticated with service accounts can only update messages created
|
|
989
983
|
# by the calling Chat app.
|
|
990
984
|
# @param [String] name
|
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.74.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-10-
|
|
11
|
+
date: 2023-10-29 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.74.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: []
|