class Google::Apis::CloudchannelV1::GoogleCloudChannelV1CustomerConstraints
Represents constraints required to purchase the Offer for a customer.
Attributes
allowed_customer_types[RW]
Allowed Customer Type. Corresponds to the JSON property `allowedCustomerTypes` @return [Array<String>]
allowed_regions[RW]
Allowed geographical regions of the customer. Corresponds to the JSON property `allowedRegions` @return [Array<String>]
promotional_order_types[RW]
Allowed Promotional Order Type. Present for Promotional offers. Corresponds to the JSON property `promotionalOrderTypes` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 709 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 714 def update!(**args) @allowed_customer_types = args[:allowed_customer_types] if args.key?(:allowed_customer_types) @allowed_regions = args[:allowed_regions] if args.key?(:allowed_regions) @promotional_order_types = args[:promotional_order_types] if args.key?(:promotional_order_types) end