Skip to main content

developers_monetization_config

Creates, updates, deletes, gets or lists a developers_monetization_config resource.

Overview

Namedevelopers_monetization_config
TypeResource
Idgoogle.apigee.developers_monetization_config

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
billingTypestringBilling type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_developers_get_monetization_configselectorganizationsId, developersIdGets the monetization configuration for the developer.
organizations_developers_update_monetization_configreplaceorganizationsId, developersIdUpdates the monetization configuration for the developer.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
developersIdstring
organizationsIdstring

SELECT examples

Gets the monetization configuration for the developer.

SELECT
billingType
FROM google.apigee.developers_monetization_config
WHERE organizationsId = '{{ organizationsId }}' -- required
AND developersId = '{{ developersId }}' -- required;

REPLACE examples

Updates the monetization configuration for the developer.

REPLACE google.apigee.developers_monetization_config
SET
data__billingType = '{{ billingType }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND developersId = '{{ developersId }}' --required
RETURNING
billingType;