google-apis-dataproc_v1 0.65.0 → 0.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2ec36004d67bc924fbd7d08763611e5fb068d66fe5f323341fb3bc178a481ba
4
- data.tar.gz: cb6d639ab9cfd3e6667a16532725ee341b672d9760f1f656836529eb5e3390e0
3
+ metadata.gz: 4caec738935e2e748147669a0a0d1f4c10ebd0a635aee73cceb0fa51b32931ec
4
+ data.tar.gz: 2fd27ddae296ccb8210e41dfabbd6afa1edd8b3c4a79fc5ddbbecbc224e1f83b
5
5
  SHA512:
6
- metadata.gz: ed258b9fdda660942ad8689521501d0e7dbd9aee066c3e55a6bf2e3f5ad31fd4b595c4677246427d91901c25655a85d0d66470f715fb9177f19fbc86470c2b3a
7
- data.tar.gz: 2df413a05aad98b48078ab330f2dc57e164a30049fb1ee637d6c54a55f02efb2414e06a3fb5b26bd1f1fcd103cdd51000c0ee9e447be4600258e7de9e6f877be
6
+ metadata.gz: 1ee639a5a4db4b72e8bf218d07de6a012de04da6b86fca87e12b9a2a6d1f88cbe251a5b49fc8d56fbd1f59b7614426f8dd3d5d3fb7f115cdc0fa43762e7d700d
7
+ data.tar.gz: 40e7fb455266790f6d516c57bc9236e5968590bbcae7b789de3fa3611d64633c4be806b04361409fdb453436251ac495de336fc5d763705fd09d544c39a39e27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.66.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240303
10
+
3
11
  ### v0.65.0 (2024-03-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20240222
@@ -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
@@ -1638,12 +1665,14 @@ module Google
1638
1665
  # @return [Google::Apis::DataprocV1::ConfidentialInstanceConfig]
1639
1666
  attr_accessor :confidential_instance_config
1640
1667
 
1641
- # Optional. If true, all instances in the cluster will only have internal IP
1642
- # addresses. By default, clusters are not restricted to internal IP addresses,
1643
- # and will have ephemeral external IP addresses assigned to each instance. This
1644
- # internal_ip_only restriction can only be enabled for subnetwork enabled
1645
- # networks, and all off-cluster dependencies must be configured to be accessible
1646
- # without external IP addresses.
1668
+ # Optional. This setting applies to subnetwork-enabled networks. It is set to
1669
+ # true by default in clusters created with image versions 2.2.x.When set to true:
1670
+ # All cluster VMs have internal IP addresses. Google Private Access (https://
1671
+ # cloud.google.com/vpc/docs/private-google-access) must be enabled to access
1672
+ # Dataproc and other Google Cloud APIs. Off-cluster dependencies must be
1673
+ # configured to be accessible without external IP addresses.When set to false:
1674
+ # Cluster VMs are not restricted to internal IP addresses. Ephemeral external IP
1675
+ # addresses are assigned to each cluster VM.
1647
1676
  # Corresponds to the JSON property `internalIpOnly`
1648
1677
  # @return [Boolean]
1649
1678
  attr_accessor :internal_ip_only
@@ -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.65.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 = "20240222"
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.65.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-03 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.65.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: []