Service Client: Google::Cloud::Discoveryengine::V1::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::V1::SchemaService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/schema_service.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1::SchemaService;
my $msg = Google::Cloud::Discoveryengine::V1::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::V1::SchemaService::GetSchemaRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/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::V1::SchemaService::GetSchemaRequest
Request message for [SchemaService.GetSchema][google.cloud.discoveryengine.v1.SchemaService.GetSchema] method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1::SchemaService::ListSchemasRequest
Request message for [SchemaService.ListSchemas][google.cloud.discoveryengine.v1.SchemaService.ListSchemas] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32The maximum number of [Schema][google.cloud.discoveryengine.v1.Schema]s to return. The service may return fewer than this value.
If unspecified, at most 100 [Schema][google.cloud.discoveryengine.v1.Schema]s are returned.
The maximum value is 1000; values above 1000 are set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous [SchemaService.ListSchemas][google.cloud.discoveryengine.v1.SchemaService.ListSchemas] call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to [SchemaService.ListSchemas][google.cloud.discoveryengine.v1.SchemaService.ListSchemas] must match the call that provided the page token.
Google::Cloud::Discoveryengine::V1::SchemaService::ListSchemasResponse
Response message for [SchemaService.ListSchemas][google.cloud.discoveryengine.v1.SchemaService.ListSchemas] method.
Inherits from Protobuf::Message.
Accessors
$msg->schemas()/$msg->schemas($value)Type:
Message(Google::Cloud::Discoveryengine::V1::Schema::Schema)The [Schema][google.cloud.discoveryengine.v1.Schema]s.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as [ListSchemasRequest.page_token][google.cloud.discoveryengine.v1.ListSchemasRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Discoveryengine::V1::SchemaService::CreateSchemaRequest
Request message for [SchemaService.CreateSchema][google.cloud.discoveryengine.v1.SchemaService.CreateSchema] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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::V1::Schema::Schema)Required. The [Schema][google.cloud.discoveryengine.v1.Schema] to create.
$msg->schema_id()/$msg->schema_id($value)Type:
StringRequired. The ID to use for the [Schema][google.cloud.discoveryengine.v1.Schema], which becomes the final component of the [Schema.name][google.cloud.discoveryengine.v1.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::V1::SchemaService::UpdateSchemaRequest
Request message for [SchemaService.UpdateSchema][google.cloud.discoveryengine.v1.SchemaService.UpdateSchema] method.
Inherits from Protobuf::Message.
Accessors
$msg->schema()/$msg->schema($value)Type:
Message(Google::Cloud::Discoveryengine::V1::Schema::Schema)Required. The [Schema][google.cloud.discoveryengine.v1.Schema] to update.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolIf set to true, and the [Schema][google.cloud.discoveryengine.v1.Schema] is not found, a new [Schema][google.cloud.discoveryengine.v1.Schema] is created. In this situation, `update_mask` is ignored.
Google::Cloud::Discoveryengine::V1::SchemaService::DeleteSchemaRequest
Request message for [SchemaService.DeleteSchema][google.cloud.discoveryengine.v1.SchemaService.DeleteSchema] method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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::V1::SchemaService::CreateSchemaMetadata
Metadata for Create Schema LRO.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
Google::Cloud::Discoveryengine::V1::SchemaService::UpdateSchemaMetadata
Metadata for UpdateSchema LRO.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
Google::Cloud::Discoveryengine::V1::SchemaService::DeleteSchemaMetadata
Metadata for DeleteSchema LRO.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::SchemaService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.