public sealed class DatabaseTableSpec.Types.DatabaseViewSpec : IMessage<DatabaseTableSpec.Types.DatabaseViewSpec>, IEquatable<DatabaseTableSpec.Types.DatabaseViewSpec>, IDeepCloneable<DatabaseTableSpec.Types.DatabaseViewSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Catalog v1 API class DatabaseTableSpec.Types.DatabaseViewSpec.
Specification that applies to database view.
Implements
IMessageDatabaseTableSpecTypesDatabaseViewSpec, IEquatableDatabaseTableSpecTypesDatabaseViewSpec, IDeepCloneableDatabaseTableSpecTypesDatabaseViewSpec, IBufferMessage, IMessageNamespace
Google.Cloud.DataCatalog.V1Assembly
Google.Cloud.DataCatalog.V1.dll
Constructors
DatabaseViewSpec()
public DatabaseViewSpec()
DatabaseViewSpec(DatabaseViewSpec)
public DatabaseViewSpec(DatabaseTableSpec.Types.DatabaseViewSpec other)
Parameter | |
---|---|
Name | Description |
other |
DatabaseTableSpecTypesDatabaseViewSpec |
Properties
BaseTable
public string BaseTable { get; set; }
Name of a singular table this view reflects one to one.
Property Value | |
---|---|
Type | Description |
string |
HasBaseTable
public bool HasBaseTable { get; }
Gets whether the "base_table" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSqlQuery
public bool HasSqlQuery { get; }
Gets whether the "sql_query" field is set
Property Value | |
---|---|
Type | Description |
bool |
SourceDefinitionCase
public DatabaseTableSpec.Types.DatabaseViewSpec.SourceDefinitionOneofCase SourceDefinitionCase { get; }
Property Value | |
---|---|
Type | Description |
DatabaseTableSpecTypesDatabaseViewSpecSourceDefinitionOneofCase |
SqlQuery
public string SqlQuery { get; set; }
SQL query used to generate this view.
Property Value | |
---|---|
Type | Description |
string |
ViewType
public DatabaseTableSpec.Types.DatabaseViewSpec.Types.ViewType ViewType { get; set; }
Type of this view.
Property Value | |
---|---|
Type | Description |
DatabaseTableSpecTypesDatabaseViewSpecTypesViewType |