target.apidocs.com.google.api.services.compute.model.Condition.html Maven / Gradle / Ivy
Condition (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute.model
Class Condition
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.Condition
-
public final class Condition
extends GenericJson
A condition to be met.
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 Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Condition()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Condition
clone()
String
getIam()
Trusted attributes supplied by the IAM system.
String
getOp()
An operator to apply the subject with.
String
getSvc()
Trusted attributes discharged by the service.
String
getSys()
Trusted attributes supplied by any service that owns resources and uses the IAM system for
access control.
List<String>
getValues()
The objects of the condition.
Condition
set(String fieldName,
Object value)
Condition
setIam(String iam)
Trusted attributes supplied by the IAM system.
Condition
setOp(String op)
An operator to apply the subject with.
Condition
setSvc(String svc)
Trusted attributes discharged by the service.
Condition
setSys(String sys)
Trusted attributes supplied by any service that owns resources and uses the IAM system for
access control.
Condition
setValues(List<String> values)
The objects of the condition.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getIam
public String getIam()
Trusted attributes supplied by the IAM system.
- Returns:
- value or
null
for none
-
setIam
public Condition setIam(String iam)
Trusted attributes supplied by the IAM system.
- Parameters:
iam
- iam or null
for none
-
getOp
public String getOp()
An operator to apply the subject with.
- Returns:
- value or
null
for none
-
setOp
public Condition setOp(String op)
An operator to apply the subject with.
- Parameters:
op
- op or null
for none
-
getSvc
public String getSvc()
Trusted attributes discharged by the service.
- Returns:
- value or
null
for none
-
setSvc
public Condition setSvc(String svc)
Trusted attributes discharged by the service.
- Parameters:
svc
- svc or null
for none
-
getSys
public String getSys()
Trusted attributes supplied by any service that owns resources and uses the IAM system for
access control.
- Returns:
- value or
null
for none
-
setSys
public Condition setSys(String sys)
Trusted attributes supplied by any service that owns resources and uses the IAM system for
access control.
- Parameters:
sys
- sys or null
for none
-
getValues
public List<String> getValues()
The objects of the condition.
- Returns:
- value or
null
for none
-
setValues
public Condition setValues(List<String> values)
The objects of the condition.
- Parameters:
values
- values or null
for none
-
set
public Condition set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Condition clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy