Skip to content

Commit 7976a3a

Browse files
1 parent cab4445 commit 7976a3a

1 file changed

Lines changed: 31 additions & 10 deletions

File tree

src/HangoutsChat/Resource/SpacesSpaceEvents.php

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,21 @@ class SpacesSpaceEvents extends \Google\Service\Resource
3838
* the message was later updated, the server returns the updated `Message`
3939
* resource in the event payload. Note: The `permissionSettings` field is not
4040
* returned in the Space object of the Space event data for this request.
41-
* Requires [user
42-
* authentication](https://developers.google.com/workspace/chat/authenticate-
43-
* authorize-chat-user) with an [authorization
41+
* Supports the following types of
42+
* [authentication](https://developers.google.com/workspace/chat/authenticate-
43+
* authorize) with an [authorization
4444
* scope](https://developers.google.com/workspace/chat/authenticate-
45-
* authorize#chat-api-scopes) appropriate for reading the requested data: -
45+
* authorize#chat-api-scopes) appropriate for reading the requested data: - [App
46+
* authentication](https://developers.google.com/workspace/chat/authenticate-
47+
* authorize-chat-app) with [administrator
48+
* approval](https://support.google.com/a?p=chat-app-auth) in [Developer
49+
* Preview](https://developers.google.com/workspace/preview) with one of the
50+
* following authorization scopes: -
51+
* `https://www.googleapis.com/auth/chat.app.spaces` -
52+
* `https://www.googleapis.com/auth/chat.app.messages.readonly` -
53+
* `https://www.googleapis.com/auth/chat.app.memberships` - [User
54+
* authentication](https://developers.google.com/workspace/chat/authenticate-
55+
* authorize-chat-user) with one of the following authorization scopes: -
4656
* `https://www.googleapis.com/auth/chat.spaces.readonly` -
4757
* `https://www.googleapis.com/auth/chat.spaces` -
4858
* `https://www.googleapis.com/auth/chat.messages.readonly` -
@@ -51,7 +61,7 @@ class SpacesSpaceEvents extends \Google\Service\Resource
5161
* `https://www.googleapis.com/auth/chat.messages.reactions` -
5262
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
5363
* `https://www.googleapis.com/auth/chat.memberships` To get an event, the
54-
* authenticated user must be a member of the space. For an example, see [Get
64+
* authenticated caller must be a member of the space. For an example, see [Get
5565
* details about an event from a Google Chat
5666
* space](https://developers.google.com/workspace/chat/get-space-event).
5767
* (spaceEvents.get)
@@ -75,11 +85,22 @@ public function get($name, $optParams = [])
7585
* Chat resource. For example, if you list events about new space members, the
7686
* server returns `Membership` resources that contain the latest membership
7787
* details. If new members were removed during the requested period, the event
78-
* payload contains an empty `Membership` resource. Requires [user
79-
* authentication](https://developers.google.com/workspace/chat/authenticate-
80-
* authorize-chat-user) with an [authorization
88+
* payload contains an empty `Membership` resource. Supports the following types
89+
* of
90+
* [authentication](https://developers.google.com/workspace/chat/authenticate-
91+
* authorize) with an [authorization
8192
* scope](https://developers.google.com/workspace/chat/authenticate-
82-
* authorize#chat-api-scopes) appropriate for reading the requested data: -
93+
* authorize#chat-api-scopes) appropriate for reading the requested data: - [App
94+
* authentication](https://developers.google.com/workspace/chat/authenticate-
95+
* authorize-chat-app) with [administrator
96+
* approval](https://support.google.com/a?p=chat-app-auth) in [Developer
97+
* Preview](https://developers.google.com/workspace/preview) with one of the
98+
* following authorization scopes: -
99+
* `https://www.googleapis.com/auth/chat.app.spaces` -
100+
* `https://www.googleapis.com/auth/chat.app.messages.readonly` -
101+
* `https://www.googleapis.com/auth/chat.app.memberships` - [User
102+
* authentication](https://developers.google.com/workspace/chat/authenticate-
103+
* authorize-chat-user) with one of the following authorization scopes: -
83104
* `https://www.googleapis.com/auth/chat.spaces.readonly` -
84105
* `https://www.googleapis.com/auth/chat.spaces` -
85106
* `https://www.googleapis.com/auth/chat.messages.readonly` -
@@ -88,7 +109,7 @@ public function get($name, $optParams = [])
88109
* `https://www.googleapis.com/auth/chat.messages.reactions` -
89110
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
90111
* `https://www.googleapis.com/auth/chat.memberships` To list events, the
91-
* authenticated user must be a member of the space. For an example, see [List
112+
* authenticated caller must be a member of the space. For an example, see [List
92113
* events from a Google Chat
93114
* space](https://developers.google.com/workspace/chat/list-space-events).
94115
* (spaceEvents.listSpacesSpaceEvents)

0 commit comments

Comments
 (0)