Reference documentation and code samples for the Analytics Hub V1 API class Google::Cloud::Bigquery::AnalyticsHub::V1::QueryTemplate.
A query template is a container for sharing table-valued functions defined by contributors in a data clean room.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when the QueryTemplate was created.
#description
def description() -> ::String
Returns
- (::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.
#description=
def description=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.
#display_name
def display_name() -> ::String
Returns
- (::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.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.
#documentation
def documentation() -> ::String
Returns
- (::String) — Optional. Documentation describing the QueryTemplate.
#documentation=
def documentation=(value) -> ::String
Parameter
- value (::String) — Optional. Documentation describing the QueryTemplate.
Returns
- (::String) — Optional. Documentation describing the QueryTemplate.
#name
def name() -> ::String
Returns
-
(::String) — Output only. The resource name of the QueryTemplate.
e.g.
projects/myproject/locations/us/dataExchanges/123/queryTemplates/456
#primary_contact
def primary_contact() -> ::String
Returns
- (::String) — Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
#primary_contact=
def primary_contact=(value) -> ::String
Parameter
- value (::String) — Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
Returns
- (::String) — Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
#proposer
def proposer() -> ::String
Returns
- (::String) — Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
#proposer=
def proposer=(value) -> ::String
Parameter
- value (::String) — Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
Returns
- (::String) — Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.
#routine
def routine() -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::Routine
Returns
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::Routine) — Optional. The routine associated with the QueryTemplate.
#routine=
def routine=(value) -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::Routine
Parameter
- value (::Google::Cloud::Bigquery::AnalyticsHub::V1::Routine) — Optional. The routine associated with the QueryTemplate.
Returns
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::Routine) — Optional. The routine associated with the QueryTemplate.
#state
def state() -> ::Google::Cloud::Bigquery::AnalyticsHub::V1::QueryTemplate::State
Returns
- (::Google::Cloud::Bigquery::AnalyticsHub::V1::QueryTemplate::State) — Output only. The QueryTemplate lifecycle state.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when the QueryTemplate was last modified.