Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
- 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
The environment creating the assessment. This describes your environment (the system invoking CreateAssessment), NOT the environment of your user.
Instance Attribute Summary collapse
-
#client ⇒ String
Optional.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment
Returns a new instance of GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment.
355 356 357 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 355 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client ⇒ String
Optional. Identifies the client module initiating the CreateAssessment request.
This can be the link to the client module's project. Examples include: - "
github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" - "
cloud.google.com/recaptcha/docs/implement-waf-akamai" - "cloud.google.com/
recaptcha/docs/implement-waf-cloudflare" - "wordpress.org/plugins/recaptcha-
something"
Corresponds to the JSON property client
348 349 350 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 348 def client @client end |
#version ⇒ String
Optional. The version of the client module. For example, "1.0.0".
Corresponds to the JSON property version
353 354 355 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 353 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
360 361 362 363 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 360 def update!(**args) @client = args[:client] if args.key?(:client) @version = args[:version] if args.key?(:version) end |