Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key
- 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
A key used to identify and configure applications (web and/or mobile) that use reCAPTCHA Enterprise.
Instance Attribute Summary collapse
-
#android_settings ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
Settings specific to keys that can be used by Android apps.
-
#create_time ⇒ String
The timestamp corresponding to the creation of this Key.
-
#display_name ⇒ String
Human-readable display name of this key.
-
#ios_settings ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings
Settings specific to keys that can be used by iOS apps.
-
#labels ⇒ Hash<String,String>
See Creating and managing labels.
-
#name ⇒ String
The resource name for the Key in the format "projects/
project/keys/key". -
#testing_options ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions
Options for user acceptance testing.
-
#web_settings ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings
Settings specific to keys that can be used by websites.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1Key
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1Key.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1Key
Returns a new instance of GoogleCloudRecaptchaenterpriseV1Key.
328 329 330 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 328 def initialize(**args) update!(**args) end |
Instance Attribute Details
#android_settings ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
Settings specific to keys that can be used by Android apps.
Corresponds to the JSON property androidSettings
291 292 293 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 291 def android_settings @android_settings end |
#create_time ⇒ String
The timestamp corresponding to the creation of this Key.
Corresponds to the JSON property createTime
296 297 298 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 296 def create_time @create_time end |
#display_name ⇒ String
Human-readable display name of this key. Modifiable by user.
Corresponds to the JSON property displayName
301 302 303 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 301 def display_name @display_name end |
#ios_settings ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IosKeySettings
Settings specific to keys that can be used by iOS apps.
Corresponds to the JSON property iosSettings
306 307 308 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 306 def ios_settings @ios_settings end |
#labels ⇒ Hash<String,String>
See Creating and managing labels.
Corresponds to the JSON property labels
311 312 313 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 311 def labels @labels end |
#name ⇒ String
The resource name for the Key in the format "projects/project/keys/key".
Corresponds to the JSON property name
316 317 318 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 316 def name @name end |
#testing_options ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions
Options for user acceptance testing.
Corresponds to the JSON property testingOptions
321 322 323 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 321 def @testing_options end |
#web_settings ⇒ Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings
Settings specific to keys that can be used by websites.
Corresponds to the JSON property webSettings
326 327 328 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 326 def web_settings @web_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
333 334 335 336 337 338 339 340 341 342 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 333 def update!(**args) @android_settings = args[:android_settings] if args.key?(:android_settings) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @ios_settings = args[:ios_settings] if args.key?(:ios_settings) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @testing_options = args[:testing_options] if args.key?(:testing_options) @web_settings = args[:web_settings] if args.key?(:web_settings) end |