NAME

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

SYNOPSIS

use Google::Cloud::Contentwarehouse::V1::SynonymsetServiceRequest;

my $msg = Google::Cloud::Contentwarehouse::V1::SynonymsetServiceRequest::CreateSynonymSetRequest->new({
    parent => $parent,
    synonym_set => $synonym_set,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/contentwarehouse/v1/synonymset_service_request.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::SynonymsetServiceRequest::CreateSynonymSetRequest

Request message for SynonymSetService.CreateSynonymSet.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent name. Format: projects/{project_number}/locations/{location}.

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

    Type: Message (Google::Cloud::Contentwarehouse::V1::Synonymset::SynonymSet)

    Required. The synonymSet to be created for a context

Google::Cloud::Contentwarehouse::V1::SynonymsetServiceRequest::GetSynonymSetRequest

Request message for SynonymSetService.GetSynonymSet. Will return synonymSet for a certain context.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the synonymSet to retrieve Format: projects/{project_number}/locations/{location}/synonymSets/{context}.

Google::Cloud::Contentwarehouse::V1::SynonymsetServiceRequest::ListSynonymSetsRequest

Request message for SynonymSetService.ListSynonymSets. Will return all synonymSets belonging to the customer project.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent name. Format: projects/{project_number}/locations/{location}.

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

    Type: Int32

    The maximum number of synonymSets to return. The service may return fewer than this value. If unspecified, at most 50 rule sets 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 `ListSynonymSets` call. Provide this to retrieve the subsequent page.

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

Google::Cloud::Contentwarehouse::V1::SynonymsetServiceRequest::ListSynonymSetsResponse

Response message for SynonymSetService.ListSynonymSets.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Contentwarehouse::V1::Synonymset::SynonymSet)

    The synonymSets from the specified parent.

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

    Type: String

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

Google::Cloud::Contentwarehouse::V1::SynonymsetServiceRequest::UpdateSynonymSetRequest

Request message for SynonymSetService.UpdateSynonymSet. Removes the SynonymSet for the specified context and replaces it with the SynonymSet in this request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the synonymSet to update Format: projects/{project_number}/locations/{location}/synonymSets/{context}.

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

    Type: Message (Google::Cloud::Contentwarehouse::V1::Synonymset::SynonymSet)

    Required. The synonymSet to be updated for the customer

Google::Cloud::Contentwarehouse::V1::SynonymsetServiceRequest::DeleteSynonymSetRequest

Request message for SynonymSetService.DeleteSynonymSet.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the synonymSet to delete Format: projects/{project_number}/locations/{location}/synonymSets/{context}.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.