google-apis-notebooks_v2 0.2.0 → 0.3.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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NotebooksV2
18
18
  # Version of the google-apis-notebooks_v2 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.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 = "20230420"
25
+ REVISION = "20230710"
26
26
  end
27
27
  end
28
28
  end
@@ -22,30 +22,102 @@ module Google
22
22
  module Apis
23
23
  module NotebooksV2
24
24
 
25
+ class AcceleratorConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Binding
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
28
34
  include Google::Apis::Core::JsonObjectSupport
29
35
  end
30
36
 
37
+ class BootDisk
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class CancelOperationRequest
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
34
46
  include Google::Apis::Core::JsonObjectSupport
35
47
  end
36
48
 
49
+ class CheckInstanceUpgradabilityResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ContainerImage
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class DataDisk
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class DiagnoseInstanceRequest
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class DiagnosticConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
37
79
  class Empty
38
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
81
 
40
82
  include Google::Apis::Core::JsonObjectSupport
41
83
  end
42
84
 
85
+ class Event
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
43
91
  class Expr
44
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
93
 
46
94
  include Google::Apis::Core::JsonObjectSupport
47
95
  end
48
96
 
97
+ class GpuDriverConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GceSetup
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Instance
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ListInstancesResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
49
121
  class ListLocationsResponse
50
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
123
 
@@ -64,6 +136,12 @@ module Google
64
136
  include Google::Apis::Core::JsonObjectSupport
65
137
  end
66
138
 
139
+ class NetworkInterface
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
67
145
  class Operation
68
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
147
 
@@ -82,18 +160,60 @@ module Google
82
160
  include Google::Apis::Core::JsonObjectSupport
83
161
  end
84
162
 
163
+ class ReportInstanceInfoSystemRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ResetInstanceRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class RollbackInstanceRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ServiceAccount
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
85
187
  class SetIamPolicyRequest
86
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
189
 
88
190
  include Google::Apis::Core::JsonObjectSupport
89
191
  end
90
192
 
193
+ class ShieldedInstanceConfig
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class StartInstanceRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
91
205
  class Status
92
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
207
 
94
208
  include Google::Apis::Core::JsonObjectSupport
95
209
  end
96
210
 
211
+ class StopInstanceRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
97
217
  class TestIamPermissionsRequest
98
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
219
 
@@ -106,6 +226,38 @@ module Google
106
226
  include Google::Apis::Core::JsonObjectSupport
107
227
  end
108
228
 
229
+ class UpgradeHistoryEntry
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class UpgradeInstanceRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class UpgradeInstanceSystemRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class VmImage
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class AcceleratorConfig
254
+ # @private
255
+ class Representation < Google::Apis::Core::JsonRepresentation
256
+ property :core_count, :numeric_string => true, as: 'coreCount'
257
+ property :type, as: 'type'
258
+ end
259
+ end
260
+
109
261
  class Binding
110
262
  # @private
111
263
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -116,18 +268,84 @@ module Google
116
268
  end
117
269
  end
118
270
 
271
+ class BootDisk
272
+ # @private
273
+ class Representation < Google::Apis::Core::JsonRepresentation
274
+ property :disk_encryption, as: 'diskEncryption'
275
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
276
+ property :disk_type, as: 'diskType'
277
+ property :kms_key, as: 'kmsKey'
278
+ end
279
+ end
280
+
119
281
  class CancelOperationRequest
120
282
  # @private
121
283
  class Representation < Google::Apis::Core::JsonRepresentation
122
284
  end
123
285
  end
124
286
 
287
+ class CheckInstanceUpgradabilityResponse
288
+ # @private
289
+ class Representation < Google::Apis::Core::JsonRepresentation
290
+ property :upgrade_image, as: 'upgradeImage'
291
+ property :upgrade_info, as: 'upgradeInfo'
292
+ property :upgrade_version, as: 'upgradeVersion'
293
+ property :upgradeable, as: 'upgradeable'
294
+ end
295
+ end
296
+
297
+ class ContainerImage
298
+ # @private
299
+ class Representation < Google::Apis::Core::JsonRepresentation
300
+ property :repository, as: 'repository'
301
+ property :tag, as: 'tag'
302
+ end
303
+ end
304
+
305
+ class DataDisk
306
+ # @private
307
+ class Representation < Google::Apis::Core::JsonRepresentation
308
+ property :disk_encryption, as: 'diskEncryption'
309
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
310
+ property :disk_type, as: 'diskType'
311
+ property :kms_key, as: 'kmsKey'
312
+ end
313
+ end
314
+
315
+ class DiagnoseInstanceRequest
316
+ # @private
317
+ class Representation < Google::Apis::Core::JsonRepresentation
318
+ property :diagnostic_config, as: 'diagnosticConfig', class: Google::Apis::NotebooksV2::DiagnosticConfig, decorator: Google::Apis::NotebooksV2::DiagnosticConfig::Representation
319
+
320
+ end
321
+ end
322
+
323
+ class DiagnosticConfig
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ property :enable_copy_home_files_flag, as: 'enableCopyHomeFilesFlag'
327
+ property :enable_packet_capture_flag, as: 'enablePacketCaptureFlag'
328
+ property :enable_repair_flag, as: 'enableRepairFlag'
329
+ property :gcs_bucket, as: 'gcsBucket'
330
+ property :relative_path, as: 'relativePath'
331
+ end
332
+ end
333
+
125
334
  class Empty
126
335
  # @private
127
336
  class Representation < Google::Apis::Core::JsonRepresentation
128
337
  end
129
338
  end
130
339
 
340
+ class Event
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ hash :details, as: 'details'
344
+ property :report_time, as: 'reportTime'
345
+ property :type, as: 'type'
346
+ end
347
+ end
348
+
131
349
  class Expr
132
350
  # @private
133
351
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -138,6 +356,75 @@ module Google
138
356
  end
139
357
  end
140
358
 
359
+ class GpuDriverConfig
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ property :custom_gpu_driver_path, as: 'customGpuDriverPath'
363
+ property :enable_gpu_driver, as: 'enableGpuDriver'
364
+ end
365
+ end
366
+
367
+ class GceSetup
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ collection :accelerator_configs, as: 'acceleratorConfigs', class: Google::Apis::NotebooksV2::AcceleratorConfig, decorator: Google::Apis::NotebooksV2::AcceleratorConfig::Representation
371
+
372
+ property :boot_disk, as: 'bootDisk', class: Google::Apis::NotebooksV2::BootDisk, decorator: Google::Apis::NotebooksV2::BootDisk::Representation
373
+
374
+ property :container_image, as: 'containerImage', class: Google::Apis::NotebooksV2::ContainerImage, decorator: Google::Apis::NotebooksV2::ContainerImage::Representation
375
+
376
+ collection :data_disks, as: 'dataDisks', class: Google::Apis::NotebooksV2::DataDisk, decorator: Google::Apis::NotebooksV2::DataDisk::Representation
377
+
378
+ property :disable_public_ip, as: 'disablePublicIp'
379
+ property :enable_ip_forwarding, as: 'enableIpForwarding'
380
+ property :gpu_driver_config, as: 'gpuDriverConfig', class: Google::Apis::NotebooksV2::GpuDriverConfig, decorator: Google::Apis::NotebooksV2::GpuDriverConfig::Representation
381
+
382
+ property :machine_type, as: 'machineType'
383
+ hash :metadata, as: 'metadata'
384
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::NotebooksV2::NetworkInterface, decorator: Google::Apis::NotebooksV2::NetworkInterface::Representation
385
+
386
+ collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::NotebooksV2::ServiceAccount, decorator: Google::Apis::NotebooksV2::ServiceAccount::Representation
387
+
388
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV2::ShieldedInstanceConfig, decorator: Google::Apis::NotebooksV2::ShieldedInstanceConfig::Representation
389
+
390
+ collection :tags, as: 'tags'
391
+ property :vm_image, as: 'vmImage', class: Google::Apis::NotebooksV2::VmImage, decorator: Google::Apis::NotebooksV2::VmImage::Representation
392
+
393
+ end
394
+ end
395
+
396
+ class Instance
397
+ # @private
398
+ class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :create_time, as: 'createTime'
400
+ property :creator, as: 'creator'
401
+ property :disable_proxy_access, as: 'disableProxyAccess'
402
+ property :gce_setup, as: 'gceSetup', class: Google::Apis::NotebooksV2::GceSetup, decorator: Google::Apis::NotebooksV2::GceSetup::Representation
403
+
404
+ hash :health_info, as: 'healthInfo'
405
+ property :health_state, as: 'healthState'
406
+ property :id, as: 'id'
407
+ collection :instance_owners, as: 'instanceOwners'
408
+ hash :labels, as: 'labels'
409
+ property :name, as: 'name'
410
+ property :proxy_uri, as: 'proxyUri'
411
+ property :state, as: 'state'
412
+ property :update_time, as: 'updateTime'
413
+ collection :upgrade_history, as: 'upgradeHistory', class: Google::Apis::NotebooksV2::UpgradeHistoryEntry, decorator: Google::Apis::NotebooksV2::UpgradeHistoryEntry::Representation
414
+
415
+ end
416
+ end
417
+
418
+ class ListInstancesResponse
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ collection :instances, as: 'instances', class: Google::Apis::NotebooksV2::Instance, decorator: Google::Apis::NotebooksV2::Instance::Representation
422
+
423
+ property :next_page_token, as: 'nextPageToken'
424
+ collection :unreachable, as: 'unreachable'
425
+ end
426
+ end
427
+
141
428
  class ListLocationsResponse
142
429
  # @private
143
430
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -167,6 +454,15 @@ module Google
167
454
  end
168
455
  end
169
456
 
457
+ class NetworkInterface
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :network, as: 'network'
461
+ property :nic_type, as: 'nicType'
462
+ property :subnet, as: 'subnet'
463
+ end
464
+ end
465
+
170
466
  class Operation
171
467
  # @private
172
468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -203,6 +499,37 @@ module Google
203
499
  end
204
500
  end
205
501
 
502
+ class ReportInstanceInfoSystemRequest
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :event, as: 'event', class: Google::Apis::NotebooksV2::Event, decorator: Google::Apis::NotebooksV2::Event::Representation
506
+
507
+ property :vm_id, as: 'vmId'
508
+ end
509
+ end
510
+
511
+ class ResetInstanceRequest
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ end
515
+ end
516
+
517
+ class RollbackInstanceRequest
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :revision_id, as: 'revisionId'
521
+ property :target_snapshot, as: 'targetSnapshot'
522
+ end
523
+ end
524
+
525
+ class ServiceAccount
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :email, as: 'email'
529
+ collection :scopes, as: 'scopes'
530
+ end
531
+ end
532
+
206
533
  class SetIamPolicyRequest
207
534
  # @private
208
535
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -211,6 +538,21 @@ module Google
211
538
  end
212
539
  end
213
540
 
541
+ class ShieldedInstanceConfig
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
545
+ property :enable_secure_boot, as: 'enableSecureBoot'
546
+ property :enable_vtpm, as: 'enableVtpm'
547
+ end
548
+ end
549
+
550
+ class StartInstanceRequest
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ end
554
+ end
555
+
214
556
  class Status
215
557
  # @private
216
558
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -220,6 +562,12 @@ module Google
220
562
  end
221
563
  end
222
564
 
565
+ class StopInstanceRequest
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ end
569
+ end
570
+
223
571
  class TestIamPermissionsRequest
224
572
  # @private
225
573
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -233,6 +581,43 @@ module Google
233
581
  collection :permissions, as: 'permissions'
234
582
  end
235
583
  end
584
+
585
+ class UpgradeHistoryEntry
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :action, as: 'action'
589
+ property :container_image, as: 'containerImage'
590
+ property :create_time, as: 'createTime'
591
+ property :framework, as: 'framework'
592
+ property :snapshot, as: 'snapshot'
593
+ property :state, as: 'state'
594
+ property :target_version, as: 'targetVersion'
595
+ property :version, as: 'version'
596
+ property :vm_image, as: 'vmImage'
597
+ end
598
+ end
599
+
600
+ class UpgradeInstanceRequest
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ end
604
+ end
605
+
606
+ class UpgradeInstanceSystemRequest
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :vm_id, as: 'vmId'
610
+ end
611
+ end
612
+
613
+ class VmImage
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :family, as: 'family'
617
+ property :name, as: 'name'
618
+ property :project, as: 'project'
619
+ end
620
+ end
236
621
  end
237
622
  end
238
623
  end