google-apis-compute_v1 0.122.0 → 0.124.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: c1acaeba3151bd0e47f1a8518767f7576184872f6daad48754099c07b80764b6
4
- data.tar.gz: 87ecda4ae36c22ac2fea0b880bca6f6ef7a7bdd3698887a15fc7b99d8b0928dc
3
+ metadata.gz: a19dfe86aca145b64da1acdb79bb55cd5e73da10c71007304c85d14329e7b1c8
4
+ data.tar.gz: a455cf7d31d28d15d0eca45349a4ebddbc2e450b47b5e47e0bca5c2ad8928ead
5
5
  SHA512:
6
- metadata.gz: 9fd591767f841887f57c8602acfe3bd17f99d02ddbe93adebbcb85e62bd22d4d95832d3875dc0f56c72385eff35a3738dddede7b3293a52790ab1214060eccc2
7
- data.tar.gz: 40089d33c94e46befb4c7aabfbb4b508f4f5bdf5781cd268bb8cd3dacdc109e1d615b92ba1158f28a76f9d5fcf9c47795c1f3477b0e25adef31c8cc1a2652653
6
+ metadata.gz: 353708673c1ebc41fef848123042c28d83905e0f2a8466409168321f97f25fefac1421a8d0bcb6ea77210bc8f7b1cb5b5af3f7a389ab187b268360a784aac967
7
+ data.tar.gz: fd104125a149b96e706dfd25076f6a896c3927fcb1648e43d11d16a5c17299f655f4c44c9da6abd25a0adc4c89951dc2783271b00b85c41d24b91ca4c02b17d6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.124.0 (2025-07-13)
4
+
5
+ * Regenerated from discovery document revision 20250708
6
+
7
+ ### v0.123.0 (2025-07-06)
8
+
9
+ * Regenerated from discovery document revision 20250626
10
+
3
11
  ### v0.122.0 (2025-06-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20250601
@@ -3851,6 +3851,12 @@ module Google
3851
3851
  # @return [Fixnum]
3852
3852
  attr_accessor :timeout_sec
3853
3853
 
3854
+ # Configuration for Backend Authenticated TLS and mTLS. May only be specified
3855
+ # when the backend protocol is SSL, HTTPS or HTTP2.
3856
+ # Corresponds to the JSON property `tlsSettings`
3857
+ # @return [Google::Apis::ComputeV1::BackendServiceTlsSettings]
3858
+ attr_accessor :tls_settings
3859
+
3854
3860
  # [Output Only] List of resources referencing given backend service.
3855
3861
  # Corresponds to the JSON property `usedBy`
3856
3862
  # @return [Array<Google::Apis::ComputeV1::BackendServiceUsedBy>]
@@ -3909,6 +3915,7 @@ module Google
3909
3915
  @strong_session_affinity_cookie = args[:strong_session_affinity_cookie] if args.key?(:strong_session_affinity_cookie)
3910
3916
  @subsetting = args[:subsetting] if args.key?(:subsetting)
3911
3917
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
3918
+ @tls_settings = args[:tls_settings] if args.key?(:tls_settings)
3912
3919
  @used_by = args[:used_by] if args.key?(:used_by)
3913
3920
  end
3914
3921
  end
@@ -5027,6 +5034,80 @@ module Google
5027
5034
  end
5028
5035
  end
5029
5036
 
5037
+ #
5038
+ class BackendServiceTlsSettings
5039
+ include Google::Apis::Core::Hashable
5040
+
5041
+ # Reference to the BackendAuthenticationConfig resource from the networksecurity.
5042
+ # googleapis.com namespace. Can be used in authenticating TLS connections to the
5043
+ # backend, as specified by the authenticationMode field. Can only be specified
5044
+ # if authenticationMode is not NONE.
5045
+ # Corresponds to the JSON property `authenticationConfig`
5046
+ # @return [String]
5047
+ attr_accessor :authentication_config
5048
+
5049
+ # Server Name Indication - see RFC3546 section 3.1. If set, the load balancer
5050
+ # sends this string as the SNI hostname in the TLS connection to the backend,
5051
+ # and requires that this string match a Subject Alternative Name (SAN) in the
5052
+ # backend's server certificate. With a Regional Internet NEG backend, if the SNI
5053
+ # is specified here, the load balancer uses it regardless of whether the
5054
+ # Regional Internet NEG is specified with FQDN or IP address and port. When both
5055
+ # sni and subjectAltNames[] are specified, the load balancer matches the backend
5056
+ # certificate's SAN only to subjectAltNames[].
5057
+ # Corresponds to the JSON property `sni`
5058
+ # @return [String]
5059
+ attr_accessor :sni
5060
+
5061
+ # A list of Subject Alternative Names (SANs) that the Load Balancer verifies
5062
+ # during a TLS handshake with the backend. When the server presents its X.509
5063
+ # certificate to the Load Balancer, the Load Balancer inspects the certificate's
5064
+ # SAN field, and requires that at least one SAN match one of the subjectAltNames
5065
+ # in the list. This field is limited to 5 entries. When both sni and
5066
+ # subjectAltNames[] are specified, the load balancer matches the backend
5067
+ # certificate's SAN only to subjectAltNames[].
5068
+ # Corresponds to the JSON property `subjectAltNames`
5069
+ # @return [Array<Google::Apis::ComputeV1::BackendServiceTlsSettingsSubjectAltName>]
5070
+ attr_accessor :subject_alt_names
5071
+
5072
+ def initialize(**args)
5073
+ update!(**args)
5074
+ end
5075
+
5076
+ # Update properties of this object
5077
+ def update!(**args)
5078
+ @authentication_config = args[:authentication_config] if args.key?(:authentication_config)
5079
+ @sni = args[:sni] if args.key?(:sni)
5080
+ @subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
5081
+ end
5082
+ end
5083
+
5084
+ # A Subject Alternative Name that the load balancer matches against the SAN
5085
+ # field in the TLS certificate provided by the backend, specified as either a
5086
+ # DNS name or a URI, in accordance with RFC 5280 4.2.1.6
5087
+ class BackendServiceTlsSettingsSubjectAltName
5088
+ include Google::Apis::Core::Hashable
5089
+
5090
+ # The SAN specified as a DNS Name.
5091
+ # Corresponds to the JSON property `dnsName`
5092
+ # @return [String]
5093
+ attr_accessor :dns_name
5094
+
5095
+ # The SAN specified as a URI.
5096
+ # Corresponds to the JSON property `uniformResourceIdentifier`
5097
+ # @return [String]
5098
+ attr_accessor :uniform_resource_identifier
5099
+
5100
+ def initialize(**args)
5101
+ update!(**args)
5102
+ end
5103
+
5104
+ # Update properties of this object
5105
+ def update!(**args)
5106
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
5107
+ @uniform_resource_identifier = args[:uniform_resource_identifier] if args.key?(:uniform_resource_identifier)
5108
+ end
5109
+ end
5110
+
5030
5111
  #
5031
5112
  class BackendServiceUsedBy
5032
5113
  include Google::Apis::Core::Hashable
@@ -11445,6 +11526,16 @@ module Google
11445
11526
  class GroupMaintenanceInfo
11446
11527
  include Google::Apis::Core::Hashable
11447
11528
 
11529
+ # Describes number of instances that have ongoing maintenance.
11530
+ # Corresponds to the JSON property `instanceMaintenanceOngoingCount`
11531
+ # @return [Fixnum]
11532
+ attr_accessor :instance_maintenance_ongoing_count
11533
+
11534
+ # Describes number of instances that have pending maintenance.
11535
+ # Corresponds to the JSON property `instanceMaintenancePendingCount`
11536
+ # @return [Fixnum]
11537
+ attr_accessor :instance_maintenance_pending_count
11538
+
11448
11539
  # Progress for ongoing maintenance for this group of VMs/hosts. Describes number
11449
11540
  # of hosts in the block that have ongoing maintenance.
11450
11541
  # Corresponds to the JSON property `maintenanceOngoingCount`
@@ -11462,6 +11553,22 @@ module Google
11462
11553
  # @return [String]
11463
11554
  attr_accessor :scheduling_type
11464
11555
 
11556
+ # Describes number of subblock Infrastructure that has ongoing maintenance. Here,
11557
+ # Subblock Infrastructure Maintenance pertains to upstream hardware contained
11558
+ # in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not
11559
+ # all VM Families will support this field.
11560
+ # Corresponds to the JSON property `subblockInfraMaintenanceOngoingCount`
11561
+ # @return [Fixnum]
11562
+ attr_accessor :subblock_infra_maintenance_ongoing_count
11563
+
11564
+ # Describes number of subblock Infrastructure that has pending maintenance. Here,
11565
+ # Subblock Infrastructure Maintenance pertains to upstream hardware contained
11566
+ # in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not
11567
+ # all VM Families will support this field.
11568
+ # Corresponds to the JSON property `subblockInfraMaintenancePendingCount`
11569
+ # @return [Fixnum]
11570
+ attr_accessor :subblock_infra_maintenance_pending_count
11571
+
11465
11572
  # Upcoming Maintenance notification information.
11466
11573
  # Corresponds to the JSON property `upcomingGroupMaintenance`
11467
11574
  # @return [Google::Apis::ComputeV1::UpcomingMaintenance]
@@ -11473,9 +11580,13 @@ module Google
11473
11580
 
11474
11581
  # Update properties of this object
11475
11582
  def update!(**args)
11583
+ @instance_maintenance_ongoing_count = args[:instance_maintenance_ongoing_count] if args.key?(:instance_maintenance_ongoing_count)
11584
+ @instance_maintenance_pending_count = args[:instance_maintenance_pending_count] if args.key?(:instance_maintenance_pending_count)
11476
11585
  @maintenance_ongoing_count = args[:maintenance_ongoing_count] if args.key?(:maintenance_ongoing_count)
11477
11586
  @maintenance_pending_count = args[:maintenance_pending_count] if args.key?(:maintenance_pending_count)
11478
11587
  @scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
11588
+ @subblock_infra_maintenance_ongoing_count = args[:subblock_infra_maintenance_ongoing_count] if args.key?(:subblock_infra_maintenance_ongoing_count)
11589
+ @subblock_infra_maintenance_pending_count = args[:subblock_infra_maintenance_pending_count] if args.key?(:subblock_infra_maintenance_pending_count)
11479
11590
  @upcoming_group_maintenance = args[:upcoming_group_maintenance] if args.key?(:upcoming_group_maintenance)
11480
11591
  end
11481
11592
  end
@@ -36301,6 +36412,11 @@ module Google
36301
36412
  # @return [String]
36302
36413
  attr_accessor :cluster
36303
36414
 
36415
+ # The detailed instances information for a given Block
36416
+ # Corresponds to the JSON property `instances`
36417
+ # @return [Array<Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance>]
36418
+ attr_accessor :instances
36419
+
36304
36420
  def initialize(**args)
36305
36421
  update!(**args)
36306
36422
  end
@@ -36309,6 +36425,63 @@ module Google
36309
36425
  def update!(**args)
36310
36426
  @block = args[:block] if args.key?(:block)
36311
36427
  @cluster = args[:cluster] if args.key?(:cluster)
36428
+ @instances = args[:instances] if args.key?(:instances)
36429
+ end
36430
+ end
36431
+
36432
+ # The instances information for a given Block
36433
+ class ReservationBlockPhysicalTopologyInstance
36434
+ include Google::Apis::Core::Hashable
36435
+
36436
+ # The InstanceId of the instance
36437
+ # Corresponds to the JSON property `instanceId`
36438
+ # @return [Fixnum]
36439
+ attr_accessor :instance_id
36440
+
36441
+ # The PhysicalHostTopology of the instance within a Block resource.
36442
+ # Corresponds to the JSON property `physicalHostTopology`
36443
+ # @return [Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology]
36444
+ attr_accessor :physical_host_topology
36445
+
36446
+ # Project where the instance lives
36447
+ # Corresponds to the JSON property `projectId`
36448
+ # @return [Fixnum]
36449
+ attr_accessor :project_id
36450
+
36451
+ def initialize(**args)
36452
+ update!(**args)
36453
+ end
36454
+
36455
+ # Update properties of this object
36456
+ def update!(**args)
36457
+ @instance_id = args[:instance_id] if args.key?(:instance_id)
36458
+ @physical_host_topology = args[:physical_host_topology] if args.key?(:physical_host_topology)
36459
+ @project_id = args[:project_id] if args.key?(:project_id)
36460
+ end
36461
+ end
36462
+
36463
+ # The PhysicalHostTopology of the instance within a Block resource.
36464
+ class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
36465
+ include Google::Apis::Core::Hashable
36466
+
36467
+ # Host hash for a given instance
36468
+ # Corresponds to the JSON property `host`
36469
+ # @return [String]
36470
+ attr_accessor :host
36471
+
36472
+ # Sub block hash for a given instance
36473
+ # Corresponds to the JSON property `subBlock`
36474
+ # @return [String]
36475
+ attr_accessor :sub_block
36476
+
36477
+ def initialize(**args)
36478
+ update!(**args)
36479
+ end
36480
+
36481
+ # Update properties of this object
36482
+ def update!(**args)
36483
+ @host = args[:host] if args.key?(:host)
36484
+ @sub_block = args[:sub_block] if args.key?(:sub_block)
36312
36485
  end
36313
36486
  end
36314
36487
 
@@ -36613,6 +36786,11 @@ module Google
36613
36786
  # @return [Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology]
36614
36787
  attr_accessor :physical_topology
36615
36788
 
36789
+ # Maintenance Info for ReservationBlocks.
36790
+ # Corresponds to the JSON property `reservationSubBlockMaintenance`
36791
+ # @return [Google::Apis::ComputeV1::GroupMaintenanceInfo]
36792
+ attr_accessor :reservation_sub_block_maintenance
36793
+
36616
36794
  # [Output Only] Server-defined fully-qualified URL for this resource.
36617
36795
  # Corresponds to the JSON property `selfLink`
36618
36796
  # @return [String]
@@ -36646,6 +36824,7 @@ module Google
36646
36824
  @kind = args[:kind] if args.key?(:kind)
36647
36825
  @name = args[:name] if args.key?(:name)
36648
36826
  @physical_topology = args[:physical_topology] if args.key?(:physical_topology)
36827
+ @reservation_sub_block_maintenance = args[:reservation_sub_block_maintenance] if args.key?(:reservation_sub_block_maintenance)
36649
36828
  @self_link = args[:self_link] if args.key?(:self_link)
36650
36829
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
36651
36830
  @status = args[:status] if args.key?(:status)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.122.0"
19
+ GEM_VERSION = "0.124.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 = "20250601"
25
+ REVISION = "20250708"
26
26
  end
27
27
  end
28
28
  end
@@ -580,6 +580,18 @@ module Google
580
580
  include Google::Apis::Core::JsonObjectSupport
581
581
  end
582
582
 
583
+ class BackendServiceTlsSettings
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class BackendServiceTlsSettingsSubjectAltName
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
583
595
  class BackendServiceUsedBy
584
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
597
 
@@ -4708,6 +4720,18 @@ module Google
4708
4720
  include Google::Apis::Core::JsonObjectSupport
4709
4721
  end
4710
4722
 
4723
+ class ReservationBlockPhysicalTopologyInstance
4724
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4725
+
4726
+ include Google::Apis::Core::JsonObjectSupport
4727
+ end
4728
+
4729
+ class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
4730
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4731
+
4732
+ include Google::Apis::Core::JsonObjectSupport
4733
+ end
4734
+
4711
4735
  class ReservationBlocksGetResponse
4712
4736
  class Representation < Google::Apis::Core::JsonRepresentation; end
4713
4737
 
@@ -7984,6 +8008,8 @@ module Google
7984
8008
  property :subsetting, as: 'subsetting', class: Google::Apis::ComputeV1::Subsetting, decorator: Google::Apis::ComputeV1::Subsetting::Representation
7985
8009
 
7986
8010
  property :timeout_sec, as: 'timeoutSec'
8011
+ property :tls_settings, as: 'tlsSettings', class: Google::Apis::ComputeV1::BackendServiceTlsSettings, decorator: Google::Apis::ComputeV1::BackendServiceTlsSettings::Representation
8012
+
7987
8013
  collection :used_by, as: 'usedBy', class: Google::Apis::ComputeV1::BackendServiceUsedBy, decorator: Google::Apis::ComputeV1::BackendServiceUsedBy::Representation
7988
8014
 
7989
8015
  end
@@ -8246,6 +8272,24 @@ module Google
8246
8272
  end
8247
8273
  end
8248
8274
 
8275
+ class BackendServiceTlsSettings
8276
+ # @private
8277
+ class Representation < Google::Apis::Core::JsonRepresentation
8278
+ property :authentication_config, as: 'authenticationConfig'
8279
+ property :sni, as: 'sni'
8280
+ collection :subject_alt_names, as: 'subjectAltNames', class: Google::Apis::ComputeV1::BackendServiceTlsSettingsSubjectAltName, decorator: Google::Apis::ComputeV1::BackendServiceTlsSettingsSubjectAltName::Representation
8281
+
8282
+ end
8283
+ end
8284
+
8285
+ class BackendServiceTlsSettingsSubjectAltName
8286
+ # @private
8287
+ class Representation < Google::Apis::Core::JsonRepresentation
8288
+ property :dns_name, as: 'dnsName'
8289
+ property :uniform_resource_identifier, as: 'uniformResourceIdentifier'
8290
+ end
8291
+ end
8292
+
8249
8293
  class BackendServiceUsedBy
8250
8294
  # @private
8251
8295
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9707,9 +9751,13 @@ module Google
9707
9751
  class GroupMaintenanceInfo
9708
9752
  # @private
9709
9753
  class Representation < Google::Apis::Core::JsonRepresentation
9754
+ property :instance_maintenance_ongoing_count, as: 'instanceMaintenanceOngoingCount'
9755
+ property :instance_maintenance_pending_count, as: 'instanceMaintenancePendingCount'
9710
9756
  property :maintenance_ongoing_count, as: 'maintenanceOngoingCount'
9711
9757
  property :maintenance_pending_count, as: 'maintenancePendingCount'
9712
9758
  property :scheduling_type, as: 'schedulingType'
9759
+ property :subblock_infra_maintenance_ongoing_count, as: 'subblockInfraMaintenanceOngoingCount'
9760
+ property :subblock_infra_maintenance_pending_count, as: 'subblockInfraMaintenancePendingCount'
9713
9761
  property :upcoming_group_maintenance, as: 'upcomingGroupMaintenance', class: Google::Apis::ComputeV1::UpcomingMaintenance, decorator: Google::Apis::ComputeV1::UpcomingMaintenance::Representation
9714
9762
 
9715
9763
  end
@@ -15971,6 +16019,26 @@ module Google
15971
16019
  class Representation < Google::Apis::Core::JsonRepresentation
15972
16020
  property :block, as: 'block'
15973
16021
  property :cluster, as: 'cluster'
16022
+ collection :instances, as: 'instances', class: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance, decorator: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance::Representation
16023
+
16024
+ end
16025
+ end
16026
+
16027
+ class ReservationBlockPhysicalTopologyInstance
16028
+ # @private
16029
+ class Representation < Google::Apis::Core::JsonRepresentation
16030
+ property :instance_id, :numeric_string => true, as: 'instanceId'
16031
+ property :physical_host_topology, as: 'physicalHostTopology', class: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology, decorator: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology::Representation
16032
+
16033
+ property :project_id, :numeric_string => true, as: 'projectId'
16034
+ end
16035
+ end
16036
+
16037
+ class ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
16038
+ # @private
16039
+ class Representation < Google::Apis::Core::JsonRepresentation
16040
+ property :host, as: 'host'
16041
+ property :sub_block, as: 'subBlock'
15974
16042
  end
15975
16043
  end
15976
16044
 
@@ -16057,6 +16125,8 @@ module Google
16057
16125
  property :name, as: 'name'
16058
16126
  property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology, decorator: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology::Representation
16059
16127
 
16128
+ property :reservation_sub_block_maintenance, as: 'reservationSubBlockMaintenance', class: Google::Apis::ComputeV1::GroupMaintenanceInfo, decorator: Google::Apis::ComputeV1::GroupMaintenanceInfo::Representation
16129
+
16060
16130
  property :self_link, as: 'selfLink'
16061
16131
  property :self_link_with_id, as: 'selfLinkWithId'
16062
16132
  property :status, as: 'status'
@@ -35734,6 +35734,8 @@ module Google
35734
35734
  # @param [String] reservation_block
35735
35735
  # The name of the reservation block. Name should conform to RFC1035 or be a
35736
35736
  # resource ID.
35737
+ # @param [String] view
35738
+ # View of the Block.
35737
35739
  # @param [String] fields
35738
35740
  # Selector specifying which fields to include in a partial response.
35739
35741
  # @param [String] quota_user
@@ -35753,7 +35755,7 @@ module Google
35753
35755
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
35754
35756
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
35755
35757
  # @raise [Google::Apis::AuthorizationError] Authorization is required
35756
- def get_reservation_block(project, zone, reservation, reservation_block, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35758
+ def get_reservation_block(project, zone, reservation, reservation_block, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35757
35759
  command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}', options)
35758
35760
  command.response_representation = Google::Apis::ComputeV1::ReservationBlocksGetResponse::Representation
35759
35761
  command.response_class = Google::Apis::ComputeV1::ReservationBlocksGetResponse
@@ -35761,6 +35763,7 @@ module Google
35761
35763
  command.params['zone'] = zone unless zone.nil?
35762
35764
  command.params['reservation'] = reservation unless reservation.nil?
35763
35765
  command.params['reservationBlock'] = reservation_block unless reservation_block.nil?
35766
+ command.query['view'] = view unless view.nil?
35764
35767
  command.query['fields'] = fields unless fields.nil?
35765
35768
  command.query['quotaUser'] = quota_user unless quota_user.nil?
35766
35769
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -36065,6 +36068,61 @@ module Google
36065
36068
  execute_or_queue_command(command, &block)
36066
36069
  end
36067
36070
 
36071
+ # Allows customers to perform maintenance on a reservation subBlock
36072
+ # @param [String] project
36073
+ # Project ID for this request.
36074
+ # @param [String] zone
36075
+ # Name of the zone for this request. Zone name should conform to RFC1035.
36076
+ # @param [String] parent_name
36077
+ # The name of the parent reservation and parent block. In the format of
36078
+ # reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
36079
+ # @param [String] reservation_sub_block
36080
+ # The name of the reservation subBlock. Name should conform to RFC1035 or be a
36081
+ # resource ID.
36082
+ # @param [String] request_id
36083
+ # An optional request ID to identify requests. Specify a unique request ID so
36084
+ # that if you must retry your request, the server will know to ignore the
36085
+ # request if it has already been completed. For example, consider a situation
36086
+ # where you make an initial request and the request times out. If you make the
36087
+ # request again with the same request ID, the server can check if original
36088
+ # operation with the same request ID was received, and if so, will ignore the
36089
+ # second request. This prevents clients from accidentally creating duplicate
36090
+ # commitments. The request ID must be a valid UUID with the exception that zero
36091
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
36092
+ # @param [String] fields
36093
+ # Selector specifying which fields to include in a partial response.
36094
+ # @param [String] quota_user
36095
+ # Available to use for quota purposes for server-side applications. Can be any
36096
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
36097
+ # @param [String] user_ip
36098
+ # Legacy name for parameter that has been superseded by `quotaUser`.
36099
+ # @param [Google::Apis::RequestOptions] options
36100
+ # Request-specific options
36101
+ #
36102
+ # @yield [result, err] Result & error if block supplied
36103
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
36104
+ # @yieldparam err [StandardError] error object if request failed
36105
+ #
36106
+ # @return [Google::Apis::ComputeV1::Operation]
36107
+ #
36108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
36109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
36110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
36111
+ 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)
36112
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance', options)
36113
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
36114
+ command.response_class = Google::Apis::ComputeV1::Operation
36115
+ command.params['project'] = project unless project.nil?
36116
+ command.params['zone'] = zone unless zone.nil?
36117
+ command.params['parentName'] = parent_name unless parent_name.nil?
36118
+ command.params['reservationSubBlock'] = reservation_sub_block unless reservation_sub_block.nil?
36119
+ command.query['requestId'] = request_id unless request_id.nil?
36120
+ command.query['fields'] = fields unless fields.nil?
36121
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
36122
+ command.query['userIp'] = user_ip unless user_ip.nil?
36123
+ execute_or_queue_command(command, &block)
36124
+ end
36125
+
36068
36126
  # Retrieves an aggregated list of reservations. To prevent failure, Google
36069
36127
  # recommends that you set the `returnPartialSuccess` parameter to `true`.
36070
36128
  # @param [String] project
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.122.0
4
+ version: 0.124.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.122.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.124.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
62
62
  rdoc_options: []
63
63
  require_paths: