Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Constraints
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1Constraints
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb
Overview
Represents the constraints for buying the Offer.
Instance Attribute Summary collapse
-
#customer_constraints ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1CustomerConstraints
Represents constraints required to purchase the Offer for a customer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1Constraints
constructor
A new instance of GoogleCloudChannelV1Constraints.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1Constraints
Returns a new instance of GoogleCloudChannelV1Constraints.
740 741 742 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 740 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_constraints ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1CustomerConstraints
Represents constraints required to purchase the Offer for a customer.
Corresponds to the JSON property customerConstraints
738 739 740 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 738 def customer_constraints @customer_constraints end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
745 746 747 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 745 def update!(**args) @customer_constraints = args[:customer_constraints] if args.key?(:customer_constraints) end |