google-apis-compute_alpha 0.111.0 → 0.113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: acef2c1d82a1657a35ef8388d694bad0e125b61b69dabe7230275059182c9041
4
- data.tar.gz: 250eb03e0ece205b4951bad8a071b1570a3db71307b98dc90afe2c7978485ffe
3
+ metadata.gz: 9c949c00a164bf9bf4e659a63f25756a692321225e5025043f795c27a4b3eddd
4
+ data.tar.gz: 37bbd06b3b5c65a5de76debba21ee69e148759c9723ed3d60fdb760e0896d463
5
5
  SHA512:
6
- metadata.gz: 4dca6a871c96175ce86939e7499212c6531747d781089161cff05bfe5049fee6b5115bfa93c5d9c7040732ed9f29f99b218d8b9ea0f1ecc8677852c5da6e70a2
7
- data.tar.gz: ac748738e39e104179d8fb3a3b439d5df1c1b4990349c5d8c7a3b5b62bbb0725ed0d0d4d88c98e4fdf501d298eeada3fdd2a9db60f1509e2f1dcd4be170decf5
6
+ metadata.gz: 209f3f1b32483b4f0b455dacfc76d29624028acf063a2c1807d99feaa9b498cbcc2d2aa852cbd4cb0cd17a827cc0121de2e97f4340758facc133bdf5983be1f0
7
+ data.tar.gz: df2ce3e396d02c4d94363e4ba402a3e765854d2597bec4122a942e752e48efd28447e7717ce12dee03ba79c35dfbb48e8bf4315e4100bed212f34876258ef0a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.113.0 (2025-05-11)
4
+
5
+ * Regenerated from discovery document revision 20250505
6
+
7
+ ### v0.112.0 (2025-05-04)
8
+
9
+ * Regenerated from discovery document revision 20250427
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.111.0 (2025-04-20)
4
13
 
5
14
  * Regenerated from discovery document revision 20250415
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/compute/) may provide guida
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -4101,7 +4101,7 @@ module Google
4101
4101
  # faster table lookup build times and host selection times. For more information
4102
4102
  # about Maglev, see https://ai.google/research/pubs/pub44824 This field is
4103
4103
  # applicable to either: - A regional backend service with the service_protocol
4104
- # set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to
4104
+ # set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme set to
4105
4105
  # INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme
4106
4106
  # set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If
4107
4107
  # sessionAffinity is not configured—that is, if session affinity remains at the
@@ -4184,11 +4184,11 @@ module Google
4184
4184
  attr_accessor :port_name
4185
4185
 
4186
4186
  # The protocol this BackendService uses to communicate with backends. Possible
4187
- # values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen
4188
- # load balancer or Traffic Director configuration. Refer to the documentation
4189
- # for the load balancers or for Traffic Director for more information. Must be
4190
- # set to GRPC when the backend service is referenced by a URL map that is bound
4191
- # to target gRPC proxy.
4187
+ # values are HTTP, HTTPS, HTTP2, H2C, TCP, SSL, UDP or GRPC. depending on the
4188
+ # chosen load balancer or Traffic Director configuration. Refer to the
4189
+ # documentation for the load balancers or for Traffic Director for more
4190
+ # information. Must be set to GRPC when the backend service is referenced by a
4191
+ # URL map that is bound to target gRPC proxy.
4192
4192
  # Corresponds to the JSON property `protocol`
4193
4193
  # @return [String]
4194
4194
  attr_accessor :protocol
@@ -12156,6 +12156,12 @@ module Google
12156
12156
  # @return [String]
12157
12157
  attr_accessor :dest_network_scope
12158
12158
 
12159
+ # Network type of the traffic destination. Allowed values are: - UNSPECIFIED -
12160
+ # INTERNET - NON_INTERNET
12161
+ # Corresponds to the JSON property `destNetworkType`
12162
+ # @return [String]
12163
+ attr_accessor :dest_network_type
12164
+
12159
12165
  # Region codes whose IP addresses will be used to match for destination of
12160
12166
  # traffic. Should be specified as 2 letter country code defined as per ISO 3166
12161
12167
  # alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is
@@ -12197,6 +12203,12 @@ module Google
12197
12203
  # @return [String]
12198
12204
  attr_accessor :src_network_scope
12199
12205
 
12206
+ # Network type of the traffic source. Allowed values are: - UNSPECIFIED -
12207
+ # INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS
12208
+ # Corresponds to the JSON property `srcNetworkType`
12209
+ # @return [String]
12210
+ attr_accessor :src_network_type
12211
+
12200
12212
  # Networks of the traffic source. It can be either a full or partial url.
12201
12213
  # Corresponds to the JSON property `srcNetworks`
12202
12214
  # @return [Array<String>]
@@ -12233,6 +12245,7 @@ module Google
12233
12245
  @dest_fqdns = args[:dest_fqdns] if args.key?(:dest_fqdns)
12234
12246
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
12235
12247
  @dest_network_scope = args[:dest_network_scope] if args.key?(:dest_network_scope)
12248
+ @dest_network_type = args[:dest_network_type] if args.key?(:dest_network_type)
12236
12249
  @dest_region_codes = args[:dest_region_codes] if args.key?(:dest_region_codes)
12237
12250
  @dest_threat_intelligences = args[:dest_threat_intelligences] if args.key?(:dest_threat_intelligences)
12238
12251
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
@@ -12240,6 +12253,7 @@ module Google
12240
12253
  @src_fqdns = args[:src_fqdns] if args.key?(:src_fqdns)
12241
12254
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
12242
12255
  @src_network_scope = args[:src_network_scope] if args.key?(:src_network_scope)
12256
+ @src_network_type = args[:src_network_type] if args.key?(:src_network_type)
12243
12257
  @src_networks = args[:src_networks] if args.key?(:src_networks)
12244
12258
  @src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
12245
12259
  @src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
@@ -14748,6 +14762,16 @@ module Google
14748
14762
  class GroupMaintenanceInfo
14749
14763
  include Google::Apis::Core::Hashable
14750
14764
 
14765
+ # Describes number of instances that have ongoing maintenance.
14766
+ # Corresponds to the JSON property `instanceMaintenanceOngoingCount`
14767
+ # @return [Fixnum]
14768
+ attr_accessor :instance_maintenance_ongoing_count
14769
+
14770
+ # Describes number of instances that have pending maintenance.
14771
+ # Corresponds to the JSON property `instanceMaintenancePendingCount`
14772
+ # @return [Fixnum]
14773
+ attr_accessor :instance_maintenance_pending_count
14774
+
14751
14775
  # Progress for ongoing maintenance for this group of VMs/hosts. Describes number
14752
14776
  # of hosts in the block that have ongoing maintenance.
14753
14777
  # Corresponds to the JSON property `maintenanceOngoingCount`
@@ -14765,6 +14789,22 @@ module Google
14765
14789
  # @return [String]
14766
14790
  attr_accessor :scheduling_type
14767
14791
 
14792
+ # Describes number of subblock Infrastructure that has ongoing maintenance. Here,
14793
+ # Subblock Infrastructure Maintenance pertains to upstream hardware contained
14794
+ # in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not
14795
+ # all VM Families will support this field.
14796
+ # Corresponds to the JSON property `subblockInfraMaintenanceOngoingCount`
14797
+ # @return [Fixnum]
14798
+ attr_accessor :subblock_infra_maintenance_ongoing_count
14799
+
14800
+ # Describes number of subblock Infrastructure that has pending maintenance. Here,
14801
+ # Subblock Infrastructure Maintenance pertains to upstream hardware contained
14802
+ # in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not
14803
+ # all VM Families will support this field.
14804
+ # Corresponds to the JSON property `subblockInfraMaintenancePendingCount`
14805
+ # @return [Fixnum]
14806
+ attr_accessor :subblock_infra_maintenance_pending_count
14807
+
14768
14808
  # Upcoming Maintenance notification information.
14769
14809
  # Corresponds to the JSON property `upcomingGroupMaintenance`
14770
14810
  # @return [Google::Apis::ComputeAlpha::UpcomingMaintenance]
@@ -14776,9 +14816,13 @@ module Google
14776
14816
 
14777
14817
  # Update properties of this object
14778
14818
  def update!(**args)
14819
+ @instance_maintenance_ongoing_count = args[:instance_maintenance_ongoing_count] if args.key?(:instance_maintenance_ongoing_count)
14820
+ @instance_maintenance_pending_count = args[:instance_maintenance_pending_count] if args.key?(:instance_maintenance_pending_count)
14779
14821
  @maintenance_ongoing_count = args[:maintenance_ongoing_count] if args.key?(:maintenance_ongoing_count)
14780
14822
  @maintenance_pending_count = args[:maintenance_pending_count] if args.key?(:maintenance_pending_count)
14781
14823
  @scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
14824
+ @subblock_infra_maintenance_ongoing_count = args[:subblock_infra_maintenance_ongoing_count] if args.key?(:subblock_infra_maintenance_ongoing_count)
14825
+ @subblock_infra_maintenance_pending_count = args[:subblock_infra_maintenance_pending_count] if args.key?(:subblock_infra_maintenance_pending_count)
14782
14826
  @upcoming_group_maintenance = args[:upcoming_group_maintenance] if args.key?(:upcoming_group_maintenance)
14783
14827
  end
14784
14828
  end
@@ -20745,6 +20789,11 @@ module Google
20745
20789
  # @return [String]
20746
20790
  attr_accessor :on_failed_health_check
20747
20791
 
20792
+ # Configuration for VM repairs in the MIG.
20793
+ # Corresponds to the JSON property `onRepair`
20794
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyOnRepair]
20795
+ attr_accessor :on_repair
20796
+
20748
20797
  def initialize(**args)
20749
20798
  update!(**args)
20750
20799
  end
@@ -20755,6 +20804,7 @@ module Google
20755
20804
  @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
20756
20805
  @metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
20757
20806
  @on_failed_health_check = args[:on_failed_health_check] if args.key?(:on_failed_health_check)
20807
+ @on_repair = args[:on_repair] if args.key?(:on_repair)
20758
20808
  end
20759
20809
  end
20760
20810
 
@@ -20778,6 +20828,25 @@ module Google
20778
20828
  end
20779
20829
  end
20780
20830
 
20831
+ # Configuration for VM repairs in the MIG.
20832
+ class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
20833
+ include Google::Apis::Core::Hashable
20834
+
20835
+ # Specifies whether the MIG can change a VM's zone during repair.
20836
+ # Corresponds to the JSON property `allowChangingZone`
20837
+ # @return [String]
20838
+ attr_accessor :allow_changing_zone
20839
+
20840
+ def initialize(**args)
20841
+ update!(**args)
20842
+ end
20843
+
20844
+ # Update properties of this object
20845
+ def update!(**args)
20846
+ @allow_changing_zone = args[:allow_changing_zone] if args.key?(:allow_changing_zone)
20847
+ end
20848
+ end
20849
+
20781
20850
  # [Output Only] A list of managed instance groups.
20782
20851
  class InstanceGroupManagerList
20783
20852
  include Google::Apis::Core::Hashable
@@ -26047,8 +26116,8 @@ module Google
26047
26116
  attr_accessor :labels
26048
26117
 
26049
26118
  # Maximum Transmission Unit (MTU), in bytes, of packets passing through this
26050
- # interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the
26051
- # value will default to 1440.
26119
+ # interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not
26120
+ # specified, the value will default to 1440.
26052
26121
  # Corresponds to the JSON property `mtu`
26053
26122
  # @return [Fixnum]
26054
26123
  attr_accessor :mtu
@@ -27001,8 +27070,8 @@ module Google
27001
27070
  attr_accessor :l2_forwarding
27002
27071
 
27003
27072
  # Maximum Transmission Unit (MTU), in bytes, of packets passing through this
27004
- # interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the
27005
- # value will default to 1440.
27073
+ # interconnect attachment. Valid values are 1440, 1460, 1500, or 8896. If not
27074
+ # specified, the value will default to 1440.
27006
27075
  # Corresponds to the JSON property `mtu`
27007
27076
  # @return [Fixnum]
27008
27077
  attr_accessor :mtu
@@ -27014,12 +27083,13 @@ module Google
27014
27083
  attr_accessor :multicast_enabled
27015
27084
  alias_method :multicast_enabled?, :multicast_enabled
27016
27085
 
27017
- # Name of the resource. Provided by the client when the resource is created. The
27018
- # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
27019
- # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
27020
- # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
27021
- # and all following characters must be a dash, lowercase letter, or digit,
27022
- # except the last character, which cannot be a dash.
27086
+ # Name of the resource. Provided by the client when the resource is created.
27087
+ # Must be set on either the template_attachment or on each specific attachment.
27088
+ # If set, the name must be 1-63 characters long, and comply with RFC1035.
27089
+ # Specifically, the name must be 1-63 characters long and match the regular
27090
+ # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
27091
+ # be a lowercase letter, and all following characters must be a dash, lowercase
27092
+ # letter, or digit, except the last character, which cannot be a dash.
27023
27093
  # Corresponds to the JSON property `name`
27024
27094
  # @return [String]
27025
27095
  attr_accessor :name
@@ -28500,8 +28570,9 @@ module Google
28500
28570
  # @return [String]
28501
28571
  attr_accessor :link_type
28502
28572
 
28503
- # Name of the resource. Provided by the client when the resource is created. The
28504
- # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
28573
+ # Name of the Interconnects to be created. This must be specified on the
28574
+ # template and/or on each individual interconnect. The name, if not empty, must
28575
+ # be 1-63 characters long, and comply with RFC1035. Specifically, any nonempty
28505
28576
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
28506
28577
  # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
28507
28578
  # and all following characters must be a dash, lowercase letter, or digit,
@@ -29256,6 +29327,13 @@ module Google
29256
29327
  # @return [Fixnum]
29257
29328
  attr_accessor :expected_rtt_ms
29258
29329
 
29330
+ # Identifies whether L2 Interconnect Attachments can be created in this region
29331
+ # for interconnects that are in this location.
29332
+ # Corresponds to the JSON property `l2ForwardingEnabled`
29333
+ # @return [Boolean]
29334
+ attr_accessor :l2_forwarding_enabled
29335
+ alias_method :l2_forwarding_enabled?, :l2_forwarding_enabled
29336
+
29259
29337
  # Identifies the network presence of this location.
29260
29338
  # Corresponds to the JSON property `locationPresence`
29261
29339
  # @return [String]
@@ -29273,6 +29351,7 @@ module Google
29273
29351
  # Update properties of this object
29274
29352
  def update!(**args)
29275
29353
  @expected_rtt_ms = args[:expected_rtt_ms] if args.key?(:expected_rtt_ms)
29354
+ @l2_forwarding_enabled = args[:l2_forwarding_enabled] if args.key?(:l2_forwarding_enabled)
29276
29355
  @location_presence = args[:location_presence] if args.key?(:location_presence)
29277
29356
  @region = args[:region] if args.key?(:region)
29278
29357
  end
@@ -32459,8 +32538,8 @@ module Google
32459
32538
  class ManagedInstanceScheduling
32460
32539
  include Google::Apis::Core::Hashable
32461
32540
 
32462
- # [Output Only] The timestamp when the MIG will automatically terminate the
32463
- # instance. The value is in RFC3339 text format.
32541
+ # [Output Only] The timestamp at which the managed instance will be terminated.
32542
+ # This is in RFC3339 text format.
32464
32543
  # Corresponds to the JSON property `terminationTimestamp`
32465
32544
  # @return [String]
32466
32545
  attr_accessor :termination_timestamp
@@ -36055,9 +36134,9 @@ module Google
36055
36134
  class NetworkPeeringConnectionStatus
36056
36135
  include Google::Apis::Core::Hashable
36057
36136
 
36058
- # Surfaces relevant state for a consensus peering connection update/delete
36059
- # semantics. Only set when connection_status.update_strategy is CONSENSUS or one
36060
- # network peering is proposing upgrading to CONSENSUS.
36137
+ # The status of update/delete for a consensus peering connection. Only set when
36138
+ # connection_status.update_strategy is CONSENSUS or a network peering is
36139
+ # proposing to update the strategy to CONSENSUS.
36061
36140
  # Corresponds to the JSON property `consensusState`
36062
36141
  # @return [Google::Apis::ComputeAlpha::NetworkPeeringConnectionStatusConsensusState]
36063
36142
  attr_accessor :consensus_state
@@ -36086,9 +36165,9 @@ module Google
36086
36165
  end
36087
36166
  end
36088
36167
 
36089
- # Surfaces relevant state for a consensus peering connection update/delete
36090
- # semantics. Only set when connection_status.update_strategy is CONSENSUS or one
36091
- # network peering is proposing upgrading to CONSENSUS.
36168
+ # The status of update/delete for a consensus peering connection. Only set when
36169
+ # connection_status.update_strategy is CONSENSUS or a network peering is
36170
+ # proposing to update the strategy to CONSENSUS.
36092
36171
  class NetworkPeeringConnectionStatusConsensusState
36093
36172
  include Google::Apis::Core::Hashable
36094
36173
 
@@ -36123,20 +36202,20 @@ module Google
36123
36202
  attr_accessor :export_custom_routes_to_peer
36124
36203
  alias_method :export_custom_routes_to_peer?, :export_custom_routes_to_peer
36125
36204
 
36126
- # Whether subnet routes with public IP range are being exported to the peer
36205
+ # Whether subnet routes with public IP ranges are being exported to the peer
36127
36206
  # network.
36128
36207
  # Corresponds to the JSON property `exportSubnetRoutesWithPublicIpToPeer`
36129
36208
  # @return [Boolean]
36130
36209
  attr_accessor :export_subnet_routes_with_public_ip_to_peer
36131
36210
  alias_method :export_subnet_routes_with_public_ip_to_peer?, :export_subnet_routes_with_public_ip_to_peer
36132
36211
 
36133
- # Whether custom routes is being imported from the peer network.
36212
+ # Whether custom routes are being imported from the peer network.
36134
36213
  # Corresponds to the JSON property `importCustomRoutesFromPeer`
36135
36214
  # @return [Boolean]
36136
36215
  attr_accessor :import_custom_routes_from_peer
36137
36216
  alias_method :import_custom_routes_from_peer?, :import_custom_routes_from_peer
36138
36217
 
36139
- # Whether subnet routes with public IP range are being imported from the peer
36218
+ # Whether subnet routes with public IP ranges are being imported from the peer
36140
36219
  # network.
36141
36220
  # Corresponds to the JSON property `importSubnetRoutesWithPublicIpFromPeer`
36142
36221
  # @return [Boolean]
@@ -42480,8 +42559,8 @@ module Google
42480
42559
  # following values: - `INITIALIZING` The public delegated prefix is being
42481
42560
  # initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The
42482
42561
  # public delegated prefix is a live migration prefix and is active. - `ANNOUNCED`
42483
- # The public delegated prefix is active. - `DELETING` The public delegated
42484
- # prefix is being deprovsioned.
42562
+ # The public delegated prefix is announced and ready to use. - `DELETING` The
42563
+ # public delegated prefix is being deprovsioned.
42485
42564
  # Corresponds to the JSON property `status`
42486
42565
  # @return [String]
42487
42566
  attr_accessor :status
@@ -46105,6 +46184,13 @@ module Google
46105
46184
  # @return [String]
46106
46185
  attr_accessor :name
46107
46186
 
46187
+ # Protection tier for the workload which specifies the workload expectations in
46188
+ # the event of infrastructure failures at data center (e.g. power and/or cooling
46189
+ # failures).
46190
+ # Corresponds to the JSON property `protectionTier`
46191
+ # @return [String]
46192
+ attr_accessor :protection_tier
46193
+
46108
46194
  # [Output only] Indicates the reservation mode of the reservation.
46109
46195
  # Corresponds to the JSON property `reservationMode`
46110
46196
  # @return [String]
@@ -46134,6 +46220,11 @@ module Google
46134
46220
  attr_accessor :satisfies_pzs
46135
46221
  alias_method :satisfies_pzs?, :satisfies_pzs
46136
46222
 
46223
+ # The type of maintenance for the reservation.
46224
+ # Corresponds to the JSON property `schedulingType`
46225
+ # @return [String]
46226
+ attr_accessor :scheduling_type
46227
+
46137
46228
  # [Output Only] Server-defined fully-qualified URL for this resource.
46138
46229
  # Corresponds to the JSON property `selfLink`
46139
46230
  # @return [String]
@@ -46194,11 +46285,13 @@ module Google
46194
46285
  @kind = args[:kind] if args.key?(:kind)
46195
46286
  @linked_commitments = args[:linked_commitments] if args.key?(:linked_commitments)
46196
46287
  @name = args[:name] if args.key?(:name)
46288
+ @protection_tier = args[:protection_tier] if args.key?(:protection_tier)
46197
46289
  @reservation_mode = args[:reservation_mode] if args.key?(:reservation_mode)
46198
46290
  @reservation_sharing_policy = args[:reservation_sharing_policy] if args.key?(:reservation_sharing_policy)
46199
46291
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
46200
46292
  @resource_status = args[:resource_status] if args.key?(:resource_status)
46201
46293
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
46294
+ @scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
46202
46295
  @self_link = args[:self_link] if args.key?(:self_link)
46203
46296
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
46204
46297
  @share_settings = args[:share_settings] if args.key?(:share_settings)
@@ -46811,6 +46904,11 @@ module Google
46811
46904
  # @return [Google::Apis::ComputeAlpha::ReservationSubBlockPhysicalTopology]
46812
46905
  attr_accessor :physical_topology
46813
46906
 
46907
+ # Maintenance Info for ReservationBlocks.
46908
+ # Corresponds to the JSON property `reservationSubBlockMaintenance`
46909
+ # @return [Google::Apis::ComputeAlpha::GroupMaintenanceInfo]
46910
+ attr_accessor :reservation_sub_block_maintenance
46911
+
46814
46912
  # [Output Only] Server-defined fully-qualified URL for this resource.
46815
46913
  # Corresponds to the JSON property `selfLink`
46816
46914
  # @return [String]
@@ -46844,6 +46942,7 @@ module Google
46844
46942
  @kind = args[:kind] if args.key?(:kind)
46845
46943
  @name = args[:name] if args.key?(:name)
46846
46944
  @physical_topology = args[:physical_topology] if args.key?(:physical_topology)
46945
+ @reservation_sub_block_maintenance = args[:reservation_sub_block_maintenance] if args.key?(:reservation_sub_block_maintenance)
46847
46946
  @self_link = args[:self_link] if args.key?(:self_link)
46848
46947
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
46849
46948
  @status = args[:status] if args.key?(:status)
@@ -48450,12 +48549,48 @@ module Google
48450
48549
  class ResourceStatusEffectiveInstanceMetadata
48451
48550
  include Google::Apis::Core::Hashable
48452
48551
 
48552
+ # Effective block-project-ssh-keys value at Instance level.
48553
+ # Corresponds to the JSON property `blockProjectSshKeysMetadataValue`
48554
+ # @return [Boolean]
48555
+ attr_accessor :block_project_ssh_keys_metadata_value
48556
+ alias_method :block_project_ssh_keys_metadata_value?, :block_project_ssh_keys_metadata_value
48557
+
48558
+ # Effective enable-guest-attributes value at Instance level.
48559
+ # Corresponds to the JSON property `enableGuestAttributesMetadataValue`
48560
+ # @return [Boolean]
48561
+ attr_accessor :enable_guest_attributes_metadata_value
48562
+ alias_method :enable_guest_attributes_metadata_value?, :enable_guest_attributes_metadata_value
48563
+
48564
+ # Effective enable-os-inventory value at Instance level.
48565
+ # Corresponds to the JSON property `enableOsInventoryMetadataValue`
48566
+ # @return [Boolean]
48567
+ attr_accessor :enable_os_inventory_metadata_value
48568
+ alias_method :enable_os_inventory_metadata_value?, :enable_os_inventory_metadata_value
48569
+
48570
+ # Effective enable-osconfig value at Instance level.
48571
+ # Corresponds to the JSON property `enableOsconfigMetadataValue`
48572
+ # @return [Boolean]
48573
+ attr_accessor :enable_osconfig_metadata_value
48574
+ alias_method :enable_osconfig_metadata_value?, :enable_osconfig_metadata_value
48575
+
48453
48576
  # Effective enable-oslogin value at Instance level.
48454
48577
  # Corresponds to the JSON property `enableOsloginMetadataValue`
48455
48578
  # @return [Boolean]
48456
48579
  attr_accessor :enable_oslogin_metadata_value
48457
48580
  alias_method :enable_oslogin_metadata_value?, :enable_oslogin_metadata_value
48458
48581
 
48582
+ # Effective serial-port-enable value at Instance level.
48583
+ # Corresponds to the JSON property `serialPortEnableMetadataValue`
48584
+ # @return [Boolean]
48585
+ attr_accessor :serial_port_enable_metadata_value
48586
+ alias_method :serial_port_enable_metadata_value?, :serial_port_enable_metadata_value
48587
+
48588
+ # Effective serial-port-logging-enable value at Instance level.
48589
+ # Corresponds to the JSON property `serialPortLoggingEnableMetadataValue`
48590
+ # @return [Boolean]
48591
+ attr_accessor :serial_port_logging_enable_metadata_value
48592
+ alias_method :serial_port_logging_enable_metadata_value?, :serial_port_logging_enable_metadata_value
48593
+
48459
48594
  # Effective VM DNS setting at Instance level.
48460
48595
  # Corresponds to the JSON property `vmDnsSettingMetadataValue`
48461
48596
  # @return [String]
@@ -48467,7 +48602,13 @@ module Google
48467
48602
 
48468
48603
  # Update properties of this object
48469
48604
  def update!(**args)
48605
+ @block_project_ssh_keys_metadata_value = args[:block_project_ssh_keys_metadata_value] if args.key?(:block_project_ssh_keys_metadata_value)
48606
+ @enable_guest_attributes_metadata_value = args[:enable_guest_attributes_metadata_value] if args.key?(:enable_guest_attributes_metadata_value)
48607
+ @enable_os_inventory_metadata_value = args[:enable_os_inventory_metadata_value] if args.key?(:enable_os_inventory_metadata_value)
48608
+ @enable_osconfig_metadata_value = args[:enable_osconfig_metadata_value] if args.key?(:enable_osconfig_metadata_value)
48470
48609
  @enable_oslogin_metadata_value = args[:enable_oslogin_metadata_value] if args.key?(:enable_oslogin_metadata_value)
48610
+ @serial_port_enable_metadata_value = args[:serial_port_enable_metadata_value] if args.key?(:serial_port_enable_metadata_value)
48611
+ @serial_port_logging_enable_metadata_value = args[:serial_port_logging_enable_metadata_value] if args.key?(:serial_port_logging_enable_metadata_value)
48471
48612
  @vm_dns_setting_metadata_value = args[:vm_dns_setting_metadata_value] if args.key?(:vm_dns_setting_metadata_value)
48472
48613
  end
48473
48614
  end
@@ -52835,8 +52976,9 @@ module Google
52835
52976
  # @return [String]
52836
52977
  attr_accessor :log_level
52837
52978
 
52838
- # The maximum request size chosen by the customer with Waf enabled. Currently
52839
- # only "8KB" and "128KB" are supported. Values are case insensitive.
52979
+ # The maximum request size chosen by the customer with Waf enabled. Values
52980
+ # supported are "8KB", "16KB, "32KB", "48KB" and "64KB". Values are case
52981
+ # insensitive.
52840
52982
  # Corresponds to the JSON property `requestBodyInspectionSize`
52841
52983
  # @return [String]
52842
52984
  attr_accessor :request_body_inspection_size
@@ -52963,6 +53105,22 @@ module Google
52963
53105
  class SecurityPolicyDdosProtectionConfig
52964
53106
  include Google::Apis::Core::Hashable
52965
53107
 
53108
+ #
53109
+ # Corresponds to the JSON property `ddosAdaptiveProtection`
53110
+ # @return [String]
53111
+ attr_accessor :ddos_adaptive_protection
53112
+
53113
+ # Adaptive Protection for Network Load Balancers (and VMs with public IPs)
53114
+ # builds DDos mitigations that minimize collateral damage. It quantifies this as
53115
+ # the fraction of a non-abuse baseline that's inadvertently blocked. Rules whose
53116
+ # collateral damage exceeds ddosAdaptiveImpactedBaselineThreshold will not be
53117
+ # deployed. Using a lower value will prioritize keeping collateral damage low,
53118
+ # possibly at the cost of its effectiveness in rate limiting some or all of the
53119
+ # attack. It should typically be between 0.01 and 0.10.
53120
+ # Corresponds to the JSON property `ddosImpactedBaselineThreshold`
53121
+ # @return [Float]
53122
+ attr_accessor :ddos_impacted_baseline_threshold
53123
+
52966
53124
  #
52967
53125
  # Corresponds to the JSON property `ddosProtection`
52968
53126
  # @return [String]
@@ -52974,6 +53132,8 @@ module Google
52974
53132
 
52975
53133
  # Update properties of this object
52976
53134
  def update!(**args)
53135
+ @ddos_adaptive_protection = args[:ddos_adaptive_protection] if args.key?(:ddos_adaptive_protection)
53136
+ @ddos_impacted_baseline_threshold = args[:ddos_impacted_baseline_threshold] if args.key?(:ddos_impacted_baseline_threshold)
52977
53137
  @ddos_protection = args[:ddos_protection] if args.key?(:ddos_protection)
52978
53138
  end
52979
53139
  end
@@ -59366,6 +59526,18 @@ module Google
59366
59526
  # @return [String]
59367
59527
  attr_accessor :state
59368
59528
 
59529
+ # Output only. [Output Only] The array of external IPv6 network ranges reserved
59530
+ # from the subnetwork's external IPv6 range for system use.
59531
+ # Corresponds to the JSON property `systemReservedExternalIpv6Ranges`
59532
+ # @return [Array<String>]
59533
+ attr_accessor :system_reserved_external_ipv6_ranges
59534
+
59535
+ # Output only. [Output Only] The array of internal IPv6 network ranges reserved
59536
+ # from the subnetwork's internal IPv6 range for system use.
59537
+ # Corresponds to the JSON property `systemReservedInternalIpv6Ranges`
59538
+ # @return [Array<String>]
59539
+ attr_accessor :system_reserved_internal_ipv6_ranges
59540
+
59369
59541
  # The current IP utilization of all subnetwork ranges. Contains the total number
59370
59542
  # of allocated and free IPs in each range.
59371
59543
  # Corresponds to the JSON property `utilizationDetails`
@@ -59421,6 +59593,8 @@ module Google
59421
59593
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
59422
59594
  @stack_type = args[:stack_type] if args.key?(:stack_type)
59423
59595
  @state = args[:state] if args.key?(:state)
59596
+ @system_reserved_external_ipv6_ranges = args[:system_reserved_external_ipv6_ranges] if args.key?(:system_reserved_external_ipv6_ranges)
59597
+ @system_reserved_internal_ipv6_ranges = args[:system_reserved_internal_ipv6_ranges] if args.key?(:system_reserved_internal_ipv6_ranges)
59424
59598
  @utilization_details = args[:utilization_details] if args.key?(:utilization_details)
59425
59599
  @vlans = args[:vlans] if args.key?(:vlans)
59426
59600
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.111.0"
19
+ GEM_VERSION = "0.113.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250415"
25
+ REVISION = "20250505"
26
26
  end
27
27
  end
28
28
  end
@@ -2446,6 +2446,12 @@ module Google
2446
2446
  include Google::Apis::Core::JsonObjectSupport
2447
2447
  end
2448
2448
 
2449
+ class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
2450
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2451
+
2452
+ include Google::Apis::Core::JsonObjectSupport
2453
+ end
2454
+
2449
2455
  class InstanceGroupManagerList
2450
2456
  class Representation < Google::Apis::Core::JsonRepresentation; end
2451
2457
 
@@ -11794,6 +11800,7 @@ module Google
11794
11800
  collection :dest_fqdns, as: 'destFqdns'
11795
11801
  collection :dest_ip_ranges, as: 'destIpRanges'
11796
11802
  property :dest_network_scope, as: 'destNetworkScope'
11803
+ property :dest_network_type, as: 'destNetworkType'
11797
11804
  collection :dest_region_codes, as: 'destRegionCodes'
11798
11805
  collection :dest_threat_intelligences, as: 'destThreatIntelligences'
11799
11806
  collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config::Representation
@@ -11802,6 +11809,7 @@ module Google
11802
11809
  collection :src_fqdns, as: 'srcFqdns'
11803
11810
  collection :src_ip_ranges, as: 'srcIpRanges'
11804
11811
  property :src_network_scope, as: 'srcNetworkScope'
11812
+ property :src_network_type, as: 'srcNetworkType'
11805
11813
  collection :src_networks, as: 'srcNetworks'
11806
11814
  collection :src_region_codes, as: 'srcRegionCodes'
11807
11815
  collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag::Representation
@@ -12402,9 +12410,13 @@ module Google
12402
12410
  class GroupMaintenanceInfo
12403
12411
  # @private
12404
12412
  class Representation < Google::Apis::Core::JsonRepresentation
12413
+ property :instance_maintenance_ongoing_count, as: 'instanceMaintenanceOngoingCount'
12414
+ property :instance_maintenance_pending_count, as: 'instanceMaintenancePendingCount'
12405
12415
  property :maintenance_ongoing_count, as: 'maintenanceOngoingCount'
12406
12416
  property :maintenance_pending_count, as: 'maintenancePendingCount'
12407
12417
  property :scheduling_type, as: 'schedulingType'
12418
+ property :subblock_infra_maintenance_ongoing_count, as: 'subblockInfraMaintenanceOngoingCount'
12419
+ property :subblock_infra_maintenance_pending_count, as: 'subblockInfraMaintenancePendingCount'
12408
12420
  property :upcoming_group_maintenance, as: 'upcomingGroupMaintenance', class: Google::Apis::ComputeAlpha::UpcomingMaintenance, decorator: Google::Apis::ComputeAlpha::UpcomingMaintenance::Representation
12409
12421
 
12410
12422
  end
@@ -13775,6 +13787,8 @@ module Google
13775
13787
  property :metadata_based_readiness_signal, as: 'metadataBasedReadinessSignal', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal::Representation
13776
13788
 
13777
13789
  property :on_failed_health_check, as: 'onFailedHealthCheck'
13790
+ property :on_repair, as: 'onRepair', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyOnRepair, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyOnRepair::Representation
13791
+
13778
13792
  end
13779
13793
  end
13780
13794
 
@@ -13785,6 +13799,13 @@ module Google
13785
13799
  end
13786
13800
  end
13787
13801
 
13802
+ class InstanceGroupManagerInstanceLifecyclePolicyOnRepair
13803
+ # @private
13804
+ class Representation < Google::Apis::Core::JsonRepresentation
13805
+ property :allow_changing_zone, as: 'allowChangingZone'
13806
+ end
13807
+ end
13808
+
13788
13809
  class InstanceGroupManagerList
13789
13810
  # @private
13790
13811
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15996,6 +16017,7 @@ module Google
15996
16017
  # @private
15997
16018
  class Representation < Google::Apis::Core::JsonRepresentation
15998
16019
  property :expected_rtt_ms, :numeric_string => true, as: 'expectedRttMs'
16020
+ property :l2_forwarding_enabled, as: 'l2ForwardingEnabled'
15999
16021
  property :location_presence, as: 'locationPresence'
16000
16022
  property :region, as: 'region'
16001
16023
  end
@@ -20333,6 +20355,7 @@ module Google
20333
20355
  property :kind, as: 'kind'
20334
20356
  collection :linked_commitments, as: 'linkedCommitments'
20335
20357
  property :name, as: 'name'
20358
+ property :protection_tier, as: 'protectionTier'
20336
20359
  property :reservation_mode, as: 'reservationMode'
20337
20360
  property :reservation_sharing_policy, as: 'reservationSharingPolicy', class: Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy, decorator: Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy::Representation
20338
20361
 
@@ -20340,6 +20363,7 @@ module Google
20340
20363
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::AllocationResourceStatus, decorator: Google::Apis::ComputeAlpha::AllocationResourceStatus::Representation
20341
20364
 
20342
20365
  property :satisfies_pzs, as: 'satisfiesPzs'
20366
+ property :scheduling_type, as: 'schedulingType'
20343
20367
  property :self_link, as: 'selfLink'
20344
20368
  property :self_link_with_id, as: 'selfLinkWithId'
20345
20369
  property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeAlpha::ShareSettings, decorator: Google::Apis::ComputeAlpha::ShareSettings::Representation
@@ -20508,6 +20532,8 @@ module Google
20508
20532
  property :name, as: 'name'
20509
20533
  property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeAlpha::ReservationSubBlockPhysicalTopology, decorator: Google::Apis::ComputeAlpha::ReservationSubBlockPhysicalTopology::Representation
20510
20534
 
20535
+ property :reservation_sub_block_maintenance, as: 'reservationSubBlockMaintenance', class: Google::Apis::ComputeAlpha::GroupMaintenanceInfo, decorator: Google::Apis::ComputeAlpha::GroupMaintenanceInfo::Representation
20536
+
20511
20537
  property :self_link, as: 'selfLink'
20512
20538
  property :self_link_with_id, as: 'selfLinkWithId'
20513
20539
  property :status, as: 'status'
@@ -20980,7 +21006,13 @@ module Google
20980
21006
  class ResourceStatusEffectiveInstanceMetadata
20981
21007
  # @private
20982
21008
  class Representation < Google::Apis::Core::JsonRepresentation
21009
+ property :block_project_ssh_keys_metadata_value, as: 'blockProjectSshKeysMetadataValue'
21010
+ property :enable_guest_attributes_metadata_value, as: 'enableGuestAttributesMetadataValue'
21011
+ property :enable_os_inventory_metadata_value, as: 'enableOsInventoryMetadataValue'
21012
+ property :enable_osconfig_metadata_value, as: 'enableOsconfigMetadataValue'
20983
21013
  property :enable_oslogin_metadata_value, as: 'enableOsloginMetadataValue'
21014
+ property :serial_port_enable_metadata_value, as: 'serialPortEnableMetadataValue'
21015
+ property :serial_port_logging_enable_metadata_value, as: 'serialPortLoggingEnableMetadataValue'
20984
21016
  property :vm_dns_setting_metadata_value, as: 'vmDnsSettingMetadataValue'
20985
21017
  end
20986
21018
  end
@@ -22048,6 +22080,8 @@ module Google
22048
22080
  class SecurityPolicyDdosProtectionConfig
22049
22081
  # @private
22050
22082
  class Representation < Google::Apis::Core::JsonRepresentation
22083
+ property :ddos_adaptive_protection, as: 'ddosAdaptiveProtection'
22084
+ property :ddos_impacted_baseline_threshold, as: 'ddosImpactedBaselineThreshold'
22051
22085
  property :ddos_protection, as: 'ddosProtection'
22052
22086
  end
22053
22087
  end
@@ -23645,6 +23679,8 @@ module Google
23645
23679
  property :self_link_with_id, as: 'selfLinkWithId'
23646
23680
  property :stack_type, as: 'stackType'
23647
23681
  property :state, as: 'state'
23682
+ collection :system_reserved_external_ipv6_ranges, as: 'systemReservedExternalIpv6Ranges'
23683
+ collection :system_reserved_internal_ipv6_ranges, as: 'systemReservedInternalIpv6Ranges'
23648
23684
  property :utilization_details, as: 'utilizationDetails', class: Google::Apis::ComputeAlpha::SubnetworkUtilizationDetails, decorator: Google::Apis::ComputeAlpha::SubnetworkUtilizationDetails::Representation
23649
23685
 
23650
23686
  collection :vlans, as: 'vlans'
@@ -28378,7 +28378,7 @@ module Google
28378
28378
  # Returns the details of the given PreviewFeature.
28379
28379
  # @param [String] project
28380
28380
  # Project ID for this request.
28381
- # @param [String] resource_id
28381
+ # @param [String] preview_feature
28382
28382
  # Name of the PreviewFeature for this request.
28383
28383
  # @param [String] fields
28384
28384
  # Selector specifying which fields to include in a partial response.
@@ -28399,12 +28399,12 @@ module Google
28399
28399
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28400
28400
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28401
28401
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28402
- def get_preview_feature(project, resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28403
- command = make_simple_command(:get, 'projects/{project}/global/previewFeatures/{resourceId}', options)
28402
+ def get_preview_feature(project, preview_feature, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28403
+ command = make_simple_command(:get, 'projects/{project}/global/previewFeatures/{previewFeature}', options)
28404
28404
  command.response_representation = Google::Apis::ComputeAlpha::PreviewFeature::Representation
28405
28405
  command.response_class = Google::Apis::ComputeAlpha::PreviewFeature
28406
28406
  command.params['project'] = project unless project.nil?
28407
- command.params['resourceId'] = resource_id unless resource_id.nil?
28407
+ command.params['previewFeature'] = preview_feature unless preview_feature.nil?
28408
28408
  command.query['fields'] = fields unless fields.nil?
28409
28409
  command.query['quotaUser'] = quota_user unless quota_user.nil?
28410
28410
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -28506,7 +28506,7 @@ module Google
28506
28506
  # PreviewFeature.
28507
28507
  # @param [String] project
28508
28508
  # Project ID for this request.
28509
- # @param [String] resource_id
28509
+ # @param [String] preview_feature
28510
28510
  # Name of the PreviewFeature for this request.
28511
28511
  # @param [Google::Apis::ComputeAlpha::PreviewFeature] preview_feature_object
28512
28512
  # @param [String] request_id
@@ -28538,14 +28538,14 @@ module Google
28538
28538
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28539
28539
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28540
28540
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28541
- def update_preview_feature(project, resource_id, preview_feature_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28542
- command = make_simple_command(:patch, 'projects/{project}/global/previewFeatures/{resourceId}', options)
28541
+ def update_preview_feature(project, preview_feature, preview_feature_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28542
+ command = make_simple_command(:patch, 'projects/{project}/global/previewFeatures/{previewFeature}', options)
28543
28543
  command.request_representation = Google::Apis::ComputeAlpha::PreviewFeature::Representation
28544
28544
  command.request_object = preview_feature_object
28545
28545
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
28546
28546
  command.response_class = Google::Apis::ComputeAlpha::Operation
28547
28547
  command.params['project'] = project unless project.nil?
28548
- command.params['resourceId'] = resource_id unless resource_id.nil?
28548
+ command.params['previewFeature'] = preview_feature unless preview_feature.nil?
28549
28549
  command.query['requestId'] = request_id unless request_id.nil?
28550
28550
  command.query['fields'] = fields unless fields.nil?
28551
28551
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -44834,6 +44834,61 @@ module Google
44834
44834
  execute_or_queue_command(command, &block)
44835
44835
  end
44836
44836
 
44837
+ # Allows customers to perform maintenance on a reservation subBlock
44838
+ # @param [String] project
44839
+ # Project ID for this request.
44840
+ # @param [String] zone
44841
+ # Name of the zone for this request. Zone name should conform to RFC1035.
44842
+ # @param [String] parent_name
44843
+ # The name of the parent reservation and parent block. In the format of
44844
+ # reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
44845
+ # @param [String] reservation_sub_block
44846
+ # The name of the reservation subBlock. Name should conform to RFC1035 or be a
44847
+ # resource ID.
44848
+ # @param [String] request_id
44849
+ # An optional request ID to identify requests. Specify a unique request ID so
44850
+ # that if you must retry your request, the server will know to ignore the
44851
+ # request if it has already been completed. For example, consider a situation
44852
+ # where you make an initial request and the request times out. If you make the
44853
+ # request again with the same request ID, the server can check if original
44854
+ # operation with the same request ID was received, and if so, will ignore the
44855
+ # second request. This prevents clients from accidentally creating duplicate
44856
+ # commitments. The request ID must be a valid UUID with the exception that zero
44857
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
44858
+ # @param [String] fields
44859
+ # Selector specifying which fields to include in a partial response.
44860
+ # @param [String] quota_user
44861
+ # Available to use for quota purposes for server-side applications. Can be any
44862
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44863
+ # @param [String] user_ip
44864
+ # Legacy name for parameter that has been superseded by `quotaUser`.
44865
+ # @param [Google::Apis::RequestOptions] options
44866
+ # Request-specific options
44867
+ #
44868
+ # @yield [result, err] Result & error if block supplied
44869
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
44870
+ # @yieldparam err [StandardError] error object if request failed
44871
+ #
44872
+ # @return [Google::Apis::ComputeAlpha::Operation]
44873
+ #
44874
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
44875
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
44876
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
44877
+ def perform_reservation_sub_block_maintenance(project, zone, parent_name, reservation_sub_block, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
44878
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance', options)
44879
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
44880
+ command.response_class = Google::Apis::ComputeAlpha::Operation
44881
+ command.params['project'] = project unless project.nil?
44882
+ command.params['zone'] = zone unless zone.nil?
44883
+ command.params['parentName'] = parent_name unless parent_name.nil?
44884
+ command.params['reservationSubBlock'] = reservation_sub_block unless reservation_sub_block.nil?
44885
+ command.query['requestId'] = request_id unless request_id.nil?
44886
+ command.query['fields'] = fields unless fields.nil?
44887
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
44888
+ command.query['userIp'] = user_ip unless user_ip.nil?
44889
+ execute_or_queue_command(command, &block)
44890
+ end
44891
+
44837
44892
  # Retrieves an aggregated list of reservations. To prevent failure, Google
44838
44893
  # recommends that you set the `returnPartialSuccess` parameter to `true`.
44839
44894
  # @param [String] project
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.111.0
4
+ version: 0.113.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.111.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.113.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Compute Engine API Alpha
79
79
  test_files: []