Class: Google::Cloud::PolicyTroubleshooter::V1::AccessTuple

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/policytroubleshooter/v1/explanations.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#full_resource_name::String

Returns 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:



50
51
52
53
# File 'proto_docs/google/cloud/policytroubleshooter/v1/explanations.rb', line 50

class AccessTuple
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#permission::String

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

Returns:



50
51
52
53
# File 'proto_docs/google/cloud/policytroubleshooter/v1/explanations.rb', line 50

class AccessTuple
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#principal::String

Returns Required. The member, or principal, whose access you want to check, in the form of the email address that represents that member. For example, [email protected] or [email protected].

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

Returns:

  • (::String)

    Required. The member, or principal, whose access you want to check, in the form of the email address that represents that member. For example, [email protected] or [email protected].

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



50
51
52
53
# File 'proto_docs/google/cloud/policytroubleshooter/v1/explanations.rb', line 50

class AccessTuple
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end