NAME

Google::Ai::Generativelanguage::V1alpha::CachedContent - Compiled Protocol Buffers messages for google/ai/generativelanguage/v1alpha/cached_content.proto

SYNOPSIS

use Google::Ai::Generativelanguage::V1alpha::CachedContent;

my $msg = Google::Ai::Generativelanguage::V1alpha::CachedContent::CachedContent->new({
    expire_time => $expire_time,
    ttl => $ttl,
    name => $name,
    display_name => $display_name,
});

# Read or update a field
my $val = $msg->expire_time();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Ai::Generativelanguage::V1alpha::CachedContent::CachedContent->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/ai/generativelanguage/v1alpha/cached_content.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Ai::Generativelanguage::V1alpha::CachedContent::CachedContent

Content that has been preprocessed and can be used in subsequent request to GenerativeService.

Cached content can be only used with model it was created for.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Ai::Generativelanguage::V1alpha::CachedContent::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.