google-cloud-notebooks-v1 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/notebooks/v1/bindings_override.rb +159 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/client.rb +50 -52
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb +12 -14
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/client.rb +1342 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/operations.rb +793 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/service_stub.rb +825 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest.rb +54 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service.rb +7 -1
- data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +110 -118
- data/lib/google/cloud/notebooks/v1/notebook_service/operations.rb +12 -14
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/client.rb +2898 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/operations.rb +793 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/service_stub.rb +2074 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/rest.rb +54 -0
- data/lib/google/cloud/notebooks/v1/notebook_service.rb +7 -1
- data/lib/google/cloud/notebooks/v1/rest.rb +39 -0
- data/lib/google/cloud/notebooks/v1/version.rb +1 -1
- data/lib/google/cloud/notebooks/v1.rb +7 -2
- data/proto_docs/google/cloud/notebooks/v1/execution.rb +7 -6
- data/proto_docs/google/cloud/notebooks/v1/instance.rb +33 -32
- data/proto_docs/google/cloud/notebooks/v1/managed_service.rb +7 -7
- data/proto_docs/google/cloud/notebooks/v1/runtime.rb +26 -25
- data/proto_docs/google/cloud/notebooks/v1/schedule.rb +3 -3
- data/proto_docs/google/cloud/notebooks/v1/service.rb +10 -10
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +22 -12
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/notebooks/v1/version"
|
24
|
+
require "google/cloud/notebooks/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/notebooks/v1/notebook_service/credentials"
|
27
|
+
require "google/cloud/notebooks/v1/notebook_service/paths"
|
28
|
+
require "google/cloud/notebooks/v1/notebook_service/rest/operations"
|
29
|
+
require "google/cloud/notebooks/v1/notebook_service/rest/client"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module Notebooks
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# API v1 service for Cloud AI Platform Notebooks.
|
37
|
+
#
|
38
|
+
# To load this service and instantiate a REST client:
|
39
|
+
#
|
40
|
+
# require "google/cloud/notebooks/v1/notebook_service/rest"
|
41
|
+
# client = ::Google::Cloud::Notebooks::V1::NotebookService::Rest::Client.new
|
42
|
+
#
|
43
|
+
module NotebookService
|
44
|
+
# Client for the REST transport
|
45
|
+
module Rest
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
54
|
+
require "google/cloud/notebooks/v1/notebook_service/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/notebooks/v1/notebook_service/credentials"
|
|
26
26
|
require "google/cloud/notebooks/v1/notebook_service/paths"
|
27
27
|
require "google/cloud/notebooks/v1/notebook_service/operations"
|
28
28
|
require "google/cloud/notebooks/v1/notebook_service/client"
|
29
|
+
require "google/cloud/notebooks/v1/notebook_service/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -34,11 +35,16 @@ module Google
|
|
34
35
|
##
|
35
36
|
# API v1 service for Cloud AI Platform Notebooks.
|
36
37
|
#
|
37
|
-
#
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
38
39
|
#
|
39
40
|
# require "google/cloud/notebooks/v1/notebook_service"
|
40
41
|
# client = ::Google::Cloud::Notebooks::V1::NotebookService::Client.new
|
41
42
|
#
|
43
|
+
# @example Load this service and instantiate a REST client
|
44
|
+
#
|
45
|
+
# require "google/cloud/notebooks/v1/notebook_service/rest"
|
46
|
+
# client = ::Google::Cloud::Notebooks::V1::NotebookService::Rest::Client.new
|
47
|
+
#
|
42
48
|
module NotebookService
|
43
49
|
end
|
44
50
|
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/notebooks/v1/managed_notebook_service/rest"
|
20
|
+
require "google/cloud/notebooks/v1/notebook_service/rest"
|
21
|
+
require "google/cloud/notebooks/v1/bindings_override"
|
22
|
+
require "google/cloud/notebooks/v1/version"
|
23
|
+
|
24
|
+
module Google
|
25
|
+
module Cloud
|
26
|
+
module Notebooks
|
27
|
+
##
|
28
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
29
|
+
#
|
30
|
+
# @example
|
31
|
+
#
|
32
|
+
# require "google/cloud/notebooks/v1/rest"
|
33
|
+
# client = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Rest::Client.new
|
34
|
+
#
|
35
|
+
module V1
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -24,13 +24,18 @@ module Google
|
|
24
24
|
module Cloud
|
25
25
|
module Notebooks
|
26
26
|
##
|
27
|
-
#
|
27
|
+
# API client module.
|
28
28
|
#
|
29
|
-
# @example
|
29
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/notebooks/v1"
|
32
32
|
# client = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Client.new
|
33
33
|
#
|
34
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
35
|
+
#
|
36
|
+
# require "google/cloud/notebooks/v1"
|
37
|
+
# client = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Rest::Client.new
|
38
|
+
#
|
34
39
|
module V1
|
35
40
|
end
|
36
41
|
end
|
@@ -173,20 +173,21 @@ module Google
|
|
173
173
|
# @!attribute [rw] network
|
174
174
|
# @return [::String]
|
175
175
|
# The full name of the Compute Engine
|
176
|
-
# [network](/compute/docs/networks-and-firewalls#networks)
|
177
|
-
# should be peered. For example,
|
176
|
+
# [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
|
177
|
+
# to which the Job should be peered. For example,
|
178
|
+
# `projects/12345/global/networks/myVPC`.
|
178
179
|
# [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert)
|
179
180
|
# is of the form `projects/{project}/global/networks/{network}`.
|
180
|
-
# Where
|
181
|
-
# network name.
|
181
|
+
# Where `{project}` is a project number, as in `12345`, and `{network}` is
|
182
|
+
# a network name.
|
182
183
|
#
|
183
184
|
# Private services access must already be configured for the network. If
|
184
185
|
# left unspecified, the job is not peered with any network.
|
185
186
|
# @!attribute [rw] env
|
186
187
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
187
188
|
# Environment variables.
|
188
|
-
#
|
189
|
-
# Example: GCP_BUCKET=gs://my-bucket/samples
|
189
|
+
# At most 100 environment variables can be specified and unique.
|
190
|
+
# Example: `GCP_BUCKET=gs://my-bucket/samples/`
|
190
191
|
class VertexAIParameters
|
191
192
|
include ::Google::Protobuf::MessageExts
|
192
193
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -102,14 +102,15 @@ module Google
|
|
102
102
|
# https://www.googleapis.com/auth/compute
|
103
103
|
# @!attribute [rw] machine_type
|
104
104
|
# @return [::String]
|
105
|
-
# Required. The [Compute Engine machine
|
105
|
+
# Required. The [Compute Engine machine
|
106
|
+
# type](https://cloud.google.com/compute/docs/machine-types) of this
|
106
107
|
# instance.
|
107
108
|
# @!attribute [rw] accelerator_config
|
108
109
|
# @return [::Google::Cloud::Notebooks::V1::Instance::AcceleratorConfig]
|
109
110
|
# The hardware accelerator used on this instance. If you use
|
110
111
|
# accelerators, make sure that your configuration has
|
111
|
-
# [enough vCPUs and memory to support the `machine_type` you
|
112
|
-
#
|
112
|
+
# [enough vCPUs and memory to support the `machine_type` you have
|
113
|
+
# selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
|
113
114
|
# @!attribute [r] state
|
114
115
|
# @return [::Google::Cloud::Notebooks::V1::Instance::State]
|
115
116
|
# Output only. The state of this instance.
|
@@ -130,8 +131,8 @@ module Google
|
|
130
131
|
# @!attribute [rw] boot_disk_size_gb
|
131
132
|
# @return [::Integer]
|
132
133
|
# Input only. The size of the boot disk in GB attached to this instance, up to a maximum
|
133
|
-
# of 64000
|
134
|
-
#
|
134
|
+
# of 64000 GB (64 TB). The minimum recommended value is 100 GB. If not
|
135
|
+
# specified, this defaults to 100.
|
135
136
|
# @!attribute [rw] data_disk_type
|
136
137
|
# @return [::Google::Cloud::Notebooks::V1::Instance::DiskType]
|
137
138
|
# Input only. The type of the data disk attached to this instance, defaults to
|
@@ -139,9 +140,8 @@ module Google
|
|
139
140
|
# @!attribute [rw] data_disk_size_gb
|
140
141
|
# @return [::Integer]
|
141
142
|
# Input only. The size of the data disk in GB attached to this instance, up to a maximum
|
142
|
-
# of 64000
|
143
|
-
#
|
144
|
-
# defaults to 100.
|
143
|
+
# of 64000 GB (64 TB). You can choose the size of the data disk based on how
|
144
|
+
# big your notebooks and data are. If not specified, this defaults to 100.
|
145
145
|
# @!attribute [rw] no_remove_data_disk
|
146
146
|
# @return [::Boolean]
|
147
147
|
# Input only. If true, the data disk will not be auto deleted when deleting the instance.
|
@@ -222,9 +222,9 @@ module Google
|
|
222
222
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
223
223
|
|
224
224
|
# Definition of a hardware accelerator. Note that not all combinations
|
225
|
-
# of `type` and `core_count` are valid. Check [GPUs on
|
226
|
-
#
|
227
|
-
# combination. TPUs are not supported.
|
225
|
+
# of `type` and `core_count` are valid. Check [GPUs on Compute
|
226
|
+
# Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a
|
227
|
+
# valid combination. TPUs are not supported.
|
228
228
|
# @!attribute [rw] type
|
229
229
|
# @return [::Google::Cloud::Notebooks::V1::Instance::AcceleratorType]
|
230
230
|
# Type of this accelerator.
|
@@ -248,9 +248,9 @@ module Google
|
|
248
248
|
# @!attribute [rw] device_name
|
249
249
|
# @return [::String]
|
250
250
|
# Indicates a unique device name of your choice that is reflected into the
|
251
|
-
#
|
252
|
-
# the instance. This name can be used to reference the device for
|
253
|
-
# resizing, and so on, from within the instance.
|
251
|
+
# `/dev/disk/by-id/google-*` tree of a Linux operating system running
|
252
|
+
# within the instance. This name can be used to reference the device for
|
253
|
+
# mounting, resizing, and so on, from within the instance.
|
254
254
|
#
|
255
255
|
# If not specified, the server chooses a default device name to apply to
|
256
256
|
# this disk, in the form persistent-disk-x, where x is a number assigned by
|
@@ -278,8 +278,8 @@ module Google
|
|
278
278
|
# performance.
|
279
279
|
# Valid values:
|
280
280
|
#
|
281
|
-
# * NVME
|
282
|
-
# * SCSI
|
281
|
+
# * `NVME`
|
282
|
+
# * `SCSI`
|
283
283
|
# @!attribute [rw] kind
|
284
284
|
# @return [::String]
|
285
285
|
# Type of the resource. Always compute#attachedDisk for attached
|
@@ -291,23 +291,23 @@ module Google
|
|
291
291
|
# and marketplace images.
|
292
292
|
# @!attribute [rw] mode
|
293
293
|
# @return [::String]
|
294
|
-
# The mode in which to attach this disk, either READ_WRITE or
|
295
|
-
# not specified, the default is to attach the disk in
|
296
|
-
# Valid values:
|
294
|
+
# The mode in which to attach this disk, either `READ_WRITE` or
|
295
|
+
# `READ_ONLY`. If not specified, the default is to attach the disk in
|
296
|
+
# `READ_WRITE` mode. Valid values:
|
297
297
|
#
|
298
|
-
# * READ_ONLY
|
299
|
-
# * READ_WRITE
|
298
|
+
# * `READ_ONLY`
|
299
|
+
# * `READ_WRITE`
|
300
300
|
# @!attribute [rw] source
|
301
301
|
# @return [::String]
|
302
302
|
# Indicates a valid partial or full URL to an existing Persistent Disk
|
303
303
|
# resource.
|
304
304
|
# @!attribute [rw] type
|
305
305
|
# @return [::String]
|
306
|
-
# Indicates the type of the disk, either SCRATCH or PERSISTENT
|
306
|
+
# Indicates the type of the disk, either `SCRATCH` or `PERSISTENT`.
|
307
307
|
# Valid values:
|
308
308
|
#
|
309
|
-
# * PERSISTENT
|
310
|
-
# * SCRATCH
|
309
|
+
# * `PERSISTENT`
|
310
|
+
# * `SCRATCH`
|
311
311
|
class Disk
|
312
312
|
include ::Google::Protobuf::MessageExts
|
313
313
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -319,12 +319,12 @@ module Google
|
|
319
319
|
# features to see a list of available options.
|
320
320
|
# Valid values:
|
321
321
|
#
|
322
|
-
# * FEATURE_TYPE_UNSPECIFIED
|
323
|
-
# * MULTI_IP_SUBNET
|
324
|
-
# * SECURE_BOOT
|
325
|
-
# * UEFI_COMPATIBLE
|
326
|
-
# * VIRTIO_SCSI_MULTIQUEUE
|
327
|
-
# * WINDOWS
|
322
|
+
# * `FEATURE_TYPE_UNSPECIFIED`
|
323
|
+
# * `MULTI_IP_SUBNET`
|
324
|
+
# * `SECURE_BOOT`
|
325
|
+
# * `UEFI_COMPATIBLE`
|
326
|
+
# * `VIRTIO_SCSI_MULTIQUEUE`
|
327
|
+
# * `WINDOWS`
|
328
328
|
class GuestOsFeature
|
329
329
|
include ::Google::Protobuf::MessageExts
|
330
330
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -332,7 +332,8 @@ module Google
|
|
332
332
|
end
|
333
333
|
|
334
334
|
# A set of Shielded Instance options.
|
335
|
-
# Check [Images using supported Shielded VM
|
335
|
+
# Check [Images using supported Shielded VM
|
336
|
+
# features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
|
336
337
|
# Not all combinations are valid.
|
337
338
|
# @!attribute [rw] enable_secure_boot
|
338
339
|
# @return [::Boolean]
|
@@ -381,7 +382,7 @@ module Google
|
|
381
382
|
# The time that this instance upgrade history entry is created.
|
382
383
|
# @!attribute [rw] target_image
|
383
384
|
# @return [::String]
|
384
|
-
# Target VM Image. Format: ainotebooks-vm/project/image-name/name
|
385
|
+
# Target VM Image. Format: `ainotebooks-vm/project/image-name/name`.
|
385
386
|
# @!attribute [rw] action
|
386
387
|
# @return [::Google::Cloud::Notebooks::V1::Instance::UpgradeHistoryEntry::Action]
|
387
388
|
# Action. Rolloback or Upgrade.
|
@@ -49,7 +49,7 @@ module Google
|
|
49
49
|
# @!attribute [rw] unreachable
|
50
50
|
# @return [::Array<::String>]
|
51
51
|
# Locations that could not be reached. For example,
|
52
|
-
# ['us-west1', 'us-central1']
|
52
|
+
# `['us-west1', 'us-central1']`.
|
53
53
|
# A ListRuntimesResponse will only contain either runtimes or unreachables,
|
54
54
|
class ListRuntimesResponse
|
55
55
|
include ::Google::Protobuf::MessageExts
|
@@ -211,12 +211,12 @@ module Google
|
|
211
211
|
#
|
212
212
|
#
|
213
213
|
# Currently, only the following fields can be updated:
|
214
|
-
# - software_config.kernels
|
215
|
-
# - software_config.post_startup_script
|
216
|
-
# - software_config.custom_gpu_driver_path
|
217
|
-
# - software_config.idle_shutdown
|
218
|
-
# - software_config.idle_shutdown_timeout
|
219
|
-
# - software_config.disable_terminal
|
214
|
+
# - `software_config.kernels`
|
215
|
+
# - `software_config.post_startup_script`
|
216
|
+
# - `software_config.custom_gpu_driver_path`
|
217
|
+
# - `software_config.idle_shutdown`
|
218
|
+
# - `software_config.idle_shutdown_timeout`
|
219
|
+
# - `software_config.disable_terminal`
|
220
220
|
# @!attribute [rw] request_id
|
221
221
|
# @return [::String]
|
222
222
|
# Idempotent request UUID.
|
@@ -200,7 +200,7 @@ module Google
|
|
200
200
|
# @return [::String]
|
201
201
|
# Optional. Output only. Specifies a unique device name
|
202
202
|
# of your choice that is reflected into the
|
203
|
-
#
|
203
|
+
# `/dev/disk/by-id/google-*` tree of a Linux operating system running within
|
204
204
|
# the instance. This name can be used to reference the device for mounting,
|
205
205
|
# resizing, and so on, from within the instance.
|
206
206
|
#
|
@@ -234,8 +234,8 @@ module Google
|
|
234
234
|
# performance characteristics of SCSI over NVMe, see Local SSD performance.
|
235
235
|
# Valid values:
|
236
236
|
#
|
237
|
-
# * NVME
|
238
|
-
# * SCSI
|
237
|
+
# * `NVME`
|
238
|
+
# * `SCSI`
|
239
239
|
# @!attribute [r] kind
|
240
240
|
# @return [::String]
|
241
241
|
# Output only. Type of the resource. Always compute#attachedDisk for attached disks.
|
@@ -244,24 +244,24 @@ module Google
|
|
244
244
|
# Output only. Any valid publicly visible licenses.
|
245
245
|
# @!attribute [rw] mode
|
246
246
|
# @return [::String]
|
247
|
-
# The mode in which to attach this disk, either READ_WRITE or READ_ONLY
|
248
|
-
# not specified, the default is to attach the disk in READ_WRITE mode.
|
247
|
+
# The mode in which to attach this disk, either `READ_WRITE` or `READ_ONLY`.
|
248
|
+
# If not specified, the default is to attach the disk in `READ_WRITE` mode.
|
249
249
|
# Valid values:
|
250
250
|
#
|
251
|
-
# * READ_ONLY
|
252
|
-
# * READ_WRITE
|
251
|
+
# * `READ_ONLY`
|
252
|
+
# * `READ_WRITE`
|
253
253
|
# @!attribute [rw] source
|
254
254
|
# @return [::String]
|
255
255
|
# Specifies a valid partial or full URL to an existing Persistent Disk
|
256
256
|
# resource.
|
257
257
|
# @!attribute [rw] type
|
258
258
|
# @return [::String]
|
259
|
-
# Specifies the type of the disk, either SCRATCH or PERSISTENT
|
260
|
-
# specified, the default is PERSISTENT
|
259
|
+
# Specifies the type of the disk, either `SCRATCH` or `PERSISTENT`. If not
|
260
|
+
# specified, the default is `PERSISTENT`.
|
261
261
|
# Valid values:
|
262
262
|
#
|
263
|
-
# * PERSISTENT
|
264
|
-
# * SCRATCH
|
263
|
+
# * `PERSISTENT`
|
264
|
+
# * `SCRATCH`
|
265
265
|
class LocalDisk
|
266
266
|
include ::Google::Protobuf::MessageExts
|
267
267
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -280,12 +280,12 @@ module Google
|
|
280
280
|
#
|
281
281
|
# Valid values:
|
282
282
|
#
|
283
|
-
# * FEATURE_TYPE_UNSPECIFIED
|
284
|
-
# * MULTI_IP_SUBNET
|
285
|
-
# * SECURE_BOOT
|
286
|
-
# * UEFI_COMPATIBLE
|
287
|
-
# * VIRTIO_SCSI_MULTIQUEUE
|
288
|
-
# * WINDOWS
|
283
|
+
# * `FEATURE_TYPE_UNSPECIFIED`
|
284
|
+
# * `MULTI_IP_SUBNET`
|
285
|
+
# * `SECURE_BOOT`
|
286
|
+
# * `UEFI_COMPATIBLE`
|
287
|
+
# * `VIRTIO_SCSI_MULTIQUEUE`
|
288
|
+
# * `WINDOWS`
|
289
289
|
class RuntimeGuestOsFeature
|
290
290
|
include ::Google::Protobuf::MessageExts
|
291
291
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -610,14 +610,15 @@ module Google
|
|
610
610
|
# The subnetwork allocation will use the range *name* if it's assigned.
|
611
611
|
#
|
612
612
|
# Example: managed-notebooks-range-c
|
613
|
-
#
|
614
|
-
#
|
615
|
-
#
|
616
|
-
#
|
617
|
-
#
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
613
|
+
#
|
614
|
+
# PEERING_RANGE_NAME_3=managed-notebooks-range-c
|
615
|
+
# gcloud compute addresses create $PEERING_RANGE_NAME_3 \
|
616
|
+
# --global \
|
617
|
+
# --prefix-length=24 \
|
618
|
+
# --description="Google Cloud Managed Notebooks Range 24 c" \
|
619
|
+
# --network=$NETWORK \
|
620
|
+
# --addresses=192.168.0.0 \
|
621
|
+
# --purpose=VPC_PEERING
|
621
622
|
#
|
622
623
|
# Field value will be: `managed-notebooks-range-c`
|
623
624
|
# @!attribute [rw] boot_image
|
@@ -29,8 +29,8 @@ module Google
|
|
29
29
|
# @!attribute [r] display_name
|
30
30
|
# @return [::String]
|
31
31
|
# Output only. Display name used for UI purposes.
|
32
|
-
# Name can only contain alphanumeric characters, hyphens
|
33
|
-
# and underscores
|
32
|
+
# Name can only contain alphanumeric characters, hyphens `-`,
|
33
|
+
# and underscores `_`.
|
34
34
|
# @!attribute [rw] description
|
35
35
|
# @return [::String]
|
36
36
|
# A brief description of this environment.
|
@@ -40,7 +40,7 @@ module Google
|
|
40
40
|
# @return [::String]
|
41
41
|
# Cron-tab formatted schedule by which the job will execute.
|
42
42
|
# Format: minute, hour, day of month, month, day of week,
|
43
|
-
# e.g. 0 0 * * WED = every Wednesday
|
43
|
+
# e.g. `0 0 * * WED` = every Wednesday
|
44
44
|
# More examples: https://crontab.guru/examples.html
|
45
45
|
# @!attribute [rw] time_zone
|
46
46
|
# @return [::String]
|
@@ -82,7 +82,7 @@ module Google
|
|
82
82
|
# @!attribute [rw] unreachable
|
83
83
|
# @return [::Array<::String>]
|
84
84
|
# Locations that could not be reached. For example,
|
85
|
-
# ['us-west1-a', 'us-central1-b']
|
85
|
+
# `['us-west1-a', 'us-central1-b']`.
|
86
86
|
# A ListInstancesResponse will only contain either instances or unreachables,
|
87
87
|
class ListInstancesResponse
|
88
88
|
include ::Google::Protobuf::MessageExts
|
@@ -374,13 +374,13 @@ module Google
|
|
374
374
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
375
375
|
# Output only. Additional information about instance health.
|
376
376
|
# Example:
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
377
|
+
# healthInfo": {
|
378
|
+
# "docker_proxy_agent_status": "1",
|
379
|
+
# "docker_status": "1",
|
380
|
+
# "jupyterlab_api_status": "-1",
|
381
|
+
# "jupyterlab_status": "-1",
|
382
|
+
# "updated": "2020-10-18 09:40:03.573409"
|
383
|
+
# }
|
384
384
|
class GetInstanceHealthResponse
|
385
385
|
include ::Google::Protobuf::MessageExts
|
386
386
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -441,7 +441,7 @@ module Google
|
|
441
441
|
# @!attribute [rw] target_snapshot
|
442
442
|
# @return [::String]
|
443
443
|
# Required. The snapshot for rollback.
|
444
|
-
# Example:
|
444
|
+
# Example: `projects/test-project/global/snapshots/krwlzipynril`.
|
445
445
|
class RollbackInstanceRequest
|
446
446
|
include ::Google::Protobuf::MessageExts
|
447
447
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -651,7 +651,7 @@ module Google
|
|
651
651
|
# @!attribute [rw] filter
|
652
652
|
# @return [::String]
|
653
653
|
# Filter applied to resulting executions. Currently only supports filtering
|
654
|
-
# executions by a specified schedule_id
|
654
|
+
# executions by a specified `schedule_id`.
|
655
655
|
# Format: `schedule_id=<Schedule_ID>`
|
656
656
|
# @!attribute [rw] order_by
|
657
657
|
# @return [::String]
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|