google-apis-dataproc_v1 0.42.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: f04d626177a0a61dbbb3a05575b8f0e416f03b8c8a04ba25c219073ca1a5a2ce
4
- data.tar.gz: 500e684935425d091dc694942c65a99bb1ff83c08d759204485fd2219960f8be
3
+ metadata.gz: db0379c5835955764084632398876ff58ff9568c8269b0d78c00f0773e5d4d97
4
+ data.tar.gz: 91b717a7b1299dc7e669fe291d0cfc89cc593785d2a0ae226acd5e6711c3504d
5
5
  SHA512:
6
- metadata.gz: f40e01371d67ab3530b959039742dc9b1991dcf2ce9a02cadb3ed03ea322b8ff4570476b9aa31a4261b28ee7f6b7abf1d6190dbaa69354821cd296e7675452e6
7
- data.tar.gz: 0bf947e6a1e4fb43ce122baf43d193f736058eabcea44e5ece925a150ffa57874eb4450dae85e49f089b03b1f9418de565b346e363bfd8f23e4f3ffa02dacdda
6
+ metadata.gz: e9fbfc14bea8e42dabc2120f03615e1a54ac24ce8da59ee4664c75b8fb3f9b4af31b27977ad72a4b502751c86ab2b6b4a7b4dc92c472035daf4d12fe16b802ce
7
+ data.tar.gz: c89afbd7d2f4d7cb0fe4a5abe8741ddddcd0726405df90f3765243b2ec7f44c33fb9aea91cdcf327cb367bb4d43bcbac2882dc512315331ec40edba0e4f1aa16
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.42.0 (2023-01-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20230103
@@ -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/beta/acceleratorTypes).Examples: https://www.
39
- # googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/
40
- # acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/us-east1-a/
41
- # acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto Zone Exception: If you
42
- # are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/
43
- # docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement)
44
- # feature, you must use the short name of the accelerator type resource, for
45
- # example, nvidia-tesla-k80.
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
 
@@ -1404,8 +1427,8 @@ module Google
1404
1427
  # it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks (https://
1405
1428
  # cloud.google.com/compute/docs/subnetworks) for more information).A full URL,
1406
1429
  # partial URI, or short name are valid. Examples: https://www.googleapis.com/
1407
- # compute/v1/projects/[project_id]/regions/global/default projects/[project_id]/
1408
- # regions/global/default default
1430
+ # compute/v1/projects/[project_id]/regions/[region]/default projects/[project_id]
1431
+ # /regions/[region]/default default
1409
1432
  # Corresponds to the JSON property `networkUri`
1410
1433
  # @return [String]
1411
1434
  attr_accessor :network_uri
@@ -1459,8 +1482,8 @@ module Google
1459
1482
  # Optional. The Compute Engine subnetwork to be used for machine communications.
1460
1483
  # Cannot be specified with network_uri.A full URL, partial URI, or short name
1461
1484
  # are valid. Examples: https://www.googleapis.com/compute/v1/projects/[
1462
- # project_id]/regions/us-east1/subnetworks/sub0 projects/[project_id]/regions/us-
1463
- # east1/subnetworks/sub0 sub0
1485
+ # project_id]/regions/[region]/subnetworks/sub0 projects/[project_id]/regions/[
1486
+ # region]/subnetworks/sub0 sub0
1464
1487
  # Corresponds to the JSON property `subnetworkUri`
1465
1488
  # @return [String]
1466
1489
  attr_accessor :subnetwork_uri
@@ -1471,13 +1494,11 @@ module Google
1471
1494
  # @return [Array<String>]
1472
1495
  attr_accessor :tags
1473
1496
 
1474
- # Optional. The zone where the Compute Engine cluster will be located. On a
1475
- # create request, it is required in the "global" region. If omitted in a non-
1476
- # global Dataproc region, the service will pick a zone in the corresponding
1477
- # Compute Engine region. On a get request, zone will always be present.A full
1478
- # URL, partial URI, or short name are valid. Examples: https://www.googleapis.
1479
- # com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[
1480
- # 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]
1481
1502
  # Corresponds to the JSON property `zoneUri`
1482
1503
  # @return [String]
1483
1504
  attr_accessor :zone_uri
@@ -2055,10 +2076,10 @@ module Google
2055
2076
 
2056
2077
  # Optional. The Compute Engine image resource used for cluster instances.The URI
2057
2078
  # can represent an image or image family.Image examples: https://www.googleapis.
2058
- # com/compute/beta/projects/[project_id]/global/images/[image-id] projects/[
2079
+ # com/compute/v1/projects/[project_id]/global/images/[image-id] projects/[
2059
2080
  # project_id]/global/images/[image-id] image-idImage family examples. Dataproc
2060
2081
  # will use the most recent image from the family: https://www.googleapis.com/
2061
- # compute/beta/projects/[project_id]/global/images/family/[custom-image-family-
2082
+ # compute/v1/projects/[project_id]/global/images/family/[custom-image-family-
2062
2083
  # name] projects/[project_id]/global/images/family/[custom-image-family-name]If
2063
2084
  # the URI is unspecified, it will be inferred from SoftwareConfig.image_version
2064
2085
  # or the system default.
@@ -2085,12 +2106,12 @@ module Google
2085
2106
 
2086
2107
  # Optional. The Compute Engine machine type used for cluster instances.A full
2087
2108
  # URL, partial URI, or short name are valid. Examples: https://www.googleapis.
2088
- # com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-
2089
- # 2 projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 n1-
2090
- # standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone
2091
- # Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-
2092
- # clusters/auto-zone#using_auto_zone_placement) feature, you must use the short
2093
- # name of the machine type resource, for example, n1-standard-2.
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.
2094
2115
  # Corresponds to the JSON property `machineTypeUri`
2095
2116
  # @return [String]
2096
2117
  attr_accessor :machine_type_uri
@@ -2218,6 +2239,36 @@ module Google
2218
2239
  end
2219
2240
  end
2220
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
+
2221
2272
  # A Dataproc job resource.
2222
2273
  class Job
2223
2274
  include Google::Apis::Core::Hashable
@@ -3174,9 +3225,9 @@ module Google
3174
3225
  # Required. The URI of a sole-tenant node group resource (https://cloud.google.
3175
3226
  # com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be
3176
3227
  # created on.A full URL, partial URI, or node group name are valid. Examples:
3177
- # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-
3178
- # a/nodeGroups/node-group-1 projects/[project_id]/zones/us-central1-a/nodeGroups/
3179
- # node-group-1 node-group-1
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
3180
3231
  # Corresponds to the JSON property `nodeGroupUri`
3181
3232
  # @return [String]
3182
3233
  attr_accessor :node_group_uri
@@ -5181,7 +5232,7 @@ module Google
5181
5232
 
5182
5233
  # The Dataproc cluster config for a cluster that does not directly control the
5183
5234
  # underlying compute resources, such as a Dataproc-on-GKE cluster (https://cloud.
5184
- # google.com/dataproc/docs/guides/dpgke/dataproc-gke).
5235
+ # google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview).
5185
5236
  class VirtualClusterConfig
5186
5237
  include Google::Apis::Core::Hashable
5187
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.42.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230103"
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
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.42.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-15 00:00:00.000000000 Z
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.42.0
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: []