Service Client: Google::Cloud::Contentwarehouse::V1::DocumentSchemaService::DocumentSchemaServiceClient

Client stub representing the remote DocumentSchemaService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to contentwarehouse.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Contentwarehouse::V1::DocumentSchemaService - Compiled Protocol Buffers messages for google/cloud/contentwarehouse/v1/document_schema_service.proto

SYNOPSIS

use Google::Cloud::Contentwarehouse::V1::DocumentSchemaService;

my $msg = Google::Cloud::Contentwarehouse::V1::DocumentSchemaService::CreateDocumentSchemaRequest->new({
    parent => $parent,
    document_schema => $document_schema,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Contentwarehouse::V1::DocumentSchemaService::CreateDocumentSchemaRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/contentwarehouse/v1/document_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::Contentwarehouse::V1::DocumentSchemaService::CreateDocumentSchemaRequest

Request message for DocumentSchemaService.CreateDocumentSchema.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contentwarehouse::V1::DocumentSchemaService::GetDocumentSchemaRequest

Request message for DocumentSchemaService.GetDocumentSchema.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the document schema to retrieve.

Google::Cloud::Contentwarehouse::V1::DocumentSchemaService::UpdateDocumentSchemaRequest

Request message for DocumentSchemaService.UpdateDocumentSchema.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the document schema to update. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.

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

    Type: Message (Google::Cloud::Contentwarehouse::V1::DocumentSchema::DocumentSchema)

    Required. The document schema to update with.

Google::Cloud::Contentwarehouse::V1::DocumentSchemaService::DeleteDocumentSchemaRequest

Request message for DocumentSchemaService.DeleteDocumentSchema.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the document schema to delete.

Google::Cloud::Contentwarehouse::V1::DocumentSchemaService::ListDocumentSchemasRequest

Request message for DocumentSchemaService.ListDocumentSchemas.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent, which owns this collection of document schemas. Format: projects/{project_number}/locations/{location}.

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

    Type: Int32

    The maximum number of document schemas to return. The service may return fewer than this value. If unspecified, at most 50 document schemas will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

    Type: String

    A page token, received from a previous `ListDocumentSchemas` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListDocumentSchemas` must match the call that provided the page token.

Google::Cloud::Contentwarehouse::V1::DocumentSchemaService::ListDocumentSchemasResponse

Response message for DocumentSchemaService.ListDocumentSchemas.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Contentwarehouse::V1::DocumentSchema::DocumentSchema)

    The document schemas from the specified parent.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Contentwarehouse::V1::DocumentSchemaService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.