Skip to content

Cloud Resource Manager API API

by googleapis.com

OAuthHTTPSAnalytics
Open documentation ↗

Overview

Creates, reads, and updates metadata for Google Cloud Platform resource containers.

Cloud Resource Manager API is an analytics API from googleapis.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 28 endpoints.

At a glance

Authentication
OAuth
HTTPS
Yes
CORS
Unknown
Category
Analytics
Base URL
https://cloudresourcemanager.googleapis.com/
Version
v3
Endpoints
28
Spec updated
2023-04-19

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://cloudresourcemanager.googleapis.com/v3/effectiveTags" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const response = await fetch("https://cloudresourcemanager.googleapis.com/v3/effectiveTags", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "Authorization": "Bearer YOUR_TOKEN",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://cloudresourcemanager.googleapis.com/v3/effectiveTags",
    headers={
    "Accept": "application/json",
    "Authorization": "Bearer YOUR_TOKEN",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/v3/effectiveTagsReturn a list of effective tags for the given Google Cloud resource, as specified in `parent`.
GET/v3/foldersLists the folders that are direct descendants of supplied parent resource. `list()` provides a strongly consistent view of the folders underneath the specified
POST/v3/foldersCreates a folder in the resource hierarchy. Returns an `Operation` which can be used to track the progress of the folder creation workflow. Upon success, the `O
GET/v3/folders:searchSearch for folders that match specific filter criteria. `search()` provides an eventually consistent view of the folders a user has access to which meet the spe
GET/v3/liensList all Liens applied to the `parent` resource. Callers of this method will require permission on the `parent` resource. For example, a Lien with a `parent` of
POST/v3/liensCreate a Lien which applies to the resource denoted by the `parent` field. Callers of this method will require permission on the `parent` resource. For example,
GET/v3/organizations:searchSearches organization resources that are visible to the user and satisfy the specified filter. This method returns organizations in an unspecified order. New or
GET/v3/projectsLists projects that are direct children of the specified folder or organization resource. `list()` provides a strongly consistent view of the projects underneat
POST/v3/projectsRequest that a new project be created. The result is an `Operation` which can be used to track the creation process. This process usually takes a few seconds, b
GET/v3/projects:searchSearch for projects that the caller has both `resourcemanager.projects.get` permission on, and also satisfy the specified query. This method returns projects in
GET/v3/tagBindingsLists the TagBindings for the given Google Cloud resource, as specified with `parent`. NOTE: The `parent` field is expected to be a full resource name: https://
POST/v3/tagBindingsCreates a TagBinding between a TagValue and a Google Cloud resource.
GET/v3/tagKeysLists all TagKeys for a parent resource.
POST/v3/tagKeysCreates a new TagKey. If another request with the same parameters is sent while the original request is in process, the second request will receive an error. A
GET/v3/tagKeys/namespacedRetrieves a TagKey by its namespaced name. This method will return `PERMISSION_DENIED` if the key does not exist or the user does not have permission to view it
GET/v3/tagValuesLists all TagValues for a specific TagKey.
POST/v3/tagValuesCreates a TagValue as a child of the specified TagKey. If a another request with the same parameters is sent while the original request is in process the second
GET/v3/tagValues/namespacedRetrieves a TagValue by its namespaced name. This method will return `PERMISSION_DENIED` if the value does not exist or the user does not have permission to vie
GET/v3/{name}Retrieves a TagValue. This method will return `PERMISSION_DENIED` if the value does not exist or the user does not have permission to view it.
PATCH/v3/{name}Updates the attributes of the TagValue resource.
DELETE/v3/{name}Deletes a TagHold.
POST/v3/{name}:moveMove a project to another place in your resource hierarchy, under a new resource parent. Returns an operation which can be used to track the process of the proj
POST/v3/{name}:undeleteRestores the project identified by the specified `name` (for example, `projects/415104041262`). You can only use this method for a project that has a lifecycle
GET/v3/{parent}/tagHoldsLists TagHolds under a TagValue.
POST/v3/{parent}/tagHoldsCreates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue.
POST/v3/{resource}:getIamPolicyGets the access control policy for a TagValue. The returned policy may be empty if no such policy or resource exists. The `resource` field should be the TagValu
POST/v3/{resource}:setIamPolicySets the access control policy on a TagValue, replacing any existing policy. The `resource` field should be the TagValue's resource name. For example: `tagValue
POST/v3/{resource}:testIamPermissionsReturns permissions that a caller has on the specified TagValue. The `resource` field should be the TagValue's resource name. For example: `tagValues/1234`. The

Questions

Does the Cloud Resource Manager API API need an API key?

Yes. The Cloud Resource Manager API API uses OAuth authentication; the documentation explains how to get credentials.

Does the Cloud Resource Manager API API support HTTPS?

Yes, the Cloud Resource Manager API API is served over HTTPS.

How many endpoints does the Cloud Resource Manager API API have?

Its OpenAPI description lists 28 endpoints in version v3. All of them are shown on this page.

What are alternatives to the Cloud Resource Manager API API?

Other Analytics APIs include Google Play Integrity API, versionhistory.googleapis.com API, Doc Converter, Perspective Comment Analyzer API, Safe Browsing API.

Compare alternatives →

Google Play Integrity API

Analytics

The Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.

OAuth1 endpoints

versionhistory.googleapis.com API

Analytics

Version History API - Prod

No auth4 endpoints

Doc Converter

Analytics

This api converts file formats of OpenXml and OpenOffice documents formats to vector files (e.g., svg)

No auth1 endpoints

Perspective Comment Analyzer API

Analytics

The Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned.

OAuth2 endpoints

Safe Browsing API

Analytics

Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.

No auth7 endpoints

Web Fonts Developer API

Analytics

The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.

No auth1 endpoints

Listed from APIs.guru (CC0).