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.



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

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



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

def header_index_algorithm
  @header_index_algorithm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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