google-apis-notebooks_v1 0.5.0 → 0.10.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.5.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210305"
25
+ REVISION = "20210610"
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
 
@@ -100,6 +106,12 @@ module Google
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class InstanceConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class IsInstanceUpgradeableResponse
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
@@ -136,12 +148,30 @@ module Google
136
148
  include Google::Apis::Core::JsonObjectSupport
137
149
  end
138
150
 
151
+ class ListRuntimesResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
139
157
  class ListSchedulesResponse
140
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
159
 
142
160
  include Google::Apis::Core::JsonObjectSupport
143
161
  end
144
162
 
163
+ class LocalDisk
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class LocalDiskInitializeParams
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
145
175
  class Location
146
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
177
 
@@ -184,6 +214,60 @@ module Google
184
214
  include Google::Apis::Core::JsonObjectSupport
185
215
  end
186
216
 
217
+ class ResetRuntimeRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class RollbackInstanceRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Runtime
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class RuntimeAcceleratorConfig
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class RuntimeAccessConfig
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class RuntimeGuestOsFeature
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class RuntimeMetrics
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class RuntimeShieldedInstanceConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class RuntimeSoftwareConfig
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
187
271
  class Schedule
188
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
273
 
@@ -232,6 +316,12 @@ module Google
232
316
  include Google::Apis::Core::JsonObjectSupport
233
317
  end
234
318
 
319
+ class StartRuntimeRequest
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
235
325
  class Status
236
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
327
 
@@ -244,6 +334,18 @@ module Google
244
334
  include Google::Apis::Core::JsonObjectSupport
245
335
  end
246
336
 
337
+ class StopRuntimeRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class SwitchRuntimeRequest
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
247
349
  class TestIamPermissionsRequest
248
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
351
 
@@ -262,6 +364,18 @@ module Google
262
364
  include Google::Apis::Core::JsonObjectSupport
263
365
  end
264
366
 
367
+ class UpdateInstanceConfigRequest
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class UpdateShieldedInstanceConfigRequest
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
265
379
  class UpgradeHistoryEntry
266
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
381
 
@@ -280,6 +394,18 @@ module Google
280
394
  include Google::Apis::Core::JsonObjectSupport
281
395
  end
282
396
 
397
+ class VirtualMachine
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class VirtualMachineConfig
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
283
409
  class VmImage
284
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
411
 
@@ -343,6 +469,13 @@ module Google
343
469
  end
344
470
  end
345
471
 
472
+ class EncryptionConfig
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :kms_key, as: 'kmsKey'
476
+ end
477
+ end
478
+
346
479
  class Environment
347
480
  # @private
348
481
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -386,6 +519,7 @@ module Google
386
519
  property :parameters, as: 'parameters'
387
520
  property :params_yaml_file, as: 'paramsYamlFile'
388
521
  property :scale_tier, as: 'scaleTier'
522
+ property :service_account, as: 'serviceAccount'
389
523
  end
390
524
  end
391
525
 
@@ -438,6 +572,7 @@ module Google
438
572
  hash :metadata, as: 'metadata'
439
573
  property :name, as: 'name'
440
574
  property :network, as: 'network'
575
+ property :nic_type, as: 'nicType'
441
576
  property :no_proxy_access, as: 'noProxyAccess'
442
577
  property :no_public_ip, as: 'noPublicIp'
443
578
  property :no_remove_data_disk, as: 'noRemoveDataDisk'
@@ -458,6 +593,14 @@ module Google
458
593
  end
459
594
  end
460
595
 
596
+ class InstanceConfig
597
+ # @private
598
+ class Representation < Google::Apis::Core::JsonRepresentation
599
+ property :enable_health_monitoring, as: 'enableHealthMonitoring'
600
+ property :notebook_upgrade_schedule, as: 'notebookUpgradeSchedule'
601
+ end
602
+ end
603
+
461
604
  class IsInstanceUpgradeableResponse
462
605
  # @private
463
606
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -516,6 +659,16 @@ module Google
516
659
  end
517
660
  end
518
661
 
662
+ class ListRuntimesResponse
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :next_page_token, as: 'nextPageToken'
666
+ collection :runtimes, as: 'runtimes', class: Google::Apis::NotebooksV1::Runtime, decorator: Google::Apis::NotebooksV1::Runtime::Representation
667
+
668
+ collection :unreachable, as: 'unreachable'
669
+ end
670
+ end
671
+
519
672
  class ListSchedulesResponse
520
673
  # @private
521
674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,6 +679,37 @@ module Google
526
679
  end
527
680
  end
528
681
 
682
+ class LocalDisk
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :auto_delete, as: 'autoDelete'
686
+ property :boot, as: 'boot'
687
+ property :device_name, as: 'deviceName'
688
+ collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::NotebooksV1::RuntimeGuestOsFeature, decorator: Google::Apis::NotebooksV1::RuntimeGuestOsFeature::Representation
689
+
690
+ property :index, as: 'index'
691
+ property :initialize_params, as: 'initializeParams', class: Google::Apis::NotebooksV1::LocalDiskInitializeParams, decorator: Google::Apis::NotebooksV1::LocalDiskInitializeParams::Representation
692
+
693
+ property :interface, as: 'interface'
694
+ property :kind, as: 'kind'
695
+ collection :licenses, as: 'licenses'
696
+ property :mode, as: 'mode'
697
+ property :source, as: 'source'
698
+ property :type, as: 'type'
699
+ end
700
+ end
701
+
702
+ class LocalDiskInitializeParams
703
+ # @private
704
+ class Representation < Google::Apis::Core::JsonRepresentation
705
+ property :description, as: 'description'
706
+ property :disk_name, as: 'diskName'
707
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
708
+ property :disk_type, as: 'diskType'
709
+ hash :labels, as: 'labels'
710
+ end
711
+ end
712
+
529
713
  class Location
530
714
  # @private
531
715
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -594,6 +778,91 @@ module Google
594
778
  end
595
779
  end
596
780
 
781
+ class ResetRuntimeRequest
782
+ # @private
783
+ class Representation < Google::Apis::Core::JsonRepresentation
784
+ end
785
+ end
786
+
787
+ class RollbackInstanceRequest
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :target_snapshot, as: 'targetSnapshot'
791
+ end
792
+ end
793
+
794
+ class Runtime
795
+ # @private
796
+ class Representation < Google::Apis::Core::JsonRepresentation
797
+ property :access_config, as: 'accessConfig', class: Google::Apis::NotebooksV1::RuntimeAccessConfig, decorator: Google::Apis::NotebooksV1::RuntimeAccessConfig::Representation
798
+
799
+ property :create_time, as: 'createTime'
800
+ property :health_state, as: 'healthState'
801
+ property :metrics, as: 'metrics', class: Google::Apis::NotebooksV1::RuntimeMetrics, decorator: Google::Apis::NotebooksV1::RuntimeMetrics::Representation
802
+
803
+ property :name, as: 'name'
804
+ property :software_config, as: 'softwareConfig', class: Google::Apis::NotebooksV1::RuntimeSoftwareConfig, decorator: Google::Apis::NotebooksV1::RuntimeSoftwareConfig::Representation
805
+
806
+ property :state, as: 'state'
807
+ property :update_time, as: 'updateTime'
808
+ property :virtual_machine, as: 'virtualMachine', class: Google::Apis::NotebooksV1::VirtualMachine, decorator: Google::Apis::NotebooksV1::VirtualMachine::Representation
809
+
810
+ end
811
+ end
812
+
813
+ class RuntimeAcceleratorConfig
814
+ # @private
815
+ class Representation < Google::Apis::Core::JsonRepresentation
816
+ property :core_count, :numeric_string => true, as: 'coreCount'
817
+ property :type, as: 'type'
818
+ end
819
+ end
820
+
821
+ class RuntimeAccessConfig
822
+ # @private
823
+ class Representation < Google::Apis::Core::JsonRepresentation
824
+ property :access_type, as: 'accessType'
825
+ property :proxy_uri, as: 'proxyUri'
826
+ property :runtime_owner, as: 'runtimeOwner'
827
+ end
828
+ end
829
+
830
+ class RuntimeGuestOsFeature
831
+ # @private
832
+ class Representation < Google::Apis::Core::JsonRepresentation
833
+ property :type, as: 'type'
834
+ end
835
+ end
836
+
837
+ class RuntimeMetrics
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ hash :system_metrics, as: 'systemMetrics'
841
+ end
842
+ end
843
+
844
+ class RuntimeShieldedInstanceConfig
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
848
+ property :enable_secure_boot, as: 'enableSecureBoot'
849
+ property :enable_vtpm, as: 'enableVtpm'
850
+ end
851
+ end
852
+
853
+ class RuntimeSoftwareConfig
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ property :custom_gpu_driver_path, as: 'customGpuDriverPath'
857
+ property :enable_health_monitoring, as: 'enableHealthMonitoring'
858
+ property :idle_shutdown, as: 'idleShutdown'
859
+ property :idle_shutdown_timeout, as: 'idleShutdownTimeout'
860
+ property :install_gpu_driver, as: 'installGpuDriver'
861
+ property :notebook_upgrade_schedule, as: 'notebookUpgradeSchedule'
862
+ property :post_startup_script, as: 'postStartupScript'
863
+ end
864
+ end
865
+
597
866
  class Schedule
598
867
  # @private
599
868
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -665,6 +934,12 @@ module Google
665
934
  end
666
935
  end
667
936
 
937
+ class StartRuntimeRequest
938
+ # @private
939
+ class Representation < Google::Apis::Core::JsonRepresentation
940
+ end
941
+ end
942
+
668
943
  class Status
669
944
  # @private
670
945
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -680,6 +955,21 @@ module Google
680
955
  end
681
956
  end
682
957
 
958
+ class StopRuntimeRequest
959
+ # @private
960
+ class Representation < Google::Apis::Core::JsonRepresentation
961
+ end
962
+ end
963
+
964
+ class SwitchRuntimeRequest
965
+ # @private
966
+ class Representation < Google::Apis::Core::JsonRepresentation
967
+ property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
968
+
969
+ property :machine_type, as: 'machineType'
970
+ end
971
+ end
972
+
683
973
  class TestIamPermissionsRequest
684
974
  # @private
685
975
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -700,6 +990,22 @@ module Google
700
990
  end
701
991
  end
702
992
 
993
+ class UpdateInstanceConfigRequest
994
+ # @private
995
+ class Representation < Google::Apis::Core::JsonRepresentation
996
+ property :config, as: 'config', class: Google::Apis::NotebooksV1::InstanceConfig, decorator: Google::Apis::NotebooksV1::InstanceConfig::Representation
997
+
998
+ end
999
+ end
1000
+
1001
+ class UpdateShieldedInstanceConfigRequest
1002
+ # @private
1003
+ class Representation < Google::Apis::Core::JsonRepresentation
1004
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV1::ShieldedInstanceConfig, decorator: Google::Apis::NotebooksV1::ShieldedInstanceConfig::Representation
1005
+
1006
+ end
1007
+ end
1008
+
703
1009
  class UpgradeHistoryEntry
704
1010
  # @private
705
1011
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -729,6 +1035,42 @@ module Google
729
1035
  end
730
1036
  end
731
1037
 
1038
+ class VirtualMachine
1039
+ # @private
1040
+ class Representation < Google::Apis::Core::JsonRepresentation
1041
+ property :instance_id, as: 'instanceId'
1042
+ property :instance_name, as: 'instanceName'
1043
+ property :virtual_machine_config, as: 'virtualMachineConfig', class: Google::Apis::NotebooksV1::VirtualMachineConfig, decorator: Google::Apis::NotebooksV1::VirtualMachineConfig::Representation
1044
+
1045
+ end
1046
+ end
1047
+
1048
+ class VirtualMachineConfig
1049
+ # @private
1050
+ class Representation < Google::Apis::Core::JsonRepresentation
1051
+ property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig, decorator: Google::Apis::NotebooksV1::RuntimeAcceleratorConfig::Representation
1052
+
1053
+ collection :container_images, as: 'containerImages', class: Google::Apis::NotebooksV1::ContainerImage, decorator: Google::Apis::NotebooksV1::ContainerImage::Representation
1054
+
1055
+ property :data_disk, as: 'dataDisk', class: Google::Apis::NotebooksV1::LocalDisk, decorator: Google::Apis::NotebooksV1::LocalDisk::Representation
1056
+
1057
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::NotebooksV1::EncryptionConfig, decorator: Google::Apis::NotebooksV1::EncryptionConfig::Representation
1058
+
1059
+ hash :guest_attributes, as: 'guestAttributes'
1060
+ property :internal_ip_only, as: 'internalIpOnly'
1061
+ hash :labels, as: 'labels'
1062
+ property :machine_type, as: 'machineType'
1063
+ hash :metadata, as: 'metadata'
1064
+ property :network, as: 'network'
1065
+ property :nic_type, as: 'nicType'
1066
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::NotebooksV1::RuntimeShieldedInstanceConfig, decorator: Google::Apis::NotebooksV1::RuntimeShieldedInstanceConfig::Representation
1067
+
1068
+ property :subnet, as: 'subnet'
1069
+ collection :tags, as: 'tags'
1070
+ property :zone, as: 'zone'
1071
+ end
1072
+ end
1073
+
732
1074
  class VmImage
733
1075
  # @private
734
1076
  class Representation < Google::Apis::Core::JsonRepresentation