Represents an Operations
Inheritance
$protobuf.rpc.Service > protos.google.longrunning.OperationsPackage
@google-cloud/security-private-caConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new Operations service.
| Name | Description | 
| rpcImpl | 
          $protobuf.RPCImpl
          RPC implementation  | 
      
| requestDelimited | 
          boolean
          Whether requests are length-delimited  | 
      
| responseDelimited | 
          boolean
          Whether responses are length-delimited  | 
      
Methods
cancelOperation(request, callback)
public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;Calls CancelOperation.
| Name | Description | 
| request | 
          ICancelOperationRequest
          CancelOperationRequest message or plain object  | 
      
| callback | 
          google.longrunning.Operations.CancelOperationCallback
          Node-style callback called with the error, if any, and Empty  | 
      
| Type | Description | 
| void | 
cancelOperation(request)
public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise<google.protobuf.Empty>;Calls CancelOperation.
| Name | Description | 
| request | 
          ICancelOperationRequest
          CancelOperationRequest message or plain object  | 
      
| Type | Description | 
| Promise<google.protobuf.Empty> | Promise  | 
      
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;Creates new Operations service using the specified rpc implementation.
| Name | Description | 
| rpcImpl | 
          $protobuf.RPCImpl
          RPC implementation  | 
      
| requestDelimited | 
          boolean
          Whether requests are length-delimited  | 
      
| responseDelimited | 
          boolean
          Whether responses are length-delimited  | 
      
| Type | Description | 
| Operations | RPC service. Useful where requests and/or responses are streamed.  | 
      
deleteOperation(request, callback)
public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;Calls DeleteOperation.
| Name | Description | 
| request | 
          IDeleteOperationRequest
          DeleteOperationRequest message or plain object  | 
      
| callback | 
          google.longrunning.Operations.DeleteOperationCallback
          Node-style callback called with the error, if any, and Empty  | 
      
| Type | Description | 
| void | 
deleteOperation(request)
public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise<google.protobuf.Empty>;Calls DeleteOperation.
| Name | Description | 
| request | 
          IDeleteOperationRequest
          DeleteOperationRequest message or plain object  | 
      
| Type | Description | 
| Promise<google.protobuf.Empty> | Promise  | 
      
getOperation(request, callback)
public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;Calls GetOperation.
| Name | Description | 
| request | 
          IGetOperationRequest
          GetOperationRequest message or plain object  | 
      
| callback | 
          google.longrunning.Operations.GetOperationCallback
          Node-style callback called with the error, if any, and Operation  | 
      
| Type | Description | 
| void | 
getOperation(request)
public getOperation(request: google.longrunning.IGetOperationRequest): Promise<google.longrunning.Operation>;Calls GetOperation.
| Name | Description | 
| request | 
          IGetOperationRequest
          GetOperationRequest message or plain object  | 
      
| Type | Description | 
| Promise<google.longrunning.Operation> | Promise  | 
      
listOperations(request, callback)
public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;Calls ListOperations.
| Name | Description | 
| request | 
          IListOperationsRequest
          ListOperationsRequest message or plain object  | 
      
| callback | 
          google.longrunning.Operations.ListOperationsCallback
          Node-style callback called with the error, if any, and ListOperationsResponse  | 
      
| Type | Description | 
| void | 
listOperations(request)
public listOperations(request: google.longrunning.IListOperationsRequest): Promise<google.longrunning.ListOperationsResponse>;Calls ListOperations.
| Name | Description | 
| request | 
          IListOperationsRequest
          ListOperationsRequest message or plain object  | 
      
| Type | Description | 
| Promise<google.longrunning.ListOperationsResponse> | Promise  | 
      
waitOperation(request, callback)
public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;Calls WaitOperation.
| Name | Description | 
| request | 
          google.longrunning.IWaitOperationRequest
          WaitOperationRequest message or plain object  | 
      
| callback | 
          google.longrunning.Operations.WaitOperationCallback
          Node-style callback called with the error, if any, and Operation  | 
      
| Type | Description | 
| void | 
waitOperation(request)
public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise<google.longrunning.Operation>;Calls WaitOperation.
| Name | Description | 
| request | 
          google.longrunning.IWaitOperationRequest
          WaitOperationRequest message or plain object  | 
      
| Type | Description | 
| Promise<google.longrunning.Operation> | Promise  |