google-cloud-dataproc-v1 0.23.1 → 0.24.1
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/lib/google/cloud/dataproc/v1/autoscaling_policies_pb.rb +2 -2
- data/lib/google/cloud/dataproc/v1/batches_pb.rb +2 -2
- data/lib/google/cloud/dataproc/v1/clusters_pb.rb +2 -2
- data/lib/google/cloud/dataproc/v1/jobs_pb.rb +2 -2
- data/lib/google/cloud/dataproc/v1/node_groups_pb.rb +2 -2
- data/lib/google/cloud/dataproc/v1/operations_pb.rb +4 -2
- data/lib/google/cloud/dataproc/v1/rest.rb +2 -0
- data/lib/google/cloud/dataproc/v1/session_controller/client.rb +912 -0
- data/lib/google/cloud/dataproc/v1/session_controller/credentials.rb +51 -0
- data/lib/google/cloud/dataproc/v1/session_controller/operations.rb +801 -0
- data/lib/google/cloud/dataproc/v1/session_controller/paths.rb +107 -0
- data/lib/google/cloud/dataproc/v1/session_controller/rest/client.rb +859 -0
- data/lib/google/cloud/dataproc/v1/session_controller/rest/operations.rb +922 -0
- data/lib/google/cloud/dataproc/v1/session_controller/rest/service_stub.rb +366 -0
- data/lib/google/cloud/dataproc/v1/session_controller/rest.rb +54 -0
- data/lib/google/cloud/dataproc/v1/session_controller.rb +56 -0
- data/lib/google/cloud/dataproc/v1/session_template_controller/client.rb +822 -0
- data/lib/google/cloud/dataproc/v1/session_template_controller/credentials.rb +51 -0
- data/lib/google/cloud/dataproc/v1/session_template_controller/paths.rb +88 -0
- data/lib/google/cloud/dataproc/v1/session_template_controller/rest/client.rb +769 -0
- data/lib/google/cloud/dataproc/v1/session_template_controller/rest/service_stub.rb +366 -0
- data/lib/google/cloud/dataproc/v1/session_template_controller/rest.rb +53 -0
- data/lib/google/cloud/dataproc/v1/session_template_controller.rb +55 -0
- data/lib/google/cloud/dataproc/v1/session_templates_pb.rb +60 -0
- data/lib/google/cloud/dataproc/v1/session_templates_services_pb.rb +53 -0
- data/lib/google/cloud/dataproc/v1/sessions_pb.rb +62 -0
- data/lib/google/cloud/dataproc/v1/sessions_services_pb.rb +54 -0
- data/lib/google/cloud/dataproc/v1/shared_pb.rb +4 -2
- data/lib/google/cloud/dataproc/v1/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1/workflow_templates_pb.rb +2 -2
- data/lib/google/cloud/dataproc/v1.rb +2 -0
- data/proto_docs/google/cloud/dataproc/v1/operations.rb +54 -0
- data/proto_docs/google/cloud/dataproc/v1/session_templates.rb +153 -0
- data/proto_docs/google/cloud/dataproc/v1/sessions.rb +295 -0
- data/proto_docs/google/cloud/dataproc/v1/shared.rb +86 -17
- data/proto_docs/google/protobuf/any.rb +2 -1
- metadata +24 -2
@@ -0,0 +1,295 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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 Dataproc
|
23
|
+
module V1
|
24
|
+
# A request to create a session.
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The parent resource where this session will be created.
|
28
|
+
# @!attribute [rw] session
|
29
|
+
# @return [::Google::Cloud::Dataproc::V1::Session]
|
30
|
+
# Required. The interactive session to create.
|
31
|
+
# @!attribute [rw] session_id
|
32
|
+
# @return [::String]
|
33
|
+
# Required. The ID to use for the session, which becomes the final component
|
34
|
+
# of the session's resource name.
|
35
|
+
#
|
36
|
+
# This value must be 4-63 characters. Valid characters
|
37
|
+
# are /[a-z][0-9]-/.
|
38
|
+
# @!attribute [rw] request_id
|
39
|
+
# @return [::String]
|
40
|
+
# Optional. A unique ID used to identify the request. If the service
|
41
|
+
# receives two
|
42
|
+
# [CreateSessionRequests](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateSessionRequest)s
|
43
|
+
# with the same ID, the second request is ignored, and the
|
44
|
+
# first {::Google::Cloud::Dataproc::V1::Session Session} is created and stored in
|
45
|
+
# the backend.
|
46
|
+
#
|
47
|
+
# Recommendation: Set this value to a
|
48
|
+
# [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
|
49
|
+
#
|
50
|
+
# The value must contain only letters (a-z, A-Z), numbers (0-9),
|
51
|
+
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
52
|
+
class CreateSessionRequest
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
end
|
56
|
+
|
57
|
+
# A request to get the resource representation for a session.
|
58
|
+
# @!attribute [rw] name
|
59
|
+
# @return [::String]
|
60
|
+
# Required. The name of the session to retrieve.
|
61
|
+
class GetSessionRequest
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
end
|
65
|
+
|
66
|
+
# A request to list sessions in a project.
|
67
|
+
# @!attribute [rw] parent
|
68
|
+
# @return [::String]
|
69
|
+
# Required. The parent, which owns this collection of sessions.
|
70
|
+
# @!attribute [rw] page_size
|
71
|
+
# @return [::Integer]
|
72
|
+
# Optional. The maximum number of sessions to return in each response.
|
73
|
+
# The service may return fewer than this value.
|
74
|
+
# @!attribute [rw] page_token
|
75
|
+
# @return [::String]
|
76
|
+
# Optional. A page token received from a previous `ListSessions` call.
|
77
|
+
# Provide this token to retrieve the subsequent page.
|
78
|
+
# @!attribute [rw] filter
|
79
|
+
# @return [::String]
|
80
|
+
# Optional. A filter for the sessions to return in the response.
|
81
|
+
#
|
82
|
+
# A filter is a logical expression constraining the values of various fields
|
83
|
+
# in each session resource. Filters are case sensitive, and may contain
|
84
|
+
# multiple clauses combined with logical operators (AND, OR).
|
85
|
+
# Supported fields are `session_id`, `session_uuid`, `state`, and
|
86
|
+
# `create_time`.
|
87
|
+
#
|
88
|
+
# Example: `state = ACTIVE and create_time < "2023-01-01T00:00:00Z"`
|
89
|
+
# is a filter for sessions in an ACTIVE state that were created before
|
90
|
+
# 2023-01-01.
|
91
|
+
#
|
92
|
+
# See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed
|
93
|
+
# description of the filter syntax and a list of supported comparators.
|
94
|
+
class ListSessionsRequest
|
95
|
+
include ::Google::Protobuf::MessageExts
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
end
|
98
|
+
|
99
|
+
# A list of interactive sessions.
|
100
|
+
# @!attribute [r] sessions
|
101
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1::Session>]
|
102
|
+
# Output only. The sessions from the specified collection.
|
103
|
+
# @!attribute [rw] next_page_token
|
104
|
+
# @return [::String]
|
105
|
+
# A token, which can be sent as `page_token`, to retrieve the next page.
|
106
|
+
# If this field is omitted, there are no subsequent pages.
|
107
|
+
class ListSessionsResponse
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
end
|
111
|
+
|
112
|
+
# A request to terminate an interactive session.
|
113
|
+
# @!attribute [rw] name
|
114
|
+
# @return [::String]
|
115
|
+
# Required. The name of the session resource to terminate.
|
116
|
+
# @!attribute [rw] request_id
|
117
|
+
# @return [::String]
|
118
|
+
# Optional. A unique ID used to identify the request. If the service
|
119
|
+
# receives two
|
120
|
+
# [TerminateSessionRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.TerminateSessionRequest)s
|
121
|
+
# with the same ID, the second request is ignored.
|
122
|
+
#
|
123
|
+
# Recommendation: Set this value to a
|
124
|
+
# [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
|
125
|
+
#
|
126
|
+
# The value must contain only letters (a-z, A-Z), numbers (0-9),
|
127
|
+
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
128
|
+
class TerminateSessionRequest
|
129
|
+
include ::Google::Protobuf::MessageExts
|
130
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
131
|
+
end
|
132
|
+
|
133
|
+
# A request to delete a session.
|
134
|
+
# @!attribute [rw] name
|
135
|
+
# @return [::String]
|
136
|
+
# Required. The name of the session resource to delete.
|
137
|
+
# @!attribute [rw] request_id
|
138
|
+
# @return [::String]
|
139
|
+
# Optional. A unique ID used to identify the request. If the service
|
140
|
+
# receives two
|
141
|
+
# [DeleteSessionRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteSessionRequest)s
|
142
|
+
# with the same ID, the second request is ignored.
|
143
|
+
#
|
144
|
+
# Recommendation: Set this value to a
|
145
|
+
# [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).
|
146
|
+
#
|
147
|
+
# The value must contain only letters (a-z, A-Z), numbers (0-9),
|
148
|
+
# underscores (_), and hyphens (-). The maximum length is 40 characters.
|
149
|
+
class DeleteSessionRequest
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
end
|
153
|
+
|
154
|
+
# A representation of a session.
|
155
|
+
# @!attribute [rw] name
|
156
|
+
# @return [::String]
|
157
|
+
# Required. The resource name of the session.
|
158
|
+
# @!attribute [r] uuid
|
159
|
+
# @return [::String]
|
160
|
+
# Output only. A session UUID (Unique Universal Identifier). The service
|
161
|
+
# generates this value when it creates the session.
|
162
|
+
# @!attribute [r] create_time
|
163
|
+
# @return [::Google::Protobuf::Timestamp]
|
164
|
+
# Output only. The time when the session was created.
|
165
|
+
# @!attribute [rw] jupyter_session
|
166
|
+
# @return [::Google::Cloud::Dataproc::V1::JupyterConfig]
|
167
|
+
# Optional. Jupyter session config.
|
168
|
+
# @!attribute [r] runtime_info
|
169
|
+
# @return [::Google::Cloud::Dataproc::V1::RuntimeInfo]
|
170
|
+
# Output only. Runtime information about session execution.
|
171
|
+
# @!attribute [r] state
|
172
|
+
# @return [::Google::Cloud::Dataproc::V1::Session::State]
|
173
|
+
# Output only. A state of the session.
|
174
|
+
# @!attribute [r] state_message
|
175
|
+
# @return [::String]
|
176
|
+
# Output only. Session state details, such as the failure
|
177
|
+
# description if the state is `FAILED`.
|
178
|
+
# @!attribute [r] state_time
|
179
|
+
# @return [::Google::Protobuf::Timestamp]
|
180
|
+
# Output only. The time when the session entered the current state.
|
181
|
+
# @!attribute [r] creator
|
182
|
+
# @return [::String]
|
183
|
+
# Output only. The email address of the user who created the session.
|
184
|
+
# @!attribute [rw] labels
|
185
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
186
|
+
# Optional. The labels to associate with the session.
|
187
|
+
# Label **keys** must contain 1 to 63 characters, and must conform to
|
188
|
+
# [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
|
189
|
+
# Label **values** may be empty, but, if present, must contain 1 to 63
|
190
|
+
# characters, and must conform to [RFC
|
191
|
+
# 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be
|
192
|
+
# associated with a session.
|
193
|
+
# @!attribute [rw] runtime_config
|
194
|
+
# @return [::Google::Cloud::Dataproc::V1::RuntimeConfig]
|
195
|
+
# Optional. Runtime configuration for the session execution.
|
196
|
+
# @!attribute [rw] environment_config
|
197
|
+
# @return [::Google::Cloud::Dataproc::V1::EnvironmentConfig]
|
198
|
+
# Optional. Environment configuration for the session execution.
|
199
|
+
# @!attribute [rw] user
|
200
|
+
# @return [::String]
|
201
|
+
# Optional. The email address of the user who owns the session.
|
202
|
+
# @!attribute [r] state_history
|
203
|
+
# @return [::Array<::Google::Cloud::Dataproc::V1::Session::SessionStateHistory>]
|
204
|
+
# Output only. Historical state information for the session.
|
205
|
+
# @!attribute [rw] session_template
|
206
|
+
# @return [::String]
|
207
|
+
# Optional. The session template used by the session.
|
208
|
+
#
|
209
|
+
# Only resource names, including project ID and location, are valid.
|
210
|
+
#
|
211
|
+
# Example:
|
212
|
+
# * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]`
|
213
|
+
# * `projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]`
|
214
|
+
#
|
215
|
+
# The template must be in the same project and Dataproc region as the
|
216
|
+
# session.
|
217
|
+
class Session
|
218
|
+
include ::Google::Protobuf::MessageExts
|
219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
220
|
+
|
221
|
+
# Historical state information.
|
222
|
+
# @!attribute [r] state
|
223
|
+
# @return [::Google::Cloud::Dataproc::V1::Session::State]
|
224
|
+
# Output only. The state of the session at this point in the session
|
225
|
+
# history.
|
226
|
+
# @!attribute [r] state_message
|
227
|
+
# @return [::String]
|
228
|
+
# Output only. Details about the state at this point in the session
|
229
|
+
# history.
|
230
|
+
# @!attribute [r] state_start_time
|
231
|
+
# @return [::Google::Protobuf::Timestamp]
|
232
|
+
# Output only. The time when the session entered the historical state.
|
233
|
+
class SessionStateHistory
|
234
|
+
include ::Google::Protobuf::MessageExts
|
235
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
236
|
+
end
|
237
|
+
|
238
|
+
# @!attribute [rw] key
|
239
|
+
# @return [::String]
|
240
|
+
# @!attribute [rw] value
|
241
|
+
# @return [::String]
|
242
|
+
class LabelsEntry
|
243
|
+
include ::Google::Protobuf::MessageExts
|
244
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
end
|
246
|
+
|
247
|
+
# The session state.
|
248
|
+
module State
|
249
|
+
# The session state is unknown.
|
250
|
+
STATE_UNSPECIFIED = 0
|
251
|
+
|
252
|
+
# The session is created prior to running.
|
253
|
+
CREATING = 1
|
254
|
+
|
255
|
+
# The session is running.
|
256
|
+
ACTIVE = 2
|
257
|
+
|
258
|
+
# The session is terminating.
|
259
|
+
TERMINATING = 3
|
260
|
+
|
261
|
+
# The session is terminated successfully.
|
262
|
+
TERMINATED = 4
|
263
|
+
|
264
|
+
# The session is no longer running due to an error.
|
265
|
+
FAILED = 5
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
# Jupyter configuration for an interactive session.
|
270
|
+
# @!attribute [rw] kernel
|
271
|
+
# @return [::Google::Cloud::Dataproc::V1::JupyterConfig::Kernel]
|
272
|
+
# Optional. Kernel
|
273
|
+
# @!attribute [rw] display_name
|
274
|
+
# @return [::String]
|
275
|
+
# Optional. Display name, shown in the Jupyter kernelspec card.
|
276
|
+
class JupyterConfig
|
277
|
+
include ::Google::Protobuf::MessageExts
|
278
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
279
|
+
|
280
|
+
# Jupyter kernel types.
|
281
|
+
module Kernel
|
282
|
+
# The kernel is unknown.
|
283
|
+
KERNEL_UNSPECIFIED = 0
|
284
|
+
|
285
|
+
# Python kernel.
|
286
|
+
PYTHON = 1
|
287
|
+
|
288
|
+
# Scala kernel.
|
289
|
+
SCALA = 2
|
290
|
+
end
|
291
|
+
end
|
292
|
+
end
|
293
|
+
end
|
294
|
+
end
|
295
|
+
end
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
34
34
|
# Optional. A mapping of property names to values, which are used to
|
35
35
|
# configure workload execution.
|
36
|
+
# @!attribute [rw] repository_config
|
37
|
+
# @return [::Google::Cloud::Dataproc::V1::RepositoryConfig]
|
38
|
+
# Optional. Dependency repository configuration.
|
36
39
|
class RuntimeConfig
|
37
40
|
include ::Google::Protobuf::MessageExts
|
38
41
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -75,18 +78,34 @@ module Google
|
|
75
78
|
# @!attribute [rw] kms_key
|
76
79
|
# @return [::String]
|
77
80
|
# Optional. The Cloud KMS key to use for encryption.
|
78
|
-
# @!attribute [rw]
|
81
|
+
# @!attribute [rw] idle_ttl
|
79
82
|
# @return [::Google::Protobuf::Duration]
|
80
|
-
# Optional. The duration
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
# representation of
|
83
|
+
# Optional. Applies to sessions only. The duration to keep the session alive
|
84
|
+
# while it's idling. Exceeding this threshold causes the session to
|
85
|
+
# terminate. This field cannot be set on a batch workload. Minimum value is
|
86
|
+
# 10 minutes; maximum value is 14 days (see JSON representation of
|
85
87
|
# [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
88
|
+
# Defaults to 1 hour if not set.
|
89
|
+
# If both `ttl` and `idle_ttl` are specified for an interactive session,
|
90
|
+
# the conditions are treated as `OR` conditions: the workload will be
|
91
|
+
# terminated when it has been idle for `idle_ttl` or when `ttl` has been
|
92
|
+
# exceeded, whichever occurs first.
|
93
|
+
# @!attribute [rw] ttl
|
94
|
+
# @return [::Google::Protobuf::Duration]
|
95
|
+
# Optional. The duration after which the workload will be terminated,
|
96
|
+
# specified as the JSON representation for
|
97
|
+
# [Duration](https://protobuf.dev/programming-guides/proto3/#json).
|
98
|
+
# When the workload exceeds this duration, it will be unconditionally
|
99
|
+
# terminated without waiting for ongoing work to finish. If `ttl` is not
|
100
|
+
# specified for a batch workload, the workload will be allowed to run until
|
101
|
+
# it exits naturally (or run forever without exiting). If `ttl` is not
|
102
|
+
# specified for an interactive session, it defaults to 24 hours. If `ttl` is
|
103
|
+
# not specified for a batch that uses 2.1+ runtime version, it defaults to 4
|
104
|
+
# hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl`
|
105
|
+
# and `idle_ttl` are specified (for an interactive session), the conditions
|
106
|
+
# are treated as `OR` conditions: the workload will be terminated when it has
|
107
|
+
# been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs
|
108
|
+
# first.
|
90
109
|
# @!attribute [rw] staging_bucket
|
91
110
|
# @return [::String]
|
92
111
|
# Optional. A Cloud Storage bucket used to stage workload dependencies,
|
@@ -146,9 +165,17 @@ module Google
|
|
146
165
|
# Output only. A URI pointing to the location of the diagnostics tarball.
|
147
166
|
# @!attribute [r] approximate_usage
|
148
167
|
# @return [::Google::Cloud::Dataproc::V1::UsageMetrics]
|
149
|
-
# Output only. Approximate workload resource usage calculated
|
150
|
-
#
|
168
|
+
# Output only. Approximate workload resource usage, calculated when
|
169
|
+
# the workload completes (see [Dataproc Serverless pricing]
|
151
170
|
# (https://cloud.google.com/dataproc-serverless/pricing)).
|
171
|
+
#
|
172
|
+
# **Note:** This metric calculation may change in the future, for
|
173
|
+
# example, to capture cumulative workload resource
|
174
|
+
# consumption during workload execution (see the
|
175
|
+
# [Dataproc Serverless release notes]
|
176
|
+
# (https://cloud.google.com/dataproc-serverless/docs/release-notes)
|
177
|
+
# for announcements, changes, fixes
|
178
|
+
# and other Dataproc developments).
|
152
179
|
# @!attribute [r] current_usage
|
153
180
|
# @return [::Google::Cloud::Dataproc::V1::UsageSnapshot]
|
154
181
|
# Output only. Snapshot of current workload resource usage.
|
@@ -177,12 +204,20 @@ module Google
|
|
177
204
|
# Optional. Shuffle storage usage in (`GB` x `seconds`) (see
|
178
205
|
# [Dataproc Serverless pricing]
|
179
206
|
# (https://cloud.google.com/dataproc-serverless/pricing)).
|
207
|
+
# @!attribute [rw] milli_accelerator_seconds
|
208
|
+
# @return [::Integer]
|
209
|
+
# Optional. Accelerator usage in (`milliAccelerator` x `seconds`) (see
|
210
|
+
# [Dataproc Serverless pricing]
|
211
|
+
# (https://cloud.google.com/dataproc-serverless/pricing)).
|
212
|
+
# @!attribute [rw] accelerator_type
|
213
|
+
# @return [::String]
|
214
|
+
# Optional. Accelerator type being used, if any
|
180
215
|
class UsageMetrics
|
181
216
|
include ::Google::Protobuf::MessageExts
|
182
217
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
183
218
|
end
|
184
219
|
|
185
|
-
# The usage
|
220
|
+
# The usage snapshot represents the resources consumed by a workload at a
|
186
221
|
# specified time.
|
187
222
|
# @!attribute [rw] milli_dcu
|
188
223
|
# @return [::Integer]
|
@@ -193,6 +228,23 @@ module Google
|
|
193
228
|
# @return [::Integer]
|
194
229
|
# Optional. Shuffle Storage in gigabytes (GB). (see [Dataproc Serverless
|
195
230
|
# pricing] (https://cloud.google.com/dataproc-serverless/pricing))
|
231
|
+
# @!attribute [rw] milli_dcu_premium
|
232
|
+
# @return [::Integer]
|
233
|
+
# Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at
|
234
|
+
# premium tier (see [Dataproc Serverless pricing]
|
235
|
+
# (https://cloud.google.com/dataproc-serverless/pricing)).
|
236
|
+
# @!attribute [rw] shuffle_storage_gb_premium
|
237
|
+
# @return [::Integer]
|
238
|
+
# Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see
|
239
|
+
# [Dataproc Serverless pricing]
|
240
|
+
# (https://cloud.google.com/dataproc-serverless/pricing))
|
241
|
+
# @!attribute [rw] milli_accelerator
|
242
|
+
# @return [::Integer]
|
243
|
+
# Optional. Milli (one-thousandth) accelerator. (see [Dataproc
|
244
|
+
# Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing))
|
245
|
+
# @!attribute [rw] accelerator_type
|
246
|
+
# @return [::String]
|
247
|
+
# Optional. Accelerator type being used, if any
|
196
248
|
# @!attribute [rw] snapshot_time
|
197
249
|
# @return [::Google::Protobuf::Timestamp]
|
198
250
|
# Optional. The timestamp of the usage snapshot.
|
@@ -456,16 +508,33 @@ module Google
|
|
456
508
|
end
|
457
509
|
end
|
458
510
|
|
511
|
+
# Configuration for dependency repositories
|
512
|
+
# @!attribute [rw] pypi_repository_config
|
513
|
+
# @return [::Google::Cloud::Dataproc::V1::PyPiRepositoryConfig]
|
514
|
+
# Optional. Configuration for PyPi repository.
|
515
|
+
class RepositoryConfig
|
516
|
+
include ::Google::Protobuf::MessageExts
|
517
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
518
|
+
end
|
519
|
+
|
520
|
+
# Configuration for PyPi repository
|
521
|
+
# @!attribute [rw] pypi_repository
|
522
|
+
# @return [::String]
|
523
|
+
# Optional. PyPi repository address
|
524
|
+
class PyPiRepositoryConfig
|
525
|
+
include ::Google::Protobuf::MessageExts
|
526
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
527
|
+
end
|
528
|
+
|
459
529
|
# Cluster components that can be activated.
|
460
530
|
module Component
|
461
531
|
# Unspecified component. Specifying this will cause Cluster creation to fail.
|
462
532
|
COMPONENT_UNSPECIFIED = 0
|
463
533
|
|
464
534
|
# The Anaconda python distribution. The Anaconda component is not supported
|
465
|
-
# in the Dataproc
|
466
|
-
#
|
467
|
-
#
|
468
|
-
# image</a>. The 2.0 image is pre-installed with Miniconda.
|
535
|
+
# in the Dataproc [2.0 image]
|
536
|
+
# (/https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-release-2.0).
|
537
|
+
# The 2.0 image is pre-installed with Miniconda.
|
469
538
|
ANACONDA = 5
|
470
539
|
|
471
540
|
# Docker
|
@@ -129,7 +129,8 @@ module Google
|
|
129
129
|
#
|
130
130
|
# Note: this functionality is not currently available in the official
|
131
131
|
# protobuf release, and it is not used for type URLs beginning with
|
132
|
-
# type.googleapis.com.
|
132
|
+
# type.googleapis.com. As of May 2023, there are no widely used type server
|
133
|
+
# implementations and no plans to implement one.
|
133
134
|
#
|
134
135
|
# Schemes other than `http`, `https` (or the empty scheme) might be
|
135
136
|
# used with implementation specific semantics.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataproc-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -246,6 +246,26 @@ files:
|
|
246
246
|
- lib/google/cloud/dataproc/v1/node_groups_services_pb.rb
|
247
247
|
- lib/google/cloud/dataproc/v1/operations_pb.rb
|
248
248
|
- lib/google/cloud/dataproc/v1/rest.rb
|
249
|
+
- lib/google/cloud/dataproc/v1/session_controller.rb
|
250
|
+
- lib/google/cloud/dataproc/v1/session_controller/client.rb
|
251
|
+
- lib/google/cloud/dataproc/v1/session_controller/credentials.rb
|
252
|
+
- lib/google/cloud/dataproc/v1/session_controller/operations.rb
|
253
|
+
- lib/google/cloud/dataproc/v1/session_controller/paths.rb
|
254
|
+
- lib/google/cloud/dataproc/v1/session_controller/rest.rb
|
255
|
+
- lib/google/cloud/dataproc/v1/session_controller/rest/client.rb
|
256
|
+
- lib/google/cloud/dataproc/v1/session_controller/rest/operations.rb
|
257
|
+
- lib/google/cloud/dataproc/v1/session_controller/rest/service_stub.rb
|
258
|
+
- lib/google/cloud/dataproc/v1/session_template_controller.rb
|
259
|
+
- lib/google/cloud/dataproc/v1/session_template_controller/client.rb
|
260
|
+
- lib/google/cloud/dataproc/v1/session_template_controller/credentials.rb
|
261
|
+
- lib/google/cloud/dataproc/v1/session_template_controller/paths.rb
|
262
|
+
- lib/google/cloud/dataproc/v1/session_template_controller/rest.rb
|
263
|
+
- lib/google/cloud/dataproc/v1/session_template_controller/rest/client.rb
|
264
|
+
- lib/google/cloud/dataproc/v1/session_template_controller/rest/service_stub.rb
|
265
|
+
- lib/google/cloud/dataproc/v1/session_templates_pb.rb
|
266
|
+
- lib/google/cloud/dataproc/v1/session_templates_services_pb.rb
|
267
|
+
- lib/google/cloud/dataproc/v1/sessions_pb.rb
|
268
|
+
- lib/google/cloud/dataproc/v1/sessions_services_pb.rb
|
249
269
|
- lib/google/cloud/dataproc/v1/shared_pb.rb
|
250
270
|
- lib/google/cloud/dataproc/v1/version.rb
|
251
271
|
- lib/google/cloud/dataproc/v1/workflow_template_service.rb
|
@@ -270,6 +290,8 @@ files:
|
|
270
290
|
- proto_docs/google/cloud/dataproc/v1/jobs.rb
|
271
291
|
- proto_docs/google/cloud/dataproc/v1/node_groups.rb
|
272
292
|
- proto_docs/google/cloud/dataproc/v1/operations.rb
|
293
|
+
- proto_docs/google/cloud/dataproc/v1/session_templates.rb
|
294
|
+
- proto_docs/google/cloud/dataproc/v1/sessions.rb
|
273
295
|
- proto_docs/google/cloud/dataproc/v1/shared.rb
|
274
296
|
- proto_docs/google/cloud/dataproc/v1/workflow_templates.rb
|
275
297
|
- proto_docs/google/longrunning/operations.rb
|