Skip to content

About

Regularly-updated directory of all custom constraints available in GCP, including services, resources, and fields

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

146 Commits

Folders and files

Repository files navigation

gcp-custom-constraints-directory

Regularly-updated directory of all custom constraint resource types and fields available in Google Cloud Platform (GCP) Organisation Policy, sourced from GCP documentation.

Summary

Access Context Manager

Agent Identity API

AI Platform Training

AlloyDB for PostgreSQL

API keys

Application Integration

Artifact Analysis

Artifact Registry

Backup and DR Service

Backup for GKE

BigQuery

BigQuery Data Policy

BigQuery Data Transfer Service

BigQuery Migration Service

BigQuery Reservation API

BigQuery sharing

Binary Authorization

Certificate Authority Service

Certificate Manager

Cloud Bigtable Admin API

Cloud Build

Cloud Data Fusion

Cloud Deploy

Cloud DNS

Cloud Domains

Cloud Healthcare API

Cloud Interconnect

Cloud Key Management Service

Cloud Load Balancing

Cloud Logging

Cloud Monitoring

Cloud Next Generation Firewall

Cloud Quotas

Cloud Router, Cloud NAT

Cloud Run

Cloud Run functions

Cloud Service Mesh

Cloud SQL

Cloud Storage

Cloud VPN

Cloud Workstations

Colab Enterprise

Compute Engine

Data Lineage API

Database Migration Service

Dataflow

Dataform

Dataproc Metastore

Datastream

Developer Connect

Document AI

Essential Contacts

Eventarc

Filestore

Firestore

Gemini Enterprise Agent Platform

GKE

GKE attached clusters

GKE Fleet

  • gkehub.googleapis.com/Feature
  • gkehub.googleapis.com/Fleet
  • gkehub.googleapis.com/Membership
  • gkehub.googleapis.com/MembershipBinding
  • gkehub.googleapis.com/Namespace
  • gkehub.googleapis.com/RBACRoleBinding
  • gkehub.googleapis.com/Scope

GKE on AWS

GKE on Azure

GKE On-Prem API

Google Cloud Armor

Google Cloud Contact Center as a Service

Google Cloud Managed Service for Apache Kafka

Google Cloud NetApp Volumes

Google Cloud VMware Engine

Identity and Access Management

Identity Platform

Identity-Aware Proxy

Infrastructure Manager

Integration Connectors

Knowledge Catalog

Live Stream API

Managed Service for Apache Airflow

Managed Service for Apache Kafka

Managed Service for Apache Spark

Memorystore

Memorystore for Redis Cluster

Network Connectivity

Private Service Connect

Privileged Access Manager

Pub/Sub

reCAPTCHA

Resource Manager

Secret Manager

Secure Source Manager

Security Command Center

security posture

Serverless VPC Access

Service Extensions

Service Management

Service Networking

Spanner

Storage Transfer Service

Vector Search

Vertex AI

Vertex AI Pipelines

Vertex ML Metadata

Video Stitcher API

Virtual Private Cloud

Web Security Scanner

Workflows

Automation

This repository includes a GitHub Actions workflow that scrapes the GCP documentation for the list of supported custom constraint resource types and their fields. The workflow runs daily and updates custom_constraints.json with the latest information.

To execute the scraper locally:

pip install -r requirements.txt
python scrape_gcp_custom_constraints.py

The output JSON has the following structure:

{
  "constraints": [
    {
      "service": "Service name",
      "resource_type": "Resource type string",
      "launch_status": "GA/Preview/...",
      "doc_url": "Documentation URL",
      "fields": [
        "resource.field1",
        "resource.field2",
        ...
      ]
    }
  ]
}

Each entry describes a GCP resource type that supports custom constraints, including the service, resource type, launch status, documentation link, and a list of available fields for use in custom constraints.

If the scraper cannot map a resource type or field as expected, it will exit with an error so the workflow fails.

About

Regularly-updated directory of all custom constraints available in GCP, including services, resources, and fields

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors