NAME
Google::Cloud::Chronicle::V1::SearchServiceClient - Client library for Google Cloud Services
SYNOPSIS
use Google::Cloud::Chronicle::V1::SearchServiceClient;
use Google::Auth;
my $auth = Google::Auth->default();
# 1. High-performance gRPC Transport (Default)
my $grpc_client = Google::Cloud::Chronicle::V1::SearchServiceClient->new(
credentials => $auth,
transport => 'grpc', # Optional: 'grpc' is default
);
# 2. HTTP/REST Transport
my $rest_client = Google::Cloud::Chronicle::V1::SearchServiceClient->new(
credentials => $auth,
transport => 'rest',
);
# Execute service methods
my $res = $grpc_client->some_method( %params );
DESCRIPTION
Google::Cloud::Chronicle::V1::SearchServiceClient is an auto-generated client library for Google Cloud Services.
It provides a unified client interface supporting both high-performance HTTP/2 gRPC and HTTP/REST transports, with automatic Google Cloud Application Default Credentials (ADC) resolution and typed Protocol Buffers message handling.
SOURCE
Generated from the following Protocol Buffers schemas:
googleapis/google/cloud/chronicle/v1/big_query_export.protogoogleapis/google/cloud/chronicle/v1/dashboard_chart.protogoogleapis/google/cloud/chronicle/v1/dashboard_query.protogoogleapis/google/cloud/chronicle/v1/data_access_control.protogoogleapis/google/cloud/chronicle/v1/data_table.protogoogleapis/google/cloud/chronicle/v1/entity.protogoogleapis/google/cloud/chronicle/v1/event.protogoogleapis/google/cloud/chronicle/v1/featured_content_metadata.protogoogleapis/google/cloud/chronicle/v1/featured_content_native_dashboard.protogoogleapis/google/cloud/chronicle/v1/feed.protogoogleapis/google/cloud/chronicle/v1/findings_refinement.protogoogleapis/google/cloud/chronicle/v1/instance.protogoogleapis/google/cloud/chronicle/v1/native_dashboard.protogoogleapis/google/cloud/chronicle/v1/reference_list.protogoogleapis/google/cloud/chronicle/v1/rule.protogoogleapis/google/cloud/chronicle/v1/rule_execution_error.protogoogleapis/google/cloud/chronicle/v1/search.protogoogleapis/google/cloud/chronicle/v1/simulated_data.proto
CONSTRUCTOR
new
my $client = Google::Cloud::Chronicle::V1::SearchServiceClient->new(
credentials => $auth, # Optional: Google::Auth object (defaults to ADC)
transport => 'grpc', # Optional: 'grpc' (default) or 'rest'
);
ATTRIBUTES
credentials
Returns or accepts the Google::Auth credentials object.
transport
Returns or accepts the active transport object (Google::gRPC::Client or Google::Cloud::REST::Client).
METHODS
METHODS
The following RPC methods are available in this client:
search
my $response = $client->search( parent => $parent, query => $query, time_range => $time_range, dialect => $dialect, draft_data_access_scope => $draft_data_access_scope, result_limit => $result_limit, simulated_data_visibility => $simulated_data_visibility, );Calls the RPC method
Searchongoogle.cloud.chronicle.v1.SearchService.Request: Google::Cloud::Chronicle::V1::Search::SearchRequest
Returns: Google::Longrunning::Operations::Operation
Parameters:
parent-stringquery-stringtime_range- Google::Type::Interval::Intervaldialect- Google::Cloud::Chronicle::V1::Search::QueryDialectdraft_data_access_scope- Google::Cloud::Chronicle::V1::DataAccessControl::DataAccessScoperesult_limit-int32simulated_data_visibility- Google::Cloud::Chronicle::V1::Search::SimulatedDataVisibility
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.