Google Cloud Platform Effective Iam Policies API

The EffectiveIamPolicies API from Google Cloud Platform — 1 operation(s) for effectiveiampolicies.

GitHub OpenAPI

Operations 1

GET /v1/{v1Id}/{v1Id1}/effectiveIamPolicies:batchGet Batch get effectiveIamPolicies #

Documentation

📖
Documentation
https://cloud.google.com/compute/docs/reference/rest/v1
📖
Authentication
https://cloud.google.com/docs/authentication
📖
GettingStarted
https://cloud.google.com/compute/docs/quickstart
📖
RateLimits
https://cloud.google.com/compute/quotas
📖
Documentation
https://cloud.google.com/storage/docs/json_api
📖
Authentication
https://cloud.google.com/storage/docs/authentication
📖
GettingStarted
https://cloud.google.com/storage/docs/quickstart-console
📖
RateLimits
https://cloud.google.com/storage/quotas
📖
Documentation
https://cloud.google.com/functions/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/functions/docs/quickstart
📖
RateLimits
https://cloud.google.com/functions/quotas
📖
Documentation
https://cloud.google.com/kubernetes-engine/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/kubernetes-engine/docs/quickstart
📖
RateLimits
https://cloud.google.com/kubernetes-engine/quotas
📖
Documentation
https://cloud.google.com/bigquery/docs/reference/rest
📖
Authentication
https://cloud.google.com/bigquery/docs/authentication
📖
GettingStarted
https://cloud.google.com/bigquery/docs/quickstarts
📖
RateLimits
https://cloud.google.com/bigquery/quotas
📖
Documentation
https://cloud.google.com/pubsub/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/pubsub/docs/quickstart-console
📖
RateLimits
https://cloud.google.com/pubsub/quotas
📖
Documentation
https://cloud.google.com/vision/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/vision/docs/quickstart
📖
Documentation
https://cloud.google.com/vertex-ai/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/vertex-ai/docs/start/introduction-unified-platform
📖
RateLimits
https://cloud.google.com/vertex-ai/docs/quotas
📖
Documentation
https://cloud.google.com/natural-language/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/natural-language/docs/quickstarts
📖
Documentation
https://cloud.google.com/speech-to-text/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/speech-to-text/docs/quickstart
📖
Documentation
https://cloud.google.com/translate/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/translate/docs/quickstarts
📖
Documentation
https://cloud.google.com/run/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/run/docs/quickstarts
📖
RateLimits
https://cloud.google.com/run/quotas
📖
Documentation
https://cloud.google.com/sql/docs/mysql/admin-api/rest
📖
GettingStarted
https://cloud.google.com/sql/docs/mysql/quickstart
📖
RateLimits
https://cloud.google.com/sql/docs/quotas
📖
Documentation
https://cloud.google.com/spanner/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/spanner/docs/quickstart-console
📖
RateLimits
https://cloud.google.com/spanner/quotas
📖
Documentation
https://cloud.google.com/firestore/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/firestore/docs/quickstart
📖
Documentation
https://cloud.google.com/bigtable/docs/reference/admin/rest
📖
GettingStarted
https://cloud.google.com/bigtable/docs/quickstart
📖
RateLimits
https://cloud.google.com/bigtable/quotas
📖
Documentation
https://cloud.google.com/iam/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/iam/docs/quickstart
📖
Documentation
https://cloud.google.com/dns/docs/reference/rest/v1
📖
GettingStarted
https://cloud.google.com/dns/docs/quickstart
📖
RateLimits
https://cloud.google.com/dns/quotas
📖
Documentation
https://cloud.google.com/logging/docs/reference/v2/rest
📖
GettingStarted
https://cloud.google.com/logging/docs/quickstart-sdk
📖
RateLimits
https://cloud.google.com/logging/quotas
📖
Documentation
https://cloud.google.com/monitoring/api/ref_v3/rest
📖
GettingStarted
https://cloud.google.com/monitoring/docs/quickstart
📖
RateLimits
https://cloud.google.com/monitoring/quotas
📖
Documentation
https://cloud.google.com/dataflow/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/dataflow/docs/quickstarts
📖
RateLimits
https://cloud.google.com/dataflow/quotas
📖
Documentation
https://cloud.google.com/dataproc/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/dataproc/docs/quickstarts
📖
RateLimits
https://cloud.google.com/dataproc/quotas
📖
Documentation
https://cloud.google.com/kms/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/kms/docs/quickstart
📖
Documentation
https://cloud.google.com/secret-manager/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/secret-manager/docs/quickstart
📖
RateLimits
https://cloud.google.com/secret-manager/quotas
📖
Documentation
https://cloud.google.com/artifact-registry/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/artifact-registry/docs/quickstarts
📖
Documentation
https://cloud.google.com/build/docs/api/reference/rest
📖
GettingStarted
https://cloud.google.com/build/docs/quickstart-build
📖
Documentation
https://cloud.google.com/resource-manager/reference/rest
📖
GettingStarted
https://cloud.google.com/resource-manager/docs/creating-managing-projects
📖
Documentation
https://cloud.google.com/tasks/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/tasks/docs/quickstart
📖
RateLimits
https://cloud.google.com/tasks/docs/quotas
📖
Documentation
https://cloud.google.com/scheduler/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/scheduler/docs/quickstart
📖
Documentation
https://cloud.google.com/text-to-speech/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/text-to-speech/docs/quickstart-protocol
📖
Documentation
https://cloud.google.com/api-gateway/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/api-gateway/docs/quickstart
📖
Documentation
https://cloud.google.com/workflows/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/workflows/docs/quickstart-console
📖
Documentation
https://cloud.google.com/deploy/docs/api/reference/rest
📖
Documentation
https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3-overview
📖
GettingStarted
https://cloud.google.com/dialogflow/cx/docs/quick/setup
📖
Documentation
https://cloud.google.com/sensitive-data-protection/docs/reference/rest
📖
GettingStarted
https://cloud.google.com/sensitive-data-protection/docs/quickstart
📖
Documentation
https://cloud.google.com/memorystore/docs/redis/reference/rest

Specifications

Schemas & Data

Other Resources

🔗
Pricing
https://cloud.google.com/compute/pricing
🔗
Console
https://console.cloud.google.com/compute
🔗
ReleaseNotes
https://cloud.google.com/compute/docs/release-notes
🔗
Pricing
https://cloud.google.com/storage/pricing
🔗
Console
https://console.cloud.google.com/storage
🔗
SDKs
https://cloud.google.com/storage/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/storage/docs/release-notes
🔗
Pricing
https://cloud.google.com/functions/pricing
🔗
Console
https://console.cloud.google.com/functions
🔗
ReleaseNotes
https://cloud.google.com/functions/docs/release-notes
🔗
Pricing
https://cloud.google.com/kubernetes-engine/pricing
🔗
Console
https://console.cloud.google.com/kubernetes
🔗
SDKs
https://cloud.google.com/kubernetes-engine/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/kubernetes-engine/docs/release-notes
🔗
Pricing
https://cloud.google.com/bigquery/pricing
🔗
Console
https://console.cloud.google.com/bigquery
🔗
SDKs
https://cloud.google.com/bigquery/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/bigquery/docs/release-notes
🔗
Pricing
https://cloud.google.com/pubsub/pricing
🔗
Console
https://console.cloud.google.com/cloudpubsub
🔗
SDKs
https://cloud.google.com/pubsub/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/pubsub/docs/release-notes
🔗
Pricing
https://cloud.google.com/vision/pricing
🔗
Console
https://console.cloud.google.com/apis/library/vision.googleapis.com
🔗
SDKs
https://cloud.google.com/vision/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/vision/docs/release-notes
🔗
Pricing
https://cloud.google.com/vertex-ai/pricing
🔗
Console
https://console.cloud.google.com/vertex-ai
🔗
ReleaseNotes
https://cloud.google.com/vertex-ai/docs/release-notes
🔗
Pricing
https://cloud.google.com/natural-language/pricing
🔗
Console
https://console.cloud.google.com/apis/library/language.googleapis.com
🔗
SDKs
https://cloud.google.com/natural-language/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/natural-language/docs/release-notes
🔗
Pricing
https://cloud.google.com/speech-to-text/pricing
🔗
Console
https://console.cloud.google.com/apis/library/speech.googleapis.com
🔗
SDKs
https://cloud.google.com/speech-to-text/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/speech-to-text/docs/release-notes
🔗
Pricing
https://cloud.google.com/translate/pricing
🔗
Console
https://console.cloud.google.com/apis/library/translate.googleapis.com
🔗
SDKs
https://cloud.google.com/translate/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/translate/docs/release-notes
🔗
Pricing
https://cloud.google.com/run/pricing
🔗
Console
https://console.cloud.google.com/run
🔗
ReleaseNotes
https://cloud.google.com/run/docs/release-notes
🔗
Pricing
https://cloud.google.com/sql/pricing
🔗
Console
https://console.cloud.google.com/sql
🔗
SDKs
https://cloud.google.com/sql/docs/mysql/apis
🔗
ReleaseNotes
https://cloud.google.com/sql/docs/release-notes
🔗
Pricing
https://cloud.google.com/spanner/pricing
🔗
Console
https://console.cloud.google.com/spanner
🔗
SDKs
https://cloud.google.com/spanner/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/spanner/docs/release-notes
🔗
Pricing
https://cloud.google.com/firestore/pricing
🔗
Console
https://console.cloud.google.com/firestore
🔗
SDKs
https://cloud.google.com/firestore/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/firestore/docs/release-notes
🔗
Pricing
https://cloud.google.com/bigtable/pricing
🔗
Console
https://console.cloud.google.com/bigtable
🔗
SDKs
https://cloud.google.com/bigtable/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/bigtable/docs/release-notes
🔗
Pricing
https://cloud.google.com/iam/pricing
🔗
Console
https://console.cloud.google.com/iam-admin
🔗
SDKs
https://cloud.google.com/iam/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/iam/docs/release-notes
🔗
Pricing
https://cloud.google.com/dns/pricing
🔗
Console
https://console.cloud.google.com/net-services/dns
🔗
SDKs
https://cloud.google.com/dns/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/dns/docs/release-notes
🔗
Pricing
https://cloud.google.com/logging/pricing
🔗
Console
https://console.cloud.google.com/logs
🔗
SDKs
https://cloud.google.com/logging/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/logging/docs/release-notes
🔗
Pricing
https://cloud.google.com/monitoring/pricing
🔗
Console
https://console.cloud.google.com/monitoring
🔗
SDKs
https://cloud.google.com/monitoring/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/monitoring/docs/release-notes
🔗
Pricing
https://cloud.google.com/dataflow/pricing
🔗
Console
https://console.cloud.google.com/dataflow
🔗
SDKs
https://cloud.google.com/dataflow/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/dataflow/docs/release-notes
🔗
Pricing
https://cloud.google.com/dataproc/pricing
🔗
Console
https://console.cloud.google.com/dataproc
🔗
SDKs
https://cloud.google.com/dataproc/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/dataproc/docs/release-notes
🔗
Pricing
https://cloud.google.com/kms/pricing
🔗
Console
https://console.cloud.google.com/security/kms
🔗
SDKs
https://cloud.google.com/kms/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/kms/docs/release-notes
🔗
Pricing
https://cloud.google.com/secret-manager/pricing
🔗
Console
https://console.cloud.google.com/security/secret-manager
🔗
SDKs
https://cloud.google.com/secret-manager/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/secret-manager/docs/release-notes
🔗
Pricing
https://cloud.google.com/artifact-registry/pricing
🔗
Console
https://console.cloud.google.com/artifacts
🔗
SDKs
https://cloud.google.com/artifact-registry/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/artifact-registry/docs/release-notes
🔗
Pricing
https://cloud.google.com/build/pricing
🔗
Console
https://console.cloud.google.com/cloud-build
🔗
SDKs
https://cloud.google.com/build/docs/api/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/build/docs/release-notes
🔗
JSONLD
https://artifacts.apis.io/google-cloud-platform/json-ld/google-cloud-platform-context.jsonld
🔗
Pricing
https://cloud.google.com/resource-manager/pricing
🔗
Console
https://console.cloud.google.com/cloud-resource-manager
🔗
SDKs
https://cloud.google.com/resource-manager/docs/apis
🔗
ReleaseNotes
https://cloud.google.com/resource-manager/docs/release-notes
🔗
Pricing
https://cloud.google.com/tasks/pricing
🔗
Console
https://console.cloud.google.com/cloudtasks
🔗
SDKs
https://cloud.google.com/tasks/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/tasks/docs/release-notes
🔗
Pricing
https://cloud.google.com/scheduler/pricing
🔗
Console
https://console.cloud.google.com/cloudscheduler
🔗
SDKs
https://cloud.google.com/scheduler/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/scheduler/docs/release-notes
🔗
Pricing
https://cloud.google.com/text-to-speech/pricing
🔗
Console
https://console.cloud.google.com/apis/library/texttospeech.googleapis.com
🔗
SDKs
https://cloud.google.com/text-to-speech/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/text-to-speech/docs/release-notes
🔗
Pricing
https://cloud.google.com/api-gateway/pricing
🔗
Console
https://console.cloud.google.com/api-gateway
🔗
ReleaseNotes
https://cloud.google.com/api-gateway/docs/release-notes
🔗
Pricing
https://cloud.google.com/workflows/pricing
🔗
Console
https://console.cloud.google.com/workflows
🔗
SDKs
https://cloud.google.com/workflows/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/workflows/docs/release-notes
🔗
Pricing
https://cloud.google.com/deploy/pricing
🔗
Console
https://console.cloud.google.com/deploy
🔗
SDKs
https://cloud.google.com/deploy/docs/api
🔗
ReleaseNotes
https://cloud.google.com/deploy/docs/release-notes
🔗
Pricing
https://cloud.google.com/dialogflow/pricing
🔗
Console
https://console.cloud.google.com/apis/library/dialogflow.googleapis.com
🔗
SDKs
https://cloud.google.com/dialogflow/cx/docs/reference
🔗
ReleaseNotes
https://cloud.google.com/dialogflow/cx/docs/release-notes
🔗
Pricing
https://cloud.google.com/sensitive-data-protection/pricing
🔗
Console
https://console.cloud.google.com/security/sensitive-data-protection
🔗
SDKs
https://cloud.google.com/sensitive-data-protection/docs/reference/libraries
🔗
ReleaseNotes
https://cloud.google.com/sensitive-data-protection/docs/release-notes
🔗
Pricing
https://cloud.google.com/memorystore/docs/redis/pricing
🔗
Console
https://console.cloud.google.com/memorystore/redis
🔗
SDKs
https://cloud.google.com/memorystore/docs/redis/apis
🔗
ReleaseNotes
https://cloud.google.com/memorystore/docs/redis/release-notes

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-cloud-platform:google-cloud-platform-effectiveiampolicies-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-cloud-platform-effectiveiampolicies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloud Asset Effective Iam Policies API
  version: v1
  description: Generated from Google's published Discovery document for Cloud Asset API (cloudasset v1, revision 20261106). 1 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://cloudasset.googleapis.com
tags:
- name: EffectiveIamPolicies
paths:
  /v1/{v1Id}/{v1Id1}/effectiveIamPolicies:batchGet:
    get:
      operationId: cloudasset.effectiveIamPolicies.batchGet
      summary: Batch get effectiveIamPolicies
      description: Gets effective IAM policies for a batch of resources.
      parameters:
      - name: v1Id
        in: path
        required: true
        description: Resource name segment (v1Id).
        schema:
          type: string
      - name: v1Id1
        in: path
        required: true
        description: Resource name segment (v1Id1).
        schema:
          type: string
      - name: names
        in: query
        required: false
        description: Required. The names refer to the [full_resource_names] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the asset types [supported by search APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types). A maximum of 20 resources' effective policies can be retrieved in a batch.
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchGetEffectiveIamPoliciesResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - EffectiveIamPolicies
components:
  schemas:
    Binding:
      type: object
      description: Associates `members`, or principals, with a `role`.
      properties:
        condition:
          $ref: '#/components/schemas/Expr'
          description: The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
        members:
          description: 'Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.'
          items:
            type: string
          type: array
        role:
          description: Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
          type: string
    BatchGetEffectiveIamPoliciesResponse:
      type: object
      description: A response message for AssetService.BatchGetEffectiveIamPolicies.
      properties:
        policyResults:
          type: array
          items:
            $ref: '#/components/schemas/EffectiveIamPolicy'
          description: The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.
    AuditLogConfig:
      properties:
        exemptedMembers:
          type: array
          items:
            type: string
          description: Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
        logType:
          type: string
          description: The log type that this config enables.
          enum:
          - LOG_TYPE_UNSPECIFIED
          - ADMIN_READ
          - DATA_WRITE
          - DATA_READ
      description: 'Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables ''DATA_READ'' and ''DATA_WRITE'' logging, while exempting jose@example.com from DATA_READ logging.'
      type: object
    PolicyInfo:
      description: The IAM policy and its attached resource.
      type: object
      properties:
        policy:
          $ref: '#/components/schemas/Policy'
          description: The IAM policy that's directly attached to the attached_resource.
        attachedResource:
          description: The full resource name the policy is directly attached to.
          type: string
    EffectiveIamPolicy:
      type: object
      properties:
        fullResourceName:
          type: string
          description: The [full_resource_name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.
        policies:
          items:
            $ref: '#/components/schemas/PolicyInfo'
          type: array
          description: The effective policies for the full_resource_name. These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name. These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.
      description: The effective IAM policies on one resource.
    AuditConfig:
      type: object
      properties:
        service:
          description: Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
          type: string
        auditLogConfigs:
          description: The configuration for logging of each type of permission.
          type: array
          items:
            $ref: '#/components/schemas/AuditLogConfig'
      description: 'Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.'
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    Expr:
      description: 'Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != ''private'' && document.type != ''internal''" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "''New message received at '' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.'
      type: object
      properties:
        title:
          description: Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
          type: string
        description:
          description: Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
          type: string
        location:
          description: Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
          type: string
        expression:
          description: Textual representation of an expression in Common Expression Language syntax.
          type: string
    Policy:
      properties:
        auditConfigs:
          type: array
          items:
            $ref: '#/components/schemas/AuditConfig'
          description: Specifies cloud audit logging configuration for this policy.
        version:
          format: int32
          type: integer
          description: 'Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).'
        bindings:
          items:
            $ref: '#/components/schemas/Binding'
          description: Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
          type: array
        etag:
          description: '`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.'
          type: string
          format: byte
      description: 'An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp(''2020-10-01T00:00:00.000Z'')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp(''2020-10-01T00:00:00.000Z'') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).'
      type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
            https://www.googleapis.com/auth/cloudasset: See, edit, configure, and delete your Google Cloud Asset data and see the email address for your Google Account
externalDocs:
  url: https://cloud.google.com/asset-inventory/docs/quickstart
x-provenance:
  method: harvested
  publisher: Google
  source: https://cloudasset.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)