v1

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

Updates an existing QueryTemplate

patch/v1/{+name}

Path parameters

namestring required

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

Query parameters

updateMaskstring

Optional. Field mask specifies the fields to update in the query template resource. The fields specified in the updateMask are relative to the resource and are not a full request.

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