public final class Condition
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Access Context Manager API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Condition() |
| Modifier and Type | Method and Description |
|---|---|
Condition |
clone() |
DevicePolicy |
getDevicePolicy()
Device specific restrictions, all restrictions must hold for the Condition to be true.
|
List<String> |
getIpSubnetworks()
CIDR block IP subnetwork specification.
|
List<String> |
getMembers()
The request must be made by one of the provided user or service accounts.
|
Boolean |
getNegate()
Whether to negate the Condition.
|
List<String> |
getRegions()
The request must originate from one of the provided countries/regions.
|
List<String> |
getRequiredAccessLevels()
A list of other access levels defined in the same `Policy`, referenced by resource name.
|
List<VpcNetworkSource> |
getVpcNetworkSources()
The request must originate from one of the provided VPC networks in Google Cloud.
|
Condition |
set(String fieldName,
Object value) |
Condition |
setDevicePolicy(DevicePolicy devicePolicy)
Device specific restrictions, all restrictions must hold for the Condition to be true.
|
Condition |
setIpSubnetworks(List<String> ipSubnetworks)
CIDR block IP subnetwork specification.
|
Condition |
setMembers(List<String> members)
The request must be made by one of the provided user or service accounts.
|
Condition |
setNegate(Boolean negate)
Whether to negate the Condition.
|
Condition |
setRegions(List<String> regions)
The request must originate from one of the provided countries/regions.
|
Condition |
setRequiredAccessLevels(List<String> requiredAccessLevels)
A list of other access levels defined in the same `Policy`, referenced by resource name.
|
Condition |
setVpcNetworkSources(List<VpcNetworkSource> vpcNetworkSources)
The request must originate from one of the provided VPC networks in Google Cloud.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic DevicePolicy getDevicePolicy()
null for nonepublic Condition setDevicePolicy(DevicePolicy devicePolicy)
devicePolicy - devicePolicy or null for nonepublic List<String> getIpSubnetworks()
null for nonepublic Condition setIpSubnetworks(List<String> ipSubnetworks)
ipSubnetworks - ipSubnetworks or null for nonepublic List<String> getMembers()
null for nonepublic Condition setMembers(List<String> members)
members - members or null for nonepublic Boolean getNegate()
null for nonepublic Condition setNegate(Boolean negate)
negate - negate or null for nonepublic List<String> getRegions()
null for nonepublic Condition setRegions(List<String> regions)
regions - regions or null for nonepublic List<String> getRequiredAccessLevels()
null for nonepublic Condition setRequiredAccessLevels(List<String> requiredAccessLevels)
requiredAccessLevels - requiredAccessLevels or null for nonepublic List<VpcNetworkSource> getVpcNetworkSources()
null for nonepublic Condition setVpcNetworkSources(List<VpcNetworkSource> vpcNetworkSources)
vpcNetworkSources - vpcNetworkSources or null for nonepublic Condition set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Condition clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.