security_settings
Creates, updates, deletes, gets or lists a security_settings
resource.
Overview
Name | security_settings |
Type | Resource |
Id | google.apigee.security_settings |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Full resource name is always organizations/{org}/securitySettings . |
mlRetrainingFeedbackEnabled | boolean | Optional. If true the user consents to the use of ML models for Abuse detection. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_get_security_settings | SELECT | organizationsId | GetSecuritySettings gets the security settings for API Security. |
organizations_update_security_settings | UPDATE | organizationsId | UpdateSecuritySettings updates the current security settings for API Security. |
SELECT
examples
GetSecuritySettings gets the security settings for API Security.
SELECT
name,
mlRetrainingFeedbackEnabled
FROM google.apigee.security_settings
WHERE organizationsId = '{{ organizationsId }}';
UPDATE
example
Updates a security_settings
resource.
/*+ update */
UPDATE google.apigee.security_settings
SET
name = '{{ name }}',
mlRetrainingFeedbackEnabled = true|false
WHERE
organizationsId = '{{ organizationsId }}';