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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::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
ormy-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
-
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
ormy-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.
-
(::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
ormy-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.