Service Client: Google::Cloud::Chronicle::V1::Entity::EntityServiceClient
Client stub representing the remote EntityService 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::Entity - Compiled Protocol Buffers messages for google/cloud/chronicle/v1/entity.proto
SYNOPSIS
use Google::Cloud::Chronicle::V1::Entity;
my $msg = Google::Cloud::Chronicle::V1::Entity::Entity->new({
name => $name,
metadata => $metadata,
entity => $entity,
additional => $additional,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Chronicle::V1::Entity::Entity->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/chronicle/v1/entity.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::Entity::Entity
An Entity provides additional context about an entity in a UDM event (asset, user, etc.). For example, a PROCESS_LAUNCH event describes that user 'abc@example.corp' launched process 'shady.exe'. The event does not include information that user 'abc@example.com' is a recently terminated employee who administers a server storing finance data. Information stored in one or more Entities can add this additional context.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe resource name of the entity. Format: `projects/{project}/locations/{location}/instances/{instance}/entities/{entity}` `projects/{project}/locations/{location}/instances/{instance}/analytics/{analytic}/entities/{entity}` `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}/entities/{entity}`
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Backstory::Entity::EntityMetadata)Entity metadata such as timestamp, product, etc.
$msg->entity()/$msg->entity($value)Type:
Message(Google::Backstory::Udm::Noun)Noun in the UDM event that this entity represents.
$msg->additional()/$msg->additional($value)Type:
Message(Google::Protobuf::Struct::Struct)Important entity data that cannot be adequately represented within the formal sections of the Entity.
$msg->risk_score()/$msg->risk_score($value)Type:
Message(Google::Backstory::EntityRisk::EntityRisk)Represents the entity risk scores resource
$msg->metric()/$msg->metric($value)Type:
Message(Google::Backstory::Entity::Metric)Metric details of the entity. Used if EntityType is METRIC.
$msg->relations()/$msg->relations($value)Type:
Message(Google::Backstory::Entity::Relation)One or more relationships between the entity (a) and other entities, including the relationship type and related entity.
Google::Cloud::Chronicle::V1::Entity::Watchlist
A watchlist is a list of entities that allows for bulk operations over the included entities.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Resource name of the watchlist. Format: `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. Display name of the watchlist. Note that it must be at least one character and less than 63 characters (https://google.aip.dev/148).
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the watchlist.
$msg->multiplying_factor()/$msg->multiplying_factor($value)Type:
FloatOptional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.
$msg->entity_population_mechanism()/$msg->entity_population_mechanism($value)Type:
Message(Google::Cloud::Chronicle::V1::Entity::Watchlist::EntityPopulationMechanism)Required. Mechanism to populate entities in the watchlist.
$msg->entity_count()/$msg->entity_count($value)Type:
Message(Google::Cloud::Chronicle::V1::Entity::Watchlist::EntityCount)Output only. Entity count in the watchlist.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the watchlist was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the watchlist was last updated.
$msg->watchlist_user_preferences()/$msg->watchlist_user_preferences($value)Type:
Message(Google::Cloud::Chronicle::V1::Entity::WatchlistUserPreferences)Optional. User preferences for watchlist configuration.
Google::Cloud::Chronicle::V1::Entity::WatchlistUserPreferences
A collection of user preferences for watchlist UI configuration.
Inherits from Protobuf::Message.
Accessors
$msg->pinned()/$msg->pinned($value)Type:
BoolOptional. Whether the watchlist is pinned on the dashboard.
Google::Cloud::Chronicle::V1::Entity::GetWatchlistRequest
Request message for getting a watchlist.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The parent, which owns this collection of watchlists. The name of the watchlist to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
Google::Cloud::Chronicle::V1::Entity::ListWatchlistsRequest
Request message for listing watchlists.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of watchlists. Format: `projects/{project}/locations/{location}/instances/{instance}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of watchlists to return. The service may return fewer than this value. If unspecified, at most 200 watchlists will be returned. The maximum value is 200; values above 200 will be coerced to 200.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListWatchlists` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListWatchlists` must match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Which watchlist to return in aip.dev/160 form. Currently, only the following filters are supported: - `watchlist_user_preferences.pinned=true` - `has_entity([ENTITY_INDICATOR],[ENTITY_TYPE])` - `has_entity([ENTITY_INDICATOR],[ENTITY_TYPE],[NAMESPACE])`
Google::Cloud::Chronicle::V1::Entity::ListWatchlistsResponse
Response message for listing watchlists.
Inherits from Protobuf::Message.
Accessors
$msg->watchlists()/$msg->watchlists($value)Type:
Message(Google::Cloud::Chronicle::V1::Entity::Watchlist)Optional. The watchlists from the specified instance.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringOptional. 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::Entity::CreateWatchlistRequest
Request message for creating watchlist.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource where this watchlist will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`
$msg->watchlist_id()/$msg->watchlist_id($value)Type:
StringOptional. The ID to use for the watchlist, which will become the final component of the watchlist's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
$msg->watchlist()/$msg->watchlist($value)Type:
Message(Google::Cloud::Chronicle::V1::Entity::Watchlist)Required. The watchlist to create.
Google::Cloud::Chronicle::V1::Entity::UpdateWatchlistRequest
Request message for updating watchlist.
Inherits from Protobuf::Message.
Accessors
$msg->watchlist()/$msg->watchlist($value)Type:
Message(Google::Cloud::Chronicle::V1::Entity::Watchlist)Required. The watchlist to update.
The watchlist's `name` field is used to identify the watchlist to update. Format: `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update.
Google::Cloud::Chronicle::V1::Entity::DeleteWatchlistRequest
Request message for deleting watchlist.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the watchlist to delete. Format: `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, any entities under this watchlist will also be deleted. (Otherwise, the request will only work if the watchlist has no entities.)
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Chronicle::V1::Entity::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.