Package com.google.cloud.asset.v1
Interface IamPolicySearchResult.ExplanationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IamPolicySearchResult.Explanation,IamPolicySearchResult.Explanation.Builder
- Enclosing class:
- IamPolicySearchResult
public static interface IamPolicySearchResult.ExplanationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsMatchedPermissions(String key)The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`).Map<String,IamPolicySearchResult.Explanation.Permissions>getMatchedPermissions()Deprecated.intgetMatchedPermissionsCount()The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`).Map<String,IamPolicySearchResult.Explanation.Permissions>getMatchedPermissionsMap()The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`).IamPolicySearchResult.Explanation.PermissionsgetMatchedPermissionsOrDefault(String key, IamPolicySearchResult.Explanation.Permissions defaultValue)The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`).IamPolicySearchResult.Explanation.PermissionsgetMatchedPermissionsOrThrow(String key)The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMatchedPermissionsCount
int getMatchedPermissionsCount()
The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`). Example: if query `policy.role.permissions:compute.disk.get` matches a policy binding that contains owner role, the matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The roles can also be found in the returned `policy` bindings. Note that the map is populated only for requests with permission queries.map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
-
containsMatchedPermissions
boolean containsMatchedPermissions(String key)
The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`). Example: if query `policy.role.permissions:compute.disk.get` matches a policy binding that contains owner role, the matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The roles can also be found in the returned `policy` bindings. Note that the map is populated only for requests with permission queries.map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
-
getMatchedPermissions
@Deprecated Map<String,IamPolicySearchResult.Explanation.Permissions> getMatchedPermissions()
Deprecated.UsegetMatchedPermissionsMap()instead.
-
getMatchedPermissionsMap
Map<String,IamPolicySearchResult.Explanation.Permissions> getMatchedPermissionsMap()
The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`). Example: if query `policy.role.permissions:compute.disk.get` matches a policy binding that contains owner role, the matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The roles can also be found in the returned `policy` bindings. Note that the map is populated only for requests with permission queries.map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
-
getMatchedPermissionsOrDefault
IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrDefault(String key, IamPolicySearchResult.Explanation.Permissions defaultValue)
The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`). Example: if query `policy.role.permissions:compute.disk.get` matches a policy binding that contains owner role, the matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The roles can also be found in the returned `policy` bindings. Note that the map is populated only for requests with permission queries.map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
-
getMatchedPermissionsOrThrow
IamPolicySearchResult.Explanation.Permissions getMatchedPermissionsOrThrow(String key)
The map from roles to their included permissions that match the permission query (i.e., a query containing `policy.role.permissions:`). Example: if query `policy.role.permissions:compute.disk.get` matches a policy binding that contains owner role, the matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The roles can also be found in the returned `policy` bindings. Note that the map is populated only for requests with permission queries.map<string, .google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions> matched_permissions = 1;
-
-