Skip to content

Commit ad742ec

Browse files
feat: Automated regeneration of compute v1 client (#24329)
Auto-created at 2025-09-21 09:38:09 +0000 using the toys pull request generator.
1 parent e703e7e commit ad742ec

File tree

6 files changed

+224
-5
lines changed

6 files changed

+224
-5
lines changed

api_names_out.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117688,6 +117688,8 @@
117688117688
"/compute:v1/InterconnectLocation/regionInfos": region_infos
117689117689
"/compute:v1/InterconnectLocation/regionInfos/region_info": region_info
117690117690
"/compute:v1/InterconnectLocation/selfLink": self_link
117691+
"/compute:v1/InterconnectLocation/singleRegionProductionCriticalPeerLocations": single_region_production_critical_peer_locations
117692+
"/compute:v1/InterconnectLocation/singleRegionProductionCriticalPeerLocations/single_region_production_critical_peer_location": single_region_production_critical_peer_location
117691117693
"/compute:v1/InterconnectLocation/status": status
117692117694
"/compute:v1/InterconnectLocation/supportsPzs": supports_pzs
117693117695
"/compute:v1/InterconnectLocationList": interconnect_location_list
@@ -117748,6 +117750,7 @@
117748117750
"/compute:v1/InterconnectRemoteLocation/lacp": lacp
117749117751
"/compute:v1/InterconnectRemoteLocation/maxLagSize100Gbps": max_lag_size100_gbps
117750117752
"/compute:v1/InterconnectRemoteLocation/maxLagSize10Gbps": max_lag_size10_gbps
117753+
"/compute:v1/InterconnectRemoteLocation/maxLagSize400Gbps": max_lag_size400_gbps
117751117754
"/compute:v1/InterconnectRemoteLocation/name": name
117752117755
"/compute:v1/InterconnectRemoteLocation/peeringdbFacilityId": peeringdb_facility_id
117753117756
"/compute:v1/InterconnectRemoteLocation/permittedConnections": permitted_connections
@@ -119350,6 +119353,7 @@
119350119353
"/compute:v1/RegionUrlMapsValidateRequest/resource": resource
119351119354
"/compute:v1/RequestMirrorPolicy": request_mirror_policy
119352119355
"/compute:v1/RequestMirrorPolicy/backendService": backend_service
119356+
"/compute:v1/RequestMirrorPolicy/mirrorPercent": mirror_percent
119353119357
"/compute:v1/Reservation": reservation
119354119358
"/compute:v1/Reservation/advancedDeploymentControl": advanced_deployment_control
119355119359
"/compute:v1/Reservation/aggregateReservation": aggregate_reservation
@@ -120850,6 +120854,7 @@
120850120854
"/compute:v1/Subnetwork/systemReservedExternalIpv6Ranges/system_reserved_external_ipv6_range": system_reserved_external_ipv6_range
120851120855
"/compute:v1/Subnetwork/systemReservedInternalIpv6Ranges": system_reserved_internal_ipv6_ranges
120852120856
"/compute:v1/Subnetwork/systemReservedInternalIpv6Ranges/system_reserved_internal_ipv6_range": system_reserved_internal_ipv6_range
120857+
"/compute:v1/Subnetwork/utilizationDetails": utilization_details
120853120858
"/compute:v1/SubnetworkAggregatedList": subnetwork_aggregated_list
120854120859
"/compute:v1/SubnetworkAggregatedList/id": id
120855120860
"/compute:v1/SubnetworkAggregatedList/items": items
@@ -120895,6 +120900,19 @@
120895120900
"/compute:v1/SubnetworkSecondaryRange/ipCidrRange": ip_cidr_range
120896120901
"/compute:v1/SubnetworkSecondaryRange/rangeName": range_name
120897120902
"/compute:v1/SubnetworkSecondaryRange/reservedInternalRange": reserved_internal_range
120903+
"/compute:v1/SubnetworkUtilizationDetails": subnetwork_utilization_details
120904+
"/compute:v1/SubnetworkUtilizationDetails/externalIpv6InstanceUtilization": external_ipv6_instance_utilization
120905+
"/compute:v1/SubnetworkUtilizationDetails/externalIpv6LbUtilization": external_ipv6_lb_utilization
120906+
"/compute:v1/SubnetworkUtilizationDetails/internalIpv6Utilization": internal_ipv6_utilization
120907+
"/compute:v1/SubnetworkUtilizationDetails/ipv4Utilizations": ipv4_utilizations
120908+
"/compute:v1/SubnetworkUtilizationDetails/ipv4Utilizations/ipv4_utilization": ipv4_utilization
120909+
"/compute:v1/SubnetworkUtilizationDetailsIPV4Utilization": subnetwork_utilization_details_ipv4_utilization
120910+
"/compute:v1/SubnetworkUtilizationDetailsIPV4Utilization/rangeName": range_name
120911+
"/compute:v1/SubnetworkUtilizationDetailsIPV4Utilization/totalAllocatedIp": total_allocated_ip
120912+
"/compute:v1/SubnetworkUtilizationDetailsIPV4Utilization/totalFreeIp": total_free_ip
120913+
"/compute:v1/SubnetworkUtilizationDetailsIPV6Utilization": subnetwork_utilization_details_ipv6_utilization
120914+
"/compute:v1/SubnetworkUtilizationDetailsIPV6Utilization/totalAllocatedIp": total_allocated_ip
120915+
"/compute:v1/SubnetworkUtilizationDetailsIPV6Utilization/totalFreeIp": total_free_ip
120898120916
"/compute:v1/SubnetworksExpandIpCidrRangeRequest": subnetworks_expand_ip_cidr_range_request
120899120917
"/compute:v1/SubnetworksExpandIpCidrRangeRequest/ipCidrRange": ip_cidr_range
120900120918
"/compute:v1/SubnetworksScopedList": subnetworks_scoped_list
@@ -125541,6 +125559,7 @@
125541125559
"/compute:v1/compute.subnetworks.get/project": project
125542125560
"/compute:v1/compute.subnetworks.get/region": region
125543125561
"/compute:v1/compute.subnetworks.get/subnetwork": subnetwork
125562+
"/compute:v1/compute.subnetworks.get/views": views
125544125563
"/compute:v1/compute.subnetworks.getIamPolicy": get_subnetwork_iam_policy
125545125564
"/compute:v1/compute.subnetworks.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
125546125565
"/compute:v1/compute.subnetworks.getIamPolicy/project": project
@@ -125558,6 +125577,7 @@
125558125577
"/compute:v1/compute.subnetworks.list/project": project
125559125578
"/compute:v1/compute.subnetworks.list/region": region
125560125579
"/compute:v1/compute.subnetworks.list/returnPartialSuccess": return_partial_success
125580+
"/compute:v1/compute.subnetworks.list/views": views
125561125581
"/compute:v1/compute.subnetworks.listUsable": list_subnetwork_usable
125562125582
"/compute:v1/compute.subnetworks.listUsable/filter": filter
125563125583
"/compute:v1/compute.subnetworks.listUsable/maxResults": max_results

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.131.0 (2025-09-21)
4+
5+
* Regenerated from discovery document revision 20250909
6+
37
### v0.130.0 (2025-09-14)
48

59
* Regenerated from discovery document revision 20250902

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

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23369,6 +23369,13 @@ class InterconnectLocation
2336923369
# @return [String]
2337023370
attr_accessor :self_link
2337123371

23372+
# [Output Only] URLs of the other locations that can pair up with this location
23373+
# to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are
23374+
# Single-Region 99.99% peer locations of each other.
23375+
# Corresponds to the JSON property `singleRegionProductionCriticalPeerLocations`
23376+
# @return [Array<String>]
23377+
attr_accessor :single_region_production_critical_peer_locations
23378+
2337223379
# [Output Only] The status of this InterconnectLocation, which can take one of
2337323380
# the following values: - CLOSED: The InterconnectLocation is closed and is
2337423381
# unavailable for provisioning new Interconnects. - AVAILABLE: The
@@ -23405,6 +23412,7 @@ def update!(**args)
2340523412
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
2340623413
@region_infos = args[:region_infos] if args.key?(:region_infos)
2340723414
@self_link = args[:self_link] if args.key?(:self_link)
23415+
@single_region_production_critical_peer_locations = args[:single_region_production_critical_peer_locations] if args.key?(:single_region_production_critical_peer_locations)
2340823416
@status = args[:status] if args.key?(:status)
2340923417
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
2341023418
end
@@ -23858,6 +23866,13 @@ class InterconnectRemoteLocation
2385823866
# @return [Fixnum]
2385923867
attr_accessor :max_lag_size10_gbps
2386023868

23869+
# [Output Only] The maximum number of 400 Gbps ports supported in a link
23870+
# aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot
23871+
# exceed max_lag_size_400_gbps.
23872+
# Corresponds to the JSON property `maxLagSize400Gbps`
23873+
# @return [Fixnum]
23874+
attr_accessor :max_lag_size400_gbps
23875+
2386123876
# [Output Only] Name of the resource.
2386223877
# Corresponds to the JSON property `name`
2386323878
# @return [String]
@@ -23914,6 +23929,7 @@ def update!(**args)
2391423929
@lacp = args[:lacp] if args.key?(:lacp)
2391523930
@max_lag_size100_gbps = args[:max_lag_size100_gbps] if args.key?(:max_lag_size100_gbps)
2391623931
@max_lag_size10_gbps = args[:max_lag_size10_gbps] if args.key?(:max_lag_size10_gbps)
23932+
@max_lag_size400_gbps = args[:max_lag_size400_gbps] if args.key?(:max_lag_size400_gbps)
2391723933
@name = args[:name] if args.key?(:name)
2391823934
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
2391923935
@permitted_connections = args[:permitted_connections] if args.key?(:permitted_connections)
@@ -36374,13 +36390,19 @@ class RequestMirrorPolicy
3637436390
# @return [String]
3637536391
attr_accessor :backend_service
3637636392

36393+
# The percentage of requests to be mirrored to `backend_service`.
36394+
# Corresponds to the JSON property `mirrorPercent`
36395+
# @return [Float]
36396+
attr_accessor :mirror_percent
36397+
3637736398
def initialize(**args)
3637836399
update!(**args)
3637936400
end
3638036401

3638136402
# Update properties of this object
3638236403
def update!(**args)
3638336404
@backend_service = args[:backend_service] if args.key?(:backend_service)
36405+
@mirror_percent = args[:mirror_percent] if args.key?(:mirror_percent)
3638436406
end
3638536407
end
3638636408

@@ -47780,6 +47802,12 @@ class Subnetwork
4778047802
# @return [Array<String>]
4778147803
attr_accessor :system_reserved_internal_ipv6_ranges
4778247804

47805+
# The current IP utilization of all subnetwork ranges. Contains the total number
47806+
# of allocated and free IPs in each range.
47807+
# Corresponds to the JSON property `utilizationDetails`
47808+
# @return [Google::Apis::ComputeV1::SubnetworkUtilizationDetails]
47809+
attr_accessor :utilization_details
47810+
4778347811
def initialize(**args)
4778447812
update!(**args)
4778547813
end
@@ -47816,6 +47844,7 @@ def update!(**args)
4781647844
@state = args[:state] if args.key?(:state)
4781747845
@system_reserved_external_ipv6_ranges = args[:system_reserved_external_ipv6_ranges] if args.key?(:system_reserved_external_ipv6_ranges)
4781847846
@system_reserved_internal_ipv6_ranges = args[:system_reserved_internal_ipv6_ranges] if args.key?(:system_reserved_internal_ipv6_ranges)
47847+
@utilization_details = args[:utilization_details] if args.key?(:utilization_details)
4781947848
end
4782047849
end
4782147850

@@ -48190,6 +48219,101 @@ def update!(**args)
4819048219
end
4819148220
end
4819248221

48222+
# The current IP utilization of all subnetwork ranges. Contains the total number
48223+
# of allocated and free IPs in each range.
48224+
class SubnetworkUtilizationDetails
48225+
include Google::Apis::Core::Hashable
48226+
48227+
# The IPV6 utilization of a single IP range.
48228+
# Corresponds to the JSON property `externalIpv6InstanceUtilization`
48229+
# @return [Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization]
48230+
attr_accessor :external_ipv6_instance_utilization
48231+
48232+
# The IPV6 utilization of a single IP range.
48233+
# Corresponds to the JSON property `externalIpv6LbUtilization`
48234+
# @return [Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization]
48235+
attr_accessor :external_ipv6_lb_utilization
48236+
48237+
# The IPV6 utilization of a single IP range.
48238+
# Corresponds to the JSON property `internalIpv6Utilization`
48239+
# @return [Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization]
48240+
attr_accessor :internal_ipv6_utilization
48241+
48242+
# Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be
48243+
# empty.
48244+
# Corresponds to the JSON property `ipv4Utilizations`
48245+
# @return [Array<Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv4Utilization>]
48246+
attr_accessor :ipv4_utilizations
48247+
48248+
def initialize(**args)
48249+
update!(**args)
48250+
end
48251+
48252+
# Update properties of this object
48253+
def update!(**args)
48254+
@external_ipv6_instance_utilization = args[:external_ipv6_instance_utilization] if args.key?(:external_ipv6_instance_utilization)
48255+
@external_ipv6_lb_utilization = args[:external_ipv6_lb_utilization] if args.key?(:external_ipv6_lb_utilization)
48256+
@internal_ipv6_utilization = args[:internal_ipv6_utilization] if args.key?(:internal_ipv6_utilization)
48257+
@ipv4_utilizations = args[:ipv4_utilizations] if args.key?(:ipv4_utilizations)
48258+
end
48259+
end
48260+
48261+
# The IPV4 utilization of a single IP range.
48262+
class SubnetworkUtilizationDetailsIpv4Utilization
48263+
include Google::Apis::Core::Hashable
48264+
48265+
# Will be set for secondary range. Empty for primary IPv4 range.
48266+
# Corresponds to the JSON property `rangeName`
48267+
# @return [String]
48268+
attr_accessor :range_name
48269+
48270+
#
48271+
# Corresponds to the JSON property `totalAllocatedIp`
48272+
# @return [Fixnum]
48273+
attr_accessor :total_allocated_ip
48274+
48275+
#
48276+
# Corresponds to the JSON property `totalFreeIp`
48277+
# @return [Fixnum]
48278+
attr_accessor :total_free_ip
48279+
48280+
def initialize(**args)
48281+
update!(**args)
48282+
end
48283+
48284+
# Update properties of this object
48285+
def update!(**args)
48286+
@range_name = args[:range_name] if args.key?(:range_name)
48287+
@total_allocated_ip = args[:total_allocated_ip] if args.key?(:total_allocated_ip)
48288+
@total_free_ip = args[:total_free_ip] if args.key?(:total_free_ip)
48289+
end
48290+
end
48291+
48292+
# The IPV6 utilization of a single IP range.
48293+
class SubnetworkUtilizationDetailsIpv6Utilization
48294+
include Google::Apis::Core::Hashable
48295+
48296+
#
48297+
# Corresponds to the JSON property `totalAllocatedIp`
48298+
# @return [Google::Apis::ComputeV1::Uint128]
48299+
attr_accessor :total_allocated_ip
48300+
48301+
#
48302+
# Corresponds to the JSON property `totalFreeIp`
48303+
# @return [Google::Apis::ComputeV1::Uint128]
48304+
attr_accessor :total_free_ip
48305+
48306+
def initialize(**args)
48307+
update!(**args)
48308+
end
48309+
48310+
# Update properties of this object
48311+
def update!(**args)
48312+
@total_allocated_ip = args[:total_allocated_ip] if args.key?(:total_allocated_ip)
48313+
@total_free_ip = args[:total_free_ip] if args.key?(:total_free_ip)
48314+
end
48315+
end
48316+
4819348317
#
4819448318
class SubnetworksExpandIpCidrRangeRequest
4819548319
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.130.0"
19+
GEM_VERSION = "0.131.0"
2020

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

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

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

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6286,6 +6286,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
62866286
include Google::Apis::Core::JsonObjectSupport
62876287
end
62886288

6289+
class SubnetworkUtilizationDetails
6290+
class Representation < Google::Apis::Core::JsonRepresentation; end
6291+
6292+
include Google::Apis::Core::JsonObjectSupport
6293+
end
6294+
6295+
class SubnetworkUtilizationDetailsIpv4Utilization
6296+
class Representation < Google::Apis::Core::JsonRepresentation; end
6297+
6298+
include Google::Apis::Core::JsonObjectSupport
6299+
end
6300+
6301+
class SubnetworkUtilizationDetailsIpv6Utilization
6302+
class Representation < Google::Apis::Core::JsonRepresentation; end
6303+
6304+
include Google::Apis::Core::JsonObjectSupport
6305+
end
6306+
62896307
class SubnetworksExpandIpCidrRangeRequest
62906308
class Representation < Google::Apis::Core::JsonRepresentation; end
62916309

@@ -12839,6 +12857,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
1283912857
collection :region_infos, as: 'regionInfos', class: Google::Apis::ComputeV1::InterconnectLocationRegionInfo, decorator: Google::Apis::ComputeV1::InterconnectLocationRegionInfo::Representation
1284012858

1284112859
property :self_link, as: 'selfLink'
12860+
collection :single_region_production_critical_peer_locations, as: 'singleRegionProductionCriticalPeerLocations'
1284212861
property :status, as: 'status'
1284312862
property :supports_pzs, as: 'supportsPzs'
1284412863
end
@@ -12953,6 +12972,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
1295312972
property :lacp, as: 'lacp'
1295412973
property :max_lag_size100_gbps, as: 'maxLagSize100Gbps'
1295512974
property :max_lag_size10_gbps, as: 'maxLagSize10Gbps'
12975+
property :max_lag_size400_gbps, as: 'maxLagSize400Gbps'
1295612976
property :name, as: 'name'
1295712977
property :peeringdb_facility_id, as: 'peeringdbFacilityId'
1295812978
collection :permitted_connections, as: 'permittedConnections', class: Google::Apis::ComputeV1::InterconnectRemoteLocationPermittedConnections, decorator: Google::Apis::ComputeV1::InterconnectRemoteLocationPermittedConnections::Representation
@@ -16156,6 +16176,7 @@ class RequestMirrorPolicy
1615616176
# @private
1615716177
class Representation < Google::Apis::Core::JsonRepresentation
1615816178
property :backend_service, as: 'backendService'
16179+
property :mirror_percent, as: 'mirrorPercent'
1615916180
end
1616016181
end
1616116182

@@ -18990,6 +19011,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
1899019011
property :state, as: 'state'
1899119012
collection :system_reserved_external_ipv6_ranges, as: 'systemReservedExternalIpv6Ranges'
1899219013
collection :system_reserved_internal_ipv6_ranges, as: 'systemReservedInternalIpv6Ranges'
19014+
property :utilization_details, as: 'utilizationDetails', class: Google::Apis::ComputeV1::SubnetworkUtilizationDetails, decorator: Google::Apis::ComputeV1::SubnetworkUtilizationDetails::Representation
19015+
1899319016
end
1899419017
end
1899519018

@@ -19086,6 +19109,39 @@ class Representation < Google::Apis::Core::JsonRepresentation
1908619109
end
1908719110
end
1908819111

19112+
class SubnetworkUtilizationDetails
19113+
# @private
19114+
class Representation < Google::Apis::Core::JsonRepresentation
19115+
property :external_ipv6_instance_utilization, as: 'externalIpv6InstanceUtilization', class: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization, decorator: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization::Representation
19116+
19117+
property :external_ipv6_lb_utilization, as: 'externalIpv6LbUtilization', class: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization, decorator: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization::Representation
19118+
19119+
property :internal_ipv6_utilization, as: 'internalIpv6Utilization', class: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization, decorator: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization::Representation
19120+
19121+
collection :ipv4_utilizations, as: 'ipv4Utilizations', class: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv4Utilization, decorator: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv4Utilization::Representation
19122+
19123+
end
19124+
end
19125+
19126+
class SubnetworkUtilizationDetailsIpv4Utilization
19127+
# @private
19128+
class Representation < Google::Apis::Core::JsonRepresentation
19129+
property :range_name, as: 'rangeName'
19130+
property :total_allocated_ip, :numeric_string => true, as: 'totalAllocatedIp'
19131+
property :total_free_ip, :numeric_string => true, as: 'totalFreeIp'
19132+
end
19133+
end
19134+
19135+
class SubnetworkUtilizationDetailsIpv6Utilization
19136+
# @private
19137+
class Representation < Google::Apis::Core::JsonRepresentation
19138+
property :total_allocated_ip, as: 'totalAllocatedIp', class: Google::Apis::ComputeV1::Uint128, decorator: Google::Apis::ComputeV1::Uint128::Representation
19139+
19140+
property :total_free_ip, as: 'totalFreeIp', class: Google::Apis::ComputeV1::Uint128, decorator: Google::Apis::ComputeV1::Uint128::Representation
19141+
19142+
end
19143+
end
19144+
1908919145
class SubnetworksExpandIpCidrRangeRequest
1909019146
# @private
1909119147
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)