NAME

Google::Cloud::Discoveryengine::V1beta::Schema - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/schema.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::Schema;

my $msg = Google::Cloud::Discoveryengine::V1beta::Schema::Schema->new({
    struct_schema => $struct_schema,
    json_schema => $json_schema,
    name => $name,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1beta::Schema::Schema->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/schema.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::V1beta::Schema::Schema

Defines the structure and layout of a type of document data.

Inherits from Protobuf::Message.

Accessors

  • $msg->struct_schema() / $msg->struct_schema($value)

    Type: Message (Google::Protobuf::Struct::Struct)

    The structured representation of the schema.

  • $msg->json_schema() / $msg->json_schema($value)

    Type: String

    The JSON representation of the schema.

  • $msg->name() / $msg->name($value)

    Type: String

    Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`.

    This field must be a UTF-8 encoded string with a length limit of 1024 characters.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1beta::Schema::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.