Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest

Inherits:
Object
  • Object
show all
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 AddIpOverride request message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest

Returns a new instance of GoogleCloudRecaptchaenterpriseV1AddIpOverrideRequest.



92
93
94
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 92

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

Instance Attribute Details

#ip_override_dataGoogle::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1IpOverrideData

Information about the IP or IP range override. Corresponds to the JSON property ipOverrideData



90
91
92
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 90

def ip_override_data
  @ip_override_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



97
98
99
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 97

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