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:
StringOutput only. Name of the dashboardQuery.
$msg->query()/$msg->query($value)Type:
StringRequired. 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:
StringOutput only. DashboardChart this query belongs to.
$msg->etag()/$msg->etag($value)Type:
StringOptional. 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:
StringRequired. 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:
StringRequired. 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:
BoolOptional. 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:
BoolOptional. 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
$msg->error_title()/$msg->error_title($value)Type:
StringShort Description of the error.
$msg->error_description()/$msg->error_description($value)Type:
StringError message
$msg->error_severity()/$msg->error_severity($value)Type:
Enum(Google::Cloud::Chronicle::V1::QueryRuntimeError::ErrorSeverity)Severity of the error.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Chronicle::V1::DashboardQuery::QueryRuntimeError::QueryRuntimeErrorMetadata)Metadata for the error.
$msg->warning_reason()/$msg->warning_reason($value)Type:
Enum(Google::Cloud::Chronicle::V1::QueryRuntimeError::WarningReason)Reason for the error.
Enum: QueryRuntimeError::ErrorSeverity
ERROR_SEVERITY_UNSPECIFIED=>0WARNING=>1SEVERE=>2
Enum: QueryRuntimeError::MetadataKey
METADATA_KEY_UNSPECIFIED=>0ROW_LIMIT=>1
Enum: QueryRuntimeError::WarningReason
WARNING_REASON_UNSPECIFIED=>0ROW_LIMIT_EXCEEDED=>1DEFAULT_ROW_LIMIT_EXCEEDED=>2CURATED_QUERY_DEFAULT_ROW_LIMIT_EXCEEDED=>3
Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse
Response message for executing a dashboard query.
Inherits from Protobuf::Message.
Accessors
$msg->results()/$msg->results($value)Type:
Message(Google::Cloud::Chronicle::V1::DashboardQuery::ExecuteDashboardQueryResponse::ColumnData)Result rows that are queried.
$msg->data_sources()/$msg->data_sources($value)Type:
Enum(Google::Cloud::Chronicle::V1::DataSource)Datasource of the query and results.
$msg->last_backend_cache_refreshed_time()/$msg->last_backend_cache_refreshed_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.
$msg->time_window()/$msg->time_window($value)Type:
Message(Google::Type::Interval::Interval)Time window against which query was executed.
$msg->query_runtime_errors()/$msg->query_runtime_errors($value)Type:
Message(Google::Cloud::Chronicle::V1::DashboardQuery::QueryRuntimeError)Runtime errors
$msg->language_features()/$msg->language_features($value)Type:
Enum(Google::Cloud::Chronicle::V1::LanguageFeature)Optional. Language features found in the query.
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:
StringID 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:
StringFilter 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:
StringDisplay name of the filter.
$msg->chart_ids()/$msg->chart_ids($value)Type:
StringChart IDs the filter is applicable for.
$msg->is_standard_time_range_filter()/$msg->is_standard_time_range_filter($value)Type:
BoolOptional. 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:
BoolOptional. 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:
BoolOptional. 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:
StringValues 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:
StringRequired. 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:
StringOptional. String to prepend to the final replaced value (e.g., "/", "^(", "\"").
$msg->suffix()/$msg->suffix($value)Type:
StringOptional. String to append to the final replaced value (e.g., "/", ")$", "\"").
$msg->separator()/$msg->separator($value)Type:
StringOptional. Delimiter to join multiple selected values (e.g., "|", " OR field = ").
$msg->multiple_allowed()/$msg->multiple_allowed($value)Type:
BoolOptional. Whether to allow selection of multiple values.
$msg->default_values()/$msg->default_values($value)Type:
StringOptional. Default values to use if no value is selected/provided.
$msg->skip_default_affixes()/$msg->skip_default_affixes($value)Type:
BoolOptional. 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.
Google::Cloud::Chronicle::V1::DashboardQuery::InAppLink
In app linking start
Inherits from Protobuf::Message.
Accessors
$msg->url()/$msg->url($value)Type:
StringURL to redirect to.
$msg->label()/$msg->label($value)Type:
StringLabel for the link.
$msg->icon_url()/$msg->icon_url($value)Type:
StringIcon 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:
StringName of the column.
$msg->field_path()/$msg->field_path($value)Type:
StringField path of the queried field, if any.
$msg->function_name()/$msg->function_name($value)Type:
StringName of the function used to query the field, if any.
$msg->function_module()/$msg->function_module($value)Type:
StringModule 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:
BoolWhether the column is a longitude field.
$msg->latitude()/$msg->latitude($value)Type:
BoolWhether the column is a latitude field.
$msg->selected()/$msg->selected($value)Type:
BoolWhether the column is selected in the final response.
$msg->unselected()/$msg->unselected($value)Type:
BoolWhether 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:
StringTime format of the timestamp column.
$msg->time_zone()/$msg->time_zone($value)Type:
StringTime zone of the timestamp column.
$msg->time_granularity()/$msg->time_granularity($value)Type:
StringTime granularity of the timestamp column.
$msg->is_sortable()/$msg->is_sortable($value)Type:
BoolWhether the timestamp column is sortable in UI.
$msg->is_interpolable()/$msg->is_interpolable($value)Type:
BoolWhether 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.