Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions src/WorkspaceEvents/Resource/Subscriptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ class Subscriptions extends \Google\Service\Resource
* subscription). For a subscription on a [Chat target
* resource](https://developers.google.com/workspace/events/guides/events-chat),
* you can create a subscription as: - A Chat app by specifying an authorization
* scope that begins with `chat.app` and getting one-time administrator approval
* ([Developer Preview](https://developers.google.com/workspace/preview)). To
* learn more, see [Authorize as a Chat app with administrator
* scope that begins with `chat.app` and getting one-time administrator
* approval. To learn more, see [Authorize as a Chat app with administrator
* approval](https://developers.google.com/workspace/chat/authenticate-
* authorize-chat-app). - A user by specifying an authorization scope that
* doesn't include `app` in its name. To learn more, see [Authorize as a Chat
Expand Down Expand Up @@ -153,9 +152,8 @@ public function listSubscriptions($optParams = [])
* subscription). For a subscription on a [Chat target
* resource](https://developers.google.com/workspace/events/guides/events-chat),
* you can update a subscription as: - A Chat app by specifying an authorization
* scope that begins with `chat.app` andgetting one-time administrator approval
* ([Developer Preview](https://developers.google.com/workspace/preview)). To
* learn more, see [Authorize as a Chat app with administrator
* scope that begins with `chat.app` and getting one-time administrator
* approval. To learn more, see [Authorize as a Chat app with administrator
* approval](https://developers.google.com/workspace/chat/authenticate-
* authorize-chat-app). - A user by specifying an authorization scope that
* doesn't include `app` in its name. To learn more, see [Authorize as a Chat
Expand Down Expand Up @@ -195,10 +193,9 @@ public function patch($name, Subscription $postBody, $optParams = [])
* subscription). For a subscription on a [Chat target
* resource](https://developers.google.com/workspace/events/guides/events-chat),
* you can reactivate a subscription as: - A Chat app by specifying an
* authorization scope that begins with `chat.app` andgetting one-time
* administrator approval ([Developer
* Preview](https://developers.google.com/workspace/preview)). To learn more,
* see [Authorize as a Chat app with administrator
* authorization scope that begins with `chat.app` and getting one-time
* administrator approval. To learn more, see [Authorize as a Chat app with
* administrator
* approval](https://developers.google.com/workspace/chat/authenticate-
* authorize-chat-app). - A user by specifying an authorization scope that
* doesn't include `app` in its name. To learn more, see [Authorize as a Chat
Expand Down
22 changes: 8 additions & 14 deletions src/WorkspaceEvents/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ class Subscription extends \Google\Collection
public const SUSPENSION_REASON_USER_SCOPE_REVOKED = 'USER_SCOPE_REVOKED';
/**
* The domain administrator has revoked the grant of one or more OAuth scopes
* for the app. [Developer
* Preview](https://developers.google.com/workspace/preview).
* for the app.
*/
public const SUSPENSION_REASON_APP_SCOPE_REVOKED = 'APP_SCOPE_REVOKED';
/**
Expand All @@ -66,8 +65,7 @@ class Subscription extends \Google\Collection
public const SUSPENSION_REASON_USER_AUTHORIZATION_FAILURE = 'USER_AUTHORIZATION_FAILURE';
/**
* The app that authorized the creation of the subscription no longer has
* access to the subscription's target resource. [Developer
* Preview](https://developers.google.com/workspace/preview).
* access to the subscription's target resource.
*/
public const SUSPENSION_REASON_APP_AUTHORIZATION_FAILURE = 'APP_AUTHORIZATION_FAILURE';
/**
Expand Down Expand Up @@ -162,9 +160,8 @@ class Subscription extends \Google\Collection
/**
* Output only. The service account that was used to authorize the creation of
* the subscription. This service account must be owned by the same Google
* Cloud project where you create this subscription. Format:
* `projects/{project_id}/serviceAccounts/{service_account_id}` [Developer
* Preview](https://developers.google.com/workspace/preview).
* Cloud project where you created this subscription. Format:
* `projects/{project_id}/serviceAccounts/{service_account_id}`
*
* @var string
*/
Expand Down Expand Up @@ -223,8 +220,7 @@ class Subscription extends \Google\Collection
* user must be able to view the `target_resource`. For Google Workspace
* users, the `{user}` value is the [`user.id`](https://developers.google.com/
* workspace/admin/directory/reference/rest/v1/users#User.FIELDS.id) field
* from the Directory API. Format: `users/{user}` [Developer
* Preview](https://developers.google.com/workspace/preview).
* from the Directory API. Format: `users/{user}`
*
* @var string
*/
Expand Down Expand Up @@ -401,9 +397,8 @@ public function getReconciling()
/**
* Output only. The service account that was used to authorize the creation of
* the subscription. This service account must be owned by the same Google
* Cloud project where you create this subscription. Format:
* `projects/{project_id}/serviceAccounts/{service_account_id}` [Developer
* Preview](https://developers.google.com/workspace/preview).
* Cloud project where you created this subscription. Format:
* `projects/{project_id}/serviceAccounts/{service_account_id}`
*
* @param string $serviceAccountAuthority
*/
Expand Down Expand Up @@ -539,8 +534,7 @@ public function getUpdateTime()
* user must be able to view the `target_resource`. For Google Workspace
* users, the `{user}` value is the [`user.id`](https://developers.google.com/
* workspace/admin/directory/reference/rest/v1/users#User.FIELDS.id) field
* from the Directory API. Format: `users/{user}` [Developer
* Preview](https://developers.google.com/workspace/preview).
* from the Directory API. Format: `users/{user}`
*
* @param string $userAuthority
*/
Expand Down
Loading