google-apis-dataproc_v1 0.53.0 → 0.55.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e0009331e21b257c87de77b5c447dcfc0864888c4e213c86646f285ab2d9d01
4
- data.tar.gz: cb3b1623d60af4e0a9b9b1a84593aed70074b334b3ca7646762a1101837ccd57
3
+ metadata.gz: 1708ac356af646ab7efa35259ca866a67d6cd5425c08a1a188d0aed1317f44c0
4
+ data.tar.gz: ec4ef39038c1606bf137e832917694490a0c7cb7e9890a8b3d0dcafee26e8e73
5
5
  SHA512:
6
- metadata.gz: 2c4ff5916cf5a1f50564f6ec8c85285e0c6a7d34340d1c793aee5678041226f9b388155e80cf7d2b9d9704d4390fbe6954abd0a4ecee9313ceb6c0c9631181c8
7
- data.tar.gz: db5854659d012db39b4b404e7857f3bb730377181ebb0211c08f54f3be8ac38978e785ab9457f9e9a8913640cd5d61a1dcc8a47d4213ca9fc513cbc4550d9327
6
+ metadata.gz: 5d0a7e80f943c7ddb92f4bfb185687035ae207fb9d97ca7ede9315826b96845fb7d357db25a1e4d11f91e50bd78cf35c21957e6b51be0194debe1503ed6bb5de
7
+ data.tar.gz: cdf59d1de14910842f54a875c7227bb262c17303545c43884b2e1a8b432e68963be5dd42f1013d00d29079080b77cc2c7167dfadd6e2e2ef08401dae033d52c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.55.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230919
6
+
7
+ ### v0.54.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230830
10
+
3
11
  ### v0.53.0 (2023-08-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20230814
@@ -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
@@ -1234,12 +1242,6 @@ module Google
1234
1242
  # @return [String]
1235
1243
  attr_accessor :gce_pd_kms_key_name
1236
1244
 
1237
- # Optional. The Cloud KMS key name to use for encrypting customer core content
1238
- # and cluster PD disk for all instances in the cluster.
1239
- # Corresponds to the JSON property `kmsKey`
1240
- # @return [String]
1241
- attr_accessor :kms_key
1242
-
1243
1245
  def initialize(**args)
1244
1246
  update!(**args)
1245
1247
  end
@@ -1247,7 +1249,6 @@ module Google
1247
1249
  # Update properties of this object
1248
1250
  def update!(**args)
1249
1251
  @gce_pd_kms_key_name = args[:gce_pd_kms_key_name] if args.key?(:gce_pd_kms_key_name)
1250
- @kms_key = args[:kms_key] if args.key?(:kms_key)
1251
1252
  end
1252
1253
  end
1253
1254
 
@@ -1357,18 +1358,18 @@ module Google
1357
1358
  # @return [String]
1358
1359
  attr_accessor :subnetwork_uri
1359
1360
 
1360
- # Optional. The duration after which the workload will be terminated. When the
1361
- # workload exceeds this duration, it will be unconditionally terminated without
1362
- # waiting for ongoing work to finish. If ttl is not specified for a batch
1363
- # workload, the workload will be allowed to run until it exits naturally (or
1364
- # runs forever without exiting). If ttl is not specified for an interactive
1365
- # session, it defaults to 24h. If ttl is not specified for a batch that uses 2.1+
1366
- # runtime version, it defaults to 4h. Minimum value is 10 minutes; maximum
1367
- # value is 14 days (see JSON representation of Duration (https://developers.
1368
- # google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are
1369
- # specified (for an interactive session), the conditions are treated as OR
1370
- # conditions: the workload will be terminated when it has been idle for idle_ttl
1371
- # or when ttl has been exceeded, whichever occurs first.
1361
+ # Optional. The duration after which the workload will be terminated, specified
1362
+ # as the JSON representation for Duration (https://protobuf.dev/programming-
1363
+ # guides/proto3/#json). When the workload exceeds this duration, it will be
1364
+ # unconditionally terminated without waiting for ongoing work to finish. If ttl
1365
+ # is not specified for a batch workload, the workload will be allowed to run
1366
+ # until it exits naturally (or run forever without exiting). If ttl is not
1367
+ # specified for an interactive session, it defaults to 24 hours. If ttl is not
1368
+ # specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours.
1369
+ # Minimum value is 10 minutes; maximum value is 14 days. If both ttl and
1370
+ # idle_ttl are specified (for an interactive session), the conditions are
1371
+ # treated as OR conditions: the workload will be terminated when it has been
1372
+ # idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
1372
1373
  # Corresponds to the JSON property `ttl`
1373
1374
  # @return [String]
1374
1375
  attr_accessor :ttl
@@ -1444,14 +1445,13 @@ module Google
1444
1445
  end
1445
1446
  end
1446
1447
 
1447
- # A Dataproc job for running Apache Flink (https://flink.apache.org/)
1448
- # applications on YARN.
1448
+ # A Dataproc job for running Apache Flink applications on YARN.
1449
1449
  class FlinkJob
1450
1450
  include Google::Apis::Core::Hashable
1451
1451
 
1452
1452
  # Optional. The arguments to pass to the driver. Do not include arguments, such
1453
- # as --conf, that can be set as job properties, since a collision may occur that
1454
- # causes an incorrect job submission.
1453
+ # as --conf, that can be set as job properties, since a collision might occur
1454
+ # that causes an incorrect job submission.
1455
1455
  # Corresponds to the JSON property `args`
1456
1456
  # @return [Array<String>]
1457
1457
  attr_accessor :args
@@ -1468,7 +1468,7 @@ module Google
1468
1468
  attr_accessor :logging_config
1469
1469
 
1470
1470
  # The name of the driver's main class. The jar file that contains the class must
1471
- # be in the default CLASSPATH or specified in jar_file_uris.
1471
+ # be in the default CLASSPATH or specified in jarFileUris.
1472
1472
  # Corresponds to the JSON property `mainClass`
1473
1473
  # @return [String]
1474
1474
  attr_accessor :main_class
@@ -1479,15 +1479,15 @@ module Google
1479
1479
  attr_accessor :main_jar_file_uri
1480
1480
 
1481
1481
  # Optional. A mapping of property names to values, used to configure Flink.
1482
- # Properties that conflict with values set by the Dataproc API may beoverwritten.
1483
- # Can include properties set in/etc/flink/conf/flink-defaults.conf and classes
1484
- # in user code.
1482
+ # Properties that conflict with values set by the Dataproc API might
1483
+ # beoverwritten. Can include properties set in/etc/flink/conf/flink-defaults.
1484
+ # conf and classes in user code.
1485
1485
  # Corresponds to the JSON property `properties`
1486
1486
  # @return [Hash<String,String>]
1487
1487
  attr_accessor :properties
1488
1488
 
1489
- # Optional. HCFS URI of the savepoint which contains the last saved progress for
1490
- # this job
1489
+ # Optional. HCFS URI of the savepoint, which contains the last saved progress
1490
+ # for starting the current job.
1491
1491
  # Corresponds to the JSON property `savepointUri`
1492
1492
  # @return [String]
1493
1493
  attr_accessor :savepoint_uri
@@ -1956,7 +1956,7 @@ module Google
1956
1956
 
1957
1957
  # Optional. The arguments to pass to the driver. Do not include arguments, such
1958
1958
  # as -libjars or -Dfoo=bar, that can be set as job properties, since a collision
1959
- # may occur that causes an incorrect job submission.
1959
+ # might occur that causes an incorrect job submission.
1960
1960
  # Corresponds to the JSON property `args`
1961
1961
  # @return [Array<String>]
1962
1962
  attr_accessor :args
@@ -1994,7 +1994,7 @@ module Google
1994
1994
  attr_accessor :main_jar_file_uri
1995
1995
 
1996
1996
  # Optional. A mapping of property names to values, used to configure Hadoop.
1997
- # Properties that conflict with values set by the Dataproc API may be
1997
+ # Properties that conflict with values set by the Dataproc API might be
1998
1998
  # overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes
1999
1999
  # in user code.
2000
2000
  # Corresponds to the JSON property `properties`
@@ -2038,7 +2038,7 @@ module Google
2038
2038
  attr_accessor :jar_file_uris
2039
2039
 
2040
2040
  # Optional. A mapping of property names and values, used to configure Hive.
2041
- # Properties that conflict with values set by the Dataproc API may be
2041
+ # Properties that conflict with values set by the Dataproc API might be
2042
2042
  # overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/
2043
2043
  # hive/conf/hive-site.xml, and classes in user code.
2044
2044
  # Corresponds to the JSON property `properties`
@@ -2124,29 +2124,21 @@ module Google
2124
2124
  end
2125
2125
  end
2126
2126
 
2127
- # A request to inject credentials to a session.
2128
- class InjectSessionCredentialsRequest
2127
+ # Instance flexibility Policy allowing a mixture of VM shapes and provisioning
2128
+ # models.
2129
+ class InstanceFlexibilityPolicy
2129
2130
  include Google::Apis::Core::Hashable
2130
2131
 
2131
- # Required. The encrypted credentials being injected in to the session.The
2132
- # client is responsible for encrypting the credentials in a way that is
2133
- # supported by the session.A wrapped value is used here so that the actual
2134
- # contents of the encrypted credentials are not written to audit logs.
2135
- # Corresponds to the JSON property `credentialsCiphertext`
2136
- # @return [String]
2137
- attr_accessor :credentials_ciphertext
2132
+ # Optional. List of instance selection options that the group will use when
2133
+ # creating new VMs.
2134
+ # Corresponds to the JSON property `instanceSelectionList`
2135
+ # @return [Array<Google::Apis::DataprocV1::InstanceSelection>]
2136
+ attr_accessor :instance_selection_list
2138
2137
 
2139
- # Optional. A unique ID used to identify the request. If the service receives
2140
- # two TerminateSessionRequest (https://cloud.google.com/dataproc/docs/reference/
2141
- # rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.TerminateSessionRequest)
2142
- # s with the same ID, the first request is ignored to ensure the most recent
2143
- # credentials are injected.Recommendation: Set this value to a UUID (https://en.
2144
- # wikipedia.org/wiki/Universally_unique_identifier).The value must contain only
2145
- # letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
2146
- # maximum length is 40 characters.
2147
- # Corresponds to the JSON property `requestId`
2148
- # @return [String]
2149
- attr_accessor :request_id
2138
+ # Output only. A list of instance selection results in the group.
2139
+ # Corresponds to the JSON property `instanceSelectionResults`
2140
+ # @return [Array<Google::Apis::DataprocV1::InstanceSelectionResult>]
2141
+ attr_accessor :instance_selection_results
2150
2142
 
2151
2143
  def initialize(**args)
2152
2144
  update!(**args)
@@ -2154,8 +2146,8 @@ module Google
2154
2146
 
2155
2147
  # Update properties of this object
2156
2148
  def update!(**args)
2157
- @credentials_ciphertext = args[:credentials_ciphertext] if args.key?(:credentials_ciphertext)
2158
- @request_id = args[:request_id] if args.key?(:request_id)
2149
+ @instance_selection_list = args[:instance_selection_list] if args.key?(:instance_selection_list)
2150
+ @instance_selection_results = args[:instance_selection_results] if args.key?(:instance_selection_results)
2159
2151
  end
2160
2152
  end
2161
2153
 
@@ -2238,6 +2230,12 @@ module Google
2238
2230
  # @return [String]
2239
2231
  attr_accessor :image_uri
2240
2232
 
2233
+ # Instance flexibility Policy allowing a mixture of VM shapes and provisioning
2234
+ # models.
2235
+ # Corresponds to the JSON property `instanceFlexibilityPolicy`
2236
+ # @return [Google::Apis::DataprocV1::InstanceFlexibilityPolicy]
2237
+ attr_accessor :instance_flexibility_policy
2238
+
2241
2239
  # Output only. The list of instance names. Dataproc derives the names from
2242
2240
  # cluster_name, num_instances, and the instance group.
2243
2241
  # Corresponds to the JSON property `instanceNames`
@@ -2279,19 +2277,14 @@ module Google
2279
2277
  # @return [String]
2280
2278
  attr_accessor :min_cpu_platform
2281
2279
 
2282
- # Optional. The minimum number of instances to create. If min_num_instances is
2283
- # set, min_num_instances is used for a criteria to decide the cluster. Cluster
2284
- # creation will be failed by being an error state if the total number of
2285
- # instances created is less than the min_num_instances. For example, given that
2286
- # num_instances = 5 and min_num_instances = 3, * if 4 instances are created and
2287
- # then registered successfully but one instance is failed, the failed VM will be
2288
- # deleted and the cluster will be resized to 4 instances in running state. * if
2289
- # 2 instances are created successfully and 3 instances are failed, the cluster
2290
- # will be in an error state and does not delete failed VMs for debugging. * if 2
2291
- # instance are created and then registered successfully but 3 instances are
2292
- # failed to initialize, the cluster will be in an error state and does not
2293
- # delete failed VMs for debugging. NB: This can only be set for primary workers
2294
- # now.
2280
+ # Optional. The minimum number of primary worker instances to create. If
2281
+ # min_num_instances is set, cluster creation will succeed if the number of
2282
+ # primary workers created is at least equal to the min_num_instances number.
2283
+ # Example: Cluster creation request with num_instances = 5 and min_num_instances
2284
+ # = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The
2285
+ # cluster is resized to 4 instances and placed in a RUNNING state. If 2
2286
+ # instances are created and 3 instances fail, the cluster in placed in an ERROR
2287
+ # state. The failed VMs are not deleted.
2295
2288
  # Corresponds to the JSON property `minNumInstances`
2296
2289
  # @return [Fixnum]
2297
2290
  attr_accessor :min_num_instances
@@ -2319,6 +2312,7 @@ module Google
2319
2312
  @accelerators = args[:accelerators] if args.key?(:accelerators)
2320
2313
  @disk_config = args[:disk_config] if args.key?(:disk_config)
2321
2314
  @image_uri = args[:image_uri] if args.key?(:image_uri)
2315
+ @instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
2322
2316
  @instance_names = args[:instance_names] if args.key?(:instance_names)
2323
2317
  @instance_references = args[:instance_references] if args.key?(:instance_references)
2324
2318
  @is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible)
@@ -2368,6 +2362,60 @@ module Google
2368
2362
  end
2369
2363
  end
2370
2364
 
2365
+ # Defines machines types and a rank to which the machines types belong.
2366
+ class InstanceSelection
2367
+ include Google::Apis::Core::Hashable
2368
+
2369
+ # Optional. Full machine-type names, e.g. "n1-standard-16".
2370
+ # Corresponds to the JSON property `machineTypes`
2371
+ # @return [Array<String>]
2372
+ attr_accessor :machine_types
2373
+
2374
+ # Optional. Preference of this instance selection. Lower number means higher
2375
+ # preference. Dataproc will first try to create a VM based on the machine-type
2376
+ # with priority rank and fallback to next rank based on availability. Machine
2377
+ # types and instance selections with the same priority have the same preference.
2378
+ # Corresponds to the JSON property `rank`
2379
+ # @return [Fixnum]
2380
+ attr_accessor :rank
2381
+
2382
+ def initialize(**args)
2383
+ update!(**args)
2384
+ end
2385
+
2386
+ # Update properties of this object
2387
+ def update!(**args)
2388
+ @machine_types = args[:machine_types] if args.key?(:machine_types)
2389
+ @rank = args[:rank] if args.key?(:rank)
2390
+ end
2391
+ end
2392
+
2393
+ # Defines a mapping from machine types to the number of VMs that are created
2394
+ # with each machine type.
2395
+ class InstanceSelectionResult
2396
+ include Google::Apis::Core::Hashable
2397
+
2398
+ # Output only. Full machine-type names, e.g. "n1-standard-16".
2399
+ # Corresponds to the JSON property `machineType`
2400
+ # @return [String]
2401
+ attr_accessor :machine_type
2402
+
2403
+ # Output only. Number of VM provisioned with the machine_type.
2404
+ # Corresponds to the JSON property `vmCount`
2405
+ # @return [Fixnum]
2406
+ attr_accessor :vm_count
2407
+
2408
+ def initialize(**args)
2409
+ update!(**args)
2410
+ end
2411
+
2412
+ # Update properties of this object
2413
+ def update!(**args)
2414
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
2415
+ @vm_count = args[:vm_count] if args.key?(:vm_count)
2416
+ end
2417
+ end
2418
+
2371
2419
  # A request to instantiate a workflow template.
2372
2420
  class InstantiateWorkflowTemplateRequest
2373
2421
  include Google::Apis::Core::Hashable
@@ -2450,8 +2498,8 @@ module Google
2450
2498
  attr_accessor :done
2451
2499
  alias_method :done?, :done
2452
2500
 
2453
- # Output only. If present, the location of miscellaneous control files which may
2454
- # be used as part of job setup and handling. If not present, control files may
2501
+ # Output only. If present, the location of miscellaneous control files which can
2502
+ # be used as part of job setup and handling. If not present, control files might
2455
2503
  # be placed in the same location as driver_output_uri.
2456
2504
  # Corresponds to the JSON property `driverControlFilesUri`
2457
2505
  # @return [String]
@@ -2468,8 +2516,7 @@ module Google
2468
2516
  # @return [Google::Apis::DataprocV1::DriverSchedulingConfig]
2469
2517
  attr_accessor :driver_scheduling_config
2470
2518
 
2471
- # A Dataproc job for running Apache Flink (https://flink.apache.org/)
2472
- # applications on YARN.
2519
+ # A Dataproc job for running Apache Flink applications on YARN.
2473
2520
  # Corresponds to the JSON property `flinkJob`
2474
2521
  # @return [Google::Apis::DataprocV1::FlinkJob]
2475
2522
  attr_accessor :flink_job
@@ -2489,7 +2536,7 @@ module Google
2489
2536
  attr_accessor :hive_job
2490
2537
 
2491
2538
  # Output only. A UUID that uniquely identifies a job within the project over
2492
- # time. This is in contrast to a user-settable reference.job_id that may be
2539
+ # time. This is in contrast to a user-settable reference.job_id that might be
2493
2540
  # reused over time.
2494
2541
  # Corresponds to the JSON property `jobUuid`
2495
2542
  # @return [String]
@@ -2497,7 +2544,7 @@ module Google
2497
2544
 
2498
2545
  # Optional. The labels to associate with this job. Label keys must contain 1 to
2499
2546
  # 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.
2500
- # txt). Label values may be empty, but, if present, must contain 1 to 63
2547
+ # txt). Label values can be empty, but, if present, must contain 1 to 63
2501
2548
  # characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt)
2502
2549
  # . No more than 32 labels can be associated with a job.
2503
2550
  # Corresponds to the JSON property `labels`
@@ -2576,8 +2623,8 @@ module Google
2576
2623
  attr_accessor :trino_job
2577
2624
 
2578
2625
  # Output only. The collection of YARN applications spun up by this job.Beta
2579
- # Feature: This report is available for testing purposes only. It may be changed
2580
- # before final release.
2626
+ # Feature: This report is available for testing purposes only. It might be
2627
+ # changed before final release.
2581
2628
  # Corresponds to the JSON property `yarnApplications`
2582
2629
  # @return [Array<Google::Apis::DataprocV1::YarnApplication>]
2583
2630
  attr_accessor :yarn_applications
@@ -2715,18 +2762,18 @@ module Google
2715
2762
  class JobScheduling
2716
2763
  include Google::Apis::Core::Hashable
2717
2764
 
2718
- # Optional. Maximum number of times per hour a driver may be restarted as a
2765
+ # Optional. Maximum number of times per hour a driver can be restarted as a
2719
2766
  # result of driver exiting with non-zero code before job is reported failed.A
2720
- # job may be reported as thrashing if the driver exits with a non-zero code four
2721
- # times within a 10-minute window.Maximum value is 10.Note: This restartable job
2722
- # option is not supported in Dataproc workflow templates (https://cloud.google.
2723
- # com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template)
2724
- # .
2767
+ # job might be reported as thrashing if the driver exits with a non-zero code
2768
+ # four times within a 10-minute window.Maximum value is 10.Note: This
2769
+ # restartable job option is not supported in Dataproc workflow templates (https:/
2770
+ # /cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#
2771
+ # adding_jobs_to_a_template).
2725
2772
  # Corresponds to the JSON property `maxFailuresPerHour`
2726
2773
  # @return [Fixnum]
2727
2774
  attr_accessor :max_failures_per_hour
2728
2775
 
2729
- # Optional. Maximum total number of times a driver may be restarted as a result
2776
+ # Optional. Maximum total number of times a driver can be restarted as a result
2730
2777
  # of the driver exiting with a non-zero code. After the maximum number is
2731
2778
  # reached, the job will be reported as failed.Maximum value is 240.Note:
2732
2779
  # Currently, this restartable job option is not supported in Dataproc workflow
@@ -3206,7 +3253,7 @@ module Google
3206
3253
  class ListSessionsResponse
3207
3254
  include Google::Apis::Core::Hashable
3208
3255
 
3209
- # A token, which can be sent as page_token to retrieve the next page. If this
3256
+ # A token, which can be sent as page_token, to retrieve the next page. If this
3210
3257
  # field is omitted, there are no subsequent pages.
3211
3258
  # Corresponds to the JSON property `nextPageToken`
3212
3259
  # @return [String]
@@ -3259,7 +3306,7 @@ module Google
3259
3306
  class LoggingConfig
3260
3307
  include Google::Apis::Core::Hashable
3261
3308
 
3262
- # The per-package log levels for the driver. This may include "root" package
3309
+ # The per-package log levels for the driver. This can include "root" package
3263
3310
  # name to configure rootLogger. Examples: - 'com.google = FATAL' - 'root = INFO'
3264
3311
  # - 'org.apache = DEBUG'
3265
3312
  # Corresponds to the JSON property `driverLogLevels`
@@ -3323,6 +3370,12 @@ module Google
3323
3370
  # @return [String]
3324
3371
  attr_accessor :instance_group_manager_name
3325
3372
 
3373
+ # Output only. The partial URI to the instance group manager for this group. E.g.
3374
+ # projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.
3375
+ # Corresponds to the JSON property `instanceGroupManagerUri`
3376
+ # @return [String]
3377
+ attr_accessor :instance_group_manager_uri
3378
+
3326
3379
  # Output only. The name of the Instance Template used for the Managed Instance
3327
3380
  # Group.
3328
3381
  # Corresponds to the JSON property `instanceTemplateName`
@@ -3336,6 +3389,7 @@ module Google
3336
3389
  # Update properties of this object
3337
3390
  def update!(**args)
3338
3391
  @instance_group_manager_name = args[:instance_group_manager_name] if args.key?(:instance_group_manager_name)
3392
+ @instance_group_manager_uri = args[:instance_group_manager_uri] if args.key?(:instance_group_manager_uri)
3339
3393
  @instance_template_name = args[:instance_template_name] if args.key?(:instance_template_name)
3340
3394
  end
3341
3395
  end
@@ -3688,6 +3742,11 @@ module Google
3688
3742
  class OrderedJob
3689
3743
  include Google::Apis::Core::Hashable
3690
3744
 
3745
+ # A Dataproc job for running Apache Flink applications on YARN.
3746
+ # Corresponds to the JSON property `flinkJob`
3747
+ # @return [Google::Apis::DataprocV1::FlinkJob]
3748
+ attr_accessor :flink_job
3749
+
3691
3750
  # A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
3692
3751
  # docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
3693
3752
  # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
@@ -3784,6 +3843,7 @@ module Google
3784
3843
 
3785
3844
  # Update properties of this object
3786
3845
  def update!(**args)
3846
+ @flink_job = args[:flink_job] if args.key?(:flink_job)
3787
3847
  @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job)
3788
3848
  @hive_job = args[:hive_job] if args.key?(:hive_job)
3789
3849
  @labels = args[:labels] if args.key?(:labels)
@@ -3876,7 +3936,7 @@ module Google
3876
3936
  attr_accessor :logging_config
3877
3937
 
3878
3938
  # Optional. A mapping of property names to values, used to configure Pig.
3879
- # Properties that conflict with values set by the Dataproc API may be
3939
+ # Properties that conflict with values set by the Dataproc API might be
3880
3940
  # overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/
3881
3941
  # pig/conf/pig.properties, and classes in user code.
3882
3942
  # Corresponds to the JSON property `properties`
@@ -4066,6 +4126,25 @@ module Google
4066
4126
  end
4067
4127
  end
4068
4128
 
4129
+ # Configuration for PyPi repository
4130
+ class PyPiRepositoryConfig
4131
+ include Google::Apis::Core::Hashable
4132
+
4133
+ # Optional. PyPi repository address
4134
+ # Corresponds to the JSON property `pypiRepository`
4135
+ # @return [String]
4136
+ attr_accessor :pypi_repository
4137
+
4138
+ def initialize(**args)
4139
+ update!(**args)
4140
+ end
4141
+
4142
+ # Update properties of this object
4143
+ def update!(**args)
4144
+ @pypi_repository = args[:pypi_repository] if args.key?(:pypi_repository)
4145
+ end
4146
+ end
4147
+
4069
4148
  # A configuration for running an Apache PySpark (https://spark.apache.org/docs/
4070
4149
  # latest/api/python/getting_started/quickstart.html) batch workload.
4071
4150
  class PySparkBatch
@@ -4165,7 +4244,7 @@ module Google
4165
4244
  attr_accessor :main_python_file_uri
4166
4245
 
4167
4246
  # Optional. A mapping of property names to values, used to configure PySpark.
4168
- # Properties that conflict with values set by the Dataproc API may be
4247
+ # Properties that conflict with values set by the Dataproc API might be
4169
4248
  # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
4170
4249
  # and classes in user code.
4171
4250
  # Corresponds to the JSON property `properties`
@@ -4297,6 +4376,25 @@ module Google
4297
4376
  end
4298
4377
  end
4299
4378
 
4379
+ # Configuration for dependency repositories
4380
+ class RepositoryConfig
4381
+ include Google::Apis::Core::Hashable
4382
+
4383
+ # Configuration for PyPi repository
4384
+ # Corresponds to the JSON property `pypiRepositoryConfig`
4385
+ # @return [Google::Apis::DataprocV1::PyPiRepositoryConfig]
4386
+ attr_accessor :pypi_repository_config
4387
+
4388
+ def initialize(**args)
4389
+ update!(**args)
4390
+ end
4391
+
4392
+ # Update properties of this object
4393
+ def update!(**args)
4394
+ @pypi_repository_config = args[:pypi_repository_config] if args.key?(:pypi_repository_config)
4395
+ end
4396
+ end
4397
+
4300
4398
  # Reservation Affinity for consuming Zonal reservation.
4301
4399
  class ReservationAffinity
4302
4400
  include Google::Apis::Core::Hashable
@@ -4393,6 +4491,11 @@ module Google
4393
4491
  # @return [Hash<String,String>]
4394
4492
  attr_accessor :properties
4395
4493
 
4494
+ # Configuration for dependency repositories
4495
+ # Corresponds to the JSON property `repositoryConfig`
4496
+ # @return [Google::Apis::DataprocV1::RepositoryConfig]
4497
+ attr_accessor :repository_config
4498
+
4396
4499
  # Optional. Version of the batch runtime.
4397
4500
  # Corresponds to the JSON property `version`
4398
4501
  # @return [String]
@@ -4406,6 +4509,7 @@ module Google
4406
4509
  def update!(**args)
4407
4510
  @container_image = args[:container_image] if args.key?(:container_image)
4408
4511
  @properties = args[:properties] if args.key?(:properties)
4512
+ @repository_config = args[:repository_config] if args.key?(:repository_config)
4409
4513
  @version = args[:version] if args.key?(:version)
4410
4514
  end
4411
4515
  end
@@ -4482,7 +4586,7 @@ module Google
4482
4586
  end
4483
4587
  end
4484
4588
 
4485
- # A representation of a session in the service. Next ID: 18
4589
+ # A representation of a session.
4486
4590
  class Session
4487
4591
  include Google::Apis::Core::Hashable
4488
4592
 
@@ -4506,7 +4610,7 @@ module Google
4506
4610
  # @return [Google::Apis::DataprocV1::JupyterConfig]
4507
4611
  attr_accessor :jupyter_session
4508
4612
 
4509
- # Optional. The labels to associate with this session. Label keys must contain 1
4613
+ # Optional. The labels to associate with the session. Label keys must contain 1
4510
4614
  # to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/
4511
4615
  # rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63
4512
4616
  # characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt)
@@ -4530,12 +4634,12 @@ module Google
4530
4634
  # @return [Google::Apis::DataprocV1::RuntimeInfo]
4531
4635
  attr_accessor :runtime_info
4532
4636
 
4533
- # Optional. The session template used by the session.Only resource names
4534
- # including project ID and location are valid.Example: * https://www.googleapis.
4637
+ # Optional. The session template used by the session.Only resource names,
4638
+ # including project ID and location, are valid.Example: * https://www.googleapis.
4535
4639
  # com/compute/v1/projects/[project_id]/locations/[dataproc_region]/
4536
4640
  # sessionTemplates/[template_id] * projects/[project_id]/locations/[
4537
- # dataproc_region]/sessionTemplates/[template_id]Note that the template must be
4538
- # in the same project and Dataproc region.
4641
+ # dataproc_region]/sessionTemplates/[template_id]The template must be in the
4642
+ # same project and Dataproc region as the session.
4539
4643
  # Corresponds to the JSON property `sessionTemplate`
4540
4644
  # @return [String]
4541
4645
  attr_accessor :session_template
@@ -4550,13 +4654,13 @@ module Google
4550
4654
  # @return [Array<Google::Apis::DataprocV1::SessionStateHistory>]
4551
4655
  attr_accessor :state_history
4552
4656
 
4553
- # Output only. Session state details, such as a failure description if the state
4554
- # is FAILED.
4657
+ # Output only. Session state details, such as the failure description if the
4658
+ # state is FAILED.
4555
4659
  # Corresponds to the JSON property `stateMessage`
4556
4660
  # @return [String]
4557
4661
  attr_accessor :state_message
4558
4662
 
4559
- # Output only. The time when the session entered a current state.
4663
+ # Output only. The time when the session entered the current state.
4560
4664
  # Corresponds to the JSON property `stateTime`
4561
4665
  # @return [String]
4562
4666
  attr_accessor :state_time
@@ -4661,12 +4765,12 @@ module Google
4661
4765
  class SessionStateHistory
4662
4766
  include Google::Apis::Core::Hashable
4663
4767
 
4664
- # Output only. The state of the session at this point in history.
4768
+ # Output only. The state of the session at this point in the session history.
4665
4769
  # Corresponds to the JSON property `state`
4666
4770
  # @return [String]
4667
4771
  attr_accessor :state
4668
4772
 
4669
- # Output only. Details about the state at this point in history.
4773
+ # Output only. Details about the state at this point in the session history.
4670
4774
  # Corresponds to the JSON property `stateMessage`
4671
4775
  # @return [String]
4672
4776
  attr_accessor :state_message
@@ -4688,7 +4792,7 @@ module Google
4688
4792
  end
4689
4793
  end
4690
4794
 
4691
- # A representation of a session template in the service. Next ID: 12
4795
+ # A representation of a session template.
4692
4796
  class SessionTemplate
4693
4797
  include Google::Apis::Core::Hashable
4694
4798
 
@@ -4717,12 +4821,11 @@ module Google
4717
4821
  # @return [Google::Apis::DataprocV1::JupyterConfig]
4718
4822
  attr_accessor :jupyter_session
4719
4823
 
4720
- # Optional. The labels to associate with sessions created using this template.
4721
- # Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (
4722
- # https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if
4723
- # present, must contain 1 to 63 characters, and must conform to RFC 1035 (https:/
4724
- # /www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with
4725
- # a session.
4824
+ # Optional. Labels to associate with sessions created using this template. Label
4825
+ # keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://
4826
+ # www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present,
4827
+ # must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/
4828
+ # rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
4726
4829
  # Corresponds to the JSON property `labels`
4727
4830
  # @return [Hash<String,String>]
4728
4831
  attr_accessor :labels
@@ -4737,11 +4840,17 @@ module Google
4737
4840
  # @return [Google::Apis::DataprocV1::RuntimeConfig]
4738
4841
  attr_accessor :runtime_config
4739
4842
 
4740
- # Output only. The time template was last updated.
4843
+ # Output only. The time the template was last updated.
4741
4844
  # Corresponds to the JSON property `updateTime`
4742
4845
  # @return [String]
4743
4846
  attr_accessor :update_time
4744
4847
 
4848
+ # Output only. A session template UUID (Unique Universal Identifier). The
4849
+ # service generates this value when it creates the session template.
4850
+ # Corresponds to the JSON property `uuid`
4851
+ # @return [String]
4852
+ attr_accessor :uuid
4853
+
4745
4854
  def initialize(**args)
4746
4855
  update!(**args)
4747
4856
  end
@@ -4757,6 +4866,7 @@ module Google
4757
4866
  @name = args[:name] if args.key?(:name)
4758
4867
  @runtime_config = args[:runtime_config] if args.key?(:runtime_config)
4759
4868
  @update_time = args[:update_time] if args.key?(:update_time)
4869
+ @uuid = args[:uuid] if args.key?(:uuid)
4760
4870
  end
4761
4871
  end
4762
4872
 
@@ -4996,7 +5106,7 @@ module Google
4996
5106
  attr_accessor :logging_config
4997
5107
 
4998
5108
  # The name of the driver's main class. The jar file that contains the class must
4999
- # be in the default CLASSPATH or specified in jar_file_uris.
5109
+ # be in the default CLASSPATH or specified in SparkJob.jar_file_uris.
5000
5110
  # Corresponds to the JSON property `mainClass`
5001
5111
  # @return [String]
5002
5112
  attr_accessor :main_class
@@ -5007,7 +5117,7 @@ module Google
5007
5117
  attr_accessor :main_jar_file_uri
5008
5118
 
5009
5119
  # Optional. A mapping of property names to values, used to configure Spark.
5010
- # Properties that conflict with values set by the Dataproc API may be
5120
+ # Properties that conflict with values set by the Dataproc API might be
5011
5121
  # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
5012
5122
  # and classes in user code.
5013
5123
  # Corresponds to the JSON property `properties`
@@ -5110,7 +5220,7 @@ module Google
5110
5220
  attr_accessor :main_r_file_uri
5111
5221
 
5112
5222
  # Optional. A mapping of property names to values, used to configure SparkR.
5113
- # Properties that conflict with values set by the Dataproc API may be
5223
+ # Properties that conflict with values set by the Dataproc API might be
5114
5224
  # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
5115
5225
  # and classes in user code.
5116
5226
  # Corresponds to the JSON property `properties`
@@ -5182,8 +5292,8 @@ module Google
5182
5292
  attr_accessor :logging_config
5183
5293
 
5184
5294
  # Optional. A mapping of property names to values, used to configure Spark SQL's
5185
- # SparkConf. Properties that conflict with values set by the Dataproc API may be
5186
- # overwritten.
5295
+ # SparkConf. Properties that conflict with values set by the Dataproc API might
5296
+ # be overwritten.
5187
5297
  # Corresponds to the JSON property `properties`
5188
5298
  # @return [Hash<String,String>]
5189
5299
  attr_accessor :properties
@@ -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.53.0"
19
+ GEM_VERSION = "0.55.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 = "20230814"
25
+ REVISION = "20230919"
26
26
  end
27
27
  end
28
28
  end
@@ -292,7 +292,7 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
- class InjectSessionCredentialsRequest
295
+ class InstanceFlexibilityPolicy
296
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
297
 
298
298
  include Google::Apis::Core::JsonObjectSupport
@@ -316,6 +316,18 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class InstanceSelection
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class InstanceSelectionResult
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
319
331
  class InstantiateWorkflowTemplateRequest
320
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
333
 
@@ -550,6 +562,12 @@ module Google
550
562
  include Google::Apis::Core::JsonObjectSupport
551
563
  end
552
564
 
565
+ class PyPiRepositoryConfig
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
553
571
  class PySparkBatch
554
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
573
 
@@ -580,6 +598,12 @@ module Google
580
598
  include Google::Apis::Core::JsonObjectSupport
581
599
  end
582
600
 
601
+ class RepositoryConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
583
607
  class ReservationAffinity
584
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
609
 
@@ -1094,6 +1118,7 @@ module Google
1094
1118
 
1095
1119
  property :job, as: 'job'
1096
1120
  collection :jobs, as: 'jobs'
1121
+ property :tarball_gcs_dir, as: 'tarballGcsDir'
1097
1122
  property :yarn_application_id, as: 'yarnApplicationId'
1098
1123
  collection :yarn_application_ids, as: 'yarnApplicationIds'
1099
1124
  end
@@ -1134,7 +1159,6 @@ module Google
1134
1159
  # @private
1135
1160
  class Representation < Google::Apis::Core::JsonRepresentation
1136
1161
  property :gce_pd_kms_key_name, as: 'gcePdKmsKeyName'
1137
- property :kms_key, as: 'kmsKey'
1138
1162
  end
1139
1163
  end
1140
1164
 
@@ -1338,11 +1362,13 @@ module Google
1338
1362
  end
1339
1363
  end
1340
1364
 
1341
- class InjectSessionCredentialsRequest
1365
+ class InstanceFlexibilityPolicy
1342
1366
  # @private
1343
1367
  class Representation < Google::Apis::Core::JsonRepresentation
1344
- property :credentials_ciphertext, as: 'credentialsCiphertext'
1345
- property :request_id, as: 'requestId'
1368
+ collection :instance_selection_list, as: 'instanceSelectionList', class: Google::Apis::DataprocV1::InstanceSelection, decorator: Google::Apis::DataprocV1::InstanceSelection::Representation
1369
+
1370
+ collection :instance_selection_results, as: 'instanceSelectionResults', class: Google::Apis::DataprocV1::InstanceSelectionResult, decorator: Google::Apis::DataprocV1::InstanceSelectionResult::Representation
1371
+
1346
1372
  end
1347
1373
  end
1348
1374
 
@@ -1363,6 +1389,8 @@ module Google
1363
1389
  property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
1364
1390
 
1365
1391
  property :image_uri, as: 'imageUri'
1392
+ property :instance_flexibility_policy, as: 'instanceFlexibilityPolicy', class: Google::Apis::DataprocV1::InstanceFlexibilityPolicy, decorator: Google::Apis::DataprocV1::InstanceFlexibilityPolicy::Representation
1393
+
1366
1394
  collection :instance_names, as: 'instanceNames'
1367
1395
  collection :instance_references, as: 'instanceReferences', class: Google::Apis::DataprocV1::InstanceReference, decorator: Google::Apis::DataprocV1::InstanceReference::Representation
1368
1396
 
@@ -1387,6 +1415,22 @@ module Google
1387
1415
  end
1388
1416
  end
1389
1417
 
1418
+ class InstanceSelection
1419
+ # @private
1420
+ class Representation < Google::Apis::Core::JsonRepresentation
1421
+ collection :machine_types, as: 'machineTypes'
1422
+ property :rank, as: 'rank'
1423
+ end
1424
+ end
1425
+
1426
+ class InstanceSelectionResult
1427
+ # @private
1428
+ class Representation < Google::Apis::Core::JsonRepresentation
1429
+ property :machine_type, as: 'machineType'
1430
+ property :vm_count, as: 'vmCount'
1431
+ end
1432
+ end
1433
+
1390
1434
  class InstantiateWorkflowTemplateRequest
1391
1435
  # @private
1392
1436
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1646,6 +1690,7 @@ module Google
1646
1690
  # @private
1647
1691
  class Representation < Google::Apis::Core::JsonRepresentation
1648
1692
  property :instance_group_manager_name, as: 'instanceGroupManagerName'
1693
+ property :instance_group_manager_uri, as: 'instanceGroupManagerUri'
1649
1694
  property :instance_template_name, as: 'instanceTemplateName'
1650
1695
  end
1651
1696
  end
@@ -1739,6 +1784,8 @@ module Google
1739
1784
  class OrderedJob
1740
1785
  # @private
1741
1786
  class Representation < Google::Apis::Core::JsonRepresentation
1787
+ property :flink_job, as: 'flinkJob', class: Google::Apis::DataprocV1::FlinkJob, decorator: Google::Apis::DataprocV1::FlinkJob::Representation
1788
+
1742
1789
  property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
1743
1790
 
1744
1791
  property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
@@ -1824,6 +1871,13 @@ module Google
1824
1871
  end
1825
1872
  end
1826
1873
 
1874
+ class PyPiRepositoryConfig
1875
+ # @private
1876
+ class Representation < Google::Apis::Core::JsonRepresentation
1877
+ property :pypi_repository, as: 'pypiRepository'
1878
+ end
1879
+ end
1880
+
1827
1881
  class PySparkBatch
1828
1882
  # @private
1829
1883
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1877,6 +1931,14 @@ module Google
1877
1931
  end
1878
1932
  end
1879
1933
 
1934
+ class RepositoryConfig
1935
+ # @private
1936
+ class Representation < Google::Apis::Core::JsonRepresentation
1937
+ property :pypi_repository_config, as: 'pypiRepositoryConfig', class: Google::Apis::DataprocV1::PyPiRepositoryConfig, decorator: Google::Apis::DataprocV1::PyPiRepositoryConfig::Representation
1938
+
1939
+ end
1940
+ end
1941
+
1880
1942
  class ReservationAffinity
1881
1943
  # @private
1882
1944
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1900,6 +1962,8 @@ module Google
1900
1962
  class Representation < Google::Apis::Core::JsonRepresentation
1901
1963
  property :container_image, as: 'containerImage'
1902
1964
  hash :properties, as: 'properties'
1965
+ property :repository_config, as: 'repositoryConfig', class: Google::Apis::DataprocV1::RepositoryConfig, decorator: Google::Apis::DataprocV1::RepositoryConfig::Representation
1966
+
1903
1967
  property :version, as: 'version'
1904
1968
  end
1905
1969
  end
@@ -1991,6 +2055,7 @@ module Google
1991
2055
  property :runtime_config, as: 'runtimeConfig', class: Google::Apis::DataprocV1::RuntimeConfig, decorator: Google::Apis::DataprocV1::RuntimeConfig::Representation
1992
2056
 
1993
2057
  property :update_time, as: 'updateTime'
2058
+ property :uuid, as: 'uuid'
1994
2059
  end
1995
2060
  end
1996
2061
 
@@ -665,7 +665,7 @@ module Google
665
665
  execute_or_queue_command(command, &block)
666
666
  end
667
667
 
668
- # Create an session template, synchronously.
668
+ # Create a session template synchronously.
669
669
  # @param [String] parent
670
670
  # Required. The parent resource where this session template will be created.
671
671
  # @param [Google::Apis::DataprocV1::SessionTemplate] session_template_object
@@ -760,7 +760,7 @@ module Google
760
760
 
761
761
  # Lists session templates.
762
762
  # @param [String] parent
763
- # Required. The parent, which owns this collection of session templates.
763
+ # Required. The parent that owns this collection of session templates.
764
764
  # @param [String] filter
765
765
  # Optional. A filter for the session templates to return in the response.
766
766
  # Filters are case sensitive and have the following syntax:field = value AND
@@ -801,8 +801,7 @@ module Google
801
801
  execute_or_queue_command(command, &block)
802
802
  end
803
803
 
804
- # Updates the session template, synchronously.Disable check for update_mask,
805
- # because all updates will be full replacements.
804
+ # Updates the session template synchronously.
806
805
  # @param [String] name
807
806
  # Required. The resource name of the session template.
808
807
  # @param [Google::Apis::DataprocV1::SessionTemplate] session_template_object
@@ -841,11 +840,11 @@ module Google
841
840
  # @param [Google::Apis::DataprocV1::Session] session_object
842
841
  # @param [String] request_id
843
842
  # Optional. A unique ID used to identify the request. If the service receives
844
- # two CreateSessionRequest (https://cloud.google.com/dataproc/docs/reference/rpc/
845
- # google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateSessionRequest)s with
846
- # the same ID, the second request is ignored and the first Session is created
847
- # and stored in the backend is returned.Recommendation: Set this value to a UUID
848
- # (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must
843
+ # two CreateSessionRequests (https://cloud.google.com/dataproc/docs/reference/
844
+ # rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateSessionRequest)s
845
+ # with the same ID, the second request is ignored, and the first Session is
846
+ # created and stored in the backend.Recommendation: Set this value to a UUID (
847
+ # https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must
849
848
  # contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-
850
849
  # ). The maximum length is 40 characters.
851
850
  # @param [String] session_id
@@ -884,7 +883,7 @@ module Google
884
883
  end
885
884
 
886
885
  # Deletes the interactive session resource. If the session is not in terminal
887
- # state, it will be terminated and deleted afterwards.
886
+ # state, it is terminated, and then deleted.
888
887
  # @param [String] name
889
888
  # Required. The name of the session resource to delete.
890
889
  # @param [String] request_id
@@ -953,39 +952,6 @@ module Google
953
952
  execute_or_queue_command(command, &block)
954
953
  end
955
954
 
956
- # Inject Credentials in the interactive session.
957
- # @param [String] session
958
- # Required. The name of the session resource to inject credentials to.
959
- # @param [Google::Apis::DataprocV1::InjectSessionCredentialsRequest] inject_session_credentials_request_object
960
- # @param [String] fields
961
- # Selector specifying which fields to include in a partial response.
962
- # @param [String] quota_user
963
- # Available to use for quota purposes for server-side applications. Can be any
964
- # arbitrary string assigned to a user, but should not exceed 40 characters.
965
- # @param [Google::Apis::RequestOptions] options
966
- # Request-specific options
967
- #
968
- # @yield [result, err] Result & error if block supplied
969
- # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
970
- # @yieldparam err [StandardError] error object if request failed
971
- #
972
- # @return [Google::Apis::DataprocV1::Operation]
973
- #
974
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
975
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
976
- # @raise [Google::Apis::AuthorizationError] Authorization is required
977
- def inject_project_location_session_credentials(session, inject_session_credentials_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
978
- command = make_simple_command(:post, 'v1/{+session}:injectCredentials', options)
979
- command.request_representation = Google::Apis::DataprocV1::InjectSessionCredentialsRequest::Representation
980
- command.request_object = inject_session_credentials_request_object
981
- command.response_representation = Google::Apis::DataprocV1::Operation::Representation
982
- command.response_class = Google::Apis::DataprocV1::Operation
983
- command.params['session'] = session unless session.nil?
984
- command.query['fields'] = fields unless fields.nil?
985
- command.query['quotaUser'] = quota_user unless quota_user.nil?
986
- execute_or_queue_command(command, &block)
987
- end
988
-
989
955
  # Lists interactive sessions.
990
956
  # @param [String] parent
991
957
  # Required. The parent, which owns this collection of sessions.
@@ -993,12 +959,12 @@ module Google
993
959
  # Optional. A filter for the sessions to return in the response.A filter is a
994
960
  # logical expression constraining the values of various fields in each session
995
961
  # resource. Filters are case sensitive, and may contain multiple clauses
996
- # combined with logical operators (AND/OR). Supported fields are session_id,
997
- # session_uuid, state, and create_time.e.g. state = ACTIVE and create_time < "
998
- # 2023-01-01T00:00:00Z" filters for sessions in state ACTIVE that were created
999
- # before 2023-01-01See https://google.aip.dev/assets/misc/ebnf-filtering.txt for
1000
- # a detailed description of the filter syntax and a list of supported
1001
- # comparisons.
962
+ # combined with logical operators (AND, OR). Supported fields are session_id,
963
+ # session_uuid, state, and create_time.Example: state = ACTIVE and create_time <
964
+ # "2023-01-01T00:00:00Z" is a filter for sessions in an ACTIVE state that were
965
+ # created before 2023-01-01.See https://google.aip.dev/assets/misc/ebnf-
966
+ # filtering.txt for a detailed description of the filter syntax and a list of
967
+ # supported comparators.
1002
968
  # @param [Fixnum] page_size
1003
969
  # Optional. The maximum number of sessions to return in each response. The
1004
970
  # service may return fewer than this value.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataproc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-27 00:00:00.000000000 Z
11
+ date: 2023-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.55.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []