Skip to main content

environments_debugmask

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

Overview

Nameenvironments_debugmask
TypeResource
Idgoogle.apigee.environments_debugmask

Fields

NameDatatypeDescription
namestringName of the debug mask.
faultJSONPathsarrayList of JSON paths that specify the JSON elements to be filtered from JSON payloads in error flows.
faultXPathsarrayList of XPaths that specify the XML elements to be filtered from XML payloads in error flows.
namespacesobjectMap of namespaces to URIs.
requestJSONPathsarrayList of JSON paths that specify the JSON elements to be filtered from JSON request message payloads.
requestXPathsarrayList of XPaths that specify the XML elements to be filtered from XML request message payloads.
responseJSONPathsarrayList of JSON paths that specify the JSON elements to be filtered from JSON response message payloads.
responseXPathsarrayList of XPaths that specify the XML elements to be filtered from XML response message payloads.
variablesarrayList of variables that should be masked from the debug output.

Methods

NameAccessible byRequired ParamsDescription
organizations_environments_get_debugmaskSELECTenvironmentsId, organizationsIdGets the debug mask singleton resource for an environment.
organizations_environments_update_debugmaskUPDATEenvironmentsId, organizationsIdUpdates the debug mask singleton resource for an environment.

SELECT examples

Gets the debug mask singleton resource for an environment.

SELECT
name,
faultJSONPaths,
faultXPaths,
namespaces,
requestJSONPaths,
requestXPaths,
responseJSONPaths,
responseXPaths,
variables
FROM google.apigee.environments_debugmask
WHERE environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}';

UPDATE example

Updates a environments_debugmask resource.

/*+ update */
UPDATE google.apigee.environments_debugmask
SET
name = '{{ name }}',
variables = '{{ variables }}',
requestJSONPaths = '{{ requestJSONPaths }}',
requestXPaths = '{{ requestXPaths }}',
faultXPaths = '{{ faultXPaths }}',
namespaces = '{{ namespaces }}',
responseXPaths = '{{ responseXPaths }}',
responseJSONPaths = '{{ responseJSONPaths }}',
faultJSONPaths = '{{ faultJSONPaths }}'
WHERE
environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}';