Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig

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

Monetization configuration for the developer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DeveloperMonetizationConfig

Returns a new instance of GoogleCloudApigeeV1DeveloperMonetizationConfig.



2820
2821
2822
# File 'lib/google/apis/apigee_v1/classes.rb', line 2820

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

Instance Attribute Details

#billing_typeString

Billing type. Corresponds to the JSON property billingType

Returns:

  • (String)


2818
2819
2820
# File 'lib/google/apis/apigee_v1/classes.rb', line 2818

def billing_type
  @billing_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2825
2826
2827
# File 'lib/google/apis/apigee_v1/classes.rb', line 2825

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