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
Inherited Members
Namespace: Google.Apis.CloudRun.v2
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class ProjectsResource.LocationsResource.OperationsResource.WaitRequest : CloudRunBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
WaitRequest(IClientService, GoogleLongrunningWaitOperationRequest, string)
Constructs a new Wait request.
Declaration
public WaitRequest(IClientService service, GoogleLongrunningWaitOperationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleLongrunningWaitOperationRequest | 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
The name of the operation resource to wait on.
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 Wait parameter list.
Declaration
protected override void InitParameters()