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.



4601
4602
4603
# File 'lib/google/apis/apigee_v1/classes.rb', line 4601

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



4599
4600
4601
# File 'lib/google/apis/apigee_v1/classes.rb', line 4599

def header_index_algorithm
  @header_index_algorithm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4606
4607
4608
# File 'lib/google/apis/apigee_v1/classes.rb', line 4606

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