Service Client: Google::Cloud::Discoveryengine::V1alpha::ChunkService::ChunkServiceClient
Client stub representing the remote ChunkService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to discoveryengine.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Discoveryengine::V1alpha::ChunkService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1alpha/chunk_service.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1alpha::ChunkService;
my $msg = Google::Cloud::Discoveryengine::V1alpha::ChunkService::GetChunkRequest->new({
name => $name,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1alpha::ChunkService::GetChunkRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1alpha/chunk_service.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::ChunkService::GetChunkRequest
Request message for [ChunkService.GetChunk][google.cloud.discoveryengine.v1alpha.ChunkService.GetChunk] method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Full resource name of [Chunk][google.cloud.discoveryengine.v1alpha.Chunk], such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}`.
If the caller does not have permission to access the [Chunk][google.cloud.discoveryengine.v1alpha.Chunk], regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned.
If the requested [Chunk][google.cloud.discoveryengine.v1alpha.Chunk] does not exist, a `NOT_FOUND` error is returned.
Google::Cloud::Discoveryengine::V1alpha::ChunkService::ListChunksRequest
Request message for [ChunkService.ListChunks][google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent document resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`.
If the caller does not have permission to list [Chunk][google.cloud.discoveryengine.v1alpha.Chunk]s under this document, regardless of whether or not this document exists, a `PERMISSION_DENIED` error is returned.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum number of [Chunk][google.cloud.discoveryengine.v1alpha.Chunk]s to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000.
If this field is negative, an `INVALID_ARGUMENT` error is returned.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token [ListChunksResponse.next_page_token][google.cloud.discoveryengine.v1alpha.ListChunksResponse.next_page_token], received from a previous [ChunkService.ListChunks][google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks] call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to [ChunkService.ListChunks][google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks] must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
Google::Cloud::Discoveryengine::V1alpha::ChunkService::ListChunksResponse
Response message for [ChunkService.ListChunks][google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks] method.
Inherits from Protobuf::Message.
Accessors
$msg->chunks()/$msg->chunks($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::Chunk::Chunk)The [Chunk][google.cloud.discoveryengine.v1alpha.Chunk]s.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as [ListChunksRequest.page_token][google.cloud.discoveryengine.v1alpha.ListChunksRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1alpha::ChunkService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.