google-apps-chat-v1 0.30.0 → 0.31.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82e44eb41d89298b54847475f8c4a372cae31a76c22855d9d02ca680708baa3d
|
|
4
|
+
data.tar.gz: bcbf3f99a16577c6f038d26be4b3820315a85147fafe2f0d7f6b014f92b8c3d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c794fc2bfcba3224e7037d497f1e38d47120e20fddaa325b452eb5238834c1f8fca2ed26da1acde0bdf6c2c9a9432be471a9c8fdb6608992f9cd2fab58506c2d
|
|
7
|
+
data.tar.gz: 197997f895a62333a292c0dae55518dc7bafbd6b01ca36de74c72cf994f500a37391b11f07126246fc8a29101660c13b2a037c63f56fd0e04c06d7daa65d37f5
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
descriptor_data = "\n\x19google/chat/v1/user.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\"\
|
|
10
|
+
descriptor_data = "\n\x19google/chat/v1/user.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xe5\x01\n\x04User\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\navatar_url\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x65mail\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\tdomain_id\x18\x06 \x01(\t\x12\'\n\x04type\x18\x05 \x01(\x0e\x32\x19.google.chat.v1.User.Type\x12\x19\n\x0cis_anonymous\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\"0\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05HUMAN\x10\x01\x12\x07\n\x03\x42OT\x10\x02\x42\xa2\x01\n\x12\x63om.google.chat.v1B\tUserProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
|
|
11
11
|
|
|
12
12
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -42,9 +42,11 @@ module Google
|
|
|
42
42
|
# Optional. The Google Chat user or app the membership corresponds to.
|
|
43
43
|
# If your Chat app [authenticates as a
|
|
44
44
|
# user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
|
|
45
|
-
# the output populates the
|
|
45
|
+
# the output only populates the
|
|
46
46
|
# [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
|
|
47
|
-
# `name` and `type
|
|
47
|
+
# `name` and `type` fields for both internal and external users, unless
|
|
48
|
+
# they are members of the space or have a prior affinity, like a direct
|
|
49
|
+
# message (DM) conversation, with the calling user.
|
|
48
50
|
#
|
|
49
51
|
# Note: The following fields are mutually exclusive: `member`, `group_member`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
50
52
|
# @!attribute [rw] group_member
|
|
@@ -44,9 +44,11 @@ module Google
|
|
|
44
44
|
# Output only. The user who created the message.
|
|
45
45
|
# If your Chat app [authenticates as a
|
|
46
46
|
# user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
|
|
47
|
-
# the output populates the
|
|
47
|
+
# the output only populates the
|
|
48
48
|
# [user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
|
|
49
|
-
# `name` and `type
|
|
49
|
+
# `name` and `type` fields for both internal and external users, unless they
|
|
50
|
+
# are members of the space or have a prior affinity, like a direct message
|
|
51
|
+
# (DM) conversation, with the calling user.
|
|
50
52
|
# @!attribute [rw] create_time
|
|
51
53
|
# @return [::Google::Protobuf::Timestamp]
|
|
52
54
|
# Optional. Immutable. For spaces created in Chat, the time at which the
|
|
@@ -21,11 +21,12 @@ module Google
|
|
|
21
21
|
module Apps
|
|
22
22
|
module Chat
|
|
23
23
|
module V1
|
|
24
|
-
#
|
|
25
|
-
# When returned as an output from a request, if your Chat app [authenticates as
|
|
26
|
-
# a
|
|
24
|
+
# If your Chat app [authenticates as a
|
|
27
25
|
# user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
|
|
28
|
-
# the output for a `User` resource
|
|
26
|
+
# the output for a `User` resource (such as in the Messages and Memberships
|
|
27
|
+
# APIs) only populates the `name` and `type` fields for both internal and
|
|
28
|
+
# external users, unless they are members of the space or have prior affinity
|
|
29
|
+
# with the calling user.
|
|
29
30
|
# @!attribute [rw] name
|
|
30
31
|
# @return [::String]
|
|
31
32
|
# Resource name for a Google Chat {::Google::Apps::Chat::V1::User user}.
|
|
@@ -53,6 +54,36 @@ module Google
|
|
|
53
54
|
# @!attribute [r] display_name
|
|
54
55
|
# @return [::String]
|
|
55
56
|
# Output only. The user's display name.
|
|
57
|
+
#
|
|
58
|
+
# Populated for both app authentication and user authentication.
|
|
59
|
+
# This field is always populated for requests made with [app
|
|
60
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
|
|
61
|
+
# When calling the Messages and Memberships APIs with [user
|
|
62
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
|
|
63
|
+
# this field is populated for both internal and external users for the
|
|
64
|
+
# `sender` of a message, users within `annotations` (such as user
|
|
65
|
+
# mentions), and within `Membership` resources, provided the user is a
|
|
66
|
+
# member of the space or has prior affinity with the calling user.
|
|
67
|
+
# @!attribute [r] avatar_url
|
|
68
|
+
# @return [::String]
|
|
69
|
+
# Output only. The user's avatar image URL.
|
|
70
|
+
#
|
|
71
|
+
# When calling the Messages and Memberships APIs with [user
|
|
72
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
|
|
73
|
+
# this field is populated for both internal and external users for the
|
|
74
|
+
# `sender` of a message, users within `annotations` (such as user
|
|
75
|
+
# mentions), and within `Membership` resources, provided the user is a
|
|
76
|
+
# member of the space or has prior affinity with the calling user.
|
|
77
|
+
# @!attribute [r] email
|
|
78
|
+
# @return [::String]
|
|
79
|
+
# Output only. The user's email address.
|
|
80
|
+
#
|
|
81
|
+
# When calling the Messages and Memberships APIs with [user
|
|
82
|
+
# authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user),
|
|
83
|
+
# this field is populated for both internal and external users for the
|
|
84
|
+
# `sender` of a message, users within `annotations` (such as user
|
|
85
|
+
# mentions), and within `Membership` resources, provided the user is a
|
|
86
|
+
# member of the space or has prior affinity with the calling user.
|
|
56
87
|
# @!attribute [rw] domain_id
|
|
57
88
|
# @return [::String]
|
|
58
89
|
# Unique identifier of the user's Google Workspace domain.
|
|
@@ -62,7 +93,8 @@ module Google
|
|
|
62
93
|
# @!attribute [r] is_anonymous
|
|
63
94
|
# @return [::Boolean]
|
|
64
95
|
# Output only. When `true`, the user is deleted or their profile is not
|
|
65
|
-
# visible
|
|
96
|
+
# visible, such as when a user is mentioned in a space without being a member
|
|
97
|
+
# and without prior affinity with the calling user.
|
|
66
98
|
class User
|
|
67
99
|
include ::Google::Protobuf::MessageExts
|
|
68
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|