google-apis-apigee_v1 0.83.0 → 0.84.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: 6e490fc16d9d0dd9c7609c9369578bc00d90b41bb84c0c1f718181a3c86ebbe6
4
- data.tar.gz: '08518099e50af0e1b4ac0897e297b15708b9c41bc6f59cffae9b769e626aee9e'
3
+ metadata.gz: a8b60b48dc8f987c6409b743c8f2867ade0dc923ea84ccbf22fed285aa673b73
4
+ data.tar.gz: 04e252d78f208f3a55743cb9523dfa1a2026d102661ba4c39d3b77f30dbe0a44
5
5
  SHA512:
6
- metadata.gz: 4f64ebc6ca62e82a47732c3dd35b4c2408dfd7aed8753fbacc74d6a0922db92ab07298137ea414da7ba8555b72a0a5d922ddd5e8083d37f30f1b4484445d812b
7
- data.tar.gz: 63df7fe7bcfe0db4692d78dfcf0795cb04e9fc2e7474e7c3a3a275f6fa4016397f58a29ebb36e1def5559b0e9d47593630457a9c580d886221e793b30454c940
6
+ metadata.gz: 0ccea4d388773e9ed554d5bea149d5257d30001a2d1cf4407cc7093891914c24fa34dae5cbbe08b42cebf3e567db8a40852d2313a15a9065a0bd17b29f4df639
7
+ data.tar.gz: 1a1918bf8dca8aa4bdd5a4c4c638cb0e5c933b832eb83cd5b363624a4860844914fc5f2364fc42da355a87b29ce4b795fec0b9e45d6b24803a3fb48d1614e359
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.84.0 (2024-02-24)
4
+
5
+ * Regenerated from discovery document revision 20240220
6
+ * Regenerated using generator version 0.14.0
7
+
3
8
  ### v0.83.0 (2024-01-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20240122
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/apigee-api-management/) may
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -8767,9 +8767,11 @@ module Google
8767
8767
  # The following are a list of conditions. A valid SecurityAction must contain at
8768
8768
  # least one condition. Within a condition, each element is ORed. Across
8769
8769
  # conditions elements are ANDed. For example if a SecurityAction has the
8770
- # following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
8771
- # this is interpreted as: enforce the action if the incoming request has ((
8772
- # api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2")).
8770
+ # following: ip_address_ranges: ["ip1", "ip2"] and bot_reasons: ["Flooder", "
8771
+ # Robot Abuser"] then this is interpreted as: enforce the action if the incoming
8772
+ # request has ((ip_address_ranges = "ip1" OR ip_address_ranges = "ip2") AND (
8773
+ # bot_reasons="Flooder" OR bot_reasons="Robot Abuser")). Conditions other than
8774
+ # ip_address_ranges and bot_reasons cannot be ANDed.
8773
8775
  # Corresponds to the JSON property `conditionConfig`
8774
8776
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionConditionConfig]
8775
8777
  attr_accessor :condition_config
@@ -8861,12 +8863,29 @@ module Google
8861
8863
  # The following are a list of conditions. A valid SecurityAction must contain at
8862
8864
  # least one condition. Within a condition, each element is ORed. Across
8863
8865
  # conditions elements are ANDed. For example if a SecurityAction has the
8864
- # following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
8865
- # this is interpreted as: enforce the action if the incoming request has ((
8866
- # api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2")).
8866
+ # following: ip_address_ranges: ["ip1", "ip2"] and bot_reasons: ["Flooder", "
8867
+ # Robot Abuser"] then this is interpreted as: enforce the action if the incoming
8868
+ # request has ((ip_address_ranges = "ip1" OR ip_address_ranges = "ip2") AND (
8869
+ # bot_reasons="Flooder" OR bot_reasons="Robot Abuser")). Conditions other than
8870
+ # ip_address_ranges and bot_reasons cannot be ANDed.
8867
8871
  class GoogleCloudApigeeV1SecurityActionConditionConfig
8868
8872
  include Google::Apis::Core::Hashable
8869
8873
 
8874
+ # Optional. A list of access_tokens. Limit 1000 per action.
8875
+ # Corresponds to the JSON property `accessTokens`
8876
+ # @return [Array<String>]
8877
+ attr_accessor :access_tokens
8878
+
8879
+ # Optional. A list of API keys. Limit 1000 per action.
8880
+ # Corresponds to the JSON property `apiKeys`
8881
+ # @return [Array<String>]
8882
+ attr_accessor :api_keys
8883
+
8884
+ # Optional. A list of API Products. Limit 1000 per action.
8885
+ # Corresponds to the JSON property `apiProducts`
8886
+ # @return [Array<String>]
8887
+ attr_accessor :api_products
8888
+
8870
8889
  # Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor,
8871
8890
  # Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced
8872
8891
  # Anomaly Detection, Advanced API Scraper, Search Engine Crawlers, Public Clouds,
@@ -8875,20 +8894,42 @@ module Google
8875
8894
  # @return [Array<String>]
8876
8895
  attr_accessor :bot_reasons
8877
8896
 
8897
+ # Optional. A list of developer apps. Limit 1000 per action.
8898
+ # Corresponds to the JSON property `developerApps`
8899
+ # @return [Array<String>]
8900
+ attr_accessor :developer_apps
8901
+
8902
+ # Optional. A list of developers. Limit 1000 per action.
8903
+ # Corresponds to the JSON property `developers`
8904
+ # @return [Array<String>]
8905
+ attr_accessor :developers
8906
+
8878
8907
  # Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited
8879
8908
  # to 100 per action.
8880
8909
  # Corresponds to the JSON property `ipAddressRanges`
8881
8910
  # @return [Array<String>]
8882
8911
  attr_accessor :ip_address_ranges
8883
8912
 
8913
+ # Optional. A list of user agents to deny. We look for exact matches. Limit 50
8914
+ # per action.
8915
+ # Corresponds to the JSON property `userAgents`
8916
+ # @return [Array<String>]
8917
+ attr_accessor :user_agents
8918
+
8884
8919
  def initialize(**args)
8885
8920
  update!(**args)
8886
8921
  end
8887
8922
 
8888
8923
  # Update properties of this object
8889
8924
  def update!(**args)
8925
+ @access_tokens = args[:access_tokens] if args.key?(:access_tokens)
8926
+ @api_keys = args[:api_keys] if args.key?(:api_keys)
8927
+ @api_products = args[:api_products] if args.key?(:api_products)
8890
8928
  @bot_reasons = args[:bot_reasons] if args.key?(:bot_reasons)
8929
+ @developer_apps = args[:developer_apps] if args.key?(:developer_apps)
8930
+ @developers = args[:developers] if args.key?(:developers)
8891
8931
  @ip_address_ranges = args[:ip_address_ranges] if args.key?(:ip_address_ranges)
8932
+ @user_agents = args[:user_agents] if args.key?(:user_agents)
8892
8933
  end
8893
8934
  end
8894
8935
 
@@ -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.83.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240122"
25
+ REVISION = "20240220"
26
26
  end
27
27
  end
28
28
  end
@@ -4031,8 +4031,14 @@ module Google
4031
4031
  class GoogleCloudApigeeV1SecurityActionConditionConfig
4032
4032
  # @private
4033
4033
  class Representation < Google::Apis::Core::JsonRepresentation
4034
+ collection :access_tokens, as: 'accessTokens'
4035
+ collection :api_keys, as: 'apiKeys'
4036
+ collection :api_products, as: 'apiProducts'
4034
4037
  collection :bot_reasons, as: 'botReasons'
4038
+ collection :developer_apps, as: 'developerApps'
4039
+ collection :developers, as: 'developers'
4035
4040
  collection :ip_address_ranges, as: 'ipAddressRanges'
4041
+ collection :user_agents, as: 'userAgents'
4036
4042
  end
4037
4043
  end
4038
4044
 
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.83.0
4
+ version: 0.84.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-01-28 00:00:00.000000000 Z
11
+ date: 2024-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.83.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.84.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee API V1