google-cloud-dataproc-v1beta2 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/dataproc/v1beta2.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/client.rb +120 -120
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/autoscaling_policy_service/paths.rb +10 -10
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/client.rb +171 -171
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/cluster_controller/operations.rb +100 -100
- data/lib/google/cloud/dataproc/v1beta2/job_controller.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/job_controller/client.rb +177 -177
- data/lib/google/cloud/dataproc/v1beta2/job_controller/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/job_controller/operations.rb +100 -100
- data/lib/google/cloud/dataproc/v1beta2/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/client.rb +172 -172
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/credentials.rb +1 -1
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/operations.rb +100 -100
- data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/paths.rb +10 -10
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/dataproc/v1beta2/autoscaling_policies.rb +45 -45
- data/proto_docs/google/cloud/dataproc/v1beta2/clusters.rb +203 -203
- data/proto_docs/google/cloud/dataproc/v1beta2/jobs.rb +224 -224
- data/proto_docs/google/cloud/dataproc/v1beta2/operations.rb +20 -20
- data/proto_docs/google/cloud/dataproc/v1beta2/workflow_templates.rb +145 -145
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a369acdf3e665982ac8e7f66611be5abd95a9f1d84c639f8a5e97d3ac4ea23f
|
4
|
+
data.tar.gz: e2fc906e2829592c41c27caa0ed7417ee901c11d68ca5b8af353cf243120a202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37567e804801b891fdbe12ae8b44e9a7e040e0ea47e13527d30e18ba27dd0d902c316282a55fbb63b682065a02be1939375627ccde0bd7a25624df925a321801
|
7
|
+
data.tar.gz: c5961a9092bc235f1b903466d3350f4b2fc3bbc69ccf164166d68b2717fe1dd277b2803aa1da3192dc203724611f4cfbe2bd6b515ae74b70902f2825edf601ad
|
data/AUTHENTICATION.md
CHANGED
@@ -27,7 +27,7 @@ export DATAPROC_CREDENTIALS=path/to/keyfile.json
|
|
27
27
|
```ruby
|
28
28
|
require "google/cloud/dataproc/v1beta2"
|
29
29
|
|
30
|
-
client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
30
|
+
client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
31
31
|
```
|
32
32
|
|
33
33
|
## Credential Lookup
|
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
|
|
64
64
|
|
65
65
|
The environment variables that google-cloud-dataproc-v1beta2
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
|
-
{Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Credentials}):
|
67
|
+
{::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Credentials}):
|
68
68
|
|
69
69
|
1. `DATAPROC_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
70
|
2. `DATAPROC_KEYFILE` - Path to JSON file, or JSON contents
|
@@ -77,7 +77,7 @@ require "google/cloud/dataproc/v1beta2"
|
|
77
77
|
|
78
78
|
ENV["DATAPROC_CREDENTIALS"] = "path/to/keyfile.json"
|
79
79
|
|
80
|
-
client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
80
|
+
client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
81
81
|
```
|
82
82
|
|
83
83
|
### Configuration
|
@@ -88,7 +88,7 @@ environment variables. Either on an individual client initialization:
|
|
88
88
|
```ruby
|
89
89
|
require "google/cloud/dataproc/v1beta2"
|
90
90
|
|
91
|
-
client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new do |config|
|
91
|
+
client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new do |config|
|
92
92
|
config.credentials = "path/to/keyfile.json"
|
93
93
|
end
|
94
94
|
```
|
@@ -98,11 +98,11 @@ Or configured globally for all clients:
|
|
98
98
|
```ruby
|
99
99
|
require "google/cloud/dataproc/v1beta2"
|
100
100
|
|
101
|
-
Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.configure do |config|
|
101
|
+
::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.configure do |config|
|
102
102
|
config.credentials = "path/to/keyfile.json"
|
103
103
|
end
|
104
104
|
|
105
|
-
client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
105
|
+
client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
106
106
|
```
|
107
107
|
|
108
108
|
### Cloud SDK
|
data/README.md
CHANGED
@@ -25,7 +25,7 @@ In order to use this library, you first need to go through the following steps:
|
|
25
25
|
```ruby
|
26
26
|
require "google/cloud/dataproc/v1beta2"
|
27
27
|
|
28
|
-
client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
28
|
+
client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
29
29
|
request = my_create_request
|
30
30
|
response = client.create_autoscaling_policy request
|
31
31
|
```
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# To load this package, including all its services, and instantiate a client:
|
30
30
|
#
|
31
31
|
# require "google/cloud/dataproc/v1beta2"
|
32
|
-
# client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
32
|
+
# client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
33
33
|
#
|
34
34
|
module V1beta2
|
35
35
|
end
|
@@ -37,7 +37,7 @@ module Google
|
|
37
37
|
# To load this service and instantiate a client:
|
38
38
|
#
|
39
39
|
# require "google/cloud/dataproc/v1beta2/autoscaling_policy_service"
|
40
|
-
# client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
40
|
+
# client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
41
41
|
#
|
42
42
|
module AutoscalingPolicyService
|
43
43
|
end
|
@@ -39,15 +39,15 @@ module Google
|
|
39
39
|
##
|
40
40
|
# Configure the AutoscalingPolicyService Client class.
|
41
41
|
#
|
42
|
-
# See {Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client::Configuration}
|
42
|
+
# See {::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client::Configuration}
|
43
43
|
# for a description of the configuration fields.
|
44
44
|
#
|
45
45
|
# ## Example
|
46
46
|
#
|
47
47
|
# To modify the configuration for all AutoscalingPolicyService clients:
|
48
48
|
#
|
49
|
-
# Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.configure do |config|
|
50
|
-
# config.timeout =
|
49
|
+
# ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.configure do |config|
|
50
|
+
# config.timeout = 10.0
|
51
51
|
# end
|
52
52
|
#
|
53
53
|
# @yield [config] Configure the Client client.
|
@@ -107,7 +107,7 @@ module Google
|
|
107
107
|
# but structural changes (adding new fields, etc.) are not allowed. Structural changes
|
108
108
|
# should be made on {Client.configure}.
|
109
109
|
#
|
110
|
-
# See {Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client::Configuration}
|
110
|
+
# See {::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client::Configuration}
|
111
111
|
# for a description of the configuration fields.
|
112
112
|
#
|
113
113
|
# @yield [config] Configure the Client client.
|
@@ -128,13 +128,13 @@ module Google
|
|
128
128
|
# To create a new AutoscalingPolicyService client with the default
|
129
129
|
# configuration:
|
130
130
|
#
|
131
|
-
# client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
131
|
+
# client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
|
132
132
|
#
|
133
133
|
# To create a new AutoscalingPolicyService client with a custom
|
134
134
|
# configuration:
|
135
135
|
#
|
136
|
-
# client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new do |config|
|
137
|
-
# config.timeout =
|
136
|
+
# client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new do |config|
|
137
|
+
# config.timeout = 10.0
|
138
138
|
# end
|
139
139
|
#
|
140
140
|
# @yield [config] Configure the AutoscalingPolicyService client.
|
@@ -161,8 +161,8 @@ module Google
|
|
161
161
|
end
|
162
162
|
@quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
|
163
163
|
|
164
|
-
@autoscaling_policy_service_stub = Gapic::ServiceStub.new(
|
165
|
-
Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Stub,
|
164
|
+
@autoscaling_policy_service_stub = ::Gapic::ServiceStub.new(
|
165
|
+
::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Stub,
|
166
166
|
credentials: credentials,
|
167
167
|
endpoint: @config.endpoint,
|
168
168
|
channel_args: @config.channel_args,
|
@@ -177,12 +177,12 @@ module Google
|
|
177
177
|
#
|
178
178
|
# @overload create_autoscaling_policy(request, options = nil)
|
179
179
|
# Pass arguments to `create_autoscaling_policy` via a request object, either of type
|
180
|
-
# {Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest} or an equivalent Hash.
|
180
|
+
# {::Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest} or an equivalent Hash.
|
181
181
|
#
|
182
|
-
# @param request [Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest, Hash]
|
182
|
+
# @param request [::Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest, ::Hash]
|
183
183
|
# A request object representing the call parameters. Required. To specify no
|
184
184
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
185
|
-
# @param options [Gapic::CallOptions, Hash]
|
185
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
186
186
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
187
187
|
#
|
188
188
|
# @overload create_autoscaling_policy(parent: nil, policy: nil)
|
@@ -190,7 +190,7 @@ module Google
|
|
190
190
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
191
191
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
192
192
|
#
|
193
|
-
# @param parent [String]
|
193
|
+
# @param parent [::String]
|
194
194
|
# Required. The "resource name" of the region or location, as described
|
195
195
|
# in https://cloud.google.com/apis/design/resource_names.
|
196
196
|
#
|
@@ -201,30 +201,30 @@ module Google
|
|
201
201
|
# * For `projects.locations.autoscalingPolicies.create`, the resource name
|
202
202
|
# has the following format:
|
203
203
|
# `projects/{project_id}/locations/{location}`
|
204
|
-
# @param policy [Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy, Hash]
|
204
|
+
# @param policy [::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy, ::Hash]
|
205
205
|
# Required. The autoscaling policy to create.
|
206
206
|
#
|
207
207
|
# @yield [response, operation] Access the result along with the RPC operation
|
208
|
-
# @yieldparam response [Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
209
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
208
|
+
# @yieldparam response [::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
209
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
210
210
|
#
|
211
|
-
# @return [Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
211
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
212
212
|
#
|
213
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
213
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
214
214
|
#
|
215
215
|
def create_autoscaling_policy request, options = nil
|
216
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
216
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
217
217
|
|
218
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest
|
218
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::CreateAutoscalingPolicyRequest
|
219
219
|
|
220
220
|
# Converts hash and nil to an options object
|
221
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
221
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
222
222
|
|
223
223
|
# Customize the options with defaults
|
224
224
|
metadata = @config.rpcs.create_autoscaling_policy.metadata.to_h
|
225
225
|
|
226
226
|
# Set x-goog-api-client and x-goog-user-project headers
|
227
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
227
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
228
228
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
229
229
|
gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
|
230
230
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -245,8 +245,8 @@ module Google
|
|
245
245
|
yield response, operation if block_given?
|
246
246
|
return response
|
247
247
|
end
|
248
|
-
rescue GRPC::BadStatus => e
|
249
|
-
raise Google::Cloud::Error.from_error(e)
|
248
|
+
rescue ::GRPC::BadStatus => e
|
249
|
+
raise ::Google::Cloud::Error.from_error(e)
|
250
250
|
end
|
251
251
|
|
252
252
|
##
|
@@ -257,12 +257,12 @@ module Google
|
|
257
257
|
#
|
258
258
|
# @overload update_autoscaling_policy(request, options = nil)
|
259
259
|
# Pass arguments to `update_autoscaling_policy` via a request object, either of type
|
260
|
-
# {Google::Cloud::Dataproc::V1beta2::UpdateAutoscalingPolicyRequest} or an equivalent Hash.
|
260
|
+
# {::Google::Cloud::Dataproc::V1beta2::UpdateAutoscalingPolicyRequest} or an equivalent Hash.
|
261
261
|
#
|
262
|
-
# @param request [Google::Cloud::Dataproc::V1beta2::UpdateAutoscalingPolicyRequest, Hash]
|
262
|
+
# @param request [::Google::Cloud::Dataproc::V1beta2::UpdateAutoscalingPolicyRequest, ::Hash]
|
263
263
|
# A request object representing the call parameters. Required. To specify no
|
264
264
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
265
|
-
# @param options [Gapic::CallOptions, Hash]
|
265
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
266
266
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
267
267
|
#
|
268
268
|
# @overload update_autoscaling_policy(policy: nil)
|
@@ -270,30 +270,30 @@ module Google
|
|
270
270
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
271
271
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
272
272
|
#
|
273
|
-
# @param policy [Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy, Hash]
|
273
|
+
# @param policy [::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy, ::Hash]
|
274
274
|
# Required. The updated autoscaling policy.
|
275
275
|
#
|
276
276
|
# @yield [response, operation] Access the result along with the RPC operation
|
277
|
-
# @yieldparam response [Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
278
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
277
|
+
# @yieldparam response [::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
278
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
279
279
|
#
|
280
|
-
# @return [Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
280
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
281
281
|
#
|
282
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
282
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
283
283
|
#
|
284
284
|
def update_autoscaling_policy request, options = nil
|
285
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
285
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
286
286
|
|
287
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::UpdateAutoscalingPolicyRequest
|
287
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::UpdateAutoscalingPolicyRequest
|
288
288
|
|
289
289
|
# Converts hash and nil to an options object
|
290
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
290
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
291
291
|
|
292
292
|
# Customize the options with defaults
|
293
293
|
metadata = @config.rpcs.update_autoscaling_policy.metadata.to_h
|
294
294
|
|
295
295
|
# Set x-goog-api-client and x-goog-user-project headers
|
296
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
296
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
297
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
298
298
|
gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
|
299
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -314,8 +314,8 @@ module Google
|
|
314
314
|
yield response, operation if block_given?
|
315
315
|
return response
|
316
316
|
end
|
317
|
-
rescue GRPC::BadStatus => e
|
318
|
-
raise Google::Cloud::Error.from_error(e)
|
317
|
+
rescue ::GRPC::BadStatus => e
|
318
|
+
raise ::Google::Cloud::Error.from_error(e)
|
319
319
|
end
|
320
320
|
|
321
321
|
##
|
@@ -323,12 +323,12 @@ module Google
|
|
323
323
|
#
|
324
324
|
# @overload get_autoscaling_policy(request, options = nil)
|
325
325
|
# Pass arguments to `get_autoscaling_policy` via a request object, either of type
|
326
|
-
# {Google::Cloud::Dataproc::V1beta2::GetAutoscalingPolicyRequest} or an equivalent Hash.
|
326
|
+
# {::Google::Cloud::Dataproc::V1beta2::GetAutoscalingPolicyRequest} or an equivalent Hash.
|
327
327
|
#
|
328
|
-
# @param request [Google::Cloud::Dataproc::V1beta2::GetAutoscalingPolicyRequest, Hash]
|
328
|
+
# @param request [::Google::Cloud::Dataproc::V1beta2::GetAutoscalingPolicyRequest, ::Hash]
|
329
329
|
# A request object representing the call parameters. Required. To specify no
|
330
330
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
331
|
-
# @param options [Gapic::CallOptions, Hash]
|
331
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
332
332
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
333
333
|
#
|
334
334
|
# @overload get_autoscaling_policy(name: nil)
|
@@ -336,7 +336,7 @@ module Google
|
|
336
336
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
337
337
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
338
338
|
#
|
339
|
-
# @param name [String]
|
339
|
+
# @param name [::String]
|
340
340
|
# Required. The "resource name" of the autoscaling policy, as described
|
341
341
|
# in https://cloud.google.com/apis/design/resource_names.
|
342
342
|
#
|
@@ -349,26 +349,26 @@ module Google
|
|
349
349
|
# `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`
|
350
350
|
#
|
351
351
|
# @yield [response, operation] Access the result along with the RPC operation
|
352
|
-
# @yieldparam response [Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
353
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
352
|
+
# @yieldparam response [::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
353
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
354
354
|
#
|
355
|
-
# @return [Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
355
|
+
# @return [::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy]
|
356
356
|
#
|
357
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
357
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
358
358
|
#
|
359
359
|
def get_autoscaling_policy request, options = nil
|
360
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
360
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
361
361
|
|
362
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::GetAutoscalingPolicyRequest
|
362
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::GetAutoscalingPolicyRequest
|
363
363
|
|
364
364
|
# Converts hash and nil to an options object
|
365
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
365
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
366
366
|
|
367
367
|
# Customize the options with defaults
|
368
368
|
metadata = @config.rpcs.get_autoscaling_policy.metadata.to_h
|
369
369
|
|
370
370
|
# Set x-goog-api-client and x-goog-user-project headers
|
371
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
371
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
372
372
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
373
373
|
gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
|
374
374
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -389,8 +389,8 @@ module Google
|
|
389
389
|
yield response, operation if block_given?
|
390
390
|
return response
|
391
391
|
end
|
392
|
-
rescue GRPC::BadStatus => e
|
393
|
-
raise Google::Cloud::Error.from_error(e)
|
392
|
+
rescue ::GRPC::BadStatus => e
|
393
|
+
raise ::Google::Cloud::Error.from_error(e)
|
394
394
|
end
|
395
395
|
|
396
396
|
##
|
@@ -398,12 +398,12 @@ module Google
|
|
398
398
|
#
|
399
399
|
# @overload list_autoscaling_policies(request, options = nil)
|
400
400
|
# Pass arguments to `list_autoscaling_policies` via a request object, either of type
|
401
|
-
# {Google::Cloud::Dataproc::V1beta2::ListAutoscalingPoliciesRequest} or an equivalent Hash.
|
401
|
+
# {::Google::Cloud::Dataproc::V1beta2::ListAutoscalingPoliciesRequest} or an equivalent Hash.
|
402
402
|
#
|
403
|
-
# @param request [Google::Cloud::Dataproc::V1beta2::ListAutoscalingPoliciesRequest, Hash]
|
403
|
+
# @param request [::Google::Cloud::Dataproc::V1beta2::ListAutoscalingPoliciesRequest, ::Hash]
|
404
404
|
# A request object representing the call parameters. Required. To specify no
|
405
405
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
406
|
-
# @param options [Gapic::CallOptions, Hash]
|
406
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
407
407
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
408
408
|
#
|
409
409
|
# @overload list_autoscaling_policies(parent: nil, page_size: nil, page_token: nil)
|
@@ -411,7 +411,7 @@ module Google
|
|
411
411
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
412
412
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
413
413
|
#
|
414
|
-
# @param parent [String]
|
414
|
+
# @param parent [::String]
|
415
415
|
# Required. The "resource name" of the region or location, as described
|
416
416
|
# in https://cloud.google.com/apis/design/resource_names.
|
417
417
|
#
|
@@ -422,34 +422,34 @@ module Google
|
|
422
422
|
# * For `projects.locations.autoscalingPolicies.list`, the resource name
|
423
423
|
# of the location has the following format:
|
424
424
|
# `projects/{project_id}/locations/{location}`
|
425
|
-
# @param page_size [Integer]
|
425
|
+
# @param page_size [::Integer]
|
426
426
|
# Optional. The maximum number of results to return in each response.
|
427
427
|
# Must be less than or equal to 1000. Defaults to 100.
|
428
|
-
# @param page_token [String]
|
428
|
+
# @param page_token [::String]
|
429
429
|
# Optional. The page token, returned by a previous call, to request the
|
430
430
|
# next page of results.
|
431
431
|
#
|
432
432
|
# @yield [response, operation] Access the result along with the RPC operation
|
433
|
-
# @yieldparam response [Gapic::PagedEnumerable
|
434
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
433
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy>]
|
434
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
435
435
|
#
|
436
|
-
# @return [Gapic::PagedEnumerable
|
436
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicy>]
|
437
437
|
#
|
438
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
438
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
439
439
|
#
|
440
440
|
def list_autoscaling_policies request, options = nil
|
441
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
441
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
442
442
|
|
443
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::ListAutoscalingPoliciesRequest
|
443
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::ListAutoscalingPoliciesRequest
|
444
444
|
|
445
445
|
# Converts hash and nil to an options object
|
446
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
446
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
447
447
|
|
448
448
|
# Customize the options with defaults
|
449
449
|
metadata = @config.rpcs.list_autoscaling_policies.metadata.to_h
|
450
450
|
|
451
451
|
# Set x-goog-api-client and x-goog-user-project headers
|
452
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
452
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
453
453
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
454
454
|
gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
|
455
455
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -467,12 +467,12 @@ module Google
|
|
467
467
|
retry_policy: @config.retry_policy
|
468
468
|
|
469
469
|
@autoscaling_policy_service_stub.call_rpc :list_autoscaling_policies, request, options: options do |response, operation|
|
470
|
-
response = Gapic::PagedEnumerable.new @autoscaling_policy_service_stub, :list_autoscaling_policies, request, response, operation, options
|
470
|
+
response = ::Gapic::PagedEnumerable.new @autoscaling_policy_service_stub, :list_autoscaling_policies, request, response, operation, options
|
471
471
|
yield response, operation if block_given?
|
472
472
|
return response
|
473
473
|
end
|
474
|
-
rescue GRPC::BadStatus => e
|
475
|
-
raise Google::Cloud::Error.from_error(e)
|
474
|
+
rescue ::GRPC::BadStatus => e
|
475
|
+
raise ::Google::Cloud::Error.from_error(e)
|
476
476
|
end
|
477
477
|
|
478
478
|
##
|
@@ -481,12 +481,12 @@ module Google
|
|
481
481
|
#
|
482
482
|
# @overload delete_autoscaling_policy(request, options = nil)
|
483
483
|
# Pass arguments to `delete_autoscaling_policy` via a request object, either of type
|
484
|
-
# {Google::Cloud::Dataproc::V1beta2::DeleteAutoscalingPolicyRequest} or an equivalent Hash.
|
484
|
+
# {::Google::Cloud::Dataproc::V1beta2::DeleteAutoscalingPolicyRequest} or an equivalent Hash.
|
485
485
|
#
|
486
|
-
# @param request [Google::Cloud::Dataproc::V1beta2::DeleteAutoscalingPolicyRequest, Hash]
|
486
|
+
# @param request [::Google::Cloud::Dataproc::V1beta2::DeleteAutoscalingPolicyRequest, ::Hash]
|
487
487
|
# A request object representing the call parameters. Required. To specify no
|
488
488
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
489
|
-
# @param options [Gapic::CallOptions, Hash]
|
489
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
490
490
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
491
491
|
#
|
492
492
|
# @overload delete_autoscaling_policy(name: nil)
|
@@ -494,7 +494,7 @@ module Google
|
|
494
494
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
495
495
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
496
496
|
#
|
497
|
-
# @param name [String]
|
497
|
+
# @param name [::String]
|
498
498
|
# Required. The "resource name" of the autoscaling policy, as described
|
499
499
|
# in https://cloud.google.com/apis/design/resource_names.
|
500
500
|
#
|
@@ -507,26 +507,26 @@ module Google
|
|
507
507
|
# `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`
|
508
508
|
#
|
509
509
|
# @yield [response, operation] Access the result along with the RPC operation
|
510
|
-
# @yieldparam response [Google::Protobuf::Empty]
|
511
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
510
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
511
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
512
512
|
#
|
513
|
-
# @return [Google::Protobuf::Empty]
|
513
|
+
# @return [::Google::Protobuf::Empty]
|
514
514
|
#
|
515
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
515
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
516
516
|
#
|
517
517
|
def delete_autoscaling_policy request, options = nil
|
518
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
518
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
519
519
|
|
520
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::Dataproc::V1beta2::DeleteAutoscalingPolicyRequest
|
520
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataproc::V1beta2::DeleteAutoscalingPolicyRequest
|
521
521
|
|
522
522
|
# Converts hash and nil to an options object
|
523
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
523
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
524
524
|
|
525
525
|
# Customize the options with defaults
|
526
526
|
metadata = @config.rpcs.delete_autoscaling_policy.metadata.to_h
|
527
527
|
|
528
528
|
# Set x-goog-api-client and x-goog-user-project headers
|
529
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
529
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
530
530
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
531
531
|
gapic_version: ::Google::Cloud::Dataproc::V1beta2::VERSION
|
532
532
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -547,8 +547,8 @@ module Google
|
|
547
547
|
yield response, operation if block_given?
|
548
548
|
return response
|
549
549
|
end
|
550
|
-
rescue GRPC::BadStatus => e
|
551
|
-
raise Google::Cloud::Error.from_error(e)
|
550
|
+
rescue ::GRPC::BadStatus => e
|
551
|
+
raise ::Google::Cloud::Error.from_error(e)
|
552
552
|
end
|
553
553
|
|
554
554
|
##
|
@@ -558,7 +558,7 @@ module Google
|
|
558
558
|
# providing control over timeouts, retry behavior, logging, transport
|
559
559
|
# parameters, and other low-level controls. Certain parameters can also be
|
560
560
|
# applied individually to specific RPCs. See
|
561
|
-
# {Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client::Configuration::Rpcs}
|
561
|
+
# {::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client::Configuration::Rpcs}
|
562
562
|
# for a list of RPCs that can be configured independently.
|
563
563
|
#
|
564
564
|
# Configuration can be applied globally to all clients, or to a single client
|
@@ -569,22 +569,22 @@ module Google
|
|
569
569
|
# To modify the global config, setting the timeout for create_autoscaling_policy
|
570
570
|
# to 20 seconds, and all remaining timeouts to 10 seconds:
|
571
571
|
#
|
572
|
-
# Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.configure do |config|
|
573
|
-
# config.timeout =
|
574
|
-
# config.rpcs.create_autoscaling_policy.timeout =
|
572
|
+
# ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.configure do |config|
|
573
|
+
# config.timeout = 10.0
|
574
|
+
# config.rpcs.create_autoscaling_policy.timeout = 20.0
|
575
575
|
# end
|
576
576
|
#
|
577
577
|
# To apply the above configuration only to a new client:
|
578
578
|
#
|
579
|
-
# client = Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new do |config|
|
580
|
-
# config.timeout =
|
581
|
-
# config.rpcs.create_autoscaling_policy.timeout =
|
579
|
+
# client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new do |config|
|
580
|
+
# config.timeout = 10.0
|
581
|
+
# config.rpcs.create_autoscaling_policy.timeout = 20.0
|
582
582
|
# end
|
583
583
|
#
|
584
584
|
# @!attribute [rw] endpoint
|
585
585
|
# The hostname or hostname:port of the service endpoint.
|
586
586
|
# Defaults to `"dataproc.googleapis.com"`.
|
587
|
-
# @return [String]
|
587
|
+
# @return [::String]
|
588
588
|
# @!attribute [rw] credentials
|
589
589
|
# Credentials to send with calls. You may provide any of the following types:
|
590
590
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -596,29 +596,29 @@ module Google
|
|
596
596
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
597
597
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
598
598
|
# * (`nil`) indicating no credentials
|
599
|
-
# @return [Object]
|
599
|
+
# @return [::Object]
|
600
600
|
# @!attribute [rw] scope
|
601
601
|
# The OAuth scopes
|
602
|
-
# @return [Array
|
602
|
+
# @return [::Array<::String>]
|
603
603
|
# @!attribute [rw] lib_name
|
604
604
|
# The library name as recorded in instrumentation and logging
|
605
|
-
# @return [String]
|
605
|
+
# @return [::String]
|
606
606
|
# @!attribute [rw] lib_version
|
607
607
|
# The library version as recorded in instrumentation and logging
|
608
|
-
# @return [String]
|
608
|
+
# @return [::String]
|
609
609
|
# @!attribute [rw] channel_args
|
610
610
|
# Extra parameters passed to the gRPC channel. Note: this is ignored if a
|
611
611
|
# `GRPC::Core::Channel` object is provided as the credential.
|
612
|
-
# @return [Hash]
|
612
|
+
# @return [::Hash]
|
613
613
|
# @!attribute [rw] interceptors
|
614
614
|
# An array of interceptors that are run before calls are executed.
|
615
|
-
# @return [Array
|
615
|
+
# @return [::Array<::GRPC::ClientInterceptor>]
|
616
616
|
# @!attribute [rw] timeout
|
617
|
-
# The call timeout in
|
618
|
-
# @return [Numeric]
|
617
|
+
# The call timeout in seconds.
|
618
|
+
# @return [::Numeric]
|
619
619
|
# @!attribute [rw] metadata
|
620
620
|
# Additional gRPC headers to be sent with the call.
|
621
|
-
# @return [Hash{Symbol
|
621
|
+
# @return [::Hash{::Symbol=>::String}]
|
622
622
|
# @!attribute [rw] retry_policy
|
623
623
|
# The retry policy. The value is a hash with the following keys:
|
624
624
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
@@ -626,10 +626,10 @@ module Google
|
|
626
626
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
627
627
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
628
628
|
# trigger a retry.
|
629
|
-
# @return [Hash]
|
629
|
+
# @return [::Hash]
|
630
630
|
#
|
631
631
|
class Configuration
|
632
|
-
extend Gapic::Config
|
632
|
+
extend ::Gapic::Config
|
633
633
|
|
634
634
|
config_attr :endpoint, "dataproc.googleapis.com", String
|
635
635
|
config_attr :credentials, nil do |value|
|
@@ -637,14 +637,14 @@ module Google
|
|
637
637
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
638
638
|
allowed.any? { |klass| klass === value }
|
639
639
|
end
|
640
|
-
config_attr :scope, nil, String, Array, nil
|
641
|
-
config_attr :lib_name, nil, String, nil
|
642
|
-
config_attr :lib_version, nil, String, nil
|
643
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
|
644
|
-
config_attr :interceptors, nil, Array, nil
|
645
|
-
config_attr :timeout, nil, Numeric, nil
|
646
|
-
config_attr :metadata, nil, Hash, nil
|
647
|
-
config_attr :retry_policy, nil, Hash, Proc, nil
|
640
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
641
|
+
config_attr :lib_name, nil, ::String, nil
|
642
|
+
config_attr :lib_version, nil, ::String, nil
|
643
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
644
|
+
config_attr :interceptors, nil, ::Array, nil
|
645
|
+
config_attr :timeout, nil, ::Numeric, nil
|
646
|
+
config_attr :metadata, nil, ::Hash, nil
|
647
|
+
config_attr :retry_policy, nil, ::Hash, Proc, nil
|
648
648
|
|
649
649
|
# @private
|
650
650
|
def initialize parent_config = nil
|
@@ -685,42 +685,42 @@ module Google
|
|
685
685
|
class Rpcs
|
686
686
|
##
|
687
687
|
# RPC-specific configuration for `create_autoscaling_policy`
|
688
|
-
# @return [Gapic::Config::Method]
|
688
|
+
# @return [::Gapic::Config::Method]
|
689
689
|
#
|
690
690
|
attr_reader :create_autoscaling_policy
|
691
691
|
##
|
692
692
|
# RPC-specific configuration for `update_autoscaling_policy`
|
693
|
-
# @return [Gapic::Config::Method]
|
693
|
+
# @return [::Gapic::Config::Method]
|
694
694
|
#
|
695
695
|
attr_reader :update_autoscaling_policy
|
696
696
|
##
|
697
697
|
# RPC-specific configuration for `get_autoscaling_policy`
|
698
|
-
# @return [Gapic::Config::Method]
|
698
|
+
# @return [::Gapic::Config::Method]
|
699
699
|
#
|
700
700
|
attr_reader :get_autoscaling_policy
|
701
701
|
##
|
702
702
|
# RPC-specific configuration for `list_autoscaling_policies`
|
703
|
-
# @return [Gapic::Config::Method]
|
703
|
+
# @return [::Gapic::Config::Method]
|
704
704
|
#
|
705
705
|
attr_reader :list_autoscaling_policies
|
706
706
|
##
|
707
707
|
# RPC-specific configuration for `delete_autoscaling_policy`
|
708
|
-
# @return [Gapic::Config::Method]
|
708
|
+
# @return [::Gapic::Config::Method]
|
709
709
|
#
|
710
710
|
attr_reader :delete_autoscaling_policy
|
711
711
|
|
712
712
|
# @private
|
713
713
|
def initialize parent_rpcs = nil
|
714
714
|
create_autoscaling_policy_config = parent_rpcs&.create_autoscaling_policy if parent_rpcs&.respond_to? :create_autoscaling_policy
|
715
|
-
@create_autoscaling_policy = Gapic::Config::Method.new create_autoscaling_policy_config
|
715
|
+
@create_autoscaling_policy = ::Gapic::Config::Method.new create_autoscaling_policy_config
|
716
716
|
update_autoscaling_policy_config = parent_rpcs&.update_autoscaling_policy if parent_rpcs&.respond_to? :update_autoscaling_policy
|
717
|
-
@update_autoscaling_policy = Gapic::Config::Method.new update_autoscaling_policy_config
|
717
|
+
@update_autoscaling_policy = ::Gapic::Config::Method.new update_autoscaling_policy_config
|
718
718
|
get_autoscaling_policy_config = parent_rpcs&.get_autoscaling_policy if parent_rpcs&.respond_to? :get_autoscaling_policy
|
719
|
-
@get_autoscaling_policy = Gapic::Config::Method.new get_autoscaling_policy_config
|
719
|
+
@get_autoscaling_policy = ::Gapic::Config::Method.new get_autoscaling_policy_config
|
720
720
|
list_autoscaling_policies_config = parent_rpcs&.list_autoscaling_policies if parent_rpcs&.respond_to? :list_autoscaling_policies
|
721
|
-
@list_autoscaling_policies = Gapic::Config::Method.new list_autoscaling_policies_config
|
721
|
+
@list_autoscaling_policies = ::Gapic::Config::Method.new list_autoscaling_policies_config
|
722
722
|
delete_autoscaling_policy_config = parent_rpcs&.delete_autoscaling_policy if parent_rpcs&.respond_to? :delete_autoscaling_policy
|
723
|
-
@delete_autoscaling_policy = Gapic::Config::Method.new delete_autoscaling_policy_config
|
723
|
+
@delete_autoscaling_policy = ::Gapic::Config::Method.new delete_autoscaling_policy_config
|
724
724
|
|
725
725
|
yield self if block_given?
|
726
726
|
end
|