[BindServiceMethod(typeof(RegionSecurityPolicies), "BindService")]
public abstract class RegionSecurityPoliciesBaseBase class for server-side implementations of RegionSecurityPolicies
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteRegionSecurityPolicyRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteRegionSecurityPolicyRequest request, ServerCallContext context)Deletes the specified policy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionSecurityPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
Get(GetRegionSecurityPolicyRequest, ServerCallContext)
public virtual Task<SecurityPolicy> Get(GetRegionSecurityPolicyRequest request, ServerCallContext context)List all of the ordered rules present in a single specified policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSecurityPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<SecurityPolicy> |
The response to send back to the client (wrapped by a task). |
Insert(InsertRegionSecurityPolicyRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertRegionSecurityPolicyRequest request, ServerCallContext context)Creates a new policy in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionSecurityPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
List(ListRegionSecurityPoliciesRequest, ServerCallContext)
public virtual Task<SecurityPolicyList> List(ListRegionSecurityPoliciesRequest request, ServerCallContext context)List all the policies that have been configured for the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionSecurityPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<SecurityPolicyList> |
The response to send back to the client (wrapped by a task). |
Patch(PatchRegionSecurityPolicyRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchRegionSecurityPolicyRequest request, ServerCallContext context)Patches the specified policy with the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSecurityPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |