Skip to main content
Google Cloud Documentation
Documentation
  • Get Started
  • Get Started with Google Cloud
  • Product List
  • Cloud Customer Care
  • Featured Products
  • Agent Platform
  • Apigee API Management
  • BigQuery
  • Compute Engine
  • Cloud CDN
  • Cloud Run
  • Cloud Storage
  • Cloud SQL
  • Gemini Enterprise
  • Google Kubernetes Engine
  • Looker
  • Cross-product Tools
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
  • Technology Areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Industry solutions
  • Migration
  • Networking
  • Observability and monitoring
  • Security
  • Storage
/
Console
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어
Sign in
  • Cloud Tasks
Start free
Overview Guides Reference Samples Support Resources
Google Cloud Documentation
  • Documentation
    • More
    • Overview
    • Guides
    • Reference
    • Samples
    • Support
    • Resources
  • Console
  • Cloud Tasks
  • All APIs and references
  • Authenticate to Cloud Tasks
  • Cloud Tasks gcloud tool reference
  • REST reference
    • Overview
    • v2
      • REST Resources
      • projects.locations
        • Overview
        • get
        • getCmekConfig
        • list
        • updateCmekConfig
      • projects.locations.queues
        • Overview
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • pause
        • purge
        • resume
        • setIamPolicy
        • testIamPermissions
      • projects.locations.queues.tasks
        • Overview
        • buffer
        • create
        • delete
        • get
        • list
        • run
      • Types
      • AppEngineRouting
      • CmekConfig
      • HttpMethod
      • OAuthToken
      • OidcToken
    • v2beta3
      • REST Resources
      • projects.locations
        • Overview
        • get
        • getCmekConfig
        • list
        • updateCmekConfig
      • projects.locations.operations
        • Overview
        • get
      • projects.locations.queues
        • Overview
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • pause
        • purge
        • resume
        • setIamPolicy
        • testIamPermissions
      • projects.locations.queues.tasks
        • Overview
        • batchCreate
        • batchDelete
        • buffer
        • create
        • delete
        • get
        • list
        • run
      • Types
      • AppEngineRouting
      • CmekConfig
      • HttpMethod
      • OAuthToken
      • OidcToken
      • RetryConfig
    • Shared.Types
      • Types
      • Binding
      • GetIamPolicyRequest
      • GetLocationRequest
      • HttpBody
      • ListLocationsRequest
      • ListLocationsResponse
      • Policy
      • SetIamPolicyRequest
      • Status
      • TestIamPermissionsRequest
      • TestIamPermissionsResponse
  • RPC reference
    • Overview
    • google.api
    • google.cloud.location
    • google.cloud.tasks.v2
    • google.cloud.tasks.v2beta3
    • google.iam.v1
    • google.longrunning
    • google.rpc
    • google.type
  • Client libraries
    • Overview
    • C++ reference
    • C# reference
    • Go reference
    • Java reference
    • Node.js reference
    • PHP reference
    • Python reference
    • Ruby reference
  • Get Started
  • Get Started with Google Cloud
  • Product List
  • Cloud Customer Care
  • Featured Products
  • Agent Platform
  • Apigee API Management
  • BigQuery
  • Compute Engine
  • Cloud CDN
  • Cloud Run
  • Cloud Storage
  • Cloud SQL
  • Gemini Enterprise
  • Google Kubernetes Engine
  • Looker
  • Cross-product Tools
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
  • Technology Areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Industry solutions
  • Migration
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Home
  • Documentation
  • Application development
  • Cloud Tasks
  • Reference

TestIamPermissionsResponse Stay organized with collections Save and categorize content based on your preferences.

  • JSON representation

Response message for TestIamPermissions method.

JSON representation
{
  "permissions": [
    string
  ]
}
Fields
permissions[]

string

A subset of TestPermissionsRequest.permissions that the caller is allowed.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-07-30 UTC.

  • Products and pricing

    • See all products
    • Google Cloud pricing
    • Google Cloud Marketplace
    • Contact sales
  • Support

    • Community forums
    • Support
    • Release Notes
    • System status
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Code samples
    • Cloud Architecture Center
    • Training and Certification
  • Engage

    • Blog
    • Events
    • X (Twitter)
    • Google Cloud on YouTube
    • Google Cloud Tech on YouTube
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google AI
  • About Google
  • Privacy
  • Site terms
  • Google Cloud terms
  • Manage cookies
  • Our third decade of climate action: join us
  • Sign up for the Google Cloud newsletter Subscribe
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어