google-apis-notebooks_v1 0.16.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f157c90c19457d1c257a900488b84ec33549ca3f6f69bed0bd576c9450b7a09
|
|
4
|
+
data.tar.gz: acc66ab1968d2c3e4d5614124d013bd92bcdf19c1dfc63a2d8eb652b2db24d2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc1ed0fe19a296d396d71298a3124278251b9b2531a13ce8a77c20ffa5870057a06cd89fb06a2da083c1ea99ce72b0a9377390d06181d6df6035ff569ba6b51d
|
|
7
|
+
data.tar.gz: e12b378594ff24e5be4e4778e811e70cb4268ba58d94a7debe0e1a213ffbe60eb6fb4e9cdc57379dd17f764ea5f769eed558c2ae4918c322f907b70a53d90e66
|
data/CHANGELOG.md
CHANGED
|
@@ -233,8 +233,8 @@ module Google
|
|
|
233
233
|
# SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
|
|
234
234
|
# the request will fail if you attempt to attach a persistent disk in any other
|
|
235
235
|
# format than SCSI. Local SSDs can use either NVME or SCSI. For performance
|
|
236
|
-
# characteristics of SCSI over NVMe, see Local SSD performance. Valid values:
|
|
237
|
-
# NVME SCSI
|
|
236
|
+
# characteristics of SCSI over NVMe, see Local SSD performance. Valid values: *
|
|
237
|
+
# NVME * SCSI
|
|
238
238
|
# Corresponds to the JSON property `interface`
|
|
239
239
|
# @return [String]
|
|
240
240
|
attr_accessor :interface
|
|
@@ -252,7 +252,7 @@ module Google
|
|
|
252
252
|
|
|
253
253
|
# The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not
|
|
254
254
|
# specified, the default is to attach the disk in READ_WRITE mode. Valid values:
|
|
255
|
-
# READ_ONLY READ_WRITE
|
|
255
|
+
# * READ_ONLY * READ_WRITE
|
|
256
256
|
# Corresponds to the JSON property `mode`
|
|
257
257
|
# @return [String]
|
|
258
258
|
attr_accessor :mode
|
|
@@ -262,8 +262,8 @@ module Google
|
|
|
262
262
|
# @return [String]
|
|
263
263
|
attr_accessor :source
|
|
264
264
|
|
|
265
|
-
# Indicates the type of the disk, either SCRATCH or PERSISTENT. Valid values:
|
|
266
|
-
# PERSISTENT SCRATCH
|
|
265
|
+
# Indicates the type of the disk, either SCRATCH or PERSISTENT. Valid values: *
|
|
266
|
+
# PERSISTENT * SCRATCH
|
|
267
267
|
# Corresponds to the JSON property `type`
|
|
268
268
|
# @return [String]
|
|
269
269
|
attr_accessor :type
|
|
@@ -444,7 +444,7 @@ module Google
|
|
|
444
444
|
attr_accessor :job_uri
|
|
445
445
|
|
|
446
446
|
# Output only. The resource name of the execute. Format: `projects/`project_id`/
|
|
447
|
-
# locations/`location`/
|
|
447
|
+
# locations/`location`/executions/`execution_id``
|
|
448
448
|
# Corresponds to the JSON property `name`
|
|
449
449
|
# @return [String]
|
|
450
450
|
attr_accessor :name
|
|
@@ -487,8 +487,9 @@ module Google
|
|
|
487
487
|
include Google::Apis::Core::Hashable
|
|
488
488
|
|
|
489
489
|
# Definition of a hardware accelerator. Note that not all combinations of `type`
|
|
490
|
-
# and `core_count` are valid. Check GPUs on Compute Engine
|
|
491
|
-
# combination. TPUs are not
|
|
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.
|
|
492
493
|
# Corresponds to the JSON property `acceleratorConfig`
|
|
493
494
|
# @return [Google::Apis::NotebooksV1::SchedulerAcceleratorConfig]
|
|
494
495
|
attr_accessor :accelerator_config
|
|
@@ -506,7 +507,7 @@ module Google
|
|
|
506
507
|
attr_accessor :dataproc_parameters
|
|
507
508
|
|
|
508
509
|
# Path to the notebook file to execute. Must be in a Google Cloud Storage bucket.
|
|
509
|
-
# Format: gs://`
|
|
510
|
+
# Format: gs://`bucket_name`/`folder`/`notebook_file_name` Ex: gs://
|
|
510
511
|
# notebook_user/scheduled_notebooks/sentiment_notebook.ipynb
|
|
511
512
|
# Corresponds to the JSON property `inputNotebookFile`
|
|
512
513
|
# @return [String]
|
|
@@ -539,13 +540,14 @@ module Google
|
|
|
539
540
|
# standard_v100` - `large_model_v100` - `complex_model_m_v100` - `
|
|
540
541
|
# complex_model_l_v100` Finally, if you want to use a TPU for training, specify `
|
|
541
542
|
# cloud_tpu` in this field. Learn more about the [special configuration options
|
|
542
|
-
# 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).
|
|
543
545
|
# Corresponds to the JSON property `masterType`
|
|
544
546
|
# @return [String]
|
|
545
547
|
attr_accessor :master_type
|
|
546
548
|
|
|
547
549
|
# Path to the notebook folder to write to. Must be in a Google Cloud Storage
|
|
548
|
-
# bucket path. Format: gs://`
|
|
550
|
+
# bucket path. Format: gs://`bucket_name`/`folder` Ex: gs://notebook_user/
|
|
549
551
|
# scheduled_notebooks
|
|
550
552
|
# Corresponds to the JSON property `outputNotebookFolder`
|
|
551
553
|
# @return [String]
|
|
@@ -577,6 +579,11 @@ module Google
|
|
|
577
579
|
# @return [String]
|
|
578
580
|
attr_accessor :service_account
|
|
579
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
|
+
|
|
580
587
|
def initialize(**args)
|
|
581
588
|
update!(**args)
|
|
582
589
|
end
|
|
@@ -595,6 +602,7 @@ module Google
|
|
|
595
602
|
@params_yaml_file = args[:params_yaml_file] if args.key?(:params_yaml_file)
|
|
596
603
|
@scale_tier = args[:scale_tier] if args.key?(:scale_tier)
|
|
597
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)
|
|
598
606
|
end
|
|
599
607
|
end
|
|
600
608
|
|
|
@@ -685,8 +693,9 @@ module Google
|
|
|
685
693
|
include Google::Apis::Core::Hashable
|
|
686
694
|
|
|
687
695
|
# The ID of a supported feature. Read Enabling guest operating system features
|
|
688
|
-
# to see a list of available options. Valid values: FEATURE_TYPE_UNSPECIFIED
|
|
689
|
-
# MULTI_IP_SUBNET SECURE_BOOT UEFI_COMPATIBLE VIRTIO_SCSI_MULTIQUEUE
|
|
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
|
|
690
699
|
# Corresponds to the JSON property `type`
|
|
691
700
|
# @return [String]
|
|
692
701
|
attr_accessor :type
|
|
@@ -965,7 +974,7 @@ module Google
|
|
|
965
974
|
class InstanceConfig
|
|
966
975
|
include Google::Apis::Core::Hashable
|
|
967
976
|
|
|
968
|
-
# Verifies core internal services are running.
|
|
977
|
+
# Verifies core internal services are running.
|
|
969
978
|
# Corresponds to the JSON property `enableHealthMonitoring`
|
|
970
979
|
# @return [Boolean]
|
|
971
980
|
attr_accessor :enable_health_monitoring
|
|
@@ -1246,7 +1255,7 @@ module Google
|
|
|
1246
1255
|
end
|
|
1247
1256
|
end
|
|
1248
1257
|
|
|
1249
|
-
#
|
|
1258
|
+
# A Local attached disk resource.
|
|
1250
1259
|
class LocalDisk
|
|
1251
1260
|
include Google::Apis::Core::Hashable
|
|
1252
1261
|
|
|
@@ -1301,8 +1310,8 @@ module Google
|
|
|
1301
1310
|
# SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
|
|
1302
1311
|
# the request will fail if you attempt to attach a persistent disk in any other
|
|
1303
1312
|
# format than SCSI. Local SSDs can use either NVME or SCSI. For performance
|
|
1304
|
-
# characteristics of SCSI over NVMe, see Local SSD performance. Valid values:
|
|
1305
|
-
# NVME SCSI
|
|
1313
|
+
# characteristics of SCSI over NVMe, see Local SSD performance. Valid values: *
|
|
1314
|
+
# NVME * SCSI
|
|
1306
1315
|
# Corresponds to the JSON property `interface`
|
|
1307
1316
|
# @return [String]
|
|
1308
1317
|
attr_accessor :interface
|
|
@@ -1320,7 +1329,7 @@ module Google
|
|
|
1320
1329
|
|
|
1321
1330
|
# The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not
|
|
1322
1331
|
# specified, the default is to attach the disk in READ_WRITE mode. Valid values:
|
|
1323
|
-
# READ_ONLY READ_WRITE
|
|
1332
|
+
# * READ_ONLY * READ_WRITE
|
|
1324
1333
|
# Corresponds to the JSON property `mode`
|
|
1325
1334
|
# @return [String]
|
|
1326
1335
|
attr_accessor :mode
|
|
@@ -1331,7 +1340,7 @@ module Google
|
|
|
1331
1340
|
attr_accessor :source
|
|
1332
1341
|
|
|
1333
1342
|
# Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified,
|
|
1334
|
-
# the default is PERSISTENT. Valid values: PERSISTENT SCRATCH
|
|
1343
|
+
# the default is PERSISTENT. Valid values: * PERSISTENT * SCRATCH
|
|
1335
1344
|
# Corresponds to the JSON property `type`
|
|
1336
1345
|
# @return [String]
|
|
1337
1346
|
attr_accessor :type
|
|
@@ -2065,7 +2074,7 @@ module Google
|
|
|
2065
2074
|
attr_accessor :idle_shutdown
|
|
2066
2075
|
alias_method :idle_shutdown?, :idle_shutdown
|
|
2067
2076
|
|
|
2068
|
-
# Time in minutes to wait before
|
|
2077
|
+
# Time in minutes to wait before shutting down runtime. Default: 180 minutes
|
|
2069
2078
|
# Corresponds to the JSON property `idleShutdownTimeout`
|
|
2070
2079
|
# @return [Fixnum]
|
|
2071
2080
|
attr_accessor :idle_shutdown_timeout
|
|
@@ -2114,9 +2123,9 @@ module Google
|
|
|
2114
2123
|
# @return [String]
|
|
2115
2124
|
attr_accessor :create_time
|
|
2116
2125
|
|
|
2117
|
-
# Cron-tab formatted schedule by which the job will execute Format: minute,
|
|
2118
|
-
# day of month, month, day of week e.g. 0 0 * * WED = every Wednesday
|
|
2119
|
-
# 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
|
|
2120
2129
|
# Corresponds to the JSON property `cronSchedule`
|
|
2121
2130
|
# @return [String]
|
|
2122
2131
|
attr_accessor :cron_schedule
|
|
@@ -2189,8 +2198,9 @@ module Google
|
|
|
2189
2198
|
end
|
|
2190
2199
|
|
|
2191
2200
|
# Definition of a hardware accelerator. Note that not all combinations of `type`
|
|
2192
|
-
# and `core_count` are valid. Check GPUs on Compute Engine
|
|
2193
|
-
# combination. TPUs are not
|
|
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.
|
|
2194
2204
|
class SchedulerAcceleratorConfig
|
|
2195
2205
|
include Google::Apis::Core::Hashable
|
|
2196
2206
|
|
|
@@ -2690,6 +2700,31 @@ module Google
|
|
|
2690
2700
|
end
|
|
2691
2701
|
end
|
|
2692
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
|
+
|
|
2693
2728
|
# Runtime using Virtual Machine for computing.
|
|
2694
2729
|
class VirtualMachine
|
|
2695
2730
|
include Google::Apis::Core::Hashable
|
|
@@ -2740,7 +2775,7 @@ module Google
|
|
|
2740
2775
|
# @return [Array<Google::Apis::NotebooksV1::ContainerImage>]
|
|
2741
2776
|
attr_accessor :container_images
|
|
2742
2777
|
|
|
2743
|
-
#
|
|
2778
|
+
# A Local attached disk resource.
|
|
2744
2779
|
# Corresponds to the JSON property `dataDisk`
|
|
2745
2780
|
# @return [Google::Apis::NotebooksV1::LocalDisk]
|
|
2746
2781
|
attr_accessor :data_disk
|
|
@@ -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.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 = "
|
|
25
|
+
REVISION = "20210916"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -418,6 +418,12 @@ module Google
|
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
|
419
419
|
end
|
|
420
420
|
|
|
421
|
+
class VertexAiParameters
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
426
|
+
|
|
421
427
|
class VirtualMachine
|
|
422
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
429
|
|
|
@@ -563,6 +569,8 @@ module Google
|
|
|
563
569
|
property :params_yaml_file, as: 'paramsYamlFile'
|
|
564
570
|
property :scale_tier, as: 'scaleTier'
|
|
565
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
|
+
|
|
566
574
|
end
|
|
567
575
|
end
|
|
568
576
|
|
|
@@ -1098,6 +1106,13 @@ module Google
|
|
|
1098
1106
|
end
|
|
1099
1107
|
end
|
|
1100
1108
|
|
|
1109
|
+
class VertexAiParameters
|
|
1110
|
+
# @private
|
|
1111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1112
|
+
property :network, as: 'network'
|
|
1113
|
+
end
|
|
1114
|
+
end
|
|
1115
|
+
|
|
1101
1116
|
class VirtualMachine
|
|
1102
1117
|
# @private
|
|
1103
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
|
|
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
|
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.
|
|
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-09-
|
|
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.
|
|
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: []
|