google-cloud-notebooks-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +151 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +139 -0
  6. data/lib/google/cloud/notebooks/v1/environment_pb.rb +46 -0
  7. data/lib/google/cloud/notebooks/v1/event_pb.rb +29 -0
  8. data/lib/google/cloud/notebooks/v1/execution_pb.rb +99 -0
  9. data/lib/google/cloud/notebooks/v1/instance_config_pb.rb +23 -0
  10. data/lib/google/cloud/notebooks/v1/instance_pb.rb +177 -0
  11. data/lib/google/cloud/notebooks/v1/managed_notebook_service/client.rb +1256 -0
  12. data/lib/google/cloud/notebooks/v1/managed_notebook_service/credentials.rb +51 -0
  13. data/lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb +767 -0
  14. data/lib/google/cloud/notebooks/v1/managed_notebook_service/paths.rb +52 -0
  15. data/lib/google/cloud/notebooks/v1/managed_notebook_service.rb +50 -0
  16. data/lib/google/cloud/notebooks/v1/managed_service_pb.rb +75 -0
  17. data/lib/google/cloud/notebooks/v1/managed_service_services_pb.rb +70 -0
  18. data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +3643 -0
  19. data/lib/google/cloud/notebooks/v1/notebook_service/credentials.rb +51 -0
  20. data/lib/google/cloud/notebooks/v1/notebook_service/operations.rb +767 -0
  21. data/lib/google/cloud/notebooks/v1/notebook_service/paths.rb +105 -0
  22. data/lib/google/cloud/notebooks/v1/notebook_service.rb +50 -0
  23. data/lib/google/cloud/notebooks/v1/runtime_pb.rb +173 -0
  24. data/lib/google/cloud/notebooks/v1/schedule_pb.rb +45 -0
  25. data/lib/google/cloud/notebooks/v1/service_pb.rb +243 -0
  26. data/lib/google/cloud/notebooks/v1/service_services_pb.rb +114 -0
  27. data/lib/google/cloud/notebooks/v1/version.rb +28 -0
  28. data/lib/google/cloud/notebooks/v1.rb +41 -0
  29. data/lib/google-cloud-notebooks-v1.rb +21 -0
  30. data/proto_docs/README.md +4 -0
  31. data/proto_docs/google/api/field_behavior.rb +71 -0
  32. data/proto_docs/google/api/resource.rb +222 -0
  33. data/proto_docs/google/cloud/notebooks/v1/environment.rb +91 -0
  34. data/proto_docs/google/cloud/notebooks/v1/event.rb +47 -0
  35. data/proto_docs/google/cloud/notebooks/v1/execution.rb +330 -0
  36. data/proto_docs/google/cloud/notebooks/v1/instance.rb +551 -0
  37. data/proto_docs/google/cloud/notebooks/v1/instance_config.rb +39 -0
  38. data/proto_docs/google/cloud/notebooks/v1/managed_service.rb +160 -0
  39. data/proto_docs/google/cloud/notebooks/v1/runtime.rb +607 -0
  40. data/proto_docs/google/cloud/notebooks/v1/schedule.rb +104 -0
  41. data/proto_docs/google/cloud/notebooks/v1/service.rb +656 -0
  42. data/proto_docs/google/longrunning/operations.rb +164 -0
  43. data/proto_docs/google/protobuf/any.rb +141 -0
  44. data/proto_docs/google/protobuf/duration.rb +98 -0
  45. data/proto_docs/google/protobuf/empty.rb +36 -0
  46. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  47. data/proto_docs/google/rpc/status.rb +46 -0
  48. metadata +239 -0
@@ -0,0 +1,160 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+
20
+ module Google
21
+ module Cloud
22
+ module Notebooks
23
+ module V1
24
+ # Request for listing Managed Notebook Runtimes.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. Format:
28
+ # `parent=projects/{project_id}/locations/{location}`
29
+ # @!attribute [rw] page_size
30
+ # @return [::Integer]
31
+ # Maximum return size of the list call.
32
+ # @!attribute [rw] page_token
33
+ # @return [::String]
34
+ # A previous returned page token that can be used to continue listing
35
+ # from the last result.
36
+ class ListRuntimesRequest
37
+ include ::Google::Protobuf::MessageExts
38
+ extend ::Google::Protobuf::MessageExts::ClassMethods
39
+ end
40
+
41
+ # Response for listing Managed Notebook Runtimes.
42
+ # @!attribute [rw] runtimes
43
+ # @return [::Array<::Google::Cloud::Notebooks::V1::Runtime>]
44
+ # A list of returned Runtimes.
45
+ # @!attribute [rw] next_page_token
46
+ # @return [::String]
47
+ # Page token that can be used to continue listing from the last result in the
48
+ # next list call.
49
+ # @!attribute [rw] unreachable
50
+ # @return [::Array<::String>]
51
+ # Locations that could not be reached. For example,
52
+ # ['us-west1', 'us-central1'].
53
+ # A ListRuntimesResponse will only contain either runtimes or unreachables,
54
+ class ListRuntimesResponse
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
+ end
58
+
59
+ # Request for getting a Managed Notebook Runtime.
60
+ # @!attribute [rw] name
61
+ # @return [::String]
62
+ # Required. Format:
63
+ # `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
64
+ class GetRuntimeRequest
65
+ include ::Google::Protobuf::MessageExts
66
+ extend ::Google::Protobuf::MessageExts::ClassMethods
67
+ end
68
+
69
+ # Request for creating a Managed Notebook Runtime.
70
+ # @!attribute [rw] parent
71
+ # @return [::String]
72
+ # Required. Format:
73
+ # `parent=projects/{project_id}/locations/{location}`
74
+ # @!attribute [rw] runtime_id
75
+ # @return [::String]
76
+ # Required. User-defined unique ID of this Runtime.
77
+ # @!attribute [rw] runtime
78
+ # @return [::Google::Cloud::Notebooks::V1::Runtime]
79
+ # Required. The Runtime to be created.
80
+ class CreateRuntimeRequest
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+
85
+ # Request for deleting a Managed Notebook Runtime.
86
+ # @!attribute [rw] name
87
+ # @return [::String]
88
+ # Required. Format:
89
+ # `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
90
+ class DeleteRuntimeRequest
91
+ include ::Google::Protobuf::MessageExts
92
+ extend ::Google::Protobuf::MessageExts::ClassMethods
93
+ end
94
+
95
+ # Request for starting a Managed Notebook Runtime.
96
+ # @!attribute [rw] name
97
+ # @return [::String]
98
+ # Required. Format:
99
+ # `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
100
+ class StartRuntimeRequest
101
+ include ::Google::Protobuf::MessageExts
102
+ extend ::Google::Protobuf::MessageExts::ClassMethods
103
+ end
104
+
105
+ # Request for stopping a Managed Notebook Runtime.
106
+ # @!attribute [rw] name
107
+ # @return [::String]
108
+ # Required. Format:
109
+ # `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
110
+ class StopRuntimeRequest
111
+ include ::Google::Protobuf::MessageExts
112
+ extend ::Google::Protobuf::MessageExts::ClassMethods
113
+ end
114
+
115
+ # Request for switching a Managed Notebook Runtime.
116
+ # @!attribute [rw] name
117
+ # @return [::String]
118
+ # Required. Format:
119
+ # `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
120
+ # @!attribute [rw] machine_type
121
+ # @return [::String]
122
+ # machine type.
123
+ # @!attribute [rw] accelerator_config
124
+ # @return [::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig]
125
+ # accelerator config.
126
+ class SwitchRuntimeRequest
127
+ include ::Google::Protobuf::MessageExts
128
+ extend ::Google::Protobuf::MessageExts::ClassMethods
129
+ end
130
+
131
+ # Request for reseting a Managed Notebook Runtime.
132
+ # @!attribute [rw] name
133
+ # @return [::String]
134
+ # Required. Format:
135
+ # `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
136
+ class ResetRuntimeRequest
137
+ include ::Google::Protobuf::MessageExts
138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
139
+ end
140
+
141
+ # Request for reporting a Managed Notebook Event.
142
+ # @!attribute [rw] name
143
+ # @return [::String]
144
+ # Required. Format:
145
+ # `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
146
+ # @!attribute [rw] vm_id
147
+ # @return [::String]
148
+ # Required. The VM hardware token for authenticating the VM.
149
+ # https://cloud.google.com/compute/docs/instances/verifying-instance-identity
150
+ # @!attribute [rw] event
151
+ # @return [::Google::Cloud::Notebooks::V1::Event]
152
+ # Required. The Event to be reported.
153
+ class ReportRuntimeEventRequest
154
+ include ::Google::Protobuf::MessageExts
155
+ extend ::Google::Protobuf::MessageExts::ClassMethods
156
+ end
157
+ end
158
+ end
159
+ end
160
+ end