Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RepricingConfigEntitlementGranularity

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1RepricingConfigEntitlementGranularity

Returns a new instance of GoogleCloudChannelV1RepricingConfigEntitlementGranularity.



2274
2275
2276
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2274

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entitlementString

Resource name of the entitlement. Format: accounts/account_id/customers/ customer_id/entitlements/entitlement_id Corresponds to the JSON property entitlement

Returns:

  • (String)


2272
2273
2274
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2272

def entitlement
  @entitlement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2279
2280
2281
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2279

def update!(**args)
  @entitlement = args[:entitlement] if args.key?(:entitlement)
end