google-apis-apigee_v1 0.97.0 → 0.99.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3dc4c42c032e2ba03fea76d9524f8c1ecc53f643f07292a67c5c3b4c17412294
4
- data.tar.gz: 57512e22de379f6346402fb4838e729a9a10cb2c4da974a4b4929cd89175ef6b
3
+ metadata.gz: 3cb1a0a1c2305a2357a277904a24f5d7a1a0d3bef644122240ba93e591871f78
4
+ data.tar.gz: cf99ed813d40be8213727368fa23021453983031d54ce5bf9ef1bcfdad41df65
5
5
  SHA512:
6
- metadata.gz: dd245fdd63ee93c0655a46d359978afaaa63b17f5688e90e322aee85c03de11f1739387538132aa9997e8e6fd380af2d71a2403519c35b3c71b9c5df31479f5a
7
- data.tar.gz: 20e2da957fffb6fa51bbffecdd8de9f1bfffc1ab020a1a0c2bc02d1f006c7fd68c24f474ec80fff492191a07c2ba8a312703312d1e79f433b27b54abf7873020
6
+ metadata.gz: bf1900da5eec96a337e0fda33fd0a46a7fae7f2c85cdfa28e7948c56cc6e6720c64e82b0831a2892dddce206e9a7d8ed606cdae961bf9da3fd92323b355efde9
7
+ data.tar.gz: d05f3ec4e20b25d514504ed341fe02416ea55face0c56aee93b36c688202751f6e84db4d85cec066fe0c87ba64910a8d097ee3089371d37c687b93478fc55bdd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.98.0 (2024-12-15)
8
+
9
+ * Regenerated from discovery document revision 20241210
10
+
3
11
  ### v0.97.0 (2024-11-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20241116
@@ -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
@@ -7211,7 +7264,14 @@ module Google
7211
7264
  # //cloud.google.com/service-infrastructure/docs/service-networking/getting-
7212
7265
  # started). Valid only when [RuntimeType](#RuntimeType) is set to `CLOUD`. The
7213
7266
  # value must be set before the creation of a runtime instance and can be updated
7214
- # only when there are no runtime instances. For example: `default`. Apigee also
7267
+ # only when there are no runtime instances. For example: `default`. When
7268
+ # changing authorizedNetwork, you must reconfigure VPC peering. After VPC
7269
+ # peering with previous network is deleted, [run the following command](https://
7270
+ # cloud.google.com/sdk/gcloud/reference/services/vpc-peerings/delete): `gcloud
7271
+ # services vpc-peerings delete --network=NETWORK`, where `NETWORK` is the name
7272
+ # of the previous network. This will delete the previous Service Networking.
7273
+ # Otherwise, you will get the following error: `The resource 'projects/...-tp'
7274
+ # is already linked to another shared VPC host 'projects/...-tp`. Apigee also
7215
7275
  # supports shared VPC (that is, the host network project is not the same as the
7216
7276
  # one that is peering with Apigee). See [Shared VPC overview](https://cloud.
7217
7277
  # google.com/vpc/docs/shared-vpc). To use a shared VPC network, use the
@@ -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.97.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 = "20241116"
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.97.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-04 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.97.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.22
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee API V1