google-apis-dataproc_v1 0.52.0 → 0.54.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.
@@ -292,6 +292,12 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class InstanceFlexibilityPolicy
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class InstanceGroupAutoscalingPolicyConfig
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
@@ -310,6 +316,18 @@ module Google
310
316
  include Google::Apis::Core::JsonObjectSupport
311
317
  end
312
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
+
313
331
  class InstantiateWorkflowTemplateRequest
314
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
333
 
@@ -358,6 +376,12 @@ module Google
358
376
  include Google::Apis::Core::JsonObjectSupport
359
377
  end
360
378
 
379
+ class JupyterConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
361
385
  class KerberosConfig
362
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
387
 
@@ -412,6 +436,18 @@ module Google
412
436
  include Google::Apis::Core::JsonObjectSupport
413
437
  end
414
438
 
439
+ class ListSessionTemplatesResponse
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class ListSessionsResponse
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
415
451
  class ListWorkflowTemplatesResponse
416
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
453
 
@@ -526,6 +562,12 @@ module Google
526
562
  include Google::Apis::Core::JsonObjectSupport
527
563
  end
528
564
 
565
+ class PyPiRepositoryConfig
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
529
571
  class PySparkBatch
530
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
573
 
@@ -556,6 +598,12 @@ module Google
556
598
  include Google::Apis::Core::JsonObjectSupport
557
599
  end
558
600
 
601
+ class RepositoryConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
559
607
  class ReservationAffinity
560
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
609
 
@@ -586,12 +634,30 @@ module Google
586
634
  include Google::Apis::Core::JsonObjectSupport
587
635
  end
588
636
 
637
+ class Session
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
589
643
  class SessionOperationMetadata
590
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
645
 
592
646
  include Google::Apis::Core::JsonObjectSupport
593
647
  end
594
648
 
649
+ class SessionStateHistory
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class SessionTemplate
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
595
661
  class SetIamPolicyRequest
596
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
663
 
@@ -694,6 +760,12 @@ module Google
694
760
  include Google::Apis::Core::JsonObjectSupport
695
761
  end
696
762
 
763
+ class TerminateSessionRequest
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
697
769
  class TestIamPermissionsRequest
698
770
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
771
 
@@ -1046,6 +1118,7 @@ module Google
1046
1118
 
1047
1119
  property :job, as: 'job'
1048
1120
  collection :jobs, as: 'jobs'
1121
+ property :tarball_gcs_dir, as: 'tarballGcsDir'
1049
1122
  property :yarn_application_id, as: 'yarnApplicationId'
1050
1123
  collection :yarn_application_ids, as: 'yarnApplicationIds'
1051
1124
  end
@@ -1290,6 +1363,16 @@ module Google
1290
1363
  end
1291
1364
  end
1292
1365
 
1366
+ class InstanceFlexibilityPolicy
1367
+ # @private
1368
+ class Representation < Google::Apis::Core::JsonRepresentation
1369
+ collection :instance_selection_list, as: 'instanceSelectionList', class: Google::Apis::DataprocV1::InstanceSelection, decorator: Google::Apis::DataprocV1::InstanceSelection::Representation
1370
+
1371
+ collection :instance_selection_results, as: 'instanceSelectionResults', class: Google::Apis::DataprocV1::InstanceSelectionResult, decorator: Google::Apis::DataprocV1::InstanceSelectionResult::Representation
1372
+
1373
+ end
1374
+ end
1375
+
1293
1376
  class InstanceGroupAutoscalingPolicyConfig
1294
1377
  # @private
1295
1378
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1307,6 +1390,8 @@ module Google
1307
1390
  property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
1308
1391
 
1309
1392
  property :image_uri, as: 'imageUri'
1393
+ property :instance_flexibility_policy, as: 'instanceFlexibilityPolicy', class: Google::Apis::DataprocV1::InstanceFlexibilityPolicy, decorator: Google::Apis::DataprocV1::InstanceFlexibilityPolicy::Representation
1394
+
1310
1395
  collection :instance_names, as: 'instanceNames'
1311
1396
  collection :instance_references, as: 'instanceReferences', class: Google::Apis::DataprocV1::InstanceReference, decorator: Google::Apis::DataprocV1::InstanceReference::Representation
1312
1397
 
@@ -1331,6 +1416,22 @@ module Google
1331
1416
  end
1332
1417
  end
1333
1418
 
1419
+ class InstanceSelection
1420
+ # @private
1421
+ class Representation < Google::Apis::Core::JsonRepresentation
1422
+ collection :machine_types, as: 'machineTypes'
1423
+ property :rank, as: 'rank'
1424
+ end
1425
+ end
1426
+
1427
+ class InstanceSelectionResult
1428
+ # @private
1429
+ class Representation < Google::Apis::Core::JsonRepresentation
1430
+ property :machine_type, as: 'machineType'
1431
+ property :vm_count, as: 'vmCount'
1432
+ end
1433
+ end
1434
+
1334
1435
  class InstantiateWorkflowTemplateRequest
1335
1436
  # @private
1336
1437
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1439,6 +1540,14 @@ module Google
1439
1540
  end
1440
1541
  end
1441
1542
 
1543
+ class JupyterConfig
1544
+ # @private
1545
+ class Representation < Google::Apis::Core::JsonRepresentation
1546
+ property :display_name, as: 'displayName'
1547
+ property :kernel, as: 'kernel'
1548
+ end
1549
+ end
1550
+
1442
1551
  class KerberosConfig
1443
1552
  # @private
1444
1553
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1534,6 +1643,24 @@ module Google
1534
1643
  end
1535
1644
  end
1536
1645
 
1646
+ class ListSessionTemplatesResponse
1647
+ # @private
1648
+ class Representation < Google::Apis::Core::JsonRepresentation
1649
+ property :next_page_token, as: 'nextPageToken'
1650
+ collection :session_templates, as: 'sessionTemplates', class: Google::Apis::DataprocV1::SessionTemplate, decorator: Google::Apis::DataprocV1::SessionTemplate::Representation
1651
+
1652
+ end
1653
+ end
1654
+
1655
+ class ListSessionsResponse
1656
+ # @private
1657
+ class Representation < Google::Apis::Core::JsonRepresentation
1658
+ property :next_page_token, as: 'nextPageToken'
1659
+ collection :sessions, as: 'sessions', class: Google::Apis::DataprocV1::Session, decorator: Google::Apis::DataprocV1::Session::Representation
1660
+
1661
+ end
1662
+ end
1663
+
1537
1664
  class ListWorkflowTemplatesResponse
1538
1665
  # @private
1539
1666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1564,6 +1691,7 @@ module Google
1564
1691
  # @private
1565
1692
  class Representation < Google::Apis::Core::JsonRepresentation
1566
1693
  property :instance_group_manager_name, as: 'instanceGroupManagerName'
1694
+ property :instance_group_manager_uri, as: 'instanceGroupManagerUri'
1567
1695
  property :instance_template_name, as: 'instanceTemplateName'
1568
1696
  end
1569
1697
  end
@@ -1742,6 +1870,13 @@ module Google
1742
1870
  end
1743
1871
  end
1744
1872
 
1873
+ class PyPiRepositoryConfig
1874
+ # @private
1875
+ class Representation < Google::Apis::Core::JsonRepresentation
1876
+ property :pypi_repository, as: 'pypiRepository'
1877
+ end
1878
+ end
1879
+
1745
1880
  class PySparkBatch
1746
1881
  # @private
1747
1882
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1795,6 +1930,14 @@ module Google
1795
1930
  end
1796
1931
  end
1797
1932
 
1933
+ class RepositoryConfig
1934
+ # @private
1935
+ class Representation < Google::Apis::Core::JsonRepresentation
1936
+ property :pypi_repository_config, as: 'pypiRepositoryConfig', class: Google::Apis::DataprocV1::PyPiRepositoryConfig, decorator: Google::Apis::DataprocV1::PyPiRepositoryConfig::Representation
1937
+
1938
+ end
1939
+ end
1940
+
1798
1941
  class ReservationAffinity
1799
1942
  # @private
1800
1943
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1818,6 +1961,8 @@ module Google
1818
1961
  class Representation < Google::Apis::Core::JsonRepresentation
1819
1962
  property :container_image, as: 'containerImage'
1820
1963
  hash :properties, as: 'properties'
1964
+ property :repository_config, as: 'repositoryConfig', class: Google::Apis::DataprocV1::RepositoryConfig, decorator: Google::Apis::DataprocV1::RepositoryConfig::Representation
1965
+
1821
1966
  property :version, as: 'version'
1822
1967
  end
1823
1968
  end
@@ -1845,6 +1990,32 @@ module Google
1845
1990
  end
1846
1991
  end
1847
1992
 
1993
+ class Session
1994
+ # @private
1995
+ class Representation < Google::Apis::Core::JsonRepresentation
1996
+ property :create_time, as: 'createTime'
1997
+ property :creator, as: 'creator'
1998
+ property :environment_config, as: 'environmentConfig', class: Google::Apis::DataprocV1::EnvironmentConfig, decorator: Google::Apis::DataprocV1::EnvironmentConfig::Representation
1999
+
2000
+ property :jupyter_session, as: 'jupyterSession', class: Google::Apis::DataprocV1::JupyterConfig, decorator: Google::Apis::DataprocV1::JupyterConfig::Representation
2001
+
2002
+ hash :labels, as: 'labels'
2003
+ property :name, as: 'name'
2004
+ property :runtime_config, as: 'runtimeConfig', class: Google::Apis::DataprocV1::RuntimeConfig, decorator: Google::Apis::DataprocV1::RuntimeConfig::Representation
2005
+
2006
+ property :runtime_info, as: 'runtimeInfo', class: Google::Apis::DataprocV1::RuntimeInfo, decorator: Google::Apis::DataprocV1::RuntimeInfo::Representation
2007
+
2008
+ property :session_template, as: 'sessionTemplate'
2009
+ property :state, as: 'state'
2010
+ collection :state_history, as: 'stateHistory', class: Google::Apis::DataprocV1::SessionStateHistory, decorator: Google::Apis::DataprocV1::SessionStateHistory::Representation
2011
+
2012
+ property :state_message, as: 'stateMessage'
2013
+ property :state_time, as: 'stateTime'
2014
+ property :user, as: 'user'
2015
+ property :uuid, as: 'uuid'
2016
+ end
2017
+ end
2018
+
1848
2019
  class SessionOperationMetadata
1849
2020
  # @private
1850
2021
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1859,6 +2030,33 @@ module Google
1859
2030
  end
1860
2031
  end
1861
2032
 
2033
+ class SessionStateHistory
2034
+ # @private
2035
+ class Representation < Google::Apis::Core::JsonRepresentation
2036
+ property :state, as: 'state'
2037
+ property :state_message, as: 'stateMessage'
2038
+ property :state_start_time, as: 'stateStartTime'
2039
+ end
2040
+ end
2041
+
2042
+ class SessionTemplate
2043
+ # @private
2044
+ class Representation < Google::Apis::Core::JsonRepresentation
2045
+ property :create_time, as: 'createTime'
2046
+ property :creator, as: 'creator'
2047
+ property :description, as: 'description'
2048
+ property :environment_config, as: 'environmentConfig', class: Google::Apis::DataprocV1::EnvironmentConfig, decorator: Google::Apis::DataprocV1::EnvironmentConfig::Representation
2049
+
2050
+ property :jupyter_session, as: 'jupyterSession', class: Google::Apis::DataprocV1::JupyterConfig, decorator: Google::Apis::DataprocV1::JupyterConfig::Representation
2051
+
2052
+ hash :labels, as: 'labels'
2053
+ property :name, as: 'name'
2054
+ property :runtime_config, as: 'runtimeConfig', class: Google::Apis::DataprocV1::RuntimeConfig, decorator: Google::Apis::DataprocV1::RuntimeConfig::Representation
2055
+
2056
+ property :update_time, as: 'updateTime'
2057
+ end
2058
+ end
2059
+
1862
2060
  class SetIamPolicyRequest
1863
2061
  # @private
1864
2062
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2030,6 +2228,13 @@ module Google
2030
2228
  end
2031
2229
  end
2032
2230
 
2231
+ class TerminateSessionRequest
2232
+ # @private
2233
+ class Representation < Google::Apis::Core::JsonRepresentation
2234
+ property :request_id, as: 'requestId'
2235
+ end
2236
+ end
2237
+
2033
2238
  class TestIamPermissionsRequest
2034
2239
  # @private
2035
2240
  class Representation < Google::Apis::Core::JsonRepresentation