Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaKey
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaKey
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb
Overview
The reCAPTCHA key config. reCAPTCHA Enterprise offers different keys for different client platforms.
Instance Attribute Summary collapse
-
#key ⇒ String
The reCAPTCHA Enterprise key resource name, e.g.
-
#type ⇒ String
The client's platform type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2RecaptchaKey
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2RecaptchaKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2RecaptchaKey
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2RecaptchaKey.
1457 1458 1459 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The reCAPTCHA Enterprise key resource name, e.g. "projects/project
/keys/key
"
Corresponds to the JSON property key
1450 1451 1452 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1450 def key @key end |
#type ⇒ String
The client's platform type.
Corresponds to the JSON property type
1455 1456 1457 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1455 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1462 1463 1464 1465 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1462 def update!(**args) @key = args[:key] if args.key?(:key) @type = args[:type] if args.key?(:type) end |