Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigEntitlementGranularity
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigEntitlementGranularity
- 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
Applies the repricing configuration at the entitlement level.
Instance Attribute Summary collapse
-
#entitlement ⇒ String
Resource name of the entitlement.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1RepricingConfigEntitlementGranularity
constructor
A new instance of GoogleCloudChannelV1RepricingConfigEntitlementGranularity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1RepricingConfigEntitlementGranularity
Returns a new instance of GoogleCloudChannelV1RepricingConfigEntitlementGranularity.
3161 3162 3163 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entitlement ⇒ String
Resource name of the entitlement. Format: accounts/account_id
/customers/
customer_id
/entitlements/entitlement_id
Corresponds to the JSON property entitlement
3159 3160 3161 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3159 def entitlement @entitlement end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3166 3167 3168 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3166 def update!(**args) @entitlement = args[:entitlement] if args.key?(:entitlement) end |