keys_ip_override
Creates, updates, deletes, gets or lists a keys_ip_override
resource.
Overview
Name | keys_ip_override |
Type | Resource |
Id | google.recaptchaenterprise.keys_ip_override |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
add_ip_override | INSERT | keysId, projectsId | Adds an IP override to a key. The following restrictions hold: The maximum number of IP overrides per key is 100. For any conflict (such as IP already exists or IP part of an existing IP range), an error is returned. |
remove_ip_override | DELETE | keysId, projectsId | Removes an IP override from a key. The following restrictions hold: If the IP isn't found in an existing IP override, a NOT_FOUND error is returned. If the IP is found in an existing IP override, but the override type does not match, a NOT_FOUND error is returned. |
INSERT
example
Use the following StackQL query and manifest file to create a new keys_ip_override
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.recaptchaenterprise.keys_ip_override (
keysId,
projectsId,
ipOverrideData
)
SELECT
'{{ keysId }}',
'{{ projectsId }}',
'{{ ipOverrideData }}'
;
- name: your_resource_model_name
props:
- name: ipOverrideData
value:
- name: overrideType
value: string
- name: ip
value: string
DELETE
example
Deletes the specified keys_ip_override
resource.
/*+ delete */
DELETE FROM google.recaptchaenterprise.keys_ip_override
WHERE keysId = '{{ keysId }}'
AND projectsId = '{{ projectsId }}';