NAME
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1alpha/purge_config.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1alpha::PurgeConfig;
my $msg = Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeUserEventsRequest->new({
parent => $parent,
filter => $filter,
force => $force,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeUserEventsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1alpha/purge_config.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::Discoveryengine::V1alpha::PurgeConfig::PurgeUserEventsRequest
Request message for PurgeUserEvents method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}`
$msg->filter()/$msg->filter($value)Type:
StringRequired. The filter string to specify the events to be deleted with a length limit of 5,000 characters. The eligible fields for filtering are:
* `eventType`: Double quoted [UserEvent.event_type][google.cloud.discoveryengine.v1alpha.UserEvent.event_type] string. * `eventTime`: in ISO 8601 "zulu" format. * `userPseudoId`: Double quoted string. Specifying this will delete all events associated with a visitor. * `userId`: Double quoted string. Specifying this will delete all events associated with a user.
Examples:
* Deleting all events in a time range: `eventTime > "2012-04-23T18:25:43.511Z" eventTime < "2012-04-23T18:30:43.511Z"` * Deleting specific eventType: `eventType = "search"` * Deleting all events for a specific visitor: `userPseudoId = "visitor1024"` * Deleting all events inside a DataStore: `*`
The filtering fields are assumed to have an implicit AND.
$msg->force()/$msg->force($value)Type:
BoolThe `force` field is currently not supported. Purge user event requests will permanently delete all purgeable events. Once the development is complete: If `force` is set to false, the method will return the expected purge count without deleting any user events. This field will default to false if not included in the request.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeUserEventsResponse
Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.
Inherits from Protobuf::Message.
Accessors
$msg->purge_count()/$msg->purge_count($value)Type:
Int64The total count of events purged as a result of the operation.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeUserEventsMetadata
Metadata related to the progress of the PurgeUserEvents operation. This will be returned by the google.longrunning.Operation.metadata field.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
$msg->success_count()/$msg->success_count($value)Type:
Int64Count of entries that were deleted successfully.
$msg->failure_count()/$msg->failure_count($value)Type:
Int64Count of entries that encountered errors while processing.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeErrorConfig
Configuration of destination for Purge related errors.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_prefix()/$msg->gcs_prefix($value)Type:
StringCloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeDocumentsRequest
Request message for [DocumentService.PurgeDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments] method.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::GcsSource)Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid [Document.id][google.cloud.discoveryengine.v1alpha.Document.id] per line.
$msg->inline_source()/$msg->inline_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeDocumentsRequest::InlineSource)Inline source for the input content for purge.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`.
$msg->filter()/$msg->filter($value)Type:
StringRequired. Filter matching documents to purge. Only currently supported value is `*` (all items).
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeErrorConfig)The desired location of errors incurred during the purge.
$msg->force()/$msg->force($value)Type:
BoolActually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeDocumentsResponse
Response message for [DocumentService.PurgeDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments] method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.
Inherits from Protobuf::Message.
Accessors
$msg->purge_count()/$msg->purge_count($value)Type:
Int64The total count of documents purged as a result of the operation.
$msg->purge_sample()/$msg->purge_sample($value)Type:
StringA sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeDocumentsMetadata
Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
$msg->success_count()/$msg->success_count($value)Type:
Int64Count of entries that were deleted successfully.
$msg->failure_count()/$msg->failure_count($value)Type:
Int64Count of entries that encountered errors while processing.
$msg->ignored_count()/$msg->ignored_count($value)Type:
Int64Count of entries that were ignored as entries were not found.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeSuggestionDenyListEntriesRequest
Request message for [CompletionService.PurgeSuggestionDenyListEntries][google.cloud.discoveryengine.v1alpha.CompletionService.PurgeSuggestionDenyListEntries] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeSuggestionDenyListEntriesResponse
Response message for [CompletionService.PurgeSuggestionDenyListEntries][google.cloud.discoveryengine.v1alpha.CompletionService.PurgeSuggestionDenyListEntries] method.
Inherits from Protobuf::Message.
Accessors
$msg->purge_count()/$msg->purge_count($value)Type:
Int64Number of suggestion deny list entries purged.
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeSuggestionDenyListEntriesMetadata
Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeCompletionSuggestionsRequest
Request message for [CompletionService.PurgeCompletionSuggestions][google.cloud.discoveryengine.v1alpha.CompletionService.PurgeCompletionSuggestions] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeCompletionSuggestionsResponse
Response message for [CompletionService.PurgeCompletionSuggestions][google.cloud.discoveryengine.v1alpha.CompletionService.PurgeCompletionSuggestions] method.
Inherits from Protobuf::Message.
Accessors
$msg->purge_succeeded()/$msg->purge_succeeded($value)Type:
BoolWhether the completion suggestions were successfully purged.
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::PurgeCompletionSuggestionsMetadata
Metadata related to the progress of the PurgeCompletionSuggestions operation. This is returned by the google.longrunning.Operation.metadata field.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1alpha::PurgeConfig::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.