public static interface IamPolicySearchResult.ExplanationOrBuilder extends MessageOrBuilder
Modifier and Type | Method and 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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getMatchedPermissionsCount()
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). A sample 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;
boolean containsMatchedPermissions(String key)
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). A sample 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;
@Deprecated Map<String,Permissions> getMatchedPermissions()
getMatchedPermissionsMap()
instead.Map<String,Permissions> getMatchedPermissionsMap()
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). A sample 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;
Permissions getMatchedPermissionsOrDefault(String key, Permissions defaultValue)
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). A sample 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;
Permissions getMatchedPermissionsOrThrow(String key)
The map from roles to their included permission matching the permission query (e.g. containing `policy.role.permissions:`). A sample 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;
Copyright © 2022 Google LLC. All rights reserved.