Class Offer (1.0.0)

public sealed class Offer : IMessage<Offer>, IEquatable<Offer>, IDeepCloneable<Offer>, IBufferMessage, IMessage

Represents an offer made to resellers for purchase. An offer is associated with a [Sku][google.cloud.channel.v1.Sku], has a plan for payment, a price, and defines the constraints for buying.

Inheritance

Object > Offer

Implements

Google.Protobuf.IMessage<Offer>, IEquatable<Offer>, Google.Protobuf.IDeepCloneable<Offer>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.Channel.V1

Assembly

Google.Cloud.Channel.V1.dll

Constructors

Offer()

public Offer()

Offer(Offer)

public Offer(Offer other)
Parameter
NameDescription
otherOffer

Properties

Constraints

public Constraints Constraints { get; set; }

Constraints on transacting the Offer.

Property Value
TypeDescription
Constraints

EndTime

public Timestamp EndTime { get; set; }

Output only. End of the Offer validity time.

Property Value
TypeDescription
Google.Protobuf.WellKnownTypes.Timestamp

MarketingInfo

public MarketingInfo MarketingInfo { get; set; }

Marketing information for the Offer.

Property Value
TypeDescription
MarketingInfo

Name

public string Name { get; set; }

Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}

Property Value
TypeDescription
String

OfferName

public OfferName OfferName { get; set; }

OfferName-typed view over the Name resource name property.

Property Value
TypeDescription
OfferName

ParameterDefinitions

public RepeatedField<ParameterDefinition> ParameterDefinitions { get; }

Parameters required to use current Offer to purchase.

Property Value
TypeDescription
Google.Protobuf.Collections.RepeatedField<ParameterDefinition>

Plan

public Plan Plan { get; set; }

Describes the payment plan for the Offer.

Property Value
TypeDescription
Plan

PriceByResources

public RepeatedField<PriceByResource> PriceByResources { get; }

Price for each monetizable resource type.

Property Value
TypeDescription
Google.Protobuf.Collections.RepeatedField<PriceByResource>

Sku

public Sku Sku { get; set; }

SKU the offer is associated with.

Property Value
TypeDescription
Sku

StartTime

public Timestamp StartTime { get; set; }

Start of the Offer validity time.

Property Value
TypeDescription
Google.Protobuf.WellKnownTypes.Timestamp