Class SubscriptionsResource.ReactivateRequest
Reactivates a suspended Google Workspace subscription. This method resets your subscription's State field
to ACTIVE. Before you use this method, you must fix the error that suspended the subscription. This method
will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this
method, see Reactivate a Google Workspace
subscription. For a
subscription on a Chat target resource,
you can reactivate a subscription as: - A Chat app subscribing to space events where the app is a member by
specifying an 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. - Developer
Preview: A Chat app subscribing to all events in a Google
Workspace organization by specifying an authorization scope that begins with chat.app.all and getting
one-time administrator approval. To learn more, see Subscribe to all Google Chat events in a Workspace
organization. - A user
by specifying an authorization scope that doesn't include app in its name. To learn more, see Authorize
as a Chat user.
Inheritance
Inherited Members
Namespace: Google.Apis.WorkspaceEvents.v1
Assembly: Google.Apis.WorkspaceEvents.v1.dll
Syntax
public class SubscriptionsResource.ReactivateRequest : WorkspaceEventsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ReactivateRequest(IClientService, ReactivateSubscriptionRequest, string)
Constructs a new Reactivate request.
Declaration
public ReactivateRequest(IClientService service, ReactivateSubscriptionRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ReactivateSubscriptionRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. Resource name of the subscription. Format: subscriptions/{subscription}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Reactivate parameter list.
Declaration
protected override void InitParameters()