Show / Hide Table of Contents

Class RegionSecurityPoliciesResource

The "regionSecurityPolicies" collection of methods.

Inheritance
object
RegionSecurityPoliciesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class RegionSecurityPoliciesResource

Constructors

RegionSecurityPoliciesResource(IClientService)

Constructs a new resource.

Declaration
public RegionSecurityPoliciesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(string, string, string)

Deletes the specified policy.

Declaration
public virtual RegionSecurityPoliciesResource.DeleteRequest Delete(string project, string region, string securityPolicy)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region scoping this request.

string securityPolicy

Name of the security policy to delete.

Returns
Type Description
RegionSecurityPoliciesResource.DeleteRequest

Get(string, string, string)

List all of the ordered rules present in a single specified policy.

Declaration
public virtual RegionSecurityPoliciesResource.GetRequest Get(string project, string region, string securityPolicy)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region scoping this request.

string securityPolicy

Name of the security policy to get.

Returns
Type Description
RegionSecurityPoliciesResource.GetRequest

Insert(SecurityPolicy, string, string)

Creates a new policy in the specified project using the data included in the request.

Declaration
public virtual RegionSecurityPoliciesResource.InsertRequest Insert(SecurityPolicy body, string project, string region)
Parameters
Type Name Description
SecurityPolicy body

The body of the request.

string project

Project ID for this request.

string region

Name of the region scoping this request.

Returns
Type Description
RegionSecurityPoliciesResource.InsertRequest

List(string, string)

List all the policies that have been configured for the specified project and region.

Declaration
public virtual RegionSecurityPoliciesResource.ListRequest List(string project, string region)
Parameters
Type Name Description
string project

Project ID for this request.

string region

Name of the region scoping this request.

Returns
Type Description
RegionSecurityPoliciesResource.ListRequest

Patch(SecurityPolicy, string, string, string)

Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.

Declaration
public virtual RegionSecurityPoliciesResource.PatchRequest Patch(SecurityPolicy body, string project, string region, string securityPolicy)
Parameters
Type Name Description
SecurityPolicy body

The body of the request.

string project

Project ID for this request.

string region

Name of the region scoping this request.

string securityPolicy

Name of the security policy to update.

Returns
Type Description
RegionSecurityPoliciesResource.PatchRequest
In This Article
Back to top Generated by DocFX