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

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.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(ClientBaseConfiguration)

protected GlobalOrganizationOperationsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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, DateTime?, CancellationToken)

public virtual DeleteGlobalOrganizationOperationResponse Delete(DeleteGlobalOrganizationOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
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
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, 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
NameDescription
requestGetGlobalOrganizationOperationRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
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
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, 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
NameDescription
requestListGlobalOrganizationOperationsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperationList

The call object.

NewInstance(ClientBaseConfiguration)

protected override GlobalOrganizationOperations.GlobalOrganizationOperationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
GlobalOrganizationOperationsGlobalOrganizationOperationsClient
Overrides