Class ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource
The "gatewaySecurityPolicies" collection of methods.
Inherited Members
Namespace: Google.Apis.NetworkSecurity.v1
Assembly: Google.Apis.NetworkSecurity.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource
Constructors
GatewaySecurityPoliciesResource(IClientService)
Constructs a new resource.
Declaration
public GatewaySecurityPoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Rules
Gets the Rules resource.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource Rules { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource |
Methods
Create(GatewaySecurityPolicy, string)
Creates a new GatewaySecurityPolicy in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.CreateRequest Create(GatewaySecurityPolicy body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GatewaySecurityPolicy | body | The body of the request. |
string | parent | Required. The parent resource of the GatewaySecurityPolicy. Must be in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.CreateRequest |
Delete(string)
Deletes a single GatewaySecurityPolicy.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. A name of the GatewaySecurityPolicy to delete. Must be in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.DeleteRequest |
Get(string)
Gets details of a single GatewaySecurityPolicy.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. A name of the GatewaySecurityPolicy to get. Must be in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.GetRequest |
List(string)
Lists GatewaySecurityPolicies in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project and location from which the GatewaySecurityPolicies should be listed,
specified in the format |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.ListRequest |
Patch(GatewaySecurityPolicy, string)
Updates the parameters of a single GatewaySecurityPolicy.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.PatchRequest Patch(GatewaySecurityPolicy body, string name)
Parameters
Type | Name | Description |
---|---|---|
GatewaySecurityPolicy | body | The body of the request. |
string | name | Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$). |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.PatchRequest |