google-apis-dataproc_v1 0.52.0 → 0.54.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd8a64411f7f7ade8de89db6110c5d83f82facf619371617958f09519db057c1
|
4
|
+
data.tar.gz: ca106acb7fc977618ea9f6a67bcf1d9efeae1f34c3f78c8d084cbdf061312ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48115a41d5385b7b65eb0387be92866ec41bf04812291eabf41adb5851dec970bf0affbd31a752a7828c8905942eda1cdfaffec1077dbe4d7ad65431ec44dedf
|
7
|
+
data.tar.gz: 38aba56560bd6e40ab06f5ed4446531654518ec243530ad59b9801f5bb026f9106a08bda45761617495d21c8f5f1af013a2a7e6e66b0da0ce8c5bf3f6aea2365
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.54.0 (2023-09-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230830
|
6
|
+
|
7
|
+
### v0.53.0 (2023-08-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230814
|
10
|
+
|
3
11
|
### v0.52.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230804
|
@@ -1089,6 +1089,13 @@ module Google
|
|
1089
1089
|
# @return [Array<String>]
|
1090
1090
|
attr_accessor :jobs
|
1091
1091
|
|
1092
|
+
# Optional. (Optional) The output Cloud Storage directory for the diagnostic
|
1093
|
+
# tarball. If not specified, a task-specific directory in the cluster's staging
|
1094
|
+
# bucket will be used.
|
1095
|
+
# Corresponds to the JSON property `tarballGcsDir`
|
1096
|
+
# @return [String]
|
1097
|
+
attr_accessor :tarball_gcs_dir
|
1098
|
+
|
1092
1099
|
# Optional. DEPRECATED Specifies the yarn application on which diagnosis is to
|
1093
1100
|
# be performed.
|
1094
1101
|
# Corresponds to the JSON property `yarnApplicationId`
|
@@ -1110,6 +1117,7 @@ module Google
|
|
1110
1117
|
@diagnosis_interval = args[:diagnosis_interval] if args.key?(:diagnosis_interval)
|
1111
1118
|
@job = args[:job] if args.key?(:job)
|
1112
1119
|
@jobs = args[:jobs] if args.key?(:jobs)
|
1120
|
+
@tarball_gcs_dir = args[:tarball_gcs_dir] if args.key?(:tarball_gcs_dir)
|
1113
1121
|
@yarn_application_id = args[:yarn_application_id] if args.key?(:yarn_application_id)
|
1114
1122
|
@yarn_application_ids = args[:yarn_application_ids] if args.key?(:yarn_application_ids)
|
1115
1123
|
end
|
@@ -1312,7 +1320,7 @@ module Google
|
|
1312
1320
|
# while it's idling. Exceeding this threshold causes the session to terminate.
|
1313
1321
|
# This field cannot be set on a batch workload. Minimum value is 10 minutes;
|
1314
1322
|
# maximum value is 14 days (see JSON representation of Duration (https://
|
1315
|
-
# developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to
|
1323
|
+
# developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour
|
1316
1324
|
# if not set. If both ttl and idle_ttl are specified for an interactive session,
|
1317
1325
|
# the conditions are treated as OR conditions: the workload will be terminated
|
1318
1326
|
# when it has been idle for idle_ttl or when ttl has been exceeded, whichever
|
@@ -2124,6 +2132,33 @@ module Google
|
|
2124
2132
|
end
|
2125
2133
|
end
|
2126
2134
|
|
2135
|
+
# Instance flexibility Policy allowing a mixture of VM shapes and provisioning
|
2136
|
+
# models.
|
2137
|
+
class InstanceFlexibilityPolicy
|
2138
|
+
include Google::Apis::Core::Hashable
|
2139
|
+
|
2140
|
+
# Optional. List of instance selection options that the group will use when
|
2141
|
+
# creating new VMs.
|
2142
|
+
# Corresponds to the JSON property `instanceSelectionList`
|
2143
|
+
# @return [Array<Google::Apis::DataprocV1::InstanceSelection>]
|
2144
|
+
attr_accessor :instance_selection_list
|
2145
|
+
|
2146
|
+
# Output only. A list of instance selection results in the group.
|
2147
|
+
# Corresponds to the JSON property `instanceSelectionResults`
|
2148
|
+
# @return [Array<Google::Apis::DataprocV1::InstanceSelectionResult>]
|
2149
|
+
attr_accessor :instance_selection_results
|
2150
|
+
|
2151
|
+
def initialize(**args)
|
2152
|
+
update!(**args)
|
2153
|
+
end
|
2154
|
+
|
2155
|
+
# Update properties of this object
|
2156
|
+
def update!(**args)
|
2157
|
+
@instance_selection_list = args[:instance_selection_list] if args.key?(:instance_selection_list)
|
2158
|
+
@instance_selection_results = args[:instance_selection_results] if args.key?(:instance_selection_results)
|
2159
|
+
end
|
2160
|
+
end
|
2161
|
+
|
2127
2162
|
# Configuration for the size bounds of an instance group, including its
|
2128
2163
|
# proportional size to other groups.
|
2129
2164
|
class InstanceGroupAutoscalingPolicyConfig
|
@@ -2203,6 +2238,12 @@ module Google
|
|
2203
2238
|
# @return [String]
|
2204
2239
|
attr_accessor :image_uri
|
2205
2240
|
|
2241
|
+
# Instance flexibility Policy allowing a mixture of VM shapes and provisioning
|
2242
|
+
# models.
|
2243
|
+
# Corresponds to the JSON property `instanceFlexibilityPolicy`
|
2244
|
+
# @return [Google::Apis::DataprocV1::InstanceFlexibilityPolicy]
|
2245
|
+
attr_accessor :instance_flexibility_policy
|
2246
|
+
|
2206
2247
|
# Output only. The list of instance names. Dataproc derives the names from
|
2207
2248
|
# cluster_name, num_instances, and the instance group.
|
2208
2249
|
# Corresponds to the JSON property `instanceNames`
|
@@ -2244,19 +2285,14 @@ module Google
|
|
2244
2285
|
# @return [String]
|
2245
2286
|
attr_accessor :min_cpu_platform
|
2246
2287
|
|
2247
|
-
# Optional. The minimum number of instances to create. If
|
2248
|
-
#
|
2249
|
-
#
|
2250
|
-
#
|
2251
|
-
#
|
2252
|
-
#
|
2253
|
-
#
|
2254
|
-
#
|
2255
|
-
# will be in an error state and does not delete failed VMs for debugging. * if 2
|
2256
|
-
# instance are created and then registered successfully but 3 instances are
|
2257
|
-
# failed to initialize, the cluster will be in an error state and does not
|
2258
|
-
# delete failed VMs for debugging. NB: This can only be set for primary workers
|
2259
|
-
# now.
|
2288
|
+
# Optional. The minimum number of primary worker instances to create. If
|
2289
|
+
# min_num_instances is set, cluster creation will succeed if the number of
|
2290
|
+
# primary workers created is at least equal to the min_num_instances number.
|
2291
|
+
# Example: Cluster creation request with num_instances = 5 and min_num_instances
|
2292
|
+
# = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The
|
2293
|
+
# cluster is resized to 4 instances and placed in a RUNNING state. If 2
|
2294
|
+
# instances are created and 3 instances fail, the cluster in placed in an ERROR
|
2295
|
+
# state. The failed VMs are not deleted.
|
2260
2296
|
# Corresponds to the JSON property `minNumInstances`
|
2261
2297
|
# @return [Fixnum]
|
2262
2298
|
attr_accessor :min_num_instances
|
@@ -2284,6 +2320,7 @@ module Google
|
|
2284
2320
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
2285
2321
|
@disk_config = args[:disk_config] if args.key?(:disk_config)
|
2286
2322
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
2323
|
+
@instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
|
2287
2324
|
@instance_names = args[:instance_names] if args.key?(:instance_names)
|
2288
2325
|
@instance_references = args[:instance_references] if args.key?(:instance_references)
|
2289
2326
|
@is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible)
|
@@ -2333,6 +2370,60 @@ module Google
|
|
2333
2370
|
end
|
2334
2371
|
end
|
2335
2372
|
|
2373
|
+
# Defines machines types and a rank to which the machines types belong.
|
2374
|
+
class InstanceSelection
|
2375
|
+
include Google::Apis::Core::Hashable
|
2376
|
+
|
2377
|
+
# Optional. Full machine-type names, e.g. "n1-standard-16".
|
2378
|
+
# Corresponds to the JSON property `machineTypes`
|
2379
|
+
# @return [Array<String>]
|
2380
|
+
attr_accessor :machine_types
|
2381
|
+
|
2382
|
+
# Optional. Preference of this instance selection. Lower number means higher
|
2383
|
+
# preference. Dataproc will first try to create a VM based on the machine-type
|
2384
|
+
# with priority rank and fallback to next rank based on availability. Machine
|
2385
|
+
# types and instance selections with the same priority have the same preference.
|
2386
|
+
# Corresponds to the JSON property `rank`
|
2387
|
+
# @return [Fixnum]
|
2388
|
+
attr_accessor :rank
|
2389
|
+
|
2390
|
+
def initialize(**args)
|
2391
|
+
update!(**args)
|
2392
|
+
end
|
2393
|
+
|
2394
|
+
# Update properties of this object
|
2395
|
+
def update!(**args)
|
2396
|
+
@machine_types = args[:machine_types] if args.key?(:machine_types)
|
2397
|
+
@rank = args[:rank] if args.key?(:rank)
|
2398
|
+
end
|
2399
|
+
end
|
2400
|
+
|
2401
|
+
# Defines a mapping from machine types to the number of VMs that are created
|
2402
|
+
# with each machine type.
|
2403
|
+
class InstanceSelectionResult
|
2404
|
+
include Google::Apis::Core::Hashable
|
2405
|
+
|
2406
|
+
# Output only. Full machine-type names, e.g. "n1-standard-16".
|
2407
|
+
# Corresponds to the JSON property `machineType`
|
2408
|
+
# @return [String]
|
2409
|
+
attr_accessor :machine_type
|
2410
|
+
|
2411
|
+
# Output only. Number of VM provisioned with the machine_type.
|
2412
|
+
# Corresponds to the JSON property `vmCount`
|
2413
|
+
# @return [Fixnum]
|
2414
|
+
attr_accessor :vm_count
|
2415
|
+
|
2416
|
+
def initialize(**args)
|
2417
|
+
update!(**args)
|
2418
|
+
end
|
2419
|
+
|
2420
|
+
# Update properties of this object
|
2421
|
+
def update!(**args)
|
2422
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
2423
|
+
@vm_count = args[:vm_count] if args.key?(:vm_count)
|
2424
|
+
end
|
2425
|
+
end
|
2426
|
+
|
2336
2427
|
# A request to instantiate a workflow template.
|
2337
2428
|
class InstantiateWorkflowTemplateRequest
|
2338
2429
|
include Google::Apis::Core::Hashable
|
@@ -2751,6 +2842,31 @@ module Google
|
|
2751
2842
|
end
|
2752
2843
|
end
|
2753
2844
|
|
2845
|
+
# Jupyter configuration for an interactive session.
|
2846
|
+
class JupyterConfig
|
2847
|
+
include Google::Apis::Core::Hashable
|
2848
|
+
|
2849
|
+
# Optional. Display name, shown in the Jupyter kernelspec card.
|
2850
|
+
# Corresponds to the JSON property `displayName`
|
2851
|
+
# @return [String]
|
2852
|
+
attr_accessor :display_name
|
2853
|
+
|
2854
|
+
# Optional. Kernel
|
2855
|
+
# Corresponds to the JSON property `kernel`
|
2856
|
+
# @return [String]
|
2857
|
+
attr_accessor :kernel
|
2858
|
+
|
2859
|
+
def initialize(**args)
|
2860
|
+
update!(**args)
|
2861
|
+
end
|
2862
|
+
|
2863
|
+
# Update properties of this object
|
2864
|
+
def update!(**args)
|
2865
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2866
|
+
@kernel = args[:kernel] if args.key?(:kernel)
|
2867
|
+
end
|
2868
|
+
end
|
2869
|
+
|
2754
2870
|
# Specifies Kerberos related configuration.
|
2755
2871
|
class KerberosConfig
|
2756
2872
|
include Google::Apis::Core::Hashable
|
@@ -3116,6 +3232,58 @@ module Google
|
|
3116
3232
|
end
|
3117
3233
|
end
|
3118
3234
|
|
3235
|
+
# A list of session templates.
|
3236
|
+
class ListSessionTemplatesResponse
|
3237
|
+
include Google::Apis::Core::Hashable
|
3238
|
+
|
3239
|
+
# A token, which can be sent as page_token to retrieve the next page. If this
|
3240
|
+
# field is omitted, there are no subsequent pages.
|
3241
|
+
# Corresponds to the JSON property `nextPageToken`
|
3242
|
+
# @return [String]
|
3243
|
+
attr_accessor :next_page_token
|
3244
|
+
|
3245
|
+
# Output only. Session template list
|
3246
|
+
# Corresponds to the JSON property `sessionTemplates`
|
3247
|
+
# @return [Array<Google::Apis::DataprocV1::SessionTemplate>]
|
3248
|
+
attr_accessor :session_templates
|
3249
|
+
|
3250
|
+
def initialize(**args)
|
3251
|
+
update!(**args)
|
3252
|
+
end
|
3253
|
+
|
3254
|
+
# Update properties of this object
|
3255
|
+
def update!(**args)
|
3256
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3257
|
+
@session_templates = args[:session_templates] if args.key?(:session_templates)
|
3258
|
+
end
|
3259
|
+
end
|
3260
|
+
|
3261
|
+
# A list of interactive sessions.
|
3262
|
+
class ListSessionsResponse
|
3263
|
+
include Google::Apis::Core::Hashable
|
3264
|
+
|
3265
|
+
# A token, which can be sent as page_token, to retrieve the next page. If this
|
3266
|
+
# field is omitted, there are no subsequent pages.
|
3267
|
+
# Corresponds to the JSON property `nextPageToken`
|
3268
|
+
# @return [String]
|
3269
|
+
attr_accessor :next_page_token
|
3270
|
+
|
3271
|
+
# Output only. The sessions from the specified collection.
|
3272
|
+
# Corresponds to the JSON property `sessions`
|
3273
|
+
# @return [Array<Google::Apis::DataprocV1::Session>]
|
3274
|
+
attr_accessor :sessions
|
3275
|
+
|
3276
|
+
def initialize(**args)
|
3277
|
+
update!(**args)
|
3278
|
+
end
|
3279
|
+
|
3280
|
+
# Update properties of this object
|
3281
|
+
def update!(**args)
|
3282
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3283
|
+
@sessions = args[:sessions] if args.key?(:sessions)
|
3284
|
+
end
|
3285
|
+
end
|
3286
|
+
|
3119
3287
|
# A response to a request to list workflow templates in a project.
|
3120
3288
|
class ListWorkflowTemplatesResponse
|
3121
3289
|
include Google::Apis::Core::Hashable
|
@@ -3211,6 +3379,12 @@ module Google
|
|
3211
3379
|
# @return [String]
|
3212
3380
|
attr_accessor :instance_group_manager_name
|
3213
3381
|
|
3382
|
+
# Output only. The partial URI to the instance group manager for this group. E.g.
|
3383
|
+
# projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.
|
3384
|
+
# Corresponds to the JSON property `instanceGroupManagerUri`
|
3385
|
+
# @return [String]
|
3386
|
+
attr_accessor :instance_group_manager_uri
|
3387
|
+
|
3214
3388
|
# Output only. The name of the Instance Template used for the Managed Instance
|
3215
3389
|
# Group.
|
3216
3390
|
# Corresponds to the JSON property `instanceTemplateName`
|
@@ -3224,6 +3398,7 @@ module Google
|
|
3224
3398
|
# Update properties of this object
|
3225
3399
|
def update!(**args)
|
3226
3400
|
@instance_group_manager_name = args[:instance_group_manager_name] if args.key?(:instance_group_manager_name)
|
3401
|
+
@instance_group_manager_uri = args[:instance_group_manager_uri] if args.key?(:instance_group_manager_uri)
|
3227
3402
|
@instance_template_name = args[:instance_template_name] if args.key?(:instance_template_name)
|
3228
3403
|
end
|
3229
3404
|
end
|
@@ -3954,6 +4129,25 @@ module Google
|
|
3954
4129
|
end
|
3955
4130
|
end
|
3956
4131
|
|
4132
|
+
# Configuration for PyPi repository
|
4133
|
+
class PyPiRepositoryConfig
|
4134
|
+
include Google::Apis::Core::Hashable
|
4135
|
+
|
4136
|
+
# Optional. PyPi repository address
|
4137
|
+
# Corresponds to the JSON property `pypiRepository`
|
4138
|
+
# @return [String]
|
4139
|
+
attr_accessor :pypi_repository
|
4140
|
+
|
4141
|
+
def initialize(**args)
|
4142
|
+
update!(**args)
|
4143
|
+
end
|
4144
|
+
|
4145
|
+
# Update properties of this object
|
4146
|
+
def update!(**args)
|
4147
|
+
@pypi_repository = args[:pypi_repository] if args.key?(:pypi_repository)
|
4148
|
+
end
|
4149
|
+
end
|
4150
|
+
|
3957
4151
|
# A configuration for running an Apache PySpark (https://spark.apache.org/docs/
|
3958
4152
|
# latest/api/python/getting_started/quickstart.html) batch workload.
|
3959
4153
|
class PySparkBatch
|
@@ -4185,6 +4379,25 @@ module Google
|
|
4185
4379
|
end
|
4186
4380
|
end
|
4187
4381
|
|
4382
|
+
# Configuration for dependency repositories
|
4383
|
+
class RepositoryConfig
|
4384
|
+
include Google::Apis::Core::Hashable
|
4385
|
+
|
4386
|
+
# Configuration for PyPi repository
|
4387
|
+
# Corresponds to the JSON property `pypiRepositoryConfig`
|
4388
|
+
# @return [Google::Apis::DataprocV1::PyPiRepositoryConfig]
|
4389
|
+
attr_accessor :pypi_repository_config
|
4390
|
+
|
4391
|
+
def initialize(**args)
|
4392
|
+
update!(**args)
|
4393
|
+
end
|
4394
|
+
|
4395
|
+
# Update properties of this object
|
4396
|
+
def update!(**args)
|
4397
|
+
@pypi_repository_config = args[:pypi_repository_config] if args.key?(:pypi_repository_config)
|
4398
|
+
end
|
4399
|
+
end
|
4400
|
+
|
4188
4401
|
# Reservation Affinity for consuming Zonal reservation.
|
4189
4402
|
class ReservationAffinity
|
4190
4403
|
include Google::Apis::Core::Hashable
|
@@ -4281,6 +4494,11 @@ module Google
|
|
4281
4494
|
# @return [Hash<String,String>]
|
4282
4495
|
attr_accessor :properties
|
4283
4496
|
|
4497
|
+
# Configuration for dependency repositories
|
4498
|
+
# Corresponds to the JSON property `repositoryConfig`
|
4499
|
+
# @return [Google::Apis::DataprocV1::RepositoryConfig]
|
4500
|
+
attr_accessor :repository_config
|
4501
|
+
|
4284
4502
|
# Optional. Version of the batch runtime.
|
4285
4503
|
# Corresponds to the JSON property `version`
|
4286
4504
|
# @return [String]
|
@@ -4294,6 +4512,7 @@ module Google
|
|
4294
4512
|
def update!(**args)
|
4295
4513
|
@container_image = args[:container_image] if args.key?(:container_image)
|
4296
4514
|
@properties = args[:properties] if args.key?(:properties)
|
4515
|
+
@repository_config = args[:repository_config] if args.key?(:repository_config)
|
4297
4516
|
@version = args[:version] if args.key?(:version)
|
4298
4517
|
end
|
4299
4518
|
end
|
@@ -4370,6 +4589,120 @@ module Google
|
|
4370
4589
|
end
|
4371
4590
|
end
|
4372
4591
|
|
4592
|
+
# A representation of a session.
|
4593
|
+
class Session
|
4594
|
+
include Google::Apis::Core::Hashable
|
4595
|
+
|
4596
|
+
# Output only. The time when the session was created.
|
4597
|
+
# Corresponds to the JSON property `createTime`
|
4598
|
+
# @return [String]
|
4599
|
+
attr_accessor :create_time
|
4600
|
+
|
4601
|
+
# Output only. The email address of the user who created the session.
|
4602
|
+
# Corresponds to the JSON property `creator`
|
4603
|
+
# @return [String]
|
4604
|
+
attr_accessor :creator
|
4605
|
+
|
4606
|
+
# Environment configuration for a workload.
|
4607
|
+
# Corresponds to the JSON property `environmentConfig`
|
4608
|
+
# @return [Google::Apis::DataprocV1::EnvironmentConfig]
|
4609
|
+
attr_accessor :environment_config
|
4610
|
+
|
4611
|
+
# Jupyter configuration for an interactive session.
|
4612
|
+
# Corresponds to the JSON property `jupyterSession`
|
4613
|
+
# @return [Google::Apis::DataprocV1::JupyterConfig]
|
4614
|
+
attr_accessor :jupyter_session
|
4615
|
+
|
4616
|
+
# Optional. The labels to associate with the session. Label keys must contain 1
|
4617
|
+
# to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/
|
4618
|
+
# rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63
|
4619
|
+
# characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt)
|
4620
|
+
# . No more than 32 labels can be associated with a session.
|
4621
|
+
# Corresponds to the JSON property `labels`
|
4622
|
+
# @return [Hash<String,String>]
|
4623
|
+
attr_accessor :labels
|
4624
|
+
|
4625
|
+
# Required. The resource name of the session.
|
4626
|
+
# Corresponds to the JSON property `name`
|
4627
|
+
# @return [String]
|
4628
|
+
attr_accessor :name
|
4629
|
+
|
4630
|
+
# Runtime configuration for a workload.
|
4631
|
+
# Corresponds to the JSON property `runtimeConfig`
|
4632
|
+
# @return [Google::Apis::DataprocV1::RuntimeConfig]
|
4633
|
+
attr_accessor :runtime_config
|
4634
|
+
|
4635
|
+
# Runtime information about workload execution.
|
4636
|
+
# Corresponds to the JSON property `runtimeInfo`
|
4637
|
+
# @return [Google::Apis::DataprocV1::RuntimeInfo]
|
4638
|
+
attr_accessor :runtime_info
|
4639
|
+
|
4640
|
+
# Optional. The session template used by the session.Only resource names,
|
4641
|
+
# including project ID and location, are valid.Example: * https://www.googleapis.
|
4642
|
+
# com/compute/v1/projects/[project_id]/locations/[dataproc_region]/
|
4643
|
+
# sessionTemplates/[template_id] * projects/[project_id]/locations/[
|
4644
|
+
# dataproc_region]/sessionTemplates/[template_id]The template must be in the
|
4645
|
+
# same project and Dataproc region as the session.
|
4646
|
+
# Corresponds to the JSON property `sessionTemplate`
|
4647
|
+
# @return [String]
|
4648
|
+
attr_accessor :session_template
|
4649
|
+
|
4650
|
+
# Output only. A state of the session.
|
4651
|
+
# Corresponds to the JSON property `state`
|
4652
|
+
# @return [String]
|
4653
|
+
attr_accessor :state
|
4654
|
+
|
4655
|
+
# Output only. Historical state information for the session.
|
4656
|
+
# Corresponds to the JSON property `stateHistory`
|
4657
|
+
# @return [Array<Google::Apis::DataprocV1::SessionStateHistory>]
|
4658
|
+
attr_accessor :state_history
|
4659
|
+
|
4660
|
+
# Output only. Session state details, such as the failure description if the
|
4661
|
+
# state is FAILED.
|
4662
|
+
# Corresponds to the JSON property `stateMessage`
|
4663
|
+
# @return [String]
|
4664
|
+
attr_accessor :state_message
|
4665
|
+
|
4666
|
+
# Output only. The time when the session entered the current state.
|
4667
|
+
# Corresponds to the JSON property `stateTime`
|
4668
|
+
# @return [String]
|
4669
|
+
attr_accessor :state_time
|
4670
|
+
|
4671
|
+
# Optional. The email address of the user who owns the session.
|
4672
|
+
# Corresponds to the JSON property `user`
|
4673
|
+
# @return [String]
|
4674
|
+
attr_accessor :user
|
4675
|
+
|
4676
|
+
# Output only. A session UUID (Unique Universal Identifier). The service
|
4677
|
+
# generates this value when it creates the session.
|
4678
|
+
# Corresponds to the JSON property `uuid`
|
4679
|
+
# @return [String]
|
4680
|
+
attr_accessor :uuid
|
4681
|
+
|
4682
|
+
def initialize(**args)
|
4683
|
+
update!(**args)
|
4684
|
+
end
|
4685
|
+
|
4686
|
+
# Update properties of this object
|
4687
|
+
def update!(**args)
|
4688
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4689
|
+
@creator = args[:creator] if args.key?(:creator)
|
4690
|
+
@environment_config = args[:environment_config] if args.key?(:environment_config)
|
4691
|
+
@jupyter_session = args[:jupyter_session] if args.key?(:jupyter_session)
|
4692
|
+
@labels = args[:labels] if args.key?(:labels)
|
4693
|
+
@name = args[:name] if args.key?(:name)
|
4694
|
+
@runtime_config = args[:runtime_config] if args.key?(:runtime_config)
|
4695
|
+
@runtime_info = args[:runtime_info] if args.key?(:runtime_info)
|
4696
|
+
@session_template = args[:session_template] if args.key?(:session_template)
|
4697
|
+
@state = args[:state] if args.key?(:state)
|
4698
|
+
@state_history = args[:state_history] if args.key?(:state_history)
|
4699
|
+
@state_message = args[:state_message] if args.key?(:state_message)
|
4700
|
+
@state_time = args[:state_time] if args.key?(:state_time)
|
4701
|
+
@user = args[:user] if args.key?(:user)
|
4702
|
+
@uuid = args[:uuid] if args.key?(:uuid)
|
4703
|
+
end
|
4704
|
+
end
|
4705
|
+
|
4373
4706
|
# Metadata describing the Session operation.
|
4374
4707
|
class SessionOperationMetadata
|
4375
4708
|
include Google::Apis::Core::Hashable
|
@@ -4431,6 +4764,108 @@ module Google
|
|
4431
4764
|
end
|
4432
4765
|
end
|
4433
4766
|
|
4767
|
+
# Historical state information.
|
4768
|
+
class SessionStateHistory
|
4769
|
+
include Google::Apis::Core::Hashable
|
4770
|
+
|
4771
|
+
# Output only. The state of the session at this point in the session history.
|
4772
|
+
# Corresponds to the JSON property `state`
|
4773
|
+
# @return [String]
|
4774
|
+
attr_accessor :state
|
4775
|
+
|
4776
|
+
# Output only. Details about the state at this point in the session history.
|
4777
|
+
# Corresponds to the JSON property `stateMessage`
|
4778
|
+
# @return [String]
|
4779
|
+
attr_accessor :state_message
|
4780
|
+
|
4781
|
+
# Output only. The time when the session entered the historical state.
|
4782
|
+
# Corresponds to the JSON property `stateStartTime`
|
4783
|
+
# @return [String]
|
4784
|
+
attr_accessor :state_start_time
|
4785
|
+
|
4786
|
+
def initialize(**args)
|
4787
|
+
update!(**args)
|
4788
|
+
end
|
4789
|
+
|
4790
|
+
# Update properties of this object
|
4791
|
+
def update!(**args)
|
4792
|
+
@state = args[:state] if args.key?(:state)
|
4793
|
+
@state_message = args[:state_message] if args.key?(:state_message)
|
4794
|
+
@state_start_time = args[:state_start_time] if args.key?(:state_start_time)
|
4795
|
+
end
|
4796
|
+
end
|
4797
|
+
|
4798
|
+
# A representation of a session template.
|
4799
|
+
class SessionTemplate
|
4800
|
+
include Google::Apis::Core::Hashable
|
4801
|
+
|
4802
|
+
# Output only. The time when the template was created.
|
4803
|
+
# Corresponds to the JSON property `createTime`
|
4804
|
+
# @return [String]
|
4805
|
+
attr_accessor :create_time
|
4806
|
+
|
4807
|
+
# Output only. The email address of the user who created the template.
|
4808
|
+
# Corresponds to the JSON property `creator`
|
4809
|
+
# @return [String]
|
4810
|
+
attr_accessor :creator
|
4811
|
+
|
4812
|
+
# Optional. Brief description of the template.
|
4813
|
+
# Corresponds to the JSON property `description`
|
4814
|
+
# @return [String]
|
4815
|
+
attr_accessor :description
|
4816
|
+
|
4817
|
+
# Environment configuration for a workload.
|
4818
|
+
# Corresponds to the JSON property `environmentConfig`
|
4819
|
+
# @return [Google::Apis::DataprocV1::EnvironmentConfig]
|
4820
|
+
attr_accessor :environment_config
|
4821
|
+
|
4822
|
+
# Jupyter configuration for an interactive session.
|
4823
|
+
# Corresponds to the JSON property `jupyterSession`
|
4824
|
+
# @return [Google::Apis::DataprocV1::JupyterConfig]
|
4825
|
+
attr_accessor :jupyter_session
|
4826
|
+
|
4827
|
+
# Optional. Labels to associate with sessions created using this template. Label
|
4828
|
+
# keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://
|
4829
|
+
# www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present,
|
4830
|
+
# must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/
|
4831
|
+
# rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
|
4832
|
+
# Corresponds to the JSON property `labels`
|
4833
|
+
# @return [Hash<String,String>]
|
4834
|
+
attr_accessor :labels
|
4835
|
+
|
4836
|
+
# Required. The resource name of the session template.
|
4837
|
+
# Corresponds to the JSON property `name`
|
4838
|
+
# @return [String]
|
4839
|
+
attr_accessor :name
|
4840
|
+
|
4841
|
+
# Runtime configuration for a workload.
|
4842
|
+
# Corresponds to the JSON property `runtimeConfig`
|
4843
|
+
# @return [Google::Apis::DataprocV1::RuntimeConfig]
|
4844
|
+
attr_accessor :runtime_config
|
4845
|
+
|
4846
|
+
# Output only. The time the template was last updated.
|
4847
|
+
# Corresponds to the JSON property `updateTime`
|
4848
|
+
# @return [String]
|
4849
|
+
attr_accessor :update_time
|
4850
|
+
|
4851
|
+
def initialize(**args)
|
4852
|
+
update!(**args)
|
4853
|
+
end
|
4854
|
+
|
4855
|
+
# Update properties of this object
|
4856
|
+
def update!(**args)
|
4857
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4858
|
+
@creator = args[:creator] if args.key?(:creator)
|
4859
|
+
@description = args[:description] if args.key?(:description)
|
4860
|
+
@environment_config = args[:environment_config] if args.key?(:environment_config)
|
4861
|
+
@jupyter_session = args[:jupyter_session] if args.key?(:jupyter_session)
|
4862
|
+
@labels = args[:labels] if args.key?(:labels)
|
4863
|
+
@name = args[:name] if args.key?(:name)
|
4864
|
+
@runtime_config = args[:runtime_config] if args.key?(:runtime_config)
|
4865
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4866
|
+
end
|
4867
|
+
end
|
4868
|
+
|
4434
4869
|
# Request message for SetIamPolicy method.
|
4435
4870
|
class SetIamPolicyRequest
|
4436
4871
|
include Google::Apis::Core::Hashable
|
@@ -5186,6 +5621,31 @@ module Google
|
|
5186
5621
|
end
|
5187
5622
|
end
|
5188
5623
|
|
5624
|
+
# A request to terminate an interactive session.
|
5625
|
+
class TerminateSessionRequest
|
5626
|
+
include Google::Apis::Core::Hashable
|
5627
|
+
|
5628
|
+
# Optional. A unique ID used to identify the request. If the service receives
|
5629
|
+
# two TerminateSessionRequest (https://cloud.google.com/dataproc/docs/reference/
|
5630
|
+
# rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.TerminateSessionRequest)
|
5631
|
+
# s with the same ID, the second request is ignored.Recommendation: Set this
|
5632
|
+
# value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).
|
5633
|
+
# The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
|
5634
|
+
# and hyphens (-). The maximum length is 40 characters.
|
5635
|
+
# Corresponds to the JSON property `requestId`
|
5636
|
+
# @return [String]
|
5637
|
+
attr_accessor :request_id
|
5638
|
+
|
5639
|
+
def initialize(**args)
|
5640
|
+
update!(**args)
|
5641
|
+
end
|
5642
|
+
|
5643
|
+
# Update properties of this object
|
5644
|
+
def update!(**args)
|
5645
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
5646
|
+
end
|
5647
|
+
end
|
5648
|
+
|
5189
5649
|
# Request message for TestIamPermissions method.
|
5190
5650
|
class TestIamPermissionsRequest
|
5191
5651
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DataprocV1
|
18
18
|
# Version of the google-apis-dataproc_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.54.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230830"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|