Class Addresses.AddressesClient (2.1.0)

public class AddressesClient : ClientBase<Addresses.AddressesClient>

Client for Addresses

Inheritance

Object > ClientBase > ClientBase<Addresses.AddressesClient> > Addresses.AddressesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

AddressesClient()

protected AddressesClient()

Protected parameterless constructor to allow creation of test doubles.

AddressesClient(CallInvoker)

public AddressesClient(CallInvoker callInvoker)

Creates a new client for Addresses that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AddressesClient(ChannelBase)

public AddressesClient(ChannelBase channel)

Creates a new client for Addresses

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AddressesClient(ClientBase.ClientBaseConfiguration)

protected AddressesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

AggregatedList(AggregatedListAddressesRequest, CallOptions)

public virtual AddressAggregatedList AggregatedList(AggregatedListAddressesRequest request, CallOptions options)

Retrieves an aggregated list of addresses.

Parameters
NameDescription
requestAggregatedListAddressesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AddressAggregatedList

The response received from the server.

AggregatedList(AggregatedListAddressesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AddressAggregatedList AggregatedList(AggregatedListAddressesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves an aggregated list of addresses.

Parameters
NameDescription
requestAggregatedListAddressesRequest

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
AddressAggregatedList

The response received from the server.

AggregatedListAsync(AggregatedListAddressesRequest, CallOptions)

public virtual AsyncUnaryCall<AddressAggregatedList> AggregatedListAsync(AggregatedListAddressesRequest request, CallOptions options)

Retrieves an aggregated list of addresses.

Parameters
NameDescription
requestAggregatedListAddressesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AddressAggregatedList>

The call object.

AggregatedListAsync(AggregatedListAddressesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AddressAggregatedList> AggregatedListAsync(AggregatedListAddressesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves an aggregated list of addresses.

Parameters
NameDescription
requestAggregatedListAddressesRequest

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<AddressAggregatedList>

The call object.

CreateOperationsClientForRegionOperations()

public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

Delete(DeleteAddressRequest, CallOptions)

public virtual Operation Delete(DeleteAddressRequest request, CallOptions options)

Deletes the specified address resource.

Parameters
NameDescription
requestDeleteAddressRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteAddressRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes the specified address resource.

Parameters
NameDescription
requestDeleteAddressRequest

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.

DeleteAsync(DeleteAddressRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteAddressRequest request, CallOptions options)

Deletes the specified address resource.

Parameters
NameDescription
requestDeleteAddressRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteAddressRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteAddressRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified address resource.

Parameters
NameDescription
requestDeleteAddressRequest

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.

Get(GetAddressRequest, CallOptions)

public virtual Address Get(GetAddressRequest request, CallOptions options)

Returns the specified address resource.

Parameters
NameDescription
requestGetAddressRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Address

The response received from the server.

Get(GetAddressRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Address Get(GetAddressRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns the specified address resource.

Parameters
NameDescription
requestGetAddressRequest

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
Address

The response received from the server.

GetAsync(GetAddressRequest, CallOptions)

public virtual AsyncUnaryCall<Address> GetAsync(GetAddressRequest request, CallOptions options)

Returns the specified address resource.

Parameters
NameDescription
requestGetAddressRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Address>

The call object.

GetAsync(GetAddressRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Address> GetAsync(GetAddressRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Returns the specified address resource.

Parameters
NameDescription
requestGetAddressRequest

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<Address>

The call object.

Insert(InsertAddressRequest, CallOptions)

public virtual Operation Insert(InsertAddressRequest request, CallOptions options)

Creates an address resource in the specified project by using the data included in the request.

Parameters
NameDescription
requestInsertAddressRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertAddressRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Insert(InsertAddressRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an address resource in the specified project by using the data included in the request.

Parameters
NameDescription
requestInsertAddressRequest

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.

InsertAsync(InsertAddressRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertAddressRequest request, CallOptions options)

Creates an address resource in the specified project by using the data included in the request.

Parameters
NameDescription
requestInsertAddressRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertAddressRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertAddressRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an address resource in the specified project by using the data included in the request.

Parameters
NameDescription
requestInsertAddressRequest

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(ListAddressesRequest, CallOptions)

public virtual AddressList List(ListAddressesRequest request, CallOptions options)

Retrieves a list of addresses contained within the specified region.

Parameters
NameDescription
requestListAddressesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AddressList

The response received from the server.

List(ListAddressesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AddressList List(ListAddressesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves a list of addresses contained within the specified region.

Parameters
NameDescription
requestListAddressesRequest

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
AddressList

The response received from the server.

ListAsync(ListAddressesRequest, CallOptions)

public virtual AsyncUnaryCall<AddressList> ListAsync(ListAddressesRequest request, CallOptions options)

Retrieves a list of addresses contained within the specified region.

Parameters
NameDescription
requestListAddressesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AddressList>

The call object.

ListAsync(ListAddressesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AddressList> ListAsync(ListAddressesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves a list of addresses contained within the specified region.

Parameters
NameDescription
requestListAddressesRequest

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<AddressList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override Addresses.AddressesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
Addresses.AddressesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.Addresses.AddressesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)