google-apis-dataproc_v1 0.33.0 → 0.36.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: b0e465a23ae0db855e69270428b992810027d6e4faad3edd11d30dcecb99eef6
4
- data.tar.gz: 1f29f727da26018afe44d02d564f3b3473a37c6965763f543db4eaddef63e6af
3
+ metadata.gz: 8e3051ad3340fa2464fc4580b6e7700f60b5d116afa7c5cfacfa97424ddfe48c
4
+ data.tar.gz: 8dbc7aa492ddbc72b7385ab2cc9e918fb75f9bd2580d492183305c289557addf
5
5
  SHA512:
6
- metadata.gz: 2242e49201eaf9a289de7c68ef8db8c617950b5d3adfd814ae15f523537dcf238acef8f7152761f3b287eb35569f8b7ffee342f34f60a1a3811c32a314859d68
7
- data.tar.gz: d6f8c1a8456851453061630fad829b6b2bd0e01fd40c0f0085241e11b91044c5d1564b6d15efa83019964f73aa1353e4837448f3a111833a36691c509ce8f48d
6
+ metadata.gz: 5632e37ba28f910a9e97798b333e4f5929198ead0bd20883bf34be9ab399a4eab74c120b6d3b779a7625e2efd2d35b803c207c5f05742ae6798e74fca69e81dc
7
+ data.tar.gz: bf8147cf174587dc7726c4ae96b93bedadb94a8470ebdb90b625a3b133a90b1ded64007c1c7a7d26ed7f98bdff03e8bcff707df296dba2e5c172da9a757e8936
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.36.0 (2022-09-10)
4
+
5
+ * Regenerated from discovery document revision 20220907
6
+
7
+ ### v0.35.0 (2022-08-28)
8
+
9
+ * Regenerated from discovery document revision 20220824
10
+
11
+ ### v0.34.0 (2022-08-18)
12
+
13
+ * Regenerated from discovery document revision 20220814
14
+
3
15
  ### v0.33.0 (2022-08-10)
4
16
 
5
17
  * Regenerated from discovery document revision 20220804
@@ -483,22 +483,23 @@ module Google
483
483
  # members can have the following values: allUsers: A special identifier that
484
484
  # represents anyone who is on the internet; with or without a Google account.
485
485
  # allAuthenticatedUsers: A special identifier that represents anyone who is
486
- # authenticated with a Google account or a service account. user:`emailid`: An
487
- # email address that represents a specific Google account. For example, alice@
488
- # example.com . serviceAccount:`emailid`: An email address that represents a
489
- # Google service account. For example, my-other-app@appspot.gserviceaccount.com.
490
- # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]: An
491
- # identifier for a Kubernetes service account (https://cloud.google.com/
492
- # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-
493
- # project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:`emailid`: An email
494
- # address that represents a Google group. For example, admins@example.com.
495
- # deleted:user:`emailid`?uid=`uniqueid`: An email address (plus unique
496
- # identifier) representing a user that has been recently deleted. For example,
497
- # alice@example.com?uid=123456789012345678901. If the user is recovered, this
498
- # value reverts to user:`emailid` and the recovered user retains the role in the
499
- # binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email address (
500
- # plus unique identifier) representing a service account that has been recently
501
- # deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
486
+ # authenticated with a Google account or a service account. Does not include
487
+ # identities that come from external identity providers (IdPs) through identity
488
+ # federation. user:`emailid`: An email address that represents a specific Google
489
+ # account. For example, alice@example.com . serviceAccount:`emailid`: An email
490
+ # address that represents a Google service account. For example, my-other-app@
491
+ # appspot.gserviceaccount.com. serviceAccount:`projectid`.svc.id.goog[`namespace`
492
+ # /`kubernetes-sa`]: An identifier for a Kubernetes service account (https://
493
+ # cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).
494
+ # For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:`
495
+ # emailid`: An email address that represents a Google group. For example, admins@
496
+ # example.com. deleted:user:`emailid`?uid=`uniqueid`: An email address (plus
497
+ # unique identifier) representing a user that has been recently deleted. For
498
+ # example, alice@example.com?uid=123456789012345678901. If the user is recovered,
499
+ # this value reverts to user:`emailid` and the recovered user retains the role
500
+ # in the binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email
501
+ # address (plus unique identifier) representing a service account that has been
502
+ # recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
502
503
  # 123456789012345678901. If the service account is undeleted, this value reverts
503
504
  # to serviceAccount:`emailid` and the undeleted service account retains the role
504
505
  # in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
@@ -1203,6 +1204,14 @@ module Google
1203
1204
  class ExecutionConfig
1204
1205
  include Google::Apis::Core::Hashable
1205
1206
 
1207
+ # Optional. The duration to keep the session alive while it's idling. Passing
1208
+ # this threshold will cause the session to be terminated. Minimum value is 30
1209
+ # minutes; maximum value is 14 days (see JSON representation of Duration (https:/
1210
+ # /developers.google.com/protocol-buffers/docs/proto3#json)).
1211
+ # Corresponds to the JSON property `idleTtl`
1212
+ # @return [String]
1213
+ attr_accessor :idle_ttl
1214
+
1206
1215
  # Optional. The Cloud KMS key to use for encryption.
1207
1216
  # Corresponds to the JSON property `kmsKey`
1208
1217
  # @return [String]
@@ -1234,6 +1243,7 @@ module Google
1234
1243
 
1235
1244
  # Update properties of this object
1236
1245
  def update!(**args)
1246
+ @idle_ttl = args[:idle_ttl] if args.key?(:idle_ttl)
1237
1247
  @kms_key = args[:kms_key] if args.key?(:kms_key)
1238
1248
  @network_tags = args[:network_tags] if args.key?(:network_tags)
1239
1249
  @network_uri = args[:network_uri] if args.key?(:network_uri)
@@ -1430,6 +1440,68 @@ module Google
1430
1440
  end
1431
1441
  end
1432
1442
 
1443
+ # Metadata describing the Compute Engine node pool operation.
1444
+ class GceNodePoolOperationMetadata
1445
+ include Google::Apis::Core::Hashable
1446
+
1447
+ # Output only. Cluster UUID associated with the Compute Engine node pool
1448
+ # operation.
1449
+ # Corresponds to the JSON property `clusterUuid`
1450
+ # @return [String]
1451
+ attr_accessor :cluster_uuid
1452
+
1453
+ # Output only. Short description of operation.
1454
+ # Corresponds to the JSON property `description`
1455
+ # @return [String]
1456
+ attr_accessor :description
1457
+
1458
+ # Output only. Compute Engine node pool ID for the operation.
1459
+ # Corresponds to the JSON property `gceNodePoolId`
1460
+ # @return [String]
1461
+ attr_accessor :gce_node_pool_id
1462
+
1463
+ # Output only. Labels associated with the operation
1464
+ # Corresponds to the JSON property `labels`
1465
+ # @return [Hash<String,String>]
1466
+ attr_accessor :labels
1467
+
1468
+ # The operation type.
1469
+ # Corresponds to the JSON property `operationType`
1470
+ # @return [String]
1471
+ attr_accessor :operation_type
1472
+
1473
+ # The status of the operation.
1474
+ # Corresponds to the JSON property `status`
1475
+ # @return [Google::Apis::DataprocV1::ClusterOperationStatus]
1476
+ attr_accessor :status
1477
+
1478
+ # Output only. The previous operation status.
1479
+ # Corresponds to the JSON property `statusHistory`
1480
+ # @return [Array<Google::Apis::DataprocV1::ClusterOperationStatus>]
1481
+ attr_accessor :status_history
1482
+
1483
+ # Output only. Errors encountered during operation execution.
1484
+ # Corresponds to the JSON property `warnings`
1485
+ # @return [Array<String>]
1486
+ attr_accessor :warnings
1487
+
1488
+ def initialize(**args)
1489
+ update!(**args)
1490
+ end
1491
+
1492
+ # Update properties of this object
1493
+ def update!(**args)
1494
+ @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
1495
+ @description = args[:description] if args.key?(:description)
1496
+ @gce_node_pool_id = args[:gce_node_pool_id] if args.key?(:gce_node_pool_id)
1497
+ @labels = args[:labels] if args.key?(:labels)
1498
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
1499
+ @status = args[:status] if args.key?(:status)
1500
+ @status_history = args[:status_history] if args.key?(:status_history)
1501
+ @warnings = args[:warnings] if args.key?(:warnings)
1502
+ end
1503
+ end
1504
+
1433
1505
  # Request message for GetIamPolicy method.
1434
1506
  class GetIamPolicyRequest
1435
1507
  include Google::Apis::Core::Hashable
@@ -2257,6 +2329,14 @@ module Google
2257
2329
  # @return [Array<Google::Apis::DataprocV1::JobStatus>]
2258
2330
  attr_accessor :status_history
2259
2331
 
2332
+ # A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The
2333
+ # Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/
2334
+ # concepts/components/trino) must be enabled when the cluster is created to
2335
+ # submit a Trino job to the cluster.
2336
+ # Corresponds to the JSON property `trinoJob`
2337
+ # @return [Google::Apis::DataprocV1::TrinoJob]
2338
+ attr_accessor :trino_job
2339
+
2260
2340
  # Output only. The collection of YARN applications spun up by this job.Beta
2261
2341
  # Feature: This report is available for testing purposes only. It may be changed
2262
2342
  # before final release.
@@ -2288,6 +2368,7 @@ module Google
2288
2368
  @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
2289
2369
  @status = args[:status] if args.key?(:status)
2290
2370
  @status_history = args[:status_history] if args.key?(:status_history)
2371
+ @trino_job = args[:trino_job] if args.key?(:trino_job)
2291
2372
  @yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications)
2292
2373
  end
2293
2374
  end
@@ -3266,6 +3347,14 @@ module Google
3266
3347
  # @return [String]
3267
3348
  attr_accessor :step_id
3268
3349
 
3350
+ # A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The
3351
+ # Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/
3352
+ # concepts/components/trino) must be enabled when the cluster is created to
3353
+ # submit a Trino job to the cluster.
3354
+ # Corresponds to the JSON property `trinoJob`
3355
+ # @return [Google::Apis::DataprocV1::TrinoJob]
3356
+ attr_accessor :trino_job
3357
+
3269
3358
  def initialize(**args)
3270
3359
  update!(**args)
3271
3360
  end
@@ -3284,6 +3373,7 @@ module Google
3284
3373
  @spark_r_job = args[:spark_r_job] if args.key?(:spark_r_job)
3285
3374
  @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job)
3286
3375
  @step_id = args[:step_id] if args.key?(:step_id)
3376
+ @trino_job = args[:trino_job] if args.key?(:trino_job)
3287
3377
  end
3288
3378
  end
3289
3379
 
@@ -4763,6 +4853,70 @@ module Google
4763
4853
  end
4764
4854
  end
4765
4855
 
4856
+ # A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The
4857
+ # Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/
4858
+ # concepts/components/trino) must be enabled when the cluster is created to
4859
+ # submit a Trino job to the cluster.
4860
+ class TrinoJob
4861
+ include Google::Apis::Core::Hashable
4862
+
4863
+ # Optional. Trino client tags to attach to this query
4864
+ # Corresponds to the JSON property `clientTags`
4865
+ # @return [Array<String>]
4866
+ attr_accessor :client_tags
4867
+
4868
+ # Optional. Whether to continue executing queries if a query fails. The default
4869
+ # value is false. Setting to true can be useful when executing independent
4870
+ # parallel queries.
4871
+ # Corresponds to the JSON property `continueOnFailure`
4872
+ # @return [Boolean]
4873
+ attr_accessor :continue_on_failure
4874
+ alias_method :continue_on_failure?, :continue_on_failure
4875
+
4876
+ # The runtime logging config of the job.
4877
+ # Corresponds to the JSON property `loggingConfig`
4878
+ # @return [Google::Apis::DataprocV1::LoggingConfig]
4879
+ attr_accessor :logging_config
4880
+
4881
+ # Optional. The format in which query output will be displayed. See the Trino
4882
+ # documentation for supported output formats
4883
+ # Corresponds to the JSON property `outputFormat`
4884
+ # @return [String]
4885
+ attr_accessor :output_format
4886
+
4887
+ # Optional. A mapping of property names to values. Used to set Trino session
4888
+ # properties (https://trino.io/docs/current/sql/set-session.html) Equivalent to
4889
+ # using the --session flag in the Trino CLI
4890
+ # Corresponds to the JSON property `properties`
4891
+ # @return [Hash<String,String>]
4892
+ attr_accessor :properties
4893
+
4894
+ # The HCFS URI of the script that contains SQL queries.
4895
+ # Corresponds to the JSON property `queryFileUri`
4896
+ # @return [String]
4897
+ attr_accessor :query_file_uri
4898
+
4899
+ # A list of queries to run on a cluster.
4900
+ # Corresponds to the JSON property `queryList`
4901
+ # @return [Google::Apis::DataprocV1::QueryList]
4902
+ attr_accessor :query_list
4903
+
4904
+ def initialize(**args)
4905
+ update!(**args)
4906
+ end
4907
+
4908
+ # Update properties of this object
4909
+ def update!(**args)
4910
+ @client_tags = args[:client_tags] if args.key?(:client_tags)
4911
+ @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure)
4912
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
4913
+ @output_format = args[:output_format] if args.key?(:output_format)
4914
+ @properties = args[:properties] if args.key?(:properties)
4915
+ @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri)
4916
+ @query_list = args[:query_list] if args.key?(:query_list)
4917
+ end
4918
+ end
4919
+
4766
4920
  # Validation based on a list of allowed values.
4767
4921
  class ValueValidation
4768
4922
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataprocV1
18
18
  # Version of the google-apis-dataproc_v1 gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220804"
25
+ REVISION = "20220907"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class GceNodePoolOperationMetadata
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class GetIamPolicyRequest
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -664,6 +670,12 @@ module Google
664
670
  include Google::Apis::Core::JsonObjectSupport
665
671
  end
666
672
 
673
+ class TrinoJob
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
667
679
  class ValueValidation
668
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
681
 
@@ -1025,6 +1037,7 @@ module Google
1025
1037
  class ExecutionConfig
1026
1038
  # @private
1027
1039
  class Representation < Google::Apis::Core::JsonRepresentation
1040
+ property :idle_ttl, as: 'idleTtl'
1028
1041
  property :kms_key, as: 'kmsKey'
1029
1042
  collection :network_tags, as: 'networkTags'
1030
1043
  property :network_uri, as: 'networkUri'
@@ -1066,6 +1079,22 @@ module Google
1066
1079
  end
1067
1080
  end
1068
1081
 
1082
+ class GceNodePoolOperationMetadata
1083
+ # @private
1084
+ class Representation < Google::Apis::Core::JsonRepresentation
1085
+ property :cluster_uuid, as: 'clusterUuid'
1086
+ property :description, as: 'description'
1087
+ property :gce_node_pool_id, as: 'gceNodePoolId'
1088
+ hash :labels, as: 'labels'
1089
+ property :operation_type, as: 'operationType'
1090
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
1091
+
1092
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
1093
+
1094
+ collection :warnings, as: 'warnings'
1095
+ end
1096
+ end
1097
+
1069
1098
  class GetIamPolicyRequest
1070
1099
  # @private
1071
1100
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1270,6 +1299,8 @@ module Google
1270
1299
 
1271
1300
  collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
1272
1301
 
1302
+ property :trino_job, as: 'trinoJob', class: Google::Apis::DataprocV1::TrinoJob, decorator: Google::Apis::DataprocV1::TrinoJob::Representation
1303
+
1273
1304
  collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
1274
1305
 
1275
1306
  end
@@ -1533,6 +1564,8 @@ module Google
1533
1564
  property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
1534
1565
 
1535
1566
  property :step_id, as: 'stepId'
1567
+ property :trino_job, as: 'trinoJob', class: Google::Apis::DataprocV1::TrinoJob, decorator: Google::Apis::DataprocV1::TrinoJob::Representation
1568
+
1536
1569
  end
1537
1570
  end
1538
1571
 
@@ -1884,6 +1917,21 @@ module Google
1884
1917
  end
1885
1918
  end
1886
1919
 
1920
+ class TrinoJob
1921
+ # @private
1922
+ class Representation < Google::Apis::Core::JsonRepresentation
1923
+ collection :client_tags, as: 'clientTags'
1924
+ property :continue_on_failure, as: 'continueOnFailure'
1925
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
1926
+
1927
+ property :output_format, as: 'outputFormat'
1928
+ hash :properties, as: 'properties'
1929
+ property :query_file_uri, as: 'queryFileUri'
1930
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
1931
+
1932
+ end
1933
+ end
1934
+
1887
1935
  class ValueValidation
1888
1936
  # @private
1889
1937
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -407,7 +407,8 @@ module Google
407
407
  # Deletes the batch workload resource. If the batch is not in terminal state,
408
408
  # the delete fails and the response returns FAILED_PRECONDITION.
409
409
  # @param [String] name
410
- # Required. The name of the batch resource to delete.
410
+ # Required. The fully qualified name of the batch to retrieve in the format "
411
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"
411
412
  # @param [String] fields
412
413
  # Selector specifying which fields to include in a partial response.
413
414
  # @param [String] quota_user
@@ -437,7 +438,8 @@ module Google
437
438
 
438
439
  # Gets the batch workload resource representation.
439
440
  # @param [String] name
440
- # Required. The name of the batch to retrieve.
441
+ # Required. The fully qualified name of the batch to retrieve in the format "
442
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"
441
443
  # @param [String] fields
442
444
  # Selector specifying which fields to include in a partial response.
443
445
  # @param [String] quota_user
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.33.0
4
+ version: 0.36.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: 2022-08-15 00:00:00.000000000 Z
11
+ date: 2022-09-12 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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.36.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: []