Table class

Creates a new, empty table in the dataset. Auto-naming is currently not supported for this resource.

Constructors

Table(String name, {TableArgs? args, CustomResourceOptions? options})
Creates a new Table. name The Pulumi resource name. args Arguments used to configure this Table. The set of arguments for Table. options Resource options controlling this resource's behavior.

Properties

biglakeConfiguration ↔ Output<BigLakeConfigurationResponse>
Optional Specifies the configuration of a BigLake managed table.
latefinal
childResources → Set<Resource>
finalinherited
cloneDefinition ↔ Output<CloneDefinitionResponse>
Clone definition.
latefinal
clustering ↔ Output<ClusteringResponse>
Beta Clustering specification for the table. Must be specified with partitioning, data in the table will be first partitioned and subsequently clustered.
latefinal
completionSources ↔ Map<String, IOutputCompletionSource>
latefinalinherited
creationTime ↔ Output<String>
The time when this table was created, in milliseconds since the epoch.
latefinal
datasetId ↔ Output<String>
latefinal
defaultCollation ↔ Output<String>
The default collation of the table.
latefinal
defaultRoundingMode ↔ Output<String>
The default rounding mode of the table.
latefinal
description ↔ Output<String>
Optional A user-friendly description of this table.
latefinal
encryptionConfiguration ↔ Output<EncryptionConfigurationResponse>
Custom encryption configuration (e.g., Cloud KMS keys).
latefinal
etag ↔ Output<String>
A hash of the table metadata. Used to ensure there were no concurrent modifications to the resource when attempting an update. Not guaranteed to change when the table contents or the fields numRows, numBytes, numLongTermBytes or lastModifiedTime change.
latefinal
expirationTime ↔ Output<String>
Optional The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created tables.
latefinal
externalDataConfiguration ↔ Output<ExternalDataConfigurationResponse>
Optional Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.
latefinal
friendlyName ↔ Output<String>
Optional A descriptive name for this table.
latefinal
hashCode → int
The hash code for this object.
no setterinherited
id ↔ Output<String>
getter/setter pairinherited
isCustom → bool
Returns whether this resource is provider-managed.
no setterinherited
isProtected → bool
Returns whether this resource is protected from deletion.
no setterinherited
isRemote → bool
Whether this resource is registered as remote.
no setterinherited
isResourceReference → bool
Whether this instance represents a resource value returned over RPC.
finalinherited
kind ↔ Output<String>
The type of the resource.
latefinal
labels ↔ Output<Map<String, String>>
The labels associated with this table. You can use these to organize and group your tables. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and each label in the list must have a different key.
latefinal
lastModifiedTime ↔ Output<String>
The time when this table was last modified, in milliseconds since the epoch.
latefinal
location ↔ Output<String>
The geographic location where the table resides. This value is inherited from the dataset.
latefinal
materializedView ↔ Output<MaterializedViewDefinitionResponse>
Optional Materialized view definition.
latefinal
maxStaleness ↔ Output<String>
Optional Max staleness of data that could be returned when table or materialized view is queried (formatted as Google SQL Interval type).
latefinal
model ↔ Output<ModelDefinitionResponse>
Output-only, Beta Present iff this table represents a ML model. Describes the training information for the model, and it is required to run 'PREDICT' queries.
latefinal
numActiveLogicalBytes ↔ Output<String>
Number of logical bytes that are less than 90 days old.
latefinal
numActivePhysicalBytes ↔ Output<String>
Number of physical bytes less than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
latefinal
numBytes ↔ Output<String>
The size of this table in bytes, excluding any data in the streaming buffer.
latefinal
numLongTermBytes ↔ Output<String>
The number of bytes in the table that are considered "long-term storage".
latefinal
numLongTermLogicalBytes ↔ Output<String>
Number of logical bytes that are more than 90 days old.
latefinal
numLongTermPhysicalBytes ↔ Output<String>
Number of physical bytes more than 90 days old. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
latefinal
numPartitions ↔ Output<String>
The number of partitions present in the table or materialized view. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
latefinal
numPhysicalBytes ↔ Output<String>
TrustedTester The physical size of this table in bytes, excluding any data in the streaming buffer. This includes compression and storage used for time travel.
latefinal
numRows ↔ Output<String>
The number of rows of data in this table, excluding any data in the streaming buffer.
latefinal
numTimeTravelPhysicalBytes ↔ Output<String>
Number of physical bytes used by time travel storage (deleted or changed data). This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
latefinal
numTotalLogicalBytes ↔ Output<String>
Total number of logical bytes in the table or materialized view.
latefinal
numTotalPhysicalBytes ↔ Output<String>
The physical size of this table in bytes. This also includes storage used for time travel. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.
latefinal
project ↔ Output<String>
latefinal
rangePartitioning ↔ Output<RangePartitioningResponse>
TrustedTester Range partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified.
latefinal
requirePartitionFilter ↔ Output<bool>
Optional If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.
latefinal
resourceTags ↔ Output<Map<String, String>>
Optional The tags associated with this table. Tag keys are globally unique. See additional information on tags. An object containing a list of "key": value pairs. The key is the namespaced friendly name of the tag key, e.g. "12345/environment" where 12345 is parent id. The value is the friendly short name of the tag value, e.g. "production".
latefinal
resourceTransforms → List<ResourceTransform>
Inherited/explicit async transforms.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema ↔ Output<TableSchemaResponse>
Optional Describes the schema of this table.
latefinal
A URL that can be used to access this resource again.
latefinal
snapshotDefinition ↔ Output<SnapshotDefinitionResponse>
Snapshot definition.
latefinal
streamingBuffer ↔ Output<StreamingbufferResponse>
Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer.
latefinal
tableConstraints ↔ Output<TableConstraintsResponse>
Optional The table constraints on the table.
latefinal
tableReference ↔ Output<TableReferenceResponse>
Required Reference describing the ID of this table.
latefinal
timePartitioning ↔ Output<TimePartitioningResponse>
Time-based partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified.
latefinal
transformations → List<ResourceTransformation>
Inherited/explicit legacy transformations.
no setterinherited
type ↔ Output<String>
Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. SNAPSHOT: An immutable, read-only table that is a copy of another table. TrustedTester MATERIALIZED_VIEW: SQL query whose result is persisted. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.
latefinal
urn ↔ Output<String>
latefinalinherited
view ↔ Output<ViewDefinitionResponse>
Optional The view definition.
latefinal

Methods

failId(Object error) → void
Completes this resource ID with an error when registration fails.
inherited
failOutputs(Object error) → void
Completes all output properties with error.
inherited
failUrn(Object error) → void
Completes this resource URN with an error when registration fails.
inherited
getProvider(String moduleMember) → ProviderResource?
Returns provider for moduleMember's package, if configured.
inherited
getResourceName() → String
Returns this resource's logical name.
inherited
getResourceType() → String
Returns this resource's Pulumi type token.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerOutput<T>(String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output<T>
Registers a dynamic output property for this resource.
inherited
resolveId(String? value, {required bool isKnown}) → void
Resolves the provider-assigned ID for this resource.
inherited
resolveOutputs(Struct outputs) → void
Resolves all output properties from a monitor response payload.
inherited
resolveUrn(String value) → void
Resolves this resource's URN once assigned by the engine.
inherited
serializeProperties(Map<String, dynamic> properties) → Future<Struct>
Serializes resource properties for RPC transmission.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited