Policy Troubleshooter V3 API - Class Google::Cloud::PolicyTroubleshooter::Iam::V3::AccessTuple (v0.3.2)

Reference documentation and code samples for the Policy Troubleshooter V3 API class Google::Cloud::PolicyTroubleshooter::Iam::V3::AccessTuple.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#condition_context

def condition_context() -> ::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext
Returns

#condition_context=

def condition_context=(value) -> ::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext
Parameter
Returns

#full_resource_name

def full_resource_name() -> ::String
Returns
  • (::String) — 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.

#full_resource_name=

def full_resource_name=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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

def permission() -> ::String
Returns
  • (::String) — Required. The IAM permission to check for, either in the v1 permission format or the v2 permission format.

    For a complete list of IAM permissions in the v1 format, see https://cloud.google.com/iam/help/permissions/reference.

    For a list of IAM permissions in the v2 format, see https://cloud.google.com/iam/help/deny/supported-permissions.

    For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.

#permission=

def permission=(value) -> ::String
Parameter
  • value (::String) — Required. The IAM permission to check for, either in the v1 permission format or the v2 permission format.

    For a complete list of IAM permissions in the v1 format, see https://cloud.google.com/iam/help/permissions/reference.

    For a list of IAM permissions in the v2 format, see https://cloud.google.com/iam/help/deny/supported-permissions.

    For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.

Returns
  • (::String) — Required. The IAM permission to check for, either in the v1 permission format or the v2 permission format.

    For a complete list of IAM permissions in the v1 format, see https://cloud.google.com/iam/help/permissions/reference.

    For a list of IAM permissions in the v2 format, see https://cloud.google.com/iam/help/deny/supported-permissions.

    For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.

#permission_fqdn

def permission_fqdn() -> ::String
Returns
  • (::String) — Output only. The permission that Policy Troubleshooter checked for, in the v2 format.

#principal

def principal() -> ::String
Returns
  • (::String) — Required. The email address of the principal whose access you want to check. 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.

#principal=

def principal=(value) -> ::String
Parameter
  • value (::String) — Required. The email address of the principal whose access you want to check. 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.

Returns
  • (::String) — Required. The email address of the principal whose access you want to check. 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.