Show / Hide Table of Contents

Class Relation

Represents a database relation.

Inheritance
object
Relation
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dataform.v1beta1.Data
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class Relation : IDirectResponseSchema

Properties

AdditionalOptions

Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.

Declaration
[JsonProperty("additionalOptions")]
public virtual IDictionary<string, string> AdditionalOptions { get; set; }
Property Value
Type Description
IDictionary<string, string>

ClusterExpressions

A list of columns or SQL expressions used to cluster the table.

Declaration
[JsonProperty("clusterExpressions")]
public virtual IList<string> ClusterExpressions { get; set; }
Property Value
Type Description
IList<string>

DependencyTargets

A list of actions that this action depends on.

Declaration
[JsonProperty("dependencyTargets")]
public virtual IList<Target> DependencyTargets { get; set; }
Property Value
Type Description
IList<Target>

Disabled

Whether this action is disabled (i.e. should not be run).

Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
Type Description
bool?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

IncrementalTableConfig

Configures INCREMENTAL_TABLE settings for this relation. Only set if relation_type is INCREMENTAL_TABLE.

Declaration
[JsonProperty("incrementalTableConfig")]
public virtual IncrementalTableConfig IncrementalTableConfig { get; set; }
Property Value
Type Description
IncrementalTableConfig

PartitionExpirationDays

Sets the partition expiration in days.

Declaration
[JsonProperty("partitionExpirationDays")]
public virtual int? PartitionExpirationDays { get; set; }
Property Value
Type Description
int?

PartitionExpression

The SQL expression used to partition the relation.

Declaration
[JsonProperty("partitionExpression")]
public virtual string PartitionExpression { get; set; }
Property Value
Type Description
string

PostOperations

SQL statements to be executed after creating the relation.

Declaration
[JsonProperty("postOperations")]
public virtual IList<string> PostOperations { get; set; }
Property Value
Type Description
IList<string>

PreOperations

SQL statements to be executed before creating the relation.

Declaration
[JsonProperty("preOperations")]
public virtual IList<string> PreOperations { get; set; }
Property Value
Type Description
IList<string>

RelationDescriptor

Descriptor for the relation and its columns.

Declaration
[JsonProperty("relationDescriptor")]
public virtual RelationDescriptor RelationDescriptor { get; set; }
Property Value
Type Description
RelationDescriptor

RelationType

The type of this relation.

Declaration
[JsonProperty("relationType")]
public virtual string RelationType { get; set; }
Property Value
Type Description
string

RequirePartitionFilter

Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.

Declaration
[JsonProperty("requirePartitionFilter")]
public virtual bool? RequirePartitionFilter { get; set; }
Property Value
Type Description
bool?

SelectQuery

The SELECT query which returns rows which this relation should contain.

Declaration
[JsonProperty("selectQuery")]
public virtual string SelectQuery { get; set; }
Property Value
Type Description
string

Tags

Arbitrary, user-defined tags on this action.

Declaration
[JsonProperty("tags")]
public virtual IList<string> Tags { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX