Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaKey

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2RecaptchaKey

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2RecaptchaKey.



1490
1491
1492
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1490

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

Instance Attribute Details

#keyString

The reCAPTCHA Enterprise key resource name, e.g. "projects/project/keys/key " Corresponds to the JSON property key

Returns:

  • (String)


1483
1484
1485
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1483

def key
  @key
end

#typeString

The client's platform type. Corresponds to the JSON property type

Returns:

  • (String)


1488
1489
1490
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1488

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1495
1496
1497
1498
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1495

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