Skip to main content

security_settings

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

Overview

Namesecurity_settings
TypeResource
Idgoogle.apigee.security_settings

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. Full resource name is always organizations/{org}/securitySettings.
mlRetrainingFeedbackEnabledbooleanOptional. If true the user consents to the use of ML models for Abuse detection.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_get_security_settingsselectorganizationsIdGetSecuritySettings gets the security settings for API Security.
organizations_update_security_settingsupdateorganizationsIdupdateMaskUpdateSecuritySettings updates the current security settings for API Security.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
organizationsIdstring
updateMaskstring (google-fieldmask)

SELECT examples

GetSecuritySettings gets the security settings for API Security.

SELECT
name,
mlRetrainingFeedbackEnabled
FROM google.apigee.security_settings
WHERE organizationsId = '{{ organizationsId }}' -- required;

UPDATE examples

UpdateSecuritySettings updates the current security settings for API Security.

UPDATE google.apigee.security_settings
SET
data__name = '{{ name }}',
data__mlRetrainingFeedbackEnabled = {{ mlRetrainingFeedbackEnabled }}
WHERE
organizationsId = '{{ organizationsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
mlRetrainingFeedbackEnabled;