Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class QueryTemplate.
A query template is a container for sharing table-valued functions defined by contributors in a data clean room.
Generated from protobuf message google.cloud.bigquery.analyticshub.v1.QueryTemplate
Namespace
Google \ Cloud \ BigQuery \ AnalyticsHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the QueryTemplate. e.g. projects/myproject/locations/us/dataExchanges/123/queryTemplates/456
↳ display_name
string
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.
↳ description
string
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.
↳ proposer
string
Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
↳ primary_contact
string
Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
↳ documentation
string
Optional. Documentation describing the QueryTemplate.
↳ state
int
Output only. The QueryTemplate lifecycle state.
↳ routine
↳ create_time
↳ update_time
getName
Output only. The resource name of the QueryTemplate.
e.g. projects/myproject/locations/us/dataExchanges/123/queryTemplates/456
string
setName
Output only. The resource name of the QueryTemplate.
e.g. projects/myproject/locations/us/dataExchanges/123/queryTemplates/456
var
string
$this
getDisplayName
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.
string
setDisplayName
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.
var
string
$this
getDescription
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.
string
setDescription
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.
var
string
$this
getProposer
Optional. Will be deprecated.
Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
string
setProposer
Optional. Will be deprecated.
Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
var
string
$this
getPrimaryContact
Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
string
setPrimaryContact
Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
var
string
$this
getDocumentation
Optional. Documentation describing the QueryTemplate.
string
setDocumentation
Optional. Documentation describing the QueryTemplate.
var
string
$this
getState
Output only. The QueryTemplate lifecycle state.
setState
Output only. The QueryTemplate lifecycle state.
$this
getRoutine
Optional. The routine associated with the QueryTemplate.
hasRoutine
clearRoutine
setRoutine
Optional. The routine associated with the QueryTemplate.
$this
getCreateTime
Output only. Timestamp when the QueryTemplate was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp when the QueryTemplate was created.
$this
getUpdateTime
Output only. Timestamp when the QueryTemplate was last modified.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Timestamp when the QueryTemplate was last modified.
$this

