google-apis-compute_alpha 0.147.0 → 0.149.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: aa0d296d33d4949fb3435f2724c988cd77779d5c4a698f71154a3972a2a601ba
4
- data.tar.gz: 230ffebbd13b693ab1ab6b332635e5a69d53dd3a0b2487499b09a8e3e5966d22
3
+ metadata.gz: 8581572f59b90eb1539d79a9205bbf9d959cae37ef08cd45259283a1f6146fcb
4
+ data.tar.gz: 2da27c77545789a717046944ba8cb252efc6056167a4551c6e8fa59af1890388
5
5
  SHA512:
6
- metadata.gz: 249893db7fc0e4b3193325b771df8192c434292b2d0061cfe04a718c1b1fe31b0ec96e6741085f1e3d2b504b35cfe96586b49925dc6eb4c79cbfa3bffde1954c
7
- data.tar.gz: 4558a6d0af792989de1032af4c79eabf8cf55a84f5d1a8752d11d9211a742c8258b59b6ab6baba59d27c17cdcc47469c27e4a4f5dace42afbcdcde56b27e3a61
6
+ metadata.gz: 71ccc0edf2679fab19090dd0715b892d9a651c8ba68a3dfeb5c908777e63644008b3b6eed540ab533c210c08017c9242e8531fcd6054a8c5cf2b6cf6af3b952f
7
+ data.tar.gz: 5f3c262393b08333b06eee3f039c4aba66bba7a375b06aa263957dc578f1b5c66c803d401904f70855d781bc78084df81990daf8fca4c8e1fdf29bb8351a49b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.149.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261007
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.148.0 (2026-10-04)
9
+
10
+ * Regenerated from discovery document revision 20260922
11
+
3
12
  ### v0.147.0 (2026-09-27)
4
13
 
5
14
  * Regenerated from discovery document revision 20260916
@@ -3542,6 +3542,20 @@ module Google
3542
3542
  # @return [Google::Apis::ComputeAlpha::AutoscalingPolicyTimeAggregation]
3543
3543
  attr_accessor :time_aggregation
3544
3544
 
3545
+ # The upper bound of the utilization range. Must be a float value in the
3546
+ # range ('utilization_min', 1]. A value of 0.0 is equivalent to leaving the
3547
+ # field unset.
3548
+ # Corresponds to the JSON property `utilizationMax`
3549
+ # @return [Float]
3550
+ attr_accessor :utilization_max
3551
+
3552
+ # The lower bound of the utilization range. Must be a float value in the
3553
+ # range (0, 'utilization_max']. A value of 0.0 is equivalent to leaving the
3554
+ # field unset.
3555
+ # Corresponds to the JSON property `utilizationMin`
3556
+ # @return [Float]
3557
+ attr_accessor :utilization_min
3558
+
3545
3559
  # Represents a range of acceptable utilization values.
3546
3560
  # This message is used to configure range-based scaling policies,
3547
3561
  # allowing Autoscaler to maintain utilization within a specified range
@@ -3573,6 +3587,8 @@ module Google
3573
3587
  @predictive_method = args[:predictive_method] if args.key?(:predictive_method)
3574
3588
  @signal_aggregation = args[:signal_aggregation] if args.key?(:signal_aggregation)
3575
3589
  @time_aggregation = args[:time_aggregation] if args.key?(:time_aggregation)
3590
+ @utilization_max = args[:utilization_max] if args.key?(:utilization_max)
3591
+ @utilization_min = args[:utilization_min] if args.key?(:utilization_min)
3576
3592
  @utilization_range = args[:utilization_range] if args.key?(:utilization_range)
3577
3593
  @utilization_target = args[:utilization_target] if args.key?(:utilization_target)
3578
3594
  end
@@ -9786,7 +9802,8 @@ module Google
9786
9802
  # GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED,
9787
9803
  # GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED,
9788
9804
  # MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3,
9789
- # STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T. For
9805
+ # STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T,
9806
+ # STORAGE_OPTIMIZED_Z4M. For
9790
9807
  # example, type MEMORY_OPTIMIZED specifies a commitment that
9791
9808
  # applies only to eligible resources of memory optimized M1 and M2 machine
9792
9809
  # series. Type GENERAL_PURPOSE specifies a commitment that
@@ -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.147.0"
19
+ GEM_VERSION = "0.149.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260916"
25
+ REVISION = "20261007"
26
26
  end
27
27
  end
28
28
  end
@@ -11683,6 +11683,8 @@ module Google
11683
11683
 
11684
11684
  property :time_aggregation, as: 'timeAggregation', class: Google::Apis::ComputeAlpha::AutoscalingPolicyTimeAggregation, decorator: Google::Apis::ComputeAlpha::AutoscalingPolicyTimeAggregation::Representation
11685
11685
 
11686
+ property :utilization_max, as: 'utilizationMax'
11687
+ property :utilization_min, as: 'utilizationMin'
11686
11688
  property :utilization_range, as: 'utilizationRange', class: Google::Apis::ComputeAlpha::UtilizationRange, decorator: Google::Apis::ComputeAlpha::UtilizationRange::Representation
11687
11689
 
11688
11690
  property :utilization_target, as: 'utilizationTarget'
@@ -34214,58 +34214,6 @@ module Google
34214
34214
  execute_or_queue_command(command, &block)
34215
34215
  end
34216
34216
 
34217
- # Deletes a specified zone VM extension policy within an organization.
34218
- # @param [String] organization
34219
- # Organization ID for this request.
34220
- # @param [String] zone
34221
- # Name of the zone for this request.
34222
- # @param [String] vm_extension_policy
34223
- # Name of the zone VM extension policy to delete.
34224
- # @param [String] request_id
34225
- # An optional request ID to identify requests. Specify a unique request ID so
34226
- # that if you must retry your request, the server will know to ignore the
34227
- # request if it has already been completed.
34228
- # For example, consider a situation where you make an initial request and
34229
- # the request times out. If you make the request again with the same
34230
- # request ID, the server can check if original operation with the same
34231
- # request ID was received, and if so, will ignore the second request. This
34232
- # prevents clients from accidentally creating duplicate commitments.
34233
- # The request ID must be
34234
- # a valid UUID with the exception that zero UUID is not supported
34235
- # (00000000-0000-0000-0000-000000000000).
34236
- # @param [String] fields
34237
- # Selector specifying which fields to include in a partial response.
34238
- # @param [String] quota_user
34239
- # Available to use for quota purposes for server-side applications. Can be any
34240
- # arbitrary string assigned to a user, but should not exceed 40 characters.
34241
- # @param [String] user_ip
34242
- # Legacy name for parameter that has been superseded by `quotaUser`.
34243
- # @param [Google::Apis::RequestOptions] options
34244
- # Request-specific options
34245
- #
34246
- # @yield [result, err] Result & error if block supplied
34247
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
34248
- # @yieldparam err [StandardError] error object if request failed
34249
- #
34250
- # @return [Google::Apis::ComputeAlpha::Operation]
34251
- #
34252
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34253
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34254
- # @raise [Google::Apis::AuthorizationError] Authorization is required
34255
- def delete_org_vm_extension_policy(organization, zone, vm_extension_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34256
- command = make_simple_command(:delete, '{+organization}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}', options)
34257
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
34258
- command.response_class = Google::Apis::ComputeAlpha::Operation
34259
- command.params['organization'] = organization unless organization.nil?
34260
- command.params['zone'] = zone unless zone.nil?
34261
- command.params['vmExtensionPolicy'] = vm_extension_policy unless vm_extension_policy.nil?
34262
- command.query['requestId'] = request_id unless request_id.nil?
34263
- command.query['fields'] = fields unless fields.nil?
34264
- command.query['quotaUser'] = quota_user unless quota_user.nil?
34265
- command.query['userIp'] = user_ip unless user_ip.nil?
34266
- execute_or_queue_command(command, &block)
34267
- end
34268
-
34269
34217
  # Retrieves the list of all organization level VM Extension Policy resources
34270
34218
  # available to the specified organization.
34271
34219
  # To prevent failure, it's recommended that you set the
@@ -36528,6 +36476,58 @@ module Google
36528
36476
  execute_or_queue_command(command, &block)
36529
36477
  end
36530
36478
 
36479
+ # Deletes a specified zone VM extension policy within an organization.
36480
+ # @param [String] organization
36481
+ # Organization ID for this request.
36482
+ # @param [String] zone
36483
+ # Name of the zone for this request.
36484
+ # @param [String] vm_extension_policy
36485
+ # Name of the zone VM extension policy to delete.
36486
+ # @param [String] request_id
36487
+ # An optional request ID to identify requests. Specify a unique request ID so
36488
+ # that if you must retry your request, the server will know to ignore the
36489
+ # request if it has already been completed.
36490
+ # For example, consider a situation where you make an initial request and
36491
+ # the request times out. If you make the request again with the same
36492
+ # request ID, the server can check if original operation with the same
36493
+ # request ID was received, and if so, will ignore the second request. This
36494
+ # prevents clients from accidentally creating duplicate commitments.
36495
+ # The request ID must be
36496
+ # a valid UUID with the exception that zero UUID is not supported
36497
+ # (00000000-0000-0000-0000-000000000000).
36498
+ # @param [String] fields
36499
+ # Selector specifying which fields to include in a partial response.
36500
+ # @param [String] quota_user
36501
+ # Available to use for quota purposes for server-side applications. Can be any
36502
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
36503
+ # @param [String] user_ip
36504
+ # Legacy name for parameter that has been superseded by `quotaUser`.
36505
+ # @param [Google::Apis::RequestOptions] options
36506
+ # Request-specific options
36507
+ #
36508
+ # @yield [result, err] Result & error if block supplied
36509
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
36510
+ # @yieldparam err [StandardError] error object if request failed
36511
+ #
36512
+ # @return [Google::Apis::ComputeAlpha::Operation]
36513
+ #
36514
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
36515
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
36516
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
36517
+ def delete_organization_zone_vm_extension_policy(organization, zone, vm_extension_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
36518
+ command = make_simple_command(:delete, '{+organization}/zones/{zone}/vmExtensionPolicies/{vmExtensionPolicy}', options)
36519
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
36520
+ command.response_class = Google::Apis::ComputeAlpha::Operation
36521
+ command.params['organization'] = organization unless organization.nil?
36522
+ command.params['zone'] = zone unless zone.nil?
36523
+ command.params['vmExtensionPolicy'] = vm_extension_policy unless vm_extension_policy.nil?
36524
+ command.query['requestId'] = request_id unless request_id.nil?
36525
+ command.query['fields'] = fields unless fields.nil?
36526
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
36527
+ command.query['userIp'] = user_ip unless user_ip.nil?
36528
+ execute_or_queue_command(command, &block)
36529
+ end
36530
+
36531
36531
  # Retrieves details of a specific zone VM extension policy within an
36532
36532
  # organization.
36533
36533
  # @param [String] organization
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.147.0
4
+ version: 0.149.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_alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.147.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.149.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: