annotations
Creates, updates, deletes, gets or lists a annotations
resource.
Overview
Name | annotations |
Type | Resource |
Id | google.rapidmigrationassessment.annotations |
Fields
Name | Datatype | Description |
---|---|---|
name | string | name of resource. |
createTime | string | Output only. Create time stamp. |
labels | object | Labels as key value pairs. |
type | string | Type of an annotation. |
updateTime | string | Output only. Update time stamp. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | annotationsId, locationsId, projectsId | Gets details of a single Annotation. |
create | INSERT | locationsId, projectsId | Creates an Annotation |
SELECT
examples
Gets details of a single Annotation.
SELECT
name,
createTime,
labels,
type,
updateTime
FROM google.rapidmigrationassessment.annotations
WHERE annotationsId = '{{ annotationsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new annotations
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.rapidmigrationassessment.annotations (
locationsId,
projectsId,
name,
labels,
type
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ labels }}',
'{{ type }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: createTime
value: string
- name: updateTime
value: string
- name: labels
value: object
- name: type
value: string