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

The effective IAM policies on one resource.

Attributes

  • fullResourceName (type: String.t, default: nil) - The [full_resource_name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.
  • policies (type: list(GoogleApi.CloudAsset.V1.Model.PolicyInfo.t), default: nil) - The effective policies for the full_resource_name. These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name. These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudAsset.V1.Model.EffectiveIamPolicy{
  fullResourceName: String.t() | nil,
  policies: [GoogleApi.CloudAsset.V1.Model.PolicyInfo.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.