google-cloud-dataproc-v1 0.23.0 → 0.23.1

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: 3ff0adc451ea58e4382f8436da4afc721aa414aac48c1df127218478af19c17f
4
- data.tar.gz: 5c2cf105ec2e0fd75ccbfa68905bee27fe17bb394568a7f5b19e4dd4895c9b5f
3
+ metadata.gz: 71e7c175d039f2eb79c43c9cd9ef2850cfa55a6c2e830be0ec951fc94118b82a
4
+ data.tar.gz: f1bf65af9538e5899622e904646c26cab187bffcd7c91324ebeaf3d8ddba12f3
5
5
  SHA512:
6
- metadata.gz: a89770aa5737fd43963ef5b71732d8e95fd5c746224a4eb90460da326338676863de9fd6f7ed5e91c7297515b7e14fc5cb2fd92ec81d63ce8a9c88b31b2675b1
7
- data.tar.gz: dc7b00db380bbec754551500dc335a458ed9fe4996597556312f1e913d3dff212cd41bf77430e2b5888fa48e70a191b8a7a213bd3b74e136c8f44daaa3b10855
6
+ metadata.gz: 46c760398b40e946c5aafa7e7a6e2396ca301fbbb56bcc7d8b931b51cd8c12e36126ec821e342d68a1469346e1f4e224deb1f13771c96927ee28a5ad9a6c96a9
7
+ data.tar.gz: 2e47ca301a59eca101d562d30c0600e85f92b97cf2a7388417a42dd22e9c5d563c449d37d949ffac08cc2ed493e1d612f0e0c5d1a027bce14b9d8464bd3843e8
@@ -167,13 +167,6 @@ module Google
167
167
  @quota_project_id = @config.quota_project
168
168
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
169
169
 
170
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
171
- config.credentials = credentials
172
- config.quota_project = @quota_project_id
173
- config.endpoint = @config.endpoint
174
- config.universe_domain = @config.universe_domain
175
- end
176
-
177
170
  @autoscaling_policy_service_stub = ::Gapic::ServiceStub.new(
178
171
  ::Google::Cloud::Dataproc::V1::AutoscalingPolicyService::Stub,
179
172
  credentials: credentials,
@@ -184,6 +177,13 @@ module Google
184
177
  interceptors: @config.interceptors,
185
178
  channel_pool_config: @config.channel_pool
186
179
  )
180
+
181
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
182
+ config.credentials = credentials
183
+ config.quota_project = @quota_project_id
184
+ config.endpoint = @autoscaling_policy_service_stub.endpoint
185
+ config.universe_domain = @autoscaling_policy_service_stub.universe_domain
186
+ end
187
187
  end
188
188
 
189
189
  ##
@@ -164,20 +164,20 @@ module Google
164
164
  @quota_project_id = @config.quota_project
165
165
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
166
166
 
167
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
168
- config.credentials = credentials
169
- config.quota_project = @quota_project_id
170
- config.endpoint = @config.endpoint
171
- config.universe_domain = @config.universe_domain
172
- config.bindings_override = @config.bindings_override
173
- end
174
-
175
167
  @autoscaling_policy_service_stub = ::Google::Cloud::Dataproc::V1::AutoscalingPolicyService::Rest::ServiceStub.new(
176
168
  endpoint: @config.endpoint,
177
169
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
178
170
  universe_domain: @config.universe_domain,
179
171
  credentials: credentials
180
172
  )
173
+
174
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
175
+ config.credentials = credentials
176
+ config.quota_project = @quota_project_id
177
+ config.endpoint = @autoscaling_policy_service_stub.endpoint
178
+ config.universe_domain = @autoscaling_policy_service_stub.universe_domain
179
+ config.bindings_override = @config.bindings_override
180
+ end
181
181
  end
182
182
 
183
183
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the create_autoscaling_policy REST call
57
66
  #
@@ -154,13 +154,6 @@ module Google
154
154
  config.universe_domain = @config.universe_domain
155
155
  end
156
156
 
157
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
158
- config.credentials = credentials
159
- config.quota_project = @quota_project_id
160
- config.endpoint = @config.endpoint
161
- config.universe_domain = @config.universe_domain
162
- end
163
-
164
157
  @batch_controller_stub = ::Gapic::ServiceStub.new(
165
158
  ::Google::Cloud::Dataproc::V1::BatchController::Stub,
166
159
  credentials: credentials,
@@ -171,6 +164,13 @@ module Google
171
164
  interceptors: @config.interceptors,
172
165
  channel_pool_config: @config.channel_pool
173
166
  )
167
+
168
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
169
+ config.credentials = credentials
170
+ config.quota_project = @quota_project_id
171
+ config.endpoint = @batch_controller_stub.endpoint
172
+ config.universe_domain = @batch_controller_stub.universe_domain
173
+ end
174
174
  end
175
175
 
176
176
  ##
@@ -151,20 +151,20 @@ module Google
151
151
  config.universe_domain = @config.universe_domain
152
152
  end
153
153
 
154
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
155
- config.credentials = credentials
156
- config.quota_project = @quota_project_id
157
- config.endpoint = @config.endpoint
158
- config.universe_domain = @config.universe_domain
159
- config.bindings_override = @config.bindings_override
160
- end
161
-
162
154
  @batch_controller_stub = ::Google::Cloud::Dataproc::V1::BatchController::Rest::ServiceStub.new(
163
155
  endpoint: @config.endpoint,
164
156
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
165
157
  universe_domain: @config.universe_domain,
166
158
  credentials: credentials
167
159
  )
160
+
161
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
162
+ config.credentials = credentials
163
+ config.quota_project = @quota_project_id
164
+ config.endpoint = @batch_controller_stub.endpoint
165
+ config.universe_domain = @batch_controller_stub.universe_domain
166
+ config.bindings_override = @config.bindings_override
167
+ end
168
168
  end
169
169
 
170
170
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the create_batch REST call
57
66
  #
@@ -185,13 +185,6 @@ module Google
185
185
  config.universe_domain = @config.universe_domain
186
186
  end
187
187
 
188
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
189
- config.credentials = credentials
190
- config.quota_project = @quota_project_id
191
- config.endpoint = @config.endpoint
192
- config.universe_domain = @config.universe_domain
193
- end
194
-
195
188
  @cluster_controller_stub = ::Gapic::ServiceStub.new(
196
189
  ::Google::Cloud::Dataproc::V1::ClusterController::Stub,
197
190
  credentials: credentials,
@@ -202,6 +195,13 @@ module Google
202
195
  interceptors: @config.interceptors,
203
196
  channel_pool_config: @config.channel_pool
204
197
  )
198
+
199
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
200
+ config.credentials = credentials
201
+ config.quota_project = @quota_project_id
202
+ config.endpoint = @cluster_controller_stub.endpoint
203
+ config.universe_domain = @cluster_controller_stub.universe_domain
204
+ end
205
205
  end
206
206
 
207
207
  ##
@@ -182,20 +182,20 @@ module Google
182
182
  config.universe_domain = @config.universe_domain
183
183
  end
184
184
 
185
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
186
- config.credentials = credentials
187
- config.quota_project = @quota_project_id
188
- config.endpoint = @config.endpoint
189
- config.universe_domain = @config.universe_domain
190
- config.bindings_override = @config.bindings_override
191
- end
192
-
193
185
  @cluster_controller_stub = ::Google::Cloud::Dataproc::V1::ClusterController::Rest::ServiceStub.new(
194
186
  endpoint: @config.endpoint,
195
187
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
196
188
  universe_domain: @config.universe_domain,
197
189
  credentials: credentials
198
190
  )
191
+
192
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
193
+ config.credentials = credentials
194
+ config.quota_project = @quota_project_id
195
+ config.endpoint = @cluster_controller_stub.endpoint
196
+ config.universe_domain = @cluster_controller_stub.universe_domain
197
+ config.bindings_override = @config.bindings_override
198
+ end
199
199
  end
200
200
 
201
201
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the create_cluster REST call
57
66
  #
@@ -187,13 +187,6 @@ module Google
187
187
  config.universe_domain = @config.universe_domain
188
188
  end
189
189
 
190
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
191
- config.credentials = credentials
192
- config.quota_project = @quota_project_id
193
- config.endpoint = @config.endpoint
194
- config.universe_domain = @config.universe_domain
195
- end
196
-
197
190
  @job_controller_stub = ::Gapic::ServiceStub.new(
198
191
  ::Google::Cloud::Dataproc::V1::JobController::Stub,
199
192
  credentials: credentials,
@@ -204,6 +197,13 @@ module Google
204
197
  interceptors: @config.interceptors,
205
198
  channel_pool_config: @config.channel_pool
206
199
  )
200
+
201
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
202
+ config.credentials = credentials
203
+ config.quota_project = @quota_project_id
204
+ config.endpoint = @job_controller_stub.endpoint
205
+ config.universe_domain = @job_controller_stub.universe_domain
206
+ end
207
207
  end
208
208
 
209
209
  ##
@@ -184,20 +184,20 @@ module Google
184
184
  config.universe_domain = @config.universe_domain
185
185
  end
186
186
 
187
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
188
- config.credentials = credentials
189
- config.quota_project = @quota_project_id
190
- config.endpoint = @config.endpoint
191
- config.universe_domain = @config.universe_domain
192
- config.bindings_override = @config.bindings_override
193
- end
194
-
195
187
  @job_controller_stub = ::Google::Cloud::Dataproc::V1::JobController::Rest::ServiceStub.new(
196
188
  endpoint: @config.endpoint,
197
189
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
198
190
  universe_domain: @config.universe_domain,
199
191
  credentials: credentials
200
192
  )
193
+
194
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
195
+ config.credentials = credentials
196
+ config.quota_project = @quota_project_id
197
+ config.endpoint = @job_controller_stub.endpoint
198
+ config.universe_domain = @job_controller_stub.universe_domain
199
+ config.bindings_override = @config.bindings_override
200
+ end
201
201
  end
202
202
 
203
203
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the submit_job REST call
57
66
  #
@@ -155,13 +155,6 @@ module Google
155
155
  config.universe_domain = @config.universe_domain
156
156
  end
157
157
 
158
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
159
- config.credentials = credentials
160
- config.quota_project = @quota_project_id
161
- config.endpoint = @config.endpoint
162
- config.universe_domain = @config.universe_domain
163
- end
164
-
165
158
  @node_group_controller_stub = ::Gapic::ServiceStub.new(
166
159
  ::Google::Cloud::Dataproc::V1::NodeGroupController::Stub,
167
160
  credentials: credentials,
@@ -172,6 +165,13 @@ module Google
172
165
  interceptors: @config.interceptors,
173
166
  channel_pool_config: @config.channel_pool
174
167
  )
168
+
169
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
170
+ config.credentials = credentials
171
+ config.quota_project = @quota_project_id
172
+ config.endpoint = @node_group_controller_stub.endpoint
173
+ config.universe_domain = @node_group_controller_stub.universe_domain
174
+ end
175
175
  end
176
176
 
177
177
  ##
@@ -152,20 +152,20 @@ module Google
152
152
  config.universe_domain = @config.universe_domain
153
153
  end
154
154
 
155
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
156
- config.credentials = credentials
157
- config.quota_project = @quota_project_id
158
- config.endpoint = @config.endpoint
159
- config.universe_domain = @config.universe_domain
160
- config.bindings_override = @config.bindings_override
161
- end
162
-
163
155
  @node_group_controller_stub = ::Google::Cloud::Dataproc::V1::NodeGroupController::Rest::ServiceStub.new(
164
156
  endpoint: @config.endpoint,
165
157
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
166
158
  universe_domain: @config.universe_domain,
167
159
  credentials: credentials
168
160
  )
161
+
162
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
163
+ config.credentials = credentials
164
+ config.quota_project = @quota_project_id
165
+ config.endpoint = @node_group_controller_stub.endpoint
166
+ config.universe_domain = @node_group_controller_stub.universe_domain
167
+ config.bindings_override = @config.bindings_override
168
+ end
169
169
  end
170
170
 
171
171
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the create_node_group REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataproc
23
23
  module V1
24
- VERSION = "0.23.0"
24
+ VERSION = "0.23.1"
25
25
  end
26
26
  end
27
27
  end
@@ -190,13 +190,6 @@ module Google
190
190
  config.universe_domain = @config.universe_domain
191
191
  end
192
192
 
193
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
194
- config.credentials = credentials
195
- config.quota_project = @quota_project_id
196
- config.endpoint = @config.endpoint
197
- config.universe_domain = @config.universe_domain
198
- end
199
-
200
193
  @workflow_template_service_stub = ::Gapic::ServiceStub.new(
201
194
  ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Stub,
202
195
  credentials: credentials,
@@ -207,6 +200,13 @@ module Google
207
200
  interceptors: @config.interceptors,
208
201
  channel_pool_config: @config.channel_pool
209
202
  )
203
+
204
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
205
+ config.credentials = credentials
206
+ config.quota_project = @quota_project_id
207
+ config.endpoint = @workflow_template_service_stub.endpoint
208
+ config.universe_domain = @workflow_template_service_stub.universe_domain
209
+ end
210
210
  end
211
211
 
212
212
  ##
@@ -187,20 +187,20 @@ module Google
187
187
  config.universe_domain = @config.universe_domain
188
188
  end
189
189
 
190
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
191
- config.credentials = credentials
192
- config.quota_project = @quota_project_id
193
- config.endpoint = @config.endpoint
194
- config.universe_domain = @config.universe_domain
195
- config.bindings_override = @config.bindings_override
196
- end
197
-
198
190
  @workflow_template_service_stub = ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Rest::ServiceStub.new(
199
191
  endpoint: @config.endpoint,
200
192
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
201
193
  universe_domain: @config.universe_domain,
202
194
  credentials: credentials
203
195
  )
196
+
197
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
198
+ config.credentials = credentials
199
+ config.quota_project = @quota_project_id
200
+ config.endpoint = @workflow_template_service_stub.endpoint
201
+ config.universe_domain = @workflow_template_service_stub.universe_domain
202
+ config.bindings_override = @config.bindings_override
203
+ end
204
204
  end
205
205
 
206
206
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the create_workflow_template REST call
57
66
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataproc-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.23.1
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-01-11 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common