public class AddressesClient : ClientBase<Addresses.AddressesClient>Client for Addresses
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
AddressesClient(ChannelBase)
public AddressesClient(ChannelBase channel)Creates a new client for Addresses
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
AddressesClient(ClientBase.ClientBaseConfiguration)
protected AddressesClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
AggregatedList(AggregatedListAddressesRequest, CallOptions)
public virtual AddressAggregatedList AggregatedList(AggregatedListAddressesRequest request, CallOptions options)Retrieves an aggregated list of addresses.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListAddressesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
AggregatedListAddressesRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
AggregatedListAddressesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
AggregatedListAddressesRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteAddressRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteAddressRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteAddressRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteAddressRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
Get(GetAddressRequest, CallOptions)
public virtual Address Get(GetAddressRequest request, CallOptions options)Returns the specified address resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAddressRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetAddressRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetAddressRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetAddressRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
InsertAddressRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
InsertAddressRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
InsertAddressRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
InsertAddressRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListAddressesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListAddressesRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListAddressesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListAddressesRequestThe request to send to the server. |
headers |
MetadataThe 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 |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
Addresses.AddressesClient |
|