Class GoogleCloudRecaptchaenterpriseV1ProtectedEndpoint
Configuration for an API endpoint to protect with reCAPTCHA.
Implements
Inherited Members
Namespace: Google.Apis.RecaptchaEnterprise.v1.Data
Assembly: Google.Apis.RecaptchaEnterprise.v1.dll
Syntax
public class GoogleCloudRecaptchaenterpriseV1ProtectedEndpoint : IDirectResponseSchema
Properties
Action
Required. Action name to be used for token generation for this endpoint. The action name can only contain alphanumeric characters, slashes, and underscores.
Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Path
Required. The URI path of the API endpoint to protect. The path is case-sensitive and must meet the
following criteria: * Be unique, start with /, and contain 1 to 200 characters without consecutive slashes
(//). * Include at least one non-wildcard segment. For example, cannot be /, /*, /**, or /*/. *
Wildcards must occupy complete segments: * matches a single segment. For example, /api/*/login or
/api/* are valid; /api/login* is invalid, and ** matches multiple segments as the final segment only.
For example, /api/** is valid; /api/**/login is invalid. Matching is evaluated against the URL path
only. Domain, scheme, and query parameters are ignored. Examples: * /login matches /login,
https://example.com/login, and /login?query=1, but not /login/step1. * /products/* matches
/products/123, but not /products/123/456. * /content/** matches /content/articles/2024/01/01.
Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| string |