Class ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource
The "rules" collection of methods.
Inherited Members
Namespace: Google.Apis.NetworkSecurity.v1beta1
Assembly: Google.Apis.NetworkSecurity.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource
Constructors
RulesResource(IClientService)
Constructs a new resource.
Declaration
public RulesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GatewaySecurityPolicyRule, string)
Creates a new GatewaySecurityPolicy in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.CreateRequest Create(GatewaySecurityPolicyRule body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GatewaySecurityPolicyRule | body | The body of the request. |
string | parent | Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/* |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.CreateRequest |
Delete(string)
Deletes a single GatewaySecurityPolicyRule.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.DeleteRequest |
Get(string)
Gets details of a single GatewaySecurityPolicyRule.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project}/location/{location}/gatewaySecurityPolicies//rules/ |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.GetRequest |
List(string)
Lists GatewaySecurityPolicyRules in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project, location and GatewaySecurityPolicy from which the
GatewaySecurityPolicyRules should be listed, specified in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.ListRequest |
Patch(GatewaySecurityPolicyRule, string)
Updates the parameters of a single GatewaySecurityPolicyRule.
Declaration
public virtual ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.PatchRequest Patch(GatewaySecurityPolicyRule body, string name)
Parameters
Type | Name | Description |
---|---|---|
GatewaySecurityPolicyRule | body | The body of the request. |
string | name | Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$). |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GatewaySecurityPoliciesResource.RulesResource.PatchRequest |