2022-02-16
▼ ▲ cloudasset.effectiveIamPolicies.batchGet
Flat Path: v1/{v1Id}/{v1Id1}/effectiveIamPolicies:batchGet
HTTP Method: GET
Parameter Order: scope
Description: Gets effective IAM policies for a batch of resources.
Parameters:
names
Description: Required. The names refer to the [full_resource_names] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of [searchable asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). A maximum of 20 resources' effective policies can be retrieved in a batch.
Repeated: Yes
Location: query
Type: string
scope
Required: Yes
Description: Required. Only IAM policies on or below the scope will be returned. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id). To know how to get folder or project id, visit [here ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
Type: string
Location: path
Pattern: ^[^/]+/[^/]+$
Scopes: https://www.googleapis.com/auth/cloud-platform
Path: v1/{+scope}/effectiveIamPolicies:batchGet