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.



5230
5231
5232
# File 'lib/google/apis/apigee_v1/classes.rb', line 5230

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



5228
5229
5230
# File 'lib/google/apis/apigee_v1/classes.rb', line 5228

def header_index_algorithm
  @header_index_algorithm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5235
5236
5237
# File 'lib/google/apis/apigee_v1/classes.rb', line 5235

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