Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91589,6 +91589,8 @@
"/compute:alpha/NetworksAddPeeringRequest/name": name
"/compute:alpha/NetworksAddPeeringRequest/networkPeering": network_peering
"/compute:alpha/NetworksAddPeeringRequest/peerNetwork": peer_network
"/compute:alpha/NetworksCancelRequestRemovePeeringRequest": networks_cancel_request_remove_peering_request
"/compute:alpha/NetworksCancelRequestRemovePeeringRequest/name": name
"/compute:alpha/NetworksGetEffectiveFirewallsResponse": networks_get_effective_firewalls_response
"/compute:alpha/NetworksGetEffectiveFirewallsResponse/firewallPolicys": firewall_policys
"/compute:alpha/NetworksGetEffectiveFirewallsResponse/firewallPolicys/firewall_policy": firewall_policy
Expand Down Expand Up @@ -93536,6 +93538,7 @@
"/compute:alpha/RouterBgpPeer/ipAddress": ip_address
"/compute:alpha/RouterBgpPeer/ipv4NexthopAddress": ipv4_nexthop_address
"/compute:alpha/RouterBgpPeer/ipv6NexthopAddress": ipv6_nexthop_address
"/compute:alpha/RouterBgpPeer/linkedCustomHardware": linked_custom_hardware
"/compute:alpha/RouterBgpPeer/managementType": management_type
"/compute:alpha/RouterBgpPeer/md5AuthenticationKeyName": md5_authentication_key_name
"/compute:alpha/RouterBgpPeer/name": name
Expand Down Expand Up @@ -93664,6 +93667,7 @@
"/compute:alpha/RouterStatusBgpPeerStatus/ipAddress": ip_address
"/compute:alpha/RouterStatusBgpPeerStatus/ipv4NexthopAddress": ipv4_nexthop_address
"/compute:alpha/RouterStatusBgpPeerStatus/ipv6NexthopAddress": ipv6_nexthop_address
"/compute:alpha/RouterStatusBgpPeerStatus/linkedCustomHardware": linked_custom_hardware
"/compute:alpha/RouterStatusBgpPeerStatus/linkedVpnTunnel": linked_vpn_tunnel
"/compute:alpha/RouterStatusBgpPeerStatus/md5AuthEnabled": md5_auth_enabled
"/compute:alpha/RouterStatusBgpPeerStatus/name": name
Expand Down Expand Up @@ -98468,6 +98472,10 @@
"/compute:alpha/compute.networks.addPeering/network": network
"/compute:alpha/compute.networks.addPeering/project": project
"/compute:alpha/compute.networks.addPeering/requestId": request_id
"/compute:alpha/compute.networks.cancelRequestRemovePeering": cancel_network_request_remove_peering
"/compute:alpha/compute.networks.cancelRequestRemovePeering/network": network
"/compute:alpha/compute.networks.cancelRequestRemovePeering/project": project
"/compute:alpha/compute.networks.cancelRequestRemovePeering/requestId": request_id
"/compute:alpha/compute.networks.delete": delete_network
"/compute:alpha/compute.networks.delete/network": network
"/compute:alpha/compute.networks.delete/project": project
Expand Down Expand Up @@ -98744,10 +98752,12 @@
"/compute:alpha/compute.organizationSecurityPolicies.patch": patch_organization_security_policy
"/compute:alpha/compute.organizationSecurityPolicies.patch/requestId": request_id
"/compute:alpha/compute.organizationSecurityPolicies.patch/securityPolicy": security_policy
"/compute:alpha/compute.organizationSecurityPolicies.patch/updateMask": update_mask
"/compute:alpha/compute.organizationSecurityPolicies.patchRule": patch_organization_security_policy_rule
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/priority": priority
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/requestId": request_id
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/securityPolicy": security_policy
"/compute:alpha/compute.organizationSecurityPolicies.patchRule/updateMask": update_mask
"/compute:alpha/compute.organizationSecurityPolicies.removeAssociation": remove_organization_security_policy_association
"/compute:alpha/compute.organizationSecurityPolicies.removeAssociation/name": name
"/compute:alpha/compute.organizationSecurityPolicies.removeAssociation/requestId": request_id
Expand Down
4 changes: 2 additions & 2 deletions generated/google-apis-compute_alpha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Release history for google-apis-compute_alpha

### v0.122.0 (2025-09-14)
### v0.122.0 (2025-09-21)

* Regenerated from discovery document revision 20250902
* Regenerated from discovery document revision 20250909

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40042,6 +40042,25 @@ def update!(**args)
end
end

#
class NetworksCancelRequestRemovePeeringRequest
include Google::Apis::Core::Hashable

# Name of the peering, which should conform to RFC1035.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
end
end

#
class NetworksGetEffectiveFirewallsResponse
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -54249,6 +54268,14 @@ class RouterBgpPeer
# @return [String]
attr_accessor :ipv6_nexthop_address

# The linked custom hardware resource. The URI of the custom hardware link
# attachment is where you will establish the BGP session from the Cloud Router.
# This link attachment must reside in the same subnetwork as the associated
# router interface.
# Corresponds to the JSON property `linkedCustomHardware`
# @return [String]
attr_accessor :linked_custom_hardware

# [Output Only] The resource that configures and manages this BGP peer. -
# MANAGED_BY_USER is the default value and can be managed by you or other users -
# MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud
Expand Down Expand Up @@ -54327,6 +54354,7 @@ def update!(**args)
@ip_address = args[:ip_address] if args.key?(:ip_address)
@ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
@ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
@linked_custom_hardware = args[:linked_custom_hardware] if args.key?(:linked_custom_hardware)
@management_type = args[:management_type] if args.key?(:management_type)
@md5_authentication_key_name = args[:md5_authentication_key_name] if args.key?(:md5_authentication_key_name)
@name = args[:name] if args.key?(:name)
Expand Down Expand Up @@ -55194,6 +55222,13 @@ class RouterStatusBgpPeerStatus
# @return [String]
attr_accessor :ipv6_nexthop_address

# The URI of the linked custom hardware resource, CustomHardwareLinkAttachment.
# This CustomHardwareLinkAttachment resource is the one that will establish the
# BGP session from the Cloud Router.
# Corresponds to the JSON property `linkedCustomHardware`
# @return [String]
attr_accessor :linked_custom_hardware

# URL of the VPN tunnel that this BGP peer controls.
# Corresponds to the JSON property `linkedVpnTunnel`
# @return [String]
Expand Down Expand Up @@ -55277,6 +55312,7 @@ def update!(**args)
@ip_address = args[:ip_address] if args.key?(:ip_address)
@ipv4_nexthop_address = args[:ipv4_nexthop_address] if args.key?(:ipv4_nexthop_address)
@ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
@linked_custom_hardware = args[:linked_custom_hardware] if args.key?(:linked_custom_hardware)
@linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
@md5_auth_enabled = args[:md5_auth_enabled] if args.key?(:md5_auth_enabled)
@name = args[:name] if args.key?(:name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module ComputeAlpha
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20250902"
REVISION = "20250909"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -5164,6 +5164,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class NetworksCancelRequestRemovePeeringRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class NetworksGetEffectiveFirewallsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -19492,6 +19498,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class NetworksCancelRequestRemovePeeringRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
end
end

class NetworksGetEffectiveFirewallsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -23208,6 +23221,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :ip_address, as: 'ipAddress'
property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
property :linked_custom_hardware, as: 'linkedCustomHardware'
property :management_type, as: 'managementType'
property :md5_authentication_key_name, as: 'md5AuthenticationKeyName'
property :name, as: 'name'
Expand Down Expand Up @@ -23406,6 +23420,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :ip_address, as: 'ipAddress'
property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
property :linked_custom_hardware, as: 'linkedCustomHardware'
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
property :md5_auth_enabled, as: 'md5AuthEnabled'
property :name, as: 'name'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25794,6 +25794,58 @@ def add_network_peering(project, network, networks_add_peering_request_object =
execute_or_queue_command(command, &block)
end

# Cancel requests to remove a peering from the specified network. Applicable
# only for PeeringConnection with update_strategy=CONSENSUS. Cancels a request
# to remove a peering from the specified network.
# @param [String] project
# Project ID for this request.
# @param [String] network
# Name of the network resource to remove peering from.
# @param [Google::Apis::ComputeAlpha::NetworksCancelRequestRemovePeeringRequest] networks_cancel_request_remove_peering_request_object
# @param [String] request_id
# An optional request ID to identify requests. Specify a unique request ID so
# that if you must retry your request, the server will know to ignore the
# request if it has already been completed. For example, consider a situation
# where you make an initial request and the request times out. If you make the
# request again with the same request ID, the server can check if original
# operation with the same request ID was received, and if so, will ignore the
# second request. This prevents clients from accidentally creating duplicate
# commitments. The request ID must be a valid UUID with the exception that zero
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] user_ip
# Legacy name for parameter that has been superseded by `quotaUser`.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeAlpha::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
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)
command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/cancelRequestRemovePeering', options)
command.request_representation = Google::Apis::ComputeAlpha::NetworksCancelRequestRemovePeeringRequest::Representation
command.request_object = networks_cancel_request_remove_peering_request_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['project'] = project unless project.nil?
command.params['network'] = network unless network.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end

# Deletes the specified network.
# @param [String] project
# Project ID for this request.
Expand Down Expand Up @@ -28886,6 +28938,8 @@ def move_organization_security_policy(security_policy, parent_id: nil, request_i
# second request. This prevents clients from accidentally creating duplicate
# commitments. The request ID must be a valid UUID with the exception that zero
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
# @param [String] update_mask
# Indicates fields to be cleared as part of this request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -28905,14 +28959,15 @@ def move_organization_security_policy(security_policy, parent_id: nil, request_i
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
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)
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)
command = make_simple_command(:patch, 'locations/global/securityPolicies/{securityPolicy}', options)
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation
command.request_object = security_policy_object
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
command.response_class = Google::Apis::ComputeAlpha::Operation
command.params['securityPolicy'] = security_policy unless security_policy.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
Expand All @@ -28936,6 +28991,8 @@ def patch_organization_security_policy(security_policy, security_policy_object =
# second request. This prevents clients from accidentally creating duplicate
# commitments. The request ID must be a valid UUID with the exception that zero
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
# @param [String] update_mask
# Indicates fields to be cleared as part of this request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -28955,7 +29012,7 @@ def patch_organization_security_policy(security_policy, security_policy_object =
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
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)
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)
command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/patchRule', options)
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
command.request_object = security_policy_rule_object
Expand All @@ -28964,6 +29021,7 @@ def patch_organization_security_policy_rule(security_policy, security_policy_rul
command.params['securityPolicy'] = security_policy unless security_policy.nil?
command.query['priority'] = priority unless priority.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
Expand Down Expand Up @@ -30123,7 +30181,14 @@ def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil
execute_or_queue_command(command, &block)
end

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