google-apis-tpu_v2alpha1 0.23.0 → 0.24.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0013ef90a66175c6c976a418fd86db08d579d03e448fc5b8d5ffa7389e1a5838
|
4
|
+
data.tar.gz: bde9f6f864b200869f501e63e43d7359a100d83c4e02c89d99e0dcf019d2e60d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f067762b2c85e26b883024ef029769970dc047c33c557de609d3e94cfd9a86df4c96dc2d2886f1648e3f2f7c2fb5140f61ab17a5d6da2d6c4fb9dc97cf30ce86
|
7
|
+
data.tar.gz: 6dbc36679608fefee649414dbfdbcc74dfaac9adf998bc40a45e4df763b9c1c77b3afd683e30742fee9b9129c90e2578fd83c95537d07c60ffb04c63d1047e91
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# Release history for google-apis-tpu_v2alpha1
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.24.0 (2023-08-27)
|
4
4
|
|
5
|
-
* Regenerated from discovery document revision
|
5
|
+
* Regenerated from discovery document revision 20230814
|
6
|
+
|
7
|
+
### v0.23.0 (2023-08-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230803
|
6
10
|
|
7
11
|
### v0.22.0 (2023-07-23)
|
8
12
|
|
@@ -163,6 +163,32 @@ module Google
|
|
163
163
|
end
|
164
164
|
end
|
165
165
|
|
166
|
+
# Boot disk configurations.
|
167
|
+
class BootDiskConfig
|
168
|
+
include Google::Apis::Core::Hashable
|
169
|
+
|
170
|
+
# Customer's encryption key.
|
171
|
+
# Corresponds to the JSON property `customerEncryptionKey`
|
172
|
+
# @return [Google::Apis::TpuV2alpha1::CustomerEncryptionKey]
|
173
|
+
attr_accessor :customer_encryption_key
|
174
|
+
|
175
|
+
# Optional. Whether the boot disk will be created with confidential compute mode.
|
176
|
+
# Corresponds to the JSON property `enableConfidentialCompute`
|
177
|
+
# @return [Boolean]
|
178
|
+
attr_accessor :enable_confidential_compute
|
179
|
+
alias_method :enable_confidential_compute?, :enable_confidential_compute
|
180
|
+
|
181
|
+
def initialize(**args)
|
182
|
+
update!(**args)
|
183
|
+
end
|
184
|
+
|
185
|
+
# Update properties of this object
|
186
|
+
def update!(**args)
|
187
|
+
@customer_encryption_key = args[:customer_encryption_key] if args.key?(:customer_encryption_key)
|
188
|
+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
166
192
|
# Further data for the creating state.
|
167
193
|
class CreatingData
|
168
194
|
include Google::Apis::Core::Hashable
|
@@ -176,6 +202,29 @@ module Google
|
|
176
202
|
end
|
177
203
|
end
|
178
204
|
|
205
|
+
# Customer's encryption key.
|
206
|
+
class CustomerEncryptionKey
|
207
|
+
include Google::Apis::Core::Hashable
|
208
|
+
|
209
|
+
# The name of the encryption key that is stored in Google Cloud KMS. For example:
|
210
|
+
# "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/
|
211
|
+
# cryptoKeys/key The fully-qualifed key name may be returned for resource GET
|
212
|
+
# requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/
|
213
|
+
# keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
|
214
|
+
# Corresponds to the JSON property `kmsKeyName`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :kms_key_name
|
217
|
+
|
218
|
+
def initialize(**args)
|
219
|
+
update!(**args)
|
220
|
+
end
|
221
|
+
|
222
|
+
# Update properties of this object
|
223
|
+
def update!(**args)
|
224
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
179
228
|
# Further data for the deleting state.
|
180
229
|
class DeletingData
|
181
230
|
include Google::Apis::Core::Hashable
|
@@ -787,6 +836,11 @@ module Google
|
|
787
836
|
# @return [String]
|
788
837
|
attr_accessor :api_version
|
789
838
|
|
839
|
+
# Boot disk configurations.
|
840
|
+
# Corresponds to the JSON property `bootDiskConfig`
|
841
|
+
# @return [Google::Apis::TpuV2alpha1::BootDiskConfig]
|
842
|
+
attr_accessor :boot_disk_config
|
843
|
+
|
790
844
|
# The CIDR block that the TPU node will use when selecting an IP address. This
|
791
845
|
# CIDR block must be a /29 block; the Compute Engine networks API forbids a
|
792
846
|
# smaller block, and using a larger block would be wasteful (a node can only
|
@@ -913,6 +967,7 @@ module Google
|
|
913
967
|
@accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
|
914
968
|
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
915
969
|
@api_version = args[:api_version] if args.key?(:api_version)
|
970
|
+
@boot_disk_config = args[:boot_disk_config] if args.key?(:boot_disk_config)
|
916
971
|
@cidr_block = args[:cidr_block] if args.key?(:cidr_block)
|
917
972
|
@create_time = args[:create_time] if args.key?(:create_time)
|
918
973
|
@data_disks = args[:data_disks] if args.key?(:data_disks)
|
@@ -1018,13 +1073,13 @@ module Google
|
|
1018
1073
|
# @return [String]
|
1019
1074
|
attr_accessor :name
|
1020
1075
|
|
1021
|
-
# The normal response of the operation
|
1022
|
-
#
|
1023
|
-
#
|
1024
|
-
#
|
1025
|
-
#
|
1026
|
-
#
|
1027
|
-
#
|
1076
|
+
# The normal, successful response of the operation. If the original method
|
1077
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
1078
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
1079
|
+
# response should be the resource. For other methods, the response should have
|
1080
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
1081
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
1082
|
+
# `TakeSnapshotResponse`.
|
1028
1083
|
# Corresponds to the JSON property `response`
|
1029
1084
|
# @return [Hash<String,Object>]
|
1030
1085
|
attr_accessor :response
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230814"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,12 +64,24 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class BootDiskConfig
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class CreatingData
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
70
76
|
include Google::Apis::Core::JsonObjectSupport
|
71
77
|
end
|
72
78
|
|
79
|
+
class CustomerEncryptionKey
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
73
85
|
class DeletingData
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
87
|
|
@@ -391,12 +403,28 @@ module Google
|
|
391
403
|
end
|
392
404
|
end
|
393
405
|
|
406
|
+
class BootDiskConfig
|
407
|
+
# @private
|
408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
409
|
+
property :customer_encryption_key, as: 'customerEncryptionKey', class: Google::Apis::TpuV2alpha1::CustomerEncryptionKey, decorator: Google::Apis::TpuV2alpha1::CustomerEncryptionKey::Representation
|
410
|
+
|
411
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
412
|
+
end
|
413
|
+
end
|
414
|
+
|
394
415
|
class CreatingData
|
395
416
|
# @private
|
396
417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
397
418
|
end
|
398
419
|
end
|
399
420
|
|
421
|
+
class CustomerEncryptionKey
|
422
|
+
# @private
|
423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
property :kms_key_name, as: 'kmsKeyName'
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
400
428
|
class DeletingData
|
401
429
|
# @private
|
402
430
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -593,6 +621,8 @@ module Google
|
|
593
621
|
|
594
622
|
property :accelerator_type, as: 'acceleratorType'
|
595
623
|
property :api_version, as: 'apiVersion'
|
624
|
+
property :boot_disk_config, as: 'bootDiskConfig', class: Google::Apis::TpuV2alpha1::BootDiskConfig, decorator: Google::Apis::TpuV2alpha1::BootDiskConfig::Representation
|
625
|
+
|
596
626
|
property :cidr_block, as: 'cidrBlock'
|
597
627
|
property :create_time, as: 'createTime'
|
598
628
|
collection :data_disks, as: 'dataDisks', class: Google::Apis::TpuV2alpha1::AttachedDisk, decorator: Google::Apis::TpuV2alpha1::AttachedDisk::Representation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-tpu_v2alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-tpu_v2alpha1/v0.24.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-tpu_v2alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud TPU API V2alpha1
|