Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Iam::V1::TestIamPermissionsRequest.
Request message for TestIamPermissions method.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#permissions
defpermissions()->::Array<::String>
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.
#permissions=
defpermissions=(value)->::Array<::String>
Parameter
value (::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.
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.
#resource
defresource()->::String
Returns
(::String) — REQUIRED: The resource for which the policy detail is being requested.
See the operation documentation for the appropriate value for this field.
#resource=
defresource=(value)->::String
Parameter
value (::String) — REQUIRED: The resource for which the policy detail is being requested.
See the operation documentation for the appropriate value for this field.
Returns
(::String) — REQUIRED: The resource for which the policy detail is being requested.
See the operation documentation for the appropriate value for this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Spanner Instance Admin V1 API - Class Google::Iam::V1::TestIamPermissionsRequest (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/latest/Google-Iam-V1-TestIamPermissionsRequest)\n- [2.0.1](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/2.0.1/Google-Iam-V1-TestIamPermissionsRequest)\n- [1.6.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.6.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [1.5.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.5.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.4.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.3.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.2.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [1.1.1](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.1.1/Google-Iam-V1-TestIamPermissionsRequest)\n- [1.0.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/1.0.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.16.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.15.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.15.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.14.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.13.2](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.13.2/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.12.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.11.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.10.2](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.10.2/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.9.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.8.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.7.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.6.0/Google-Iam-V1-TestIamPermissionsRequest)\n- [0.5.5](/ruby/docs/reference/google-cloud-spanner-admin-instance-v1/0.5.5/Google-Iam-V1-TestIamPermissionsRequest) \nReference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Iam::V1::TestIamPermissionsRequest.\n\nRequest message for `TestIamPermissions` method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #permissions\n\n def permissions() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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](https://cloud.google.com/iam/docs/overview#permissions).\n\n### #permissions=\n\n def permissions=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- 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](https://cloud.google.com/iam/docs/overview#permissions). \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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](https://cloud.google.com/iam/docs/overview#permissions).\n\n### #resource\n\n def resource() -\u003e ::String\n\n**Returns**\n\n- (::String) --- REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.\n\n### #resource=\n\n def resource=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. \n**Returns**\n\n- (::String) --- REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field."]]