public final class GoogleCloudPolicytroubleshooterV1ExplainedPolicy
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 Policy Troubleshooter 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 |
|---|
GoogleCloudPolicytroubleshooterV1ExplainedPolicy() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudPolicytroubleshooterV1ExplainedPolicy |
clone() |
String |
getAccess()
Indicates whether _this policy_ provides the specified permission to the specified principal
for the specified resource.
|
List<GoogleCloudPolicytroubleshooterV1BindingExplanation> |
getBindingExplanations()
Details about how each binding in the policy affects the principal's ability, or inability, to
use the permission for the resource.
|
String |
getFullResourceName()
The full resource name that identifies the resource.
|
GoogleIamV1Policy |
getPolicy()
The IAM policy attached to the resource.
|
String |
getRelevance()
The relevance of this policy to the overall determination in the TroubleshootIamPolicyResponse.
|
GoogleCloudPolicytroubleshooterV1ExplainedPolicy |
set(String fieldName,
Object value) |
GoogleCloudPolicytroubleshooterV1ExplainedPolicy |
setAccess(String access)
Indicates whether _this policy_ provides the specified permission to the specified principal
for the specified resource.
|
GoogleCloudPolicytroubleshooterV1ExplainedPolicy |
setBindingExplanations(List<GoogleCloudPolicytroubleshooterV1BindingExplanation> bindingExplanations)
Details about how each binding in the policy affects the principal's ability, or inability, to
use the permission for the resource.
|
GoogleCloudPolicytroubleshooterV1ExplainedPolicy |
setFullResourceName(String fullResourceName)
The full resource name that identifies the resource.
|
GoogleCloudPolicytroubleshooterV1ExplainedPolicy |
setPolicy(GoogleIamV1Policy policy)
The IAM policy attached to the resource.
|
GoogleCloudPolicytroubleshooterV1ExplainedPolicy |
setRelevance(String relevance)
The relevance of this policy to the overall determination in the TroubleshootIamPolicyResponse.
|
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 GoogleCloudPolicytroubleshooterV1ExplainedPolicy()
public String getAccess()
null for nonepublic GoogleCloudPolicytroubleshooterV1ExplainedPolicy setAccess(String access)
access - access or null for nonepublic List<GoogleCloudPolicytroubleshooterV1BindingExplanation> getBindingExplanations()
null for nonepublic GoogleCloudPolicytroubleshooterV1ExplainedPolicy setBindingExplanations(List<GoogleCloudPolicytroubleshooterV1BindingExplanation> bindingExplanations)
bindingExplanations - bindingExplanations or null for nonepublic String getFullResourceName()
null for nonepublic GoogleCloudPolicytroubleshooterV1ExplainedPolicy setFullResourceName(String fullResourceName)
fullResourceName - fullResourceName or null for nonepublic GoogleIamV1Policy getPolicy()
null for nonepublic GoogleCloudPolicytroubleshooterV1ExplainedPolicy setPolicy(GoogleIamV1Policy policy)
policy - policy or null for nonepublic String getRelevance()
null for nonepublic GoogleCloudPolicytroubleshooterV1ExplainedPolicy setRelevance(String relevance)
relevance - relevance or null for nonepublic GoogleCloudPolicytroubleshooterV1ExplainedPolicy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudPolicytroubleshooterV1ExplainedPolicy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.