Cloud Channel V1 API - Class Google::Cloud::Channel::V1::Offer (v0.12.0)

Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::Offer.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#constraints

def constraints() -> ::Google::Cloud::Channel::V1::Constraints
Returns

#constraints=

def constraints=(value) -> ::Google::Cloud::Channel::V1::Constraints
Parameter
Returns

#end_time

def end_time() -> ::Google::Protobuf::Timestamp
Returns

#marketing_info

def marketing_info() -> ::Google::Cloud::Channel::V1::MarketingInfo
Returns

#marketing_info=

def marketing_info=(value) -> ::Google::Cloud::Channel::V1::MarketingInfo
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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}

#parameter_definitions

def parameter_definitions() -> ::Array<::Google::Cloud::Channel::V1::ParameterDefinition>
Returns

#parameter_definitions=

def parameter_definitions=(value) -> ::Array<::Google::Cloud::Channel::V1::ParameterDefinition>
Parameter
Returns

#plan

def plan() -> ::Google::Cloud::Channel::V1::Plan
Returns

#plan=

def plan=(value) -> ::Google::Cloud::Channel::V1::Plan
Parameter
Returns

#price_by_resources

def price_by_resources() -> ::Array<::Google::Cloud::Channel::V1::PriceByResource>
Returns

#price_by_resources=

def price_by_resources=(value) -> ::Array<::Google::Cloud::Channel::V1::PriceByResource>
Parameter
Returns

#sku

def sku() -> ::Google::Cloud::Channel::V1::Sku
Returns

#sku=

def sku=(value) -> ::Google::Cloud::Channel::V1::Sku
Parameter
Returns

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns

#start_time=

def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns