[BindServiceMethod(typeof(AddressGroupService), "BindService")]
public abstract class AddressGroupService.AddressGroupServiceBaseReference documentation and code samples for the Network Security v1 API class AddressGroupService.AddressGroupServiceBase.
Base class for server-side implementations of AddressGroupService
Namespace
Google.Cloud.NetworkSecurity.V1Assembly
Google.Cloud.NetworkSecurity.V1.dll
Methods
AddAddressGroupItems(AddAddressGroupItemsRequest, ServerCallContext)
public virtual Task<Operation> AddAddressGroupItems(AddAddressGroupItemsRequest request, ServerCallContext context)Adds items to an address group.
| Parameters | |
|---|---|
| Name | Description |
request |
AddAddressGroupItemsRequestThe 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). |
CloneAddressGroupItems(CloneAddressGroupItemsRequest, ServerCallContext)
public virtual Task<Operation> CloneAddressGroupItems(CloneAddressGroupItemsRequest request, ServerCallContext context)Clones items from one address group to another.
| Parameters | |
|---|---|
| Name | Description |
request |
CloneAddressGroupItemsRequestThe 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). |
CreateAddressGroup(CreateAddressGroupRequest, ServerCallContext)
public virtual Task<Operation> CreateAddressGroup(CreateAddressGroupRequest request, ServerCallContext context)Creates a new address group in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAddressGroupRequestThe 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). |
DeleteAddressGroup(DeleteAddressGroupRequest, ServerCallContext)
public virtual Task<Operation> DeleteAddressGroup(DeleteAddressGroupRequest request, ServerCallContext context)Deletes a single address group.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAddressGroupRequestThe 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). |
GetAddressGroup(GetAddressGroupRequest, ServerCallContext)
public virtual Task<AddressGroup> GetAddressGroup(GetAddressGroupRequest request, ServerCallContext context)Gets details of a single address group.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAddressGroupRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAddressGroup |
The response to send back to the client (wrapped by a task). |
ListAddressGroupReferences(ListAddressGroupReferencesRequest, ServerCallContext)
public virtual Task<ListAddressGroupReferencesResponse> ListAddressGroupReferences(ListAddressGroupReferencesRequest request, ServerCallContext context)Lists references of an address group.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAddressGroupReferencesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAddressGroupReferencesResponse |
The response to send back to the client (wrapped by a task). |
ListAddressGroups(ListAddressGroupsRequest, ServerCallContext)
public virtual Task<ListAddressGroupsResponse> ListAddressGroups(ListAddressGroupsRequest request, ServerCallContext context)Lists address groups in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAddressGroupsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAddressGroupsResponse |
The response to send back to the client (wrapped by a task). |
RemoveAddressGroupItems(RemoveAddressGroupItemsRequest, ServerCallContext)
public virtual Task<Operation> RemoveAddressGroupItems(RemoveAddressGroupItemsRequest request, ServerCallContext context)Removes items from an address group.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveAddressGroupItemsRequestThe 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). |
UpdateAddressGroup(UpdateAddressGroupRequest, ServerCallContext)
public virtual Task<Operation> UpdateAddressGroup(UpdateAddressGroupRequest request, ServerCallContext context)Updates the parameters of a single address group.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAddressGroupRequestThe 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). |