| { |
| "kind": "discovery#restDescription", |
| "etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"", |
| "discoveryVersion": "v1", |
| "id": "arrayofenum:v1", |
| "name": "arrayofenum", |
| "version": "v1", |
| "title": "Example API", |
| "description": "The Example API demonstrates an array of enums.", |
| "ownerDomain": "google.com", |
| "ownerName": "Google", |
| "protocol": "rest", |
| "schemas": { |
| "Container": { |
| "id": "Container", |
| "type": "object", |
| "description": "Represents a Google Tag Manager Container.", |
| "properties": { |
| "accountId": { |
| "type": "string", |
| "description": "GTM Account ID." |
| }, |
| "containerId": { |
| "type": "string", |
| "description": "This is a long description that has URLs in it that shouldn't break. https://sites.google.com/a/google.com/adx-integration/Home/engineering/binary-releases/rtb-api-release https://cs.corp.google.com/#piper///depot/google3/contentads/adx/tools/rtb_api/adxrtb.py" |
| }, |
| "domainName": { |
| "type": "array", |
| "description": "Optional list of domain names associated with the Container.", |
| "items": { |
| "type": "string" |
| } |
| }, |
| "enabledBuiltInVariable": { |
| "type": "array", |
| "description": "List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.", |
| "items": { |
| "type": "string", |
| "enum": [ |
| "advertiserId", |
| "advertisingTrackingEnabled", |
| "appId", |
| "appName", |
| "appVersionCode", |
| "appVersionName", |
| "clickClasses", |
| "clickElement", |
| "clickId", |
| "clickTarget", |
| "clickText", |
| "clickUrl", |
| "containerId", |
| "containerVersion", |
| "debugMode", |
| "deviceName", |
| "errorLine", |
| "errorMessage", |
| "errorUrl", |
| "event", |
| "formClasses", |
| "formElement", |
| "formId", |
| "formTarget", |
| "formText", |
| "formUrl", |
| "historySource", |
| "language", |
| "newHistoryFragment", |
| "newHistoryState", |
| "oldHistoryFragment", |
| "oldHistoryState", |
| "osVersion", |
| "pageHostname", |
| "pagePath", |
| "pageUrl", |
| "platform", |
| "randomNumber", |
| "referrer", |
| "resolution", |
| "sdkVersion" |
| ], |
| "enumDescriptions": [ |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| ] |
| } |
| }, |
| "fingerprint": { |
| "type": "string", |
| "description": "The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified." |
| }, |
| "name": { |
| "type": "string", |
| "description": "Container display name.", |
| "annotations": { |
| "required": [ |
| "tagmanager.accounts.containers.create" |
| ] |
| } |
| }, |
| "notes": { |
| "type": "string", |
| "description": "Container Notes." |
| }, |
| "publicId": { |
| "type": "string", |
| "description": "Container Public ID." |
| }, |
| "timeZoneCountryId": { |
| "type": "string", |
| "description": "Container Country ID.", |
| "annotations": { |
| "required": [ |
| "tagmanager.accounts.containers.create" |
| ] |
| } |
| }, |
| "timeZoneId": { |
| "type": "string", |
| "description": "Container Time Zone ID.", |
| "annotations": { |
| "required": [ |
| "tagmanager.accounts.containers.create" |
| ] |
| } |
| }, |
| "usageContext": { |
| "type": "array", |
| "description": "List of Usage Contexts for the Container. Valid values include: web, android, ios.", |
| "items": { |
| "type": "string", |
| "enum": [ |
| "android", |
| "ios", |
| "web" |
| ], |
| "enumDescriptions": [ |
| "", |
| "", |
| "" |
| ] |
| }, |
| "annotations": { |
| "required": [ |
| "tagmanager.accounts.containers.create" |
| ] |
| } |
| } |
| } |
| } |
| } |
| } |