Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.OperationsResource.WaitRequest

Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns google.rpc.Code.UNIMPLEMENTED. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Operation>
TranslateBaseServiceRequest<Operation>
ProjectsResource.LocationsResource.OperationsResource.WaitRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
TranslateBaseServiceRequest<Operation>.Xgafv
TranslateBaseServiceRequest<Operation>.AccessToken
TranslateBaseServiceRequest<Operation>.Alt
TranslateBaseServiceRequest<Operation>.Callback
TranslateBaseServiceRequest<Operation>.Fields
TranslateBaseServiceRequest<Operation>.Key
TranslateBaseServiceRequest<Operation>.OauthToken
TranslateBaseServiceRequest<Operation>.PrettyPrint
TranslateBaseServiceRequest<Operation>.QuotaUser
TranslateBaseServiceRequest<Operation>.UploadType
TranslateBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(String)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class WaitRequest : TranslateBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest

Constructors

WaitRequest(IClientService, WaitOperationRequest, String)

Constructs a new Wait request.

Declaration
public WaitRequest(IClientService service, WaitOperationRequest body, string name)
Parameters
Type Name Description
IClientService service
WaitOperationRequest body
System.String name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v3.Data.Operation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v3.Data.Operation>.MethodName

Name

The name of the operation resource to wait on.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v3.Data.Operation>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Translate.v3.Data.Operation>.GetBody()

InitParameters()

Initializes Wait parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Translate.v3.TranslateBaseServiceRequest<Google.Apis.Translate.v3.Data.Operation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top