# Packages

Copyright 2024 Google LLC.

# Functions

Apply creates or updates the provided resource.
Delete deletes the provided resource.
DeletePolicyMember deletes the IAMPolicyMember for the provided resource.
FetchStateHint returns either nil or a Resource representing the pre-apply state.
Get returns the current version of a given resource (usually from the result of a previous Apply()).
GetPolicy gets the IAMPolicy for the provided resource.
GetPolicyMember gets the IAMPolicyMember for the provided resource.
HasDiff returns whether the provided resource config matches the live resource, i.e., a return value of true indicates that calling Apply() will cause a creation or update of the live resource.
ID returns a unique ID for the provided resource.
Register adds the provided resource to the list of resources available via the generic Get/List/Apply/Delete functions.
SetPolicy sets the IAMPolicy for the provided resource.
SetPolicyMember sets the IAMPolicyMember for the provided resource.
SetPolicyWithEtag sets the IAMPolicy using the etag container for the provided resource.
WithStateHint performs the same function as dcl.WithStateHint, but takes an unstructured resource.

# Variables

ErrNoSuchMethod is the error returned when calling Get, List, Apply, or Delete on an API that doesn't support the requested method.

# Structs

Resource is the untyped representation of a typed DCL resource.
ServiceTypeVersion describes a single DCL resource.

# Interfaces

RegisteredResource is used by generated unstructured library code to make type-specific operations available in a type-agnostic manner.