FirewallPoliciesResource class

Constructors

FirewallPoliciesResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAssociation(FirewallPolicyAssociation request, String firewallPolicy, {bool? replaceExistingAssociation, String? requestId, String? $fields}) Future<Operation>
Inserts an association for the specified firewall policy.
addRule(FirewallPolicyRule request, String firewallPolicy, {String? requestId, String? $fields}) Future<Operation>
Inserts a rule into a firewall policy.
cloneRules(String firewallPolicy, {String? requestId, String? sourceFirewallPolicy, String? $fields}) Future<Operation>
Copies rules to the specified firewall policy.
delete(String firewallPolicy, {String? requestId, String? $fields}) Future<Operation>
Deletes the specified policy.
get(String firewallPolicy, {String? $fields}) Future<FirewallPolicy>
Returns the specified firewall policy.
getAssociation(String firewallPolicy, {String? name, String? $fields}) Future<FirewallPolicyAssociation>
Gets an association with the specified name.
getIamPolicy(String resource, {int? optionsRequestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
getRule(String firewallPolicy, {int? priority, String? $fields}) Future<FirewallPolicyRule>
Gets a rule of the specified priority.
insert(FirewallPolicy request, {String? parentId, String? requestId, String? $fields}) Future<Operation>
Creates a new policy in the specified project using the data included in the request.
list({String? filter, int? maxResults, String? orderBy, String? pageToken, String? parentId, bool? returnPartialSuccess, String? $fields}) Future<FirewallPolicyList>
Lists all the policies that have been configured for the specified folder or organization.
listAssociations({String? targetResource, String? $fields}) Future<FirewallPoliciesListAssociationsResponse>
Lists associations of a specified target, i.e., organization or folder.
move(String firewallPolicy, {String? parentId, String? requestId, String? $fields}) Future<Operation>
Moves the specified firewall policy.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(FirewallPolicy request, String firewallPolicy, {String? requestId, String? $fields}) Future<Operation>
Patches the specified policy with the data included in the request.
patchRule(FirewallPolicyRule request, String firewallPolicy, {int? priority, String? requestId, String? $fields}) Future<Operation>
Patches a rule of the specified priority.
removeAssociation(String firewallPolicy, {String? name, String? requestId, String? $fields}) Future<Operation>
Removes an association for the specified firewall policy.
removeRule(String firewallPolicy, {int? priority, String? requestId, String? $fields}) Future<Operation>
Deletes a rule of the specified priority.
setIamPolicy(GlobalOrganizationSetPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
testIamPermissions(TestPermissionsRequest request, String resource, {String? $fields}) Future<TestPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited