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:
- CatalogId string
- DatabaseId string
- TableId 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.
- HiveOptions 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.
- CatalogId string
- DatabaseId string
- TableId 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.
- HiveOptions HiveTable Options Args 
- Options of a Hive table.
- Location string
- Project string
- Type
TableType 
- The table type.
- catalogId String
- databaseId String
- tableId 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.
- hiveOptions HiveTable Options 
- Options of a Hive table.
- location String
- project String
- type
TableType 
- The table type.
- catalogId string
- databaseId string
- tableId 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.
- hiveOptions HiveTable Options 
- Options of a Hive table.
- location string
- project string
- type
TableType 
- 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
TableType 
- The table type.
- catalogId String
- databaseId String
- tableId 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.
- hiveOptions 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:
- CreateTime string
- The creation time of the table.
- DeleteTime string
- The deletion time of the table. Only set after the table is deleted.
- ExpireTime 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}
- UpdateTime string
- The last modification time of the table.
- CreateTime string
- The creation time of the table.
- DeleteTime string
- The deletion time of the table. Only set after the table is deleted.
- ExpireTime 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}
- UpdateTime string
- The last modification time of the table.
- createTime String
- The creation time of the table.
- deleteTime String
- The deletion time of the table. Only set after the table is deleted.
- expireTime 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}
- updateTime String
- The last modification time of the table.
- createTime string
- The creation time of the table.
- deleteTime string
- The deletion time of the table. Only set after the table is deleted.
- expireTime 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}
- updateTime 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.
- createTime String
- The creation time of the table.
- deleteTime String
- The deletion time of the table. Only set after the table is deleted.
- expireTime 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}
- updateTime String
- The last modification time of the table.
Supporting Types
HiveTableOptions, HiveTableOptionsArgs      
- Parameters Dictionary<string, string>
- Stores user supplied Hive table parameters.
- StorageDescriptor Pulumi.Google Native. Big Lake. V1. Inputs. Storage Descriptor 
- Stores physical storage information of the data.
- TableType string
- Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- Parameters map[string]string
- Stores user supplied Hive table parameters.
- StorageDescriptor StorageDescriptor 
- Stores physical storage information of the data.
- TableType string
- Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters Map<String,String>
- Stores user supplied Hive table parameters.
- storageDescriptor StorageDescriptor 
- Stores physical storage information of the data.
- tableType String
- Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters {[key: string]: string}
- Stores user supplied Hive table parameters.
- storageDescriptor StorageDescriptor 
- Stores physical storage information of the data.
- tableType 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.
- storageDescriptor Property Map
- Stores physical storage information of the data.
- tableType String
- Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
HiveTableOptionsResponse, HiveTableOptionsResponseArgs        
- Parameters Dictionary<string, string>
- Stores user supplied Hive table parameters.
- StorageDescriptor Pulumi.Google Native. Big Lake. V1. Inputs. Storage Descriptor Response 
- Stores physical storage information of the data.
- TableType string
- Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- Parameters map[string]string
- Stores user supplied Hive table parameters.
- StorageDescriptor StorageDescriptor Response 
- Stores physical storage information of the data.
- TableType string
- Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters Map<String,String>
- Stores user supplied Hive table parameters.
- storageDescriptor StorageDescriptor Response 
- Stores physical storage information of the data.
- tableType String
- Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
- parameters {[key: string]: string}
- Stores user supplied Hive table parameters.
- storageDescriptor StorageDescriptor Response 
- Stores physical storage information of the data.
- tableType 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.
- storageDescriptor Property Map
- Stores physical storage information of the data.
- tableType String
- Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
SerDeInfo, SerDeInfoArgs      
- SerializationLib string
- The fully qualified Java class name of the serialization library.
- SerializationLib string
- The fully qualified Java class name of the serialization library.
- serializationLib String
- The fully qualified Java class name of the serialization library.
- serializationLib string
- The fully qualified Java class name of the serialization library.
- serialization_lib str
- The fully qualified Java class name of the serialization library.
- serializationLib String
- The fully qualified Java class name of the serialization library.
SerDeInfoResponse, SerDeInfoResponseArgs        
- SerializationLib string
- The fully qualified Java class name of the serialization library.
- SerializationLib string
- The fully qualified Java class name of the serialization library.
- serializationLib String
- The fully qualified Java class name of the serialization library.
- serializationLib string
- The fully qualified Java class name of the serialization library.
- serialization_lib str
- The fully qualified Java class name of the serialization library.
- serializationLib String
- The fully qualified Java class name of the serialization library.
StorageDescriptor, StorageDescriptorArgs    
- InputFormat string
- The fully qualified Java class name of the input format.
- LocationUri string
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- OutputFormat string
- The fully qualified Java class name of the output format.
- SerdeInfo Pulumi.Google Native. Big Lake. V1. Inputs. Ser De Info 
- Serializer and deserializer information.
- InputFormat string
- The fully qualified Java class name of the input format.
- LocationUri string
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- OutputFormat string
- The fully qualified Java class name of the output format.
- SerdeInfo SerDe Info 
- Serializer and deserializer information.
- inputFormat String
- The fully qualified Java class name of the input format.
- locationUri String
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- outputFormat String
- The fully qualified Java class name of the output format.
- serdeInfo SerDe Info 
- Serializer and deserializer information.
- inputFormat string
- The fully qualified Java class name of the input format.
- locationUri string
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- outputFormat string
- The fully qualified Java class name of the output format.
- serdeInfo 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.
- inputFormat String
- The fully qualified Java class name of the input format.
- locationUri String
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- outputFormat String
- The fully qualified Java class name of the output format.
- serdeInfo Property Map
- Serializer and deserializer information.
StorageDescriptorResponse, StorageDescriptorResponseArgs      
- InputFormat string
- The fully qualified Java class name of the input format.
- LocationUri string
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- OutputFormat string
- The fully qualified Java class name of the output format.
- SerdeInfo Pulumi.Google Native. Big Lake. V1. Inputs. Ser De Info Response 
- Serializer and deserializer information.
- InputFormat string
- The fully qualified Java class name of the input format.
- LocationUri string
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- OutputFormat string
- The fully qualified Java class name of the output format.
- SerdeInfo SerDe Info Response 
- Serializer and deserializer information.
- inputFormat String
- The fully qualified Java class name of the input format.
- locationUri String
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- outputFormat String
- The fully qualified Java class name of the output format.
- serdeInfo SerDe Info Response 
- Serializer and deserializer information.
- inputFormat string
- The fully qualified Java class name of the input format.
- locationUri string
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- outputFormat string
- The fully qualified Java class name of the output format.
- serdeInfo 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.
- inputFormat String
- The fully qualified Java class name of the input format.
- locationUri String
- Cloud Storage folder URI where the table data is stored, starting with "gs://".
- outputFormat String
- The fully qualified Java class name of the output format.
- serdeInfo Property Map
- Serializer and deserializer information.
TableType, TableTypeArgs    
- TypeUnspecified 
- TYPE_UNSPECIFIEDThe type is not specified.
- Hive
- HIVERepresents a table compatible with Hive Metastore tables.
- TableType Type Unspecified 
- TYPE_UNSPECIFIEDThe type is not specified.
- TableType Hive 
- HIVERepresents a table compatible with Hive Metastore tables.
- TypeUnspecified 
- TYPE_UNSPECIFIEDThe type is not specified.
- Hive
- HIVERepresents a table compatible with Hive Metastore tables.
- TypeUnspecified 
- 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.