Class ProjectsResource.FirewallpoliciesResource
The "firewallpolicies" collection of methods.
Inherited Members
Namespace: Google.Apis.RecaptchaEnterprise.v1
Assembly: Google.Apis.RecaptchaEnterprise.v1.dll
Syntax
public class ProjectsResource.FirewallpoliciesResource
Constructors
FirewallpoliciesResource(IClientService)
Constructs a new resource.
Declaration
public FirewallpoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudRecaptchaenterpriseV1FirewallPolicy, string)
Creates a new FirewallPolicy, specifying conditions at which reCAPTCHA Enterprise actions can be executed. A project may have a maximum of 1000 policies.
Declaration
public virtual ProjectsResource.FirewallpoliciesResource.CreateRequest Create(GoogleCloudRecaptchaenterpriseV1FirewallPolicy body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRecaptchaenterpriseV1FirewallPolicy | body | The body of the request. |
string | parent | Required. The name of the project this policy applies to, in the format |
Returns
Type | Description |
---|---|
ProjectsResource.FirewallpoliciesResource.CreateRequest |
Delete(string)
Deletes the specified firewall policy.
Declaration
public virtual ProjectsResource.FirewallpoliciesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the policy to be deleted, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.FirewallpoliciesResource.DeleteRequest |
Get(string)
Returns the specified firewall policy.
Declaration
public virtual ProjectsResource.FirewallpoliciesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the requested policy, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.FirewallpoliciesResource.GetRequest |
List(string)
Returns the list of all firewall policies that belong to a project.
Declaration
public virtual ProjectsResource.FirewallpoliciesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the project to list the policies for, in the format |
Returns
Type | Description |
---|---|
ProjectsResource.FirewallpoliciesResource.ListRequest |
Patch(GoogleCloudRecaptchaenterpriseV1FirewallPolicy, string)
Updates the specified firewall policy.
Declaration
public virtual ProjectsResource.FirewallpoliciesResource.PatchRequest Patch(GoogleCloudRecaptchaenterpriseV1FirewallPolicy body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRecaptchaenterpriseV1FirewallPolicy | body | The body of the request. |
string | name | Identifier. The resource name for the FirewallPolicy in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.FirewallpoliciesResource.PatchRequest |
Reorder(GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest, string)
Reorders all firewall policies.
Declaration
public virtual ProjectsResource.FirewallpoliciesResource.ReorderRequest Reorder(GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest | body | The body of the request. |
string | parent | Required. The name of the project to list the policies for, in the format |
Returns
Type | Description |
---|---|
ProjectsResource.FirewallpoliciesResource.ReorderRequest |