google-apis-dataproc_v1 0.66.0 → 0.67.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: 4caec738935e2e748147669a0a0d1f4c10ebd0a635aee73cceb0fa51b32931ec
4
+ data.tar.gz: 2fd27ddae296ccb8210e41dfabbd6afa1edd8b3c4a79fc5ddbbecbc224e1f83b
5
5
  SHA512:
6
- metadata.gz: c693427e2056f212c1e4c6e8db934f738e3c0ca5bb19c4003a7c781418bc16eeb390451cd5409c1d0893c0ed24105cc7c4d84bbb48f1647e1bce95c619828440
7
- data.tar.gz: 5dcc719f8e808c124187fbbf71f4f55e8c2fe1ec21ab28aa573f446d07e0d71dac1736356c756a822e6a7156c5e0cc88a27ba3038223627b3e532140247bf393
6
+ metadata.gz: 1ee639a5a4db4b72e8bf218d07de6a012de04da6b86fca87e12b9a2a6d1f88cbe251a5b49fc8d56fbd1f59b7614426f8dd3d5d3fb7f115cdc0fa43762e7d700d
7
+ data.tar.gz: 40e7fb455266790f6d516c57bc9236e5968590bbcae7b789de3fa3611d64633c4be806b04361409fdb453436251ac495de336fc5d763705fd09d544c39a39e27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.67.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240316
6
+
3
7
  ### v0.66.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240303
@@ -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.67.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 = "20240316"
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.67.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-03-24 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.67.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: []