Properties of the provided event token.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.TokenProperties
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearCreateTime() |
| public getAction() Output only. Action name provided at token generation. Generated from protobuf field string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public getAndroidPackageName() Output only. The name of the Android package with which the token was generated (Android keys only). Generated from protobuf field string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public getCreateTime() Output only. The timestamp corresponding to the generation of the token. Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public getHostname() Output only. The hostname of the page on which the token was generated (Web keys only). Generated from protobuf field string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public getInvalidReason() Output only. Reason associated with the response when valid = false. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public getIosBundleId() Output only. The ID of the iOS bundle with which the token was generated (iOS keys only). Generated from protobuf field string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public getValid() Output only. Whether the provided user response token is valid. When valid = false, the reason could be specified in invalid_reason or it could also be due to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to generate the token was different than the one specified in the assessment). Generated from protobuf field bool valid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public hasCreateTime() |
| public setAction( $var) Output only. Action name provided at token generation. Generated from protobuf field string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public setAndroidPackageName( $var) Output only. The name of the Android package with which the token was generated (Android keys only). Generated from protobuf field string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public setCreateTime( $var) Output only. The timestamp corresponding to the generation of the token. Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public setHostname( $var) Output only. The hostname of the page on which the token was generated (Web keys only). Generated from protobuf field string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public setInvalidReason( $var) Output only. Reason associated with the response when valid = false. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public setIosBundleId( $var) Output only. The ID of the iOS bundle with which the token was generated (iOS keys only). Generated from protobuf field string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| public setValid( $var) Output only. Whether the provided user response token is valid. When valid = false, the reason could be specified in invalid_reason or it could also be due to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to generate the token was different than the one specified in the assessment). Generated from protobuf field bool valid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
|
| Properties |
| protected $action = '' Output only. Action name provided at token generation. Generated from protobuf field string action = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; |
| protected $android_package_name = '' Output only. The name of the Android package with which the token was generated (Android keys only). Generated from protobuf field string android_package_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; |
| protected $create_time = NULL Output only. The timestamp corresponding to the generation of the token. Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; |
| protected $hostname = '' Output only. The hostname of the page on which the token was generated (Web keys only). Generated from protobuf field string hostname = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; |
| protected $invalid_reason = 0 Output only. Reason associated with the response when valid = false. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason invalid_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; |
| protected $ios_bundle_id = '' Output only. The ID of the iOS bundle with which the token was generated (iOS keys only). Generated from protobuf field string ios_bundle_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; |
| protected $valid = false Output only. Whether the provided user response token is valid. When valid = false, the reason could be specified in invalid_reason or it could also be due to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to generate the token was different than the one specified in the assessment). Generated from protobuf field bool valid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; |
| Methods |