google-apis-dataproc_v1 0.41.0 → 0.43.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: db0379c5835955764084632398876ff58ff9568c8269b0d78c00f0773e5d4d97
|
4
|
+
data.tar.gz: 91b717a7b1299dc7e669fe291d0cfc89cc593785d2a0ae226acd5e6711c3504d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9fbfc14bea8e42dabc2120f03615e1a54ac24ce8da59ee4664c75b8fb3f9b4af31b27977ad72a4b502751c86ab2b6b4a7b4dc92c472035daf4d12fe16b802ce
|
7
|
+
data.tar.gz: c89afbd7d2f4d7cb0fe4a5abe8741ddddcd0726405df90f3765243b2ec7f44c33fb9aea91cdcf327cb367bb4d43bcbac2882dc512315331ec40edba0e4f1aa16
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dataproc_v1
|
2
2
|
|
3
|
+
### v0.43.0 (2023-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230117
|
6
|
+
|
7
|
+
### v0.42.0 (2023-01-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230103
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.41.0 (2022-12-14)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221207
|
@@ -35,14 +35,14 @@ module Google
|
|
35
35
|
|
36
36
|
# Full URL, partial URI, or short name of the accelerator type resource to
|
37
37
|
# expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.
|
38
|
-
# google.com/compute/docs/reference/
|
39
|
-
# googleapis.com/compute/
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
38
|
+
# google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.
|
39
|
+
# googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/
|
40
|
+
# nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-
|
41
|
+
# tesla-k80 nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc
|
42
|
+
# Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/
|
43
|
+
# configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must
|
44
|
+
# use the short name of the accelerator type resource, for example, nvidia-tesla-
|
45
|
+
# k80.
|
46
46
|
# Corresponds to the JSON property `acceleratorTypeUri`
|
47
47
|
# @return [String]
|
48
48
|
attr_accessor :accelerator_type_uri
|
@@ -630,7 +630,7 @@ module Google
|
|
630
630
|
|
631
631
|
# The Dataproc cluster config for a cluster that does not directly control the
|
632
632
|
# underlying compute resources, such as a Dataproc-on-GKE cluster (https://cloud.
|
633
|
-
# google.com/dataproc/docs/guides/dpgke/dataproc-gke).
|
633
|
+
# google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview).
|
634
634
|
# Corresponds to the JSON property `virtualClusterConfig`
|
635
635
|
# @return [Google::Apis::DataprocV1::VirtualClusterConfig]
|
636
636
|
attr_accessor :virtual_cluster_config
|
@@ -1069,12 +1069,35 @@ module Google
|
|
1069
1069
|
class DiagnoseClusterRequest
|
1070
1070
|
include Google::Apis::Core::Hashable
|
1071
1071
|
|
1072
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
1073
|
+
# Timestamp end (exclusive).The start must be less than or equal to the end.
|
1074
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
1075
|
+
# both start and end are unspecified, the interval matches any time.
|
1076
|
+
# Corresponds to the JSON property `diagnosisInterval`
|
1077
|
+
# @return [Google::Apis::DataprocV1::Interval]
|
1078
|
+
attr_accessor :diagnosis_interval
|
1079
|
+
|
1080
|
+
# Optional. DEPRECATED Specifies the job on which diagnosis is to be performed.
|
1081
|
+
# Format: projects/`project`/regions/`region`/jobs/`job`
|
1082
|
+
# Corresponds to the JSON property `job`
|
1083
|
+
# @return [String]
|
1084
|
+
attr_accessor :job
|
1085
|
+
|
1086
|
+
# Optional. DEPRECATED Specifies the yarn application on which diagnosis is to
|
1087
|
+
# be performed.
|
1088
|
+
# Corresponds to the JSON property `yarnApplicationId`
|
1089
|
+
# @return [String]
|
1090
|
+
attr_accessor :yarn_application_id
|
1091
|
+
|
1072
1092
|
def initialize(**args)
|
1073
1093
|
update!(**args)
|
1074
1094
|
end
|
1075
1095
|
|
1076
1096
|
# Update properties of this object
|
1077
1097
|
def update!(**args)
|
1098
|
+
@diagnosis_interval = args[:diagnosis_interval] if args.key?(:diagnosis_interval)
|
1099
|
+
@job = args[:job] if args.key?(:job)
|
1100
|
+
@yarn_application_id = args[:yarn_application_id] if args.key?(:yarn_application_id)
|
1078
1101
|
end
|
1079
1102
|
end
|
1080
1103
|
|
@@ -1268,7 +1291,9 @@ module Google
|
|
1268
1291
|
# this threshold will cause the session to be terminated. Minimum value is 10
|
1269
1292
|
# minutes; maximum value is 14 days (see JSON representation of Duration (https:/
|
1270
1293
|
# /developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4
|
1271
|
-
# hours if not set.
|
1294
|
+
# hours if not set. If both ttl and idle_ttl are specified, the conditions are
|
1295
|
+
# treated as and OR: the workload will be terminated when it has been idle for
|
1296
|
+
# idle_ttl or when the ttl has passed, whichever comes first.
|
1272
1297
|
# Corresponds to the JSON property `idleTtl`
|
1273
1298
|
# @return [String]
|
1274
1299
|
attr_accessor :idle_ttl
|
@@ -1402,8 +1427,8 @@ module Google
|
|
1402
1427
|
# it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks (https://
|
1403
1428
|
# cloud.google.com/compute/docs/subnetworks) for more information).A full URL,
|
1404
1429
|
# partial URI, or short name are valid. Examples: https://www.googleapis.com/
|
1405
|
-
# compute/v1/projects/[project_id]/regions/
|
1406
|
-
# regions/
|
1430
|
+
# compute/v1/projects/[project_id]/regions/[region]/default projects/[project_id]
|
1431
|
+
# /regions/[region]/default default
|
1407
1432
|
# Corresponds to the JSON property `networkUri`
|
1408
1433
|
# @return [String]
|
1409
1434
|
attr_accessor :network_uri
|
@@ -1457,8 +1482,8 @@ module Google
|
|
1457
1482
|
# Optional. The Compute Engine subnetwork to be used for machine communications.
|
1458
1483
|
# Cannot be specified with network_uri.A full URL, partial URI, or short name
|
1459
1484
|
# are valid. Examples: https://www.googleapis.com/compute/v1/projects/[
|
1460
|
-
# project_id]/regions/
|
1461
|
-
#
|
1485
|
+
# project_id]/regions/[region]/subnetworks/sub0 projects/[project_id]/regions/[
|
1486
|
+
# region]/subnetworks/sub0 sub0
|
1462
1487
|
# Corresponds to the JSON property `subnetworkUri`
|
1463
1488
|
# @return [String]
|
1464
1489
|
attr_accessor :subnetwork_uri
|
@@ -1469,13 +1494,11 @@ module Google
|
|
1469
1494
|
# @return [Array<String>]
|
1470
1495
|
attr_accessor :tags
|
1471
1496
|
|
1472
|
-
# Optional. The zone where the
|
1473
|
-
#
|
1474
|
-
#
|
1475
|
-
#
|
1476
|
-
#
|
1477
|
-
# com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[
|
1478
|
-
# zone] us-central1-f
|
1497
|
+
# Optional. The Compute Engine zone where the Dataproc cluster will be located.
|
1498
|
+
# If omitted, the service will pick a zone in the cluster's Compute Engine
|
1499
|
+
# region. On a get request, zone will always be present.A full URL, partial URI,
|
1500
|
+
# or short name are valid. Examples: https://www.googleapis.com/compute/v1/
|
1501
|
+
# projects/[project_id]/zones/[zone] projects/[project_id]/zones/[zone] [zone]
|
1479
1502
|
# Corresponds to the JSON property `zoneUri`
|
1480
1503
|
# @return [String]
|
1481
1504
|
attr_accessor :zone_uri
|
@@ -2053,10 +2076,10 @@ module Google
|
|
2053
2076
|
|
2054
2077
|
# Optional. The Compute Engine image resource used for cluster instances.The URI
|
2055
2078
|
# can represent an image or image family.Image examples: https://www.googleapis.
|
2056
|
-
# com/compute/
|
2079
|
+
# com/compute/v1/projects/[project_id]/global/images/[image-id] projects/[
|
2057
2080
|
# project_id]/global/images/[image-id] image-idImage family examples. Dataproc
|
2058
2081
|
# will use the most recent image from the family: https://www.googleapis.com/
|
2059
|
-
# compute/
|
2082
|
+
# compute/v1/projects/[project_id]/global/images/family/[custom-image-family-
|
2060
2083
|
# name] projects/[project_id]/global/images/family/[custom-image-family-name]If
|
2061
2084
|
# the URI is unspecified, it will be inferred from SoftwareConfig.image_version
|
2062
2085
|
# or the system default.
|
@@ -2083,12 +2106,12 @@ module Google
|
|
2083
2106
|
|
2084
2107
|
# Optional. The Compute Engine machine type used for cluster instances.A full
|
2085
2108
|
# URL, partial URI, or short name are valid. Examples: https://www.googleapis.
|
2086
|
-
# com/compute/v1/projects/[project_id]/zones/
|
2087
|
-
#
|
2088
|
-
#
|
2089
|
-
#
|
2090
|
-
#
|
2091
|
-
#
|
2109
|
+
# com/compute/v1/projects/[project_id]/zones/[zone]/machineTypes/n1-standard-2
|
2110
|
+
# projects/[project_id]/zones/[zone]/machineTypes/n1-standard-2 n1-standard-
|
2111
|
+
# 2Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https:
|
2112
|
+
# //cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#
|
2113
|
+
# using_auto_zone_placement) feature, you must use the short name of the machine
|
2114
|
+
# type resource, for example, n1-standard-2.
|
2092
2115
|
# Corresponds to the JSON property `machineTypeUri`
|
2093
2116
|
# @return [String]
|
2094
2117
|
attr_accessor :machine_type_uri
|
@@ -2216,6 +2239,36 @@ module Google
|
|
2216
2239
|
end
|
2217
2240
|
end
|
2218
2241
|
|
2242
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
2243
|
+
# Timestamp end (exclusive).The start must be less than or equal to the end.
|
2244
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
2245
|
+
# both start and end are unspecified, the interval matches any time.
|
2246
|
+
class Interval
|
2247
|
+
include Google::Apis::Core::Hashable
|
2248
|
+
|
2249
|
+
# Optional. Exclusive end of the interval.If specified, a Timestamp matching
|
2250
|
+
# this interval will have to be before the end.
|
2251
|
+
# Corresponds to the JSON property `endTime`
|
2252
|
+
# @return [String]
|
2253
|
+
attr_accessor :end_time
|
2254
|
+
|
2255
|
+
# Optional. Inclusive start of the interval.If specified, a Timestamp matching
|
2256
|
+
# this interval will have to be the same or after the start.
|
2257
|
+
# Corresponds to the JSON property `startTime`
|
2258
|
+
# @return [String]
|
2259
|
+
attr_accessor :start_time
|
2260
|
+
|
2261
|
+
def initialize(**args)
|
2262
|
+
update!(**args)
|
2263
|
+
end
|
2264
|
+
|
2265
|
+
# Update properties of this object
|
2266
|
+
def update!(**args)
|
2267
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
2268
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
2269
|
+
end
|
2270
|
+
end
|
2271
|
+
|
2219
2272
|
# A Dataproc job resource.
|
2220
2273
|
class Job
|
2221
2274
|
include Google::Apis::Core::Hashable
|
@@ -3172,9 +3225,9 @@ module Google
|
|
3172
3225
|
# Required. The URI of a sole-tenant node group resource (https://cloud.google.
|
3173
3226
|
# com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be
|
3174
3227
|
# created on.A full URL, partial URI, or node group name are valid. Examples:
|
3175
|
-
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/
|
3176
|
-
#
|
3177
|
-
#
|
3228
|
+
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/
|
3229
|
+
# nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-
|
3230
|
+
# group-1 node-group-1
|
3178
3231
|
# Corresponds to the JSON property `nodeGroupUri`
|
3179
3232
|
# @return [String]
|
3180
3233
|
attr_accessor :node_group_uri
|
@@ -3943,7 +3996,7 @@ module Google
|
|
3943
3996
|
# @return [String]
|
3944
3997
|
attr_accessor :cluster_uuid
|
3945
3998
|
|
3946
|
-
# Optional. Timeout for graceful YARN
|
3999
|
+
# Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning
|
3947
4000
|
# facilitates the removal of cluster nodes without interrupting jobs in progress.
|
3948
4001
|
# The timeout specifies the amount of time to wait for jobs finish before
|
3949
4002
|
# forcefully removing nodes. The default timeout is 0 for forceful
|
@@ -5179,7 +5232,7 @@ module Google
|
|
5179
5232
|
|
5180
5233
|
# The Dataproc cluster config for a cluster that does not directly control the
|
5181
5234
|
# underlying compute resources, such as a Dataproc-on-GKE cluster (https://cloud.
|
5182
|
-
# google.com/dataproc/docs/guides/dpgke/dataproc-gke).
|
5235
|
+
# google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview).
|
5183
5236
|
class VirtualClusterConfig
|
5184
5237
|
include Google::Apis::Core::Hashable
|
5185
5238
|
|
@@ -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.43.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -310,6 +310,12 @@ module Google
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
311
311
|
end
|
312
312
|
|
313
|
+
class Interval
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
313
319
|
class Job
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
321
|
|
@@ -1030,6 +1036,10 @@ module Google
|
|
1030
1036
|
class DiagnoseClusterRequest
|
1031
1037
|
# @private
|
1032
1038
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1039
|
+
property :diagnosis_interval, as: 'diagnosisInterval', class: Google::Apis::DataprocV1::Interval, decorator: Google::Apis::DataprocV1::Interval::Representation
|
1040
|
+
|
1041
|
+
property :job, as: 'job'
|
1042
|
+
property :yarn_application_id, as: 'yarnApplicationId'
|
1033
1043
|
end
|
1034
1044
|
end
|
1035
1045
|
|
@@ -1304,6 +1314,14 @@ module Google
|
|
1304
1314
|
end
|
1305
1315
|
end
|
1306
1316
|
|
1317
|
+
class Interval
|
1318
|
+
# @private
|
1319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1320
|
+
property :end_time, as: 'endTime'
|
1321
|
+
property :start_time, as: 'startTime'
|
1322
|
+
end
|
1323
|
+
end
|
1324
|
+
|
1307
1325
|
class Job
|
1308
1326
|
# @private
|
1309
1327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1709,7 +1709,7 @@ module Google
|
|
1709
1709
|
# Required. The cluster name.
|
1710
1710
|
# @param [Google::Apis::DataprocV1::Cluster] cluster_object
|
1711
1711
|
# @param [String] graceful_decommission_timeout
|
1712
|
-
# Optional. Timeout for graceful YARN
|
1712
|
+
# Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning
|
1713
1713
|
# allows removing nodes from the cluster without interrupting jobs in progress.
|
1714
1714
|
# Timeout specifies how long to wait for jobs in progress to finish before
|
1715
1715
|
# forcefully removing nodes (and potentially interrupting jobs). Default timeout
|
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.
|
4
|
+
version: 0.43.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-01-
|
11
|
+
date: 2023-01-29 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.43.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Dataproc API V1
|