0.9.0 (latest) 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::DataTable.

DataTable represents the data table resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #approximate_row_count

    def approximate_row_count() -> ::Integer

**Returns**

- (::Integer) --- Output only. The count of rows in the data table.

### #column_info

    def column_info() -> ::Array<::Google::Cloud::Chronicle::V1::DataTableColumnInfo>

**Returns**

- (::Array\<[::Google::Cloud::Chronicle::V1::DataTableColumnInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-DataTableColumnInfo)\>) --- Immutable. Details of all the columns in the table

### #column_info=

    def column_info=(value) -> ::Array<::Google::Cloud::Chronicle::V1::DataTableColumnInfo>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Chronicle::V1::DataTableColumnInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-DataTableColumnInfo)\>) --- Immutable. Details of all the columns in the table
**Returns**

- (::Array\<[::Google::Cloud::Chronicle::V1::DataTableColumnInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-DataTableColumnInfo)\>) --- Immutable. Details of all the columns in the table

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Table create time

### #data_table_uuid

    def data_table_uuid() -> ::String

**Returns**

- (::String) --- Output only. Data table unique id

### #description

    def description() -> ::String

**Returns**

- (::String) --- Required. A user-provided description of the data table.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. A user-provided description of the data table.
**Returns**

- (::String) --- Required. A user-provided description of the data table.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Output only. The unique display name of the data table.

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The resource name of the data table Format: "{project}/locations/{location}/instances/{instance}/dataTables/{data_table}"
**Returns**

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

### #row_time_to_live

    def row_time_to_live() -> ::String

**Returns**

- (::String) --- Optional. User-provided TTL of the data table.

### #row_time_to_live=

    def row_time_to_live=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. User-provided TTL of the data table.
**Returns**

- (::String) --- Optional. User-provided TTL of the data table.

### #row_time_to_live_update_time

    def row_time_to_live_update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Last update time of the TTL of the data table.

### #rule_associations_count

    def rule_associations_count() -> ::Integer

**Returns**

- (::Integer) --- Output only. The count of rules using the data table.

### #rules

    def rules() -> ::Array<::String>

**Returns**

- (::Array\<::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.

### #scope_info

    def scope_info() -> ::Google::Cloud::Chronicle::V1::DataTableScopeInfo

**Returns**

- ([::Google::Cloud::Chronicle::V1::DataTableScopeInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-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.

### #scope_info=

    def scope_info=(value) -> ::Google::Cloud::Chronicle::V1::DataTableScopeInfo

**Parameter**

- **value** ([::Google::Cloud::Chronicle::V1::DataTableScopeInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-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.
**Returns**

- ([::Google::Cloud::Chronicle::V1::DataTableScopeInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-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.

### #update_source

    def update_source() -> ::Google::Cloud::Chronicle::V1::DataTableUpdateSource

**Returns**

- ([::Google::Cloud::Chronicle::V1::DataTableUpdateSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-DataTableUpdateSource)) --- Output only. Source of the data table update.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Table update time