SecurityPoliciesResourceApi class

Constructors

SecurityPoliciesResourceApi(ApiRequester client)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addRule(SecurityPolicyRule request, String project, String securityPolicy, {String $fields}) Future<Operation>
Inserts a rule into a security policy. [...]
delete(String project, String securityPolicy, {String requestId, String $fields}) Future<Operation>
Deletes the specified policy. [...]
get(String project, String securityPolicy, {String $fields}) Future<SecurityPolicy>
List all of the ordered rules present in a single specified policy. [...]
getRule(String project, String securityPolicy, {int priority, String $fields}) Future<SecurityPolicyRule>
Gets a rule at the specified priority. [...]
insert(SecurityPolicy request, String project, {String requestId, String $fields}) Future<Operation>
Creates a new policy in the specified project using the data included in the request. [...]
list(String project, {String filter, int maxResults, String orderBy, String pageToken, bool returnPartialSuccess, String $fields}) Future<SecurityPolicyList>
List all the policies that have been configured for the specified project. [...]
listPreconfiguredExpressionSets(String project, {String filter, int maxResults, String orderBy, String pageToken, bool returnPartialSuccess, String $fields}) Future<SecurityPoliciesListPreconfiguredExpressionSetsResponse>
Gets the current list of preconfigured Web Application Firewall (WAF) expressions. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(SecurityPolicy request, String project, String securityPolicy, {String requestId, String $fields}) Future<Operation>
Patches the specified policy with the data included in the request. [...]
patchRule(SecurityPolicyRule request, String project, String securityPolicy, {int priority, String $fields}) Future<Operation>
Patches a rule at the specified priority. [...]
removeRule(String project, String securityPolicy, {int priority, String $fields}) Future<Operation>
Deletes a rule at the specified priority. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

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