google-apis-chat_v1 0.78.0 → 0.79.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a702296607cd995889c57350c52870f07ed77c2c12b980bf170f0a859be23fd5
|
4
|
+
data.tar.gz: 015a944c88836dae6b7f3021f30182f941af4aad42272203f6e5b9e018bc5c89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2604e44d9bf6f8f4a4420990e1a997ee72a63707d62441cd45c55daac312fbd73ca5a84184f24ebe6560f5c5a8b791800e1d01ffc257f515b7442e92f2013b45
|
7
|
+
data.tar.gz: 4250a8375dfb185238b4e0ae30fdf771b551e1b7d294494cc4814d5f418f0c5911b85c998c3abf4bb911823e21d9f8b6f5af63bc4ee9986f09585d7a0b35d7c8
|
data/CHANGELOG.md
CHANGED
@@ -2873,6 +2873,27 @@ module Google
|
|
2873
2873
|
end
|
2874
2874
|
end
|
2875
2875
|
|
2876
|
+
# A Google Group in Google Chat.
|
2877
|
+
class Group
|
2878
|
+
include Google::Apis::Core::Hashable
|
2879
|
+
|
2880
|
+
# Resource name for a Google Group. Represents a [group](https://cloud.google.
|
2881
|
+
# com/identity/docs/reference/rest/v1/groups) in Cloud Identity Groups API.
|
2882
|
+
# Format: groups/`group`
|
2883
|
+
# Corresponds to the JSON property `name`
|
2884
|
+
# @return [String]
|
2885
|
+
attr_accessor :name
|
2886
|
+
|
2887
|
+
def initialize(**args)
|
2888
|
+
update!(**args)
|
2889
|
+
end
|
2890
|
+
|
2891
|
+
# Update properties of this object
|
2892
|
+
def update!(**args)
|
2893
|
+
@name = args[:name] if args.key?(:name)
|
2894
|
+
end
|
2895
|
+
end
|
2896
|
+
|
2876
2897
|
# Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a
|
2877
2898
|
# data source from a Google Workspace application. The data source populates
|
2878
2899
|
# selection items for the multiselect menu.
|
@@ -3235,12 +3256,19 @@ module Google
|
|
3235
3256
|
class Membership
|
3236
3257
|
include Google::Apis::Core::Hashable
|
3237
3258
|
|
3238
|
-
#
|
3239
|
-
# or was invited to join a space.
|
3259
|
+
# Optional. Immutable. The creation time of the membership, such as when a
|
3260
|
+
# member joined or was invited to join a space. [Developer Preview](https://
|
3261
|
+
# developers.google.com/workspace/preview): This field is output only, except
|
3262
|
+
# when used to import historical memberships in import mode spaces.
|
3240
3263
|
# Corresponds to the JSON property `createTime`
|
3241
3264
|
# @return [String]
|
3242
3265
|
attr_accessor :create_time
|
3243
3266
|
|
3267
|
+
# A Google Group in Google Chat.
|
3268
|
+
# Corresponds to the JSON property `groupMember`
|
3269
|
+
# @return [Google::Apis::ChatV1::Group]
|
3270
|
+
attr_accessor :group_member
|
3271
|
+
|
3244
3272
|
# A user in Google Chat. When returned as an output from a request, if your Chat
|
3245
3273
|
# app [authenticates as a user](https://developers.google.com/chat/api/guides/
|
3246
3274
|
# auth/users), the output for a `User` resource only populates the user's `name`
|
@@ -3274,6 +3302,7 @@ module Google
|
|
3274
3302
|
# Update properties of this object
|
3275
3303
|
def update!(**args)
|
3276
3304
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3305
|
+
@group_member = args[:group_member] if args.key?(:group_member)
|
3277
3306
|
@member = args[:member] if args.key?(:member)
|
3278
3307
|
@name = args[:name] if args.key?(:name)
|
3279
3308
|
@role = args[:role] if args.key?(:role)
|
@@ -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.79.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 = "20231130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -388,6 +388,12 @@ module Google
|
|
388
388
|
include Google::Apis::Core::JsonObjectSupport
|
389
389
|
end
|
390
390
|
|
391
|
+
class Group
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
391
397
|
class HostAppDataSourceMarkup
|
392
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
399
|
|
@@ -1293,6 +1299,13 @@ module Google
|
|
1293
1299
|
end
|
1294
1300
|
end
|
1295
1301
|
|
1302
|
+
class Group
|
1303
|
+
# @private
|
1304
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1305
|
+
property :name, as: 'name'
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1296
1309
|
class HostAppDataSourceMarkup
|
1297
1310
|
# @private
|
1298
1311
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1406,6 +1419,8 @@ module Google
|
|
1406
1419
|
# @private
|
1407
1420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1408
1421
|
property :create_time, as: 'createTime'
|
1422
|
+
property :group_member, as: 'groupMember', class: Google::Apis::ChatV1::Group, decorator: Google::Apis::ChatV1::Group::Representation
|
1423
|
+
|
1409
1424
|
property :member, as: 'member', class: Google::Apis::ChatV1::User, decorator: Google::Apis::ChatV1::User::Representation
|
1410
1425
|
|
1411
1426
|
property :name, as: 'name'
|
@@ -646,6 +646,10 @@ module Google
|
|
646
646
|
# other parameters provided should match the call that provided the page token.
|
647
647
|
# Passing different values to the other parameters might lead to unexpected
|
648
648
|
# results.
|
649
|
+
# @param [Boolean] show_groups
|
650
|
+
# Optional. When `true`, also returns memberships associated with a Google Group,
|
651
|
+
# in addition to other types of memberships. If a filter is set, Google Group
|
652
|
+
# memberships that don't match the filter criteria aren't returned.
|
649
653
|
# @param [Boolean] show_invited
|
650
654
|
# Optional. When `true`, also returns memberships associated with invited
|
651
655
|
# members, in addition to other types of memberships. If a filter is set,
|
@@ -669,7 +673,7 @@ module Google
|
|
669
673
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
670
674
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
671
675
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
672
|
-
def list_space_members(parent, filter: nil, page_size: nil, page_token: nil, show_invited: nil, fields: nil, quota_user: nil, options: nil, &block)
|
676
|
+
def list_space_members(parent, filter: nil, page_size: nil, page_token: nil, show_groups: nil, show_invited: nil, fields: nil, quota_user: nil, options: nil, &block)
|
673
677
|
command = make_simple_command(:get, 'v1/{+parent}/members', options)
|
674
678
|
command.response_representation = Google::Apis::ChatV1::ListMembershipsResponse::Representation
|
675
679
|
command.response_class = Google::Apis::ChatV1::ListMembershipsResponse
|
@@ -677,6 +681,7 @@ module Google
|
|
677
681
|
command.query['filter'] = filter unless filter.nil?
|
678
682
|
command.query['pageSize'] = page_size unless page_size.nil?
|
679
683
|
command.query['pageToken'] = page_token unless page_token.nil?
|
684
|
+
command.query['showGroups'] = show_groups unless show_groups.nil?
|
680
685
|
command.query['showInvited'] = show_invited unless show_invited.nil?
|
681
686
|
command.query['fields'] = fields unless fields.nil?
|
682
687
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
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.79.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-12-
|
11
|
+
date: 2023-12-10 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.79.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: []
|