v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132073100.2 KB
projects

Creates a new QueryTemplate

post/v1/{+parent}/queryTemplates

Path parameters

parentstring required

Required. The parent resource path of the QueryTemplate. e.g. projects/myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate.

Query parameters

queryTemplateIdstring

Required. The ID of the QueryTemplate to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Max length: 100 bytes.

Request body

updateTimestring google-datetime

Output only. Timestamp when the QueryTemplate was last modified.

documentationstring

Optional. Documentation describing the QueryTemplate.

displayNamestring

Required. Human-readable display name of the QueryTemplate. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.

proposerstring

Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.

namestring

Output only. The resource name of the QueryTemplate. e.g. projects/myproject/locations/us/dataExchanges/123/queryTemplates/456

primaryContactstring

Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.

state'STATE_UNSPECIFIED' | 'DRAFTED' | 'PENDING' | 'DELETED' | 'APPROVED'

Output only. The QueryTemplate lifecycle state.

descriptionstring

Optional. Short description of the QueryTemplate. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.

createTimestring google-datetime

Output only. Timestamp when the QueryTemplate was created.

Response

Successful response