google-apis-compute_beta 0.149.0 → 0.150.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: 30cd74ee89010992bbd6109dd539299db9facf6e4281e8f62ce901077b723832
4
- data.tar.gz: 8e2b07275be0b5f19989ae54b7af5812e95a38fc6bc1a3ab8f5498c251486b56
3
+ metadata.gz: 439e7a74a68ca6540a3d8cea84cf5d0df99eb632db46cb231483b60eb64d78fb
4
+ data.tar.gz: 3e5356d1be9efe0b74755960267acf3e8217ebacfbb1bdac0042003e4e90de33
5
5
  SHA512:
6
- metadata.gz: b3944ae0b968a57cb296e5be5f0ee94d580e1fe98c6965dc78eaf79ac94c65ff4586cf750f5866988821ad05c3801c0363a2df608725dc67444f9e72574ce4cd
7
- data.tar.gz: e39c838e5d3908f21c6ee031db63c8b7874c3882d18225fec6117aa9057ef6e07bda99e96d7a20f32674376f805691faae96a5798926e082d17f2bdf8c96f95a
6
+ metadata.gz: c5b595c2ccc292d99bee3f172ecbcf71d7b0d0fcac9febf35e3f32770f908f6404c59ae6f6824b0256775c9205eb50a23947d2db6ef547cd1980a350c0059c25
7
+ data.tar.gz: 59cb57d031b7dc6fa04c0c28c63576e7cbfffe686363fe3d297d603ae9d9e3ad802bc0a10cd4b9e9f5dec26893a2d2686317971dee430fc6bf547feb563e1515
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.150.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260922
6
+
3
7
  ### v0.149.0 (2026-09-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20260910
@@ -8943,7 +8943,8 @@ module Google
8943
8943
  # GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED,
8944
8944
  # GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED,
8945
8945
  # MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3,
8946
- # STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T. For
8946
+ # STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T,
8947
+ # STORAGE_OPTIMIZED_Z4M. For
8947
8948
  # example, type MEMORY_OPTIMIZED specifies a commitment that
8948
8949
  # applies only to eligible resources of memory optimized M1 and M2 machine
8949
8950
  # series. Type GENERAL_PURPOSE specifies a commitment that
@@ -36189,6 +36190,33 @@ module Google
36189
36190
  end
36190
36191
  end
36191
36192
 
36193
+ # Request to rename an interconnect.
36194
+ class InterconnectsSetNameRequest
36195
+ include Google::Apis::Core::Hashable
36196
+
36197
+ # The current name of the interconnect.
36198
+ # The name must be 1-63 characters long, and comply with RFC1035.
36199
+ # Corresponds to the JSON property `currentName`
36200
+ # @return [String]
36201
+ attr_accessor :current_name
36202
+
36203
+ # The new name of the interconnect.
36204
+ # The name must be 1-63 characters long, and comply with RFC1035.
36205
+ # Corresponds to the JSON property `name`
36206
+ # @return [String]
36207
+ attr_accessor :name
36208
+
36209
+ def initialize(**args)
36210
+ update!(**args)
36211
+ end
36212
+
36213
+ # Update properties of this object
36214
+ def update!(**args)
36215
+ @current_name = args[:current_name] if args.key?(:current_name)
36216
+ @name = args[:name] if args.key?(:name)
36217
+ end
36218
+ end
36219
+
36192
36220
  # Represents a time interval, encoded as a Timestamp start (inclusive) and a
36193
36221
  # Timestamp end (exclusive).
36194
36222
  # The start must be less than or equal to the end.
@@ -60235,10 +60263,14 @@ module Google
60235
60263
  # `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip,
60236
60264
  # '2.2.0.0/16')`
60237
60265
  # `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'`
60238
- # The following example is a valid match expression for private NAT:
60266
+ # The following examples are valid match expressions for private NAT:
60267
+ # (NAT 44)
60239
60268
  # `nexthop.hub ==
60240
60269
  # '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
60241
60270
  # hubs/hub-1'`
60271
+ # `nexthop.is_hybrid`
60272
+ # (NAT 64)
60273
+ # `isIPv6(source.ip)`
60242
60274
  # Corresponds to the JSON property `match`
60243
60275
  # @return [String]
60244
60276
  attr_accessor :match
@@ -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.149.0"
19
+ GEM_VERSION = "0.150.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260910"
25
+ REVISION = "20260922"
26
26
  end
27
27
  end
28
28
  end
@@ -4354,6 +4354,12 @@ module Google
4354
4354
  include Google::Apis::Core::JsonObjectSupport
4355
4355
  end
4356
4356
 
4357
+ class InterconnectsSetNameRequest
4358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4359
+
4360
+ include Google::Apis::Core::JsonObjectSupport
4361
+ end
4362
+
4357
4363
  class Interval
4358
4364
  class Representation < Google::Apis::Core::JsonRepresentation; end
4359
4365
 
@@ -18042,6 +18048,14 @@ module Google
18042
18048
  end
18043
18049
  end
18044
18050
 
18051
+ class InterconnectsSetNameRequest
18052
+ # @private
18053
+ class Representation < Google::Apis::Core::JsonRepresentation
18054
+ property :current_name, as: 'currentName'
18055
+ property :name, as: 'name'
18056
+ end
18057
+ end
18058
+
18045
18059
  class Interval
18046
18060
  # @private
18047
18061
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -24213,6 +24213,58 @@ module Google
24213
24213
  execute_or_queue_command(command, &block)
24214
24214
  end
24215
24215
 
24216
+ # Sets name of an interconnect.
24217
+ # @param [String] project
24218
+ # Project ID for this request.
24219
+ # @param [String] interconnect
24220
+ # Name of the interconnect to update.
24221
+ # @param [Google::Apis::ComputeBeta::InterconnectsSetNameRequest] interconnects_set_name_request_object
24222
+ # @param [String] request_id
24223
+ # An optional request ID to identify requests. Specify a unique request ID
24224
+ # so that if you must retry your request, the server will know to ignore
24225
+ # the request if it has already been completed.
24226
+ # For example, consider a situation where you make an initial request and
24227
+ # the request times out. If you make the request again with the same
24228
+ # request ID, the server can check if original operation with the same
24229
+ # request ID was received, and if so, will ignore the second request. This
24230
+ # prevents clients from accidentally creating duplicate commitments.
24231
+ # The request ID must be
24232
+ # a valid UUID with the exception that zero UUID is not supported
24233
+ # (00000000-0000-0000-0000-000000000000).
24234
+ # @param [String] fields
24235
+ # Selector specifying which fields to include in a partial response.
24236
+ # @param [String] quota_user
24237
+ # Available to use for quota purposes for server-side applications. Can be any
24238
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24239
+ # @param [String] user_ip
24240
+ # Legacy name for parameter that has been superseded by `quotaUser`.
24241
+ # @param [Google::Apis::RequestOptions] options
24242
+ # Request-specific options
24243
+ #
24244
+ # @yield [result, err] Result & error if block supplied
24245
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
24246
+ # @yieldparam err [StandardError] error object if request failed
24247
+ #
24248
+ # @return [Google::Apis::ComputeBeta::Operation]
24249
+ #
24250
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24251
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24252
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24253
+ def set_interconnect_name(project, interconnect, interconnects_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24254
+ command = make_simple_command(:post, 'projects/{project}/global/interconnects/{interconnect}/setName', options)
24255
+ command.request_representation = Google::Apis::ComputeBeta::InterconnectsSetNameRequest::Representation
24256
+ command.request_object = interconnects_set_name_request_object
24257
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
24258
+ command.response_class = Google::Apis::ComputeBeta::Operation
24259
+ command.params['project'] = project unless project.nil?
24260
+ command.params['interconnect'] = interconnect unless interconnect.nil?
24261
+ command.query['requestId'] = request_id unless request_id.nil?
24262
+ command.query['fields'] = fields unless fields.nil?
24263
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24264
+ command.query['userIp'] = user_ip unless user_ip.nil?
24265
+ execute_or_queue_command(command, &block)
24266
+ end
24267
+
24216
24268
  # Returns permissions that a caller has on the specified resource.
24217
24269
  # @param [String] project
24218
24270
  # Project ID for this request.
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.149.0
4
+ version: 0.150.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.149.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.150.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: