Class RegionNetworkFirewallPoliciesResource
The "regionNetworkFirewallPolicies" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class RegionNetworkFirewallPoliciesResource
Constructors
RegionNetworkFirewallPoliciesResource(IClientService)
Constructs a new resource.
Declaration
public RegionNetworkFirewallPoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AddAssociation(FirewallPolicyAssociation, string, string, string)
Inserts an association for the specified network firewall policy.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.AddAssociationRequest AddAssociation(FirewallPolicyAssociation body, string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
FirewallPolicyAssociation | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to update. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.AddAssociationRequest |
AddRule(FirewallPolicyRule, string, string, string)
Inserts a rule into a network firewall policy.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.AddRuleRequest AddRule(FirewallPolicyRule body, string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
FirewallPolicyRule | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to update. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.AddRuleRequest |
CloneRules(string, string, string)
Copies rules to the specified network firewall policy.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.CloneRulesRequest CloneRules(string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to update. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.CloneRulesRequest |
Delete(string, string, string)
Deletes the specified network firewall policy.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.DeleteRequest Delete(string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to delete. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.DeleteRequest |
Get(string, string, string)
Returns the specified network firewall policy.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.GetRequest Get(string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to get. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.GetRequest |
GetAssociation(string, string, string)
Gets an association with the specified name.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.GetAssociationRequest GetAssociation(string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to which the queried association belongs. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.GetAssociationRequest |
GetEffectiveFirewalls(string, string, string)
Returns the effective firewalls on a given network.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.GetEffectiveFirewallsRequest GetEffectiveFirewalls(string project, string region, string network)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | network | Network reference |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.GetEffectiveFirewallsRequest |
GetIamPolicy(string, string, string)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.GetIamPolicyRequest GetIamPolicy(string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.GetIamPolicyRequest |
GetRule(string, string, string)
Gets a rule of the specified priority.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.GetRuleRequest GetRule(string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to which the queried rule belongs. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.GetRuleRequest |
Insert(FirewallPolicy, string, string)
Creates a new network firewall policy in the specified project and region.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.InsertRequest Insert(FirewallPolicy body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
FirewallPolicy | 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 |
---|---|
RegionNetworkFirewallPoliciesResource.InsertRequest |
List(string, string)
Lists all the network firewall policies that have been configured for the specified project in the given region.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.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 |
---|---|
RegionNetworkFirewallPoliciesResource.ListRequest |
Patch(FirewallPolicy, string, string, string)
Patches the specified network firewall policy.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.PatchRequest Patch(FirewallPolicy body, string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
FirewallPolicy | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to update. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.PatchRequest |
PatchRule(FirewallPolicyRule, string, string, string)
Patches a rule of the specified priority.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.PatchRuleRequest PatchRule(FirewallPolicyRule body, string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
FirewallPolicyRule | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to update. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.PatchRuleRequest |
RemoveAssociation(string, string, string)
Removes an association for the specified network firewall policy.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.RemoveAssociationRequest RemoveAssociation(string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to update. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.RemoveAssociationRequest |
RemoveRule(string, string, string)
Deletes a rule of the specified priority.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.RemoveRuleRequest RemoveRule(string project, string region, string firewallPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | firewallPolicy | Name of the firewall policy to update. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.RemoveRuleRequest |
SetIamPolicy(RegionSetPolicyRequest, string, string, string)
Sets the access control policy on the specified resource. Replaces any existing policy.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.SetIamPolicyRequest SetIamPolicy(RegionSetPolicyRequest body, string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
RegionSetPolicyRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.SetIamPolicyRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual RegionNetworkFirewallPoliciesResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestPermissionsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
RegionNetworkFirewallPoliciesResource.TestIamPermissionsRequest |