Service Client: Google::Cloud::Discoveryengine::V1beta::SchemaService::SchemaServiceClient

Client stub representing the remote SchemaService 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::V1beta::SchemaService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/schema_service.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::SchemaService;

my $msg = Google::Cloud::Discoveryengine::V1beta::SchemaService::GetSchemaRequest->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::V1beta::SchemaService::GetSchemaRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/schema_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::V1beta::SchemaService::GetSchemaRequest

Request message for [SchemaService.GetSchema][google.cloud.discoveryengine.v1beta.SchemaService.GetSchema] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

Google::Cloud::Discoveryengine::V1beta::SchemaService::ListSchemasRequest

Request message for [SchemaService.ListSchemas][google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.

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

    Type: Int32

    The maximum number of [Schema][google.cloud.discoveryengine.v1beta.Schema]s to return. The service may return fewer than this value.

    If unspecified, at most 100 [Schema][google.cloud.discoveryengine.v1beta.Schema]s are returned.

    The maximum value is 1000; values above 1000 are set to 1000.

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

    Type: String

    A page token, received from a previous [SchemaService.ListSchemas][google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas] call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to [SchemaService.ListSchemas][google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas] must match the call that provided the page token.

Google::Cloud::Discoveryengine::V1beta::SchemaService::ListSchemasResponse

Response message for [SchemaService.ListSchemas][google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Schema::Schema)

    The [Schema][google.cloud.discoveryengine.v1beta.Schema]s.

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

    Type: String

    A token that can be sent as [ListSchemasRequest.page_token][google.cloud.discoveryengine.v1beta.ListSchemasRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Discoveryengine::V1beta::SchemaService::CreateSchemaRequest

Request message for [SchemaService.CreateSchema][google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Schema::Schema)

    Required. The [Schema][google.cloud.discoveryengine.v1beta.Schema] to create.

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

    Type: String

    Required. The ID to use for the [Schema][google.cloud.discoveryengine.v1beta.Schema], which becomes the final component of the [Schema.name][google.cloud.discoveryengine.v1beta.Schema.name].

    This field should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.

Google::Cloud::Discoveryengine::V1beta::SchemaService::UpdateSchemaRequest

Request message for [SchemaService.UpdateSchema][google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Schema::Schema)

    Required. The [Schema][google.cloud.discoveryengine.v1beta.Schema] to update.

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

    Type: Bool

    If set to true, and the [Schema][google.cloud.discoveryengine.v1beta.Schema] is not found, a new [Schema][google.cloud.discoveryengine.v1beta.Schema] is created. In this situation, `update_mask` is ignored.

Google::Cloud::Discoveryengine::V1beta::SchemaService::DeleteSchemaRequest

Request message for [SchemaService.DeleteSchema][google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

Google::Cloud::Discoveryengine::V1beta::SchemaService::CreateSchemaMetadata

Metadata for Create Schema LRO.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1beta::SchemaService::UpdateSchemaMetadata

Metadata for UpdateSchema LRO.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1beta::SchemaService::DeleteSchemaMetadata

Metadata for DeleteSchema LRO.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.