Skip to content

Commit

Permalink
feat: Automated regeneration of apigee v1 client (#18896)
Browse files Browse the repository at this point in the history
Auto-created at 2024-04-28 10:28:47 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot committed Apr 28, 2024
1 parent 0aa59d9 commit 8156893
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2 deletions.
4 changes: 4 additions & 0 deletions api_names_out.yaml
Expand Up @@ -32249,6 +32249,8 @@
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/apiKeys/api_key": api_key
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/apiProducts": api_products
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/apiProducts/api_product": api_product
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/asns": asns
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/asns/asn": asn
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/botReasons": bot_reasons
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/botReasons/bot_reason": bot_reason
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/developerApps": developer_apps
Expand All @@ -32257,6 +32259,8 @@
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/developers/developer": developer
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/ipAddressRanges": ip_address_ranges
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/ipAddressRanges/ip_address_range": ip_address_range
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/regionCodes": region_codes
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/regionCodes/region_code": region_code
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/userAgents": user_agents
"/apigee:v1/GoogleCloudApigeeV1SecurityActionConditionConfig/userAgents/user_agent": user_agent
"/apigee:v1/GoogleCloudApigeeV1SecurityActionDeny": google_cloud_apigee_v1_security_action_deny
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-apigee_v1/CHANGELOG.md
@@ -1,5 +1,9 @@
# Release history for google-apis-apigee_v1

### v0.90.0 (2024-04-28)

* Regenerated from discovery document revision 20240419

### v0.89.0 (2024-04-21)

* Regenerated from discovery document revision 20240415
Expand Down
Expand Up @@ -9476,6 +9476,13 @@ class GoogleCloudApigeeV1SecurityActionConditionConfig
# @return [Array<String>]
attr_accessor :api_products

# Optional. A list of ASN numbers to act on, e.g. 23. https://en.wikipedia.org/
# wiki/Autonomous_system_(Internet) This uses int64 instead of uint32 because of
# https://linter.aip.dev/141/forbidden-types.
# Corresponds to the JSON property `asns`
# @return [Array<Fixnum>]
attr_accessor :asns

# Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor,
# Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced
# Anomaly Detection, Advanced API Scraper, Search Engine Crawlers, Public Clouds,
Expand All @@ -9500,6 +9507,12 @@ class GoogleCloudApigeeV1SecurityActionConditionConfig
# @return [Array<String>]
attr_accessor :ip_address_ranges

# Optional. A list of countries/region codes to act on, e.g. US. This follows
# https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.
# Corresponds to the JSON property `regionCodes`
# @return [Array<String>]
attr_accessor :region_codes

# Optional. A list of user agents to deny. We look for exact matches. Limit 50
# per action.
# Corresponds to the JSON property `userAgents`
Expand All @@ -9515,10 +9528,12 @@ def update!(**args)
@access_tokens = args[:access_tokens] if args.key?(:access_tokens)
@api_keys = args[:api_keys] if args.key?(:api_keys)
@api_products = args[:api_products] if args.key?(:api_products)
@asns = args[:asns] if args.key?(:asns)
@bot_reasons = args[:bot_reasons] if args.key?(:bot_reasons)
@developer_apps = args[:developer_apps] if args.key?(:developer_apps)
@developers = args[:developers] if args.key?(:developers)
@ip_address_ranges = args[:ip_address_ranges] if args.key?(:ip_address_ranges)
@region_codes = args[:region_codes] if args.key?(:region_codes)
@user_agents = args[:user_agents] if args.key?(:user_agents)
end
end
Expand Down
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ApigeeV1
# Version of the google-apis-apigee_v1 gem
GEM_VERSION = "0.89.0"
GEM_VERSION = "0.90.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.14.0"

# Revision of the discovery document this client was generated from
REVISION = "20240415"
REVISION = "20240419"
end
end
end
Expand Up @@ -4306,10 +4306,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
collection :access_tokens, as: 'accessTokens'
collection :api_keys, as: 'apiKeys'
collection :api_products, as: 'apiProducts'
collection :asns, as: 'asns'
collection :bot_reasons, as: 'botReasons'
collection :developer_apps, as: 'developerApps'
collection :developers, as: 'developers'
collection :ip_address_ranges, as: 'ipAddressRanges'
collection :region_codes, as: 'regionCodes'
collection :user_agents, as: 'userAgents'
end
end
Expand Down

0 comments on commit 8156893

Please sign in to comment.