Hello,
I triying Data Masking, with this documentation: https://cloud.google.com/apigee/docs/api-platform/security/data-masking
But, when I used "updateMask", the request is OK, but there is not any update in my data masking. Any suggestion about how I must use "updateMask"?
I sent:
curl "https://apigee.googleapis.com/v1/organizations/gdc-latam-apigee-internal-1/environments/dev/debugmas..." -X PATCH -H "Authorization: Bearer $TOKEN" -H "Content-type: application/json" -d '{
"requestJSONPaths": [
"$.store.book[*].date",
"$.store.book[*].version"
],
"variables": [
"request.header.via"
],
}'
updateMask
query parameter to specify a field mask that includes a comma-separated list of fully-qualified names of fields in the debug mask. For example: "requestJSONPaths"
Solved! Go to Solution.
> So, my question is what is the difference to send "updateMask" and not send it.
I think that if you do not include a field in "updateMask" then the field will not be updated. Right? I think that's how the API is defined. I am assuming that's how the service endpoint knows how to apply the PATCH request.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |