NAME

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

SYNOPSIS

use Google::Cloud::Contentwarehouse::V1::RulesetServiceRequest;

my $msg = Google::Cloud::Contentwarehouse::V1::RulesetServiceRequest::CreateRuleSetRequest->new({
    parent => $parent,
    rule_set => $rule_set,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/contentwarehouse/v1/ruleset_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::RulesetServiceRequest::CreateRuleSetRequest

Request message for RuleSetService.CreateRuleSet.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Message (Google::Cloud::Contentwarehouse::V1::RuleEngine::RuleSet)

    Required. The rule set to create.

Google::Cloud::Contentwarehouse::V1::RulesetServiceRequest::GetRuleSetRequest

Request message for RuleSetService.GetRuleSet.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the rule set to retrieve. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.

Google::Cloud::Contentwarehouse::V1::RulesetServiceRequest::UpdateRuleSetRequest

Request message for RuleSetService.UpdateRuleSet.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the rule set to update. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.

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

    Type: Message (Google::Cloud::Contentwarehouse::V1::RuleEngine::RuleSet)

    Required. The rule set to update.

Google::Cloud::Contentwarehouse::V1::RulesetServiceRequest::DeleteRuleSetRequest

Request message for RuleSetService.DeleteRuleSet.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the rule set to delete. Format: projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}.

Google::Cloud::Contentwarehouse::V1::RulesetServiceRequest::ListRuleSetsRequest

Request message for RuleSetService.ListRuleSets.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Int32

    The maximum number of rule sets 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 `ListRuleSets` call. Provide this to retrieve the subsequent page.

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

Google::Cloud::Contentwarehouse::V1::RulesetServiceRequest::ListRuleSetsResponse

Response message for RuleSetService.ListRuleSets.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Contentwarehouse::V1::RuleEngine::RuleSet)

    The rule sets 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::RulesetServiceRequest::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.