Skip to content

Commit 02e4a01

Browse files
feat: Automated regeneration of compute alpha client (googleapis#24381)
Auto-created at 2025-09-21 10:50:14 +0000 using the toys pull request generator.
1 parent bebe0dd commit 02e4a01

File tree

6 files changed

+132
-6
lines changed

6 files changed

+132
-6
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91767,6 +91767,8 @@
9176791767
"/compute:alpha/NetworksAddPeeringRequest/name": name
9176891768
"/compute:alpha/NetworksAddPeeringRequest/networkPeering": network_peering
9176991769
"/compute:alpha/NetworksAddPeeringRequest/peerNetwork": peer_network
91770+
"/compute:alpha/NetworksCancelRequestRemovePeeringRequest": networks_cancel_request_remove_peering_request
91771+
"/compute:alpha/NetworksCancelRequestRemovePeeringRequest/name": name
9177091772
"/compute:alpha/NetworksGetEffectiveFirewallsResponse": networks_get_effective_firewalls_response
9177191773
"/compute:alpha/NetworksGetEffectiveFirewallsResponse/firewallPolicys": firewall_policys
9177291774
"/compute:alpha/NetworksGetEffectiveFirewallsResponse/firewallPolicys/firewall_policy": firewall_policy
@@ -93714,6 +93716,7 @@
9371493716
"/compute:alpha/RouterBgpPeer/ipAddress": ip_address
9371593717
"/compute:alpha/RouterBgpPeer/ipv4NexthopAddress": ipv4_nexthop_address
9371693718
"/compute:alpha/RouterBgpPeer/ipv6NexthopAddress": ipv6_nexthop_address
93719+
"/compute:alpha/RouterBgpPeer/linkedCustomHardware": linked_custom_hardware
9371793720
"/compute:alpha/RouterBgpPeer/managementType": management_type
9371893721
"/compute:alpha/RouterBgpPeer/md5AuthenticationKeyName": md5_authentication_key_name
9371993722
"/compute:alpha/RouterBgpPeer/name": name
@@ -93842,6 +93845,7 @@
9384293845
"/compute:alpha/RouterStatusBgpPeerStatus/ipAddress": ip_address
9384393846
"/compute:alpha/RouterStatusBgpPeerStatus/ipv4NexthopAddress": ipv4_nexthop_address
9384493847
"/compute:alpha/RouterStatusBgpPeerStatus/ipv6NexthopAddress": ipv6_nexthop_address
93848+
"/compute:alpha/RouterStatusBgpPeerStatus/linkedCustomHardware": linked_custom_hardware
9384593849
"/compute:alpha/RouterStatusBgpPeerStatus/linkedVpnTunnel": linked_vpn_tunnel
9384693850
"/compute:alpha/RouterStatusBgpPeerStatus/md5AuthEnabled": md5_auth_enabled
9384793851
"/compute:alpha/RouterStatusBgpPeerStatus/name": name
@@ -98646,6 +98650,10 @@
9864698650
"/compute:alpha/compute.networks.addPeering/network": network
9864798651
"/compute:alpha/compute.networks.addPeering/project": project
9864898652
"/compute:alpha/compute.networks.addPeering/requestId": request_id
98653+
"/compute:alpha/compute.networks.cancelRequestRemovePeering": cancel_network_request_remove_peering
98654+
"/compute:alpha/compute.networks.cancelRequestRemovePeering/network": network
98655+
"/compute:alpha/compute.networks.cancelRequestRemovePeering/project": project
98656+
"/compute:alpha/compute.networks.cancelRequestRemovePeering/requestId": request_id
9864998657
"/compute:alpha/compute.networks.delete": delete_network
9865098658
"/compute:alpha/compute.networks.delete/network": network
9865198659
"/compute:alpha/compute.networks.delete/project": project
@@ -98922,10 +98930,12 @@
9892298930
"/compute:alpha/compute.organizationSecurityPolicies.patch": patch_organization_security_policy
9892398931
"/compute:alpha/compute.organizationSecurityPolicies.patch/requestId": request_id
9892498932
"/compute:alpha/compute.organizationSecurityPolicies.patch/securityPolicy": security_policy
98933+
"/compute:alpha/compute.organizationSecurityPolicies.patch/updateMask": update_mask
9892598934
"/compute:alpha/compute.organizationSecurityPolicies.patchRule": patch_organization_security_policy_rule
9892698935
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/priority": priority
9892798936
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/requestId": request_id
9892898937
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/securityPolicy": security_policy
98938+
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/updateMask": update_mask
9892998939
"/compute:alpha/compute.organizationSecurityPolicies.removeAssociation": remove_organization_security_policy_association
9893098940
"/compute:alpha/compute.organizationSecurityPolicies.removeAssociation/name": name
9893198941
"/compute:alpha/compute.organizationSecurityPolicies.removeAssociation/requestId": request_id

generated/google-apis-compute_alpha/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-compute_alpha
22

3-
### v0.122.0 (2025-09-14)
3+
### v0.122.0 (2025-09-21)
44

5-
* Regenerated from discovery document revision 20250902
5+
* Regenerated from discovery document revision 20250909
66

77
### v0.121.0 (2025-08-24)
88

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40042,6 +40042,25 @@ def update!(**args)
4004240042
end
4004340043
end
4004440044

40045+
#
40046+
class NetworksCancelRequestRemovePeeringRequest
40047+
include Google::Apis::Core::Hashable
40048+
40049+
# Name of the peering, which should conform to RFC1035.
40050+
# Corresponds to the JSON property `name`
40051+
# @return [String]
40052+
attr_accessor :name
40053+
40054+
def initialize(**args)
40055+
update!(**args)
40056+
end
40057+
40058+
# Update properties of this object
40059+
def update!(**args)
40060+
@name = args[:name] if args.key?(:name)
40061+
end
40062+
end
40063+
4004540064
#
4004640065
class NetworksGetEffectiveFirewallsResponse
4004740066
include Google::Apis::Core::Hashable
@@ -54249,6 +54268,14 @@ class RouterBgpPeer
5424954268
# @return [String]
5425054269
attr_accessor :ipv6_nexthop_address
5425154270

54271+
# The linked custom hardware resource. The URI of the custom hardware link
54272+
# attachment is where you will establish the BGP session from the Cloud Router.
54273+
# This link attachment must reside in the same subnetwork as the associated
54274+
# router interface.
54275+
# Corresponds to the JSON property `linkedCustomHardware`
54276+
# @return [String]
54277+
attr_accessor :linked_custom_hardware
54278+
5425254279
# [Output Only] The resource that configures and manages this BGP peer. -
5425354280
# MANAGED_BY_USER is the default value and can be managed by you or other users -
5425454281
# MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud
@@ -54327,6 +54354,7 @@ def update!(**args)
5432754354
@ip_address = args[:ip_address] if args.key?(:ip_address)
5432854355
@ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
5432954356
@ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
54357+
@linked_custom_hardware = args[:linked_custom_hardware] if args.key?(:linked_custom_hardware)
5433054358
@management_type = args[:management_type] if args.key?(:management_type)
5433154359
@md5_authentication_key_name = args[:md5_authentication_key_name] if args.key?(:md5_authentication_key_name)
5433254360
@name = args[:name] if args.key?(:name)
@@ -55194,6 +55222,13 @@ class RouterStatusBgpPeerStatus
5519455222
# @return [String]
5519555223
attr_accessor :ipv6_nexthop_address
5519655224

55225+
# The URI of the linked custom hardware resource, CustomHardwareLinkAttachment.
55226+
# This CustomHardwareLinkAttachment resource is the one that will establish the
55227+
# BGP session from the Cloud Router.
55228+
# Corresponds to the JSON property `linkedCustomHardware`
55229+
# @return [String]
55230+
attr_accessor :linked_custom_hardware
55231+
5519755232
# URL of the VPN tunnel that this BGP peer controls.
5519855233
# Corresponds to the JSON property `linkedVpnTunnel`
5519955234
# @return [String]
@@ -55277,6 +55312,7 @@ def update!(**args)
5527755312
@ip_address = args[:ip_address] if args.key?(:ip_address)
5527855313
@ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
5527955314
@ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
55315+
@linked_custom_hardware = args[:linked_custom_hardware] if args.key?(:linked_custom_hardware)
5528055316
@linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
5528155317
@md5_auth_enabled = args[:md5_auth_enabled] if args.key?(:md5_auth_enabled)
5528255318
@name = args[:name] if args.key?(:name)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ComputeAlpha
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_alpha/lib/google/apis/compute_alpha/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5164,6 +5164,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
51645164
include Google::Apis::Core::JsonObjectSupport
51655165
end
51665166

5167+
class NetworksCancelRequestRemovePeeringRequest
5168+
class Representation < Google::Apis::Core::JsonRepresentation; end
5169+
5170+
include Google::Apis::Core::JsonObjectSupport
5171+
end
5172+
51675173
class NetworksGetEffectiveFirewallsResponse
51685174
class Representation < Google::Apis::Core::JsonRepresentation; end
51695175

@@ -19492,6 +19498,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
1949219498
end
1949319499
end
1949419500

19501+
class NetworksCancelRequestRemovePeeringRequest
19502+
# @private
19503+
class Representation < Google::Apis::Core::JsonRepresentation
19504+
property :name, as: 'name'
19505+
end
19506+
end
19507+
1949519508
class NetworksGetEffectiveFirewallsResponse
1949619509
# @private
1949719510
class Representation < Google::Apis::Core::JsonRepresentation
@@ -23208,6 +23221,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
2320823221
property :ip_address, as: 'ipAddress'
2320923222
property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
2321023223
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
23224+
property :linked_custom_hardware, as: 'linkedCustomHardware'
2321123225
property :management_type, as: 'managementType'
2321223226
property :md5_authentication_key_name, as: 'md5AuthenticationKeyName'
2321323227
property :name, as: 'name'
@@ -23406,6 +23420,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
2340623420
property :ip_address, as: 'ipAddress'
2340723421
property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
2340823422
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
23423+
property :linked_custom_hardware, as: 'linkedCustomHardware'
2340923424
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
2341023425
property :md5_auth_enabled, as: 'md5AuthEnabled'
2341123426
property :name, as: 'name'

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

Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25794,6 +25794,58 @@ def add_network_peering(project, network, networks_add_peering_request_object =
2579425794
execute_or_queue_command(command, &block)
2579525795
end
2579625796

25797+
# Cancel requests to remove a peering from the specified network. Applicable
25798+
# only for PeeringConnection with update_strategy=CONSENSUS. Cancels a request
25799+
# to remove a peering from the specified network.
25800+
# @param [String] project
25801+
# Project ID for this request.
25802+
# @param [String] network
25803+
# Name of the network resource to remove peering from.
25804+
# @param [Google::Apis::ComputeAlpha::NetworksCancelRequestRemovePeeringRequest] networks_cancel_request_remove_peering_request_object
25805+
# @param [String] request_id
25806+
# An optional request ID to identify requests. Specify a unique request ID so
25807+
# that if you must retry your request, the server will know to ignore the
25808+
# request if it has already been completed. For example, consider a situation
25809+
# where you make an initial request and the request times out. If you make the
25810+
# request again with the same request ID, the server can check if original
25811+
# operation with the same request ID was received, and if so, will ignore the
25812+
# second request. This prevents clients from accidentally creating duplicate
25813+
# commitments. The request ID must be a valid UUID with the exception that zero
25814+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25815+
# @param [String] fields
25816+
# Selector specifying which fields to include in a partial response.
25817+
# @param [String] quota_user
25818+
# Available to use for quota purposes for server-side applications. Can be any
25819+
# arbitrary string assigned to a user, but should not exceed 40 characters.
25820+
# @param [String] user_ip
25821+
# Legacy name for parameter that has been superseded by `quotaUser`.
25822+
# @param [Google::Apis::RequestOptions] options
25823+
# Request-specific options
25824+
#
25825+
# @yield [result, err] Result & error if block supplied
25826+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
25827+
# @yieldparam err [StandardError] error object if request failed
25828+
#
25829+
# @return [Google::Apis::ComputeAlpha::Operation]
25830+
#
25831+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25832+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25833+
# @raise [Google::Apis::AuthorizationError] Authorization is required
25834+
def cancel_network_request_remove_peering(project, network, networks_cancel_request_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25835+
command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/cancelRequestRemovePeering', options)
25836+
command.request_representation = Google::Apis::ComputeAlpha::NetworksCancelRequestRemovePeeringRequest::Representation
25837+
command.request_object = networks_cancel_request_remove_peering_request_object
25838+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
25839+
command.response_class = Google::Apis::ComputeAlpha::Operation
25840+
command.params['project'] = project unless project.nil?
25841+
command.params['network'] = network unless network.nil?
25842+
command.query['requestId'] = request_id unless request_id.nil?
25843+
command.query['fields'] = fields unless fields.nil?
25844+
command.query['quotaUser'] = quota_user unless quota_user.nil?
25845+
command.query['userIp'] = user_ip unless user_ip.nil?
25846+
execute_or_queue_command(command, &block)
25847+
end
25848+
2579725849
# Deletes the specified network.
2579825850
# @param [String] project
2579925851
# Project ID for this request.
@@ -28886,6 +28938,8 @@ def move_organization_security_policy(security_policy, parent_id: nil, request_i
2888628938
# second request. This prevents clients from accidentally creating duplicate
2888728939
# commitments. The request ID must be a valid UUID with the exception that zero
2888828940
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
28941+
# @param [String] update_mask
28942+
# Indicates fields to be cleared as part of this request.
2888928943
# @param [String] fields
2889028944
# Selector specifying which fields to include in a partial response.
2889128945
# @param [String] quota_user
@@ -28905,14 +28959,15 @@ def move_organization_security_policy(security_policy, parent_id: nil, request_i
2890528959
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2890628960
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2890728961
# @raise [Google::Apis::AuthorizationError] Authorization is required
28908-
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)
28962+
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)
2890928963
command = make_simple_command(:patch, 'locations/global/securityPolicies/{securityPolicy}', options)
2891028964
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation
2891128965
command.request_object = security_policy_object
2891228966
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
2891328967
command.response_class = Google::Apis::ComputeAlpha::Operation
2891428968
command.params['securityPolicy'] = security_policy unless security_policy.nil?
2891528969
command.query['requestId'] = request_id unless request_id.nil?
28970+
command.query['updateMask'] = update_mask unless update_mask.nil?
2891628971
command.query['fields'] = fields unless fields.nil?
2891728972
command.query['quotaUser'] = quota_user unless quota_user.nil?
2891828973
command.query['userIp'] = user_ip unless user_ip.nil?
@@ -28936,6 +28991,8 @@ def patch_organization_security_policy(security_policy, security_policy_object =
2893628991
# second request. This prevents clients from accidentally creating duplicate
2893728992
# commitments. The request ID must be a valid UUID with the exception that zero
2893828993
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
28994+
# @param [String] update_mask
28995+
# Indicates fields to be cleared as part of this request.
2893928996
# @param [String] fields
2894028997
# Selector specifying which fields to include in a partial response.
2894128998
# @param [String] quota_user
@@ -28955,7 +29012,7 @@ def patch_organization_security_policy(security_policy, security_policy_object =
2895529012
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2895629013
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2895729014
# @raise [Google::Apis::AuthorizationError] Authorization is required
28958-
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)
29015+
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)
2895929016
command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/patchRule', options)
2896029017
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
2896129018
command.request_object = security_policy_rule_object
@@ -28964,6 +29021,7 @@ def patch_organization_security_policy_rule(security_policy, security_policy_rul
2896429021
command.params['securityPolicy'] = security_policy unless security_policy.nil?
2896529022
command.query['priority'] = priority unless priority.nil?
2896629023
command.query['requestId'] = request_id unless request_id.nil?
29024+
command.query['updateMask'] = update_mask unless update_mask.nil?
2896729025
command.query['fields'] = fields unless fields.nil?
2896829026
command.query['quotaUser'] = quota_user unless quota_user.nil?
2896929027
command.query['userIp'] = user_ip unless user_ip.nil?
@@ -30123,7 +30181,14 @@ def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil
3012330181
execute_or_queue_command(command, &block)
3012430182
end
3012530183

30126-
# Moves a persistent disk from one zone to another.
30184+
# Starting September 29, 2025, you can't use the moveDisk API on new projects.
30185+
# To move a disk to a different region or zone, follow the steps in [Change the
30186+
# location of a disk](https://`$universe.dns_names.final_documentation_domain`/
30187+
# compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). Projects that already
30188+
# use the moveDisk API can continue usage until September 29, 2026. Starting
30189+
# November 1, 2025, API responses will include a warning message in the response
30190+
# body about the upcoming deprecation. You can skip the message to continue
30191+
# using the service without interruption.
3012730192
# @param [String] project
3012830193
# Project ID for this request.
3012930194
# @param [Google::Apis::ComputeAlpha::DiskMoveRequest] disk_move_request_object

0 commit comments

Comments
 (0)