Service Client: Google::Cloud::Chronicle::V1::DataTable::DataTableServiceClient

Client stub representing the remote DataTableService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to chronicle.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Chronicle::V1::DataTable - Compiled Protocol Buffers messages for google/cloud/chronicle/v1/data_table.proto

SYNOPSIS

use Google::Cloud::Chronicle::V1::DataTable;

my $msg = Google::Cloud::Chronicle::V1::DataTable::CreateDataTableRequest->new({
    parent => $parent,
    data_table => $data_table,
    data_table_id => $data_table_id,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Chronicle::V1::DataTable::CreateDataTableRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/chronicle/v1/data_table.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Chronicle::V1::DataTable::CreateDataTableRequest

A request to create DataTable.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource where this data table will be created. Format: projects/{project}/locations/{location}/instances/{instance}

  • $msg->data_table() / $msg->data_table($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::DataTable)

    Required. The data table being created.

  • $msg->data_table_id() / $msg->data_table_id($value)

    Type: String

    Required. 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.

Google::Cloud::Chronicle::V1::DataTable::GetDataTableRequest

A request to get details about a data table.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the data table to retrieve. Format: projects/{project}/locations/{location}/instances/{instances}/dataTables/{data_table}

Google::Cloud::Chronicle::V1::DataTable::UpdateDataTableRequest

A request to update details of data table.

Inherits from Protobuf::Message.

Accessors

  • $msg->data_table() / $msg->data_table($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::DataTable)

    Required. This field is used to identify the datatable to update. Format: projects/{project}/locations/{locations}/instances/{instance}/dataTables/{data_table}

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of metadata fields to update. Currently data tables only support updating the `description`, `row_time_to_live` and `scope_info` fields. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

Google::Cloud::Chronicle::V1::DataTable::ListDataTablesRequest

A request for a list of data tables.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource where this data table will be created. Format: projects/{project}/locations/{location}/instances/{instance}

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of data tables to return. The service may return fewer than this value. If unspecified, at most 100 data tables will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListDataTables` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDataTables` must match the call that provided the page token.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Configures ordering of DataTables in the response. Note: Our implementation currently supports order by "create_time asc" only

Google::Cloud::Chronicle::V1::DataTable::DeleteDataTableRequest

Request message for deleting data tables.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the data table to delete. Format projects/{project}/locations/{location}/instances/{instances}/dataTables/{data_table}

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, any rows under this data table will also be deleted. (Otherwise, the request will only work if the data table has no rows.)

Google::Cloud::Chronicle::V1::DataTable::ListDataTablesResponse

Response message for listing data tables.

Inherits from Protobuf::Message.

Accessors

  • $msg->data_tables() / $msg->data_tables($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::DataTable)

    The list of the data tables returned.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Chronicle::V1::DataTable::CreateDataTableRowRequest

Request to create data table row.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}

  • $msg->data_table_row() / $msg->data_table_row($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::DataTableRow)

    Required. The data table row to create.

Google::Cloud::Chronicle::V1::DataTable::UpdateDataTableRowRequest

Request to update data table row.

Inherits from Protobuf::Message.

Accessors

  • $msg->data_table_row() / $msg->data_table_row($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::DataTableRow)

    Required. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. The list of fields to update. Currently data table rows only support updating the `values` field. When no field mask is supplied, all non-empty fields will be updated. A field mask of "*" will update all fields, whether empty or not.

Google::Cloud::Chronicle::V1::DataTable::ListDataTableRowsRequest

Request to list data table rows.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource id of the data table. Format: projects/{project}/locations/{locations}/instances/{instance}/dataTables/{data_table}

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of data table rows to return. The service may return fewer than this value. If unspecified, at most 100 data table rows will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListDataTableRows` call.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Configures ordering of DataTables in the response. Note: Our implementation currently supports order by "create_time asc" only

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter facilitating search over data table rows. This filter performs a case-insensitive substring match on the row values.

Google::Cloud::Chronicle::V1::DataTable::ListDataTableRowsResponse

Response message for listing data table rows.

Inherits from Protobuf::Message.

Accessors

  • $msg->data_table_rows() / $msg->data_table_rows($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::DataTableRow)

    The list of the data table rows returned.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Chronicle::V1::DataTable::GetDataTableRowRequest

Request to get data table row.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the data table row i,e row_id. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}

Google::Cloud::Chronicle::V1::DataTable::DeleteDataTableRowRequest

Request to delete data table row.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the data table row i,e row_id. Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}

Google::Cloud::Chronicle::V1::DataTable::BulkCreateDataTableRowsRequest

Request to create data table rows in bulk.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}

  • $msg->requests() / $msg->requests($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::CreateDataTableRowRequest)

    Required. Data table rows to create. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be created in a single request. Total size of the rows should be less than 4MB.

Google::Cloud::Chronicle::V1::DataTable::BulkCreateDataTableRowsResponse

Response message with created data table rows.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Chronicle::V1::DataTable::BulkGetDataTableRowsRequest

Request to get data table rows in bulk.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}

  • $msg->requests() / $msg->requests($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::GetDataTableRowRequest)

    Required. Data table rows to get. At max 1,000 rows can be there in a request.

Google::Cloud::Chronicle::V1::DataTable::BulkGetDataTableRowsResponse

Response message with data table rows.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Chronicle::V1::DataTable::BulkReplaceDataTableRowsRequest

Request to replace data table rows in bulk.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}

  • $msg->requests() / $msg->requests($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::CreateDataTableRowRequest)

    Required. Data table rows to replace the existing data table rows. A maximum of 1000 rows (for sync requests) or 2000 rows (for async requests) can be replaced in a single request. Total size of the rows should be less than 4MB.

Google::Cloud::Chronicle::V1::DataTable::BulkReplaceDataTableRowsResponse

Response message with data table rows that replaced existing data table rows.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Chronicle::V1::DataTable::BulkUpdateDataTableRowsRequest

Request to update data table rows in bulk.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource id of the data table. Format: /projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}

  • $msg->requests() / $msg->requests($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::UpdateDataTableRowRequest)

    Required. Data table rows to update. At max 1,000 rows (or rows with size less than 2MB) can be there in a request.

Google::Cloud::Chronicle::V1::DataTable::BulkUpdateDataTableRowsResponse

Response message with updated data table rows.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Chronicle::V1::DataTable::DataTableScopeInfo

DataTableScopeInfo specifies the scope info of the data table.

Inherits from Protobuf::Message.

Accessors

  • $msg->data_access_scopes() / $msg->data_access_scopes($value)

    Type: String

    Required. 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}"

Google::Cloud::Chronicle::V1::DataTable::DataTable

DataTable represents the data table resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The resource name of the data table Format: "{project}/locations/{location}/instances/{instance}/dataTables/{data_table}"

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output only. The unique display name of the data table.

  • $msg->description() / $msg->description($value)

    Type: String

    Required. A user-provided description of the data table.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Table create time

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Table update time

  • $msg->column_info() / $msg->column_info($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::DataTableColumnInfo)

    Immutable. Details of all the columns in the table

  • $msg->data_table_uuid() / $msg->data_table_uuid($value)

    Type: String

    Output only. Data table unique id

  • $msg->rules() / $msg->rules($value)

    Type: String

    Output only. 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.

  • $msg->rule_associations_count() / $msg->rule_associations_count($value)

    Type: Int32

    Output only. The count of rules using the data table.

  • $msg->row_time_to_live() / $msg->row_time_to_live($value)

    Type: String

    Optional. User-provided TTL of the data table.

  • $msg->approximate_row_count() / $msg->approximate_row_count($value)

    Type: Int64

    Output only. The count of rows in the data table.

  • $msg->scope_info() / $msg->scope_info($value)

    Type: Message (Google::Cloud::Chronicle::V1::DataTable::DataTableScopeInfo)

    Optional. The scope info of the data table. During data table creation, if this field is not set, the data table without scopes (an unscoped table) will be created for a global user. For a scoped user, this field must be set. During data table update, if scope_info is requested to be updated, this field must be set.

  • $msg->update_source() / $msg->update_source($value)

    Type: Enum (Google::Cloud::Chronicle::V1::DataTableUpdateSource)

    Output only. Source of the data table update.

  • $msg->row_time_to_live_update_time() / $msg->row_time_to_live_update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Last update time of the TTL of the data table.

Google::Cloud::Chronicle::V1::DataTable::DataTableRow

DataTableRow represents a single row in a data table.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The resource name of the data table Format: projects/{project}/locations/{location}/instances/{instance}/dataTables/{data_table}/dataTableRows/{data_table_row}

  • $msg->values() / $msg->values($value)

    Type: String

    Required. All column values for a single row. The values should be in the same order as the columns of the data tables.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. DataTableRow create time

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. DataTableRow update time

  • $msg->row_time_to_live() / $msg->row_time_to_live($value)

    Type: String

    Optional. User-provided TTL of the data table row.

Google::Cloud::Chronicle::V1::DataTable::DataTableColumnInfo

DataTableColumnInfo represents the column metadata of the datatable. The column_index represents the ordering of the values in DataTableRow.

Inherits from Protobuf::Message.

Accessors

  • $msg->mapped_column_path() / $msg->mapped_column_path($value)

    Type: String

    Entity proto field path that the column is mapped to

  • $msg->column_type() / $msg->column_type($value)

    Type: Enum (Google::Cloud::Chronicle::V1::DataTableColumnInfo::DataTableColumnType)

    Column type can be STRING, CIDR (Ex- 10.1.1.0/24), REGEX

  • $msg->column_index() / $msg->column_index($value)

    Type: Int32

    Required. Column Index. 0,1,2...

  • $msg->original_column() / $msg->original_column($value)

    Type: String

    Required. 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.

  • $msg->key_column() / $msg->key_column($value)

    Type: Bool

    Optional. 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.

  • $msg->repeated_values() / $msg->repeated_values($value)

    Type: Bool

    Optional. Whether the column is a repeated values column.

Enum: DataTableColumnInfo::DataTableColumnType

  • DATA_TABLE_COLUMN_TYPE_UNSPECIFIED => 0

  • STRING => 1

  • REGEX => 2

  • CIDR => 3

  • NUMBER => 4

Google::Cloud::Chronicle::V1::DataTable::GetDataTableOperationErrorsRequest

The request message for GetDataTableOperationErrors.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Resource name for the data table operation errors. Format: projects/{project}/locations/{location}/instances/{instance}/dataTableOperationErrors/{data_table_operation_errors}

Google::Cloud::Chronicle::V1::DataTable::DataTableOperationErrors

The message containing the errors for a data table operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Resource name for the data table operation errors. Format: projects/{project}/locations/{location}/instances/{instance}/dataTableOperationErrors/{data_table_operation_errors}

  • $msg->rpc_errors() / $msg->rpc_errors($value)

    Type: Message (Google::Rpc::Status::Status)

    The list of errors. Replaces the deprecated `errors` field.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Chronicle::V1::DataTable::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.