Class: Google::Cloud::Channel::V1::Offer

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#constraints::Google::Cloud::Channel::V1::Constraints

Returns Constraints on transacting the Offer.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:



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}.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:



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.

Returns:



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

#sku::Google::Cloud::Channel::V1::Sku

Returns SKU the offer is associated with.

Returns:



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

#start_time::Google::Protobuf::Timestamp

Returns Start of the Offer validity time.

Returns:



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