Condition class

A condition necessary for an AccessLevel to be granted.

The Condition is an AND over its fields. So a Condition is true if: 1) the request IP is from one of the listed subnetworks AND 2) the originating device complies with the listed device policy AND 3) all listed access levels are granted AND 4) the request was sent at a time allowed by the DateTimeRestriction.

Constructors

Condition({DevicePolicy? devicePolicy, List<String>? ipSubnetworks, List<String>? members, bool? negate, List<String>? regions, List<String>? requiredAccessLevels, List<VpcNetworkSource>? vpcNetworkSources})
Condition.fromJson(Map json_)

Properties

devicePolicy DevicePolicy?
Device specific restrictions, all restrictions must hold for the Condition to be true.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ipSubnetworks List<String>?
CIDR block IP subnetwork specification.
getter/setter pair
members List<String>?
The request must be made by one of the provided user or service accounts.
getter/setter pair
negate bool?
Whether to negate the Condition.
getter/setter pair
regions List<String>?
The request must originate from one of the provided countries/regions.
getter/setter pair
requiredAccessLevels List<String>?
A list of other access levels defined in the same Policy, referenced by resource name.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vpcNetworkSources List<VpcNetworkSource>?
The request must originate from one of the provided VPC networks in Google Cloud.
getter/setter pair

Methods

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

Operators

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