Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1MonetizationConfig

Returns a new instance of GoogleCloudApigeeV1MonetizationConfig.



6842
6843
6844
# File 'lib/google/apis/apigee_v1/classes.rb', line 6842

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Flag that specifies whether the Monetization add-on is enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


6839
6840
6841
# File 'lib/google/apis/apigee_v1/classes.rb', line 6839

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6847
6848
6849
# File 'lib/google/apis/apigee_v1/classes.rb', line 6847

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