capabilities
Creates, updates, deletes, gets or lists a capabilities
resource.
Overview
Name | capabilities |
Type | Resource |
Id | google.cloudresourcemanager.capabilities |
Fields
The following fields are returned by SELECT
queries:
- get
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Immutable. Identifier. The resource name of the capability. Must be in the following form: * folders/{folder_id}/capabilities/{capability_name} For example, folders/123/capabilities/app-management Following are the allowed {capability_name} values: * app-management |
value | boolean | Required. The configured value of the capability at the given parent resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | foldersId , capabilitiesId | Retrieves the Capability identified by the supplied resource name. | |
patch | update | foldersId , capabilitiesId | updateMask | Updates the Capability. |
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.
Name | Datatype | Description |
---|---|---|
capabilitiesId | string | |
foldersId | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- get
Retrieves the Capability identified by the supplied resource name.
SELECT
name,
value
FROM google.cloudresourcemanager.capabilities
WHERE foldersId = '{{ foldersId }}' -- required
AND capabilitiesId = '{{ capabilitiesId }}' -- required;
UPDATE
examples
- patch
Updates the Capability.
UPDATE google.cloudresourcemanager.capabilities
SET
data__name = '{{ name }}',
data__value = {{ value }}
WHERE
foldersId = '{{ foldersId }}' --required
AND capabilitiesId = '{{ capabilitiesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;