google-apis-apigee_v1 0.98.0 → 0.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28c60891094c8528e52fa57cb63691e8f5cceb79057415b8938d046a29d0352b
4
- data.tar.gz: 5478091d0bb9c6e6384ab90c8b84372dda45797ea4ed34b36b1b1d4c571e7032
3
+ metadata.gz: 3cb1a0a1c2305a2357a277904a24f5d7a1a0d3bef644122240ba93e591871f78
4
+ data.tar.gz: cf99ed813d40be8213727368fa23021453983031d54ce5bf9ef1bcfdad41df65
5
5
  SHA512:
6
- metadata.gz: 1e28e098b7fa1cf0f0585bf7903a15de7dde3da3c8076ef835b914ef70f051a8966370fa99c53080682ef6da59dd9486d17a4144f23473376aeea55f6cd9797d
7
- data.tar.gz: 90f2b01439feab63694cc4a23432d46da2e0c5b0532a4d19f0601337f3fdd33c4da0df1bf09d95f196149cf3dfe099c30ba815e4a5089c6ac4931da2f1ca425e
6
+ metadata.gz: bf1900da5eec96a337e0fda33fd0a46a7fae7f2c85cdfa28e7948c56cc6e6720c64e82b0831a2892dddce206e9a7d8ed606cdae961bf9da3fd92323b355efde9
7
+ data.tar.gz: d05f3ec4e20b25d514504ed341fe02416ea55face0c56aee93b36c688202751f6e84db4d85cec066fe0c87ba64910a8d097ee3089371d37c687b93478fc55bdd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.99.0 (2024-12-22)
4
+
5
+ * Regenerated from discovery document revision 20241213
6
+
3
7
  ### v0.98.0 (2024-12-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20241210
@@ -4264,6 +4264,11 @@ module Google
4264
4264
  # @return [String]
4265
4265
  attr_accessor :api_proxy_type
4266
4266
 
4267
+ # Configuration for resolving the client ip.
4268
+ # Corresponds to the JSON property `clientIpResolutionConfig`
4269
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentClientIpResolutionConfig]
4270
+ attr_accessor :client_ip_resolution_config
4271
+
4267
4272
  # Output only. Creation time of this environment as milliseconds since epoch.
4268
4273
  # Corresponds to the JSON property `createdAt`
4269
4274
  # @return [Fixnum]
@@ -4350,6 +4355,7 @@ module Google
4350
4355
  # Update properties of this object
4351
4356
  def update!(**args)
4352
4357
  @api_proxy_type = args[:api_proxy_type] if args.key?(:api_proxy_type)
4358
+ @client_ip_resolution_config = args[:client_ip_resolution_config] if args.key?(:client_ip_resolution_config)
4353
4359
  @created_at = args[:created_at] if args.key?(:created_at)
4354
4360
  @deployment_type = args[:deployment_type] if args.key?(:deployment_type)
4355
4361
  @description = args[:description] if args.key?(:description)
@@ -4365,6 +4371,53 @@ module Google
4365
4371
  end
4366
4372
  end
4367
4373
 
4374
+ # Configuration for resolving the client ip.
4375
+ class GoogleCloudApigeeV1EnvironmentClientIpResolutionConfig
4376
+ include Google::Apis::Core::Hashable
4377
+
4378
+ # Resolves the client ip based on a custom header.
4379
+ # Corresponds to the JSON property `headerIndexAlgorithm`
4380
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm]
4381
+ attr_accessor :header_index_algorithm
4382
+
4383
+ def initialize(**args)
4384
+ update!(**args)
4385
+ end
4386
+
4387
+ # Update properties of this object
4388
+ def update!(**args)
4389
+ @header_index_algorithm = args[:header_index_algorithm] if args.key?(:header_index_algorithm)
4390
+ end
4391
+ end
4392
+
4393
+ # Resolves the client ip based on a custom header.
4394
+ class GoogleCloudApigeeV1EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm
4395
+ include Google::Apis::Core::Hashable
4396
+
4397
+ # Required. The index of the ip in the header. Positive indices 0, 1, 2, 3
4398
+ # chooses indices from the left (first ips) Negative indices -1, -2, -3 chooses
4399
+ # indices from the right (last ips)
4400
+ # Corresponds to the JSON property `ipHeaderIndex`
4401
+ # @return [Fixnum]
4402
+ attr_accessor :ip_header_index
4403
+
4404
+ # Required. The name of the header to extract the client ip from. We are
4405
+ # currently only supporting the X-Forwarded-For header.
4406
+ # Corresponds to the JSON property `ipHeaderName`
4407
+ # @return [String]
4408
+ attr_accessor :ip_header_name
4409
+
4410
+ def initialize(**args)
4411
+ update!(**args)
4412
+ end
4413
+
4414
+ # Update properties of this object
4415
+ def update!(**args)
4416
+ @ip_header_index = args[:ip_header_index] if args.key?(:ip_header_index)
4417
+ @ip_header_name = args[:ip_header_name] if args.key?(:ip_header_name)
4418
+ end
4419
+ end
4420
+
4368
4421
  #
4369
4422
  class GoogleCloudApigeeV1EnvironmentConfig
4370
4423
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeV1
18
18
  # Version of the google-apis-apigee_v1 gem
19
- GEM_VERSION = "0.98.0"
19
+ GEM_VERSION = "0.99.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241210"
25
+ REVISION = "20241213"
26
26
  end
27
27
  end
28
28
  end
@@ -574,6 +574,18 @@ module Google
574
574
  include Google::Apis::Core::JsonObjectSupport
575
575
  end
576
576
 
577
+ class GoogleCloudApigeeV1EnvironmentClientIpResolutionConfig
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class GoogleCloudApigeeV1EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
577
589
  class GoogleCloudApigeeV1EnvironmentConfig
578
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
591
 
@@ -2887,6 +2899,8 @@ module Google
2887
2899
  # @private
2888
2900
  class Representation < Google::Apis::Core::JsonRepresentation
2889
2901
  property :api_proxy_type, as: 'apiProxyType'
2902
+ property :client_ip_resolution_config, as: 'clientIpResolutionConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentClientIpResolutionConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentClientIpResolutionConfig::Representation
2903
+
2890
2904
  property :created_at, :numeric_string => true, as: 'createdAt'
2891
2905
  property :deployment_type, as: 'deploymentType'
2892
2906
  property :description, as: 'description'
@@ -2904,6 +2918,22 @@ module Google
2904
2918
  end
2905
2919
  end
2906
2920
 
2921
+ class GoogleCloudApigeeV1EnvironmentClientIpResolutionConfig
2922
+ # @private
2923
+ class Representation < Google::Apis::Core::JsonRepresentation
2924
+ property :header_index_algorithm, as: 'headerIndexAlgorithm', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm::Representation
2925
+
2926
+ end
2927
+ end
2928
+
2929
+ class GoogleCloudApigeeV1EnvironmentClientIpResolutionConfigHeaderIndexAlgorithm
2930
+ # @private
2931
+ class Representation < Google::Apis::Core::JsonRepresentation
2932
+ property :ip_header_index, as: 'ipHeaderIndex'
2933
+ property :ip_header_name, as: 'ipHeaderName'
2934
+ end
2935
+ end
2936
+
2907
2937
  class GoogleCloudApigeeV1EnvironmentConfig
2908
2938
  # @private
2909
2939
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.98.0
4
+ version: 0.99.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
11
+ date: 2025-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.98.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.99.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
63
63
  post_install_message:
64
64
  rdoc_options: []