google-apis-chat_v1 0.148.0 → 0.149.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 +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/chat_v1/classes.rb +19 -15
- data/lib/google/apis/chat_v1/gem_version.rb +3 -3
- data/lib/google/apis/chat_v1/representations.rb +1 -0
- data/lib/google/apis/chat_v1/service.rb +60 -45
- 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: 2aedfbf1c6b3d1fc132d1538a517f01c24ca6aecfb9f448495c2d3686caf8b25
|
|
4
|
+
data.tar.gz: 1a93ac08861808090ba2bc440d52a9d2c41294776c3a4e0a0d9ff5a353e647d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d09ab92a5e027b7634204dc5517757bf6d54634da00ae77c3f55c2d6388acd691a7e9f392f2b71c0aa088467ab159eaff3c777d0a9f70a5748b6f71f6f64378b
|
|
7
|
+
data.tar.gz: 22174968827440265357f1671f24422f5ae69f5825f0faa3f207c14e446dc132442eeab0ab88a622911796d81281e01ec4b2c5bb64c97989f55241608e2d004f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-chat_v1
|
|
2
2
|
|
|
3
|
+
### v0.149.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260607
|
|
6
|
+
* Regenerated using generator version 0.19.0
|
|
7
|
+
|
|
3
8
|
### v0.148.0 (2026-05-17)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20260510
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/workspace/chat) may pr
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -4954,6 +4954,13 @@ module Google
|
|
|
4954
4954
|
class Membership
|
|
4955
4955
|
include Google::Apis::Core::Hashable
|
|
4956
4956
|
|
|
4957
|
+
# Output only. A user's relationship to the Workspace organization that owns the
|
|
4958
|
+
# space. In spaces owned by consumer accounts, the affiliation of all members is
|
|
4959
|
+
# `EXTERNAL`.
|
|
4960
|
+
# Corresponds to the JSON property `affiliation`
|
|
4961
|
+
# @return [String]
|
|
4962
|
+
attr_accessor :affiliation
|
|
4963
|
+
|
|
4957
4964
|
# Optional. Immutable. The creation time of the membership, such as when a
|
|
4958
4965
|
# member joined or was invited to join a space. This field is output only,
|
|
4959
4966
|
# except when used to import historical memberships in import mode spaces.
|
|
@@ -5005,6 +5012,7 @@ module Google
|
|
|
5005
5012
|
|
|
5006
5013
|
# Update properties of this object
|
|
5007
5014
|
def update!(**args)
|
|
5015
|
+
@affiliation = args[:affiliation] if args.key?(:affiliation)
|
|
5008
5016
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
5009
5017
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
5010
5018
|
@group_member = args[:group_member] if args.key?(:group_member)
|
|
@@ -5324,13 +5332,10 @@ module Google
|
|
|
5324
5332
|
# @return [Google::Apis::ChatV1::User]
|
|
5325
5333
|
attr_accessor :private_message_viewer
|
|
5326
5334
|
|
|
5327
|
-
# Information about a message that another message quotes. When you
|
|
5328
|
-
# message, you can
|
|
5329
|
-
#
|
|
5330
|
-
#
|
|
5331
|
-
# the `quotedMessageMetadata` field, but you can remove it. For example usage,
|
|
5332
|
-
# see [Quote another message](https://developers.google.com/workspace/chat/
|
|
5333
|
-
# create-messages#quote-a-message).
|
|
5335
|
+
# Information about a message that another message quotes. When you update a
|
|
5336
|
+
# message, you can't add or replace the `quotedMessageMetadata` field, but you
|
|
5337
|
+
# can remove it. For example usage, see [Quote another message](https://
|
|
5338
|
+
# developers.google.com/workspace/chat/create-messages#quote-a-message).
|
|
5334
5339
|
# Corresponds to the JSON property `quotedMessageMetadata`
|
|
5335
5340
|
# @return [Google::Apis::ChatV1::QuotedMessageMetadata]
|
|
5336
5341
|
attr_accessor :quoted_message_metadata
|
|
@@ -5788,13 +5793,10 @@ module Google
|
|
|
5788
5793
|
end
|
|
5789
5794
|
end
|
|
5790
5795
|
|
|
5791
|
-
# Information about a message that another message quotes. When you
|
|
5792
|
-
# message, you can
|
|
5793
|
-
#
|
|
5794
|
-
#
|
|
5795
|
-
# the `quotedMessageMetadata` field, but you can remove it. For example usage,
|
|
5796
|
-
# see [Quote another message](https://developers.google.com/workspace/chat/
|
|
5797
|
-
# create-messages#quote-a-message).
|
|
5796
|
+
# Information about a message that another message quotes. When you update a
|
|
5797
|
+
# message, you can't add or replace the `quotedMessageMetadata` field, but you
|
|
5798
|
+
# can remove it. For example usage, see [Quote another message](https://
|
|
5799
|
+
# developers.google.com/workspace/chat/create-messages#quote-a-message).
|
|
5798
5800
|
class QuotedMessageMetadata
|
|
5799
5801
|
include Google::Apis::Core::Hashable
|
|
5800
5802
|
|
|
@@ -6070,7 +6072,9 @@ module Google
|
|
|
6070
6072
|
# @return [String]
|
|
6071
6073
|
attr_accessor :next_page_token
|
|
6072
6074
|
|
|
6073
|
-
# A page of the
|
|
6075
|
+
# Deprecated: Please use the new `results` field instead. A page of the
|
|
6076
|
+
# requested spaces. This field will be populated only when `useAdminAccess` is
|
|
6077
|
+
# set to `true` and deprecated in favor of the new `results` field.
|
|
6074
6078
|
# Corresponds to the JSON property `spaces`
|
|
6075
6079
|
# @return [Array<Google::Apis::ChatV1::Space>]
|
|
6076
6080
|
attr_accessor :spaces
|
|
@@ -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.149.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260607"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2219,6 +2219,7 @@ module Google
|
|
|
2219
2219
|
class Membership
|
|
2220
2220
|
# @private
|
|
2221
2221
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2222
|
+
property :affiliation, as: 'affiliation'
|
|
2222
2223
|
property :create_time, as: 'createTime'
|
|
2223
2224
|
property :delete_time, as: 'deleteTime'
|
|
2224
2225
|
property :group_member, as: 'groupMember', class: Google::Apis::ChatV1::Group, decorator: Google::Apis::ChatV1::Group::Representation
|
|
@@ -832,27 +832,36 @@ module Google
|
|
|
832
832
|
execute_or_queue_command(command, &block)
|
|
833
833
|
end
|
|
834
834
|
|
|
835
|
-
# Returns a list of spaces in a Google Workspace organization
|
|
836
|
-
#
|
|
837
|
-
#
|
|
838
|
-
#
|
|
839
|
-
# administrator privileges
|
|
840
|
-
#
|
|
841
|
-
#
|
|
842
|
-
# authenticate-authorize
|
|
843
|
-
#
|
|
835
|
+
# Returns a list of spaces in a Google Workspace organization. For an example,
|
|
836
|
+
# see [Search for and manage spaces](https://developers.google.com/workspace/
|
|
837
|
+
# chat/search-manage-admin). When `use_admin_access` is set to `false`, the
|
|
838
|
+
# results are limited to spaces where the calling user is a joined member. To
|
|
839
|
+
# search with administrator privileges, set `use_admin_access` to `true`.
|
|
840
|
+
# Supports the following types of [authentication](https://developers.google.com/
|
|
841
|
+
# workspace/chat/authenticate-authorize): - [User authentication](https://
|
|
842
|
+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
|
|
843
|
+
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
|
|
844
|
+
# chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - [User
|
|
845
|
+
# authentication with administrator privileges](https://developers.google.com/
|
|
846
|
+
# workspace/chat/authenticate-authorize-chat-user#admin-privileges) and one of
|
|
847
|
+
# the following [authorization scopes](https://developers.google.com/workspace/
|
|
848
|
+
# chat/authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/
|
|
849
|
+
# auth/chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.
|
|
844
850
|
# spaces`
|
|
845
851
|
# @param [String] order_by
|
|
846
852
|
# Optional. How the list of spaces is ordered. Supported attributes to order by
|
|
847
853
|
# are: - `membership_count.joined_direct_human_user_count` — Denotes the count
|
|
848
854
|
# of human users that have directly joined a space. - `last_active_time` —
|
|
849
855
|
# Denotes the time when last eligible item is added to any topic of this space. -
|
|
850
|
-
# `create_time` — Denotes the time of the space creation.
|
|
851
|
-
#
|
|
852
|
-
#
|
|
853
|
-
#
|
|
856
|
+
# `create_time` — Denotes the time of the space creation. When `useAdminAccess`
|
|
857
|
+
# is `false`, only `create_time` and `relevance` are supported for ordering.
|
|
858
|
+
# Only `DESC` is supported for these fields in non-admin searches. Valid
|
|
859
|
+
# ordering operation values are: - `ASC` for ascending. Default value. - `DESC`
|
|
860
|
+
# for descending. The supported syntax are when `useAdminAccess` is set to `true`
|
|
861
|
+
# : - `membership_count.joined_direct_human_user_count DESC` - `membership_count.
|
|
854
862
|
# joined_direct_human_user_count ASC` - `last_active_time DESC` - `
|
|
855
|
-
# last_active_time ASC` - `create_time DESC` - `create_time ASC`
|
|
863
|
+
# last_active_time ASC` - `create_time DESC` - `create_time ASC` When `
|
|
864
|
+
# useAdminAccess` is set to `false`: - `create_time DESC` - `relevance DESC`
|
|
856
865
|
# @param [Fixnum] page_size
|
|
857
866
|
# The maximum number of spaces to return. The service may return fewer than this
|
|
858
867
|
# value. If unspecified, at most 100 spaces are returned. The maximum value is
|
|
@@ -863,34 +872,38 @@ module Google
|
|
|
863
872
|
# provided should match the call that provided the page token. Passing different
|
|
864
873
|
# values to the other parameters might lead to unexpected results.
|
|
865
874
|
# @param [String] query
|
|
866
|
-
# Required. A search query. You can search by using the following parameters
|
|
867
|
-
# `
|
|
868
|
-
#
|
|
869
|
-
#
|
|
870
|
-
#
|
|
871
|
-
#
|
|
872
|
-
#
|
|
873
|
-
#
|
|
874
|
-
#
|
|
875
|
-
#
|
|
876
|
-
#
|
|
877
|
-
#
|
|
878
|
-
# `
|
|
879
|
-
#
|
|
880
|
-
#
|
|
881
|
-
#
|
|
882
|
-
# `
|
|
883
|
-
#
|
|
884
|
-
#
|
|
885
|
-
#
|
|
886
|
-
#
|
|
887
|
-
#
|
|
888
|
-
#
|
|
889
|
-
#
|
|
890
|
-
#
|
|
891
|
-
#
|
|
892
|
-
#
|
|
893
|
-
#
|
|
875
|
+
# Required. A search query. You can search by using the following parameters
|
|
876
|
+
# when `useAdminAccess` is set to `true`: - `create_time` - `customer` - `
|
|
877
|
+
# display_name` - `external_user_allowed` - `last_active_time` - `
|
|
878
|
+
# space_history_state` - `space_type` When `useAdminAccess` is set to `false`: -
|
|
879
|
+
# `display_name` - `external_user_allowed` `create_time` and `last_active_time`
|
|
880
|
+
# accept a timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339)
|
|
881
|
+
# format and the supported comparison operators are: `=`, `<`, `>`, `<=`, `>=`. `
|
|
882
|
+
# customer` is required and is used to indicate which customer to fetch spaces
|
|
883
|
+
# from. `customers/my_customer` is the only supported value. `display_name` only
|
|
884
|
+
# accepts the `HAS` (`:`) operator. The text to match is first tokenized into
|
|
885
|
+
# tokens and each token is prefix-matched case-insensitively and independently
|
|
886
|
+
# as a substring anywhere in the space's `display_name`. For example, `Fun Eve`
|
|
887
|
+
# matches `Fun event` or `The evening was fun`, but not `notFun event` or `even`.
|
|
888
|
+
# When `useAdminAccess` is set to `false`, `display_name` is required to
|
|
889
|
+
# retrieve meaningful results. Otherwise, the default behavior is to return an
|
|
890
|
+
# empty response. `external_user_allowed` accepts either `true` or `false`. `
|
|
891
|
+
# space_history_state` only accepts values from the [`historyState`] (https://
|
|
892
|
+
# developers.google.com/workspace/chat/api/reference/rest/v1/spaces#Space.
|
|
893
|
+
# HistoryState) field of a `space` resource. `space_type` is required and the
|
|
894
|
+
# only valid value is `SPACE`. Across different fields, only `AND` operators are
|
|
895
|
+
# supported. A valid example is `space_type = "SPACE" AND display_name:"Hello"`
|
|
896
|
+
# and an invalid example is `space_type = "SPACE" OR display_name:"Hello"`.
|
|
897
|
+
# Among the same field, `space_type` doesn't support `AND` or `OR` operators. `
|
|
898
|
+
# display_name`, 'space_history_state', and 'external_user_allowed' only support
|
|
899
|
+
# `OR` operators. `last_active_time` and `create_time` support both `AND` and `
|
|
900
|
+
# OR` operators. `AND` can only be used to represent an interval, such as `
|
|
901
|
+
# last_active_time < "2022-01-01T00:00:00+00:00" AND last_active_time > "2023-01-
|
|
902
|
+
# 01T00:00:00+00:00"`. The following example queries are valid when `
|
|
903
|
+
# useAdminAccess` is set to `true`: ``` customer = "customers/my_customer" AND
|
|
904
|
+
# space_type = "SPACE" customer = "customers/my_customer" AND space_type = "
|
|
905
|
+
# SPACE" AND display_name:"Hello World" customer = "customers/my_customer" AND
|
|
906
|
+
# space_type = "SPACE" AND (last_active_time < "2020-01-01T00:00:00+00:00" OR
|
|
894
907
|
# last_active_time > "2022-01-01T00:00:00+00:00") customer = "customers/
|
|
895
908
|
# my_customer" AND space_type = "SPACE" AND (display_name:"Hello World" OR
|
|
896
909
|
# display_name:"Fun event") AND (last_active_time > "2020-01-01T00:00:00+00:00"
|
|
@@ -898,15 +911,17 @@ module Google
|
|
|
898
911
|
# my_customer" AND space_type = "SPACE" AND (create_time > "2019-01-01T00:00:00+
|
|
899
912
|
# 00:00" AND create_time < "2020-01-01T00:00:00+00:00") AND (
|
|
900
913
|
# external_user_allowed = "true") AND (space_history_state = "HISTORY_ON" OR
|
|
901
|
-
# space_history_state = "HISTORY_OFF") ```
|
|
914
|
+
# space_history_state = "HISTORY_OFF") ``` The following example queries are
|
|
915
|
+
# valid when `useAdminAccess` is set to `false`: ``` display_name:"Hello World" (
|
|
916
|
+
# display_name:"Hello" OR display_name:"Fun") (external_user_allowed = "true") (
|
|
917
|
+
# external_user_allowed = "true" AND display_name:"Hello") ```
|
|
902
918
|
# @param [Boolean] use_admin_access
|
|
903
919
|
# When `true`, the method runs using the user's Google Workspace administrator
|
|
904
920
|
# privileges. The calling user must be a Google Workspace administrator with the
|
|
905
921
|
# [manage chat and spaces conversations privilege](https://support.google.com/a/
|
|
906
922
|
# answer/13369245). Requires either the `chat.admin.spaces.readonly` or `chat.
|
|
907
923
|
# admin.spaces` [OAuth 2.0 scope](https://developers.google.com/workspace/chat/
|
|
908
|
-
# authenticate-authorize#chat-api-scopes).
|
|
909
|
-
# admin access, thus only `true` is accepted for this field.
|
|
924
|
+
# authenticate-authorize#chat-api-scopes).
|
|
910
925
|
# @param [String] fields
|
|
911
926
|
# Selector specifying which fields to include in a partial response.
|
|
912
927
|
# @param [String] quota_user
|
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.149.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.149.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:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|