google-apis-tpu_v2alpha1 0.39.0 → 0.41.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: c3898b49e6a17e22ca46e2306583ec8bdc3bda0f469b880b481bc1284908c6de
4
- data.tar.gz: 0d7b11e246075f53825108884fa1d8003b1377bb719270b9cd964d733e9ec65d
3
+ metadata.gz: d53f146ff006562b9d26d57eb014294c55d660275e2da24f2911db7611caf188
4
+ data.tar.gz: 78ac7103a3ee563f85c08f15627b82bc235afa3b9bcd93e46d1e67337f426e39
5
5
  SHA512:
6
- metadata.gz: 12dbf749a139e2b59b75d354e7a4524fa347eec9ff913aeca175ae4847877930f119752d6881f1da846fc7f25476f4ef20bf0e08bbeecc57b7f67ba7a2a1d521
7
- data.tar.gz: 503c45f4c77ac4899419c4934d961df5542aedb508a9bcf5a4696eb70b902f12bcd867c77709bdeeead7e3a595348c10fbe806b99cfb2241de48df62f4a46e33
6
+ metadata.gz: 8452fb06813305a88470fc7f33ea75cc7ab9c4f1e46dbd50fd43d669d5c812bfcae0ee92d76b9c79e9b0e8b20046ae4b93469b68f22f77bb0b1a97148c5e4fd2
7
+ data.tar.gz: e5df5e10318f9ea645c3c4f93533c0c75e3abd349693ee297c32974c10b937d46fb5475872ddbe179ed8559457b68ceac2fed6e379a542924edef4240acab9aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-tpu_v2alpha1
2
2
 
3
+ ### v0.41.0 (2025-05-04)
4
+
5
+ * Regenerated using generator version 0.17.0
6
+
7
+ ### v0.40.0 (2025-04-27)
8
+
9
+ * Regenerated from discovery document revision 20250423
10
+
3
11
  ### v0.39.0 (2025-04-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20250410
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/tpu/) may provide guidance
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -178,12 +178,32 @@ 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
+
187
207
  # Optional. Image from which boot disk is to be created. If not specified, the
188
208
  # default image for the runtime version will be used. Example: `projects/$
189
209
  # PROJECT_ID/global/images/$IMAGE_NAME`.
@@ -198,7 +218,10 @@ module Google
198
218
  # Update properties of this object
199
219
  def update!(**args)
200
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)
201
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)
202
225
  @source_image = args[:source_image] if args.key?(:source_image)
203
226
  end
204
227
  end
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250410"
25
+ REVISION = "20250423"
26
26
  end
27
27
  end
28
28
  end
@@ -457,7 +457,10 @@ 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'
461
464
  property :source_image, as: 'sourceImage'
462
465
  end
463
466
  end
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.39.0
4
+ version: 0.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-20 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.39.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.41.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud TPU API V2alpha1
79
79
  test_files: []