google-apis-notebooks_v2 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.4.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 = "20230720"
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,85 @@ 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
+ property :timeout_minutes, as: 'timeoutMinutes'
321
+ end
322
+ end
323
+
324
+ class DiagnosticConfig
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ property :enable_copy_home_files_flag, as: 'enableCopyHomeFilesFlag'
328
+ property :enable_packet_capture_flag, as: 'enablePacketCaptureFlag'
329
+ property :enable_repair_flag, as: 'enableRepairFlag'
330
+ property :gcs_bucket, as: 'gcsBucket'
331
+ property :relative_path, as: 'relativePath'
332
+ end
333
+ end
334
+
125
335
  class Empty
126
336
  # @private
127
337
  class Representation < Google::Apis::Core::JsonRepresentation
128
338
  end
129
339
  end
130
340
 
341
+ class Event
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ hash :details, as: 'details'
345
+ property :report_time, as: 'reportTime'
346
+ property :type, as: 'type'
347
+ end
348
+ end
349
+
131
350
  class Expr
132
351
  # @private
133
352
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -138,6 +357,75 @@ module Google
138
357
  end
139
358
  end
140
359
 
360
+ class GpuDriverConfig
361
+ # @private
362
+ class Representation < Google::Apis::Core::JsonRepresentation
363
+ property :custom_gpu_driver_path, as: 'customGpuDriverPath'
364
+ property :enable_gpu_driver, as: 'enableGpuDriver'
365
+ end
366
+ end
367
+
368
+ class GceSetup
369
+ # @private
370
+ class Representation < Google::Apis::Core::JsonRepresentation
371
+ collection :accelerator_configs, as: 'acceleratorConfigs', class: Google::Apis::NotebooksV2::AcceleratorConfig, decorator: Google::Apis::NotebooksV2::AcceleratorConfig::Representation
372
+
373
+ property :boot_disk, as: 'bootDisk', class: Google::Apis::NotebooksV2::BootDisk, decorator: Google::Apis::NotebooksV2::BootDisk::Representation
374
+
375
+ property :container_image, as: 'containerImage', class: Google::Apis::NotebooksV2::ContainerImage, decorator: Google::Apis::NotebooksV2::ContainerImage::Representation
376
+
377
+ collection :data_disks, as: 'dataDisks', class: Google::Apis::NotebooksV2::DataDisk, decorator: Google::Apis::NotebooksV2::DataDisk::Representation
378
+
379
+ property :disable_public_ip, as: 'disablePublicIp'
380
+ property :enable_ip_forwarding, as: 'enableIpForwarding'
381
+ property :gpu_driver_config, as: 'gpuDriverConfig', class: Google::Apis::NotebooksV2::GpuDriverConfig, decorator: Google::Apis::NotebooksV2::GpuDriverConfig::Representation
382
+
383
+ property :machine_type, as: 'machineType'
384
+ hash :metadata, as: 'metadata'
385
+ collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::NotebooksV2::NetworkInterface, decorator: Google::Apis::NotebooksV2::NetworkInterface::Representation
386
+
387
+ collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::NotebooksV2::ServiceAccount, decorator: Google::Apis::NotebooksV2::ServiceAccount::Representation
388
+
389
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV2::ShieldedInstanceConfig, decorator: Google::Apis::NotebooksV2::ShieldedInstanceConfig::Representation
390
+
391
+ collection :tags, as: 'tags'
392
+ property :vm_image, as: 'vmImage', class: Google::Apis::NotebooksV2::VmImage, decorator: Google::Apis::NotebooksV2::VmImage::Representation
393
+
394
+ end
395
+ end
396
+
397
+ class Instance
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :create_time, as: 'createTime'
401
+ property :creator, as: 'creator'
402
+ property :disable_proxy_access, as: 'disableProxyAccess'
403
+ property :gce_setup, as: 'gceSetup', class: Google::Apis::NotebooksV2::GceSetup, decorator: Google::Apis::NotebooksV2::GceSetup::Representation
404
+
405
+ hash :health_info, as: 'healthInfo'
406
+ property :health_state, as: 'healthState'
407
+ property :id, as: 'id'
408
+ collection :instance_owners, as: 'instanceOwners'
409
+ hash :labels, as: 'labels'
410
+ property :name, as: 'name'
411
+ property :proxy_uri, as: 'proxyUri'
412
+ property :state, as: 'state'
413
+ property :update_time, as: 'updateTime'
414
+ collection :upgrade_history, as: 'upgradeHistory', class: Google::Apis::NotebooksV2::UpgradeHistoryEntry, decorator: Google::Apis::NotebooksV2::UpgradeHistoryEntry::Representation
415
+
416
+ end
417
+ end
418
+
419
+ class ListInstancesResponse
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ collection :instances, as: 'instances', class: Google::Apis::NotebooksV2::Instance, decorator: Google::Apis::NotebooksV2::Instance::Representation
423
+
424
+ property :next_page_token, as: 'nextPageToken'
425
+ collection :unreachable, as: 'unreachable'
426
+ end
427
+ end
428
+
141
429
  class ListLocationsResponse
142
430
  # @private
143
431
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -167,6 +455,15 @@ module Google
167
455
  end
168
456
  end
169
457
 
458
+ class NetworkInterface
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :network, as: 'network'
462
+ property :nic_type, as: 'nicType'
463
+ property :subnet, as: 'subnet'
464
+ end
465
+ end
466
+
170
467
  class Operation
171
468
  # @private
172
469
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -203,6 +500,37 @@ module Google
203
500
  end
204
501
  end
205
502
 
503
+ class ReportInstanceInfoSystemRequest
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :event, as: 'event', class: Google::Apis::NotebooksV2::Event, decorator: Google::Apis::NotebooksV2::Event::Representation
507
+
508
+ property :vm_id, as: 'vmId'
509
+ end
510
+ end
511
+
512
+ class ResetInstanceRequest
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ end
516
+ end
517
+
518
+ class RollbackInstanceRequest
519
+ # @private
520
+ class Representation < Google::Apis::Core::JsonRepresentation
521
+ property :revision_id, as: 'revisionId'
522
+ property :target_snapshot, as: 'targetSnapshot'
523
+ end
524
+ end
525
+
526
+ class ServiceAccount
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :email, as: 'email'
530
+ collection :scopes, as: 'scopes'
531
+ end
532
+ end
533
+
206
534
  class SetIamPolicyRequest
207
535
  # @private
208
536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -211,6 +539,21 @@ module Google
211
539
  end
212
540
  end
213
541
 
542
+ class ShieldedInstanceConfig
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
546
+ property :enable_secure_boot, as: 'enableSecureBoot'
547
+ property :enable_vtpm, as: 'enableVtpm'
548
+ end
549
+ end
550
+
551
+ class StartInstanceRequest
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ end
555
+ end
556
+
214
557
  class Status
215
558
  # @private
216
559
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -220,6 +563,12 @@ module Google
220
563
  end
221
564
  end
222
565
 
566
+ class StopInstanceRequest
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ end
570
+ end
571
+
223
572
  class TestIamPermissionsRequest
224
573
  # @private
225
574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -233,6 +582,43 @@ module Google
233
582
  collection :permissions, as: 'permissions'
234
583
  end
235
584
  end
585
+
586
+ class UpgradeHistoryEntry
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :action, as: 'action'
590
+ property :container_image, as: 'containerImage'
591
+ property :create_time, as: 'createTime'
592
+ property :framework, as: 'framework'
593
+ property :snapshot, as: 'snapshot'
594
+ property :state, as: 'state'
595
+ property :target_version, as: 'targetVersion'
596
+ property :version, as: 'version'
597
+ property :vm_image, as: 'vmImage'
598
+ end
599
+ end
600
+
601
+ class UpgradeInstanceRequest
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ end
605
+ end
606
+
607
+ class UpgradeInstanceSystemRequest
608
+ # @private
609
+ class Representation < Google::Apis::Core::JsonRepresentation
610
+ property :vm_id, as: 'vmId'
611
+ end
612
+ end
613
+
614
+ class VmImage
615
+ # @private
616
+ class Representation < Google::Apis::Core::JsonRepresentation
617
+ property :family, as: 'family'
618
+ property :name, as: 'name'
619
+ property :project, as: 'project'
620
+ end
621
+ end
236
622
  end
237
623
  end
238
624
  end