Class GlobalAddressesClientImpl (2.0.0)

public sealed class GlobalAddressesClientImpl : GlobalAddressesClient

GlobalAddresses client wrapper implementation, for convenient use.

Inheritance

Object > GlobalAddressesClient > GlobalAddressesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The GlobalAddresses API.

Constructors

GlobalAddressesClientImpl(GlobalAddresses.GlobalAddressesClient, GlobalAddressesSettings, ILogger)

public GlobalAddressesClientImpl(GlobalAddresses.GlobalAddressesClient grpcClient, GlobalAddressesSettings settings, ILogger logger)

Constructs a client wrapper for the GlobalAddresses service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient GlobalAddresses.GlobalAddressesClient

The underlying gRPC client.

settings GlobalAddressesSettings

The base GlobalAddressesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override GlobalAddresses.GlobalAddressesClient GrpcClient { get; }

The underlying gRPC GlobalAddresses client

Property Value
Type Description
GlobalAddresses.GlobalAddressesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteGlobalAddressRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteGlobalAddressRequest request, CallSettings callSettings = null)

Deletes the specified address resource.

Parameters
Name Description
request DeleteGlobalAddressRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteGlobalAddressRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteGlobalAddressRequest request, CallSettings callSettings = null)

Deletes the specified address resource.

Parameters
Name Description
request DeleteGlobalAddressRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Get(GetGlobalAddressRequest, CallSettings)

public override Address Get(GetGlobalAddressRequest request, CallSettings callSettings = null)

Returns the specified address resource. Gets a list of available addresses by making a list() request.

Parameters
Name Description
request GetGlobalAddressRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Address

The RPC response.

Overrides

GetAsync(GetGlobalAddressRequest, CallSettings)

public override Task<Address> GetAsync(GetGlobalAddressRequest request, CallSettings callSettings = null)

Returns the specified address resource. Gets a list of available addresses by making a list() request.

Parameters
Name Description
request GetGlobalAddressRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Address>

A Task containing the RPC response.

Overrides

Insert(InsertGlobalAddressRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertGlobalAddressRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request InsertGlobalAddressRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertGlobalAddressRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> InsertAsync(InsertGlobalAddressRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request InsertGlobalAddressRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

List(ListGlobalAddressesRequest, CallSettings)

public override PagedEnumerable<AddressList, Address> List(ListGlobalAddressesRequest request, CallSettings callSettings = null)

Retrieves a list of global addresses.

Parameters
Name Description
request ListGlobalAddressesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<AddressList, Address>

A pageable sequence of Address resources.

Overrides

ListAsync(ListGlobalAddressesRequest, CallSettings)

public override PagedAsyncEnumerable<AddressList, Address> ListAsync(ListGlobalAddressesRequest request, CallSettings callSettings = null)

Retrieves a list of global addresses.

Parameters
Name Description
request ListGlobalAddressesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<AddressList, Address>

A pageable asynchronous sequence of Address resources.

Overrides