Class FormsResource.WatchesResource.RenewRequest
Renew an existing watch for seven days. The state of the watch after renewal is ACTIVE, and the
expire_time is seven days from the renewal. Renewing a watch in an error state (e.g. SUSPENDED)
succeeds if the error is no longer present, but fail otherwise. After a watch has expired, RenewWatch
returns NOT_FOUND.
Inheritance
FormsResource.WatchesResource.RenewRequest
  Inherited Members
Namespace: Google.Apis.Forms.v1
Assembly: Google.Apis.Forms.v1.dll
Syntax
public class FormsResource.WatchesResource.RenewRequest : FormsBaseServiceRequest<Watch>, IClientServiceRequest<Watch>, IClientServiceRequestConstructors
RenewRequest(IClientService, RenewWatchRequest, string, string)
Constructs a new Renew request.
Declaration
public RenewRequest(IClientService service, RenewWatchRequest body, string formId, string watchId)Parameters
| Type | Name | Description | 
|---|---|---|
| IClientService | service | |
| RenewWatchRequest | body | |
| string | formId | |
| string | watchId | 
Properties
FormId
Required. The ID of the Form.
Declaration
[RequestParameter("formId", RequestParameterType.Path)]
public virtual string FormId { get; }Property Value
| Type | Description | 
|---|---|
| string | 
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
WatchId
Required. The ID of the Watch to renew.
Declaration
[RequestParameter("watchId", RequestParameterType.Path)]
public virtual string WatchId { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()Returns
| Type | Description | 
|---|---|
| object | 
Overrides
InitParameters()
Initializes Renew parameter list.
Declaration
protected override void InitParameters()