Skip to main content

overrides

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

Overview

Nameoverrides
TypeResource
Idgoogle.apigee.overrides

Fields

NameDatatypeDescription
namestringID of the trace configuration override specified as a system-generated UUID.
apiProxystringID of the API proxy that will have its trace configuration overridden.
samplingConfigobjectTraceSamplingConfig represents the detail settings of distributed tracing. Only the fields that are defined in the distributed trace configuration can be overridden using the distribute trace configuration override APIs.

Methods

NameAccessible byRequired ParamsDescription
organizations_environments_trace_config_overrides_getSELECTenvironmentsId, organizationsId, overridesIdGets a trace configuration override.
organizations_environments_trace_config_overrides_listSELECTenvironmentsId, organizationsIdLists all of the distributed trace configuration overrides in an environment.
organizations_environments_trace_config_overrides_createINSERTenvironmentsId, organizationsIdCreates a trace configuration override. The response contains a system-generated UUID, that can be used to view, update, or delete the configuration override. Use the List API to view the existing trace configuration overrides.
organizations_environments_trace_config_overrides_deleteDELETEenvironmentsId, organizationsId, overridesIdDeletes a distributed trace configuration override.
organizations_environments_trace_config_overrides_patchUPDATEenvironmentsId, organizationsId, overridesIdUpdates a distributed trace configuration override. Note that the repeated fields have replace semantics when included in the field mask and that they will be overwritten by the value of the fields in the request body.

SELECT examples

Lists all of the distributed trace configuration overrides in an environment.

SELECT
name,
apiProxy,
samplingConfig
FROM google.apigee.overrides
WHERE environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}';

INSERT example

Use the following StackQL query and manifest file to create a new overrides resource.

/*+ create */
INSERT INTO google.apigee.overrides (
environmentsId,
organizationsId,
apiProxy,
samplingConfig,
name
)
SELECT
'{{ environmentsId }}',
'{{ organizationsId }}',
'{{ apiProxy }}',
'{{ samplingConfig }}',
'{{ name }}'
;

UPDATE example

Updates a overrides resource.

/*+ update */
UPDATE google.apigee.overrides
SET
apiProxy = '{{ apiProxy }}',
samplingConfig = '{{ samplingConfig }}',
name = '{{ name }}'
WHERE
environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}'
AND overridesId = '{{ overridesId }}';

DELETE example

Deletes the specified overrides resource.

/*+ delete */
DELETE FROM google.apigee.overrides
WHERE environmentsId = '{{ environmentsId }}'
AND organizationsId = '{{ organizationsId }}'
AND overridesId = '{{ overridesId }}';