Skip to main content

appgroups_monetization_config

Creates, updates, deletes, gets or lists an appgroups_monetization_config resource.

Overview​

Nameappgroups_monetization_config
TypeResource
Idgoogle.apigee.appgroups_monetization_config

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
billingTypestringRequired. Billing type. (BILLING_TYPE_UNSPECIFIED, PREPAID, POSTPAID)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_appgroups_get_monetization_configselectorganizationsId, appgroupsIdGets the monetization configuration for the AppGroup.
organizations_appgroups_update_monetization_configreplaceorganizationsId, appgroupsIdUpdates 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.

NameDatatypeDescription
appgroupsIdstring
organizationsIdstring

SELECT examples​

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​

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;