Skip to content

Commit 8180766

Browse files
feat: Automated regeneration of compute v1 client (googleapis#23208)
Auto-created at 2025-05-21 21:15:22 +0000 using the toys pull request generator.
1 parent c80bff3 commit 8180766

File tree

5 files changed

+110
-3
lines changed

5 files changed

+110
-3
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111613,6 +111613,7 @@
111613111613
"/compute:v1/Firewall/logConfig": log_config
111614111614
"/compute:v1/Firewall/name": name
111615111615
"/compute:v1/Firewall/network": network
111616+
"/compute:v1/Firewall/params": params
111616111617
"/compute:v1/Firewall/priority": priority
111617111618
"/compute:v1/Firewall/selfLink": self_link
111618111619
"/compute:v1/Firewall/sourceRanges": source_ranges
@@ -111642,6 +111643,9 @@
111642111643
"/compute:v1/FirewallLogConfig": firewall_log_config
111643111644
"/compute:v1/FirewallLogConfig/enable": enable
111644111645
"/compute:v1/FirewallLogConfig/metadata": metadata
111646+
"/compute:v1/FirewallParams": firewall_params
111647+
"/compute:v1/FirewallParams/resourceManagerTags": resource_manager_tags
111648+
"/compute:v1/FirewallParams/resourceManagerTags/resource_manager_tag": resource_manager_tag
111645111649
"/compute:v1/FirewallPoliciesListAssociationsResponse": firewall_policies_list_associations_response
111646111650
"/compute:v1/FirewallPoliciesListAssociationsResponse/associations": associations
111647111651
"/compute:v1/FirewallPoliciesListAssociationsResponse/associations/association": association
@@ -115323,6 +115327,7 @@
115323115327
"/compute:v1/Route/nextHopOrigin": next_hop_origin
115324115328
"/compute:v1/Route/nextHopPeering": next_hop_peering
115325115329
"/compute:v1/Route/nextHopVpnTunnel": next_hop_vpn_tunnel
115330+
"/compute:v1/Route/params": params
115326115331
"/compute:v1/Route/priority": priority
115327115332
"/compute:v1/Route/routeStatus": route_status
115328115333
"/compute:v1/Route/routeType": route_type
@@ -115355,6 +115360,9 @@
115355115360
"/compute:v1/RouteList/warning/data/datum/key": key
115356115361
"/compute:v1/RouteList/warning/data/datum/value": value
115357115362
"/compute:v1/RouteList/warning/message": message
115363+
"/compute:v1/RouteParams": route_params
115364+
"/compute:v1/RouteParams/resourceManagerTags": resource_manager_tags
115365+
"/compute:v1/RouteParams/resourceManagerTags/resource_manager_tag": resource_manager_tag
115358115366
"/compute:v1/RoutePolicy": route_policy
115359115367
"/compute:v1/RoutePolicy/description": description
115360115368
"/compute:v1/RoutePolicy/fingerprint": fingerprint

generated/google-apis-compute_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-compute_v1
22

3+
### v0.121.0 (2025-05-21)
4+
5+
* Regenerated from discovery document revision 20250511
6+
37
### v0.120.0 (2025-05-11)
48

59
* Regenerated from discovery document revision 20250505

generated/google-apis-compute_v1/lib/google/apis/compute_v1/classes.rb

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3740,7 +3740,8 @@ class BackendService
37403740
# be set for Internal Passthrough Network Load Balancers when the haPolicy is
37413741
# enabled, and for External Passthrough Network Load Balancers when the haPolicy
37423742
# fastIpMove is enabled. This field can only be specified when the load
3743-
# balancing scheme is set to INTERNAL.
3743+
# balancing scheme is set to INTERNAL, or when the load balancing scheme is set
3744+
# to EXTERNAL and haPolicy fastIpMove is enabled.
37443745
# Corresponds to the JSON property `network`
37453746
# @return [String]
37463747
attr_accessor :network
@@ -9170,6 +9171,11 @@ class Firewall
91709171
# @return [String]
91719172
attr_accessor :network
91729173

9174+
# Additional firewall parameters.
9175+
# Corresponds to the JSON property `params`
9176+
# @return [Google::Apis::ComputeV1::FirewallParams]
9177+
attr_accessor :params
9178+
91739179
# Priority for this rule. This is an integer between `0` and `65535`, both
91749180
# inclusive. The default value is `1000`. Relative priorities determine which
91759181
# rule takes effect if multiple rules apply. Lower values indicate higher
@@ -9262,6 +9268,7 @@ def update!(**args)
92629268
@log_config = args[:log_config] if args.key?(:log_config)
92639269
@name = args[:name] if args.key?(:name)
92649270
@network = args[:network] if args.key?(:network)
9271+
@params = args[:params] if args.key?(:params)
92659272
@priority = args[:priority] if args.key?(:priority)
92669273
@self_link = args[:self_link] if args.key?(:self_link)
92679274
@source_ranges = args[:source_ranges] if args.key?(:source_ranges)
@@ -9480,6 +9487,32 @@ def update!(**args)
94809487
end
94819488
end
94829489

9490+
# Additional firewall parameters.
9491+
class FirewallParams
9492+
include Google::Apis::Core::Hashable
9493+
9494+
# Tag keys/values directly bound to this resource. Tag keys and values have the
9495+
# same definition as resource manager tags. The field is allowed for INSERT only.
9496+
# The keys/values to set on the resource should be specified in either ID ` : `
9497+
# or Namespaced format ` : `. For example the following are valid inputs: * `"
9498+
# tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"` * `"123/
9499+
# environment" : "production", "345/abc" : "xyz"` Note: * Invalid combinations
9500+
# of ID & namespaced format is not supported. For instance: `"123/environment" :
9501+
# "tagValues/444"` is invalid.
9502+
# Corresponds to the JSON property `resourceManagerTags`
9503+
# @return [Hash<String,String>]
9504+
attr_accessor :resource_manager_tags
9505+
9506+
def initialize(**args)
9507+
update!(**args)
9508+
end
9509+
9510+
# Update properties of this object
9511+
def update!(**args)
9512+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
9513+
end
9514+
end
9515+
94839516
#
94849517
class FirewallPoliciesListAssociationsResponse
94859518
include Google::Apis::Core::Hashable
@@ -37721,6 +37754,11 @@ class Route
3772137754
# @return [String]
3772237755
attr_accessor :next_hop_vpn_tunnel
3772337756

37757+
# Additional route parameters.
37758+
# Corresponds to the JSON property `params`
37759+
# @return [Google::Apis::ComputeV1::RouteParams]
37760+
attr_accessor :params
37761+
3772437762
# The priority of this route. Priority is used to break ties in cases where
3772537763
# there is more than one matching route of equal prefix length. In cases where
3772637764
# multiple routes have equal prefix length, the one with the lowest-numbered
@@ -37785,6 +37823,7 @@ def update!(**args)
3778537823
@next_hop_origin = args[:next_hop_origin] if args.key?(:next_hop_origin)
3778637824
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
3778737825
@next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
37826+
@params = args[:params] if args.key?(:params)
3778837827
@priority = args[:priority] if args.key?(:priority)
3778937828
@route_status = args[:route_status] if args.key?(:route_status)
3779037829
@route_type = args[:route_type] if args.key?(:route_type)
@@ -38006,6 +38045,32 @@ def update!(**args)
3800638045
end
3800738046
end
3800838047

38048+
# Additional route parameters.
38049+
class RouteParams
38050+
include Google::Apis::Core::Hashable
38051+
38052+
# Tag keys/values directly bound to this resource. Tag keys and values have the
38053+
# same definition as resource manager tags. The field is allowed for INSERT only.
38054+
# The keys/values to set on the resource should be specified in either ID ` : `
38055+
# or Namespaced format ` : `. For example the following are valid inputs: * `"
38056+
# tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"` * `"123/
38057+
# environment" : "production", "345/abc" : "xyz"` Note: * Invalid combinations
38058+
# of ID & namespaced format is not supported. For instance: `"123/environment" :
38059+
# "tagValues/444"` is invalid.
38060+
# Corresponds to the JSON property `resourceManagerTags`
38061+
# @return [Hash<String,String>]
38062+
attr_accessor :resource_manager_tags
38063+
38064+
def initialize(**args)
38065+
update!(**args)
38066+
end
38067+
38068+
# Update properties of this object
38069+
def update!(**args)
38070+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
38071+
end
38072+
end
38073+
3800938074
#
3801038075
class RoutePolicy
3801138076
include Google::Apis::Core::Hashable

generated/google-apis-compute_v1/lib/google/apis/compute_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ComputeV1
1818
# Version of the google-apis-compute_v1 gem
19-
GEM_VERSION = "0.120.0"
19+
GEM_VERSION = "0.121.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.17.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250505"
25+
REVISION = "20250511"
2626
end
2727
end
2828
end

generated/google-apis-compute_v1/lib/google/apis/compute_v1/representations.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
11441144
include Google::Apis::Core::JsonObjectSupport
11451145
end
11461146

1147+
class FirewallParams
1148+
class Representation < Google::Apis::Core::JsonRepresentation; end
1149+
1150+
include Google::Apis::Core::JsonObjectSupport
1151+
end
1152+
11471153
class FirewallPoliciesListAssociationsResponse
11481154
class Representation < Google::Apis::Core::JsonRepresentation; end
11491155

@@ -4978,6 +4984,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
49784984
include Google::Apis::Core::JsonObjectSupport
49794985
end
49804986

4987+
class RouteParams
4988+
class Representation < Google::Apis::Core::JsonRepresentation; end
4989+
4990+
include Google::Apis::Core::JsonObjectSupport
4991+
end
4992+
49814993
class RoutePolicy
49824994
class Representation < Google::Apis::Core::JsonRepresentation; end
49834995

@@ -9141,6 +9153,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
91419153

91429154
property :name, as: 'name'
91439155
property :network, as: 'network'
9156+
property :params, as: 'params', class: Google::Apis::ComputeV1::FirewallParams, decorator: Google::Apis::ComputeV1::FirewallParams::Representation
9157+
91449158
property :priority, as: 'priority'
91459159
property :self_link, as: 'selfLink'
91469160
collection :source_ranges, as: 'sourceRanges'
@@ -9207,6 +9221,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
92079221
end
92089222
end
92099223

9224+
class FirewallParams
9225+
# @private
9226+
class Representation < Google::Apis::Core::JsonRepresentation
9227+
hash :resource_manager_tags, as: 'resourceManagerTags'
9228+
end
9229+
end
9230+
92109231
class FirewallPoliciesListAssociationsResponse
92119232
# @private
92129233
class Representation < Google::Apis::Core::JsonRepresentation
@@ -16292,6 +16313,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
1629216313
property :next_hop_origin, as: 'nextHopOrigin'
1629316314
property :next_hop_peering, as: 'nextHopPeering'
1629416315
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
16316+
property :params, as: 'params', class: Google::Apis::ComputeV1::RouteParams, decorator: Google::Apis::ComputeV1::RouteParams::Representation
16317+
1629516318
property :priority, as: 'priority'
1629616319
property :route_status, as: 'routeStatus'
1629716320
property :route_type, as: 'routeType'
@@ -16360,6 +16383,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
1636016383
end
1636116384
end
1636216385

16386+
class RouteParams
16387+
# @private
16388+
class Representation < Google::Apis::Core::JsonRepresentation
16389+
hash :resource_manager_tags, as: 'resourceManagerTags'
16390+
end
16391+
end
16392+
1636316393
class RoutePolicy
1636416394
# @private
1636516395
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)