View Source GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1AccessTuple (google_api_policy_simulator v0.3.0)

Information about the principal, resource, and permission to check.

Attributes

  • fullResourceName (type: String.t, default: nil) - Required. The full resource name that identifies the resource. For example, //compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
  • permission (type: String.t, default: nil) - Required. The IAM permission to check for the specified principal and resource. For a complete list of IAM permissions, see https://cloud.google.com/iam/help/permissions/reference. For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.
  • principal (type: String.t, default: nil) - Required. The principal whose access you want to check, in the form of the email address that represents that principal. For example, alice@example.com or my-service-account@my-project.iam.gserviceaccount.com. The principal must be a Google Account or a service account. Other types of principals are not supported.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1AccessTuple{
    fullResourceName: String.t() | nil,
    permission: String.t() | nil,
    principal: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.