Skip to main content

resources

Creates, updates, deletes, gets or lists a resources resource.

Overview

Nameresources
TypeResource
Idgoogle.deploymentmanager.resources

Fields

NameDatatypeDescription
idstring
namestringOutput only. The name of the resource as it appears in the YAML config.
accessControlobjectThe access controls set on the resource.
finalPropertiesstringOutput only. The evaluated properties of the resource with references expanded. Returned as serialized YAML.
insertTimestringOutput only. Creation timestamp in RFC3339 text format.
manifeststringOutput only. URL of the manifest representing the current configuration of this resource.
propertiesstringOutput only. The current properties of the resource before any references have been filled in. Returned as serialized YAML.
typestringOutput only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function.
updateobject
updateTimestringOutput only. Update timestamp in RFC3339 text format.
urlstringOutput only. The URL of the actual resource.
warningsarrayOutput only. If warning messages are generated during processing of this resource, this field will be populated.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeployment, project, resourceGets information about a single resource.
listSELECTdeployment, projectLists all resources in a given deployment.

SELECT examples

Lists all resources in a given deployment.

SELECT
id,
name,
accessControl,
finalProperties,
insertTime,
manifest,
properties,
type,
update,
updateTime,
url,
warnings
FROM google.deploymentmanager.resources
WHERE deployment = '{{ deployment }}'
AND project = '{{ project }}';