google-apis-tpu_v2 0.18.0 → 0.19.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: d161bfe968fc7203962c40c379ad9af0678245d906d329426557da5821a3a2b4
4
- data.tar.gz: 9fa93118febf339abfdfb6e88642493e7458fd1e14344deff7b42e277b105542
3
+ metadata.gz: 48aaafdc86205ebca3fae2854e16ac68091895f7126ebf7326e3c31e1d8fadc7
4
+ data.tar.gz: 5fdb8a532f187bcb2bc782547f40490093ab09cadea07b4de3762707d9599cde
5
5
  SHA512:
6
- metadata.gz: 2411eef01ed1562749e9da63e27dd14c4212f6174cc501eff296e2ff5542de48210ced70cd9a3e2306d4b3ff6c4826efba3db9dac28f7ffebe393787f0a1bf44
7
- data.tar.gz: c9e003bd3e9bd0a6ffa752eca26f86234b743789205f70087fa921d8781e14bd391cb1507a193a2c76b5c806f82ab835990b4e6ad17df5bcf1ba6e8bca04876d
6
+ metadata.gz: 6e0c0549c790312e1d1a3d0edb0a32cb9bf9b0e87e21b6e2d8c0edf0bdeb32a620af42bd59eb4c8b94a74a51c8495c4790a3bf2adaad6af7feba5c0f2d4857ef
7
+ data.tar.gz: 8f9a2a890a338f23dfaab49444545abbe36bab7c4f84cc5ab38f2a0b88532232a543cc7bd128f224024f4e46b8659a116ecc50c85bfa4468eb23240a49d94d39
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-tpu_v2
2
2
 
3
+ ### v0.19.0 (2025-09-14)
4
+
5
+ * Regenerated from discovery document revision 20250903
6
+
3
7
  ### v0.18.0 (2025-08-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20250815
@@ -150,6 +150,25 @@ module Google
150
150
  end
151
151
  end
152
152
 
153
+ # Sets the boot disk configuration for the TPU node.
154
+ class BootDiskConfig
155
+ include Google::Apis::Core::Hashable
156
+
157
+ # Defines the customer encryption key for disk encryption.
158
+ # Corresponds to the JSON property `customerEncryptionKey`
159
+ # @return [Google::Apis::TpuV2::CustomerEncryptionKey]
160
+ attr_accessor :customer_encryption_key
161
+
162
+ def initialize(**args)
163
+ update!(**args)
164
+ end
165
+
166
+ # Update properties of this object
167
+ def update!(**args)
168
+ @customer_encryption_key = args[:customer_encryption_key] if args.key?(:customer_encryption_key)
169
+ end
170
+ end
171
+
153
172
  # Further data for the creating state.
154
173
  class CreatingData
155
174
  include Google::Apis::Core::Hashable
@@ -163,6 +182,29 @@ module Google
163
182
  end
164
183
  end
165
184
 
185
+ # Defines the customer encryption key for disk encryption.
186
+ class CustomerEncryptionKey
187
+ include Google::Apis::Core::Hashable
188
+
189
+ # The name of the encryption key that is stored in Google Cloud KMS. For example:
190
+ # "kmsKeyName": "projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/
191
+ # cryptoKeys/KEY The fully-qualifed key name may be returned for resource GET
192
+ # requests. For example: "kmsKeyName": "projects/KMS_PROJECT_ID/locations/REGION/
193
+ # keyRings/KEY_REGION/cryptoKeys/KEY/cryptoKeyVersions/1
194
+ # Corresponds to the JSON property `kmsKeyName`
195
+ # @return [String]
196
+ attr_accessor :kms_key_name
197
+
198
+ def initialize(**args)
199
+ update!(**args)
200
+ end
201
+
202
+ # Update properties of this object
203
+ def update!(**args)
204
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
205
+ end
206
+ end
207
+
166
208
  # Further data for the deleting state.
167
209
  class DeletingData
168
210
  include Google::Apis::Core::Hashable
@@ -773,6 +815,11 @@ module Google
773
815
  # @return [String]
774
816
  attr_accessor :api_version
775
817
 
818
+ # Sets the boot disk configuration for the TPU node.
819
+ # Corresponds to the JSON property `bootDiskConfig`
820
+ # @return [Google::Apis::TpuV2::BootDiskConfig]
821
+ attr_accessor :boot_disk_config
822
+
776
823
  # The CIDR block that the TPU node will use when selecting an IP address. This
777
824
  # CIDR block must be a /29 block; the Compute Engine networks API forbids a
778
825
  # smaller block, and using a larger block would be wasteful (a node can only
@@ -912,6 +959,7 @@ module Google
912
959
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
913
960
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
914
961
  @api_version = args[:api_version] if args.key?(:api_version)
962
+ @boot_disk_config = args[:boot_disk_config] if args.key?(:boot_disk_config)
915
963
  @cidr_block = args[:cidr_block] if args.key?(:cidr_block)
916
964
  @create_time = args[:create_time] if args.key?(:create_time)
917
965
  @data_disks = args[:data_disks] if args.key?(:data_disks)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TpuV2
18
18
  # Version of the google-apis-tpu_v2 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.19.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 = "20250815"
25
+ REVISION = "20250903"
26
26
  end
27
27
  end
28
28
  end
@@ -58,12 +58,24 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class BootDiskConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class CreatingData
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
64
70
  include Google::Apis::Core::JsonObjectSupport
65
71
  end
66
72
 
73
+ class CustomerEncryptionKey
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
67
79
  class DeletingData
68
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
81
 
@@ -379,12 +391,27 @@ module Google
379
391
  end
380
392
  end
381
393
 
394
+ class BootDiskConfig
395
+ # @private
396
+ class Representation < Google::Apis::Core::JsonRepresentation
397
+ property :customer_encryption_key, as: 'customerEncryptionKey', class: Google::Apis::TpuV2::CustomerEncryptionKey, decorator: Google::Apis::TpuV2::CustomerEncryptionKey::Representation
398
+
399
+ end
400
+ end
401
+
382
402
  class CreatingData
383
403
  # @private
384
404
  class Representation < Google::Apis::Core::JsonRepresentation
385
405
  end
386
406
  end
387
407
 
408
+ class CustomerEncryptionKey
409
+ # @private
410
+ class Representation < Google::Apis::Core::JsonRepresentation
411
+ property :kms_key_name, as: 'kmsKeyName'
412
+ end
413
+ end
414
+
388
415
  class DeletingData
389
416
  # @private
390
417
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -581,6 +608,8 @@ module Google
581
608
 
582
609
  property :accelerator_type, as: 'acceleratorType'
583
610
  property :api_version, as: 'apiVersion'
611
+ property :boot_disk_config, as: 'bootDiskConfig', class: Google::Apis::TpuV2::BootDiskConfig, decorator: Google::Apis::TpuV2::BootDiskConfig::Representation
612
+
584
613
  property :cidr_block, as: 'cidrBlock'
585
614
  property :create_time, as: 'createTime'
586
615
  collection :data_disks, as: 'dataDisks', class: Google::Apis::TpuV2::AttachedDisk, decorator: Google::Apis::TpuV2::AttachedDisk::Representation
@@ -118,8 +118,8 @@ module Google
118
118
  # @param [String] name
119
119
  # The resource that owns the locations collection, if applicable.
120
120
  # @param [Array<String>, String] extra_location_types
121
- # Optional. Do not use this field. It is unsupported and is ignored unless
122
- # explicitly documented otherwise. This is primarily for internal usage.
121
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
122
+ # field which is primarily intended for internal usage.
123
123
  # @param [String] filter
124
124
  # A filter to narrow down results to a preferred subset. The filtering language
125
125
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-tpu_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.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-tpu_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2/v0.18.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2/v0.19.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2
62
62
  rdoc_options: []
63
63
  require_paths: