v1

GET /v1/{v1Id}/{v1Id1}:analyzeOrgPolicyGovernedContainers

Analyzes organization policies governed containers (projects, folders or organization) under a scope.

Request

  • Base URL
    https://cloudasset.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform

Path parameters

v1Id, string required
v1Id1, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

constraint, string

Required. The name of the constraint to analyze governed containers for. The analysis only contains organization policies for the provided constraint.

filter, string

The expression to filter AnalyzeOrgPolicyGovernedContainersResponse.governed_containers. Filtering is currently available for bare literal values and the following fields: * parent * consolidated_policy.rules.enforce When filtering by a specific field, the only supported operator is =. For example, filtering by parent="//cloudresourcemanager.googleapis.com/folders/001" will return all the containers under "folders/001".

pageSize, integer

The maximum number of items to return per page. If unspecified, AnalyzeOrgPolicyGovernedContainersResponse.governed_containers will contain 100 items with a maximum of 200.

pageToken, string

The pagination token to retrieve the next page.

Response

Successful response

AnalyzeOrgPolicyGovernedContainersResponse required

The response message for AssetService.AnalyzeOrgPolicyGovernedContainers.

constraint, AnalyzerOrgPolicyConstraint

The organization policy constraint definition.

governedContainers, GoogleCloudAssetV1GovernedContainer[]

The list of the analyzed governed containers.

nextPageToken, string

The page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.

Changes

No recorded changes to this operation across all 6 revisions of this API.