Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfigClientIpResolutionConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Overview

Configuration for resolving the client ip.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1EnvironmentConfigClientIpResolutionConfig

Returns a new instance of GoogleCloudApigeeV1EnvironmentConfigClientIpResolutionConfig.



5180
5181
5182
# File 'lib/google/apis/apigee_v1/classes.rb', line 5180

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

Instance Attribute Details

#header_index_algorithmGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentConfigClientIpResolutionConfigHeaderIndexAlgorithm

Resolves the client ip based on a custom header. Corresponds to the JSON property headerIndexAlgorithm



5178
5179
5180
# File 'lib/google/apis/apigee_v1/classes.rb', line 5178

def header_index_algorithm
  @header_index_algorithm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5185
5186
5187
# File 'lib/google/apis/apigee_v1/classes.rb', line 5185

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