Skip to main content

cloudresourcemanager_resource_semantics

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

Overview​

Namecloudresourcemanager_resource_semantics
TypeResource
Idgoogle.cloudresourcemanager.cloudresourcemanager_resource_semantics

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
fullResourceNamestringThe full resource name for which semantics are returned. Examples: "//compute.googleapis.com/projects/123/zones/us-central1-a/instances/my-instance" "//storage.googleapis.com/projects/_/buckets/my_bucket"
semanticsobjectMap of resource semantics (e.g., "ENVIRONMENT": "PRODUCTION").

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
fetch_resource_semanticsselectfullResourceNameReturns the semantics associated with the specified resource.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
fullResourceNamestring

SELECT examples​

Returns the semantics associated with the specified resource.

SELECT
fullResourceName,
semantics
FROM google.cloudresourcemanager.cloudresourcemanager_resource_semantics
WHERE fullResourceName = '{{ fullResourceName }}'
;