google-apis-compute_v1 0.122.0 → 0.123.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: a1e751ee5829215bdb02aa0b86a2796361891cfc10d2bccf452b5be6613c249e
4
+ data.tar.gz: f40442cb5f57ae69a030c536358b28983a167e943f93d617b57561b23c6282a1
5
5
  SHA512:
6
- metadata.gz: 9fd591767f841887f57c8602acfe3bd17f99d02ddbe93adebbcb85e62bd22d4d95832d3875dc0f56c72385eff35a3738dddede7b3293a52790ab1214060eccc2
7
- data.tar.gz: 40089d33c94e46befb4c7aabfbb4b508f4f5bdf5781cd268bb8cd3dacdc109e1d615b92ba1158f28a76f9d5fcf9c47795c1f3477b0e25adef31c8cc1a2652653
6
+ metadata.gz: 7b2644f562681a5dc6ee94aa3c47521f731c97877cd392dd310b8140294873f614cdef87325a06171724373cd0aafa9cee6097c63a0421b6a0096cdf8785a560
7
+ data.tar.gz: 45ab30647d12c223d6984aa23b7952bec8da91763c11c2313222aa2ac2aef8cd97c275b08198161cc37eed136fe435b0b1acb3be1530c0be2fc09a90218f4dfe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.123.0 (2025-07-06)
4
+
5
+ * Regenerated from discovery document revision 20250626
6
+
3
7
  ### v0.122.0 (2025-06-08)
4
8
 
5
9
  * 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
@@ -36613,6 +36724,11 @@ module Google
36613
36724
  # @return [Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology]
36614
36725
  attr_accessor :physical_topology
36615
36726
 
36727
+ # Maintenance Info for ReservationBlocks.
36728
+ # Corresponds to the JSON property `reservationSubBlockMaintenance`
36729
+ # @return [Google::Apis::ComputeV1::GroupMaintenanceInfo]
36730
+ attr_accessor :reservation_sub_block_maintenance
36731
+
36616
36732
  # [Output Only] Server-defined fully-qualified URL for this resource.
36617
36733
  # Corresponds to the JSON property `selfLink`
36618
36734
  # @return [String]
@@ -36646,6 +36762,7 @@ module Google
36646
36762
  @kind = args[:kind] if args.key?(:kind)
36647
36763
  @name = args[:name] if args.key?(:name)
36648
36764
  @physical_topology = args[:physical_topology] if args.key?(:physical_topology)
36765
+ @reservation_sub_block_maintenance = args[:reservation_sub_block_maintenance] if args.key?(:reservation_sub_block_maintenance)
36649
36766
  @self_link = args[:self_link] if args.key?(:self_link)
36650
36767
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
36651
36768
  @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.123.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 = "20250626"
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
 
@@ -7984,6 +7996,8 @@ module Google
7984
7996
  property :subsetting, as: 'subsetting', class: Google::Apis::ComputeV1::Subsetting, decorator: Google::Apis::ComputeV1::Subsetting::Representation
7985
7997
 
7986
7998
  property :timeout_sec, as: 'timeoutSec'
7999
+ property :tls_settings, as: 'tlsSettings', class: Google::Apis::ComputeV1::BackendServiceTlsSettings, decorator: Google::Apis::ComputeV1::BackendServiceTlsSettings::Representation
8000
+
7987
8001
  collection :used_by, as: 'usedBy', class: Google::Apis::ComputeV1::BackendServiceUsedBy, decorator: Google::Apis::ComputeV1::BackendServiceUsedBy::Representation
7988
8002
 
7989
8003
  end
@@ -8246,6 +8260,24 @@ module Google
8246
8260
  end
8247
8261
  end
8248
8262
 
8263
+ class BackendServiceTlsSettings
8264
+ # @private
8265
+ class Representation < Google::Apis::Core::JsonRepresentation
8266
+ property :authentication_config, as: 'authenticationConfig'
8267
+ property :sni, as: 'sni'
8268
+ collection :subject_alt_names, as: 'subjectAltNames', class: Google::Apis::ComputeV1::BackendServiceTlsSettingsSubjectAltName, decorator: Google::Apis::ComputeV1::BackendServiceTlsSettingsSubjectAltName::Representation
8269
+
8270
+ end
8271
+ end
8272
+
8273
+ class BackendServiceTlsSettingsSubjectAltName
8274
+ # @private
8275
+ class Representation < Google::Apis::Core::JsonRepresentation
8276
+ property :dns_name, as: 'dnsName'
8277
+ property :uniform_resource_identifier, as: 'uniformResourceIdentifier'
8278
+ end
8279
+ end
8280
+
8249
8281
  class BackendServiceUsedBy
8250
8282
  # @private
8251
8283
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9707,9 +9739,13 @@ module Google
9707
9739
  class GroupMaintenanceInfo
9708
9740
  # @private
9709
9741
  class Representation < Google::Apis::Core::JsonRepresentation
9742
+ property :instance_maintenance_ongoing_count, as: 'instanceMaintenanceOngoingCount'
9743
+ property :instance_maintenance_pending_count, as: 'instanceMaintenancePendingCount'
9710
9744
  property :maintenance_ongoing_count, as: 'maintenanceOngoingCount'
9711
9745
  property :maintenance_pending_count, as: 'maintenancePendingCount'
9712
9746
  property :scheduling_type, as: 'schedulingType'
9747
+ property :subblock_infra_maintenance_ongoing_count, as: 'subblockInfraMaintenanceOngoingCount'
9748
+ property :subblock_infra_maintenance_pending_count, as: 'subblockInfraMaintenancePendingCount'
9713
9749
  property :upcoming_group_maintenance, as: 'upcomingGroupMaintenance', class: Google::Apis::ComputeV1::UpcomingMaintenance, decorator: Google::Apis::ComputeV1::UpcomingMaintenance::Representation
9714
9750
 
9715
9751
  end
@@ -16057,6 +16093,8 @@ module Google
16057
16093
  property :name, as: 'name'
16058
16094
  property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology, decorator: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology::Representation
16059
16095
 
16096
+ property :reservation_sub_block_maintenance, as: 'reservationSubBlockMaintenance', class: Google::Apis::ComputeV1::GroupMaintenanceInfo, decorator: Google::Apis::ComputeV1::GroupMaintenanceInfo::Representation
16097
+
16060
16098
  property :self_link, as: 'selfLink'
16061
16099
  property :self_link_with_id, as: 'selfLinkWithId'
16062
16100
  property :status, as: 'status'
@@ -36065,6 +36065,61 @@ module Google
36065
36065
  execute_or_queue_command(command, &block)
36066
36066
  end
36067
36067
 
36068
+ # Allows customers to perform maintenance on a reservation subBlock
36069
+ # @param [String] project
36070
+ # Project ID for this request.
36071
+ # @param [String] zone
36072
+ # Name of the zone for this request. Zone name should conform to RFC1035.
36073
+ # @param [String] parent_name
36074
+ # The name of the parent reservation and parent block. In the format of
36075
+ # reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
36076
+ # @param [String] reservation_sub_block
36077
+ # The name of the reservation subBlock. Name should conform to RFC1035 or be a
36078
+ # resource ID.
36079
+ # @param [String] request_id
36080
+ # An optional request ID to identify requests. Specify a unique request ID so
36081
+ # that if you must retry your request, the server will know to ignore the
36082
+ # request if it has already been completed. For example, consider a situation
36083
+ # where you make an initial request and the request times out. If you make the
36084
+ # request again with the same request ID, the server can check if original
36085
+ # operation with the same request ID was received, and if so, will ignore the
36086
+ # second request. This prevents clients from accidentally creating duplicate
36087
+ # commitments. The request ID must be a valid UUID with the exception that zero
36088
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
36089
+ # @param [String] fields
36090
+ # Selector specifying which fields to include in a partial response.
36091
+ # @param [String] quota_user
36092
+ # Available to use for quota purposes for server-side applications. Can be any
36093
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
36094
+ # @param [String] user_ip
36095
+ # Legacy name for parameter that has been superseded by `quotaUser`.
36096
+ # @param [Google::Apis::RequestOptions] options
36097
+ # Request-specific options
36098
+ #
36099
+ # @yield [result, err] Result & error if block supplied
36100
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
36101
+ # @yieldparam err [StandardError] error object if request failed
36102
+ #
36103
+ # @return [Google::Apis::ComputeV1::Operation]
36104
+ #
36105
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
36106
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
36107
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
36108
+ 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)
36109
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance', options)
36110
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
36111
+ command.response_class = Google::Apis::ComputeV1::Operation
36112
+ command.params['project'] = project unless project.nil?
36113
+ command.params['zone'] = zone unless zone.nil?
36114
+ command.params['parentName'] = parent_name unless parent_name.nil?
36115
+ command.params['reservationSubBlock'] = reservation_sub_block unless reservation_sub_block.nil?
36116
+ command.query['requestId'] = request_id unless request_id.nil?
36117
+ command.query['fields'] = fields unless fields.nil?
36118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
36119
+ command.query['userIp'] = user_ip unless user_ip.nil?
36120
+ execute_or_queue_command(command, &block)
36121
+ end
36122
+
36068
36123
  # Retrieves an aggregated list of reservations. To prevent failure, Google
36069
36124
  # recommends that you set the `returnPartialSuccess` parameter to `true`.
36070
36125
  # @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.123.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.123.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: