google-apis-notebooks_v1 0.13.0 → 0.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85f44028b77a698830f8e86f92972f711b052c3ab291ca45b4aba5b6c8f8e331
4
- data.tar.gz: 40ea545c95e939e75600aae414514211710ea8ae8f71a1a0e0f17128c59bb593
3
+ metadata.gz: 1f157c90c19457d1c257a900488b84ec33549ca3f6f69bed0bd576c9450b7a09
4
+ data.tar.gz: acc66ab1968d2c3e4d5614124d013bd92bcdf19c1dfc63a2d8eb652b2db24d2f
5
5
  SHA512:
6
- metadata.gz: 3ea87d07ebf180bf45369a078054d596491664fe2bdee8418236f63f2ec7197f7910f65ab1e2b47b5a328dfc763f4335ffa791ebde5cd1cb4521cab637d8d425
7
- data.tar.gz: 3a5c00a8bcce9f88b62af6f2a7fdf4ed30f5cb0a013626bb81a1ad86981f150dde9190406155ad648535d189437405d773d3c49d8903524d75c7d9fac797e93c
6
+ metadata.gz: fc1ed0fe19a296d396d71298a3124278251b9b2531a13ce8a77c20ffa5870057a06cd89fb06a2da083c1ea99ce72b0a9377390d06181d6df6035ff569ba6b51d
7
+ data.tar.gz: e12b378594ff24e5be4e4778e811e70cb4268ba58d94a7debe0e1a213ffbe60eb6fb4e9cdc57379dd17f764ea5f769eed558c2ae4918c322f907b70a53d90e66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-notebooks_v1
2
2
 
3
+ ### v0.17.0 (2021-09-21)
4
+
5
+ * Regenerated from discovery document revision 20210916
6
+
7
+ ### v0.16.0 (2021-09-01)
8
+
9
+ * Regenerated from discovery document revision 20210812
10
+
11
+ ### v0.15.0 (2021-07-28)
12
+
13
+ * Regenerated from discovery document revision 20210722
14
+
15
+ ### v0.14.0 (2021-07-21)
16
+
17
+ * Regenerated from discovery document revision 20210715
18
+
3
19
  ### v0.13.0 (2021-07-15)
4
20
 
5
21
  * Regenerated from discovery document revision 20210713
@@ -161,6 +161,26 @@ module Google
161
161
  end
162
162
  end
163
163
 
164
+ # Parameters used in Dataproc JobType executions.
165
+ class DataprocParameters
166
+ include Google::Apis::Core::Hashable
167
+
168
+ # URI for cluster used to run Dataproc execution. Format: 'projects/`PROJECT_ID`/
169
+ # regions/`REGION`/clusters/`CLUSTER_NAME`
170
+ # Corresponds to the JSON property `cluster`
171
+ # @return [String]
172
+ attr_accessor :cluster
173
+
174
+ def initialize(**args)
175
+ update!(**args)
176
+ end
177
+
178
+ # Update properties of this object
179
+ def update!(**args)
180
+ @cluster = args[:cluster] if args.key?(:cluster)
181
+ end
182
+ end
183
+
164
184
  # An instance-attached disk resource.
165
185
  class Disk
166
186
  include Google::Apis::Core::Hashable
@@ -213,8 +233,8 @@ module Google
213
233
  # SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
214
234
  # the request will fail if you attempt to attach a persistent disk in any other
215
235
  # format than SCSI. Local SSDs can use either NVME or SCSI. For performance
216
- # characteristics of SCSI over NVMe, see Local SSD performance. Valid values:
217
- # NVME SCSI
236
+ # characteristics of SCSI over NVMe, see Local SSD performance. Valid values: *
237
+ # NVME * SCSI
218
238
  # Corresponds to the JSON property `interface`
219
239
  # @return [String]
220
240
  attr_accessor :interface
@@ -232,7 +252,7 @@ module Google
232
252
 
233
253
  # The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not
234
254
  # specified, the default is to attach the disk in READ_WRITE mode. Valid values:
235
- # READ_ONLY READ_WRITE
255
+ # * READ_ONLY * READ_WRITE
236
256
  # Corresponds to the JSON property `mode`
237
257
  # @return [String]
238
258
  attr_accessor :mode
@@ -242,8 +262,8 @@ module Google
242
262
  # @return [String]
243
263
  attr_accessor :source
244
264
 
245
- # Indicates the type of the disk, either SCRATCH or PERSISTENT. Valid values:
246
- # PERSISTENT SCRATCH
265
+ # Indicates the type of the disk, either SCRATCH or PERSISTENT. Valid values: *
266
+ # PERSISTENT * SCRATCH
247
267
  # Corresponds to the JSON property `type`
248
268
  # @return [String]
249
269
  attr_accessor :type
@@ -424,7 +444,7 @@ module Google
424
444
  attr_accessor :job_uri
425
445
 
426
446
  # Output only. The resource name of the execute. Format: `projects/`project_id`/
427
- # locations/`location`/execution/`execution_id`
447
+ # locations/`location`/executions/`execution_id``
428
448
  # Corresponds to the JSON property `name`
429
449
  # @return [String]
430
450
  attr_accessor :name
@@ -467,8 +487,9 @@ module Google
467
487
  include Google::Apis::Core::Hashable
468
488
 
469
489
  # Definition of a hardware accelerator. Note that not all combinations of `type`
470
- # and `core_count` are valid. Check GPUs on Compute Engine to find a valid
471
- # combination. TPUs are not supported.
490
+ # and `core_count` are valid. Check [GPUs on Compute Engine](https://cloud.
491
+ # google.com/compute/docs/gpus) to find a valid combination. TPUs are not
492
+ # supported.
472
493
  # Corresponds to the JSON property `acceleratorConfig`
473
494
  # @return [Google::Apis::NotebooksV1::SchedulerAcceleratorConfig]
474
495
  attr_accessor :accelerator_config
@@ -480,13 +501,23 @@ module Google
480
501
  # @return [String]
481
502
  attr_accessor :container_image_uri
482
503
 
504
+ # Parameters used in Dataproc JobType executions.
505
+ # Corresponds to the JSON property `dataprocParameters`
506
+ # @return [Google::Apis::NotebooksV1::DataprocParameters]
507
+ attr_accessor :dataproc_parameters
508
+
483
509
  # Path to the notebook file to execute. Must be in a Google Cloud Storage bucket.
484
- # Format: gs://`project_id`/`folder`/`notebook_file_name` Ex: gs://
510
+ # Format: gs://`bucket_name`/`folder`/`notebook_file_name` Ex: gs://
485
511
  # notebook_user/scheduled_notebooks/sentiment_notebook.ipynb
486
512
  # Corresponds to the JSON property `inputNotebookFile`
487
513
  # @return [String]
488
514
  attr_accessor :input_notebook_file
489
515
 
516
+ # The type of Job to be used on this execution.
517
+ # Corresponds to the JSON property `jobType`
518
+ # @return [String]
519
+ attr_accessor :job_type
520
+
490
521
  # Labels for execution. If execution is scheduled, a field included will be 'nbs-
491
522
  # scheduled'. Otherwise, it is an immediate execution, and an included field
492
523
  # will be 'nbs-immediate'. Use fields to efficiently index between various types
@@ -509,13 +540,14 @@ module Google
509
540
  # standard_v100` - `large_model_v100` - `complex_model_m_v100` - `
510
541
  # complex_model_l_v100` Finally, if you want to use a TPU for training, specify `
511
542
  # cloud_tpu` in this field. Learn more about the [special configuration options
512
- # for training with TPU.
543
+ # for training with TPU](https://cloud.google.com/ai-platform/training/docs/
544
+ # using-tpus#configuring_a_custom_tpu_machine).
513
545
  # Corresponds to the JSON property `masterType`
514
546
  # @return [String]
515
547
  attr_accessor :master_type
516
548
 
517
549
  # Path to the notebook folder to write to. Must be in a Google Cloud Storage
518
- # bucket path. Format: gs://`project_id`/`folder` Ex: gs://notebook_user/
550
+ # bucket path. Format: gs://`bucket_name`/`folder` Ex: gs://notebook_user/
519
551
  # scheduled_notebooks
520
552
  # Corresponds to the JSON property `outputNotebookFolder`
521
553
  # @return [String]
@@ -547,6 +579,11 @@ module Google
547
579
  # @return [String]
548
580
  attr_accessor :service_account
549
581
 
582
+ # Parameters used in Vertex AI JobType executions.
583
+ # Corresponds to the JSON property `vertexAiParameters`
584
+ # @return [Google::Apis::NotebooksV1::VertexAiParameters]
585
+ attr_accessor :vertex_ai_parameters
586
+
550
587
  def initialize(**args)
551
588
  update!(**args)
552
589
  end
@@ -555,7 +592,9 @@ module Google
555
592
  def update!(**args)
556
593
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
557
594
  @container_image_uri = args[:container_image_uri] if args.key?(:container_image_uri)
595
+ @dataproc_parameters = args[:dataproc_parameters] if args.key?(:dataproc_parameters)
558
596
  @input_notebook_file = args[:input_notebook_file] if args.key?(:input_notebook_file)
597
+ @job_type = args[:job_type] if args.key?(:job_type)
559
598
  @labels = args[:labels] if args.key?(:labels)
560
599
  @master_type = args[:master_type] if args.key?(:master_type)
561
600
  @output_notebook_folder = args[:output_notebook_folder] if args.key?(:output_notebook_folder)
@@ -563,6 +602,7 @@ module Google
563
602
  @params_yaml_file = args[:params_yaml_file] if args.key?(:params_yaml_file)
564
603
  @scale_tier = args[:scale_tier] if args.key?(:scale_tier)
565
604
  @service_account = args[:service_account] if args.key?(:service_account)
605
+ @vertex_ai_parameters = args[:vertex_ai_parameters] if args.key?(:vertex_ai_parameters)
566
606
  end
567
607
  end
568
608
 
@@ -653,8 +693,9 @@ module Google
653
693
  include Google::Apis::Core::Hashable
654
694
 
655
695
  # The ID of a supported feature. Read Enabling guest operating system features
656
- # to see a list of available options. Valid values: FEATURE_TYPE_UNSPECIFIED
657
- # MULTI_IP_SUBNET SECURE_BOOT UEFI_COMPATIBLE VIRTIO_SCSI_MULTIQUEUE WINDOWS
696
+ # to see a list of available options. Valid values: * FEATURE_TYPE_UNSPECIFIED *
697
+ # MULTI_IP_SUBNET * SECURE_BOOT * UEFI_COMPATIBLE * VIRTIO_SCSI_MULTIQUEUE *
698
+ # WINDOWS
658
699
  # Corresponds to the JSON property `type`
659
700
  # @return [String]
660
701
  attr_accessor :type
@@ -933,7 +974,7 @@ module Google
933
974
  class InstanceConfig
934
975
  include Google::Apis::Core::Hashable
935
976
 
936
- # Verifies core internal services are running. More info: go/notebooks-health
977
+ # Verifies core internal services are running.
937
978
  # Corresponds to the JSON property `enableHealthMonitoring`
938
979
  # @return [Boolean]
939
980
  attr_accessor :enable_health_monitoring
@@ -1214,27 +1255,27 @@ module Google
1214
1255
  end
1215
1256
  end
1216
1257
 
1217
- # An Local attached disk resource.
1258
+ # A Local attached disk resource.
1218
1259
  class LocalDisk
1219
1260
  include Google::Apis::Core::Hashable
1220
1261
 
1221
- # Output only. Specifies whether the disk will be auto-deleted when the instance
1222
- # is deleted (but not when the disk is detached from the instance).
1262
+ # Optional. Output only. Specifies whether the disk will be auto-deleted when
1263
+ # the instance is deleted (but not when the disk is detached from the instance).
1223
1264
  # Corresponds to the JSON property `autoDelete`
1224
1265
  # @return [Boolean]
1225
1266
  attr_accessor :auto_delete
1226
1267
  alias_method :auto_delete?, :auto_delete
1227
1268
 
1228
- # Output only. Indicates that this is a boot disk. The virtual machine will use
1229
- # the first partition of the disk for its root filesystem.
1269
+ # Optional. Output only. Indicates that this is a boot disk. The virtual machine
1270
+ # will use the first partition of the disk for its root filesystem.
1230
1271
  # Corresponds to the JSON property `boot`
1231
1272
  # @return [Boolean]
1232
1273
  attr_accessor :boot
1233
1274
  alias_method :boot?, :boot
1234
1275
 
1235
- # Output only. Specifies a unique device name of your choice that is reflected
1236
- # into the /dev/disk/by-id/google-* tree of a Linux operating system running
1237
- # within the instance. This name can be used to reference the device for
1276
+ # Optional. Output only. Specifies a unique device name of your choice that is
1277
+ # reflected into the /dev/disk/by-id/google-* tree of a Linux operating system
1278
+ # running within the instance. This name can be used to reference the device for
1238
1279
  # mounting, resizing, and so on, from within the instance. If not specified, the
1239
1280
  # server chooses a default device name to apply to this disk, in the form
1240
1281
  # persistent-disk-x, where x is a number assigned by Google Compute Engine. This
@@ -1250,14 +1291,14 @@ module Google
1250
1291
  # @return [Array<Google::Apis::NotebooksV1::RuntimeGuestOsFeature>]
1251
1292
  attr_accessor :guest_os_features
1252
1293
 
1253
- # Output only. [Output Only] A zero-based index to this disk, where 0 is
1254
- # reserved for the boot disk. If you have many disks attached to an instance,
1255
- # each disk would have a unique index number.
1294
+ # Output only. A zero-based index to this disk, where 0 is reserved for the boot
1295
+ # disk. If you have many disks attached to an instance, each disk would have a
1296
+ # unique index number.
1256
1297
  # Corresponds to the JSON property `index`
1257
1298
  # @return [Fixnum]
1258
1299
  attr_accessor :index
1259
1300
 
1260
- # [Input Only] Specifies the parameters for a new disk that will be created
1301
+ # Input only. Specifies the parameters for a new disk that will be created
1261
1302
  # alongside the new instance. Use initialization parameters to create boot disks
1262
1303
  # or local SSDs attached to the new runtime. This property is mutually exclusive
1263
1304
  # with the source property; you can only define one or the other, but not both.
@@ -1269,8 +1310,8 @@ module Google
1269
1310
  # SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
1270
1311
  # the request will fail if you attempt to attach a persistent disk in any other
1271
1312
  # format than SCSI. Local SSDs can use either NVME or SCSI. For performance
1272
- # characteristics of SCSI over NVMe, see Local SSD performance. Valid values:
1273
- # NVME SCSI
1313
+ # characteristics of SCSI over NVMe, see Local SSD performance. Valid values: *
1314
+ # NVME * SCSI
1274
1315
  # Corresponds to the JSON property `interface`
1275
1316
  # @return [String]
1276
1317
  attr_accessor :interface
@@ -1281,14 +1322,14 @@ module Google
1281
1322
  # @return [String]
1282
1323
  attr_accessor :kind
1283
1324
 
1284
- # Output only. [Output Only] Any valid publicly visible licenses.
1325
+ # Output only. Any valid publicly visible licenses.
1285
1326
  # Corresponds to the JSON property `licenses`
1286
1327
  # @return [Array<String>]
1287
1328
  attr_accessor :licenses
1288
1329
 
1289
1330
  # The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not
1290
1331
  # specified, the default is to attach the disk in READ_WRITE mode. Valid values:
1291
- # READ_ONLY READ_WRITE
1332
+ # * READ_ONLY * READ_WRITE
1292
1333
  # Corresponds to the JSON property `mode`
1293
1334
  # @return [String]
1294
1335
  attr_accessor :mode
@@ -1299,7 +1340,7 @@ module Google
1299
1340
  attr_accessor :source
1300
1341
 
1301
1342
  # Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified,
1302
- # the default is PERSISTENT. Valid values: PERSISTENT SCRATCH
1343
+ # the default is PERSISTENT. Valid values: * PERSISTENT * SCRATCH
1303
1344
  # Corresponds to the JSON property `type`
1304
1345
  # @return [String]
1305
1346
  attr_accessor :type
@@ -1325,7 +1366,7 @@ module Google
1325
1366
  end
1326
1367
  end
1327
1368
 
1328
- # [Input Only] Specifies the parameters for a new disk that will be created
1369
+ # Input only. Specifies the parameters for a new disk that will be created
1329
1370
  # alongside the new instance. Use initialization parameters to create boot disks
1330
1371
  # or local SSDs attached to the new runtime. This property is mutually exclusive
1331
1372
  # with the source property; you can only define one or the other, but not both.
@@ -1574,7 +1615,7 @@ module Google
1574
1615
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1575
1616
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1576
1617
  # description: Does not grant access after Sep 2020 expression: request.time <
1577
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1618
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1578
1619
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1579
1620
  # google.com/iam/docs/).
1580
1621
  class Policy
@@ -1811,16 +1852,15 @@ module Google
1811
1852
  attr_accessor :metrics
1812
1853
 
1813
1854
  # Output only. The resource name of the runtime. Format: `projects/`project`/
1814
- # locations/`location`/runtimes/`runtime``
1855
+ # locations/`location`/runtimes/`runtimeId``
1815
1856
  # Corresponds to the JSON property `name`
1816
1857
  # @return [String]
1817
1858
  attr_accessor :name
1818
1859
 
1819
- # Specifies the selection and config of software inside the runtime. / The
1860
+ # Specifies the selection and configuration of software inside the runtime. The
1820
1861
  # properties to set on runtime. Properties keys are specified in `key:value`
1821
- # format, for example: * idle_shutdown: idle_shutdown=true *
1822
- # idle_shutdown_timeout: idle_shutdown_timeout=180 * report-system-health:
1823
- # report-system-health=true
1862
+ # format, for example: * `idle_shutdown: true` * `idle_shutdown_timeout: 180` * `
1863
+ # report-system-health: true`
1824
1864
  # Corresponds to the JSON property `softwareConfig`
1825
1865
  # @return [Google::Apis::NotebooksV1::RuntimeSoftwareConfig]
1826
1866
  attr_accessor :software_config
@@ -1920,15 +1960,19 @@ module Google
1920
1960
  end
1921
1961
  end
1922
1962
 
1923
- # A list of features to enable on the guest operating system. Applicable only
1924
- # for bootable images. Read Enabling guest operating system features to see a
1925
- # list of available options. Guest OS features for boot disk.
1963
+ # Optional. A list of features to enable on the guest operating system.
1964
+ # Applicable only for bootable images. Read [Enabling guest operating system
1965
+ # features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-
1966
+ # private-images#guest-os-features) to see a list of available options. Guest OS
1967
+ # features for boot disk.
1926
1968
  class RuntimeGuestOsFeature
1927
1969
  include Google::Apis::Core::Hashable
1928
1970
 
1929
- # The ID of a supported feature. Read Enabling guest operating system features
1930
- # to see a list of available options. Valid values: FEATURE_TYPE_UNSPECIFIED
1931
- # MULTI_IP_SUBNET SECURE_BOOT UEFI_COMPATIBLE VIRTIO_SCSI_MULTIQUEUE WINDOWS
1971
+ # The ID of a supported feature. Read [Enabling guest operating system features](
1972
+ # https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-
1973
+ # images#guest-os-features) to see a list of available options. Valid values: *
1974
+ # FEATURE_TYPE_UNSPECIFIED * MULTI_IP_SUBNET * SECURE_BOOT * UEFI_COMPATIBLE *
1975
+ # VIRTIO_SCSI_MULTIQUEUE * WINDOWS
1932
1976
  # Corresponds to the JSON property `type`
1933
1977
  # @return [String]
1934
1978
  attr_accessor :type
@@ -1963,7 +2007,8 @@ module Google
1963
2007
  end
1964
2008
 
1965
2009
  # A set of Shielded Instance options. Check [Images using supported Shielded VM
1966
- # features] Not all combinations are valid.
2010
+ # features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
2011
+ # vm). Not all combinations are valid.
1967
2012
  class RuntimeShieldedInstanceConfig
1968
2013
  include Google::Apis::Core::Hashable
1969
2014
 
@@ -2004,11 +2049,10 @@ module Google
2004
2049
  end
2005
2050
  end
2006
2051
 
2007
- # Specifies the selection and config of software inside the runtime. / The
2052
+ # Specifies the selection and configuration of software inside the runtime. The
2008
2053
  # properties to set on runtime. Properties keys are specified in `key:value`
2009
- # format, for example: * idle_shutdown: idle_shutdown=true *
2010
- # idle_shutdown_timeout: idle_shutdown_timeout=180 * report-system-health:
2011
- # report-system-health=true
2054
+ # format, for example: * `idle_shutdown: true` * `idle_shutdown_timeout: 180` * `
2055
+ # report-system-health: true`
2012
2056
  class RuntimeSoftwareConfig
2013
2057
  include Google::Apis::Core::Hashable
2014
2058
 
@@ -2030,7 +2074,7 @@ module Google
2030
2074
  attr_accessor :idle_shutdown
2031
2075
  alias_method :idle_shutdown?, :idle_shutdown
2032
2076
 
2033
- # Time in minutes to wait before shuting down runtime. Default: 180 minutes
2077
+ # Time in minutes to wait before shutting down runtime. Default: 180 minutes
2034
2078
  # Corresponds to the JSON property `idleShutdownTimeout`
2035
2079
  # @return [Fixnum]
2036
2080
  attr_accessor :idle_shutdown_timeout
@@ -2079,9 +2123,9 @@ module Google
2079
2123
  # @return [String]
2080
2124
  attr_accessor :create_time
2081
2125
 
2082
- # Cron-tab formatted schedule by which the job will execute Format: minute, hour,
2083
- # day of month, month, day of week e.g. 0 0 * * WED = every Wednesday More
2084
- # examples: https://crontab.guru/examples.html
2126
+ # Cron-tab formatted schedule by which the job will execute. Format: minute,
2127
+ # hour, day of month, month, day of week, e.g. 0 0 * * WED = every Wednesday
2128
+ # More examples: https://crontab.guru/examples.html
2085
2129
  # Corresponds to the JSON property `cronSchedule`
2086
2130
  # @return [String]
2087
2131
  attr_accessor :cron_schedule
@@ -2154,8 +2198,9 @@ module Google
2154
2198
  end
2155
2199
 
2156
2200
  # Definition of a hardware accelerator. Note that not all combinations of `type`
2157
- # and `core_count` are valid. Check GPUs on Compute Engine to find a valid
2158
- # combination. TPUs are not supported.
2201
+ # and `core_count` are valid. Check [GPUs on Compute Engine](https://cloud.
2202
+ # google.com/compute/docs/gpus) to find a valid combination. TPUs are not
2203
+ # supported.
2159
2204
  class SchedulerAcceleratorConfig
2160
2205
  include Google::Apis::Core::Hashable
2161
2206
 
@@ -2208,7 +2253,7 @@ module Google
2208
2253
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2209
2254
  # roles/resourcemanager.organizationViewer condition: title: expirable access
2210
2255
  # description: Does not grant access after Sep 2020 expression: request.time <
2211
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2256
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2212
2257
  # description of IAM and its features, see the [IAM documentation](https://cloud.
2213
2258
  # google.com/iam/docs/).
2214
2259
  # Corresponds to the JSON property `policy`
@@ -2655,6 +2700,31 @@ module Google
2655
2700
  end
2656
2701
  end
2657
2702
 
2703
+ # Parameters used in Vertex AI JobType executions.
2704
+ class VertexAiParameters
2705
+ include Google::Apis::Core::Hashable
2706
+
2707
+ # The full name of the Compute Engine [network](/compute/docs/networks-and-
2708
+ # firewalls#networks) to which the Job should be peered. For example, `projects/
2709
+ # 12345/global/networks/myVPC`. [Format](https://cloud.google.com/compute/docs/
2710
+ # reference/rest/v1/networks/insert) is of the form `projects/`project`/global/
2711
+ # networks/`network``. Where `project` is a project number, as in `12345`, and `
2712
+ # network` is a network name. Private services access must already be configured
2713
+ # for the network. If left unspecified, the job is not peered with any network.
2714
+ # Corresponds to the JSON property `network`
2715
+ # @return [String]
2716
+ attr_accessor :network
2717
+
2718
+ def initialize(**args)
2719
+ update!(**args)
2720
+ end
2721
+
2722
+ # Update properties of this object
2723
+ def update!(**args)
2724
+ @network = args[:network] if args.key?(:network)
2725
+ end
2726
+ end
2727
+
2658
2728
  # Runtime using Virtual Machine for computing.
2659
2729
  class VirtualMachine
2660
2730
  include Google::Apis::Core::Hashable
@@ -2705,7 +2775,7 @@ module Google
2705
2775
  # @return [Array<Google::Apis::NotebooksV1::ContainerImage>]
2706
2776
  attr_accessor :container_images
2707
2777
 
2708
- # An Local attached disk resource.
2778
+ # A Local attached disk resource.
2709
2779
  # Corresponds to the JSON property `dataDisk`
2710
2780
  # @return [Google::Apis::NotebooksV1::LocalDisk]
2711
2781
  attr_accessor :data_disk
@@ -2776,7 +2846,8 @@ module Google
2776
2846
  attr_accessor :nic_type
2777
2847
 
2778
2848
  # A set of Shielded Instance options. Check [Images using supported Shielded VM
2779
- # features] Not all combinations are valid.
2849
+ # features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
2850
+ # vm). Not all combinations are valid.
2780
2851
  # Corresponds to the JSON property `shieldedInstanceConfig`
2781
2852
  # @return [Google::Apis::NotebooksV1::RuntimeShieldedInstanceConfig]
2782
2853
  attr_accessor :shielded_instance_config
@@ -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.13.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210713"
25
+ REVISION = "20210916"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class DataprocParameters
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Disk
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -412,6 +418,12 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class VertexAiParameters
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class VirtualMachine
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -462,6 +474,13 @@ module Google
462
474
  end
463
475
  end
464
476
 
477
+ class DataprocParameters
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :cluster, as: 'cluster'
481
+ end
482
+ end
483
+
465
484
  class Disk
466
485
  # @private
467
486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -539,7 +558,10 @@ module Google
539
558
  property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::NotebooksV1::SchedulerAcceleratorConfig, decorator: Google::Apis::NotebooksV1::SchedulerAcceleratorConfig::Representation
540
559
 
541
560
  property :container_image_uri, as: 'containerImageUri'
561
+ property :dataproc_parameters, as: 'dataprocParameters', class: Google::Apis::NotebooksV1::DataprocParameters, decorator: Google::Apis::NotebooksV1::DataprocParameters::Representation
562
+
542
563
  property :input_notebook_file, as: 'inputNotebookFile'
564
+ property :job_type, as: 'jobType'
543
565
  hash :labels, as: 'labels'
544
566
  property :master_type, as: 'masterType'
545
567
  property :output_notebook_folder, as: 'outputNotebookFolder'
@@ -547,6 +569,8 @@ module Google
547
569
  property :params_yaml_file, as: 'paramsYamlFile'
548
570
  property :scale_tier, as: 'scaleTier'
549
571
  property :service_account, as: 'serviceAccount'
572
+ property :vertex_ai_parameters, as: 'vertexAiParameters', class: Google::Apis::NotebooksV1::VertexAiParameters, decorator: Google::Apis::NotebooksV1::VertexAiParameters::Representation
573
+
550
574
  end
551
575
  end
552
576
 
@@ -1082,6 +1106,13 @@ module Google
1082
1106
  end
1083
1107
  end
1084
1108
 
1109
+ class VertexAiParameters
1110
+ # @private
1111
+ class Representation < Google::Apis::Core::JsonRepresentation
1112
+ property :network, as: 'network'
1113
+ end
1114
+ end
1115
+
1085
1116
  class VirtualMachine
1086
1117
  # @private
1087
1118
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -260,7 +260,7 @@ module Google
260
260
  execute_or_queue_command(command, &block)
261
261
  end
262
262
 
263
- # Creates a new Scheduled Notebook in a given project and location.
263
+ # Creates a new Execution in a given project and location.
264
264
  # @param [String] parent
265
265
  # Required. Format: `parent=projects/`project_id`/locations/`location``
266
266
  # @param [Google::Apis::NotebooksV1::Execution] execution_object
@@ -329,7 +329,7 @@ module Google
329
329
 
330
330
  # Gets details of executions
331
331
  # @param [String] name
332
- # Required. Format: `projects/`project_id`/locations/`location`/schedules/`
332
+ # Required. Format: `projects/`project_id`/locations/`location`/executions/`
333
333
  # execution_id``
334
334
  # @param [String] fields
335
335
  # Selector specifying which fields to include in a partial response.
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-notebooks_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-19 00:00:00.000000000 Z
11
+ date: 2021-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-notebooks_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-notebooks_v1/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-notebooks_v1
63
63
  post_install_message:
64
64
  rdoc_options: []