class Google::Apis::CloudchannelV1::GoogleCloudChannelV1Constraints

Represents the constraints for buying the Offer.

Attributes

customer_constraints[RW]

Represents constraints required to purchase the Offer for a customer. Corresponds to the JSON property `customerConstraints` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1CustomerConstraints]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 492
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 497
def update!(**args)
  @customer_constraints = args[:customer_constraints] if args.key?(:customer_constraints)
end