NAME

Google::Ai::Generativelanguage::V1::Content::Content - Compiled Protocol Buffers message class

SYNOPSIS

use Google::Ai::Generativelanguage::V1::Content;

my $msg = Google::Ai::Generativelanguage::V1::Content::Content->new(
    parts => $value,
);

FIELDS

  • parts

    Type: Message (.google.ai.generativelanguage.v1.Part)

  • role

    Type: String

NAME

Google::Ai::Generativelanguage::V1::Content::Part - Compiled Protocol Buffers message class

SYNOPSIS

use Google::Ai::Generativelanguage::V1::Content;

my $msg = Google::Ai::Generativelanguage::V1::Content::Part->new(
    text => $value,
);

FIELDS

  • text

    Type: String

  • inline_data

    Type: Message (.google.ai.generativelanguage.v1.Blob)

  • video_metadata

    Type: Message (.google.ai.generativelanguage.v1.VideoMetadata)

NAME

Google::Ai::Generativelanguage::V1::Content::Blob - Compiled Protocol Buffers message class

SYNOPSIS

use Google::Ai::Generativelanguage::V1::Content;

my $msg = Google::Ai::Generativelanguage::V1::Content::Blob->new(
    mime_type => $value,
);

FIELDS

  • mime_type

    Type: String

  • data

    Type: Bytes

NAME

Google::Ai::Generativelanguage::V1::Content::VideoMetadata - Compiled Protocol Buffers message class

SYNOPSIS

use Google::Ai::Generativelanguage::V1::Content;

my $msg = Google::Ai::Generativelanguage::V1::Content::VideoMetadata->new(
    start_offset => $value,
);

FIELDS

  • start_offset

    Type: Message (.google.protobuf.Duration)

  • end_offset

    Type: Message (.google.protobuf.Duration)

  • fps

    Type: Double

NAME

Google::Ai::Generativelanguage::V1::Content::ModalityTokenCount - Compiled Protocol Buffers message class

SYNOPSIS

use Google::Ai::Generativelanguage::V1::Content;

my $msg = Google::Ai::Generativelanguage::V1::Content::ModalityTokenCount->new(
    modality => $value,
);

FIELDS

  • modality

    Type: Enum (.google.ai.generativelanguage.v1.Modality)

  • token_count

    Type: Int32

NAME

Google::Ai::Generativelanguage::V1::Content - Protocol Buffers schema definition

DESCRIPTION

Auto-generated Protocol Buffers schema definition class.

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.