reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::Key (v1.6.0)

Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::Key.

A key used to identify and configure applications (web and/or mobile) that use reCAPTCHA Enterprise.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#android_settings

def android_settings() -> ::Google::Cloud::RecaptchaEnterprise::V1::AndroidKeySettings
Returns
  • (::Google::Cloud::RecaptchaEnterprise::V1::AndroidKeySettings) — Settings for keys that can be used by Android apps.

    Note: The following fields are mutually exclusive: android_settings, web_settings, ios_settings, express_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

#android_settings=

def android_settings=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::AndroidKeySettings
Parameter
  • value (::Google::Cloud::RecaptchaEnterprise::V1::AndroidKeySettings) — Settings for keys that can be used by Android apps.

    Note: The following fields are mutually exclusive: android_settings, web_settings, ios_settings, express_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::RecaptchaEnterprise::V1::AndroidKeySettings) — Settings for keys that can be used by Android apps.

    Note: The following fields are mutually exclusive: android_settings, web_settings, ios_settings, express_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. Human-readable display name of this key. Modifiable by user.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. Human-readable display name of this key. Modifiable by user.
Returns
  • (::String) — Required. Human-readable display name of this key. Modifiable by user.

#express_settings

def express_settings() -> ::Google::Cloud::RecaptchaEnterprise::V1::ExpressKeySettings
Returns
  • (::Google::Cloud::RecaptchaEnterprise::V1::ExpressKeySettings) — Settings for keys that can be used by reCAPTCHA Express.

    Note: The following fields are mutually exclusive: express_settings, web_settings, android_settings, ios_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

#express_settings=

def express_settings=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::ExpressKeySettings
Parameter
  • value (::Google::Cloud::RecaptchaEnterprise::V1::ExpressKeySettings) — Settings for keys that can be used by reCAPTCHA Express.

    Note: The following fields are mutually exclusive: express_settings, web_settings, android_settings, ios_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::RecaptchaEnterprise::V1::ExpressKeySettings) — Settings for keys that can be used by reCAPTCHA Express.

    Note: The following fields are mutually exclusive: express_settings, web_settings, android_settings, ios_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ios_settings

def ios_settings() -> ::Google::Cloud::RecaptchaEnterprise::V1::IOSKeySettings
Returns
  • (::Google::Cloud::RecaptchaEnterprise::V1::IOSKeySettings) — Settings for keys that can be used by iOS apps.

    Note: The following fields are mutually exclusive: ios_settings, web_settings, android_settings, express_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ios_settings=

def ios_settings=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::IOSKeySettings
Parameter
  • value (::Google::Cloud::RecaptchaEnterprise::V1::IOSKeySettings) — Settings for keys that can be used by iOS apps.

    Note: The following fields are mutually exclusive: ios_settings, web_settings, android_settings, express_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::RecaptchaEnterprise::V1::IOSKeySettings) — Settings for keys that can be used by iOS apps.

    Note: The following fields are mutually exclusive: ios_settings, web_settings, android_settings, express_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name for the Key in the format projects/{project}/keys/{key}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name for the Key in the format projects/{project}/keys/{key}.
Returns
  • (::String) — Identifier. The resource name for the Key in the format projects/{project}/keys/{key}.

#testing_options

def testing_options() -> ::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions
Returns

#testing_options=

def testing_options=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions
Parameter
Returns

#waf_settings

def waf_settings() -> ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings
Returns

#waf_settings=

def waf_settings=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings
Parameter
Returns

#web_settings

def web_settings() -> ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings
Returns
  • (::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings) — Settings for keys that can be used by websites.

    Note: The following fields are mutually exclusive: web_settings, android_settings, ios_settings, express_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

#web_settings=

def web_settings=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings
Parameter
  • value (::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings) — Settings for keys that can be used by websites.

    Note: The following fields are mutually exclusive: web_settings, android_settings, ios_settings, express_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings) — Settings for keys that can be used by websites.

    Note: The following fields are mutually exclusive: web_settings, android_settings, ios_settings, express_settings. If a field in that set is populated, all other fields in the set will automatically be cleared.