google-apis-compute_beta 0.116.0 → 0.117.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c83b138528bc2e99966e30c0d9d1d81cae20e8f66c8dbfc822b8a4d37de7833
|
4
|
+
data.tar.gz: c092acb77a99356f8ed8e667a5291cad7d9d524b5f35e5344541eef64e2422f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4ae5b65be39970cd5f49522ca5695da025fe82041e3feffc43f8275c64df0a05c5165e87c25172c73416a174b177366d52ce49d9a5b33eaf91e5e6c4cc510d8
|
7
|
+
data.tar.gz: 55f664ff7e982d2a88b6329301cf698e1b7b34d5b40b12dd64b393450f99d8602b293041d50c7a4aa96eaded18eb2174a88209d3eac53d169837e0b6223a1bb2
|
data/CHANGELOG.md
CHANGED
@@ -13622,6 +13622,16 @@ module Google
|
|
13622
13622
|
class GroupMaintenanceInfo
|
13623
13623
|
include Google::Apis::Core::Hashable
|
13624
13624
|
|
13625
|
+
# Describes number of instances that have ongoing maintenance.
|
13626
|
+
# Corresponds to the JSON property `instanceMaintenanceOngoingCount`
|
13627
|
+
# @return [Fixnum]
|
13628
|
+
attr_accessor :instance_maintenance_ongoing_count
|
13629
|
+
|
13630
|
+
# Describes number of instances that have pending maintenance.
|
13631
|
+
# Corresponds to the JSON property `instanceMaintenancePendingCount`
|
13632
|
+
# @return [Fixnum]
|
13633
|
+
attr_accessor :instance_maintenance_pending_count
|
13634
|
+
|
13625
13635
|
# Progress for ongoing maintenance for this group of VMs/hosts. Describes number
|
13626
13636
|
# of hosts in the block that have ongoing maintenance.
|
13627
13637
|
# Corresponds to the JSON property `maintenanceOngoingCount`
|
@@ -13639,6 +13649,22 @@ module Google
|
|
13639
13649
|
# @return [String]
|
13640
13650
|
attr_accessor :scheduling_type
|
13641
13651
|
|
13652
|
+
# Describes number of subblock Infrastructure that has ongoing maintenance. Here,
|
13653
|
+
# Subblock Infrastructure Maintenance pertains to upstream hardware contained
|
13654
|
+
# in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not
|
13655
|
+
# all VM Families will support this field.
|
13656
|
+
# Corresponds to the JSON property `subblockInfraMaintenanceOngoingCount`
|
13657
|
+
# @return [Fixnum]
|
13658
|
+
attr_accessor :subblock_infra_maintenance_ongoing_count
|
13659
|
+
|
13660
|
+
# Describes number of subblock Infrastructure that has pending maintenance. Here,
|
13661
|
+
# Subblock Infrastructure Maintenance pertains to upstream hardware contained
|
13662
|
+
# in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not
|
13663
|
+
# all VM Families will support this field.
|
13664
|
+
# Corresponds to the JSON property `subblockInfraMaintenancePendingCount`
|
13665
|
+
# @return [Fixnum]
|
13666
|
+
attr_accessor :subblock_infra_maintenance_pending_count
|
13667
|
+
|
13642
13668
|
# Upcoming Maintenance notification information.
|
13643
13669
|
# Corresponds to the JSON property `upcomingGroupMaintenance`
|
13644
13670
|
# @return [Google::Apis::ComputeBeta::UpcomingMaintenance]
|
@@ -13650,9 +13676,13 @@ module Google
|
|
13650
13676
|
|
13651
13677
|
# Update properties of this object
|
13652
13678
|
def update!(**args)
|
13679
|
+
@instance_maintenance_ongoing_count = args[:instance_maintenance_ongoing_count] if args.key?(:instance_maintenance_ongoing_count)
|
13680
|
+
@instance_maintenance_pending_count = args[:instance_maintenance_pending_count] if args.key?(:instance_maintenance_pending_count)
|
13653
13681
|
@maintenance_ongoing_count = args[:maintenance_ongoing_count] if args.key?(:maintenance_ongoing_count)
|
13654
13682
|
@maintenance_pending_count = args[:maintenance_pending_count] if args.key?(:maintenance_pending_count)
|
13655
13683
|
@scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
|
13684
|
+
@subblock_infra_maintenance_ongoing_count = args[:subblock_infra_maintenance_ongoing_count] if args.key?(:subblock_infra_maintenance_ongoing_count)
|
13685
|
+
@subblock_infra_maintenance_pending_count = args[:subblock_infra_maintenance_pending_count] if args.key?(:subblock_infra_maintenance_pending_count)
|
13656
13686
|
@upcoming_group_maintenance = args[:upcoming_group_maintenance] if args.key?(:upcoming_group_maintenance)
|
13657
13687
|
end
|
13658
13688
|
end
|
@@ -40911,6 +40941,11 @@ module Google
|
|
40911
40941
|
# @return [Google::Apis::ComputeBeta::ReservationSubBlockPhysicalTopology]
|
40912
40942
|
attr_accessor :physical_topology
|
40913
40943
|
|
40944
|
+
# Maintenance Info for ReservationBlocks.
|
40945
|
+
# Corresponds to the JSON property `reservationSubBlockMaintenance`
|
40946
|
+
# @return [Google::Apis::ComputeBeta::GroupMaintenanceInfo]
|
40947
|
+
attr_accessor :reservation_sub_block_maintenance
|
40948
|
+
|
40914
40949
|
# [Output Only] Server-defined fully-qualified URL for this resource.
|
40915
40950
|
# Corresponds to the JSON property `selfLink`
|
40916
40951
|
# @return [String]
|
@@ -40944,6 +40979,7 @@ module Google
|
|
40944
40979
|
@kind = args[:kind] if args.key?(:kind)
|
40945
40980
|
@name = args[:name] if args.key?(:name)
|
40946
40981
|
@physical_topology = args[:physical_topology] if args.key?(:physical_topology)
|
40982
|
+
@reservation_sub_block_maintenance = args[:reservation_sub_block_maintenance] if args.key?(:reservation_sub_block_maintenance)
|
40947
40983
|
@self_link = args[:self_link] if args.key?(:self_link)
|
40948
40984
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
40949
40985
|
@status = args[:status] if args.key?(:status)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeBeta
|
18
18
|
# Version of the google-apis-compute_beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.117.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250626"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -11128,9 +11128,13 @@ module Google
|
|
11128
11128
|
class GroupMaintenanceInfo
|
11129
11129
|
# @private
|
11130
11130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11131
|
+
property :instance_maintenance_ongoing_count, as: 'instanceMaintenanceOngoingCount'
|
11132
|
+
property :instance_maintenance_pending_count, as: 'instanceMaintenancePendingCount'
|
11131
11133
|
property :maintenance_ongoing_count, as: 'maintenanceOngoingCount'
|
11132
11134
|
property :maintenance_pending_count, as: 'maintenancePendingCount'
|
11133
11135
|
property :scheduling_type, as: 'schedulingType'
|
11136
|
+
property :subblock_infra_maintenance_ongoing_count, as: 'subblockInfraMaintenanceOngoingCount'
|
11137
|
+
property :subblock_infra_maintenance_pending_count, as: 'subblockInfraMaintenancePendingCount'
|
11134
11138
|
property :upcoming_group_maintenance, as: 'upcomingGroupMaintenance', class: Google::Apis::ComputeBeta::UpcomingMaintenance, decorator: Google::Apis::ComputeBeta::UpcomingMaintenance::Representation
|
11135
11139
|
|
11136
11140
|
end
|
@@ -18051,6 +18055,8 @@ module Google
|
|
18051
18055
|
property :name, as: 'name'
|
18052
18056
|
property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeBeta::ReservationSubBlockPhysicalTopology, decorator: Google::Apis::ComputeBeta::ReservationSubBlockPhysicalTopology::Representation
|
18053
18057
|
|
18058
|
+
property :reservation_sub_block_maintenance, as: 'reservationSubBlockMaintenance', class: Google::Apis::ComputeBeta::GroupMaintenanceInfo, decorator: Google::Apis::ComputeBeta::GroupMaintenanceInfo::Representation
|
18059
|
+
|
18054
18060
|
property :self_link, as: 'selfLink'
|
18055
18061
|
property :self_link_with_id, as: 'selfLinkWithId'
|
18056
18062
|
property :status, as: 'status'
|
@@ -41489,6 +41489,61 @@ module Google
|
|
41489
41489
|
execute_or_queue_command(command, &block)
|
41490
41490
|
end
|
41491
41491
|
|
41492
|
+
# Allows customers to perform maintenance on a reservation subBlock
|
41493
|
+
# @param [String] project
|
41494
|
+
# Project ID for this request.
|
41495
|
+
# @param [String] zone
|
41496
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
41497
|
+
# @param [String] parent_name
|
41498
|
+
# The name of the parent reservation and parent block. In the format of
|
41499
|
+
# reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
|
41500
|
+
# @param [String] reservation_sub_block
|
41501
|
+
# The name of the reservation subBlock. Name should conform to RFC1035 or be a
|
41502
|
+
# resource ID.
|
41503
|
+
# @param [String] request_id
|
41504
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
41505
|
+
# that if you must retry your request, the server will know to ignore the
|
41506
|
+
# request if it has already been completed. For example, consider a situation
|
41507
|
+
# where you make an initial request and the request times out. If you make the
|
41508
|
+
# request again with the same request ID, the server can check if original
|
41509
|
+
# operation with the same request ID was received, and if so, will ignore the
|
41510
|
+
# second request. This prevents clients from accidentally creating duplicate
|
41511
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
41512
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
41513
|
+
# @param [String] fields
|
41514
|
+
# Selector specifying which fields to include in a partial response.
|
41515
|
+
# @param [String] quota_user
|
41516
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
41517
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
41518
|
+
# @param [String] user_ip
|
41519
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
41520
|
+
# @param [Google::Apis::RequestOptions] options
|
41521
|
+
# Request-specific options
|
41522
|
+
#
|
41523
|
+
# @yield [result, err] Result & error if block supplied
|
41524
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
41525
|
+
# @yieldparam err [StandardError] error object if request failed
|
41526
|
+
#
|
41527
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
41528
|
+
#
|
41529
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
41530
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
41531
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
41532
|
+
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)
|
41533
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance', options)
|
41534
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
41535
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
41536
|
+
command.params['project'] = project unless project.nil?
|
41537
|
+
command.params['zone'] = zone unless zone.nil?
|
41538
|
+
command.params['parentName'] = parent_name unless parent_name.nil?
|
41539
|
+
command.params['reservationSubBlock'] = reservation_sub_block unless reservation_sub_block.nil?
|
41540
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
41541
|
+
command.query['fields'] = fields unless fields.nil?
|
41542
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
41543
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
41544
|
+
execute_or_queue_command(command, &block)
|
41545
|
+
end
|
41546
|
+
|
41492
41547
|
# Retrieves an aggregated list of reservations. To prevent failure, Google
|
41493
41548
|
# recommends that you set the `returnPartialSuccess` parameter to `true`.
|
41494
41549
|
# @param [String] project
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.117.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -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_beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.117.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|