public sealed class AddressesClientImpl : AddressesClient
Addresses client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The Addresses API.
Constructors
AddressesClientImpl(Addresses.AddressesClient, AddressesSettings)
public AddressesClientImpl(Addresses.AddressesClient grpcClient, AddressesSettings settings)
Constructs a client wrapper for the Addresses service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | Addresses.AddressesClient The underlying gRPC client. |
settings | AddressesSettings The base AddressesSettings used within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override Addresses.AddressesClient GrpcClient { get; }
The underlying gRPC Addresses client
Property Value | |
---|---|
Type | Description |
Addresses.AddressesClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
AggregatedList(AggregatedListAddressesRequest, CallSettings)
public override PagedEnumerable<AddressAggregatedList, KeyValuePair<string, AddressesScopedList>> AggregatedList(AggregatedListAddressesRequest request, CallSettings callSettings = null)
Retrieves an aggregated list of addresses.
Parameters | |
---|---|
Name | Description |
request | AggregatedListAddressesRequest 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<AddressAggregatedList, KeyValuePair<String, AddressesScopedList>> | A pageable sequence of KeyValuePair<TKey,TValue> resources. |
AggregatedListAsync(AggregatedListAddressesRequest, CallSettings)
public override PagedAsyncEnumerable<AddressAggregatedList, KeyValuePair<string, AddressesScopedList>> AggregatedListAsync(AggregatedListAddressesRequest request, CallSettings callSettings = null)
Retrieves an aggregated list of addresses.
Parameters | |
---|---|
Name | Description |
request | AggregatedListAddressesRequest 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<AddressAggregatedList, KeyValuePair<String, AddressesScopedList>> | A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources. |
Delete(DeleteAddressRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteAddressRequest request, CallSettings callSettings = null)
Deletes the specified address resource.
Parameters | |
---|---|
Name | Description |
request | DeleteAddressRequest 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. |
DeleteAsync(DeleteAddressRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteAddressRequest request, CallSettings callSettings = null)
Deletes the specified address resource.
Parameters | |
---|---|
Name | Description |
request | DeleteAddressRequest 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. |
Get(GetAddressRequest, CallSettings)
public override Address Get(GetAddressRequest request, CallSettings callSettings = null)
Returns the specified address resource.
Parameters | |
---|---|
Name | Description |
request | GetAddressRequest 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. |
GetAsync(GetAddressRequest, CallSettings)
public override Task<Address> GetAsync(GetAddressRequest request, CallSettings callSettings = null)
Returns the specified address resource.
Parameters | |
---|---|
Name | Description |
request | GetAddressRequest 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. |
Insert(InsertAddressRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertAddressRequest request, CallSettings callSettings = null)
Creates an address resource in the specified project by using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertAddressRequest 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. |
InsertAsync(InsertAddressRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertAddressRequest request, CallSettings callSettings = null)
Creates an address resource in the specified project by using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertAddressRequest 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. |
List(ListAddressesRequest, CallSettings)
public override PagedEnumerable<AddressList, Address> List(ListAddressesRequest request, CallSettings callSettings = null)
Retrieves a list of addresses contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListAddressesRequest 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. |
ListAsync(ListAddressesRequest, CallSettings)
public override PagedAsyncEnumerable<AddressList, Address> ListAsync(ListAddressesRequest request, CallSettings callSettings = null)
Retrieves a list of addresses contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListAddressesRequest 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. |