googleapis.com – cloudasset
The Cloud Asset API manages the history and inventory of Google Cloud resources.
- Homepage
- https://api.apis.guru/v2/specs/googleapis.com:cloudasset/v1.json
- Provider
- googleapis.com:cloudasset / cloudasset
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/googleapis.com/cloudasset/v1/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/googleapis.com/cloudasset/v1/openapi.yaml
Tools (22)
Extracted live via the executor SDK.
-
assets.cloudassetAssetsListLists assets with time and resource types and returns paged results in response.
-
effectiveIamPolicies.cloudassetEffectiveIamPoliciesBatchGetGets effective IAM policies for a batch of resources.
-
feeds.cloudassetFeedsCreateCreates a feed in a parent project/folder/organization to listen to its asset updates.
-
feeds.cloudassetFeedsListLists all asset feeds in a parent project/folder/organization.
-
savedQueries.cloudassetSavedQueriesCreateCreates a saved query in a parent project/folder/organization.
-
savedQueries.cloudassetSavedQueriesDeleteDeletes a saved query.
-
savedQueries.cloudassetSavedQueriesGetGets details about a saved query.
-
savedQueries.cloudassetSavedQueriesListLists all saved queries in a parent project/folder/organization.
-
savedQueries.cloudassetSavedQueriesPatchUpdates a saved query.
-
v1.cloudassetAnalyzeIamPolicyAnalyzes IAM policies to answer which identities have what accesses on which resources.
-
v1.cloudassetAnalyzeIamPolicyLongrunningAnalyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a AnalyzeIamPolicyResponse. This method implements the google.longrunning.Operation, which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the metadata for the long-running operation.
-
v1.cloudassetAnalyzeMoveAnalyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.
-
v1.cloudassetAnalyzeOrgPoliciesAnalyzes organization policies under a scope.
-
v1.cloudassetAnalyzeOrgPolicyGovernedAssetsAnalyzes organization policies governed assets (Google Cloud resources or policies) under a scope. This RPC supports custom constraints and the following 10 canned constraints: * storage.uniformBucketLevelAccess * iam.disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * compute.vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck * gcp.resourceLocations * compute.trustedImageProjects * compute.skipDefaultNetworkCreation * compute.requireOsLogin * compute.disableNestedVirtualization This RPC only returns either resources of types supported by , or IAM policies.
-
v1.cloudassetAnalyzeOrgPolicyGovernedContainersAnalyzes organization policies governed containers (projects, folders or organization) under a scope.
-
v1.cloudassetBatchGetAssetsHistoryBatch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.
-
v1.cloudassetExportAssetsExports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a google.cloud.asset.v1.Asset in the JSON format; for BigQuery table destinations, the output table stores the fields in asset Protobuf as columns. This API implements the google.longrunning.Operation API, which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.
-
v1.cloudassetQueryAssetsIssue a job that queries assets using a SQL statement compatible with . If the query execution finishes within timeout and there's no pagination, the full query results will be returned in the
QueryAssetsResponse. Otherwise, full query results can be obtained by issuing extra requests with thejob_referencefrom the a previousQueryAssetscall. Note, the query result has approximately 10 GB limitation enforced by BigQuery , queries return larger results will result in errors. -
v1.cloudassetSearchAllIamPoliciesSearches all IAM policies within the specified scope, such as a project, folder, or organization. The caller must be granted the
cloudasset.assets.searchAllIamPoliciespermission on the desired scope, otherwise the request will be rejected. -
v1.cloudassetSearchAllResourcesSearches all Google Cloud resources within the specified scope, such as a project, folder, or organization. The caller must be granted the
cloudasset.assets.searchAllResourcespermission on the desired scope, otherwise the request will be rejected. -
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools