environments_debugmask
Creates, updates, deletes, gets or lists a environments_debugmask
resource.
Overview
Name | environments_debugmask |
Type | Resource |
Id | google.apigee.environments_debugmask |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Name of the debug mask. |
faultJSONPaths | array | List of JSON paths that specify the JSON elements to be filtered from JSON payloads in error flows. |
faultXPaths | array | List of XPaths that specify the XML elements to be filtered from XML payloads in error flows. |
namespaces | object | Map of namespaces to URIs. |
requestJSONPaths | array | List of JSON paths that specify the JSON elements to be filtered from JSON request message payloads. |
requestXPaths | array | List of XPaths that specify the XML elements to be filtered from XML request message payloads. |
responseJSONPaths | array | List of JSON paths that specify the JSON elements to be filtered from JSON response message payloads. |
responseXPaths | array | List of XPaths that specify the XML elements to be filtered from XML response message payloads. |
variables | array | List of variables that should be masked from the debug output. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_environments_get_debugmask | SELECT | environmentsId, organizationsId | Gets the debug mask singleton resource for an environment. |
organizations_environments_update_debugmask | UPDATE | environmentsId, organizationsId | Updates 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 }}';