NAME

Google::Cloud::Productregistry::V1::LogicalProductVariant - Compiled Protocol Buffers messages for google/cloud/productregistry/v1/logical_product_variant.proto

SYNOPSIS

use Google::Cloud::Productregistry::V1::LogicalProductVariant;

my $msg = Google::Cloud::Productregistry::V1::LogicalProductVariant::LogicalProductVariant->new({
    name => $name,
    title => $title,
    lifecycle_state => $lifecycle_state,
    replaced => $replaced,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/productregistry/v1/logical_product_variant.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::Productregistry::V1::LogicalProductVariant::LogicalProductVariant

Represents a distinct offering derived from a primary product that retains core functionalities but offers specialized features for a specific market segment.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name of the LogicalProductVariant. Format: logicalProducts/{logical_product}/variants/{variant}

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

    Type: String

    Display name of the LogicalProductVariant.

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

    Type: Enum (Google::Cloud::Productregistry::V1::LifecycleState)

    Output only. Current Lifecycle state of the logical product variant.

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

    Type: Bool

    Output only. Indicates whether the logical product variant has been replaced. If `false`, the variant is active. If `true`, the variant has been replaced by another type, and the `replacement` field contains the resource name of that replacement.

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

    Type: String

    Output only. The resource name of the Logical Entity that the logical product variant is replaced by. This field is only populated when this logical product variant is replaced by some other type. Eg: logicalProducts/{logical_product}, productSuites/{product_suite}, etc.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Productregistry::V1::LogicalProductVariant::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.