Cloud Commerce Producer V1BETA API - Class Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::Feature (v0.1.0)

Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::PrivateOffer::SingleProductOffer::Feature.

Additional details used to describe customization of the service level.

Features are used to distinguish service levels of the same product. When a product has a single service level, all details can be contained in the product documentation. When a product has multiple service levels, each service level can be assigned a distinct set of features to distinguish the key differences between the service levels.

In addition to customizing pricing and other transaction details, a private offer may include customization of partner-managed product behavior. When this is the case, the details of the custom behavior are described using features.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. Human readable display text characterizing the feature. Should be sufficiently detailed to identify the feature, allowing features to be correlated across separate offers and service levels. Must be non-empty to publish the offer. The maximum allowed length is 128 characters. Allows characters from the following Unicode Property Classes: Letters, Numbers, Punctuation, Symbols, and Separators

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. Human readable display text characterizing the feature. Should be sufficiently detailed to identify the feature, allowing features to be correlated across separate offers and service levels. Must be non-empty to publish the offer. The maximum allowed length is 128 characters. Allows characters from the following Unicode Property Classes: Letters, Numbers, Punctuation, Symbols, and Separators
Returns
  • (::String) — Optional. Human readable display text characterizing the feature. Should be sufficiently detailed to identify the feature, allowing features to be correlated across separate offers and service levels. Must be non-empty to publish the offer. The maximum allowed length is 128 characters. Allows characters from the following Unicode Property Classes: Letters, Numbers, Punctuation, Symbols, and Separators

#value

def value() -> ::String
Returns
  • (::String) — Optional. Human readable display text reflecting the value of the feature. Used for variable features not captured by the display_name alone. The maximum allowed length is 3000 characters. Allows characters from the following Unicode Property Classes: Letters, Numbers, Punctuation, Symbols, and Separators

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — Optional. Human readable display text reflecting the value of the feature. Used for variable features not captured by the display_name alone. The maximum allowed length is 3000 characters. Allows characters from the following Unicode Property Classes: Letters, Numbers, Punctuation, Symbols, and Separators
Returns
  • (::String) — Optional. Human readable display text reflecting the value of the feature. Used for variable features not captured by the display_name alone. The maximum allowed length is 3000 characters. Allows characters from the following Unicode Property Classes: Letters, Numbers, Punctuation, Symbols, and Separators