class Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaAccessTuple

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

Attributes

full_resource_name[RW]

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 cloud.google.com/iam/help/troubleshooter/full-resource-names. Corresponds to the JSON property `fullResourceName` @return [String]

permission[RW]

Required. The IAM permission to check for the specified member and resource. For a complete list of IAM permissions, see cloud.google.com/iam/help/ permissions/reference. For a complete list of predefined IAM roles and the permissions in each role, see cloud.google.com/iam/help/roles/ reference. Corresponds to the JSON property `permission` @return [String]

principal[RW]

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. Corresponds to the JSON property `principal` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/policytroubleshooter_v1beta/classes.rb, line 55
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/policytroubleshooter_v1beta/classes.rb, line 60
def update!(**args)
  @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
  @permission = args[:permission] if args.key?(:permission)
  @principal = args[:principal] if args.key?(:principal)
end