developers_monetization_config
Creates, updates, deletes, gets or lists a developers_monetization_config resource.
Overview
| Name | developers_monetization_config |
| Type | Resource |
| Id | google.apigee.developers_monetization_config |
Fields
The following fields are returned by SELECT queries:
- organizations_developers_get_monetization_config
| Name | Datatype | Description |
|---|---|---|
billingType | string | Billing type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
organizations_developers_get_monetization_config | select | organizationsId, developersId | Gets the monetization configuration for the developer. | |
organizations_developers_update_monetization_config | replace | organizationsId, developersId | Updates 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.
| Name | Datatype | Description |
|---|---|---|
developersId | string | |
organizationsId | string |
SELECT examples
- organizations_developers_get_monetization_config
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
- organizations_developers_update_monetization_config
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;