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:



55
56
57
58
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 55

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:



55
56
57
58
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 55

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:



55
56
57
58
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 55

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}



55
56
57
58
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 55

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:



55
56
57
58
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 55

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:



55
56
57
58
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 55

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:



55
56
57
58
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 55

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:



55
56
57
58
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 55

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:



55
56
57
58
# File 'proto_docs/google/cloud/channel/v1/offers.rb', line 55

class Offer
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end