Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentClientIpResolutionConfig

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) ⇒ GoogleCloudApigeeV1EnvironmentClientIpResolutionConfig

Returns a new instance of GoogleCloudApigeeV1EnvironmentClientIpResolutionConfig.



4383
4384
4385
# File 'lib/google/apis/apigee_v1/classes.rb', line 4383

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

Instance Attribute Details

#header_index_algorithmGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm

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



4381
4382
4383
# File 'lib/google/apis/apigee_v1/classes.rb', line 4381

def header_index_algorithm
  @header_index_algorithm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4388
4389
4390
# File 'lib/google/apis/apigee_v1/classes.rb', line 4388

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