Class: Google::Iam::V1::TestIamPermissionsRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/kms/v1/doc/google/iam/v1/iam_policy.rb

Overview

Request message for +TestIamPermissions+ method.

Instance Attribute Summary collapse

Instance Attribute Details

#permissionsArray<String>

Returns The set of permissions to check for the +resource+. Permissions with wildcards (such as '' or 'storage.') are not allowed. For more information see IAM Overview.

Returns:

  • (Array<String>)

    The set of permissions to check for the +resource+. Permissions with wildcards (such as '' or 'storage.') are not allowed. For more information see IAM Overview.



52
# File 'lib/google/cloud/kms/v1/doc/google/iam/v1/iam_policy.rb', line 52

class TestIamPermissionsRequest; end

#resourceString

Returns REQUIRED: The resource for which the policy detail is being requested. +resource+ is usually specified as a path. For example, a Project resource is specified as +projects/project+.

Returns:

  • (String)

    REQUIRED: The resource for which the policy detail is being requested. +resource+ is usually specified as a path. For example, a Project resource is specified as +projects/project+.



52
# File 'lib/google/cloud/kms/v1/doc/google/iam/v1/iam_policy.rb', line 52

class TestIamPermissionsRequest; end