google-apis-tpu_v2alpha1 0.38.0 → 0.40.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: 48b6fb8910f17c8b1ca6664cad2b9c51867cde239f2d70c62943d4ae6cf06973
4
- data.tar.gz: d573a633dc40dcacf2fa52aa5f2b354ec5f82e286417ccd3df28eac410c4f47a
3
+ metadata.gz: 0e5f5b1e0c8cde93a2d564b8f87f7549bb14585b05ac73c4ed4367f8c69b7e63
4
+ data.tar.gz: f7f2eafaf36c9ac69ea5a7a2923fe7f72c05ea212afcf8f8ac92acf7e3e5d75a
5
5
  SHA512:
6
- metadata.gz: d0a64d8f1af673c48e6c574e7b7ba0a8ade9bdc8a69c447f9892d11bf70cd91bb9f06e66e338e0fb8045ff0a6983b3a1284cd4fb6b3546b74fe17b6de16afb86
7
- data.tar.gz: 43c58f27a6f3c478ddbf492442cd216b46e9685c649f4526dd7340231dea2f7fc9a4d78e6962e5e23840e7a7d6b72ace553762b613d3d83e1ebec982592e7616
6
+ metadata.gz: 8221fa5f03b6c628da4d392e695c1e7bc5c364e5c37fb8b03d0fb8df00b307e2deadad8195e7d6766efed198c710968bc595dc82adf4fcd702ad806adcac2d02
7
+ data.tar.gz: b6c611bbcb166fc13c1b047d451751cc30f46e22c58c31ca5f66aa779f91f66969d51c1aac6aa793008adc8d1895ed7380fd65fa2ad2d59466c12dd93d99167f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.40.0 (2025-04-27)
4
+
5
+ * Regenerated from discovery document revision 20250423
6
+
7
+ ### v0.39.0 (2025-04-20)
8
+
9
+ * Regenerated from discovery document revision 20250410
10
+
3
11
  ### v0.38.0 (2025-03-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20250320
@@ -178,12 +178,39 @@ module Google
178
178
  # @return [Google::Apis::TpuV2alpha1::CustomerEncryptionKey]
179
179
  attr_accessor :customer_encryption_key
180
180
 
181
+ # Optional. Size of the boot disk in GB. It must be larger than or equal to the
182
+ # size of the image.
183
+ # Corresponds to the JSON property `diskSizeGb`
184
+ # @return [Fixnum]
185
+ attr_accessor :disk_size_gb
186
+
181
187
  # Optional. Whether the boot disk will be created with confidential compute mode.
182
188
  # Corresponds to the JSON property `enableConfidentialCompute`
183
189
  # @return [Boolean]
184
190
  attr_accessor :enable_confidential_compute
185
191
  alias_method :enable_confidential_compute?, :enable_confidential_compute
186
192
 
193
+ # Optional. Indicates how many IOPS to provision for the disk. This sets the
194
+ # number of I/O operations per second that the disk can handle. To learn more
195
+ # about IOPS, see [Provisioning persistent disk performance](https://cloud.
196
+ # google.com/compute/docs/disks/performance#provisioned-iops).
197
+ # Corresponds to the JSON property `provisionedIops`
198
+ # @return [Fixnum]
199
+ attr_accessor :provisioned_iops
200
+
201
+ # Optional. Indicates how much throughput to provision for the disk. This sets
202
+ # the number of throughput MB per second that the disk can handle.
203
+ # Corresponds to the JSON property `provisionedThroughput`
204
+ # @return [Fixnum]
205
+ attr_accessor :provisioned_throughput
206
+
207
+ # Optional. Image from which boot disk is to be created. If not specified, the
208
+ # default image for the runtime version will be used. Example: `projects/$
209
+ # PROJECT_ID/global/images/$IMAGE_NAME`.
210
+ # Corresponds to the JSON property `sourceImage`
211
+ # @return [String]
212
+ attr_accessor :source_image
213
+
187
214
  def initialize(**args)
188
215
  update!(**args)
189
216
  end
@@ -191,7 +218,11 @@ module Google
191
218
  # Update properties of this object
192
219
  def update!(**args)
193
220
  @customer_encryption_key = args[:customer_encryption_key] if args.key?(:customer_encryption_key)
221
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
194
222
  @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
223
+ @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
224
+ @provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
225
+ @source_image = args[:source_image] if args.key?(:source_image)
195
226
  end
196
227
  end
197
228
 
@@ -1576,6 +1607,11 @@ module Google
1576
1607
  attr_accessor :preemptible
1577
1608
  alias_method :preemptible?, :preemptible
1578
1609
 
1610
+ # Optional. Defines the provisioning model for the node.
1611
+ # Corresponds to the JSON property `provisioningModel`
1612
+ # @return [String]
1613
+ attr_accessor :provisioning_model
1614
+
1579
1615
  # Whether the node is created under a reservation.
1580
1616
  # Corresponds to the JSON property `reserved`
1581
1617
  # @return [Boolean]
@@ -1600,6 +1636,7 @@ module Google
1600
1636
  # Update properties of this object
1601
1637
  def update!(**args)
1602
1638
  @preemptible = args[:preemptible] if args.key?(:preemptible)
1639
+ @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
1603
1640
  @reserved = args[:reserved] if args.key?(:reserved)
1604
1641
  @spot = args[:spot] if args.key?(:spot)
1605
1642
  @termination_timestamp = args[:termination_timestamp] if args.key?(:termination_timestamp)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TpuV2alpha1
18
18
  # Version of the google-apis-tpu_v2alpha1 gem
19
- GEM_VERSION = "0.38.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250320"
25
+ REVISION = "20250423"
26
26
  end
27
27
  end
28
28
  end
@@ -457,7 +457,11 @@ module Google
457
457
  class Representation < Google::Apis::Core::JsonRepresentation
458
458
  property :customer_encryption_key, as: 'customerEncryptionKey', class: Google::Apis::TpuV2alpha1::CustomerEncryptionKey, decorator: Google::Apis::TpuV2alpha1::CustomerEncryptionKey::Representation
459
459
 
460
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
460
461
  property :enable_confidential_compute, as: 'enableConfidentialCompute'
462
+ property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
463
+ property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
464
+ property :source_image, as: 'sourceImage'
461
465
  end
462
466
  end
463
467
 
@@ -871,6 +875,7 @@ module Google
871
875
  # @private
872
876
  class Representation < Google::Apis::Core::JsonRepresentation
873
877
  property :preemptible, as: 'preemptible'
878
+ property :provisioning_model, as: 'provisioningModel'
874
879
  property :reserved, as: 'reserved'
875
880
  property :spot, as: 'spot'
876
881
  property :termination_timestamp, as: 'terminationTimestamp'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-tpu_v2alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-30 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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-tpu_v2alpha1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.38.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.40.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1
62
62
  rdoc_options: []
63
63
  require_paths: