public class GlobalOrganizationOperationsClient : ClientBase<GlobalOrganizationOperations.GlobalOrganizationOperationsClient>
Reference documentation and code samples for the Compute Engine v1 API class GlobalOrganizationOperations.GlobalOrganizationOperationsClient.
Client for GlobalOrganizationOperations
Inheritance
Object > ClientBase > ClientBase<GlobalOrganizationOperations.GlobalOrganizationOperationsClient> > 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(ClientBase.ClientBaseConfiguration)
protected GlobalOrganizationOperationsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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, Nullable<DateTime>, CancellationToken)
public virtual DeleteGlobalOrganizationOperationResponse Delete(DeleteGlobalOrganizationOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<DeleteGlobalOrganizationOperationResponse> | The call object. |
DeleteAsync(DeleteGlobalOrganizationOperationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<DeleteGlobalOrganizationOperationResponse> DeleteAsync(DeleteGlobalOrganizationOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<DeleteGlobalOrganizationOperationResponse> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Get(GetGlobalOrganizationOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
GetAsync(GetGlobalOrganizationOperationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> GetAsync(GetGlobalOrganizationOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual OperationList List(ListGlobalOrganizationOperationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<OperationList> | The call object. |
ListAsync(ListGlobalOrganizationOperationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<OperationList> ListAsync(ListGlobalOrganizationOperationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<OperationList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override GlobalOrganizationOperations.GlobalOrganizationOperationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
GlobalOrganizationOperations.GlobalOrganizationOperationsClient |