google-apis-notebooks_v1 0.37.0 → 0.39.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: 05c6b0c8cadbc85dd435af49ae51e1a6dda184390d49a03a0da047b498a0797a
|
4
|
+
data.tar.gz: a194807a4d56224ffe4bdadc65d2f71b04a3ef4a0d8b25f319496326c86bf062
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6169f4c7430256620e19ed6af3371810fa330d1d5f71aa919d44e4fae466822f6bd93e09a3f82b5ae8130bec672218ecbe721c90c32e98e6f20e44ed777ebe56
|
7
|
+
data.tar.gz: 85459e375e7e1f14b26f109e9edc318cbf3e5725c6daca1c1ac9d4dcbd6a4a70e552fcd4888b90ab7d86d786d8fff36ff39a7b87a700b96e8c0b90c6779ad17f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-notebooks_v1
|
2
2
|
|
3
|
+
### v0.39.0 (2023-03-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230307
|
6
|
+
* Regenerated using generator version 0.12.0
|
7
|
+
|
8
|
+
### v0.38.0 (2023-01-29)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20230124
|
11
|
+
* Regenerated using generator version 0.11.1
|
12
|
+
|
3
13
|
### v0.37.0 (2022-12-19)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20221213
|
@@ -23,8 +23,9 @@ module Google
|
|
23
23
|
module NotebooksV1
|
24
24
|
|
25
25
|
# Definition of a hardware accelerator. Note that not all combinations of `type`
|
26
|
-
# and `core_count` are valid. Check [GPUs on Compute Engine](
|
27
|
-
# gpus-list) to find a valid combination. TPUs are
|
26
|
+
# and `core_count` are valid. Check [GPUs on Compute Engine](https://cloud.
|
27
|
+
# google.com/compute/docs/gpus/#gpus-list) to find a valid combination. TPUs are
|
28
|
+
# not supported.
|
28
29
|
class AcceleratorConfig
|
29
30
|
include Google::Apis::Core::Hashable
|
30
31
|
|
@@ -87,22 +88,22 @@ module Google
|
|
87
88
|
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
88
89
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
89
90
|
# email address that represents a Google group. For example, `admins@example.com`
|
90
|
-
# . * `
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
# the
|
95
|
-
#
|
96
|
-
#
|
91
|
+
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
92
|
+
# users of that domain. For example, `google.com` or `example.com`. * `deleted:
|
93
|
+
# user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
94
|
+
# representing a user that has been recently deleted. For example, `alice@
|
95
|
+
# example.com?uid=123456789012345678901`. If the user is recovered, this value
|
96
|
+
# reverts to `user:`emailid`` and the recovered user retains the role in the
|
97
|
+
# binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
|
98
|
+
# (plus unique identifier) representing a service account that has been recently
|
99
|
+
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
97
100
|
# 123456789012345678901`. If the service account is undeleted, this value
|
98
101
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
99
102
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
100
103
|
# An email address (plus unique identifier) representing a Google group that has
|
101
104
|
# been recently deleted. For example, `admins@example.com?uid=
|
102
105
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
103
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
104
|
-
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
105
|
-
# of that domain. For example, `google.com` or `example.com`.
|
106
|
+
# group:`emailid`` and the recovered group retains the role in the binding.
|
106
107
|
# Corresponds to the JSON property `members`
|
107
108
|
# @return [Array<String>]
|
108
109
|
attr_accessor :members
|
@@ -311,8 +312,8 @@ module Google
|
|
311
312
|
attr_accessor :boot
|
312
313
|
alias_method :boot?, :boot
|
313
314
|
|
314
|
-
# Indicates a unique device name of your choice that is reflected into the
|
315
|
-
# disk/by-id/google
|
315
|
+
# Indicates a unique device name of your choice that is reflected into the `/dev/
|
316
|
+
# disk/by-id/google-*` tree of a Linux operating system running within the
|
316
317
|
# instance. This name can be used to reference the device for mounting, resizing,
|
317
318
|
# and so on, from within the instance. If not specified, the server chooses a
|
318
319
|
# default device name to apply to this disk, in the form persistent-disk-x,
|
@@ -345,8 +346,8 @@ module Google
|
|
345
346
|
# SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
|
346
347
|
# the request will fail if you attempt to attach a persistent disk in any other
|
347
348
|
# format than SCSI. Local SSDs can use either NVME or SCSI. For performance
|
348
|
-
# characteristics of SCSI over NVMe, see Local SSD performance. Valid values: *
|
349
|
-
# NVME * SCSI
|
349
|
+
# characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * `
|
350
|
+
# NVME` * `SCSI`
|
350
351
|
# Corresponds to the JSON property `interface`
|
351
352
|
# @return [String]
|
352
353
|
attr_accessor :interface
|
@@ -362,9 +363,9 @@ module Google
|
|
362
363
|
# @return [Array<String>]
|
363
364
|
attr_accessor :licenses
|
364
365
|
|
365
|
-
# The mode in which to attach this disk, either READ_WRITE or READ_ONLY
|
366
|
-
# specified, the default is to attach the disk in READ_WRITE mode. Valid
|
367
|
-
# * READ_ONLY * READ_WRITE
|
366
|
+
# The mode in which to attach this disk, either `READ_WRITE` or `READ_ONLY`. If
|
367
|
+
# not specified, the default is to attach the disk in `READ_WRITE` mode. Valid
|
368
|
+
# values: * `READ_ONLY` * `READ_WRITE`
|
368
369
|
# Corresponds to the JSON property `mode`
|
369
370
|
# @return [String]
|
370
371
|
attr_accessor :mode
|
@@ -374,8 +375,8 @@ module Google
|
|
374
375
|
# @return [String]
|
375
376
|
attr_accessor :source
|
376
377
|
|
377
|
-
# Indicates the type of the disk, either SCRATCH or PERSISTENT
|
378
|
-
# PERSISTENT * SCRATCH
|
378
|
+
# Indicates the type of the disk, either `SCRATCH` or `PERSISTENT`. Valid values:
|
379
|
+
# * `PERSISTENT` * `SCRATCH`
|
379
380
|
# Corresponds to the JSON property `type`
|
380
381
|
# @return [String]
|
381
382
|
attr_accessor :type
|
@@ -825,9 +826,9 @@ module Google
|
|
825
826
|
include Google::Apis::Core::Hashable
|
826
827
|
|
827
828
|
# The ID of a supported feature. Read Enabling guest operating system features
|
828
|
-
# to see a list of available options. Valid values: * FEATURE_TYPE_UNSPECIFIED
|
829
|
-
# MULTI_IP_SUBNET * SECURE_BOOT * UEFI_COMPATIBLE *
|
830
|
-
# WINDOWS
|
829
|
+
# to see a list of available options. Valid values: * `FEATURE_TYPE_UNSPECIFIED`
|
830
|
+
# * `MULTI_IP_SUBNET` * `SECURE_BOOT` * `UEFI_COMPATIBLE` * `
|
831
|
+
# VIRTIO_SCSI_MULTIQUEUE` * `WINDOWS`
|
831
832
|
# Corresponds to the JSON property `type`
|
832
833
|
# @return [String]
|
833
834
|
attr_accessor :type
|
@@ -847,8 +848,9 @@ module Google
|
|
847
848
|
include Google::Apis::Core::Hashable
|
848
849
|
|
849
850
|
# Definition of a hardware accelerator. Note that not all combinations of `type`
|
850
|
-
# and `core_count` are valid. Check [GPUs on Compute Engine](
|
851
|
-
# gpus-list) to find a valid combination. TPUs are
|
851
|
+
# and `core_count` are valid. Check [GPUs on Compute Engine](https://cloud.
|
852
|
+
# google.com/compute/docs/gpus/#gpus-list) to find a valid combination. TPUs are
|
853
|
+
# not supported.
|
852
854
|
# Corresponds to the JSON property `acceleratorConfig`
|
853
855
|
# @return [Google::Apis::NotebooksV1::AcceleratorConfig]
|
854
856
|
attr_accessor :accelerator_config
|
@@ -948,8 +950,8 @@ module Google
|
|
948
950
|
# @return [Hash<String,String>]
|
949
951
|
attr_accessor :labels
|
950
952
|
|
951
|
-
# Required. The [Compute Engine machine type](/compute/
|
952
|
-
# this instance.
|
953
|
+
# Required. The [Compute Engine machine type](https://cloud.google.com/compute/
|
954
|
+
# docs/machine-types) of this instance.
|
953
955
|
# Corresponds to the JSON property `machineType`
|
954
956
|
# @return [String]
|
955
957
|
attr_accessor :machine_type
|
@@ -1033,7 +1035,8 @@ module Google
|
|
1033
1035
|
attr_accessor :service_account_scopes
|
1034
1036
|
|
1035
1037
|
# A set of Shielded Instance options. Check [Images using supported Shielded VM
|
1036
|
-
# features]
|
1038
|
+
# features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
|
1039
|
+
# vm). Not all combinations are valid.
|
1037
1040
|
# Corresponds to the JSON property `shieldedInstanceConfig`
|
1038
1041
|
# @return [Google::Apis::NotebooksV1::ShieldedInstanceConfig]
|
1039
1042
|
attr_accessor :shielded_instance_config
|
@@ -1265,8 +1268,8 @@ module Google
|
|
1265
1268
|
# @return [String]
|
1266
1269
|
attr_accessor :next_page_token
|
1267
1270
|
|
1268
|
-
# Locations that could not be reached. For example, ['us-west1-a', 'us-central1-
|
1269
|
-
# b']
|
1271
|
+
# Locations that could not be reached. For example, `['us-west1-a', 'us-central1-
|
1272
|
+
# b']`. A ListInstancesResponse will only contain either instances or
|
1270
1273
|
# unreachables,
|
1271
1274
|
# Corresponds to the JSON property `unreachable`
|
1272
1275
|
# @return [Array<String>]
|
@@ -1349,8 +1352,8 @@ module Google
|
|
1349
1352
|
# @return [Array<Google::Apis::NotebooksV1::Runtime>]
|
1350
1353
|
attr_accessor :runtimes
|
1351
1354
|
|
1352
|
-
# Locations that could not be reached. For example, ['us-west1', 'us-central1']
|
1353
|
-
# A ListRuntimesResponse will only contain either runtimes or unreachables,
|
1355
|
+
# Locations that could not be reached. For example, `['us-west1', 'us-central1']`
|
1356
|
+
# . A ListRuntimesResponse will only contain either runtimes or unreachables,
|
1354
1357
|
# Corresponds to the JSON property `unreachable`
|
1355
1358
|
# @return [Array<String>]
|
1356
1359
|
attr_accessor :unreachable
|
@@ -1420,7 +1423,7 @@ module Google
|
|
1420
1423
|
alias_method :boot?, :boot
|
1421
1424
|
|
1422
1425
|
# Optional. Output only. Specifies a unique device name of your choice that is
|
1423
|
-
# reflected into the
|
1426
|
+
# reflected into the `/dev/disk/by-id/google-*` tree of a Linux operating system
|
1424
1427
|
# running within the instance. This name can be used to reference the device for
|
1425
1428
|
# mounting, resizing, and so on, from within the instance. If not specified, the
|
1426
1429
|
# server chooses a default device name to apply to this disk, in the form
|
@@ -1456,8 +1459,8 @@ module Google
|
|
1456
1459
|
# SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
|
1457
1460
|
# the request will fail if you attempt to attach a persistent disk in any other
|
1458
1461
|
# format than SCSI. Local SSDs can use either NVME or SCSI. For performance
|
1459
|
-
# characteristics of SCSI over NVMe, see Local SSD performance. Valid values: *
|
1460
|
-
# NVME * SCSI
|
1462
|
+
# characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * `
|
1463
|
+
# NVME` * `SCSI`
|
1461
1464
|
# Corresponds to the JSON property `interface`
|
1462
1465
|
# @return [String]
|
1463
1466
|
attr_accessor :interface
|
@@ -1473,9 +1476,9 @@ module Google
|
|
1473
1476
|
# @return [Array<String>]
|
1474
1477
|
attr_accessor :licenses
|
1475
1478
|
|
1476
|
-
# The mode in which to attach this disk, either READ_WRITE or READ_ONLY
|
1477
|
-
# specified, the default is to attach the disk in READ_WRITE mode. Valid
|
1478
|
-
# * READ_ONLY * READ_WRITE
|
1479
|
+
# The mode in which to attach this disk, either `READ_WRITE` or `READ_ONLY`. If
|
1480
|
+
# not specified, the default is to attach the disk in `READ_WRITE` mode. Valid
|
1481
|
+
# values: * `READ_ONLY` * `READ_WRITE`
|
1479
1482
|
# Corresponds to the JSON property `mode`
|
1480
1483
|
# @return [String]
|
1481
1484
|
attr_accessor :mode
|
@@ -1485,8 +1488,9 @@ module Google
|
|
1485
1488
|
# @return [String]
|
1486
1489
|
attr_accessor :source
|
1487
1490
|
|
1488
|
-
# Specifies the type of the disk, either SCRATCH or PERSISTENT
|
1489
|
-
# the default is PERSISTENT
|
1491
|
+
# Specifies the type of the disk, either `SCRATCH` or `PERSISTENT`. If not
|
1492
|
+
# specified, the default is `PERSISTENT`. Valid values: * `PERSISTENT` * `
|
1493
|
+
# SCRATCH`
|
1490
1494
|
# Corresponds to the JSON property `type`
|
1491
1495
|
# @return [String]
|
1492
1496
|
attr_accessor :type
|
@@ -1893,6 +1897,32 @@ module Google
|
|
1893
1897
|
end
|
1894
1898
|
end
|
1895
1899
|
|
1900
|
+
# Request for reporting a Managed Notebook Event.
|
1901
|
+
class ReportInstanceEventRequest
|
1902
|
+
include Google::Apis::Core::Hashable
|
1903
|
+
|
1904
|
+
# The definition of an Event for a managed / semi-managed notebook instance.
|
1905
|
+
# Corresponds to the JSON property `event`
|
1906
|
+
# @return [Google::Apis::NotebooksV1::Event]
|
1907
|
+
attr_accessor :event
|
1908
|
+
|
1909
|
+
# Required. The VM hardware token for authenticating the VM. https://cloud.
|
1910
|
+
# google.com/compute/docs/instances/verifying-instance-identity
|
1911
|
+
# Corresponds to the JSON property `vmId`
|
1912
|
+
# @return [String]
|
1913
|
+
attr_accessor :vm_id
|
1914
|
+
|
1915
|
+
def initialize(**args)
|
1916
|
+
update!(**args)
|
1917
|
+
end
|
1918
|
+
|
1919
|
+
# Update properties of this object
|
1920
|
+
def update!(**args)
|
1921
|
+
@event = args[:event] if args.key?(:event)
|
1922
|
+
@vm_id = args[:vm_id] if args.key?(:vm_id)
|
1923
|
+
end
|
1924
|
+
end
|
1925
|
+
|
1896
1926
|
# Request for notebook instances to report information to Notebooks API.
|
1897
1927
|
class ReportInstanceInfoRequest
|
1898
1928
|
include Google::Apis::Core::Hashable
|
@@ -2013,8 +2043,8 @@ module Google
|
|
2013
2043
|
class RollbackInstanceRequest
|
2014
2044
|
include Google::Apis::Core::Hashable
|
2015
2045
|
|
2016
|
-
# Required. The snapshot for rollback. Example:
|
2017
|
-
# snapshots/krwlzipynril
|
2046
|
+
# Required. The snapshot for rollback. Example: `projects/test-project/global/
|
2047
|
+
# snapshots/krwlzipynril`.
|
2018
2048
|
# Corresponds to the JSON property `targetSnapshot`
|
2019
2049
|
# @return [String]
|
2020
2050
|
attr_accessor :target_snapshot
|
@@ -2048,6 +2078,16 @@ module Google
|
|
2048
2078
|
# @return [String]
|
2049
2079
|
attr_accessor :health_state
|
2050
2080
|
|
2081
|
+
# Optional. The labels to associate with this Managed Notebook or Runtime. Label
|
2082
|
+
# **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https:
|
2083
|
+
# //www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if
|
2084
|
+
# present, must contain 1 to 63 characters, and must conform to [RFC 1035](https:
|
2085
|
+
# //www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with
|
2086
|
+
# a cluster.
|
2087
|
+
# Corresponds to the JSON property `labels`
|
2088
|
+
# @return [Hash<String,String>]
|
2089
|
+
attr_accessor :labels
|
2090
|
+
|
2051
2091
|
# Contains runtime daemon metrics, such as OS and kernels and sessions stats.
|
2052
2092
|
# Corresponds to the JSON property `metrics`
|
2053
2093
|
# @return [Google::Apis::NotebooksV1::RuntimeMetrics]
|
@@ -2091,6 +2131,7 @@ module Google
|
|
2091
2131
|
@access_config = args[:access_config] if args.key?(:access_config)
|
2092
2132
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2093
2133
|
@health_state = args[:health_state] if args.key?(:health_state)
|
2134
|
+
@labels = args[:labels] if args.key?(:labels)
|
2094
2135
|
@metrics = args[:metrics] if args.key?(:metrics)
|
2095
2136
|
@name = args[:name] if args.key?(:name)
|
2096
2137
|
@software_config = args[:software_config] if args.key?(:software_config)
|
@@ -2172,9 +2213,9 @@ module Google
|
|
2172
2213
|
|
2173
2214
|
# The ID of a supported feature. Read [Enabling guest operating system features](
|
2174
2215
|
# https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-
|
2175
|
-
# images#guest-os-features) to see a list of available options. Valid values: *
|
2176
|
-
# FEATURE_TYPE_UNSPECIFIED * MULTI_IP_SUBNET * SECURE_BOOT *
|
2177
|
-
# VIRTIO_SCSI_MULTIQUEUE * WINDOWS
|
2216
|
+
# images#guest-os-features) to see a list of available options. Valid values: * `
|
2217
|
+
# FEATURE_TYPE_UNSPECIFIED` * `MULTI_IP_SUBNET` * `SECURE_BOOT` * `
|
2218
|
+
# UEFI_COMPATIBLE` * `VIRTIO_SCSI_MULTIQUEUE` * `WINDOWS`
|
2178
2219
|
# Corresponds to the JSON property `type`
|
2179
2220
|
# @return [String]
|
2180
2221
|
attr_accessor :type
|
@@ -2300,6 +2341,12 @@ module Google
|
|
2300
2341
|
# @return [Array<Google::Apis::NotebooksV1::ContainerImage>]
|
2301
2342
|
attr_accessor :kernels
|
2302
2343
|
|
2344
|
+
# Bool indicating whether mixer client should be disabled. Default: False
|
2345
|
+
# Corresponds to the JSON property `mixerDisabled`
|
2346
|
+
# @return [Boolean]
|
2347
|
+
attr_accessor :mixer_disabled
|
2348
|
+
alias_method :mixer_disabled?, :mixer_disabled
|
2349
|
+
|
2303
2350
|
# Cron expression in UTC timezone, used to schedule instance auto upgrade.
|
2304
2351
|
# Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).
|
2305
2352
|
# Corresponds to the JSON property `notebookUpgradeSchedule`
|
@@ -2344,6 +2391,7 @@ module Google
|
|
2344
2391
|
@idle_shutdown_timeout = args[:idle_shutdown_timeout] if args.key?(:idle_shutdown_timeout)
|
2345
2392
|
@install_gpu_driver = args[:install_gpu_driver] if args.key?(:install_gpu_driver)
|
2346
2393
|
@kernels = args[:kernels] if args.key?(:kernels)
|
2394
|
+
@mixer_disabled = args[:mixer_disabled] if args.key?(:mixer_disabled)
|
2347
2395
|
@notebook_upgrade_schedule = args[:notebook_upgrade_schedule] if args.key?(:notebook_upgrade_schedule)
|
2348
2396
|
@post_startup_script = args[:post_startup_script] if args.key?(:post_startup_script)
|
2349
2397
|
@post_startup_script_behavior = args[:post_startup_script_behavior] if args.key?(:post_startup_script_behavior)
|
@@ -2362,7 +2410,7 @@ module Google
|
|
2362
2410
|
attr_accessor :create_time
|
2363
2411
|
|
2364
2412
|
# Cron-tab formatted schedule by which the job will execute. Format: minute,
|
2365
|
-
# hour, day of month, month, day of week, e.g. 0 0 * * WED = every Wednesday
|
2413
|
+
# hour, day of month, month, day of week, e.g. `0 0 * * WED` = every Wednesday
|
2366
2414
|
# More examples: https://crontab.guru/examples.html
|
2367
2415
|
# Corresponds to the JSON property `cronSchedule`
|
2368
2416
|
# @return [String]
|
@@ -2374,7 +2422,7 @@ module Google
|
|
2374
2422
|
attr_accessor :description
|
2375
2423
|
|
2376
2424
|
# Output only. Display name used for UI purposes. Name can only contain
|
2377
|
-
# alphanumeric characters, hyphens
|
2425
|
+
# alphanumeric characters, hyphens `-`, and underscores `_`.
|
2378
2426
|
# Corresponds to the JSON property `displayName`
|
2379
2427
|
# @return [String]
|
2380
2428
|
attr_accessor :display_name
|
@@ -2577,7 +2625,8 @@ module Google
|
|
2577
2625
|
end
|
2578
2626
|
|
2579
2627
|
# A set of Shielded Instance options. Check [Images using supported Shielded VM
|
2580
|
-
# features]
|
2628
|
+
# features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
|
2629
|
+
# vm). Not all combinations are valid.
|
2581
2630
|
class ShieldedInstanceConfig
|
2582
2631
|
include Google::Apis::Core::Hashable
|
2583
2632
|
|
@@ -2873,7 +2922,8 @@ module Google
|
|
2873
2922
|
include Google::Apis::Core::Hashable
|
2874
2923
|
|
2875
2924
|
# A set of Shielded Instance options. Check [Images using supported Shielded VM
|
2876
|
-
# features]
|
2925
|
+
# features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
|
2926
|
+
# vm). Not all combinations are valid.
|
2877
2927
|
# Corresponds to the JSON property `shieldedInstanceConfig`
|
2878
2928
|
# @return [Google::Apis::NotebooksV1::ShieldedInstanceConfig]
|
2879
2929
|
attr_accessor :shielded_instance_config
|
@@ -2922,7 +2972,7 @@ module Google
|
|
2922
2972
|
# @return [String]
|
2923
2973
|
attr_accessor :state
|
2924
2974
|
|
2925
|
-
# Target VM Image. Format: ainotebooks-vm/project/image-name/name
|
2975
|
+
# Target VM Image. Format: `ainotebooks-vm/project/image-name/name`.
|
2926
2976
|
# Corresponds to the JSON property `targetImage`
|
2927
2977
|
# @return [String]
|
2928
2978
|
attr_accessor :target_image
|
@@ -3033,18 +3083,19 @@ module Google
|
|
3033
3083
|
include Google::Apis::Core::Hashable
|
3034
3084
|
|
3035
3085
|
# Environment variables. At most 100 environment variables can be specified and
|
3036
|
-
# unique. Example: GCP_BUCKET=gs://my-bucket/samples
|
3086
|
+
# unique. Example: `GCP_BUCKET=gs://my-bucket/samples/`
|
3037
3087
|
# Corresponds to the JSON property `env`
|
3038
3088
|
# @return [Hash<String,String>]
|
3039
3089
|
attr_accessor :env
|
3040
3090
|
|
3041
|
-
# The full name of the Compute Engine [network](/compute/
|
3042
|
-
# firewalls#networks) to which the Job should be peered. For
|
3043
|
-
# 12345/global/networks/myVPC`. [Format](https://cloud.google.
|
3044
|
-
# reference/rest/v1/networks/insert) is of the form `projects/`
|
3045
|
-
# networks/`network``. Where
|
3046
|
-
#
|
3047
|
-
# for the network. If left unspecified, the job is not
|
3091
|
+
# The full name of the Compute Engine [network](https://cloud.google.com/compute/
|
3092
|
+
# docs/networks-and-firewalls#networks) to which the Job should be peered. For
|
3093
|
+
# example, `projects/12345/global/networks/myVPC`. [Format](https://cloud.google.
|
3094
|
+
# com/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/`
|
3095
|
+
# project`/global/networks/`network``. Where ``project`` is a project number, as
|
3096
|
+
# in `12345`, and ``network`` is a network name. Private services access must
|
3097
|
+
# already be configured for the network. If left unspecified, the job is not
|
3098
|
+
# peered with any network.
|
3048
3099
|
# Corresponds to the JSON property `network`
|
3049
3100
|
# @return [String]
|
3050
3101
|
attr_accessor :network
|
@@ -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.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230307"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -250,6 +250,12 @@ module Google
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
251
251
|
end
|
252
252
|
|
253
|
+
class ReportInstanceEventRequest
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
253
259
|
class ReportInstanceInfoRequest
|
254
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
261
|
|
@@ -924,6 +930,15 @@ module Google
|
|
924
930
|
end
|
925
931
|
end
|
926
932
|
|
933
|
+
class ReportInstanceEventRequest
|
934
|
+
# @private
|
935
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
936
|
+
property :event, as: 'event', class: Google::Apis::NotebooksV1::Event, decorator: Google::Apis::NotebooksV1::Event::Representation
|
937
|
+
|
938
|
+
property :vm_id, as: 'vmId'
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
927
942
|
class ReportInstanceInfoRequest
|
928
943
|
# @private
|
929
944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -977,6 +992,7 @@ module Google
|
|
977
992
|
|
978
993
|
property :create_time, as: 'createTime'
|
979
994
|
property :health_state, as: 'healthState'
|
995
|
+
hash :labels, as: 'labels'
|
980
996
|
property :metrics, as: 'metrics', class: Google::Apis::NotebooksV1::RuntimeMetrics, decorator: Google::Apis::NotebooksV1::RuntimeMetrics::Representation
|
981
997
|
|
982
998
|
property :name, as: 'name'
|
@@ -1040,6 +1056,7 @@ module Google
|
|
1040
1056
|
property :install_gpu_driver, as: 'installGpuDriver'
|
1041
1057
|
collection :kernels, as: 'kernels', class: Google::Apis::NotebooksV1::ContainerImage, decorator: Google::Apis::NotebooksV1::ContainerImage::Representation
|
1042
1058
|
|
1059
|
+
property :mixer_disabled, as: 'mixerDisabled'
|
1043
1060
|
property :notebook_upgrade_schedule, as: 'notebookUpgradeSchedule'
|
1044
1061
|
property :post_startup_script, as: 'postStartupScript'
|
1045
1062
|
property :post_startup_script_behavior, as: 'postStartupScriptBehavior'
|
@@ -363,7 +363,7 @@ module Google
|
|
363
363
|
# Required. Format: `parent=projects/`project_id`/locations/`location``
|
364
364
|
# @param [String] filter
|
365
365
|
# Filter applied to resulting executions. Currently only supports filtering
|
366
|
-
# executions by a specified schedule_id
|
366
|
+
# executions by a specified `schedule_id`. Format: `schedule_id=`
|
367
367
|
# @param [String] order_by
|
368
368
|
# Sort by field.
|
369
369
|
# @param [Fixnum] page_size
|
@@ -754,6 +754,40 @@ module Google
|
|
754
754
|
execute_or_queue_command(command, &block)
|
755
755
|
end
|
756
756
|
|
757
|
+
# Reports and processes an instance event.
|
758
|
+
# @param [String] name
|
759
|
+
# Required. Format: `projects/`project_id`/locations/`location`/instances/`
|
760
|
+
# instance_id``
|
761
|
+
# @param [Google::Apis::NotebooksV1::ReportInstanceEventRequest] report_instance_event_request_object
|
762
|
+
# @param [String] fields
|
763
|
+
# Selector specifying which fields to include in a partial response.
|
764
|
+
# @param [String] quota_user
|
765
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
766
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
767
|
+
# @param [Google::Apis::RequestOptions] options
|
768
|
+
# Request-specific options
|
769
|
+
#
|
770
|
+
# @yield [result, err] Result & error if block supplied
|
771
|
+
# @yieldparam result [Google::Apis::NotebooksV1::Operation] parsed result object
|
772
|
+
# @yieldparam err [StandardError] error object if request failed
|
773
|
+
#
|
774
|
+
# @return [Google::Apis::NotebooksV1::Operation]
|
775
|
+
#
|
776
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
777
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
778
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
779
|
+
def report_project_location_instance_event(name, report_instance_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
780
|
+
command = make_simple_command(:post, 'v1/{+name}:reportEvent', options)
|
781
|
+
command.request_representation = Google::Apis::NotebooksV1::ReportInstanceEventRequest::Representation
|
782
|
+
command.request_object = report_instance_event_request_object
|
783
|
+
command.response_representation = Google::Apis::NotebooksV1::Operation::Representation
|
784
|
+
command.response_class = Google::Apis::NotebooksV1::Operation
|
785
|
+
command.params['name'] = name unless name.nil?
|
786
|
+
command.query['fields'] = fields unless fields.nil?
|
787
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
788
|
+
execute_or_queue_command(command, &block)
|
789
|
+
end
|
790
|
+
|
757
791
|
# Resets a notebook instance.
|
758
792
|
# @param [String] name
|
759
793
|
# Required. Format: `projects/`project_id`/locations/`location`/instances/`
|
@@ -1344,13 +1378,7 @@ module Google
|
|
1344
1378
|
end
|
1345
1379
|
|
1346
1380
|
# Lists operations that match the specified filter in the request. If the server
|
1347
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1348
|
-
# binding allows API services to override the binding to use different resource
|
1349
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1350
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1351
|
-
# service configuration. For backwards compatibility, the default name includes
|
1352
|
-
# the operations collection id, however overriding users must ensure the name
|
1353
|
-
# binding is the parent resource, without the operations collection id.
|
1381
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1354
1382
|
# @param [String] name
|
1355
1383
|
# The name of the operation's parent resource.
|
1356
1384
|
# @param [String] filter
|
@@ -1624,9 +1652,10 @@ module Google
|
|
1624
1652
|
# request body would specify the new value, as follows: ` "software_config":` "
|
1625
1653
|
# kernels": [` 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu',
|
1626
1654
|
# 'tag': 'latest' `], ` ` Currently, only the following fields can be updated: -
|
1627
|
-
# software_config.kernels - software_config.post_startup_script -
|
1628
|
-
# software_config.custom_gpu_driver_path - software_config.idle_shutdown -
|
1629
|
-
# software_config.idle_shutdown_timeout - software_config.disable_terminal
|
1655
|
+
# `software_config.kernels` - `software_config.post_startup_script` - `
|
1656
|
+
# software_config.custom_gpu_driver_path` - `software_config.idle_shutdown` - `
|
1657
|
+
# software_config.idle_shutdown_timeout` - `software_config.disable_terminal` - `
|
1658
|
+
# labels`
|
1630
1659
|
# @param [String] fields
|
1631
1660
|
# Selector specifying which fields to include in a partial response.
|
1632
1661
|
# @param [String] quota_user
|
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.39.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: 2023-
|
11
|
+
date: 2023-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.11.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.11.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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/main/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.39.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-notebooks_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Notebooks API V1
|