Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recaptchaenterprise_v1/classes.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb

Overview

Account defender risk assessment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment

Returns a new instance of GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment.



39
40
41
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 39

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_takeover_verdictGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessmentAccountTakeoverVerdict

Account takeover risk assessment. Corresponds to the JSON property accountTakeoverVerdict



32
33
34
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 32

def 
  @account_takeover_verdict
end

#labelsArray<String>

Output only. Labels for this request. Corresponds to the JSON property labels

Returns:

  • (Array<String>)


37
38
39
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 37

def labels
  @labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44
45
46
47
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 44

def update!(**args)
  @account_takeover_verdict = args[:account_takeover_verdict] if args.key?(:account_takeover_verdict)
  @labels = args[:labels] if args.key?(:labels)
end