google-apis-notebooks_v1 0.1.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/notebooks_v1.rb +1 -1
- data/lib/google/apis/notebooks_v1/classes.rb +1333 -118
- data/lib/google/apis/notebooks_v1/gem_version.rb +3 -3
- data/lib/google/apis/notebooks_v1/representations.rb +448 -0
- data/lib/google/apis/notebooks_v1/service.rb +632 -3
- metadata +5 -5
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NotebooksV1
|
18
18
|
# Version of the google-apis-notebooks_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210323"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,18 +58,42 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class EncryptionConfig
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class Environment
|
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 Execution
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class ExecutionTemplate
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
67
85
|
class Expr
|
68
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
87
|
|
70
88
|
include Google::Apis::Core::JsonObjectSupport
|
71
89
|
end
|
72
90
|
|
91
|
+
class GetInstanceHealthResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
73
97
|
class GuestOsFeature
|
74
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
99
|
|
@@ -94,6 +118,12 @@ module Google
|
|
94
118
|
include Google::Apis::Core::JsonObjectSupport
|
95
119
|
end
|
96
120
|
|
121
|
+
class ListExecutionsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
97
127
|
class ListInstancesResponse
|
98
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
129
|
|
@@ -112,6 +142,30 @@ module Google
|
|
112
142
|
include Google::Apis::Core::JsonObjectSupport
|
113
143
|
end
|
114
144
|
|
145
|
+
class ListRuntimesResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class ListSchedulesResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class LocalDisk
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class LocalDiskInitializeParams
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
115
169
|
class Location
|
116
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
171
|
|
@@ -154,6 +208,66 @@ module Google
|
|
154
208
|
include Google::Apis::Core::JsonObjectSupport
|
155
209
|
end
|
156
210
|
|
211
|
+
class ResetRuntimeRequest
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class Runtime
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class RuntimeAcceleratorConfig
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class RuntimeAccessConfig
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class RuntimeGuestOsFeature
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class RuntimeMetrics
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class RuntimeShieldedInstanceConfig
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class RuntimeSoftwareConfig
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class Schedule
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class SchedulerAcceleratorConfig
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
157
271
|
class SetIamPolicyRequest
|
158
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
273
|
|
@@ -178,12 +292,24 @@ module Google
|
|
178
292
|
include Google::Apis::Core::JsonObjectSupport
|
179
293
|
end
|
180
294
|
|
295
|
+
class ShieldedInstanceConfig
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
181
301
|
class StartInstanceRequest
|
182
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
303
|
|
184
304
|
include Google::Apis::Core::JsonObjectSupport
|
185
305
|
end
|
186
306
|
|
307
|
+
class StartRuntimeRequest
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
187
313
|
class Status
|
188
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
315
|
|
@@ -196,6 +322,18 @@ module Google
|
|
196
322
|
include Google::Apis::Core::JsonObjectSupport
|
197
323
|
end
|
198
324
|
|
325
|
+
class StopRuntimeRequest
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class SwitchRuntimeRequest
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
199
337
|
class TestIamPermissionsRequest
|
200
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
339
|
|
@@ -214,6 +352,12 @@ module Google
|
|
214
352
|
include Google::Apis::Core::JsonObjectSupport
|
215
353
|
end
|
216
354
|
|
355
|
+
class UpdateShieldedInstanceConfigRequest
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
217
361
|
class UpgradeHistoryEntry
|
218
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
363
|
|
@@ -232,6 +376,18 @@ module Google
|
|
232
376
|
include Google::Apis::Core::JsonObjectSupport
|
233
377
|
end
|
234
378
|
|
379
|
+
class VirtualMachine
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class VirtualMachineConfig
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
235
391
|
class VmImage
|
236
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
393
|
|
@@ -295,6 +451,13 @@ module Google
|
|
295
451
|
end
|
296
452
|
end
|
297
453
|
|
454
|
+
class EncryptionConfig
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :kms_key, as: 'kmsKey'
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
298
461
|
class Environment
|
299
462
|
# @private
|
300
463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -310,6 +473,37 @@ module Google
|
|
310
473
|
end
|
311
474
|
end
|
312
475
|
|
476
|
+
class Execution
|
477
|
+
# @private
|
478
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
479
|
+
property :create_time, as: 'createTime'
|
480
|
+
property :description, as: 'description'
|
481
|
+
property :display_name, as: 'displayName'
|
482
|
+
property :execution_template, as: 'executionTemplate', class: Google::Apis::NotebooksV1::ExecutionTemplate, decorator: Google::Apis::NotebooksV1::ExecutionTemplate::Representation
|
483
|
+
|
484
|
+
property :name, as: 'name'
|
485
|
+
property :output_notebook_file, as: 'outputNotebookFile'
|
486
|
+
property :state, as: 'state'
|
487
|
+
property :update_time, as: 'updateTime'
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
class ExecutionTemplate
|
492
|
+
# @private
|
493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
494
|
+
property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::SchedulerAcceleratorConfig, decorator: Google::Apis::NotebooksV1::SchedulerAcceleratorConfig::Representation
|
495
|
+
|
496
|
+
property :container_image_uri, as: 'containerImageUri'
|
497
|
+
property :input_notebook_file, as: 'inputNotebookFile'
|
498
|
+
hash :labels, as: 'labels'
|
499
|
+
property :master_type, as: 'masterType'
|
500
|
+
property :output_notebook_folder, as: 'outputNotebookFolder'
|
501
|
+
property :parameters, as: 'parameters'
|
502
|
+
property :params_yaml_file, as: 'paramsYamlFile'
|
503
|
+
property :scale_tier, as: 'scaleTier'
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
313
507
|
class Expr
|
314
508
|
# @private
|
315
509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -320,6 +514,14 @@ module Google
|
|
320
514
|
end
|
321
515
|
end
|
322
516
|
|
517
|
+
class GetInstanceHealthResponse
|
518
|
+
# @private
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
+
hash :health_info, as: 'healthInfo'
|
521
|
+
property :health_state, as: 'healthState'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
323
525
|
class GuestOsFeature
|
324
526
|
# @private
|
325
527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -357,8 +559,12 @@ module Google
|
|
357
559
|
property :post_startup_script, as: 'postStartupScript'
|
358
560
|
property :proxy_uri, as: 'proxyUri'
|
359
561
|
property :service_account, as: 'serviceAccount'
|
562
|
+
collection :service_account_scopes, as: 'serviceAccountScopes'
|
563
|
+
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV1::ShieldedInstanceConfig, decorator: Google::Apis::NotebooksV1::ShieldedInstanceConfig::Representation
|
564
|
+
|
360
565
|
property :state, as: 'state'
|
361
566
|
property :subnet, as: 'subnet'
|
567
|
+
collection :tags, as: 'tags'
|
362
568
|
property :update_time, as: 'updateTime'
|
363
569
|
collection :upgrade_history, as: 'upgradeHistory', class: Google::Apis::NotebooksV1::UpgradeHistoryEntry, decorator: Google::Apis::NotebooksV1::UpgradeHistoryEntry::Representation
|
364
570
|
|
@@ -370,6 +576,7 @@ module Google
|
|
370
576
|
class IsInstanceUpgradeableResponse
|
371
577
|
# @private
|
372
578
|
class Representation < Google::Apis::Core::JsonRepresentation
|
579
|
+
property :upgrade_image, as: 'upgradeImage'
|
373
580
|
property :upgrade_info, as: 'upgradeInfo'
|
374
581
|
property :upgrade_version, as: 'upgradeVersion'
|
375
582
|
property :upgradeable, as: 'upgradeable'
|
@@ -386,6 +593,16 @@ module Google
|
|
386
593
|
end
|
387
594
|
end
|
388
595
|
|
596
|
+
class ListExecutionsResponse
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
collection :executions, as: 'executions', class: Google::Apis::NotebooksV1::Execution, decorator: Google::Apis::NotebooksV1::Execution::Representation
|
600
|
+
|
601
|
+
property :next_page_token, as: 'nextPageToken'
|
602
|
+
collection :unreachable, as: 'unreachable'
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
389
606
|
class ListInstancesResponse
|
390
607
|
# @private
|
391
608
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -414,6 +631,57 @@ module Google
|
|
414
631
|
end
|
415
632
|
end
|
416
633
|
|
634
|
+
class ListRuntimesResponse
|
635
|
+
# @private
|
636
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
637
|
+
property :next_page_token, as: 'nextPageToken'
|
638
|
+
collection :runtimes, as: 'runtimes', class: Google::Apis::NotebooksV1::Runtime, decorator: Google::Apis::NotebooksV1::Runtime::Representation
|
639
|
+
|
640
|
+
collection :unreachable, as: 'unreachable'
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
644
|
+
class ListSchedulesResponse
|
645
|
+
# @private
|
646
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
647
|
+
property :next_page_token, as: 'nextPageToken'
|
648
|
+
collection :schedules, as: 'schedules', class: Google::Apis::NotebooksV1::Schedule, decorator: Google::Apis::NotebooksV1::Schedule::Representation
|
649
|
+
|
650
|
+
collection :unreachable, as: 'unreachable'
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
class LocalDisk
|
655
|
+
# @private
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
657
|
+
property :auto_delete, as: 'autoDelete'
|
658
|
+
property :boot, as: 'boot'
|
659
|
+
property :device_name, as: 'deviceName'
|
660
|
+
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::NotebooksV1::RuntimeGuestOsFeature, decorator: Google::Apis::NotebooksV1::RuntimeGuestOsFeature::Representation
|
661
|
+
|
662
|
+
property :index, as: 'index'
|
663
|
+
property :initialize_params, as: 'initializeParams', class: Google::Apis::NotebooksV1::LocalDiskInitializeParams, decorator: Google::Apis::NotebooksV1::LocalDiskInitializeParams::Representation
|
664
|
+
|
665
|
+
property :interface, as: 'interface'
|
666
|
+
property :kind, as: 'kind'
|
667
|
+
collection :licenses, as: 'licenses'
|
668
|
+
property :mode, as: 'mode'
|
669
|
+
property :source, as: 'source'
|
670
|
+
property :type, as: 'type'
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
class LocalDiskInitializeParams
|
675
|
+
# @private
|
676
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
677
|
+
property :description, as: 'description'
|
678
|
+
property :disk_name, as: 'diskName'
|
679
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
680
|
+
property :disk_type, as: 'diskType'
|
681
|
+
hash :labels, as: 'labels'
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
417
685
|
class Location
|
418
686
|
# @private
|
419
687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -482,6 +750,110 @@ module Google
|
|
482
750
|
end
|
483
751
|
end
|
484
752
|
|
753
|
+
class ResetRuntimeRequest
|
754
|
+
# @private
|
755
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
759
|
+
class Runtime
|
760
|
+
# @private
|
761
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
762
|
+
property :access_config, as: 'accessConfig', class: Google::Apis::NotebooksV1::RuntimeAccessConfig, decorator: Google::Apis::NotebooksV1::RuntimeAccessConfig::Representation
|
763
|
+
|
764
|
+
property :create_time, as: 'createTime'
|
765
|
+
property :health_state, as: 'healthState'
|
766
|
+
property :metrics, as: 'metrics', class: Google::Apis::NotebooksV1::RuntimeMetrics, decorator: Google::Apis::NotebooksV1::RuntimeMetrics::Representation
|
767
|
+
|
768
|
+
property :name, as: 'name'
|
769
|
+
property :software_config, as: 'softwareConfig', class: Google::Apis::NotebooksV1::RuntimeSoftwareConfig, decorator: Google::Apis::NotebooksV1::RuntimeSoftwareConfig::Representation
|
770
|
+
|
771
|
+
property :state, as: 'state'
|
772
|
+
property :update_time, as: 'updateTime'
|
773
|
+
property :virtual_machine, as: 'virtualMachine', class: Google::Apis::NotebooksV1::VirtualMachine, decorator: Google::Apis::NotebooksV1::VirtualMachine::Representation
|
774
|
+
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
class RuntimeAcceleratorConfig
|
779
|
+
# @private
|
780
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
781
|
+
property :core_count, :numeric_string => true, as: 'coreCount'
|
782
|
+
property :type, as: 'type'
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
786
|
+
class RuntimeAccessConfig
|
787
|
+
# @private
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
789
|
+
property :access_type, as: 'accessType'
|
790
|
+
property :proxy_uri, as: 'proxyUri'
|
791
|
+
property :runtime_owner, as: 'runtimeOwner'
|
792
|
+
end
|
793
|
+
end
|
794
|
+
|
795
|
+
class RuntimeGuestOsFeature
|
796
|
+
# @private
|
797
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
798
|
+
property :type, as: 'type'
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
class RuntimeMetrics
|
803
|
+
# @private
|
804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
805
|
+
hash :system_metrics, as: 'systemMetrics'
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
809
|
+
class RuntimeShieldedInstanceConfig
|
810
|
+
# @private
|
811
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
812
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
813
|
+
property :enable_secure_boot, as: 'enableSecureBoot'
|
814
|
+
property :enable_vtpm, as: 'enableVtpm'
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
818
|
+
class RuntimeSoftwareConfig
|
819
|
+
# @private
|
820
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
821
|
+
property :custom_gpu_driver_path, as: 'customGpuDriverPath'
|
822
|
+
property :enable_health_monitoring, as: 'enableHealthMonitoring'
|
823
|
+
property :idle_shutdown, as: 'idleShutdown'
|
824
|
+
property :idle_shutdown_timeout, as: 'idleShutdownTimeout'
|
825
|
+
property :install_gpu_driver, as: 'installGpuDriver'
|
826
|
+
property :notebook_upgrade_schedule, as: 'notebookUpgradeSchedule'
|
827
|
+
property :post_startup_script, as: 'postStartupScript'
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
831
|
+
class Schedule
|
832
|
+
# @private
|
833
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
834
|
+
property :create_time, as: 'createTime'
|
835
|
+
property :cron_schedule, as: 'cronSchedule'
|
836
|
+
property :description, as: 'description'
|
837
|
+
property :display_name, as: 'displayName'
|
838
|
+
property :execution_template, as: 'executionTemplate', class: Google::Apis::NotebooksV1::ExecutionTemplate, decorator: Google::Apis::NotebooksV1::ExecutionTemplate::Representation
|
839
|
+
|
840
|
+
property :name, as: 'name'
|
841
|
+
collection :recent_executions, as: 'recentExecutions', class: Google::Apis::NotebooksV1::Execution, decorator: Google::Apis::NotebooksV1::Execution::Representation
|
842
|
+
|
843
|
+
property :state, as: 'state'
|
844
|
+
property :time_zone, as: 'timeZone'
|
845
|
+
property :update_time, as: 'updateTime'
|
846
|
+
end
|
847
|
+
end
|
848
|
+
|
849
|
+
class SchedulerAcceleratorConfig
|
850
|
+
# @private
|
851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
852
|
+
property :core_count, :numeric_string => true, as: 'coreCount'
|
853
|
+
property :type, as: 'type'
|
854
|
+
end
|
855
|
+
end
|
856
|
+
|
485
857
|
class SetIamPolicyRequest
|
486
858
|
# @private
|
487
859
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -512,12 +884,27 @@ module Google
|
|
512
884
|
end
|
513
885
|
end
|
514
886
|
|
887
|
+
class ShieldedInstanceConfig
|
888
|
+
# @private
|
889
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
890
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
891
|
+
property :enable_secure_boot, as: 'enableSecureBoot'
|
892
|
+
property :enable_vtpm, as: 'enableVtpm'
|
893
|
+
end
|
894
|
+
end
|
895
|
+
|
515
896
|
class StartInstanceRequest
|
516
897
|
# @private
|
517
898
|
class Representation < Google::Apis::Core::JsonRepresentation
|
518
899
|
end
|
519
900
|
end
|
520
901
|
|
902
|
+
class StartRuntimeRequest
|
903
|
+
# @private
|
904
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
521
908
|
class Status
|
522
909
|
# @private
|
523
910
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -533,6 +920,21 @@ module Google
|
|
533
920
|
end
|
534
921
|
end
|
535
922
|
|
923
|
+
class StopRuntimeRequest
|
924
|
+
# @private
|
925
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
929
|
+
class SwitchRuntimeRequest
|
930
|
+
# @private
|
931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
932
|
+
property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
|
933
|
+
|
934
|
+
property :machine_type, as: 'machineType'
|
935
|
+
end
|
936
|
+
end
|
937
|
+
|
536
938
|
class TestIamPermissionsRequest
|
537
939
|
# @private
|
538
940
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -553,14 +955,25 @@ module Google
|
|
553
955
|
end
|
554
956
|
end
|
555
957
|
|
958
|
+
class UpdateShieldedInstanceConfigRequest
|
959
|
+
# @private
|
960
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
961
|
+
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV1::ShieldedInstanceConfig, decorator: Google::Apis::NotebooksV1::ShieldedInstanceConfig::Representation
|
962
|
+
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
556
966
|
class UpgradeHistoryEntry
|
557
967
|
# @private
|
558
968
|
class Representation < Google::Apis::Core::JsonRepresentation
|
969
|
+
property :action, as: 'action'
|
559
970
|
property :container_image, as: 'containerImage'
|
560
971
|
property :create_time, as: 'createTime'
|
561
972
|
property :framework, as: 'framework'
|
562
973
|
property :snapshot, as: 'snapshot'
|
563
974
|
property :state, as: 'state'
|
975
|
+
property :target_image, as: 'targetImage'
|
976
|
+
property :target_version, as: 'targetVersion'
|
564
977
|
property :version, as: 'version'
|
565
978
|
property :vm_image, as: 'vmImage'
|
566
979
|
end
|
@@ -579,6 +992,41 @@ module Google
|
|
579
992
|
end
|
580
993
|
end
|
581
994
|
|
995
|
+
class VirtualMachine
|
996
|
+
# @private
|
997
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
998
|
+
property :instance_id, as: 'instanceId'
|
999
|
+
property :instance_name, as: 'instanceName'
|
1000
|
+
property :virtual_machine_config, as: 'virtualMachineConfig', class: Google::Apis::NotebooksV1::VirtualMachineConfig, decorator: Google::Apis::NotebooksV1::VirtualMachineConfig::Representation
|
1001
|
+
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
class VirtualMachineConfig
|
1006
|
+
# @private
|
1007
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1008
|
+
property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
|
1009
|
+
|
1010
|
+
collection :container_images, as: 'containerImages', class: Google::Apis::NotebooksV1::ContainerImage, decorator: Google::Apis::NotebooksV1::ContainerImage::Representation
|
1011
|
+
|
1012
|
+
property :data_disk, as: 'dataDisk', class: Google::Apis::NotebooksV1::LocalDisk, decorator: Google::Apis::NotebooksV1::LocalDisk::Representation
|
1013
|
+
|
1014
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::NotebooksV1::EncryptionConfig, decorator: Google::Apis::NotebooksV1::EncryptionConfig::Representation
|
1015
|
+
|
1016
|
+
hash :guest_attributes, as: 'guestAttributes'
|
1017
|
+
property :internal_ip_only, as: 'internalIpOnly'
|
1018
|
+
hash :labels, as: 'labels'
|
1019
|
+
property :machine_type, as: 'machineType'
|
1020
|
+
hash :metadata, as: 'metadata'
|
1021
|
+
property :network, as: 'network'
|
1022
|
+
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV1::RuntimeShieldedInstanceConfig, decorator: Google::Apis::NotebooksV1::RuntimeShieldedInstanceConfig::Representation
|
1023
|
+
|
1024
|
+
property :subnet, as: 'subnet'
|
1025
|
+
collection :tags, as: 'tags'
|
1026
|
+
property :zone, as: 'zone'
|
1027
|
+
end
|
1028
|
+
end
|
1029
|
+
|
582
1030
|
class VmImage
|
583
1031
|
# @private
|
584
1032
|
class Representation < Google::Apis::Core::JsonRepresentation
|