Package com.google.cloud.asset.v1p1beta1
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 boolean
containsMatchedPermissions(String key)
The map from roles to their included permission matching the permission query (e.g.Map<String,Permissions>
getMatchedPermissions()
Deprecated.int
getMatchedPermissionsCount()
The map from roles to their included permission matching the permission query (e.g.Map<String,Permissions>
getMatchedPermissionsMap()
The map from roles to their included permission matching the permission query (e.g.Permissions
getMatchedPermissionsOrDefault(String key, Permissions defaultValue)
The map from roles to their included permission matching the permission query (e.g.Permissions
getMatchedPermissionsOrThrow(String key)
The map from roles to their included permission matching the permission query (e.g.-
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 permission matching the permission query (e.g. containing `policy.role.permissions:`). Example role string: "roles/compute.instanceAdmin". The roles can also be found in the returned `policy` bindings. Note that the map is populated only if requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
-
containsMatchedPermissions
boolean containsMatchedPermissions(String key)
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). Example role string: "roles/compute.instanceAdmin". The roles can also be found in the returned `policy` bindings. Note that the map is populated only if requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
-
getMatchedPermissions
@Deprecated Map<String,Permissions> getMatchedPermissions()
Deprecated.UsegetMatchedPermissionsMap()
instead.
-
getMatchedPermissionsMap
Map<String,Permissions> getMatchedPermissionsMap()
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). Example role string: "roles/compute.instanceAdmin". The roles can also be found in the returned `policy` bindings. Note that the map is populated only if requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
-
getMatchedPermissionsOrDefault
Permissions getMatchedPermissionsOrDefault(String key, Permissions defaultValue)
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). Example role string: "roles/compute.instanceAdmin". The roles can also be found in the returned `policy` bindings. Note that the map is populated only if requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
-
getMatchedPermissionsOrThrow
Permissions getMatchedPermissionsOrThrow(String key)
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). Example role string: "roles/compute.instanceAdmin". The roles can also be found in the returned `policy` bindings. Note that the map is populated only if requesting with a permission query.
map<string, .google.cloud.asset.v1p1beta1.Permissions> matched_permissions = 1;
-
-