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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.