google-apis-notebooks_v1 0.2.0 → 0.7.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 NotebooksV1
18
18
  # Version of the google-apis-notebooks_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210122"
25
+ REVISION = "20210422"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ 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
 
@@ -136,12 +142,30 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class ListRuntimesResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class ListSchedulesResponse
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
142
154
  include Google::Apis::Core::JsonObjectSupport
143
155
  end
144
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
+
145
169
  class Location
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
@@ -184,6 +208,60 @@ module Google
184
208
  include Google::Apis::Core::JsonObjectSupport
185
209
  end
186
210
 
211
+ class ResetRuntimeRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class RollbackInstanceRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Runtime
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class RuntimeAcceleratorConfig
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class RuntimeAccessConfig
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class RuntimeGuestOsFeature
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class RuntimeMetrics
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class RuntimeShieldedInstanceConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class RuntimeSoftwareConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
187
265
  class Schedule
188
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
267
 
@@ -232,6 +310,12 @@ module Google
232
310
  include Google::Apis::Core::JsonObjectSupport
233
311
  end
234
312
 
313
+ class StartRuntimeRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
235
319
  class Status
236
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
321
 
@@ -244,6 +328,18 @@ module Google
244
328
  include Google::Apis::Core::JsonObjectSupport
245
329
  end
246
330
 
331
+ class StopRuntimeRequest
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class SwitchRuntimeRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
247
343
  class TestIamPermissionsRequest
248
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
345
 
@@ -262,6 +358,12 @@ module Google
262
358
  include Google::Apis::Core::JsonObjectSupport
263
359
  end
264
360
 
361
+ class UpdateShieldedInstanceConfigRequest
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
265
367
  class UpgradeHistoryEntry
266
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
369
 
@@ -280,6 +382,18 @@ module Google
280
382
  include Google::Apis::Core::JsonObjectSupport
281
383
  end
282
384
 
385
+ class VirtualMachine
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class VirtualMachineConfig
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
283
397
  class VmImage
284
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
399
 
@@ -343,6 +457,13 @@ module Google
343
457
  end
344
458
  end
345
459
 
460
+ class EncryptionConfig
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :kms_key, as: 'kmsKey'
464
+ end
465
+ end
466
+
346
467
  class Environment
347
468
  # @private
348
469
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -383,8 +504,10 @@ module Google
383
504
  hash :labels, as: 'labels'
384
505
  property :master_type, as: 'masterType'
385
506
  property :output_notebook_folder, as: 'outputNotebookFolder'
507
+ property :parameters, as: 'parameters'
386
508
  property :params_yaml_file, as: 'paramsYamlFile'
387
509
  property :scale_tier, as: 'scaleTier'
510
+ property :service_account, as: 'serviceAccount'
388
511
  end
389
512
  end
390
513
 
@@ -437,6 +560,7 @@ module Google
437
560
  hash :metadata, as: 'metadata'
438
561
  property :name, as: 'name'
439
562
  property :network, as: 'network'
563
+ property :nic_type, as: 'nicType'
440
564
  property :no_proxy_access, as: 'noProxyAccess'
441
565
  property :no_public_ip, as: 'noPublicIp'
442
566
  property :no_remove_data_disk, as: 'noRemoveDataDisk'
@@ -460,6 +584,7 @@ module Google
460
584
  class IsInstanceUpgradeableResponse
461
585
  # @private
462
586
  class Representation < Google::Apis::Core::JsonRepresentation
587
+ property :upgrade_image, as: 'upgradeImage'
463
588
  property :upgrade_info, as: 'upgradeInfo'
464
589
  property :upgrade_version, as: 'upgradeVersion'
465
590
  property :upgradeable, as: 'upgradeable'
@@ -514,6 +639,16 @@ module Google
514
639
  end
515
640
  end
516
641
 
642
+ class ListRuntimesResponse
643
+ # @private
644
+ class Representation < Google::Apis::Core::JsonRepresentation
645
+ property :next_page_token, as: 'nextPageToken'
646
+ collection :runtimes, as: 'runtimes', class: Google::Apis::NotebooksV1::Runtime, decorator: Google::Apis::NotebooksV1::Runtime::Representation
647
+
648
+ collection :unreachable, as: 'unreachable'
649
+ end
650
+ end
651
+
517
652
  class ListSchedulesResponse
518
653
  # @private
519
654
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -524,6 +659,37 @@ module Google
524
659
  end
525
660
  end
526
661
 
662
+ class LocalDisk
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :auto_delete, as: 'autoDelete'
666
+ property :boot, as: 'boot'
667
+ property :device_name, as: 'deviceName'
668
+ collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::NotebooksV1::RuntimeGuestOsFeature, decorator: Google::Apis::NotebooksV1::RuntimeGuestOsFeature::Representation
669
+
670
+ property :index, as: 'index'
671
+ property :initialize_params, as: 'initializeParams', class: Google::Apis::NotebooksV1::LocalDiskInitializeParams, decorator: Google::Apis::NotebooksV1::LocalDiskInitializeParams::Representation
672
+
673
+ property :interface, as: 'interface'
674
+ property :kind, as: 'kind'
675
+ collection :licenses, as: 'licenses'
676
+ property :mode, as: 'mode'
677
+ property :source, as: 'source'
678
+ property :type, as: 'type'
679
+ end
680
+ end
681
+
682
+ class LocalDiskInitializeParams
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :description, as: 'description'
686
+ property :disk_name, as: 'diskName'
687
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
688
+ property :disk_type, as: 'diskType'
689
+ hash :labels, as: 'labels'
690
+ end
691
+ end
692
+
527
693
  class Location
528
694
  # @private
529
695
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -592,6 +758,91 @@ module Google
592
758
  end
593
759
  end
594
760
 
761
+ class ResetRuntimeRequest
762
+ # @private
763
+ class Representation < Google::Apis::Core::JsonRepresentation
764
+ end
765
+ end
766
+
767
+ class RollbackInstanceRequest
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :target_snapshot, as: 'targetSnapshot'
771
+ end
772
+ end
773
+
774
+ class Runtime
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ property :access_config, as: 'accessConfig', class: Google::Apis::NotebooksV1::RuntimeAccessConfig, decorator: Google::Apis::NotebooksV1::RuntimeAccessConfig::Representation
778
+
779
+ property :create_time, as: 'createTime'
780
+ property :health_state, as: 'healthState'
781
+ property :metrics, as: 'metrics', class: Google::Apis::NotebooksV1::RuntimeMetrics, decorator: Google::Apis::NotebooksV1::RuntimeMetrics::Representation
782
+
783
+ property :name, as: 'name'
784
+ property :software_config, as: 'softwareConfig', class: Google::Apis::NotebooksV1::RuntimeSoftwareConfig, decorator: Google::Apis::NotebooksV1::RuntimeSoftwareConfig::Representation
785
+
786
+ property :state, as: 'state'
787
+ property :update_time, as: 'updateTime'
788
+ property :virtual_machine, as: 'virtualMachine', class: Google::Apis::NotebooksV1::VirtualMachine, decorator: Google::Apis::NotebooksV1::VirtualMachine::Representation
789
+
790
+ end
791
+ end
792
+
793
+ class RuntimeAcceleratorConfig
794
+ # @private
795
+ class Representation < Google::Apis::Core::JsonRepresentation
796
+ property :core_count, :numeric_string => true, as: 'coreCount'
797
+ property :type, as: 'type'
798
+ end
799
+ end
800
+
801
+ class RuntimeAccessConfig
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ property :access_type, as: 'accessType'
805
+ property :proxy_uri, as: 'proxyUri'
806
+ property :runtime_owner, as: 'runtimeOwner'
807
+ end
808
+ end
809
+
810
+ class RuntimeGuestOsFeature
811
+ # @private
812
+ class Representation < Google::Apis::Core::JsonRepresentation
813
+ property :type, as: 'type'
814
+ end
815
+ end
816
+
817
+ class RuntimeMetrics
818
+ # @private
819
+ class Representation < Google::Apis::Core::JsonRepresentation
820
+ hash :system_metrics, as: 'systemMetrics'
821
+ end
822
+ end
823
+
824
+ class RuntimeShieldedInstanceConfig
825
+ # @private
826
+ class Representation < Google::Apis::Core::JsonRepresentation
827
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
828
+ property :enable_secure_boot, as: 'enableSecureBoot'
829
+ property :enable_vtpm, as: 'enableVtpm'
830
+ end
831
+ end
832
+
833
+ class RuntimeSoftwareConfig
834
+ # @private
835
+ class Representation < Google::Apis::Core::JsonRepresentation
836
+ property :custom_gpu_driver_path, as: 'customGpuDriverPath'
837
+ property :enable_health_monitoring, as: 'enableHealthMonitoring'
838
+ property :idle_shutdown, as: 'idleShutdown'
839
+ property :idle_shutdown_timeout, as: 'idleShutdownTimeout'
840
+ property :install_gpu_driver, as: 'installGpuDriver'
841
+ property :notebook_upgrade_schedule, as: 'notebookUpgradeSchedule'
842
+ property :post_startup_script, as: 'postStartupScript'
843
+ end
844
+ end
845
+
595
846
  class Schedule
596
847
  # @private
597
848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -602,6 +853,8 @@ module Google
602
853
  property :execution_template, as: 'executionTemplate', class: Google::Apis::NotebooksV1::ExecutionTemplate, decorator: Google::Apis::NotebooksV1::ExecutionTemplate::Representation
603
854
 
604
855
  property :name, as: 'name'
856
+ collection :recent_executions, as: 'recentExecutions', class: Google::Apis::NotebooksV1::Execution, decorator: Google::Apis::NotebooksV1::Execution::Representation
857
+
605
858
  property :state, as: 'state'
606
859
  property :time_zone, as: 'timeZone'
607
860
  property :update_time, as: 'updateTime'
@@ -661,6 +914,12 @@ module Google
661
914
  end
662
915
  end
663
916
 
917
+ class StartRuntimeRequest
918
+ # @private
919
+ class Representation < Google::Apis::Core::JsonRepresentation
920
+ end
921
+ end
922
+
664
923
  class Status
665
924
  # @private
666
925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -676,6 +935,21 @@ module Google
676
935
  end
677
936
  end
678
937
 
938
+ class StopRuntimeRequest
939
+ # @private
940
+ class Representation < Google::Apis::Core::JsonRepresentation
941
+ end
942
+ end
943
+
944
+ class SwitchRuntimeRequest
945
+ # @private
946
+ class Representation < Google::Apis::Core::JsonRepresentation
947
+ property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
948
+
949
+ property :machine_type, as: 'machineType'
950
+ end
951
+ end
952
+
679
953
  class TestIamPermissionsRequest
680
954
  # @private
681
955
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -696,6 +970,14 @@ module Google
696
970
  end
697
971
  end
698
972
 
973
+ class UpdateShieldedInstanceConfigRequest
974
+ # @private
975
+ class Representation < Google::Apis::Core::JsonRepresentation
976
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV1::ShieldedInstanceConfig, decorator: Google::Apis::NotebooksV1::ShieldedInstanceConfig::Representation
977
+
978
+ end
979
+ end
980
+
699
981
  class UpgradeHistoryEntry
700
982
  # @private
701
983
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -706,6 +988,7 @@ module Google
706
988
  property :snapshot, as: 'snapshot'
707
989
  property :state, as: 'state'
708
990
  property :target_image, as: 'targetImage'
991
+ property :target_version, as: 'targetVersion'
709
992
  property :version, as: 'version'
710
993
  property :vm_image, as: 'vmImage'
711
994
  end
@@ -724,6 +1007,42 @@ module Google
724
1007
  end
725
1008
  end
726
1009
 
1010
+ class VirtualMachine
1011
+ # @private
1012
+ class Representation < Google::Apis::Core::JsonRepresentation
1013
+ property :instance_id, as: 'instanceId'
1014
+ property :instance_name, as: 'instanceName'
1015
+ property :virtual_machine_config, as: 'virtualMachineConfig', class: Google::Apis::NotebooksV1::VirtualMachineConfig, decorator: Google::Apis::NotebooksV1::VirtualMachineConfig::Representation
1016
+
1017
+ end
1018
+ end
1019
+
1020
+ class VirtualMachineConfig
1021
+ # @private
1022
+ class Representation < Google::Apis::Core::JsonRepresentation
1023
+ property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
1024
+
1025
+ collection :container_images, as: 'containerImages', class: Google::Apis::NotebooksV1::ContainerImage, decorator: Google::Apis::NotebooksV1::ContainerImage::Representation
1026
+
1027
+ property :data_disk, as: 'dataDisk', class: Google::Apis::NotebooksV1::LocalDisk, decorator: Google::Apis::NotebooksV1::LocalDisk::Representation
1028
+
1029
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::NotebooksV1::EncryptionConfig, decorator: Google::Apis::NotebooksV1::EncryptionConfig::Representation
1030
+
1031
+ hash :guest_attributes, as: 'guestAttributes'
1032
+ property :internal_ip_only, as: 'internalIpOnly'
1033
+ hash :labels, as: 'labels'
1034
+ property :machine_type, as: 'machineType'
1035
+ hash :metadata, as: 'metadata'
1036
+ property :network, as: 'network'
1037
+ property :nic_type, as: 'nicType'
1038
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV1::RuntimeShieldedInstanceConfig, decorator: Google::Apis::NotebooksV1::RuntimeShieldedInstanceConfig::Representation
1039
+
1040
+ property :subnet, as: 'subnet'
1041
+ collection :tags, as: 'tags'
1042
+ property :zone, as: 'zone'
1043
+ end
1044
+ end
1045
+
727
1046
  class VmImage
728
1047
  # @private
729
1048
  class Representation < Google::Apis::Core::JsonRepresentation