Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Configuration for the Monetization add-on.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Flag that specifies whether the Monetization add-on is enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1MonetizationConfig
constructor
A new instance of GoogleCloudApigeeV1MonetizationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1MonetizationConfig
Returns a new instance of GoogleCloudApigeeV1MonetizationConfig.
6669 6670 6671 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Flag that specifies whether the Monetization add-on is enabled.
Corresponds to the JSON property enabled
6666 6667 6668 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6666 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6674 6675 6676 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6674 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |