Skip to main content

admin_schemav2

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

Overview

Nameadmin_schemav2
TypeResource
Idgoogle.apigee.admin_schemav2

Fields

NameDatatypeDescription
dimensionsarrayList of schema fields grouped as dimensions.
metaarrayAdditional metadata associated with schema. This is a legacy field and usually consists of an empty array of strings.
metricsarrayList of schema fields grouped as dimensions that can be used with an aggregate function such as sum, avg, min, and max.

Methods

NameAccessible byRequired ParamsDescription
organizations_environments_analytics_admin_get_schemav2SELECTenvironmentsId, organizationsIdGets a list of metrics and dimensions that can be used to create analytics queries and reports. Each schema element contains the name of the field, its associated type, and a flag indicating whether it is a standard or custom field.

SELECT examples

Gets a list of metrics and dimensions that can be used to create analytics queries and reports. Each schema element contains the name of the field, its associated type, and a flag indicating whether it is a standard or custom field.

SELECT
dimensions,
meta,
metrics
FROM google.apigee.admin_schemav2
WHERE environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}';