Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.biglake/v1.Table
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new table. Auto-naming is currently not supported for this resource.
Create Table Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Table(name: string, args: TableArgs, opts?: CustomResourceOptions);
@overload
def Table(resource_name: str,
args: TableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Table(resource_name: str,
opts: Optional[ResourceOptions] = None,
catalog_id: Optional[str] = None,
database_id: Optional[str] = None,
table_id: Optional[str] = None,
etag: Optional[str] = None,
hive_options: Optional[HiveTableOptionsArgs] = None,
location: Optional[str] = None,
project: Optional[str] = None,
type: Optional[TableType] = None)
func NewTable(ctx *Context, name string, args TableArgs, opts ...ResourceOption) (*Table, error)
public Table(string name, TableArgs args, CustomResourceOptions? opts = null)
type: google-native:biglake/v1:Table
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var tableResource = new GoogleNative.BigLake.V1.Table("tableResource", new()
{
CatalogId = "string",
DatabaseId = "string",
TableId = "string",
Etag = "string",
HiveOptions = new GoogleNative.BigLake.V1.Inputs.HiveTableOptionsArgs
{
Parameters =
{
{ "string", "string" },
},
StorageDescriptor = new GoogleNative.BigLake.V1.Inputs.StorageDescriptorArgs
{
InputFormat = "string",
LocationUri = "string",
OutputFormat = "string",
SerdeInfo = new GoogleNative.BigLake.V1.Inputs.SerDeInfoArgs
{
SerializationLib = "string",
},
},
TableType = "string",
},
Location = "string",
Project = "string",
Type = GoogleNative.BigLake.V1.TableType.TypeUnspecified,
});
example, err := biglake.NewTable(ctx, "tableResource", &biglake.TableArgs{
CatalogId: pulumi.String("string"),
DatabaseId: pulumi.String("string"),
TableId: pulumi.String("string"),
Etag: pulumi.String("string"),
HiveOptions: &biglake.HiveTableOptionsArgs{
Parameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
StorageDescriptor: &biglake.StorageDescriptorArgs{
InputFormat: pulumi.String("string"),
LocationUri: pulumi.String("string"),
OutputFormat: pulumi.String("string"),
SerdeInfo: &biglake.SerDeInfoArgs{
SerializationLib: pulumi.String("string"),
},
},
TableType: pulumi.String("string"),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
Type: biglake.TableTypeTypeUnspecified,
})
var tableResource = new Table("tableResource", TableArgs.builder()
.catalogId("string")
.databaseId("string")
.tableId("string")
.etag("string")
.hiveOptions(HiveTableOptionsArgs.builder()
.parameters(Map.of("string", "string"))
.storageDescriptor(StorageDescriptorArgs.builder()
.inputFormat("string")
.locationUri("string")
.outputFormat("string")
.serdeInfo(SerDeInfoArgs.builder()
.serializationLib("string")
.build())
.build())
.tableType("string")
.build())
.location("string")
.project("string")
.type("TYPE_UNSPECIFIED")
.build());
table_resource = google_native.biglake.v1.Table("tableResource",
catalog_id="string",
database_id="string",
table_id="string",
etag="string",
hive_options={
"parameters": {
"string": "string",
},
"storage_descriptor": {
"input_format": "string",
"location_uri": "string",
"output_format": "string",
"serde_info": {
"serialization_lib": "string",
},
},
"table_type": "string",
},
location="string",
project="string",
type=google_native.biglake.v1.TableType.TYPE_UNSPECIFIED)
const tableResource = new google_native.biglake.v1.Table("tableResource", {
catalogId: "string",
databaseId: "string",
tableId: "string",
etag: "string",
hiveOptions: {
parameters: {
string: "string",
},
storageDescriptor: {
inputFormat: "string",
locationUri: "string",
outputFormat: "string",
serdeInfo: {
serializationLib: "string",
},
},
tableType: "string",
},
location: "string",
project: "string",
type: google_native.biglake.v1.TableType.TypeUnspecified,
});
type: google-native:biglake/v1:Table
properties:
catalogId: string
databaseId: string
etag: string
hiveOptions:
parameters:
string: string
storageDescriptor:
inputFormat: string
locationUri: string
outputFormat: string
serdeInfo:
serializationLib: string
tableType: string
location: string
project: string
tableId: string
type: TYPE_UNSPECIFIED
Table Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Table resource accepts the following input properties:
- Catalog
Id string - Database
Id string - Table
Id string - Required. The ID to use for the table, which will become the final component of the table's resource name.
- Etag string
- The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.
- Hive
Options Pulumi.Google Native. Big Lake. V1. Inputs. Hive Table Options - Options of a Hive table.
- Location string
- Project string
- Type
Pulumi.
Google Native. Big Lake. V1. Table Type - The table type.
- Catalog
Id string - Database
Id string - Table
Id string - Required. The ID to use for the table, which will become the final component of the table's resource name.
- Etag string
- The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.
- Hive
Options HiveTable Options Args - Options of a Hive table.
- Location string
- Project string
- Type
Table
Type - The table type.
- catalog
Id String - database
Id String - table
Id String - Required. The ID to use for the table, which will become the final component of the table's resource name.
- etag String
- The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.
- hive
Options HiveTable Options - Options of a Hive table.
- location String
- project String
- type
Table
Type - The table type.
- catalog
Id string - database
Id string - table
Id string - Required. The ID to use for the table, which will become the final component of the table's resource name.
- etag string
- The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.
- hive
Options HiveTable Options - Options of a Hive table.
- location string
- project string
- type
Table
Type - The table type.
- catalog_
id str - database_
id str - table_
id str - Required. The ID to use for the table, which will become the final component of the table's resource name.
- etag str
- The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.
- hive_
options HiveTable Options Args - Options of a Hive table.
- location str
- project str
- type
Table
Type - The table type.
- catalog
Id String - database
Id String - table
Id String - Required. The ID to use for the table, which will become the final component of the table's resource name.
- etag String
- The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.
- hive
Options Property Map - Options of a Hive table.
- location String
- project String
- type "TYPE_UNSPECIFIED" | "HIVE"
- The table type.
Outputs
All input properties are implicitly available as output properties. Additionally, the Table resource produces the following output properties:
- Create
Time string - The creation time of the table.
- Delete
Time string - The deletion time of the table. Only set after the table is deleted.
- Expire
Time string - The time when this table is considered expired. Only set after the table is deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
- Update
Time string - The last modification time of the table.
- Create
Time string - The creation time of the table.
- Delete
Time string - The deletion time of the table. Only set after the table is deleted.
- Expire
Time string - The time when this table is considered expired. Only set after the table is deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
- Update
Time string - The last modification time of the table.
- create
Time String - The creation time of the table.
- delete
Time String - The deletion time of the table. Only set after the table is deleted.
- expire
Time String - The time when this table is considered expired. Only set after the table is deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
- update
Time String - The last modification time of the table.
- create
Time string - The creation time of the table.
- delete
Time string - The deletion time of the table. Only set after the table is deleted.
- expire
Time string - The time when this table is considered expired. Only set after the table is deleted.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
- update
Time string - The last modification time of the table.
- create_
time str - The creation time of the table.
- delete_
time str - The deletion time of the table. Only set after the table is deleted.
- expire_
time str - The time when this table is considered expired. Only set after the table is deleted.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
- update_
time str - The last modification time of the table.
- create
Time String - The creation time of the table.
- delete
Time String - The deletion time of the table. Only set after the table is deleted.
- expire
Time String - The time when this table is considered expired. Only set after the table is deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
- update
Time String - The last modification time of the table.
Supporting Types
HiveTableOptions, HiveTableOptionsArgs
- Parameters Dictionary<string, string>
- Stores user supplied Hive table parameters.
- Storage
Descriptor Pulumi.Google Native. Big Lake. V1. Inputs. Storage Descriptor - Stores physical storage information of the data.
- Table
Type string - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- Parameters map[string]string
- Stores user supplied Hive table parameters.
- Storage
Descriptor StorageDescriptor - Stores physical storage information of the data.
- Table
Type string - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters Map<String,String>
- Stores user supplied Hive table parameters.
- storage
Descriptor StorageDescriptor - Stores physical storage information of the data.
- table
Type String - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters {[key: string]: string}
- Stores user supplied Hive table parameters.
- storage
Descriptor StorageDescriptor - Stores physical storage information of the data.
- table
Type string - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters Mapping[str, str]
- Stores user supplied Hive table parameters.
- storage_
descriptor StorageDescriptor - Stores physical storage information of the data.
- table_
type str - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters Map<String>
- Stores user supplied Hive table parameters.
- storage
Descriptor Property Map - Stores physical storage information of the data.
- table
Type String - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
HiveTableOptionsResponse, HiveTableOptionsResponseArgs
- Parameters Dictionary<string, string>
- Stores user supplied Hive table parameters.
- Storage
Descriptor Pulumi.Google Native. Big Lake. V1. Inputs. Storage Descriptor Response - Stores physical storage information of the data.
- Table
Type string - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- Parameters map[string]string
- Stores user supplied Hive table parameters.
- Storage
Descriptor StorageDescriptor Response - Stores physical storage information of the data.
- Table
Type string - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters Map<String,String>
- Stores user supplied Hive table parameters.
- storage
Descriptor StorageDescriptor Response - Stores physical storage information of the data.
- table
Type String - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters {[key: string]: string}
- Stores user supplied Hive table parameters.
- storage
Descriptor StorageDescriptor Response - Stores physical storage information of the data.
- table
Type string - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters Mapping[str, str]
- Stores user supplied Hive table parameters.
- storage_
descriptor StorageDescriptor Response - Stores physical storage information of the data.
- table_
type str - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters Map<String>
- Stores user supplied Hive table parameters.
- storage
Descriptor Property Map - Stores physical storage information of the data.
- table
Type String - Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
SerDeInfo, SerDeInfoArgs
- Serialization
Lib string - The fully qualified Java class name of the serialization library.
- Serialization
Lib string - The fully qualified Java class name of the serialization library.
- serialization
Lib String - The fully qualified Java class name of the serialization library.
- serialization
Lib string - The fully qualified Java class name of the serialization library.
- serialization_
lib str - The fully qualified Java class name of the serialization library.
- serialization
Lib String - The fully qualified Java class name of the serialization library.
SerDeInfoResponse, SerDeInfoResponseArgs
- Serialization
Lib string - The fully qualified Java class name of the serialization library.
- Serialization
Lib string - The fully qualified Java class name of the serialization library.
- serialization
Lib String - The fully qualified Java class name of the serialization library.
- serialization
Lib string - The fully qualified Java class name of the serialization library.
- serialization_
lib str - The fully qualified Java class name of the serialization library.
- serialization
Lib String - The fully qualified Java class name of the serialization library.
StorageDescriptor, StorageDescriptorArgs
- Input
Format string - The fully qualified Java class name of the input format.
- Location
Uri string - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- Output
Format string - The fully qualified Java class name of the output format.
- Serde
Info Pulumi.Google Native. Big Lake. V1. Inputs. Ser De Info - Serializer and deserializer information.
- Input
Format string - The fully qualified Java class name of the input format.
- Location
Uri string - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- Output
Format string - The fully qualified Java class name of the output format.
- Serde
Info SerDe Info - Serializer and deserializer information.
- input
Format String - The fully qualified Java class name of the input format.
- location
Uri String - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- output
Format String - The fully qualified Java class name of the output format.
- serde
Info SerDe Info - Serializer and deserializer information.
- input
Format string - The fully qualified Java class name of the input format.
- location
Uri string - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- output
Format string - The fully qualified Java class name of the output format.
- serde
Info SerDe Info - Serializer and deserializer information.
- input_
format str - The fully qualified Java class name of the input format.
- location_
uri str - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- output_
format str - The fully qualified Java class name of the output format.
- serde_
info SerDe Info - Serializer and deserializer information.
- input
Format String - The fully qualified Java class name of the input format.
- location
Uri String - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- output
Format String - The fully qualified Java class name of the output format.
- serde
Info Property Map - Serializer and deserializer information.
StorageDescriptorResponse, StorageDescriptorResponseArgs
- Input
Format string - The fully qualified Java class name of the input format.
- Location
Uri string - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- Output
Format string - The fully qualified Java class name of the output format.
- Serde
Info Pulumi.Google Native. Big Lake. V1. Inputs. Ser De Info Response - Serializer and deserializer information.
- Input
Format string - The fully qualified Java class name of the input format.
- Location
Uri string - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- Output
Format string - The fully qualified Java class name of the output format.
- Serde
Info SerDe Info Response - Serializer and deserializer information.
- input
Format String - The fully qualified Java class name of the input format.
- location
Uri String - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- output
Format String - The fully qualified Java class name of the output format.
- serde
Info SerDe Info Response - Serializer and deserializer information.
- input
Format string - The fully qualified Java class name of the input format.
- location
Uri string - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- output
Format string - The fully qualified Java class name of the output format.
- serde
Info SerDe Info Response - Serializer and deserializer information.
- input_
format str - The fully qualified Java class name of the input format.
- location_
uri str - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- output_
format str - The fully qualified Java class name of the output format.
- serde_
info SerDe Info Response - Serializer and deserializer information.
- input
Format String - The fully qualified Java class name of the input format.
- location
Uri String - Cloud Storage folder URI where the table data is stored, starting with "gs://".
- output
Format String - The fully qualified Java class name of the output format.
- serde
Info Property Map - Serializer and deserializer information.
TableType, TableTypeArgs
- Type
Unspecified - TYPE_UNSPECIFIEDThe type is not specified.
- Hive
- HIVERepresents a table compatible with Hive Metastore tables.
- Table
Type Type Unspecified - TYPE_UNSPECIFIEDThe type is not specified.
- Table
Type Hive - HIVERepresents a table compatible with Hive Metastore tables.
- Type
Unspecified - TYPE_UNSPECIFIEDThe type is not specified.
- Hive
- HIVERepresents a table compatible with Hive Metastore tables.
- Type
Unspecified - TYPE_UNSPECIFIEDThe type is not specified.
- Hive
- HIVERepresents a table compatible with Hive Metastore tables.
- TYPE_UNSPECIFIED
- TYPE_UNSPECIFIEDThe type is not specified.
- HIVE
- HIVERepresents a table compatible with Hive Metastore tables.
- "TYPE_UNSPECIFIED"
- TYPE_UNSPECIFIEDThe type is not specified.
- "HIVE"
- HIVERepresents a table compatible with Hive Metastore tables.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.