AuthorizationPolicyNetworksecurityV1beta1Args class

The set of arguments for AuthorizationPolicy. The set of arguments for AuthorizationPolicy.

Constructors

AuthorizationPolicyNetworksecurityV1beta1Args({required Input<AuthorizationPolicyActionNetworksecurityV1beta1> action, required Input<String> authorizationPolicyId, Input<String>? description, Input<Map<String, String>>? labels, Input<String>? location, Input<String>? name, Input<String>? project, Input<List<RuleResource>>? rules})
Creates a new AuthorizationPolicyNetworksecurityV1beta1Args. action The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". authorizationPolicyId Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy". description Optional. Free-text description of the resource. labels Optional. Set of label tags associated with the AuthorizationPolicy resource. location Optional. name Name of the AuthorizationPolicy resource. It matches pattern projects/{project}/locations/{location}/authorizationPolicies/. project Optional. rules Optional. List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken. A rule is a match if there is a matching source and destination. If left blank, the action specified in the action field will be applied on every request.
const
AuthorizationPolicyNetworksecurityV1beta1Args.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<AuthorizationPolicyActionNetworksecurityV1beta1>
The action to take when a rule match is found. Possible values are "ALLOW" or "DENY".
final
authorizationPolicyId → Input<String>
Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy".
final
description → Input<String>?
Optional. Free-text description of the resource.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
Optional. Set of label tags associated with the AuthorizationPolicy resource.
final
location → Input<String>?
final
name → Input<String>?
Name of the AuthorizationPolicy resource. It matches pattern projects/{project}/locations/{location}/authorizationPolicies/.
final
project → Input<String>?
final
rules → Input<List<RuleResource>>?
Optional. List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken. A rule is a match if there is a matching source and destination. If left blank, the action specified in the action field will be applied on every request.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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