1.12.0 (latest) 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class CreateQueryTemplateRequest : IMessage<CreateQueryTemplateRequest>, IEquatable<CreateQueryTemplateRequest>, IDeepCloneable<CreateQueryTemplateRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Analytics Hub v1 API class CreateQueryTemplateRequest.

Message for creating a QueryTemplate.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CreateQueryTemplateRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CreateQueryTemplateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.CreateQueryTemplateRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateQueryTemplateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.CreateQueryTemplateRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CreateQueryTemplateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.CreateQueryTemplateRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BigQuery.AnalyticsHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.md.txt)

## Assembly

Google.Cloud.BigQuery.AnalyticsHub.V1.dll

## Constructors

### CreateQueryTemplateRequest()

    public CreateQueryTemplateRequest()

### CreateQueryTemplateRequest(CreateQueryTemplateRequest)

    public CreateQueryTemplateRequest(CreateQueryTemplateRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CreateQueryTemplateRequest` |

## Properties

### Parent

    public string Parent { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsDataExchangeName

    public DataExchangeName ParentAsDataExchangeName { get; set; }

[DataExchangeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.DataExchangeName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.CreateQueryTemplateRequest.md.txt#Google_Cloud_BigQuery_AnalyticsHub_V1_CreateQueryTemplateRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataExchangeName` |   |

### QueryTemplate

    public QueryTemplate QueryTemplate { get; set; }

Required. The QueryTemplate to create.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `QueryTemplate` |   |

### QueryTemplateId

    public string QueryTemplateId { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |