NAME

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

SYNOPSIS

use Google::Cloud::Productregistry::V1::LogicalProduct;

my $msg = Google::Cloud::Productregistry::V1::LogicalProduct::LogicalProduct->new({
    name => $name,
    title => $title,
    product_suite => $product_suite,
    variants => $variants,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/productregistry/v1/logical_product.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::LogicalProduct::LogicalProduct

Represents an independent service offering that can be provisioned by a customer.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name of the LogicalProduct. Format: logicalProducts/{logical_product}.

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

    Type: String

    Display name of the LogicalProduct.

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

    Type: String

    Product suite associated with the logical product. Format: productSuites/{product_suite}.

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

    Type: String

    Output only. Child variant resource references. Format: logicalProducts/{logical_product}/variants/{variant}

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

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

    Output only. Current Lifecycle state of the logical product.

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

    Type: Bool

    Output only. Indicates whether the logical product has been replaced. If `false`, the product is active. If `true`, the product 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 is replaced by. This field is only populated when this logical product is replaced by some other type. Eg: logicalProducts/{logical_product}/variants/{variant}, productSuites/{product_suite}, etc.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.