public class GlobalOrganizationOperations.GlobalOrganizationOperationsClient : ClientBase<GlobalOrganizationOperations.GlobalOrganizationOperationsClient>
Reference documentation and code samples for the Compute Engine v1 API class GlobalOrganizationOperations.GlobalOrganizationOperationsClient.
Client for GlobalOrganizationOperations
Inheritance
object > ClientBase > ClientBaseGlobalOrganizationOperationsGlobalOrganizationOperationsClient > GlobalOrganizationOperations.GlobalOrganizationOperationsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
GlobalOrganizationOperationsClient()
protected GlobalOrganizationOperationsClient()
Protected parameterless constructor to allow creation of test doubles.
GlobalOrganizationOperationsClient(CallInvoker)
public GlobalOrganizationOperationsClient(CallInvoker callInvoker)
Creates a new client for GlobalOrganizationOperations that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
GlobalOrganizationOperationsClient(ChannelBase)
public GlobalOrganizationOperationsClient(ChannelBase channel)
Creates a new client for GlobalOrganizationOperations
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
GlobalOrganizationOperationsClient(ClientBaseConfiguration)
protected GlobalOrganizationOperationsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
Delete(DeleteGlobalOrganizationOperationRequest, CallOptions)
public virtual DeleteGlobalOrganizationOperationResponse Delete(DeleteGlobalOrganizationOperationRequest request, CallOptions options)
Deletes the specified Operations resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteGlobalOrganizationOperationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
DeleteGlobalOrganizationOperationResponse |
The response received from the server. |
Delete(DeleteGlobalOrganizationOperationRequest, Metadata, DateTime?, CancellationToken)
public virtual DeleteGlobalOrganizationOperationResponse Delete(DeleteGlobalOrganizationOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified Operations resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteGlobalOrganizationOperationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
DeleteGlobalOrganizationOperationResponse |
The response received from the server. |
DeleteAsync(DeleteGlobalOrganizationOperationRequest, CallOptions)
public virtual AsyncUnaryCall<DeleteGlobalOrganizationOperationResponse> DeleteAsync(DeleteGlobalOrganizationOperationRequest request, CallOptions options)
Deletes the specified Operations resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteGlobalOrganizationOperationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallDeleteGlobalOrganizationOperationResponse |
The call object. |
DeleteAsync(DeleteGlobalOrganizationOperationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<DeleteGlobalOrganizationOperationResponse> DeleteAsync(DeleteGlobalOrganizationOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified Operations resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteGlobalOrganizationOperationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallDeleteGlobalOrganizationOperationResponse |
The call object. |
Get(GetGlobalOrganizationOperationRequest, CallOptions)
public virtual Operation Get(GetGlobalOrganizationOperationRequest request, CallOptions options)
Retrieves the specified Operations resource. Gets a list of operations by making a list()
request.
Parameters | |
---|---|
Name | Description |
request |
GetGlobalOrganizationOperationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
Get(GetGlobalOrganizationOperationRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Get(GetGlobalOrganizationOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the specified Operations resource. Gets a list of operations by making a list()
request.
Parameters | |
---|---|
Name | Description |
request |
GetGlobalOrganizationOperationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
GetAsync(GetGlobalOrganizationOperationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> GetAsync(GetGlobalOrganizationOperationRequest request, CallOptions options)
Retrieves the specified Operations resource. Gets a list of operations by making a list()
request.
Parameters | |
---|---|
Name | Description |
request |
GetGlobalOrganizationOperationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetAsync(GetGlobalOrganizationOperationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> GetAsync(GetGlobalOrganizationOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the specified Operations resource. Gets a list of operations by making a list()
request.
Parameters | |
---|---|
Name | Description |
request |
GetGlobalOrganizationOperationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
List(ListGlobalOrganizationOperationsRequest, CallOptions)
public virtual OperationList List(ListGlobalOrganizationOperationsRequest request, CallOptions options)
Retrieves a list of Operation resources contained within the specified organization.
Parameters | |
---|---|
Name | Description |
request |
ListGlobalOrganizationOperationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
OperationList |
The response received from the server. |
List(ListGlobalOrganizationOperationsRequest, Metadata, DateTime?, CancellationToken)
public virtual OperationList List(ListGlobalOrganizationOperationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of Operation resources contained within the specified organization.
Parameters | |
---|---|
Name | Description |
request |
ListGlobalOrganizationOperationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
OperationList |
The response received from the server. |
ListAsync(ListGlobalOrganizationOperationsRequest, CallOptions)
public virtual AsyncUnaryCall<OperationList> ListAsync(ListGlobalOrganizationOperationsRequest request, CallOptions options)
Retrieves a list of Operation resources contained within the specified organization.
Parameters | |
---|---|
Name | Description |
request |
ListGlobalOrganizationOperationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperationList |
The call object. |
ListAsync(ListGlobalOrganizationOperationsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<OperationList> ListAsync(ListGlobalOrganizationOperationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of Operation resources contained within the specified organization.
Parameters | |
---|---|
Name | Description |
request |
ListGlobalOrganizationOperationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperationList |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override GlobalOrganizationOperations.GlobalOrganizationOperationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
GlobalOrganizationOperationsGlobalOrganizationOperationsClient |