boundary
Creates, updates, deletes, gets or lists a boundary resource.
Overview
| Name | boundary |
| Type | Resource |
| Id | google.apphub.boundary |
Fields
The following fields are returned by SELECT queries:
- get_boundary
| Name | Datatype | Description |
|---|---|---|
name | string | Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{location}/boundary" |
createTime | string (google-datetime) | Output only. Create time. |
crmNode | string | Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number} or projects/{project-id} |
type | string | Output only. Boundary type. |
updateTime | string (google-datetime) | Output only. Update time. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_boundary | select | projectsId, locationsId | Gets a Boundary. | |
update_boundary | update | projectsId, locationsId | requestId, updateMask | Updates a Boundary. |
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 |
|---|---|---|
locationsId | string | |
projectsId | string | |
requestId | string | |
updateMask | string (google-fieldmask) |
SELECT examples
- get_boundary
Gets a Boundary.
SELECT
name,
createTime,
crmNode,
type,
updateTime
FROM google.apphub.boundary
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;
UPDATE examples
- update_boundary
Updates a Boundary.
UPDATE google.apphub.boundary
SET
data__name = '{{ name }}',
data__crmNode = '{{ crmNode }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND requestId = '{{ requestId}}'
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;