Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<Watch>
FormsBaseServiceRequest<Watch>
FormsResource.WatchesResource.RenewRequest
Implements
IClientServiceRequest<Watch>
IClientServiceRequest
Inherited Members
FormsBaseServiceRequest<Watch>.Xgafv
FormsBaseServiceRequest<Watch>.AccessToken
FormsBaseServiceRequest<Watch>.Alt
FormsBaseServiceRequest<Watch>.Callback
FormsBaseServiceRequest<Watch>.Fields
FormsBaseServiceRequest<Watch>.Key
FormsBaseServiceRequest<Watch>.OauthToken
FormsBaseServiceRequest<Watch>.PrettyPrint
FormsBaseServiceRequest<Watch>.QuotaUser
FormsBaseServiceRequest<Watch>.UploadType
FormsBaseServiceRequest<Watch>.UploadProtocol
ClientServiceRequest<Watch>.Execute()
ClientServiceRequest<Watch>.ExecuteAsStream()
ClientServiceRequest<Watch>.ExecuteAsync()
ClientServiceRequest<Watch>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Watch>.ExecuteAsStreamAsync()
ClientServiceRequest<Watch>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Watch>.CreateRequest(bool?)
ClientServiceRequest<Watch>.GenerateRequestUri()
ClientServiceRequest<Watch>.GetDefaultETagAction(string)
ClientServiceRequest<Watch>.ETagAction
ClientServiceRequest<Watch>.ModifyRequest
ClientServiceRequest<Watch>.ValidateParameters
ClientServiceRequest<Watch>.ApiVersion
ClientServiceRequest<Watch>.RequestParameters
ClientServiceRequest<Watch>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Forms.v1
Assembly: Google.Apis.Forms.v1.dll
Syntax
public class FormsResource.WatchesResource.RenewRequest : FormsBaseServiceRequest<Watch>, IClientServiceRequest<Watch>, IClientServiceRequest

Constructors

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
ClientServiceRequest<Watch>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Watch>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Watch>.RestPath

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
ClientServiceRequest<Watch>.GetBody()

InitParameters()

Initializes Renew parameter list.

Declaration
protected override void InitParameters()
Overrides
FormsBaseServiceRequest<Watch>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX