Class: Google::Cloud::Channel::V1::Offer
- Inherits:
-
Object
- Object
- Google::Cloud::Channel::V1::Offer
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/channel/v1/offers.rb
Overview
Represents an offer made to resellers for purchase. An offer is associated with a Sku, has a plan for payment, a price, and defines the constraints for buying.
Instance Attribute Summary collapse
-
#constraints ⇒ ::Google::Cloud::Channel::V1::Constraints
Constraints on transacting the Offer.
-
#deal_code ⇒ ::String
The deal code of the offer to get a special promotion or discount.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#marketing_info ⇒ ::Google::Cloud::Channel::V1::MarketingInfo
Marketing information for the Offer.
-
#name ⇒ ::String
Resource Name of the Offer.
-
#parameter_definitions ⇒ ::Array<::Google::Cloud::Channel::V1::ParameterDefinition>
Parameters required to use current Offer to purchase.
-
#plan ⇒ ::Google::Cloud::Channel::V1::Plan
Describes the payment plan for the Offer.
-
#price_by_resources ⇒ ::Array<::Google::Cloud::Channel::V1::PriceByResource>
Price for each monetizable resource type.
-
#sku ⇒ ::Google::Cloud::Channel::V1::Sku
SKU the offer is associated with.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
Start of the Offer validity time.
Instance Attribute Details
#constraints ⇒ ::Google::Cloud::Channel::V1::Constraints
Returns Constraints on transacting the Offer.
58 59 60 61 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 58 class Offer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#deal_code ⇒ ::String
Returns The deal code of the offer to get a special promotion or discount.
58 59 60 61 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 58 class Offer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. End of the Offer validity time.
58 59 60 61 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 58 class Offer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#marketing_info ⇒ ::Google::Cloud::Channel::V1::MarketingInfo
Returns Marketing information for the Offer.
58 59 60 61 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 58 class Offer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}.
58 59 60 61 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 58 class Offer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parameter_definitions ⇒ ::Array<::Google::Cloud::Channel::V1::ParameterDefinition>
Returns Parameters required to use current Offer to purchase.
58 59 60 61 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 58 class Offer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#plan ⇒ ::Google::Cloud::Channel::V1::Plan
Returns Describes the payment plan for the Offer.
58 59 60 61 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 58 class Offer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#price_by_resources ⇒ ::Array<::Google::Cloud::Channel::V1::PriceByResource>
Returns Price for each monetizable resource type.
58 59 60 61 |
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 58 class Offer include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |