Skip to content

Commit febadf8

Browse files
feat: Automated regeneration of compute beta client (#24330)
Auto-created at 2025-09-21 09:42:59 +0000 using the toys pull request generator.
1 parent dba4175 commit febadf8

File tree

6 files changed

+35
-5
lines changed

6 files changed

+35
-5
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105348,6 +105348,8 @@
105348105348
"/compute:beta/InterconnectLocation/regionInfos": region_infos
105349105349
"/compute:beta/InterconnectLocation/regionInfos/region_info": region_info
105350105350
"/compute:beta/InterconnectLocation/selfLink": self_link
105351+
"/compute:beta/InterconnectLocation/singleRegionProductionCriticalPeerLocations": single_region_production_critical_peer_locations
105352+
"/compute:beta/InterconnectLocation/singleRegionProductionCriticalPeerLocations/single_region_production_critical_peer_location": single_region_production_critical_peer_location
105351105353
"/compute:beta/InterconnectLocation/status": status
105352105354
"/compute:beta/InterconnectLocation/supportsPzs": supports_pzs
105353105355
"/compute:beta/InterconnectLocationCrossSiteInterconnectInfo": interconnect_location_cross_site_interconnect_info
@@ -112240,10 +112242,12 @@
112240112242
"/compute:beta/compute.organizationSecurityPolicies.patch": patch_organization_security_policy
112241112243
"/compute:beta/compute.organizationSecurityPolicies.patch/requestId": request_id
112242112244
"/compute:beta/compute.organizationSecurityPolicies.patch/securityPolicy": security_policy
112245+
"/compute:beta/compute.organizationSecurityPolicies.patch/updateMask": update_mask
112243112246
"/compute:beta/compute.organizationSecurityPolicies.patchRule": patch_organization_security_policy_rule
112244112247
"/compute:beta/compute.organizationSecurityPolicies.patchRule/priority": priority
112245112248
"/compute:beta/compute.organizationSecurityPolicies.patchRule/requestId": request_id
112246112249
"/compute:beta/compute.organizationSecurityPolicies.patchRule/securityPolicy": security_policy
112250+
"/compute:beta/compute.organizationSecurityPolicies.patchRule/updateMask": update_mask
112247112251
"/compute:beta/compute.organizationSecurityPolicies.removeAssociation": remove_organization_security_policy_association
112248112252
"/compute:beta/compute.organizationSecurityPolicies.removeAssociation/name": name
112249112253
"/compute:beta/compute.organizationSecurityPolicies.removeAssociation/requestId": request_id

generated/google-apis-compute_beta/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_beta
22

3+
### v0.123.0 (2025-09-21)
4+
5+
* Regenerated from discovery document revision 20250909
6+
37
### v0.122.0 (2025-09-14)
48

59
* Regenerated from discovery document revision 20250902

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26259,6 +26259,13 @@ class InterconnectLocation
2625926259
# @return [String]
2626026260
attr_accessor :self_link
2626126261

26262+
# [Output Only] URLs of the other locations that can pair up with this location
26263+
# to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are
26264+
# Single-Region 99.99% peer locations of each other.
26265+
# Corresponds to the JSON property `singleRegionProductionCriticalPeerLocations`
26266+
# @return [Array<String>]
26267+
attr_accessor :single_region_production_critical_peer_locations
26268+
2626226269
# [Output Only] The status of this InterconnectLocation, which can take one of
2626326270
# the following values: - CLOSED: The InterconnectLocation is closed and is
2626426271
# unavailable for provisioning new Interconnects. - AVAILABLE: The
@@ -26296,6 +26303,7 @@ def update!(**args)
2629626303
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
2629726304
@region_infos = args[:region_infos] if args.key?(:region_infos)
2629826305
@self_link = args[:self_link] if args.key?(:self_link)
26306+
@single_region_production_critical_peer_locations = args[:single_region_production_critical_peer_locations] if args.key?(:single_region_production_critical_peer_locations)
2629926307
@status = args[:status] if args.key?(:status)
2630026308
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
2630126309
end

generated/google-apis-compute_beta/lib/google/apis/compute_beta/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 ComputeBeta
1818
# Version of the google-apis-compute_beta gem
19-
GEM_VERSION = "0.122.0"
19+
GEM_VERSION = "0.123.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_beta/lib/google/apis/compute_beta/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14395,6 +14395,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
1439514395
collection :region_infos, as: 'regionInfos', class: Google::Apis::ComputeBeta::InterconnectLocationRegionInfo, decorator: Google::Apis::ComputeBeta::InterconnectLocationRegionInfo::Representation
1439614396

1439714397
property :self_link, as: 'selfLink'
14398+
collection :single_region_production_critical_peer_locations, as: 'singleRegionProductionCriticalPeerLocations'
1439814399
property :status, as: 'status'
1439914400
property :supports_pzs, as: 'supportsPzs'
1440014401
end

generated/google-apis-compute_beta/lib/google/apis/compute_beta/service.rb

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26710,6 +26710,8 @@ def move_organization_security_policy(security_policy, parent_id: nil, request_i
2671026710
# second request. This prevents clients from accidentally creating duplicate
2671126711
# commitments. The request ID must be a valid UUID with the exception that zero
2671226712
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
26713+
# @param [String] update_mask
26714+
# Indicates fields to be cleared as part of this request.
2671326715
# @param [String] fields
2671426716
# Selector specifying which fields to include in a partial response.
2671526717
# @param [String] quota_user
@@ -26729,14 +26731,15 @@ def move_organization_security_policy(security_policy, parent_id: nil, request_i
2672926731
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2673026732
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2673126733
# @raise [Google::Apis::AuthorizationError] Authorization is required
26732-
def patch_organization_security_policy(security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26734+
def patch_organization_security_policy(security_policy, security_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2673326735
command = make_simple_command(:patch, 'locations/global/securityPolicies/{securityPolicy}', options)
2673426736
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation
2673526737
command.request_object = security_policy_object
2673626738
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
2673726739
command.response_class = Google::Apis::ComputeBeta::Operation
2673826740
command.params['securityPolicy'] = security_policy unless security_policy.nil?
2673926741
command.query['requestId'] = request_id unless request_id.nil?
26742+
command.query['updateMask'] = update_mask unless update_mask.nil?
2674026743
command.query['fields'] = fields unless fields.nil?
2674126744
command.query['quotaUser'] = quota_user unless quota_user.nil?
2674226745
command.query['userIp'] = user_ip unless user_ip.nil?
@@ -26760,6 +26763,8 @@ def patch_organization_security_policy(security_policy, security_policy_object =
2676026763
# second request. This prevents clients from accidentally creating duplicate
2676126764
# commitments. The request ID must be a valid UUID with the exception that zero
2676226765
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
26766+
# @param [String] update_mask
26767+
# Indicates fields to be cleared as part of this request.
2676326768
# @param [String] fields
2676426769
# Selector specifying which fields to include in a partial response.
2676526770
# @param [String] quota_user
@@ -26779,7 +26784,7 @@ def patch_organization_security_policy(security_policy, security_policy_object =
2677926784
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2678026785
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2678126786
# @raise [Google::Apis::AuthorizationError] Authorization is required
26782-
def patch_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
26787+
def patch_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, priority: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2678326788
command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/patchRule', options)
2678426789
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
2678526790
command.request_object = security_policy_rule_object
@@ -26788,6 +26793,7 @@ def patch_organization_security_policy_rule(security_policy, security_policy_rul
2678826793
command.params['securityPolicy'] = security_policy unless security_policy.nil?
2678926794
command.query['priority'] = priority unless priority.nil?
2679026795
command.query['requestId'] = request_id unless request_id.nil?
26796+
command.query['updateMask'] = update_mask unless update_mask.nil?
2679126797
command.query['fields'] = fields unless fields.nil?
2679226798
command.query['quotaUser'] = quota_user unless quota_user.nil?
2679326799
command.query['userIp'] = user_ip unless user_ip.nil?
@@ -27947,7 +27953,14 @@ def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil
2794727953
execute_or_queue_command(command, &block)
2794827954
end
2794927955

27950-
# Moves a persistent disk from one zone to another.
27956+
# Starting September 29, 2025, you can't use the moveDisk API on new projects.
27957+
# To move a disk to a different region or zone, follow the steps in [Change the
27958+
# location of a disk](https://`$universe.dns_names.final_documentation_domain`/
27959+
# compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). Projects that already
27960+
# use the moveDisk API can continue usage until September 29, 2026. Starting
27961+
# November 1, 2025, API responses will include a warning message in the response
27962+
# body about the upcoming deprecation. You can skip the message to continue
27963+
# using the service without interruption.
2795127964
# @param [String] project
2795227965
# Project ID for this request.
2795327966
# @param [Google::Apis::ComputeBeta::DiskMoveRequest] disk_move_request_object

0 commit comments

Comments
 (0)