Compute Engine v1 API - Class RegionSecurityPolicies.RegionSecurityPoliciesBase (2.2.0)

[BindServiceMethod(typeof(RegionSecurityPolicies), "BindService")]
public abstract class RegionSecurityPoliciesBase

Reference documentation and code samples for the Compute Engine v1 API class RegionSecurityPolicies.RegionSecurityPoliciesBase.

Base class for server-side implementations of RegionSecurityPolicies

Inheritance

Object > RegionSecurityPolicies.RegionSecurityPoliciesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteRegionSecurityPolicyRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteRegionSecurityPolicyRequest request, ServerCallContext context)

Deletes the specified policy.

Parameters
NameDescription
requestDeleteRegionSecurityPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetRegionSecurityPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestInsertRegionSecurityPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListRegionSecurityPoliciesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestPatchRegionSecurityPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).