[BindServiceMethod(typeof(Addresses), "BindService")]
public abstract class Addresses.AddressesBaseReference documentation and code samples for the Compute Engine v1 API class Addresses.AddressesBase.
Base class for server-side implementations of Addresses
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListAddressesRequest, ServerCallContext)
public virtual Task<AddressAggregatedList> AggregatedList(AggregatedListAddressesRequest request, ServerCallContext context)Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListAddressesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAddressAggregatedList |
The response to send back to the client (wrapped by a task). |
Delete(DeleteAddressRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteAddressRequest request, ServerCallContext context)Deletes the specified address resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAddressRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
Get(GetAddressRequest, ServerCallContext)
public virtual Task<Address> Get(GetAddressRequest request, ServerCallContext context)Returns the specified address resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAddressRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAddress |
The response to send back to the client (wrapped by a task). |
Insert(InsertAddressRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertAddressRequest request, ServerCallContext context)Creates an address resource in the specified project by using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertAddressRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
List(ListAddressesRequest, ServerCallContext)
public virtual Task<AddressList> List(ListAddressesRequest request, ServerCallContext context)Retrieves a list of addresses contained within the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAddressesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAddressList |
The response to send back to the client (wrapped by a task). |
Move(MoveAddressRequest, ServerCallContext)
public virtual Task<Operation> Move(MoveAddressRequest request, ServerCallContext context)Moves the specified address resource.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveAddressRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
SetLabels(SetLabelsAddressRequest, ServerCallContext)
public virtual Task<Operation> SetLabels(SetLabelsAddressRequest request, ServerCallContext context)Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLabelsAddressRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsAddressRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsAddressRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsAddressRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
The response to send back to the client (wrapped by a task). |