google-cloud-notebooks-v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -200,6 +200,46 @@ module Google
200
200
  end
201
201
  end
202
202
 
203
+ # Request for adding/changing metadata items for an instance.
204
+ # @!attribute [rw] name
205
+ # @return [::String]
206
+ # Required. Format:
207
+ # `projects/{project_id}/locations/{location}/instances/{instance_id}`
208
+ # @!attribute [rw] items
209
+ # @return [::Google::Protobuf::Map{::String => ::String}]
210
+ # Metadata items to add/update for the instance.
211
+ class UpdateInstanceMetadataItemsRequest
212
+ include ::Google::Protobuf::MessageExts
213
+ extend ::Google::Protobuf::MessageExts::ClassMethods
214
+
215
+ # @!attribute [rw] key
216
+ # @return [::String]
217
+ # @!attribute [rw] value
218
+ # @return [::String]
219
+ class ItemsEntry
220
+ include ::Google::Protobuf::MessageExts
221
+ extend ::Google::Protobuf::MessageExts::ClassMethods
222
+ end
223
+ end
224
+
225
+ # Response for adding/changing metadata items for an instance.
226
+ # @!attribute [rw] items
227
+ # @return [::Google::Protobuf::Map{::String => ::String}]
228
+ # Map of items that were added/updated to/in the metadata.
229
+ class UpdateInstanceMetadataItemsResponse
230
+ include ::Google::Protobuf::MessageExts
231
+ extend ::Google::Protobuf::MessageExts::ClassMethods
232
+
233
+ # @!attribute [rw] key
234
+ # @return [::String]
235
+ # @!attribute [rw] value
236
+ # @return [::String]
237
+ class ItemsEntry
238
+ include ::Google::Protobuf::MessageExts
239
+ extend ::Google::Protobuf::MessageExts::ClassMethods
240
+ end
241
+ end
242
+
203
243
  # Request for updating the Shielded Instance config for a notebook instance.
204
244
  # You can only use this method on a stopped instance
205
245
  # @!attribute [rw] name
@@ -244,7 +284,7 @@ module Google
244
284
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
285
  end
246
286
 
247
- # Request for reseting a notebook instance
287
+ # Request for resetting a notebook instance
248
288
  # @!attribute [rw] name
249
289
  # @return [::String]
250
290
  # Required. Format:
@@ -286,6 +326,10 @@ module Google
286
326
  # @return [::String]
287
327
  # Required. Format:
288
328
  # `projects/{project_id}/locations/{location}/instances/{instance_id}`
329
+ # @!attribute [rw] type
330
+ # @return [::Google::Cloud::Notebooks::V1::UpgradeType]
331
+ # Optional. The optional UpgradeType. Setting this field will search for additional
332
+ # compute images to upgrade this instance.
289
333
  class IsInstanceUpgradeableRequest
290
334
  include ::Google::Protobuf::MessageExts
291
335
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -380,6 +424,10 @@ module Google
380
424
  # @return [::String]
381
425
  # Required. Format:
382
426
  # `projects/{project_id}/locations/{location}/instances/{instance_id}`
427
+ # @!attribute [rw] type
428
+ # @return [::Google::Cloud::Notebooks::V1::UpgradeType]
429
+ # Optional. The optional UpgradeType. Setting this field will search for additional
430
+ # compute images to upgrade this instance.
383
431
  class UpgradeInstanceRequest
384
432
  include ::Google::Protobuf::MessageExts
385
433
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -408,6 +456,10 @@ module Google
408
456
  # @return [::String]
409
457
  # Required. The VM hardware token for authenticating the VM.
410
458
  # https://cloud.google.com/compute/docs/instances/verifying-instance-identity
459
+ # @!attribute [rw] type
460
+ # @return [::Google::Cloud::Notebooks::V1::UpgradeType]
461
+ # Optional. The optional UpgradeType. Setting this field will search for additional
462
+ # compute images to upgrade this instance.
411
463
  class UpgradeInstanceInternalRequest
412
464
  include ::Google::Protobuf::MessageExts
413
465
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -650,6 +702,25 @@ module Google
650
702
  include ::Google::Protobuf::MessageExts
651
703
  extend ::Google::Protobuf::MessageExts::ClassMethods
652
704
  end
705
+
706
+ # Definition of the types of upgrade that can be used on this
707
+ # instance.
708
+ module UpgradeType
709
+ # Upgrade type is not specified.
710
+ UPGRADE_TYPE_UNSPECIFIED = 0
711
+
712
+ # Upgrade ML framework.
713
+ UPGRADE_FRAMEWORK = 1
714
+
715
+ # Upgrade Operating System.
716
+ UPGRADE_OS = 2
717
+
718
+ # Upgrade CUDA.
719
+ UPGRADE_CUDA = 3
720
+
721
+ # Upgrade All (OS, Framework and CUDA).
722
+ UPGRADE_ALL = 4
723
+ end
653
724
  end
654
725
  end
655
726
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-notebooks-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2022-04-01 00:00:00.000000000 Z
11
+ date: 2022-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common