google-cloud-notebooks-v1beta1 0.3.0 → 0.4.3
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 +4 -4
- data/AUTHENTICATION.md +8 -8
- data/LICENSE.md +188 -190
- data/README.md +3 -3
- data/lib/google/cloud/notebooks/v1beta1/notebook_service/client.rb +117 -89
- data/lib/google/cloud/notebooks/v1beta1/notebook_service/operations.rb +39 -30
- data/lib/google/cloud/notebooks/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/notebooks/v1beta1/instance.rb +25 -20
- data/proto_docs/google/cloud/notebooks/v1beta1/service.rb +10 -9
- metadata +16 -10
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -39,10 +39,12 @@ module Google
|
|
39
39
|
# Cloud Storage path (`gs://path-to-file/file-name`).
|
40
40
|
# @!attribute [r] proxy_uri
|
41
41
|
# @return [::String]
|
42
|
-
# Output only. The proxy endpoint that is used to access the Jupyter
|
42
|
+
# Output only. The proxy endpoint that is used to access the Jupyter
|
43
|
+
# notebook.
|
43
44
|
# @!attribute [rw] instance_owners
|
44
45
|
# @return [::Array<::String>]
|
45
|
-
# Input only. The owner of this instance after creation. Format:
|
46
|
+
# Input only. The owner of this instance after creation. Format:
|
47
|
+
# `alias@example.com`
|
46
48
|
#
|
47
49
|
# Currently supports one owner only. If not specified, all of the service
|
48
50
|
# account users of your VM instance's service account can use
|
@@ -59,7 +61,8 @@ module Google
|
|
59
61
|
# is used.
|
60
62
|
# @!attribute [rw] machine_type
|
61
63
|
# @return [::String]
|
62
|
-
# Required. The [Compute Engine machine
|
64
|
+
# Required. The [Compute Engine machine
|
65
|
+
# type](https://cloud.google.com/compute/docs/machine-types) of this
|
63
66
|
# instance.
|
64
67
|
# @!attribute [rw] accelerator_config
|
65
68
|
# @return [::Google::Cloud::Notebooks::V1beta1::Instance::AcceleratorConfig]
|
@@ -82,37 +85,39 @@ module Google
|
|
82
85
|
# If not specified, we'll automatically choose from official GPU drivers.
|
83
86
|
# @!attribute [rw] boot_disk_type
|
84
87
|
# @return [::Google::Cloud::Notebooks::V1beta1::Instance::DiskType]
|
85
|
-
# Input only. The type of the boot disk attached to this instance, defaults
|
86
|
-
# standard persistent disk (`PD_STANDARD`).
|
88
|
+
# Input only. The type of the boot disk attached to this instance, defaults
|
89
|
+
# to standard persistent disk (`PD_STANDARD`).
|
87
90
|
# @!attribute [rw] boot_disk_size_gb
|
88
91
|
# @return [::Integer]
|
89
|
-
# Input only. The size of the boot disk in GB attached to this instance, up
|
90
|
-
# of 64000 GB (64 TB). The minimum recommended value
|
91
|
-
# 100 GB. If not specified, this defaults to 100.
|
92
|
+
# Input only. The size of the boot disk in GB attached to this instance, up
|
93
|
+
# to a maximum of 64000 GB (64 TB). The minimum recommended value
|
94
|
+
# is 100 GB. If not specified, this defaults to 100.
|
92
95
|
# @!attribute [rw] data_disk_type
|
93
96
|
# @return [::Google::Cloud::Notebooks::V1beta1::Instance::DiskType]
|
94
|
-
# Input only. The type of the data disk attached to this instance, defaults
|
95
|
-
# standard persistent disk (`PD_STANDARD`).
|
97
|
+
# Input only. The type of the data disk attached to this instance, defaults
|
98
|
+
# to standard persistent disk (`PD_STANDARD`).
|
96
99
|
# @!attribute [rw] data_disk_size_gb
|
97
100
|
# @return [::Integer]
|
98
|
-
# Input only. The size of the data disk in GB attached to this instance, up
|
99
|
-
# of 64000 GB (64 TB). You can choose the size of the
|
100
|
-
# based on how big your notebooks and data are. If not specified,
|
101
|
-
# defaults to 100.
|
101
|
+
# Input only. The size of the data disk in GB attached to this instance, up
|
102
|
+
# to a maximum of 64000 GB (64 TB). You can choose the size of the
|
103
|
+
# data disk based on how big your notebooks and data are. If not specified,
|
104
|
+
# this defaults to 100.
|
102
105
|
# @!attribute [rw] no_remove_data_disk
|
103
106
|
# @return [::Boolean]
|
104
|
-
# Input only. If true, the data disk will not be auto deleted when deleting
|
107
|
+
# Input only. If true, the data disk will not be auto deleted when deleting
|
108
|
+
# the instance.
|
105
109
|
# @!attribute [rw] disk_encryption
|
106
110
|
# @return [::Google::Cloud::Notebooks::V1beta1::Instance::DiskEncryption]
|
107
|
-
# Input only. Disk encryption method used on the boot and data disks,
|
111
|
+
# Input only. Disk encryption method used on the boot and data disks,
|
112
|
+
# defaults to GMEK.
|
108
113
|
# @!attribute [rw] kms_key
|
109
114
|
# @return [::String]
|
110
|
-
# Input only. The KMS key used to encrypt the disks, only applicable if
|
111
|
-
# is CMEK.
|
112
|
-
# Format:
|
115
|
+
# Input only. The KMS key used to encrypt the disks, only applicable if
|
116
|
+
# disk_encryption is CMEK. Format:
|
113
117
|
# `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
|
114
118
|
#
|
115
|
-
# Learn more about [using your own encryption keys](
|
119
|
+
# Learn more about [using your own encryption keys](
|
120
|
+
# https://cloud.google.com/kms/docs/quickstart).
|
116
121
|
# @!attribute [rw] no_public_ip
|
117
122
|
# @return [::Boolean]
|
118
123
|
# If true, no public IP will be assigned to this instance.
|
@@ -42,7 +42,8 @@ module Google
|
|
42
42
|
# Identifies whether the user has requested cancellation
|
43
43
|
# of the operation. Operations that have successfully been cancelled
|
44
44
|
# have [Operation.error][] value with a
|
45
|
-
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
45
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
46
|
+
# `Code.CANCELLED`.
|
46
47
|
# @!attribute [rw] api_version
|
47
48
|
# @return [::String]
|
48
49
|
# API version used to start the operation.
|
@@ -141,10 +142,10 @@ module Google
|
|
141
142
|
# Required. Type of this accelerator.
|
142
143
|
# @!attribute [rw] core_count
|
143
144
|
# @return [::Integer]
|
144
|
-
# Required. Count of cores of this accelerator. Note that not all
|
145
|
-
# of `type` and `core_count` are valid. Check [GPUs on
|
146
|
-
#
|
147
|
-
#
|
145
|
+
# Required. Count of cores of this accelerator. Note that not all
|
146
|
+
# combinations of `type` and `core_count` are valid. Check [GPUs on Compute
|
147
|
+
# Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a
|
148
|
+
# valid combination. TPUs are not supported.
|
148
149
|
class SetInstanceAcceleratorRequest
|
149
150
|
include ::Google::Protobuf::MessageExts
|
150
151
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -352,10 +353,10 @@ module Google
|
|
352
353
|
# Required. Format: `projects/{project_id}/locations/{location}`
|
353
354
|
# @!attribute [rw] environment_id
|
354
355
|
# @return [::String]
|
355
|
-
# Required. User-defined unique ID of this environment. The `environment_id`
|
356
|
-
# be 1 to 63 characters long and contain only lowercase letters,
|
357
|
-
#
|
358
|
-
#
|
356
|
+
# Required. User-defined unique ID of this environment. The `environment_id`
|
357
|
+
# must be 1 to 63 characters long and contain only lowercase letters, numeric
|
358
|
+
# characters, and dashes. The first character must be a lowercase letter and
|
359
|
+
# the last character cannot be a dash.
|
359
360
|
# @!attribute [rw] environment
|
360
361
|
# @return [::Google::Cloud::Notebooks::V1beta1::Environment]
|
361
362
|
# Required. The environment to be created.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-notebooks-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3
|
4
|
+
version: 0.4.3
|
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-
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.7'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.7'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +50,14 @@ dependencies:
|
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
53
|
+
version: 1.25.1
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
60
|
+
version: 1.25.1
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: minitest
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,14 +207,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
201
207
|
requirements:
|
202
208
|
- - ">="
|
203
209
|
- !ruby/object:Gem::Version
|
204
|
-
version: '2.
|
210
|
+
version: '2.5'
|
205
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
212
|
requirements:
|
207
213
|
- - ">="
|
208
214
|
- !ruby/object:Gem::Version
|
209
215
|
version: '0'
|
210
216
|
requirements: []
|
211
|
-
rubygems_version: 3.2.
|
217
|
+
rubygems_version: 3.2.17
|
212
218
|
signing_key:
|
213
219
|
specification_version: 4
|
214
220
|
summary: API Client library for the AI Platform Notebooks V1beta1 API
|