Interface IamPolicySearchResult.ExplanationOrBuilder (3.4.0)

public static interface IamPolicySearchResult.ExplanationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsMatchedPermissions(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getMatchedPermissions()

public abstract Map<String,Permissions> getMatchedPermissions()
Returns
TypeDescription
Map<String,Permissions>

getMatchedPermissionsCount()

public abstract 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;

Returns
TypeDescription
int

getMatchedPermissionsMap()

public abstract 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;

Returns
TypeDescription
Map<String,Permissions>

getMatchedPermissionsOrDefault(String key, Permissions defaultValue)

public abstract 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;

Parameters
NameDescription
keyString
defaultValuePermissions
Returns
TypeDescription
Permissions

getMatchedPermissionsOrThrow(String key)

public abstract 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;

Parameter
NameDescription
keyString
Returns
TypeDescription
Permissions