Skip to content

Commit c0eca1f

Browse files
feat: Automated regeneration of compute alpha client (#25373)
Auto-created at 2026-01-18 09:36:04 +0000 using the toys pull request generator.
1 parent 9f3493f commit c0eca1f

File tree

6 files changed

+46
-53
lines changed

6 files changed

+46
-53
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98138,6 +98138,7 @@
9813898138
"/compute:alpha/ReservationSlot/id": id
9813998139
"/compute:alpha/ReservationSlot/kind": kind
9814098140
"/compute:alpha/ReservationSlot/name": name
98141+
"/compute:alpha/ReservationSlot/physicalTopology": physical_topology
9814198142
"/compute:alpha/ReservationSlot/selfLink": self_link
9814298143
"/compute:alpha/ReservationSlot/selfLinkWithId": self_link_with_id
9814398144
"/compute:alpha/ReservationSlot/shareSettings": share_settings

generated/google-apis-compute_alpha/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_alpha
22

3+
### v0.130.0 (2026-01-18)
4+
5+
* Regenerated from discovery document revision 20260113
6+
37
### v0.129.0 (2026-01-11)
48

59
* Regenerated from discovery document revision 20251230

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

Lines changed: 29 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -5192,18 +5192,6 @@ class BackendService
51925192
# @return [Array<Google::Apis::ComputeAlpha::BackendServiceUsedBy>]
51935193
attr_accessor :used_by
51945194

5195-
# The network scope of the backends that can be added to the backend
5196-
# service. This field can be either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK.
5197-
# A backend service with the VPC scope set to GLOBAL_VPC_NETWORK
5198-
# is only allowed to have backends in global VPC networks.
5199-
# When the VPC scope is set to REGIONAL_VPC_NETWORK the backend
5200-
# service is only allowed to have backends in regional networks in the same
5201-
# scope as the backend service.
5202-
# Note: if not specified then GLOBAL_VPC_NETWORK will be used.
5203-
# Corresponds to the JSON property `vpcNetworkScope`
5204-
# @return [String]
5205-
attr_accessor :vpc_network_scope
5206-
52075195
def initialize(**args)
52085196
update!(**args)
52095197
end
@@ -5264,7 +5252,6 @@ def update!(**args)
52645252
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
52655253
@tls_settings = args[:tls_settings] if args.key?(:tls_settings)
52665254
@used_by = args[:used_by] if args.key?(:used_by)
5267-
@vpc_network_scope = args[:vpc_network_scope] if args.key?(:vpc_network_scope)
52685255
end
52695256
end
52705257

@@ -31978,6 +31965,7 @@ class InterconnectAttachment
3197831965
# - BPS_20G: 20 Gbit/s
3197931966
# - BPS_50G: 50 Gbit/s
3198031967
# - BPS_100G: 100 Gbit/s
31968+
# - BPS_400G: 400 Gbit/s
3198131969
# Corresponds to the JSON property `bandwidth`
3198231970
# @return [String]
3198331971
attr_accessor :bandwidth
@@ -33113,6 +33101,7 @@ class InterconnectAttachmentGroupsCreateMembersInterconnectAttachmentInput
3311333101
# - BPS_20G: 20 Gbit/s
3311433102
# - BPS_50G: 50 Gbit/s
3311533103
# - BPS_100G: 100 Gbit/s
33104+
# - BPS_400G: 400 Gbit/s
3311633105
# Corresponds to the JSON property `bandwidth`
3311733106
# @return [String]
3311833107
attr_accessor :bandwidth
@@ -56544,44 +56533,42 @@ def update!(**args)
5654456533
class ReservationSlot
5654556534
include Google::Apis::Core::Hashable
5654656535

56547-
# Output only. [Output Only] Creation timestamp inRFC3339 text format.
56536+
# Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
5654856537
# Corresponds to the JSON property `creationTimestamp`
5654956538
# @return [String]
5655056539
attr_accessor :creation_timestamp
5655156540

56552-
# An optional description of this resource.
56553-
# Corresponds to the JSON property `description`
56554-
# @return [String]
56555-
attr_accessor :description
56556-
56557-
# Output only. [Output Only] The unique identifier for the resource. This
56541+
# Output only. [Output Only] The unique identifier for this resource. This
5655856542
# identifier is
5655956543
# defined by the server.
5656056544
# Corresponds to the JSON property `id`
5656156545
# @return [Fixnum]
5656256546
attr_accessor :id
5656356547

56564-
# Output only. [Output Only] Type of the resource. Alwayscompute#reservationSlot
56548+
# Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot
5656556549
# for reservation slots.
5656656550
# Corresponds to the JSON property `kind`
5656756551
# @return [String]
5656856552
attr_accessor :kind
5656956553

56570-
# Output only. [Output Only] The name of this reservation slot generated by
56571-
# Compute Engine. The name must be 1-63 characters long, and comply with
56572-
# RFC1035 @pattern [a-z](?:[-a-z0-9]`0,61`[a-z0-9])?
56554+
# Output only. [Output Only] The name of the reservation slot.
5657356555
# Corresponds to the JSON property `name`
5657456556
# @return [String]
5657556557
attr_accessor :name
5657656558

56577-
# Output only. [Output Only] Server-defined fully-qualified URL for this
56559+
# Output only. [Output Only] The physical topology of the reservation slot.
56560+
# Corresponds to the JSON property `physicalTopology`
56561+
# @return [Google::Apis::ComputeAlpha::ReservationSlotPhysicalTopology]
56562+
attr_accessor :physical_topology
56563+
56564+
# Output only. [Output Only] A server-defined fully-qualified URL for this
5657856565
# resource.
5657956566
# Corresponds to the JSON property `selfLink`
5658056567
# @return [String]
5658156568
attr_accessor :self_link
5658256569

56583-
# Output only. [Output Only] Server-defined URL for this resource with the
56584-
# resource id.
56570+
# Output only. [Output Only] A server-defined URL for this resource with the
56571+
# resource ID.
5658556572
# Corresponds to the JSON property `selfLinkWithId`
5658656573
# @return [String]
5658756574
attr_accessor :self_link_with_id
@@ -56591,7 +56578,7 @@ class ReservationSlot
5659156578
# @return [Google::Apis::ComputeAlpha::ShareSettings]
5659256579
attr_accessor :share_settings
5659356580

56594-
# Output only. [Output Only] State of the reservation slot.
56581+
# Output only. [Output Only] The state of the reservation slot.
5659556582
# Corresponds to the JSON property `state`
5659656583
# @return [String]
5659756584
attr_accessor :state
@@ -56601,7 +56588,7 @@ class ReservationSlot
5660156588
# @return [Google::Apis::ComputeAlpha::ReservationSlotStatus]
5660256589
attr_accessor :status
5660356590

56604-
# Output only. [Output Only] Zone in which the reservation slot resides.
56591+
# Output only. [Output Only] The zone in which the reservation slot resides.
5660556592
# Corresponds to the JSON property `zone`
5660656593
# @return [String]
5660756594
attr_accessor :zone
@@ -56613,10 +56600,10 @@ def initialize(**args)
5661356600
# Update properties of this object
5661456601
def update!(**args)
5661556602
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
56616-
@description = args[:description] if args.key?(:description)
5661756603
@id = args[:id] if args.key?(:id)
5661856604
@kind = args[:kind] if args.key?(:kind)
5661956605
@name = args[:name] if args.key?(:name)
56606+
@physical_topology = args[:physical_topology] if args.key?(:physical_topology)
5662056607
@self_link = args[:self_link] if args.key?(:self_link)
5662156608
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
5662256609
@share_settings = args[:share_settings] if args.key?(:share_settings)
@@ -56630,22 +56617,23 @@ def update!(**args)
5663056617
class ReservationSlotPhysicalTopology
5663156618
include Google::Apis::Core::Hashable
5663256619

56633-
# The hash of the capacity block within the cluster.
56620+
# The unique identifier of the capacity block within the cluster.
5663456621
# Corresponds to the JSON property `block`
5663556622
# @return [String]
5663656623
attr_accessor :block
5663756624

56638-
# The cluster name of the reservation subBlock.
56625+
# The cluster name of the reservation sub-block.
5663956626
# Corresponds to the JSON property `cluster`
5664056627
# @return [String]
5664156628
attr_accessor :cluster
5664256629

56643-
# The hash of the capacity host within the capacity sub-block.
56630+
# The unique identifier of the capacity host within the capacity sub-block.
5664456631
# Corresponds to the JSON property `host`
5664556632
# @return [String]
5664656633
attr_accessor :host
5664756634

56648-
# The hash of the capacity sub-block within the capacity block.
56635+
# The unique identifier of the capacity sub-block within the capacity
56636+
# block.
5664956637
# Corresponds to the JSON property `subBlock`
5665056638
# @return [String]
5665156639
attr_accessor :sub_block
@@ -56667,7 +56655,7 @@ def update!(**args)
5666756655
class ReservationSlotStatus
5666856656
include Google::Apis::Core::Hashable
5666956657

56670-
# Output only. [Output Only] The physical topology of the reservation subBlock.
56658+
# Output only. [Output Only] The physical topology of the reservation sub-block.
5667156659
# Corresponds to the JSON property `physicalTopology`
5667256660
# @return [Google::Apis::ComputeAlpha::ReservationSlotPhysicalTopology]
5667356661
attr_accessor :physical_topology
@@ -56713,11 +56701,11 @@ def update!(**args)
5671356701
end
5671456702
end
5671556703

56716-
# A list of reservation slots under a single reservation.
56704+
# A list of reservation slots within a single reservation.
5671756705
class ReservationSlotsListResponse
5671856706
include Google::Apis::Core::Hashable
5671956707

56720-
# Unique identifier for the resource; defined by the server.
56708+
# The unique identifier for the resource; defined by the server.
5672156709
# Corresponds to the JSON property `id`
5672256710
# @return [String]
5672356711
attr_accessor :id
@@ -56727,7 +56715,7 @@ class ReservationSlotsListResponse
5672756715
# @return [Array<Google::Apis::ComputeAlpha::ReservationSlot>]
5672856716
attr_accessor :items
5672956717

56730-
# Type of the resource. Alwayscompute#reservationSlot for a list of reservation
56718+
# The type of resource. Alwayscompute#reservationSlot for a list of reservation
5673156719
# slots.
5673256720
# Corresponds to the JSON property `kind`
5673356721
# @return [String]
@@ -56743,12 +56731,12 @@ class ReservationSlotsListResponse
5674356731
# @return [String]
5674456732
attr_accessor :next_page_token
5674556733

56746-
# Server-defined URL for this resource.
56734+
# The server-defined URL for this resource.
5674756735
# Corresponds to the JSON property `selfLink`
5674856736
# @return [String]
5674956737
attr_accessor :self_link
5675056738

56751-
# Informational warning message.
56739+
# An informational warning message.
5675256740
# Corresponds to the JSON property `warning`
5675356741
# @return [Google::Apis::ComputeAlpha::ReservationSlotsListResponse::Warning]
5675456742
attr_accessor :warning
@@ -56767,7 +56755,7 @@ def update!(**args)
5676756755
@warning = args[:warning] if args.key?(:warning)
5676856756
end
5676956757

56770-
# Informational warning message.
56758+
# An informational warning message.
5677156759
class Warning
5677256760
include Google::Apis::Core::Hashable
5677356761

generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/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 ComputeAlpha
1818
# Version of the google-apis-compute_alpha gem
19-
GEM_VERSION = "0.129.0"
19+
GEM_VERSION = "0.130.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 = "20251230"
25+
REVISION = "20260113"
2626
end
2727
end
2828
end

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11158,7 +11158,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
1115811158

1115911159
collection :used_by, as: 'usedBy', class: Google::Apis::ComputeAlpha::BackendServiceUsedBy, decorator: Google::Apis::ComputeAlpha::BackendServiceUsedBy::Representation
1116011160

11161-
property :vpc_network_scope, as: 'vpcNetworkScope'
1116211161
end
1116311162
end
1116411163

@@ -23092,10 +23091,11 @@ class ReservationSlot
2309223091
# @private
2309323092
class Representation < Google::Apis::Core::JsonRepresentation
2309423093
property :creation_timestamp, as: 'creationTimestamp'
23095-
property :description, as: 'description'
2309623094
property :id, :numeric_string => true, as: 'id'
2309723095
property :kind, as: 'kind'
2309823096
property :name, as: 'name'
23097+
property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeAlpha::ReservationSlotPhysicalTopology, decorator: Google::Apis::ComputeAlpha::ReservationSlotPhysicalTopology::Representation
23098+
2309923099
property :self_link, as: 'selfLink'
2310023100
property :self_link_with_id, as: 'selfLinkWithId'
2310123101
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeAlpha::ShareSettings, decorator: Google::Apis::ComputeAlpha::ShareSettings::Representation

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53233,16 +53233,16 @@ def perform_reservation_block_maintenance(project, zone, reservation, reservatio
5323353233

5323453234
# Retrieves information about the specified reservation slot.
5323553235
# @param [String] project
53236-
# Project ID for this request.
53236+
# The project ID for this request.
5323753237
# @param [String] zone
53238-
# Name of the zone for this request. Zone name should conform to RFC1035.
53238+
# The name of the zone for this request, formatted as RFC1035.
5323953239
# @param [String] parent_name
53240-
# The name of the parent reservation and parent block. In the format of
53240+
# The name of the parent reservation and parent block, formatted as
5324153241
# reservations/`reservation_name`/reservationBlocks/`reservation_block_name`/
5324253242
# reservationSubBlocks/`reservation_sub_block_name`
5324353243
# @param [String] reservation_slot
53244-
# The name of the reservation slot.
53245-
# Name should conform to RFC1035 or be a resource ID.
53244+
# The name of the reservation slot, formatted as RFC1035 or a resource ID
53245+
# number.
5324653246
# @param [String] fields
5324753247
# Selector specifying which fields to include in a partial response.
5324853248
# @param [String] quota_user
@@ -53278,11 +53278,11 @@ def get_reservation_slot(project, zone, parent_name, reservation_slot, fields: n
5327853278

5327953279
# Retrieves a list of reservation slots under a single reservation.
5328053280
# @param [String] project
53281-
# Project ID for this request.
53281+
# The project ID for this request.
5328253282
# @param [String] zone
53283-
# Name of the zone for this request. Zone name should conform to RFC1035.
53283+
# The name of the zone for this request, formatted as RFC1035.
5328453284
# @param [String] parent_name
53285-
# The name of the parent reservation and parent block. In the format of
53285+
# The name of the parent reservation and parent block, formatted as
5328653286
# reservations/`reservation_name`/reservationBlocks/`reservation_block_name`/
5328753287
# reservationSubBlocks/`reservation_sub_block_name`
5328853288
# @param [String] filter

0 commit comments

Comments
 (0)