SecurityPoliciesResource class

Constructors

SecurityPoliciesResource(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

addRule(SecurityPolicyRule request, String project, String securityPolicy, {bool? validateOnly, String? $fields}) Future<Operation>
Inserts a rule into a security policy.
aggregatedList(String project, {String? filter, bool? includeAllScopes, int? maxResults, String? orderBy, String? pageToken, bool? returnPartialSuccess, String? serviceProjectNumber, String? $fields}) Future<SecurityPoliciesAggregatedList>
Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project.
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, bool? validateOnly, 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 nonexistent method or property is accessed.
inherited
patch(SecurityPolicy request, String project, String securityPolicy, {String? requestId, String? updateMask, 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? updateMask, bool? validateOnly, 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.
setLabels(GlobalSetLabelsRequest request, String project, String resource, {String? $fields}) Future<Operation>
Sets the labels on a security policy.
toString() String
A string representation of this object.
inherited

Operators

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