appgroups_monetization_config
Creates, updates, deletes, gets or lists an appgroups_monetization_config resource.
Overview
| Name | appgroups_monetization_config |
| Type | Resource |
| Id | google.apigee.appgroups_monetization_config |
Fields
The following fields are returned by SELECT queries:
- organizations_appgroups_get_monetization_config
| Name | Datatype | Description |
|---|---|---|
billingType | string | Required. Billing type. (BILLING_TYPE_UNSPECIFIED, PREPAID, POSTPAID) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
organizations_appgroups_get_monetization_config | select | organizationsId, appgroupsId | Gets the monetization configuration for the AppGroup. | |
organizations_appgroups_update_monetization_config | replace | organizationsId, appgroupsId | Updates the monetization configuration for the AppGroup. Note: We recommend that you avoid making concurrent update requests for the same resource. Near-simultaneous writes to the same entity can result in conflicts and unexpected behavior. Ensure operations are sequential when modifying a single resource. |
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 |
|---|---|---|
appgroupsId | string | |
organizationsId | string |
SELECT examples
- organizations_appgroups_get_monetization_config
Gets the monetization configuration for the AppGroup.
SELECT
billingType
FROM google.apigee.appgroups_monetization_config
WHERE organizationsId = '{{ organizationsId }}' -- required
AND appgroupsId = '{{ appgroupsId }}' -- required
;
REPLACE examples
- organizations_appgroups_update_monetization_config
Updates the monetization configuration for the AppGroup. Note: We recommend that you avoid making concurrent update requests for the same resource. Near-simultaneous writes to the same entity can result in conflicts and unexpected behavior. Ensure operations are sequential when modifying a single resource.
REPLACE google.apigee.appgroups_monetization_config
SET
data__billingType = '{{ billingType }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND appgroupsId = '{{ appgroupsId }}' --required
RETURNING
billingType;