NAME

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

SYNOPSIS

use Google::Cloud::Contentwarehouse::V1::Common;

my $msg = Google::Cloud::Contentwarehouse::V1::Common::RequestMetadata->new({
    user_info => $user_info,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/contentwarehouse/v1/common.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::Common::RequestMetadata

Meta information is used to improve the performance of the service.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contentwarehouse::V1::Common::ResponseMetadata

Additional information returned to client, such as debugging information.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A unique id associated with this call. This id is logged for tracking purpose.

Google::Cloud::Contentwarehouse::V1::Common::UserInfo

The user information.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    A unique user identification string, as determined by the client. The maximum number of allowed characters is 255. Allowed characters include numbers 0 to 9, uppercase and lowercase letters, and restricted special symbols (:, @, +, -, _, ~) The format is "user:xxxx@example.com";

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

    Type: String

    The unique group identifications which the user is belong to. The format is "group:yyyy@example.com";

Google::Cloud::Contentwarehouse::V1::Common::UpdateOptions

Options for Update operations.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Contentwarehouse::V1::Common::MergeFieldsOptions

Options for merging updated fields.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    When merging message fields, the default behavior is to merge the content of two message fields together. If you instead want to use the field from the source message to replace the corresponding field in the destination message, set this flag to true. When this flag is set, specified submessage fields that are missing in source will be cleared in destination.

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

    Type: Bool

    When merging repeated fields, the default behavior is to append entries from the source repeated field to the destination repeated field. If you instead want to keep only the entries from the source repeated field, set this flag to true.

    If you want to replace a repeated field within a message field on the destination message, you must set both replace_repeated_fields and replace_message_fields to true, otherwise the repeated fields will be appended.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.