Class SubscriptionsResource.ReactivateRequest
Developer Preview: 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. To learn how to use this method, see
Reactivate a Google Workspace
subscription.
Inheritance
SubscriptionsResource.ReactivateRequest
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()