public sealed class GlobalAddressesClientImpl : GlobalAddressesClient
Reference documentation and code samples for the Compute Engine v1 API class GlobalAddressesClientImpl.
GlobalAddresses client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The GlobalAddresses API.
Constructors
GlobalAddressesClientImpl(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 |
GlobalAddressesGlobalAddressesClient 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 |
GrpcClient
public override GlobalAddresses.GlobalAddressesClient GrpcClient { get; }
The underlying gRPC GlobalAddresses client
Property Value | |
---|---|
Type | Description |
GlobalAddressesGlobalAddressesClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
MoveOperationsClient
public override OperationsClient MoveOperationsClient { get; }
The long-running operations client for Move
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
SetLabelsOperationsClient
public override OperationsClient SetLabelsOperationsClient { get; }
The long-running operations client for SetLabels
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 |
OperationOperationOperation |
The RPC response. |
DeleteAsync(DeleteGlobalAddressRequest, CallSettings)
public override 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 |
TaskOperationOperationOperation |
A Task containing the RPC response. |
Get(GetGlobalAddressRequest, CallSettings)
public override Address Get(GetGlobalAddressRequest request, CallSettings callSettings = null)
Returns the specified address resource.
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. |
GetAsync(GetGlobalAddressRequest, CallSettings)
public override Task<Address> GetAsync(GetGlobalAddressRequest request, CallSettings callSettings = null)
Returns the specified address resource.
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 |
TaskAddress |
A Task containing the RPC response. |
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 |
OperationOperationOperation |
The RPC response. |
InsertAsync(InsertGlobalAddressRequest, CallSettings)
public override 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 |
TaskOperationOperationOperation |
A Task containing the RPC response. |
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 |
PagedEnumerableAddressListAddress |
A pageable sequence of Address resources. |
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 |
PagedAsyncEnumerableAddressListAddress |
A pageable asynchronous sequence of Address resources. |
Move(MoveGlobalAddressRequest, CallSettings)
public override Operation<Operation, Operation> Move(MoveGlobalAddressRequest request, CallSettings callSettings = null)
Moves the specified address resource from one project to another project.
Parameters | |
---|---|
Name | Description |
request |
MoveGlobalAddressRequest 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 |
OperationOperationOperation |
The RPC response. |
MoveAsync(MoveGlobalAddressRequest, CallSettings)
public override Task<Operation<Operation, Operation>> MoveAsync(MoveGlobalAddressRequest request, CallSettings callSettings = null)
Moves the specified address resource from one project to another project.
Parameters | |
---|---|
Name | Description |
request |
MoveGlobalAddressRequest 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 |
TaskOperationOperationOperation |
A Task containing the RPC response. |
SetLabels(SetLabelsGlobalAddressRequest, CallSettings)
public override Operation<Operation, Operation> SetLabels(SetLabelsGlobalAddressRequest request, CallSettings callSettings = null)
Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request |
SetLabelsGlobalAddressRequest 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 |
OperationOperationOperation |
The RPC response. |
SetLabelsAsync(SetLabelsGlobalAddressRequest, CallSettings)
public override Task<Operation<Operation, Operation>> SetLabelsAsync(SetLabelsGlobalAddressRequest request, CallSettings callSettings = null)
Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request |
SetLabelsGlobalAddressRequest 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 |
TaskOperationOperationOperation |
A Task containing the RPC response. |