Service Client: Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQueryServiceClient

Client stub representing the remote DashboardQueryService 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::DashboardQuery - Compiled Protocol Buffers messages for google/cloud/chronicle/v1/dashboard_query.proto

SYNOPSIS

use Google::Cloud::Chronicle::V1::DashboardQuery;

my $msg = Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery->new({
    name => $name,
    query => $query,
    input => $input,
    dashboard_chart => $dashboard_chart,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/chronicle/v1/dashboard_query.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::DashboardQuery::DashboardQuery

DashboardQuery resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Name of the dashboardQuery.

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

    Type: String

    Required. Search query string.

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

    Type: Message (Google::Cloud::Chronicle::V1::DashboardQuery::DashboardQuery::Input)

    Required. Inputs to the query.

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

    Type: String

    Output only. DashboardChart this query belongs to.

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

    Type: String

    Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Google::Cloud::Chronicle::V1::DashboardQuery::GetDashboardQueryRequest

Request message to get a dashboard query.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the dashboardQuery to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/dashboardQueries/{query}

Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryRequest

Request message to execute a dashboard query.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent, under which to run this dashboardQuery. Format: projects/{project}/locations/{location}/instances/{instance}

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

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

    Required. The query to execute and get results back for. QueryID or 'query', 'input.time_window' fields will be used. Use 'native_dashboard' and 'dashboard_chart' fields if it is an in-dashboard query.

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

    Type: Message (Google::Cloud::Chronicle::V1::DashboardQuery::DashboardFilter)

    Optional. Dashboard level filters other than query string.

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

    Type: Bool

    Optional. When true, the backend would read from the database, rather than fetching data directly from the cache.

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

    Type: Bool

    Optional. When true, the backend will execute the query against the previous time range of the query.

Google::Cloud::Chronicle::V1::DashboardQuery::QueryRuntimeError

Runtime error for a dashboard query.

Inherits from Protobuf::Message.

Accessors

Enum: QueryRuntimeError::ErrorSeverity

  • ERROR_SEVERITY_UNSPECIFIED => 0

  • WARNING => 1

  • SEVERE => 2

Enum: QueryRuntimeError::MetadataKey

  • METADATA_KEY_UNSPECIFIED => 0

  • ROW_LIMIT => 1

Enum: QueryRuntimeError::WarningReason

  • WARNING_REASON_UNSPECIFIED => 0

  • ROW_LIMIT_EXCEEDED => 1

  • DEFAULT_ROW_LIMIT_EXCEEDED => 2

  • CURATED_QUERY_DEFAULT_ROW_LIMIT_EXCEEDED => 3

Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse

Response message for executing a dashboard query.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Chronicle::V1::DashboardQuery::DashboardFilter

Dashboard level filter that can be used in native dashboards as well as inputs to execute query.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    ID of the filter.

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

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

    Datasource the filter is applicable for.

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

    Type: String

    Filter field path.

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

    Type: Message (Google::Cloud::Chronicle::V1::DashboardQuery::FilterOperatorAndValues)

    Operator and values. Can include multiple modifiers.

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

    Type: String

    Display name of the filter.

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

    Type: String

    Chart IDs the filter is applicable for.

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

    Type: Bool

    Optional. Whether the filter is a standard time range filter, meaning that it has to be used as the query time range, and not as a predicate in the query. A chart can have at most one standard time range filter applied.

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

    Type: Bool

    Optional. Whether this filter is required to be populated by the dashboard consumer prior to the dashboard loading.

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

    Type: Bool

    Optional. Whether this standard time range filter is enabled.

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

    Type: Message (Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig)

    Optional. Advanced filter configuration for the filter widget.

Google::Cloud::Chronicle::V1::DashboardQuery::FilterOperatorAndValues

Inherits from Protobuf::Message.

Accessors

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

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

    Operator for a single filter modifier.

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

    Type: String

    Values for the modifier. All operators should have a single value other than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds like -86400 is past 1 day.

Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig

Advanced filter configuration for the filter widget.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The token name to look for in the query (e.g., "hostname"). The system will automatically wrap this in '$' (e.g., "$hostname$").

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

    Type: String

    Optional. String to prepend to the final replaced value (e.g., "/", "^(", "\"").

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

    Type: String

    Optional. String to append to the final replaced value (e.g., "/", ")$", "\"").

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

    Type: String

    Optional. Delimiter to join multiple selected values (e.g., "|", " OR field = ").

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

    Type: Bool

    Optional. Whether to allow selection of multiple values.

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

    Type: String

    Optional. Default values to use if no value is selected/provided.

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

    Type: Bool

    Optional. Whether to skip the configured prefix and suffix when using default values. If true, default values are inserted raw (joined by the separator).

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

    Type: Message (Google::Cloud::Chronicle::V1::DashboardQuery::AdvancedFilterConfig::ValueSource)

    Required. Source of the values for the filter.

In app linking start

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    URL to redirect to.

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

    Type: String

    Label for the link.

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

    Type: String

    Icon url for the link.

Google::Cloud::Chronicle::V1::DashboardQuery::ColumnMetadata

Metadata of the column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the column.

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

    Type: String

    Field path of the queried field, if any.

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

    Type: String

    Name of the function used to query the field, if any.

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

    Type: String

    Module of the function used to query the field, if any.

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

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

    Data source queried.

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

    Type: Message (Google::Cloud::Chronicle::V1::DashboardQuery::TimestampMetadata)

    Timestamp Metadata

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

    Type: Bool

    Whether the column is a longitude field.

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

    Type: Bool

    Whether the column is a latitude field.

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

    Type: Bool

    Whether the column is selected in the final response.

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

    Type: Bool

    Whether the column is unselected in the final response.

Google::Cloud::Chronicle::V1::DashboardQuery::TimestampMetadata

Metadata of the timestamp column.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Time format of the timestamp column.

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

    Type: String

    Time zone of the timestamp column.

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

    Type: String

    Time granularity of the timestamp column.

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

    Type: Bool

    Whether the timestamp column is sortable in UI.

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

    Type: Bool

    Whether the timestamp column is interpolable in UI.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.