Skip to main content
S3NS
Documentation Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
/
  • Cloud Key Management Service
Overview Guides Reference Resources
S3NS
  • Documentation
    • Overview
    • Guides
    • Reference
    • Resources
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Cloud KMS
  • All APIs & references
  • API client libraries
  • Permissions and roles
  • Cloud EKM error reference
  • Overview
  • KMS REST reference
    • Overview
    • v1
      • REST Resources
      • folders
        • Overview
        • getAutokeyConfig
        • getKajPolicyConfig
        • updateAutokeyConfig
        • updateKajPolicyConfig
      • organizations
        • Overview
        • getKajPolicyConfig
        • updateKajPolicyConfig
      • projects
        • Overview
        • getKajPolicyConfig
        • showEffectiveAutokeyConfig
        • showEffectiveKeyAccessJustificationsEnrollmentConfig
        • showEffectiveKeyAccessJustificationsPolicyConfig
        • updateKajPolicyConfig
      • projects.locations
        • Overview
        • generateRandomBytes
        • getEkmConfig
        • updateEkmConfig
        • get
        • list
      • projects.locations.ekmConfig
        • Overview
        • getIamPolicy
        • setIamPolicy
        • testIamPermissions
      • projects.locations.ekmConnections
        • Overview
        • create
        • get
        • list
        • patch
        • verifyConnectivity
        • getIamPolicy
        • setIamPolicy
        • testIamPermissions
      • projects.locations.keyHandles
        • Overview
        • create
        • get
        • list
      • projects.locations.keyRings
        • Overview
        • create
        • get
        • list
        • getIamPolicy
        • setIamPolicy
        • testIamPermissions
      • projects.locations.keyRings.cryptoKeys
        • Overview
        • create
        • decrypt
        • encrypt
        • get
        • list
        • patch
        • updatePrimaryVersion
        • getIamPolicy
        • setIamPolicy
        • testIamPermissions
      • projects.locations.keyRings.cryptoKeys.cryptoKeyVersions
        • Overview
        • asymmetricDecrypt
        • asymmetricSign
        • create
        • destroy
        • get
        • getPublicKey
        • import
        • list
        • macSign
        • macVerify
        • patch
        • rawDecrypt
        • rawEncrypt
        • restore
      • projects.locations.keyRings.importJobs
        • Overview
        • create
        • get
        • list
        • getIamPolicy
        • setIamPolicy
        • testIamPermissions
      • projects.locations.operations
        • Overview
        • get
      • Types
      • AutokeyConfig
      • CryptoKeyVersionAlgorithm
      • CryptoKeyVersionView
      • EkmConfig
      • GetPolicyOptions
      • KeyAccessJustificationsPolicyConfig
      • KeyOperationAttestation
      • Location
      • Policy
      • ProtectionLevel
      • TestIamPermissionsResponse
  • KMS RPC reference
    • Overview
    • google.cloud.kms.v1
    • google.cloud.location
    • google.iam.v1
    • google.longrunning
    • google.rpc
    • google.type
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
Some or all of the information on this page might not apply to Trusted Cloud by S3NS. See Differences from Google Cloud for more details.
  • Home
  • Cloud Key Management Service
  • Documentation
  • Reference

TestIamPermissionsResponse

  • JSON representation

Response message for keyRings.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 2025-04-17 UTC.

  • Terms
  • Privacy
  • Manage cookies