RegionNetworkFirewallPolicies
class RegionNetworkFirewallPolicies extends Resource (View source)
The "regionNetworkFirewallPolicies" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$regionNetworkFirewallPolicies = $computeService->regionNetworkFirewallPolicies;
Methods
Inserts an association for the specified network firewall policy.
Inserts a rule into a network firewall policy.
Copies rules to the specified network firewall policy.
Deletes the specified network firewall policy.
Returns the specified network firewall policy.
Gets an association with the specified name.
Returns the effective firewalls on a given network.
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (regionNetworkFirewallPolicies.getIamPolicy)
Gets a rule of the specified priority.
Creates a new network firewall policy in the specified project and region.
Lists all the network firewall policies that have been configured for the specified project in the given region.
Patches the specified network firewall policy.
Patches a rule of the specified priority.
Removes an association for the specified network firewall policy.
Deletes a rule of the specified priority.
Sets the access control policy on the specified resource. Replaces any existing policy. (regionNetworkFirewallPolicies.setIamPolicy)
Returns permissions that a caller has on the specified resource.
Details
Operation
addAssociation(string $project, string $region, string $firewallPolicy, FirewallPolicyAssociation $postBody, array $optParams = [])
Inserts an association for the specified network firewall policy.
(regionNetworkFirewallPolicies.addAssociation)
Operation
addRule(string $project, string $region, string $firewallPolicy, FirewallPolicyRule $postBody, array $optParams = [])
Inserts a rule into a network firewall policy.
(regionNetworkFirewallPolicies.addRule)
Operation
cloneRules(string $project, string $region, string $firewallPolicy, array $optParams = [])
Copies rules to the specified network firewall policy.
(regionNetworkFirewallPolicies.cloneRules)
Operation
delete(string $project, string $region, string $firewallPolicy, array $optParams = [])
Deletes the specified network firewall policy.
(regionNetworkFirewallPolicies.delete)
FirewallPolicy
get(string $project, string $region, string $firewallPolicy, array $optParams = [])
Returns the specified network firewall policy.
(regionNetworkFirewallPolicies.get)
FirewallPolicyAssociation
getAssociation(string $project, string $region, string $firewallPolicy, array $optParams = [])
Gets an association with the specified name.
(regionNetworkFirewallPolicies.getAssociation)
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
getEffectiveFirewalls(string $project, string $region, string $network, array $optParams = [])
Returns the effective firewalls on a given network.
(regionNetworkFirewallPolicies.getEffectiveFirewalls)
Policy
getIamPolicy(string $project, string $region, string $resource, array $optParams = [])
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (regionNetworkFirewallPolicies.getIamPolicy)
FirewallPolicyRule
getRule(string $project, string $region, string $firewallPolicy, array $optParams = [])
Gets a rule of the specified priority.
(regionNetworkFirewallPolicies.getRule)
Operation
insert(string $project, string $region, FirewallPolicy $postBody, array $optParams = [])
Creates a new network firewall policy in the specified project and region.
(regionNetworkFirewallPolicies.insert)
FirewallPolicyList
listRegionNetworkFirewallPolicies(string $project, string $region, array $optParams = [])
Lists all the network firewall policies that have been configured for the specified project in the given region.
(regionNetworkFirewallPolicies.listRegionNetworkFirewallPolicies)
Operation
patch(string $project, string $region, string $firewallPolicy, FirewallPolicy $postBody, array $optParams = [])
Patches the specified network firewall policy.
(regionNetworkFirewallPolicies.patch)
Operation
patchRule(string $project, string $region, string $firewallPolicy, FirewallPolicyRule $postBody, array $optParams = [])
Patches a rule of the specified priority.
(regionNetworkFirewallPolicies.patchRule)
Operation
removeAssociation(string $project, string $region, string $firewallPolicy, array $optParams = [])
Removes an association for the specified network firewall policy.
(regionNetworkFirewallPolicies.removeAssociation)
Operation
removeRule(string $project, string $region, string $firewallPolicy, array $optParams = [])
Deletes a rule of the specified priority.
(regionNetworkFirewallPolicies.removeRule)
Policy
setIamPolicy(string $project, string $region, string $resource, RegionSetPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy. (regionNetworkFirewallPolicies.setIamPolicy)
TestPermissionsResponse
testIamPermissions(string $project, string $region, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource.
(regionNetworkFirewallPolicies.testIamPermissions)