# Policy Simulator V1 API - Class Google::Cloud::PolicySimulator::V1::AccessTuple (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::AccessTuple.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #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 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.

### #permission=

    def permission=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

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

    def principal() -> ::String

**Returns**

- (::String) --- 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.

### #principal=

    def principal=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.