Reference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#action
def action() -> ::String
Returns
- (::String) — Action name provided at token generation.
#action=
def action=(value) -> ::String
Parameter
- value (::String) — Action name provided at token generation.
Returns
- (::String) — Action name provided at token generation.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The timestamp corresponding to the generation of the token.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The timestamp corresponding to the generation of the token.
Returns
- (::Google::Protobuf::Timestamp) — The timestamp corresponding to the generation of the token.
#hostname
def hostname() -> ::String
Returns
- (::String) — The hostname of the page on which the token was generated.
#hostname=
def hostname=(value) -> ::String
Parameter
- value (::String) — The hostname of the page on which the token was generated.
Returns
- (::String) — The hostname of the page on which the token was generated.
#invalid_reason
def invalid_reason() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties::InvalidReason
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties::InvalidReason) — Reason associated with the response when valid = false.
#invalid_reason=
def invalid_reason=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties::InvalidReason
Parameter
- value (::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties::InvalidReason) — Reason associated with the response when valid = false.
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties::InvalidReason) — Reason associated with the response when valid = false.
#valid
def valid() -> ::Boolean
Returns
- (::Boolean) — Whether the provided user response token is valid.
#valid=
def valid=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether the provided user response token is valid.
Returns
- (::Boolean) — Whether the provided user response token is valid.