Compute Engine v1 API - Class GlobalOrganizationOperations.GlobalOrganizationOperationsClient (2.6.0)

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.GlobalOrganizationOperationsClient

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GlobalOrganizationOperationsClient(ChannelBase)

public GlobalOrganizationOperationsClient(ChannelBase channel)

Creates a new client for GlobalOrganizationOperations

Parameter
NameDescription
channelChannelBase

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
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

Delete(DeleteGlobalOrganizationOperationRequest, CallOptions)

public virtual DeleteGlobalOrganizationOperationResponse Delete(DeleteGlobalOrganizationOperationRequest request, CallOptions options)

Deletes the specified Operations resource.

Parameters
NameDescription
requestDeleteGlobalOrganizationOperationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteGlobalOrganizationOperationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteGlobalOrganizationOperationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteGlobalOrganizationOperationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetGlobalOrganizationOperationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetGlobalOrganizationOperationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetGlobalOrganizationOperationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetGlobalOrganizationOperationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListGlobalOrganizationOperationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListGlobalOrganizationOperationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListGlobalOrganizationOperationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListGlobalOrganizationOperationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
GlobalOrganizationOperations.GlobalOrganizationOperationsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.GlobalOrganizationOperations.GlobalOrganizationOperationsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)