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.



34
35
36
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 34

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

Instance Attribute Details

#labelsArray<String>

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

Returns:

  • (Array<String>)


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

def labels
  @labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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