Settings specific to keys that can be used by websites.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.WebKeySettings
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearChallengeSettings() |
| public getAllowAllDomains() Optional. If set to true, it means allowed_domains are not enforced. Generated from protobuf field bool allow_all_domains = 3 [(.google.api.field_behavior) = OPTIONAL];
|
| public getAllowAmpTraffic() Optional. If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type. Generated from protobuf field bool allow_amp_traffic = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| public getAllowedDomains() Optional. Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
Each key supports a maximum of 250 domains. To use a key on more domains,
set Generated from protobuf field repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public getChallengeSecurityPreference() Optional. Settings for the frequency and difficulty at which this key
triggers captcha challenges. This should only be specified for
Generated from protobuf field .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL];
|
| public getChallengeSettings() Optional. Challenge settings. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSettings challenge_settings = 6 [(.google.api.field_behavior) = OPTIONAL];
|
| public getIntegrationType() Required. Describes how this key is integrated with the website. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.WebKeySettings.IntegrationType integration_type = 4 [(.google.api.field_behavior) = REQUIRED];
|
| public hasChallengeSettings() |
| public setAllowAllDomains( $var) Optional. If set to true, it means allowed_domains are not enforced. Generated from protobuf field bool allow_all_domains = 3 [(.google.api.field_behavior) = OPTIONAL];
|
| public setAllowAmpTraffic( $var) Optional. If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type. Generated from protobuf field bool allow_amp_traffic = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| public setAllowedDomains( $var) Optional. Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
Each key supports a maximum of 250 domains. To use a key on more domains,
set Generated from protobuf field repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public setChallengeSecurityPreference( $var) Optional. Settings for the frequency and difficulty at which this key
triggers captcha challenges. This should only be specified for
Generated from protobuf field .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL];
|
| public setChallengeSettings( $var) Optional. Challenge settings. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSettings challenge_settings = 6 [(.google.api.field_behavior) = OPTIONAL];
|
| public setIntegrationType( $var) Required. Describes how this key is integrated with the website. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.WebKeySettings.IntegrationType integration_type = 4 [(.google.api.field_behavior) = REQUIRED];
|
| Properties |
| protected $allow_all_domains = false Optional. If set to true, it means allowed_domains are not enforced. Generated from protobuf field bool allow_all_domains = 3 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $allow_amp_traffic = false Optional. If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type. Generated from protobuf field bool allow_amp_traffic = 2 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $challenge_security_preference = 0 Optional. Settings for the frequency and difficulty at which this key
triggers captcha challenges. This should only be specified for
Generated from protobuf field .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference challenge_security_preference = 5 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $challenge_settings = NULL Optional. Challenge settings. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSettings challenge_settings = 6 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $integration_type = 0 Required. Describes how this key is integrated with the website. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.WebKeySettings.IntegrationType integration_type = 4 [(.google.api.field_behavior) = REQUIRED]; |
| Methods |
| Properties |
| private $allowed_domains = NULL Optional. Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
Each key supports a maximum of 250 domains. To use a key on more domains,
set Generated from protobuf field repeated string allowed_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; |