Reference documentation and code samples for the Cloud Product Registry V1 API class Google::Cloud::ProductRegistry::V1::LogicalProduct.
Represents an independent service offering that can be provisioned by a customer.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#lifecycle_state
def lifecycle_state() -> ::Google::Cloud::ProductRegistry::V1::LifecycleState
Returns
- (::Google::Cloud::ProductRegistry::V1::LifecycleState) — Output only. Current Lifecycle state of the logical product.
#name
def name() -> ::String
Returns
- (::String) — Identifier. The resource name of the LogicalProduct. Format: logicalProducts/{logical_product}.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. The resource name of the LogicalProduct. Format: logicalProducts/{logical_product}.
Returns
- (::String) — Identifier. The resource name of the LogicalProduct. Format: logicalProducts/{logical_product}.
#product_suite
def product_suite() -> ::String
Returns
- (::String) — Product suite associated with the logical product. Format: productSuites/{product_suite}.
#product_suite=
def product_suite=(value) -> ::String
Parameter
- value (::String) — Product suite associated with the logical product. Format: productSuites/{product_suite}.
Returns
- (::String) — Product suite associated with the logical product. Format: productSuites/{product_suite}.
#replaced
def replaced() -> ::Boolean
Returns
-
(::Boolean) — Output only. Indicates whether the logical product has been replaced. If
false, the product is active. Iftrue, the product has been replaced by another type, and thereplacementfield contains the resource name of that replacement.
#replacement
def replacement() -> ::String
Returns
- (::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.
#title
def title() -> ::String
Returns
- (::String) — Display name of the LogicalProduct.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Display name of the LogicalProduct.
Returns
- (::String) — Display name of the LogicalProduct.
#variants
def variants() -> ::Array<::String>
Returns
- (::Array<::String>) — Output only. Child variant resource references. Format: logicalProducts/{logical_product}/variants/{variant}