Class AccessTuple

public sealed class AccessTuple : IMessage<AccessTuple>, IEquatable<AccessTuple>, IDeepCloneable<AccessTuple>, IBufferMessage, IMessage

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

Inheritance

Object > AccessTuple

Namespace

Google.Cloud.PolicyTroubleshooter.V1

Assembly

Google.Cloud.PolicyTroubleshooter.V1.dll

Constructors

AccessTuple()

public AccessTuple()

AccessTuple(AccessTuple)

public AccessTuple(AccessTuple other)
Parameter
TypeNameDescription
AccessTupleother

Properties

FullResourceName

public string FullResourceName { get; set; }

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.

Property Value
TypeDescription
String

Permission

public string Permission { get; set; }

Required. The IAM permission to check for the specified member 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.

Property Value
TypeDescription
String

Principal

public string Principal { get; set; }

Required. The member, or principal, whose access you want to check, in the form of the email address that represents that member. For example, alice@example.com or my-service-account@my-project.iam.gserviceaccount.com.

The member must be a Google Account or a service account. Other types of members are not supported.

Property Value
TypeDescription
String