google-apis-dataproc_v1 0.66.0 → 0.68.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: b41fe9e30bac04400cb4e08e63cb6d76d4d3f9bc792b01bca0da3a3133cdc732
4
- data.tar.gz: 7f4bb3744069b6ca40b4740799ee11499127c56027745189a0fb0e4edfea4c56
3
+ metadata.gz: 77f9f8c717bae1428197b5de099d46dc27b1d5171551252c5b48591b8513b007
4
+ data.tar.gz: 40f0cc8f6064975fc4804a4dc7a96014f79fb26c6d772fb9a43ec06997914e2e
5
5
  SHA512:
6
- metadata.gz: c693427e2056f212c1e4c6e8db934f738e3c0ca5bb19c4003a7c781418bc16eeb390451cd5409c1d0893c0ed24105cc7c4d84bbb48f1647e1bce95c619828440
7
- data.tar.gz: 5dcc719f8e808c124187fbbf71f4f55e8c2fe1ec21ab28aa573f446d07e0d71dac1736356c756a822e6a7156c5e0cc88a27ba3038223627b3e532140247bf393
6
+ metadata.gz: dc508f7dce086cd92494dc1ec5746db86a6597f7f5bbe18acbb4a147b8aba3193a95e769f668944ce1aff2208d908346ea65bd2f42535b3e1a6e64ebce5766f0
7
+ data.tar.gz: c19c3ed3e738e0e6ba1f99685fd9c363d3d08626b167e50a88b94aa267c98f3fe5fa89ca1d7711c513aea8edf9656bbd68ed2e541b05ddc9524a473d874ea835
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.68.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240429
6
+
7
+ ### v0.67.0 (2024-03-24)
8
+
9
+ * Regenerated from discovery document revision 20240316
10
+
3
11
  ### v0.66.0 (2024-03-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20240303
@@ -37,12 +37,12 @@ module Google
37
37
  # expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.
38
38
  # google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.
39
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
40
+ # nvidia-tesla-t4 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-
41
+ # tesla-t4 nvidia-tesla-t4Auto Zone Exception: If you are using the Dataproc
42
42
  # Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/
43
43
  # configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must
44
44
  # use the short name of the accelerator type resource, for example, nvidia-tesla-
45
- # k80.
45
+ # t4.
46
46
  # Corresponds to the JSON property `acceleratorTypeUri`
47
47
  # @return [String]
48
48
  attr_accessor :accelerator_type_uri
@@ -58,6 +58,33 @@ module Google
58
58
  end
59
59
  end
60
60
 
61
+ # A request to analyze a batch workload.
62
+ class AnalyzeBatchRequest
63
+ include Google::Apis::Core::Hashable
64
+
65
+ # Optional. A unique ID used to identify the request. If the service receives
66
+ # two AnalyzeBatchRequest (http://cloud/dataproc/docs/reference/rpc/google.cloud.
67
+ # dataproc.v1#google.cloud.dataproc.v1.AnalyzeBatchRequest)s with the same
68
+ # request_id, the second request is ignored and the Operation that corresponds
69
+ # to the first request created and stored in the backend is returned.
70
+ # Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/
71
+ # Universally_unique_identifier).The value must contain only letters (a-z, A-Z),
72
+ # numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40
73
+ # characters.
74
+ # Corresponds to the JSON property `requestId`
75
+ # @return [String]
76
+ attr_accessor :request_id
77
+
78
+ def initialize(**args)
79
+ update!(**args)
80
+ end
81
+
82
+ # Update properties of this object
83
+ def update!(**args)
84
+ @request_id = args[:request_id] if args.key?(:request_id)
85
+ end
86
+ end
87
+
61
88
  # Metadata describing the Analyze operation.
62
89
  class AnalyzeOperationMetadata
63
90
  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.66.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240303"
25
+ REVISION = "20240429"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AnalyzeBatchRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AnalyzeOperationMetadata
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -876,6 +882,13 @@ module Google
876
882
  end
877
883
  end
878
884
 
885
+ class AnalyzeBatchRequest
886
+ # @private
887
+ class Representation < Google::Apis::Core::JsonRepresentation
888
+ property :request_id, as: 'requestId'
889
+ end
890
+ end
891
+
879
892
  class AnalyzeOperationMetadata
880
893
  # @private
881
894
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -357,6 +357,40 @@ module Google
357
357
  execute_or_queue_command(command, &block)
358
358
  end
359
359
 
360
+ # Analyze a Batch for possible recommendations and insights.
361
+ # @param [String] name
362
+ # Required. The fully qualified name of the batch to analyze in the format "
363
+ # projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"
364
+ # @param [Google::Apis::DataprocV1::AnalyzeBatchRequest] analyze_batch_request_object
365
+ # @param [String] fields
366
+ # Selector specifying which fields to include in a partial response.
367
+ # @param [String] quota_user
368
+ # Available to use for quota purposes for server-side applications. Can be any
369
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
370
+ # @param [Google::Apis::RequestOptions] options
371
+ # Request-specific options
372
+ #
373
+ # @yield [result, err] Result & error if block supplied
374
+ # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object
375
+ # @yieldparam err [StandardError] error object if request failed
376
+ #
377
+ # @return [Google::Apis::DataprocV1::Operation]
378
+ #
379
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
380
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
381
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
382
+ def analyze_batch(name, analyze_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
383
+ command = make_simple_command(:post, 'v1/{+name}:analyze', options)
384
+ command.request_representation = Google::Apis::DataprocV1::AnalyzeBatchRequest::Representation
385
+ command.request_object = analyze_batch_request_object
386
+ command.response_representation = Google::Apis::DataprocV1::Operation::Representation
387
+ command.response_class = Google::Apis::DataprocV1::Operation
388
+ command.params['name'] = name unless name.nil?
389
+ command.query['fields'] = fields unless fields.nil?
390
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
391
+ execute_or_queue_command(command, &block)
392
+ end
393
+
360
394
  # Creates a batch workload that executes asynchronously.
361
395
  # @param [String] parent
362
396
  # Required. The parent resource where this batch will be created.
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.66.0
4
+ version: 0.68.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: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-05-05 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.66.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.68.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: []