🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/GoogleCloudPlatform/declarative-resource-client-library

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/GoogleCloudPlatform/declarative-resource-client-library

v1.79.0
Source
Go
Version published
Created
Source

Declarative Client Library

This is not an officially supported Google product. If you are looking for a way to provision Google Cloud resources programmatically, please use the offical Google Cloud Client Libraries.

About the DCL

The Declarative Client Library (DCL) is a Go library that provides a declarative configuration interface for Google Cloud resources on top of their existing imperative APIs.

Each resource type has four primary methods:

  • Get: Takes a resource's identity field (such as region and name) and returns the declarative interface of the resource as it currently exists.
  • List: List all of the resources of a given type and returns their declarative interfaces.
  • Apply: Make GCP's state match the given resource, creating the resource if it doesn't exists, updating the resource to the desired state if necessary, or doing nothing if the resource exists and is in the desired state.
  • Delete: Delete the given resource.

The DCL exists to support open source provisioning tools like the Terraform Google Cloud Platform Provider. For bug reports and feature requests, please visit these tools' GitHub repos directly.

FAQs

Package last updated on 27 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts