GoogleApi.CloudAsset.V1.Model.Explanation (google_api_cloud_asset v0.24.0) View Source

Explanation about the IAM policy search result.

Attributes

  • matchedPermissions (type: %{optional(String.t) => GoogleApi.CloudAsset.V1.Model.Permissions.t}, default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudAsset.V1.Model.Explanation{
  matchedPermissions:
    %{optional(String.t()) => GoogleApi.CloudAsset.V1.Model.Permissions.t()}
    | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.