1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. chronicle
  5. DataTable
Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.16.0
published on Thursday, Mar 19, 2026 by Pulumi

    Represents a Chronicle Data Table, a multicolumn structure used to ingest your own data into Google SecOps.

    Warning: This resource is in beta, and should be used with the terraform-provider-google-beta provider. See Provider Versions for more details on beta resources.

    To get more information about DataTable, see:

    Example Usage

    Chronicle Data Table Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const example = new gcp.chronicle.DataTable("example", {
        location: "us",
        instance: "00000000-0000-0000-0000-000000000000",
        dataTableId: "terraform_test",
        description: "sample desc",
        columnInfos: [
            {
                columnIndex: 0,
                originalColumn: "username",
                columnType: "STRING",
            },
            {
                columnIndex: 1,
                originalColumn: "ip_address",
                columnType: "CIDR",
            },
        ],
    });
    export const dataTableName = example.name;
    export const dataTableId = example.dataTableId;
    export const dataTableUuid = example.dataTableUuid;
    export const dataTableDescription = example.description;
    export const dataTableCreateTime = example.createTime;
    export const dataTableTtl = example.rowTimeToLive;
    
    import pulumi
    import pulumi_gcp as gcp
    
    example = gcp.chronicle.DataTable("example",
        location="us",
        instance="00000000-0000-0000-0000-000000000000",
        data_table_id="terraform_test",
        description="sample desc",
        column_infos=[
            {
                "column_index": 0,
                "original_column": "username",
                "column_type": "STRING",
            },
            {
                "column_index": 1,
                "original_column": "ip_address",
                "column_type": "CIDR",
            },
        ])
    pulumi.export("dataTableName", example.name)
    pulumi.export("dataTableId", example.data_table_id)
    pulumi.export("dataTableUuid", example.data_table_uuid)
    pulumi.export("dataTableDescription", example.description)
    pulumi.export("dataTableCreateTime", example.create_time)
    pulumi.export("dataTableTtl", example.row_time_to_live)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/chronicle"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := chronicle.NewDataTable(ctx, "example", &chronicle.DataTableArgs{
    			Location:    pulumi.String("us"),
    			Instance:    pulumi.String("00000000-0000-0000-0000-000000000000"),
    			DataTableId: pulumi.String("terraform_test"),
    			Description: pulumi.String("sample desc"),
    			ColumnInfos: chronicle.DataTableColumnInfoArray{
    				&chronicle.DataTableColumnInfoArgs{
    					ColumnIndex:    pulumi.Int(0),
    					OriginalColumn: pulumi.String("username"),
    					ColumnType:     pulumi.String("STRING"),
    				},
    				&chronicle.DataTableColumnInfoArgs{
    					ColumnIndex:    pulumi.Int(1),
    					OriginalColumn: pulumi.String("ip_address"),
    					ColumnType:     pulumi.String("CIDR"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("dataTableName", example.Name)
    		ctx.Export("dataTableId", example.DataTableId)
    		ctx.Export("dataTableUuid", example.DataTableUuid)
    		ctx.Export("dataTableDescription", example.Description)
    		ctx.Export("dataTableCreateTime", example.CreateTime)
    		ctx.Export("dataTableTtl", example.RowTimeToLive)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Gcp.Chronicle.DataTable("example", new()
        {
            Location = "us",
            Instance = "00000000-0000-0000-0000-000000000000",
            DataTableId = "terraform_test",
            Description = "sample desc",
            ColumnInfos = new[]
            {
                new Gcp.Chronicle.Inputs.DataTableColumnInfoArgs
                {
                    ColumnIndex = 0,
                    OriginalColumn = "username",
                    ColumnType = "STRING",
                },
                new Gcp.Chronicle.Inputs.DataTableColumnInfoArgs
                {
                    ColumnIndex = 1,
                    OriginalColumn = "ip_address",
                    ColumnType = "CIDR",
                },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["dataTableName"] = example.Name,
            ["dataTableId"] = example.DataTableId,
            ["dataTableUuid"] = example.DataTableUuid,
            ["dataTableDescription"] = example.Description,
            ["dataTableCreateTime"] = example.CreateTime,
            ["dataTableTtl"] = example.RowTimeToLive,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.chronicle.DataTable;
    import com.pulumi.gcp.chronicle.DataTableArgs;
    import com.pulumi.gcp.chronicle.inputs.DataTableColumnInfoArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new DataTable("example", DataTableArgs.builder()
                .location("us")
                .instance("00000000-0000-0000-0000-000000000000")
                .dataTableId("terraform_test")
                .description("sample desc")
                .columnInfos(            
                    DataTableColumnInfoArgs.builder()
                        .columnIndex(0)
                        .originalColumn("username")
                        .columnType("STRING")
                        .build(),
                    DataTableColumnInfoArgs.builder()
                        .columnIndex(1)
                        .originalColumn("ip_address")
                        .columnType("CIDR")
                        .build())
                .build());
    
            ctx.export("dataTableName", example.name());
            ctx.export("dataTableId", example.dataTableId());
            ctx.export("dataTableUuid", example.dataTableUuid());
            ctx.export("dataTableDescription", example.description());
            ctx.export("dataTableCreateTime", example.createTime());
            ctx.export("dataTableTtl", example.rowTimeToLive());
        }
    }
    
    resources:
      example:
        type: gcp:chronicle:DataTable
        properties:
          location: us
          instance: 00000000-0000-0000-0000-000000000000
          dataTableId: terraform_test
          description: sample desc
          columnInfos:
            - columnIndex: 0
              originalColumn: username
              columnType: STRING
            - columnIndex: 1
              originalColumn: ip_address
              columnType: CIDR
    outputs:
      dataTableName: ${example.name}
      dataTableId: ${example.dataTableId}
      dataTableUuid: ${example.dataTableUuid}
      dataTableDescription: ${example.description}
      dataTableCreateTime: ${example.createTime}
      dataTableTtl: ${example.rowTimeToLive}
    

    Chronicle Data Table With Optional Fields

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const testScopeAllowEveryone = new gcp.chronicle.DataAccessScope("test_scope_allow_everyone", {
        location: "us",
        instance: "00000000-0000-0000-0000-000000000000",
        dataAccessScopeId: "tf-scope-opt",
        description: "scope-description",
        allowedDataAccessLabels: [{
            logType: "GCP_CLOUDAUDIT",
        }],
    });
    const exampleDt = new gcp.chronicle.DataTable("example_dt", {
        location: "us",
        instance: "00000000-0000-0000-0000-000000000000",
        dataTableId: "tf_test_full",
        description: "Comprehensive test table with all teh fields",
        rowTimeToLive: "48h",
        columnInfos: [
            {
                columnIndex: 0,
                originalColumn: "username",
                keyColumn: true,
                mappedColumnPath: "entity.user.userid",
                repeatedValues: false,
            },
            {
                columnIndex: 1,
                originalColumn: "ip_address",
                columnType: "CIDR",
                keyColumn: false,
                repeatedValues: false,
            },
        ],
        scopeInfo: {
            dataAccessScopes: [testScopeAllowEveryone.name],
        },
    }, {
        dependsOn: [testScopeAllowEveryone],
    });
    export const dataTableName = exampleDt.name;
    export const dataTableId = exampleDt.id;
    export const dataTableCreateTime = exampleDt.createTime;
    export const dataTableColumnInfo = exampleDt.columnInfos;
    
    import pulumi
    import pulumi_gcp as gcp
    
    test_scope_allow_everyone = gcp.chronicle.DataAccessScope("test_scope_allow_everyone",
        location="us",
        instance="00000000-0000-0000-0000-000000000000",
        data_access_scope_id="tf-scope-opt",
        description="scope-description",
        allowed_data_access_labels=[{
            "log_type": "GCP_CLOUDAUDIT",
        }])
    example_dt = gcp.chronicle.DataTable("example_dt",
        location="us",
        instance="00000000-0000-0000-0000-000000000000",
        data_table_id="tf_test_full",
        description="Comprehensive test table with all teh fields",
        row_time_to_live="48h",
        column_infos=[
            {
                "column_index": 0,
                "original_column": "username",
                "key_column": True,
                "mapped_column_path": "entity.user.userid",
                "repeated_values": False,
            },
            {
                "column_index": 1,
                "original_column": "ip_address",
                "column_type": "CIDR",
                "key_column": False,
                "repeated_values": False,
            },
        ],
        scope_info={
            "data_access_scopes": [test_scope_allow_everyone.name],
        },
        opts = pulumi.ResourceOptions(depends_on=[test_scope_allow_everyone]))
    pulumi.export("dataTableName", example_dt.name)
    pulumi.export("dataTableId", example_dt.id)
    pulumi.export("dataTableCreateTime", example_dt.create_time)
    pulumi.export("dataTableColumnInfo", example_dt.column_infos)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/chronicle"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		testScopeAllowEveryone, err := chronicle.NewDataAccessScope(ctx, "test_scope_allow_everyone", &chronicle.DataAccessScopeArgs{
    			Location:          pulumi.String("us"),
    			Instance:          pulumi.String("00000000-0000-0000-0000-000000000000"),
    			DataAccessScopeId: pulumi.String("tf-scope-opt"),
    			Description:       pulumi.String("scope-description"),
    			AllowedDataAccessLabels: chronicle.DataAccessScopeAllowedDataAccessLabelArray{
    				&chronicle.DataAccessScopeAllowedDataAccessLabelArgs{
    					LogType: pulumi.String("GCP_CLOUDAUDIT"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleDt, err := chronicle.NewDataTable(ctx, "example_dt", &chronicle.DataTableArgs{
    			Location:      pulumi.String("us"),
    			Instance:      pulumi.String("00000000-0000-0000-0000-000000000000"),
    			DataTableId:   pulumi.String("tf_test_full"),
    			Description:   pulumi.String("Comprehensive test table with all teh fields"),
    			RowTimeToLive: pulumi.String("48h"),
    			ColumnInfos: chronicle.DataTableColumnInfoArray{
    				&chronicle.DataTableColumnInfoArgs{
    					ColumnIndex:      pulumi.Int(0),
    					OriginalColumn:   pulumi.String("username"),
    					KeyColumn:        pulumi.Bool(true),
    					MappedColumnPath: pulumi.String("entity.user.userid"),
    					RepeatedValues:   pulumi.Bool(false),
    				},
    				&chronicle.DataTableColumnInfoArgs{
    					ColumnIndex:    pulumi.Int(1),
    					OriginalColumn: pulumi.String("ip_address"),
    					ColumnType:     pulumi.String("CIDR"),
    					KeyColumn:      pulumi.Bool(false),
    					RepeatedValues: pulumi.Bool(false),
    				},
    			},
    			ScopeInfo: &chronicle.DataTableScopeInfoArgs{
    				DataAccessScopes: pulumi.StringArray{
    					testScopeAllowEveryone.Name,
    				},
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			testScopeAllowEveryone,
    		}))
    		if err != nil {
    			return err
    		}
    		ctx.Export("dataTableName", exampleDt.Name)
    		ctx.Export("dataTableId", exampleDt.ID())
    		ctx.Export("dataTableCreateTime", exampleDt.CreateTime)
    		ctx.Export("dataTableColumnInfo", exampleDt.ColumnInfos)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var testScopeAllowEveryone = new Gcp.Chronicle.DataAccessScope("test_scope_allow_everyone", new()
        {
            Location = "us",
            Instance = "00000000-0000-0000-0000-000000000000",
            DataAccessScopeId = "tf-scope-opt",
            Description = "scope-description",
            AllowedDataAccessLabels = new[]
            {
                new Gcp.Chronicle.Inputs.DataAccessScopeAllowedDataAccessLabelArgs
                {
                    LogType = "GCP_CLOUDAUDIT",
                },
            },
        });
    
        var exampleDt = new Gcp.Chronicle.DataTable("example_dt", new()
        {
            Location = "us",
            Instance = "00000000-0000-0000-0000-000000000000",
            DataTableId = "tf_test_full",
            Description = "Comprehensive test table with all teh fields",
            RowTimeToLive = "48h",
            ColumnInfos = new[]
            {
                new Gcp.Chronicle.Inputs.DataTableColumnInfoArgs
                {
                    ColumnIndex = 0,
                    OriginalColumn = "username",
                    KeyColumn = true,
                    MappedColumnPath = "entity.user.userid",
                    RepeatedValues = false,
                },
                new Gcp.Chronicle.Inputs.DataTableColumnInfoArgs
                {
                    ColumnIndex = 1,
                    OriginalColumn = "ip_address",
                    ColumnType = "CIDR",
                    KeyColumn = false,
                    RepeatedValues = false,
                },
            },
            ScopeInfo = new Gcp.Chronicle.Inputs.DataTableScopeInfoArgs
            {
                DataAccessScopes = new[]
                {
                    testScopeAllowEveryone.Name,
                },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                testScopeAllowEveryone,
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["dataTableName"] = exampleDt.Name,
            ["dataTableId"] = exampleDt.Id,
            ["dataTableCreateTime"] = exampleDt.CreateTime,
            ["dataTableColumnInfo"] = exampleDt.ColumnInfos,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.chronicle.DataAccessScope;
    import com.pulumi.gcp.chronicle.DataAccessScopeArgs;
    import com.pulumi.gcp.chronicle.inputs.DataAccessScopeAllowedDataAccessLabelArgs;
    import com.pulumi.gcp.chronicle.DataTable;
    import com.pulumi.gcp.chronicle.DataTableArgs;
    import com.pulumi.gcp.chronicle.inputs.DataTableColumnInfoArgs;
    import com.pulumi.gcp.chronicle.inputs.DataTableScopeInfoArgs;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testScopeAllowEveryone = new DataAccessScope("testScopeAllowEveryone", DataAccessScopeArgs.builder()
                .location("us")
                .instance("00000000-0000-0000-0000-000000000000")
                .dataAccessScopeId("tf-scope-opt")
                .description("scope-description")
                .allowedDataAccessLabels(DataAccessScopeAllowedDataAccessLabelArgs.builder()
                    .logType("GCP_CLOUDAUDIT")
                    .build())
                .build());
    
            var exampleDt = new DataTable("exampleDt", DataTableArgs.builder()
                .location("us")
                .instance("00000000-0000-0000-0000-000000000000")
                .dataTableId("tf_test_full")
                .description("Comprehensive test table with all teh fields")
                .rowTimeToLive("48h")
                .columnInfos(            
                    DataTableColumnInfoArgs.builder()
                        .columnIndex(0)
                        .originalColumn("username")
                        .keyColumn(true)
                        .mappedColumnPath("entity.user.userid")
                        .repeatedValues(false)
                        .build(),
                    DataTableColumnInfoArgs.builder()
                        .columnIndex(1)
                        .originalColumn("ip_address")
                        .columnType("CIDR")
                        .keyColumn(false)
                        .repeatedValues(false)
                        .build())
                .scopeInfo(DataTableScopeInfoArgs.builder()
                    .dataAccessScopes(testScopeAllowEveryone.name())
                    .build())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(testScopeAllowEveryone)
                    .build());
    
            ctx.export("dataTableName", exampleDt.name());
            ctx.export("dataTableId", exampleDt.id());
            ctx.export("dataTableCreateTime", exampleDt.createTime());
            ctx.export("dataTableColumnInfo", exampleDt.columnInfos());
        }
    }
    
    resources:
      testScopeAllowEveryone:
        type: gcp:chronicle:DataAccessScope
        name: test_scope_allow_everyone
        properties:
          location: us
          instance: 00000000-0000-0000-0000-000000000000
          dataAccessScopeId: tf-scope-opt
          description: scope-description
          allowedDataAccessLabels:
            - logType: GCP_CLOUDAUDIT
      exampleDt:
        type: gcp:chronicle:DataTable
        name: example_dt
        properties:
          location: us
          instance: 00000000-0000-0000-0000-000000000000
          dataTableId: tf_test_full
          description: Comprehensive test table with all teh fields
          rowTimeToLive: 48h
          columnInfos:
            - columnIndex: 0
              originalColumn: username
              keyColumn: true
              mappedColumnPath: entity.user.userid
              repeatedValues: false
            - columnIndex: 1
              originalColumn: ip_address
              columnType: CIDR
              keyColumn: false
              repeatedValues: false
          scopeInfo:
            dataAccessScopes:
              - ${testScopeAllowEveryone.name}
        options:
          dependsOn:
            - ${testScopeAllowEveryone}
    outputs:
      dataTableName: ${exampleDt.name}
      dataTableId: ${exampleDt.id}
      dataTableCreateTime: ${exampleDt.createTime}
      dataTableColumnInfo: ${exampleDt.columnInfos}
    

    Create DataTable Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DataTable(name: string, args: DataTableArgs, opts?: CustomResourceOptions);
    @overload
    def DataTable(resource_name: str,
                  args: DataTableArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DataTable(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  data_table_id: Optional[str] = None,
                  description: Optional[str] = None,
                  instance: Optional[str] = None,
                  location: Optional[str] = None,
                  column_infos: Optional[Sequence[DataTableColumnInfoArgs]] = None,
                  deletion_policy: Optional[str] = None,
                  project: Optional[str] = None,
                  row_time_to_live: Optional[str] = None,
                  scope_info: Optional[DataTableScopeInfoArgs] = None)
    func NewDataTable(ctx *Context, name string, args DataTableArgs, opts ...ResourceOption) (*DataTable, error)
    public DataTable(string name, DataTableArgs args, CustomResourceOptions? opts = null)
    public DataTable(String name, DataTableArgs args)
    public DataTable(String name, DataTableArgs args, CustomResourceOptions options)
    
    type: gcp:chronicle:DataTable
    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 DataTableArgs
    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 DataTableArgs
    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 DataTableArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DataTableArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DataTableArgs
    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 dataTableResource = new Gcp.Chronicle.DataTable("dataTableResource", new()
    {
        DataTableId = "string",
        Description = "string",
        Instance = "string",
        Location = "string",
        ColumnInfos = new[]
        {
            new Gcp.Chronicle.Inputs.DataTableColumnInfoArgs
            {
                ColumnIndex = 0,
                OriginalColumn = "string",
                ColumnType = "string",
                KeyColumn = false,
                MappedColumnPath = "string",
                RepeatedValues = false,
            },
        },
        DeletionPolicy = "string",
        Project = "string",
        RowTimeToLive = "string",
        ScopeInfo = new Gcp.Chronicle.Inputs.DataTableScopeInfoArgs
        {
            DataAccessScopes = new[]
            {
                "string",
            },
        },
    });
    
    example, err := chronicle.NewDataTable(ctx, "dataTableResource", &chronicle.DataTableArgs{
    	DataTableId: pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Instance:    pulumi.String("string"),
    	Location:    pulumi.String("string"),
    	ColumnInfos: chronicle.DataTableColumnInfoArray{
    		&chronicle.DataTableColumnInfoArgs{
    			ColumnIndex:      pulumi.Int(0),
    			OriginalColumn:   pulumi.String("string"),
    			ColumnType:       pulumi.String("string"),
    			KeyColumn:        pulumi.Bool(false),
    			MappedColumnPath: pulumi.String("string"),
    			RepeatedValues:   pulumi.Bool(false),
    		},
    	},
    	DeletionPolicy: pulumi.String("string"),
    	Project:        pulumi.String("string"),
    	RowTimeToLive:  pulumi.String("string"),
    	ScopeInfo: &chronicle.DataTableScopeInfoArgs{
    		DataAccessScopes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    })
    
    var dataTableResource = new DataTable("dataTableResource", DataTableArgs.builder()
        .dataTableId("string")
        .description("string")
        .instance("string")
        .location("string")
        .columnInfos(DataTableColumnInfoArgs.builder()
            .columnIndex(0)
            .originalColumn("string")
            .columnType("string")
            .keyColumn(false)
            .mappedColumnPath("string")
            .repeatedValues(false)
            .build())
        .deletionPolicy("string")
        .project("string")
        .rowTimeToLive("string")
        .scopeInfo(DataTableScopeInfoArgs.builder()
            .dataAccessScopes("string")
            .build())
        .build());
    
    data_table_resource = gcp.chronicle.DataTable("dataTableResource",
        data_table_id="string",
        description="string",
        instance="string",
        location="string",
        column_infos=[{
            "column_index": 0,
            "original_column": "string",
            "column_type": "string",
            "key_column": False,
            "mapped_column_path": "string",
            "repeated_values": False,
        }],
        deletion_policy="string",
        project="string",
        row_time_to_live="string",
        scope_info={
            "data_access_scopes": ["string"],
        })
    
    const dataTableResource = new gcp.chronicle.DataTable("dataTableResource", {
        dataTableId: "string",
        description: "string",
        instance: "string",
        location: "string",
        columnInfos: [{
            columnIndex: 0,
            originalColumn: "string",
            columnType: "string",
            keyColumn: false,
            mappedColumnPath: "string",
            repeatedValues: false,
        }],
        deletionPolicy: "string",
        project: "string",
        rowTimeToLive: "string",
        scopeInfo: {
            dataAccessScopes: ["string"],
        },
    });
    
    type: gcp:chronicle:DataTable
    properties:
        columnInfos:
            - columnIndex: 0
              columnType: string
              keyColumn: false
              mappedColumnPath: string
              originalColumn: string
              repeatedValues: false
        dataTableId: string
        deletionPolicy: string
        description: string
        instance: string
        location: string
        project: string
        rowTimeToLive: string
        scopeInfo:
            dataAccessScopes:
                - string
    

    DataTable 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 DataTable resource accepts the following input properties:

    DataTableId string
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    Description string
    A user-provided description of the data table.
    Instance string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    ColumnInfos List<DataTableColumnInfo>
    Details of all the columns in the table Structure is documented below.
    DeletionPolicy string
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RowTimeToLive string
    User-provided TTL of the data table.
    ScopeInfo DataTableScopeInfo
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    DataTableId string
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    Description string
    A user-provided description of the data table.
    Instance string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    ColumnInfos []DataTableColumnInfoArgs
    Details of all the columns in the table Structure is documented below.
    DeletionPolicy string
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RowTimeToLive string
    User-provided TTL of the data table.
    ScopeInfo DataTableScopeInfoArgs
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    dataTableId String
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    description String
    A user-provided description of the data table.
    instance String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    columnInfos List<DataTableColumnInfo>
    Details of all the columns in the table Structure is documented below.
    deletionPolicy String
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    rowTimeToLive String
    User-provided TTL of the data table.
    scopeInfo DataTableScopeInfo
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    dataTableId string
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    description string
    A user-provided description of the data table.
    instance string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    columnInfos DataTableColumnInfo[]
    Details of all the columns in the table Structure is documented below.
    deletionPolicy string
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    rowTimeToLive string
    User-provided TTL of the data table.
    scopeInfo DataTableScopeInfo
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    data_table_id str
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    description str
    A user-provided description of the data table.
    instance str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    column_infos Sequence[DataTableColumnInfoArgs]
    Details of all the columns in the table Structure is documented below.
    deletion_policy str
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    row_time_to_live str
    User-provided TTL of the data table.
    scope_info DataTableScopeInfoArgs
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    dataTableId String
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    description String
    A user-provided description of the data table.
    instance String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    columnInfos List<Property Map>
    Details of all the columns in the table Structure is documented below.
    deletionPolicy String
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    rowTimeToLive String
    User-provided TTL of the data table.
    scopeInfo Property Map
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DataTable resource produces the following output properties:

    ApproximateRowCount int
    The count of rows in the data table.
    CreateTime string
    Table create time
    DataTableUuid string
    Data table unique id
    DisplayName string
    The unique display name of the data table.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    RowTimeToLiveUpdateTime string
    Last update time of the TTL of the data table.
    RuleAssociationsCount int
    The count of rules using the data table.
    Rules List<string>
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    UpdateSource string
    Possible values: USER RULE SEARCH
    UpdateTime string
    Table update time
    ApproximateRowCount int
    The count of rows in the data table.
    CreateTime string
    Table create time
    DataTableUuid string
    Data table unique id
    DisplayName string
    The unique display name of the data table.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    RowTimeToLiveUpdateTime string
    Last update time of the TTL of the data table.
    RuleAssociationsCount int
    The count of rules using the data table.
    Rules []string
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    UpdateSource string
    Possible values: USER RULE SEARCH
    UpdateTime string
    Table update time
    approximateRowCount Integer
    The count of rows in the data table.
    createTime String
    Table create time
    dataTableUuid String
    Data table unique id
    displayName String
    The unique display name of the data table.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    rowTimeToLiveUpdateTime String
    Last update time of the TTL of the data table.
    ruleAssociationsCount Integer
    The count of rules using the data table.
    rules List<String>
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    updateSource String
    Possible values: USER RULE SEARCH
    updateTime String
    Table update time
    approximateRowCount number
    The count of rows in the data table.
    createTime string
    Table create time
    dataTableUuid string
    Data table unique id
    displayName string
    The unique display name of the data table.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    rowTimeToLiveUpdateTime string
    Last update time of the TTL of the data table.
    ruleAssociationsCount number
    The count of rules using the data table.
    rules string[]
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    updateSource string
    Possible values: USER RULE SEARCH
    updateTime string
    Table update time
    approximate_row_count int
    The count of rows in the data table.
    create_time str
    Table create time
    data_table_uuid str
    Data table unique id
    display_name str
    The unique display name of the data table.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    row_time_to_live_update_time str
    Last update time of the TTL of the data table.
    rule_associations_count int
    The count of rules using the data table.
    rules Sequence[str]
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    update_source str
    Possible values: USER RULE SEARCH
    update_time str
    Table update time
    approximateRowCount Number
    The count of rows in the data table.
    createTime String
    Table create time
    dataTableUuid String
    Data table unique id
    displayName String
    The unique display name of the data table.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    rowTimeToLiveUpdateTime String
    Last update time of the TTL of the data table.
    ruleAssociationsCount Number
    The count of rules using the data table.
    rules List<String>
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    updateSource String
    Possible values: USER RULE SEARCH
    updateTime String
    Table update time

    Look up Existing DataTable Resource

    Get an existing DataTable resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DataTableState, opts?: CustomResourceOptions): DataTable
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            approximate_row_count: Optional[int] = None,
            column_infos: Optional[Sequence[DataTableColumnInfoArgs]] = None,
            create_time: Optional[str] = None,
            data_table_id: Optional[str] = None,
            data_table_uuid: Optional[str] = None,
            deletion_policy: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            instance: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            row_time_to_live: Optional[str] = None,
            row_time_to_live_update_time: Optional[str] = None,
            rule_associations_count: Optional[int] = None,
            rules: Optional[Sequence[str]] = None,
            scope_info: Optional[DataTableScopeInfoArgs] = None,
            update_source: Optional[str] = None,
            update_time: Optional[str] = None) -> DataTable
    func GetDataTable(ctx *Context, name string, id IDInput, state *DataTableState, opts ...ResourceOption) (*DataTable, error)
    public static DataTable Get(string name, Input<string> id, DataTableState? state, CustomResourceOptions? opts = null)
    public static DataTable get(String name, Output<String> id, DataTableState state, CustomResourceOptions options)
    resources:  _:    type: gcp:chronicle:DataTable    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApproximateRowCount int
    The count of rows in the data table.
    ColumnInfos List<DataTableColumnInfo>
    Details of all the columns in the table Structure is documented below.
    CreateTime string
    Table create time
    DataTableId string
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    DataTableUuid string
    Data table unique id
    DeletionPolicy string
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    Description string
    A user-provided description of the data table.
    DisplayName string
    The unique display name of the data table.
    Instance string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Name string
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RowTimeToLive string
    User-provided TTL of the data table.
    RowTimeToLiveUpdateTime string
    Last update time of the TTL of the data table.
    RuleAssociationsCount int
    The count of rules using the data table.
    Rules List<string>
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    ScopeInfo DataTableScopeInfo
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    UpdateSource string
    Possible values: USER RULE SEARCH
    UpdateTime string
    Table update time
    ApproximateRowCount int
    The count of rows in the data table.
    ColumnInfos []DataTableColumnInfoArgs
    Details of all the columns in the table Structure is documented below.
    CreateTime string
    Table create time
    DataTableId string
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    DataTableUuid string
    Data table unique id
    DeletionPolicy string
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    Description string
    A user-provided description of the data table.
    DisplayName string
    The unique display name of the data table.
    Instance string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    Name string
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RowTimeToLive string
    User-provided TTL of the data table.
    RowTimeToLiveUpdateTime string
    Last update time of the TTL of the data table.
    RuleAssociationsCount int
    The count of rules using the data table.
    Rules []string
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    ScopeInfo DataTableScopeInfoArgs
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    UpdateSource string
    Possible values: USER RULE SEARCH
    UpdateTime string
    Table update time
    approximateRowCount Integer
    The count of rows in the data table.
    columnInfos List<DataTableColumnInfo>
    Details of all the columns in the table Structure is documented below.
    createTime String
    Table create time
    dataTableId String
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    dataTableUuid String
    Data table unique id
    deletionPolicy String
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    description String
    A user-provided description of the data table.
    displayName String
    The unique display name of the data table.
    instance String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name String
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    rowTimeToLive String
    User-provided TTL of the data table.
    rowTimeToLiveUpdateTime String
    Last update time of the TTL of the data table.
    ruleAssociationsCount Integer
    The count of rules using the data table.
    rules List<String>
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    scopeInfo DataTableScopeInfo
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    updateSource String
    Possible values: USER RULE SEARCH
    updateTime String
    Table update time
    approximateRowCount number
    The count of rows in the data table.
    columnInfos DataTableColumnInfo[]
    Details of all the columns in the table Structure is documented below.
    createTime string
    Table create time
    dataTableId string
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    dataTableUuid string
    Data table unique id
    deletionPolicy string
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    description string
    A user-provided description of the data table.
    displayName string
    The unique display name of the data table.
    instance string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    location string
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name string
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    rowTimeToLive string
    User-provided TTL of the data table.
    rowTimeToLiveUpdateTime string
    Last update time of the TTL of the data table.
    ruleAssociationsCount number
    The count of rules using the data table.
    rules string[]
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    scopeInfo DataTableScopeInfo
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    updateSource string
    Possible values: USER RULE SEARCH
    updateTime string
    Table update time
    approximate_row_count int
    The count of rows in the data table.
    column_infos Sequence[DataTableColumnInfoArgs]
    Details of all the columns in the table Structure is documented below.
    create_time str
    Table create time
    data_table_id str
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    data_table_uuid str
    Data table unique id
    deletion_policy str
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    description str
    A user-provided description of the data table.
    display_name str
    The unique display name of the data table.
    instance str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    location str
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name str
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    row_time_to_live str
    User-provided TTL of the data table.
    row_time_to_live_update_time str
    Last update time of the TTL of the data table.
    rule_associations_count int
    The count of rules using the data table.
    rules Sequence[str]
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    scope_info DataTableScopeInfoArgs
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    update_source str
    Possible values: USER RULE SEARCH
    update_time str
    Table update time
    approximateRowCount Number
    The count of rows in the data table.
    columnInfos List<Property Map>
    Details of all the columns in the table Structure is documented below.
    createTime String
    Table create time
    dataTableId String
    The ID to use for the data table. This is also the display name for the data table. It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256.
    dataTableUuid String
    Data table unique id
    deletionPolicy String
    The policy governing the deletion of the data table. If set to FORCE, allows the deletion of the data table even if it contains rows. If set to DEFAULT,or if the field is omitted, the data table must be empty before it can be deleted. Possible values: DEFAULT, FORCE
    description String
    A user-provided description of the data table.
    displayName String
    The unique display name of the data table.
    instance String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    location String
    Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    name String
    Identifier. The resource name of the data table Format: "{project}/locations/{region}/instances/{instance}/dataTables/{data_table}"
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    rowTimeToLive String
    User-provided TTL of the data table.
    rowTimeToLiveUpdateTime String
    Last update time of the TTL of the data table.
    ruleAssociationsCount Number
    The count of rules using the data table.
    rules List<String>
    The resource names for the associated Rules that use this data table. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}. {rule} here refers to the rule id.
    scopeInfo Property Map
    DataTableScopeInfo specifies the scope info of the data table. Structure is documented below.
    updateSource String
    Possible values: USER RULE SEARCH
    updateTime String
    Table update time

    Supporting Types

    DataTableColumnInfo, DataTableColumnInfoArgs

    ColumnIndex int
    Column Index. 0,1,2...
    OriginalColumn string
    Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256
    ColumnType string
    Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX Possible values: STRING REGEX CIDR NUMBER Possible values are: STRING, REGEX, CIDR, NUMBER.
    KeyColumn bool
    Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
    MappedColumnPath string
    Entity proto field path that the column is mapped to
    RepeatedValues bool
    Whether the column is a repeated values column.
    ColumnIndex int
    Column Index. 0,1,2...
    OriginalColumn string
    Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256
    ColumnType string
    Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX Possible values: STRING REGEX CIDR NUMBER Possible values are: STRING, REGEX, CIDR, NUMBER.
    KeyColumn bool
    Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
    MappedColumnPath string
    Entity proto field path that the column is mapped to
    RepeatedValues bool
    Whether the column is a repeated values column.
    columnIndex Integer
    Column Index. 0,1,2...
    originalColumn String
    Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256
    columnType String
    Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX Possible values: STRING REGEX CIDR NUMBER Possible values are: STRING, REGEX, CIDR, NUMBER.
    keyColumn Boolean
    Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
    mappedColumnPath String
    Entity proto field path that the column is mapped to
    repeatedValues Boolean
    Whether the column is a repeated values column.
    columnIndex number
    Column Index. 0,1,2...
    originalColumn string
    Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256
    columnType string
    Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX Possible values: STRING REGEX CIDR NUMBER Possible values are: STRING, REGEX, CIDR, NUMBER.
    keyColumn boolean
    Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
    mappedColumnPath string
    Entity proto field path that the column is mapped to
    repeatedValues boolean
    Whether the column is a repeated values column.
    column_index int
    Column Index. 0,1,2...
    original_column str
    Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256
    column_type str
    Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX Possible values: STRING REGEX CIDR NUMBER Possible values are: STRING, REGEX, CIDR, NUMBER.
    key_column bool
    Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
    mapped_column_path str
    Entity proto field path that the column is mapped to
    repeated_values bool
    Whether the column is a repeated values column.
    columnIndex Number
    Column Index. 0,1,2...
    originalColumn String
    Original column name of the Data Table (present in the CSV header in case of creation of data tables using file uploads). It must satisfy the following requirements:

    • Starts with letter.
    • Contains only letters, numbers and underscore.
    • Must be unique and has length < 256
    columnType String
    Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX Possible values: STRING REGEX CIDR NUMBER Possible values are: STRING, REGEX, CIDR, NUMBER.
    keyColumn Boolean
    Whether to include this column in the calculation of the row ID. If no columns have key_column = true, all columns will be included in the calculation of the row ID.
    mappedColumnPath String
    Entity proto field path that the column is mapped to
    repeatedValues Boolean
    Whether the column is a repeated values column.

    DataTableScopeInfo, DataTableScopeInfoArgs

    DataAccessScopes List<string>
    Contains the list of scope names of the data table. If the list is empty, the data table is treated as unscoped. The scope names should be full resource names and should be of the format: "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
    DataAccessScopes []string
    Contains the list of scope names of the data table. If the list is empty, the data table is treated as unscoped. The scope names should be full resource names and should be of the format: "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
    dataAccessScopes List<String>
    Contains the list of scope names of the data table. If the list is empty, the data table is treated as unscoped. The scope names should be full resource names and should be of the format: "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
    dataAccessScopes string[]
    Contains the list of scope names of the data table. If the list is empty, the data table is treated as unscoped. The scope names should be full resource names and should be of the format: "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
    data_access_scopes Sequence[str]
    Contains the list of scope names of the data table. If the list is empty, the data table is treated as unscoped. The scope names should be full resource names and should be of the format: "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"
    dataAccessScopes List<String>
    Contains the list of scope names of the data table. If the list is empty, the data table is treated as unscoped. The scope names should be full resource names and should be of the format: "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}"

    Import

    DataTable can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataTables/{{data_table_id}}
    • {{project}}/{{location}}/{{instance}}/{{data_table_id}}
    • {{location}}/{{instance}}/{{data_table_id}}

    When using the pulumi import command, DataTable can be imported using one of the formats above. For example:

    $ pulumi import gcp:chronicle/dataTable:DataTable default projects/{{project}}/locations/{{location}}/instances/{{instance}}/dataTables/{{data_table_id}}
    $ pulumi import gcp:chronicle/dataTable:DataTable default {{project}}/{{location}}/{{instance}}/{{data_table_id}}
    $ pulumi import gcp:chronicle/dataTable:DataTable default {{location}}/{{instance}}/{{data_table_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.16.0
    published on Thursday, Mar 19, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.