google-cloud-secret_manager-v1beta1 0.5.0 → 0.5.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: cedd1bc12854ce0a61d41f303eec6b7a87a17b5410f42b3e547d3e521c01bec9
4
- data.tar.gz: b21c6a8db3ed700dbff1c348832712e1dbb5e0daaa038e9c8881ef6f474334ff
3
+ metadata.gz: dcc045292215ef9e67cc509446a12ceb6ac21e2af29be20f60d71698708e7376
4
+ data.tar.gz: f178889683a4111279f966d19b6469c7c546ddae7c7801bba7e34eeaf71e49e8
5
5
  SHA512:
6
- metadata.gz: 8e1e4019b2f1e7aad52fac6fcdf4bc15091acc0130ab3abc67fc503363f0279071466e0b605125cc4aac1529f32040100b248d21c07405b3a652d7c60b3122bf
7
- data.tar.gz: 50c5fbc5bfbcd7e3d8d119e279d60fba3f1a75c98c3601f2db6f4d80019f434379b5172310191b96a1ab9ceac0d1358d5f9c4abaa9d8b54cf59453ccbf20b621
6
+ metadata.gz: 173027c91900205a2ec1d0cc20ebeacefea3e0ecaaaa114945833f841af93c70781cd227e08430efa174d3b309fb130f51932590e0dbb3c7813b4e0a0a4e4634
7
+ data.tar.gz: f414606073391a97b98d21b0d39b78dd05854640af1a4b73f4442d9865ed982f711e41f4fd4f6aacbb07e067c68680b9f91bb9f4a6286af52809e9dd93c661f1
@@ -27,7 +27,7 @@ export SECRET_MANAGER_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/secret_manager/v1beta1"
29
29
 
30
- client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
30
+ client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::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-secret_manager-v1beta1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Credentials}):
67
+ {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Credentials}):
68
68
 
69
69
  1. `SECRET_MANAGER_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  2. `SECRET_MANAGER_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/secret_manager/v1beta1"
77
77
 
78
78
  ENV["SECRET_MANAGER_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
80
+ client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::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/secret_manager/v1beta1"
90
90
 
91
- client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new do |config|
91
+ client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::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/secret_manager/v1beta1"
100
100
 
101
- Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.configure do |config|
101
+ ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
105
+ client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::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/secret_manager/v1beta1"
27
27
 
28
- client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
28
+ client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
29
29
  request = my_create_request
30
30
  response = client.list_secrets request
31
31
  ```
@@ -26,7 +26,7 @@ module Google
26
26
  # To load this package, including all its services, and instantiate a client:
27
27
  #
28
28
  # require "google/cloud/secret_manager/v1beta1"
29
- # client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
29
+ # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
30
30
  #
31
31
  module V1beta1
32
32
  end
@@ -36,13 +36,13 @@ module Google
36
36
  # Manages secrets and operations using those secrets. Implements a REST
37
37
  # model with the following objects:
38
38
  #
39
- # * {Google::Cloud::SecretManager::V1beta1::Secret Secret}
40
- # * {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}
39
+ # * {::Google::Cloud::SecretManager::V1beta1::Secret Secret}
40
+ # * {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}
41
41
  #
42
42
  # To load this service and instantiate a client:
43
43
  #
44
44
  # require "google/cloud/secret_manager/v1beta1/secret_manager_service"
45
- # client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
45
+ # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
46
46
  #
47
47
  module SecretManagerService
48
48
  end
@@ -32,8 +32,8 @@ module Google
32
32
  # Manages secrets and operations using those secrets. Implements a REST
33
33
  # model with the following objects:
34
34
  #
35
- # * {Google::Cloud::SecretManager::V1beta1::Secret Secret}
36
- # * {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}
35
+ # * {::Google::Cloud::SecretManager::V1beta1::Secret Secret}
36
+ # * {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}
37
37
  #
38
38
  class Client
39
39
  include Paths
@@ -44,15 +44,15 @@ module Google
44
44
  ##
45
45
  # Configure the SecretManagerService Client class.
46
46
  #
47
- # See {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client::Configuration}
47
+ # See {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client::Configuration}
48
48
  # for a description of the configuration fields.
49
49
  #
50
50
  # ## Example
51
51
  #
52
52
  # To modify the configuration for all SecretManagerService clients:
53
53
  #
54
- # Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.configure do |config|
55
- # config.timeout = 10_000
54
+ # ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.configure do |config|
55
+ # config.timeout = 10.0
56
56
  # end
57
57
  #
58
58
  # @yield [config] Configure the Client client.
@@ -120,7 +120,7 @@ module Google
120
120
  # but structural changes (adding new fields, etc.) are not allowed. Structural changes
121
121
  # should be made on {Client.configure}.
122
122
  #
123
- # See {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client::Configuration}
123
+ # See {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client::Configuration}
124
124
  # for a description of the configuration fields.
125
125
  #
126
126
  # @yield [config] Configure the Client client.
@@ -141,13 +141,13 @@ module Google
141
141
  # To create a new SecretManagerService client with the default
142
142
  # configuration:
143
143
  #
144
- # client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
144
+ # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new
145
145
  #
146
146
  # To create a new SecretManagerService client with a custom
147
147
  # configuration:
148
148
  #
149
- # client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new do |config|
150
- # config.timeout = 10_000
149
+ # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new do |config|
150
+ # config.timeout = 10.0
151
151
  # end
152
152
  #
153
153
  # @yield [config] Configure the SecretManagerService client.
@@ -174,8 +174,8 @@ module Google
174
174
  end
175
175
  @quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
176
176
 
177
- @secret_manager_service_stub = Gapic::ServiceStub.new(
178
- Google::Cloud::SecretManager::V1beta1::SecretManagerService::Stub,
177
+ @secret_manager_service_stub = ::Gapic::ServiceStub.new(
178
+ ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Stub,
179
179
  credentials: credentials,
180
180
  endpoint: @config.endpoint,
181
181
  channel_args: @config.channel_args,
@@ -186,16 +186,16 @@ module Google
186
186
  # Service calls
187
187
 
188
188
  ##
189
- # Lists {Google::Cloud::SecretManager::V1beta1::Secret Secrets}.
189
+ # Lists {::Google::Cloud::SecretManager::V1beta1::Secret Secrets}.
190
190
  #
191
191
  # @overload list_secrets(request, options = nil)
192
192
  # Pass arguments to `list_secrets` via a request object, either of type
193
- # {Google::Cloud::SecretManager::V1beta1::ListSecretsRequest} or an equivalent Hash.
193
+ # {::Google::Cloud::SecretManager::V1beta1::ListSecretsRequest} or an equivalent Hash.
194
194
  #
195
- # @param request [Google::Cloud::SecretManager::V1beta1::ListSecretsRequest, Hash]
195
+ # @param request [::Google::Cloud::SecretManager::V1beta1::ListSecretsRequest, ::Hash]
196
196
  # A request object representing the call parameters. Required. To specify no
197
197
  # parameters, or to keep all the default parameter values, pass an empty Hash.
198
- # @param options [Gapic::CallOptions, Hash]
198
+ # @param options [::Gapic::CallOptions, ::Hash]
199
199
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
200
200
  #
201
201
  # @overload list_secrets(parent: nil, page_size: nil, page_token: nil)
@@ -203,38 +203,38 @@ module Google
203
203
  # least one keyword argument is required. To specify no parameters, or to keep all
204
204
  # the default parameter values, pass an empty Hash as a request object (see above).
205
205
  #
206
- # @param parent [String]
206
+ # @param parent [::String]
207
207
  # Required. The resource name of the project associated with the
208
- # {Google::Cloud::SecretManager::V1beta1::Secret Secrets}, in the format `projects/*`.
209
- # @param page_size [Integer]
208
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secrets}, in the format `projects/*`.
209
+ # @param page_size [::Integer]
210
210
  # Optional. The maximum number of results to be returned in a single page. If
211
211
  # set to 0, the server decides the number of results to return. If the
212
212
  # number is greater than 25000, it is capped at 25000.
213
- # @param page_token [String]
213
+ # @param page_token [::String]
214
214
  # Optional. Pagination token, returned earlier via
215
- # {Google::Cloud::SecretManager::V1beta1::ListSecretsResponse#next_page_token ListSecretsResponse.next_page_token}.
215
+ # {::Google::Cloud::SecretManager::V1beta1::ListSecretsResponse#next_page_token ListSecretsResponse.next_page_token}.
216
216
  #
217
217
  # @yield [response, operation] Access the result along with the RPC operation
218
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::SecretManager::V1beta1::Secret>]
219
- # @yieldparam operation [GRPC::ActiveCall::Operation]
218
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::SecretManager::V1beta1::Secret>]
219
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
220
220
  #
221
- # @return [Gapic::PagedEnumerable<Google::Cloud::SecretManager::V1beta1::Secret>]
221
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::SecretManager::V1beta1::Secret>]
222
222
  #
223
- # @raise [Google::Cloud::Error] if the RPC is aborted.
223
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
224
224
  #
225
225
  def list_secrets request, options = nil
226
- raise ArgumentError, "request must be provided" if request.nil?
226
+ raise ::ArgumentError, "request must be provided" if request.nil?
227
227
 
228
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::ListSecretsRequest
228
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::ListSecretsRequest
229
229
 
230
230
  # Converts hash and nil to an options object
231
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
231
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
232
232
 
233
233
  # Customize the options with defaults
234
234
  metadata = @config.rpcs.list_secrets.metadata.to_h
235
235
 
236
236
  # Set x-goog-api-client and x-goog-user-project headers
237
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
237
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
238
238
  lib_name: @config.lib_name, lib_version: @config.lib_version,
239
239
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
240
240
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -252,25 +252,25 @@ module Google
252
252
  retry_policy: @config.retry_policy
253
253
 
254
254
  @secret_manager_service_stub.call_rpc :list_secrets, request, options: options do |response, operation|
255
- response = Gapic::PagedEnumerable.new @secret_manager_service_stub, :list_secrets, request, response, operation, options
255
+ response = ::Gapic::PagedEnumerable.new @secret_manager_service_stub, :list_secrets, request, response, operation, options
256
256
  yield response, operation if block_given?
257
257
  return response
258
258
  end
259
- rescue GRPC::BadStatus => e
260
- raise Google::Cloud::Error.from_error(e)
259
+ rescue ::GRPC::BadStatus => e
260
+ raise ::Google::Cloud::Error.from_error(e)
261
261
  end
262
262
 
263
263
  ##
264
- # Creates a new {Google::Cloud::SecretManager::V1beta1::Secret Secret} containing no {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}.
264
+ # Creates a new {::Google::Cloud::SecretManager::V1beta1::Secret Secret} containing no {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}.
265
265
  #
266
266
  # @overload create_secret(request, options = nil)
267
267
  # Pass arguments to `create_secret` via a request object, either of type
268
- # {Google::Cloud::SecretManager::V1beta1::CreateSecretRequest} or an equivalent Hash.
268
+ # {::Google::Cloud::SecretManager::V1beta1::CreateSecretRequest} or an equivalent Hash.
269
269
  #
270
- # @param request [Google::Cloud::SecretManager::V1beta1::CreateSecretRequest, Hash]
270
+ # @param request [::Google::Cloud::SecretManager::V1beta1::CreateSecretRequest, ::Hash]
271
271
  # A request object representing the call parameters. Required. To specify no
272
272
  # parameters, or to keep all the default parameter values, pass an empty Hash.
273
- # @param options [Gapic::CallOptions, Hash]
273
+ # @param options [::Gapic::CallOptions, ::Hash]
274
274
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
275
275
  #
276
276
  # @overload create_secret(parent: nil, secret_id: nil, secret: nil)
@@ -278,39 +278,39 @@ module Google
278
278
  # least one keyword argument is required. To specify no parameters, or to keep all
279
279
  # the default parameter values, pass an empty Hash as a request object (see above).
280
280
  #
281
- # @param parent [String]
281
+ # @param parent [::String]
282
282
  # Required. The resource name of the project to associate with the
283
- # {Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*`.
284
- # @param secret_id [String]
283
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*`.
284
+ # @param secret_id [::String]
285
285
  # Required. This must be unique within the project.
286
286
  #
287
287
  # A secret ID is a string with a maximum length of 255 characters and can
288
288
  # contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and
289
289
  # underscore (`_`) characters.
290
- # @param secret [Google::Cloud::SecretManager::V1beta1::Secret, Hash]
291
- # A {Google::Cloud::SecretManager::V1beta1::Secret Secret} with initial field values.
290
+ # @param secret [::Google::Cloud::SecretManager::V1beta1::Secret, ::Hash]
291
+ # A {::Google::Cloud::SecretManager::V1beta1::Secret Secret} with initial field values.
292
292
  #
293
293
  # @yield [response, operation] Access the result along with the RPC operation
294
- # @yieldparam response [Google::Cloud::SecretManager::V1beta1::Secret]
295
- # @yieldparam operation [GRPC::ActiveCall::Operation]
294
+ # @yieldparam response [::Google::Cloud::SecretManager::V1beta1::Secret]
295
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
296
296
  #
297
- # @return [Google::Cloud::SecretManager::V1beta1::Secret]
297
+ # @return [::Google::Cloud::SecretManager::V1beta1::Secret]
298
298
  #
299
- # @raise [Google::Cloud::Error] if the RPC is aborted.
299
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
300
300
  #
301
301
  def create_secret request, options = nil
302
- raise ArgumentError, "request must be provided" if request.nil?
302
+ raise ::ArgumentError, "request must be provided" if request.nil?
303
303
 
304
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::CreateSecretRequest
304
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::CreateSecretRequest
305
305
 
306
306
  # Converts hash and nil to an options object
307
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
307
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
308
308
 
309
309
  # Customize the options with defaults
310
310
  metadata = @config.rpcs.create_secret.metadata.to_h
311
311
 
312
312
  # Set x-goog-api-client and x-goog-user-project headers
313
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
313
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
314
314
  lib_name: @config.lib_name, lib_version: @config.lib_version,
315
315
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
316
316
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -331,22 +331,22 @@ module Google
331
331
  yield response, operation if block_given?
332
332
  return response
333
333
  end
334
- rescue GRPC::BadStatus => e
335
- raise Google::Cloud::Error.from_error(e)
334
+ rescue ::GRPC::BadStatus => e
335
+ raise ::Google::Cloud::Error.from_error(e)
336
336
  end
337
337
 
338
338
  ##
339
- # Creates a new {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} containing secret data and attaches
340
- # it to an existing {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
339
+ # Creates a new {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} containing secret data and attaches
340
+ # it to an existing {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
341
341
  #
342
342
  # @overload add_secret_version(request, options = nil)
343
343
  # Pass arguments to `add_secret_version` via a request object, either of type
344
- # {Google::Cloud::SecretManager::V1beta1::AddSecretVersionRequest} or an equivalent Hash.
344
+ # {::Google::Cloud::SecretManager::V1beta1::AddSecretVersionRequest} or an equivalent Hash.
345
345
  #
346
- # @param request [Google::Cloud::SecretManager::V1beta1::AddSecretVersionRequest, Hash]
346
+ # @param request [::Google::Cloud::SecretManager::V1beta1::AddSecretVersionRequest, ::Hash]
347
347
  # A request object representing the call parameters. Required. To specify no
348
348
  # parameters, or to keep all the default parameter values, pass an empty Hash.
349
- # @param options [Gapic::CallOptions, Hash]
349
+ # @param options [::Gapic::CallOptions, ::Hash]
350
350
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
351
351
  #
352
352
  # @overload add_secret_version(parent: nil, payload: nil)
@@ -354,33 +354,33 @@ module Google
354
354
  # least one keyword argument is required. To specify no parameters, or to keep all
355
355
  # the default parameter values, pass an empty Hash as a request object (see above).
356
356
  #
357
- # @param parent [String]
358
- # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} to associate with the
359
- # {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format `projects/*/secrets/*`.
360
- # @param payload [Google::Cloud::SecretManager::V1beta1::SecretPayload, Hash]
361
- # Required. The secret payload of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
357
+ # @param parent [::String]
358
+ # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} to associate with the
359
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format `projects/*/secrets/*`.
360
+ # @param payload [::Google::Cloud::SecretManager::V1beta1::SecretPayload, ::Hash]
361
+ # Required. The secret payload of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
362
362
  #
363
363
  # @yield [response, operation] Access the result along with the RPC operation
364
- # @yieldparam response [Google::Cloud::SecretManager::V1beta1::SecretVersion]
365
- # @yieldparam operation [GRPC::ActiveCall::Operation]
364
+ # @yieldparam response [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
365
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
366
366
  #
367
- # @return [Google::Cloud::SecretManager::V1beta1::SecretVersion]
367
+ # @return [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
368
368
  #
369
- # @raise [Google::Cloud::Error] if the RPC is aborted.
369
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
370
370
  #
371
371
  def add_secret_version request, options = nil
372
- raise ArgumentError, "request must be provided" if request.nil?
372
+ raise ::ArgumentError, "request must be provided" if request.nil?
373
373
 
374
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::AddSecretVersionRequest
374
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::AddSecretVersionRequest
375
375
 
376
376
  # Converts hash and nil to an options object
377
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
377
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
378
378
 
379
379
  # Customize the options with defaults
380
380
  metadata = @config.rpcs.add_secret_version.metadata.to_h
381
381
 
382
382
  # Set x-goog-api-client and x-goog-user-project headers
383
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
383
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
384
384
  lib_name: @config.lib_name, lib_version: @config.lib_version,
385
385
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
386
386
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -401,21 +401,21 @@ module Google
401
401
  yield response, operation if block_given?
402
402
  return response
403
403
  end
404
- rescue GRPC::BadStatus => e
405
- raise Google::Cloud::Error.from_error(e)
404
+ rescue ::GRPC::BadStatus => e
405
+ raise ::Google::Cloud::Error.from_error(e)
406
406
  end
407
407
 
408
408
  ##
409
- # Gets metadata for a given {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
409
+ # Gets metadata for a given {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
410
410
  #
411
411
  # @overload get_secret(request, options = nil)
412
412
  # Pass arguments to `get_secret` via a request object, either of type
413
- # {Google::Cloud::SecretManager::V1beta1::GetSecretRequest} or an equivalent Hash.
413
+ # {::Google::Cloud::SecretManager::V1beta1::GetSecretRequest} or an equivalent Hash.
414
414
  #
415
- # @param request [Google::Cloud::SecretManager::V1beta1::GetSecretRequest, Hash]
415
+ # @param request [::Google::Cloud::SecretManager::V1beta1::GetSecretRequest, ::Hash]
416
416
  # A request object representing the call parameters. Required. To specify no
417
417
  # parameters, or to keep all the default parameter values, pass an empty Hash.
418
- # @param options [Gapic::CallOptions, Hash]
418
+ # @param options [::Gapic::CallOptions, ::Hash]
419
419
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
420
420
  #
421
421
  # @overload get_secret(name: nil)
@@ -423,30 +423,30 @@ module Google
423
423
  # least one keyword argument is required. To specify no parameters, or to keep all
424
424
  # the default parameter values, pass an empty Hash as a request object (see above).
425
425
  #
426
- # @param name [String]
427
- # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*/secrets/*`.
426
+ # @param name [::String]
427
+ # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*/secrets/*`.
428
428
  #
429
429
  # @yield [response, operation] Access the result along with the RPC operation
430
- # @yieldparam response [Google::Cloud::SecretManager::V1beta1::Secret]
431
- # @yieldparam operation [GRPC::ActiveCall::Operation]
430
+ # @yieldparam response [::Google::Cloud::SecretManager::V1beta1::Secret]
431
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
432
432
  #
433
- # @return [Google::Cloud::SecretManager::V1beta1::Secret]
433
+ # @return [::Google::Cloud::SecretManager::V1beta1::Secret]
434
434
  #
435
- # @raise [Google::Cloud::Error] if the RPC is aborted.
435
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
436
436
  #
437
437
  def get_secret request, options = nil
438
- raise ArgumentError, "request must be provided" if request.nil?
438
+ raise ::ArgumentError, "request must be provided" if request.nil?
439
439
 
440
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::GetSecretRequest
440
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::GetSecretRequest
441
441
 
442
442
  # Converts hash and nil to an options object
443
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
443
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
444
444
 
445
445
  # Customize the options with defaults
446
446
  metadata = @config.rpcs.get_secret.metadata.to_h
447
447
 
448
448
  # Set x-goog-api-client and x-goog-user-project headers
449
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
449
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
450
450
  lib_name: @config.lib_name, lib_version: @config.lib_version,
451
451
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
452
452
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -467,21 +467,21 @@ module Google
467
467
  yield response, operation if block_given?
468
468
  return response
469
469
  end
470
- rescue GRPC::BadStatus => e
471
- raise Google::Cloud::Error.from_error(e)
470
+ rescue ::GRPC::BadStatus => e
471
+ raise ::Google::Cloud::Error.from_error(e)
472
472
  end
473
473
 
474
474
  ##
475
- # Updates metadata of an existing {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
475
+ # Updates metadata of an existing {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
476
476
  #
477
477
  # @overload update_secret(request, options = nil)
478
478
  # Pass arguments to `update_secret` via a request object, either of type
479
- # {Google::Cloud::SecretManager::V1beta1::UpdateSecretRequest} or an equivalent Hash.
479
+ # {::Google::Cloud::SecretManager::V1beta1::UpdateSecretRequest} or an equivalent Hash.
480
480
  #
481
- # @param request [Google::Cloud::SecretManager::V1beta1::UpdateSecretRequest, Hash]
481
+ # @param request [::Google::Cloud::SecretManager::V1beta1::UpdateSecretRequest, ::Hash]
482
482
  # A request object representing the call parameters. Required. To specify no
483
483
  # parameters, or to keep all the default parameter values, pass an empty Hash.
484
- # @param options [Gapic::CallOptions, Hash]
484
+ # @param options [::Gapic::CallOptions, ::Hash]
485
485
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
486
486
  #
487
487
  # @overload update_secret(secret: nil, update_mask: nil)
@@ -489,32 +489,32 @@ module Google
489
489
  # least one keyword argument is required. To specify no parameters, or to keep all
490
490
  # the default parameter values, pass an empty Hash as a request object (see above).
491
491
  #
492
- # @param secret [Google::Cloud::SecretManager::V1beta1::Secret, Hash]
493
- # Required. {Google::Cloud::SecretManager::V1beta1::Secret Secret} with updated field values.
494
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
492
+ # @param secret [::Google::Cloud::SecretManager::V1beta1::Secret, ::Hash]
493
+ # Required. {::Google::Cloud::SecretManager::V1beta1::Secret Secret} with updated field values.
494
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
495
495
  # Required. Specifies the fields to be updated.
496
496
  #
497
497
  # @yield [response, operation] Access the result along with the RPC operation
498
- # @yieldparam response [Google::Cloud::SecretManager::V1beta1::Secret]
499
- # @yieldparam operation [GRPC::ActiveCall::Operation]
498
+ # @yieldparam response [::Google::Cloud::SecretManager::V1beta1::Secret]
499
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
500
500
  #
501
- # @return [Google::Cloud::SecretManager::V1beta1::Secret]
501
+ # @return [::Google::Cloud::SecretManager::V1beta1::Secret]
502
502
  #
503
- # @raise [Google::Cloud::Error] if the RPC is aborted.
503
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
504
504
  #
505
505
  def update_secret request, options = nil
506
- raise ArgumentError, "request must be provided" if request.nil?
506
+ raise ::ArgumentError, "request must be provided" if request.nil?
507
507
 
508
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::UpdateSecretRequest
508
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::UpdateSecretRequest
509
509
 
510
510
  # Converts hash and nil to an options object
511
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
511
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
512
512
 
513
513
  # Customize the options with defaults
514
514
  metadata = @config.rpcs.update_secret.metadata.to_h
515
515
 
516
516
  # Set x-goog-api-client and x-goog-user-project headers
517
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
517
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
518
518
  lib_name: @config.lib_name, lib_version: @config.lib_version,
519
519
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
520
520
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -535,21 +535,21 @@ module Google
535
535
  yield response, operation if block_given?
536
536
  return response
537
537
  end
538
- rescue GRPC::BadStatus => e
539
- raise Google::Cloud::Error.from_error(e)
538
+ rescue ::GRPC::BadStatus => e
539
+ raise ::Google::Cloud::Error.from_error(e)
540
540
  end
541
541
 
542
542
  ##
543
- # Deletes a {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
543
+ # Deletes a {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
544
544
  #
545
545
  # @overload delete_secret(request, options = nil)
546
546
  # Pass arguments to `delete_secret` via a request object, either of type
547
- # {Google::Cloud::SecretManager::V1beta1::DeleteSecretRequest} or an equivalent Hash.
547
+ # {::Google::Cloud::SecretManager::V1beta1::DeleteSecretRequest} or an equivalent Hash.
548
548
  #
549
- # @param request [Google::Cloud::SecretManager::V1beta1::DeleteSecretRequest, Hash]
549
+ # @param request [::Google::Cloud::SecretManager::V1beta1::DeleteSecretRequest, ::Hash]
550
550
  # A request object representing the call parameters. Required. To specify no
551
551
  # parameters, or to keep all the default parameter values, pass an empty Hash.
552
- # @param options [Gapic::CallOptions, Hash]
552
+ # @param options [::Gapic::CallOptions, ::Hash]
553
553
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
554
554
  #
555
555
  # @overload delete_secret(name: nil)
@@ -557,31 +557,31 @@ module Google
557
557
  # least one keyword argument is required. To specify no parameters, or to keep all
558
558
  # the default parameter values, pass an empty Hash as a request object (see above).
559
559
  #
560
- # @param name [String]
561
- # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} to delete in the format
560
+ # @param name [::String]
561
+ # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} to delete in the format
562
562
  # `projects/*/secrets/*`.
563
563
  #
564
564
  # @yield [response, operation] Access the result along with the RPC operation
565
- # @yieldparam response [Google::Protobuf::Empty]
566
- # @yieldparam operation [GRPC::ActiveCall::Operation]
565
+ # @yieldparam response [::Google::Protobuf::Empty]
566
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
567
567
  #
568
- # @return [Google::Protobuf::Empty]
568
+ # @return [::Google::Protobuf::Empty]
569
569
  #
570
- # @raise [Google::Cloud::Error] if the RPC is aborted.
570
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
571
571
  #
572
572
  def delete_secret request, options = nil
573
- raise ArgumentError, "request must be provided" if request.nil?
573
+ raise ::ArgumentError, "request must be provided" if request.nil?
574
574
 
575
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::DeleteSecretRequest
575
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::DeleteSecretRequest
576
576
 
577
577
  # Converts hash and nil to an options object
578
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
578
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
579
579
 
580
580
  # Customize the options with defaults
581
581
  metadata = @config.rpcs.delete_secret.metadata.to_h
582
582
 
583
583
  # Set x-goog-api-client and x-goog-user-project headers
584
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
584
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
585
585
  lib_name: @config.lib_name, lib_version: @config.lib_version,
586
586
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
587
587
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -602,22 +602,22 @@ module Google
602
602
  yield response, operation if block_given?
603
603
  return response
604
604
  end
605
- rescue GRPC::BadStatus => e
606
- raise Google::Cloud::Error.from_error(e)
605
+ rescue ::GRPC::BadStatus => e
606
+ raise ::Google::Cloud::Error.from_error(e)
607
607
  end
608
608
 
609
609
  ##
610
- # Lists {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}. This call does not return secret
610
+ # Lists {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}. This call does not return secret
611
611
  # data.
612
612
  #
613
613
  # @overload list_secret_versions(request, options = nil)
614
614
  # Pass arguments to `list_secret_versions` via a request object, either of type
615
- # {Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest} or an equivalent Hash.
615
+ # {::Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest} or an equivalent Hash.
616
616
  #
617
- # @param request [Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest, Hash]
617
+ # @param request [::Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest, ::Hash]
618
618
  # A request object representing the call parameters. Required. To specify no
619
619
  # parameters, or to keep all the default parameter values, pass an empty Hash.
620
- # @param options [Gapic::CallOptions, Hash]
620
+ # @param options [::Gapic::CallOptions, ::Hash]
621
621
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
622
622
  #
623
623
  # @overload list_secret_versions(parent: nil, page_size: nil, page_token: nil)
@@ -625,39 +625,39 @@ module Google
625
625
  # least one keyword argument is required. To specify no parameters, or to keep all
626
626
  # the default parameter values, pass an empty Hash as a request object (see above).
627
627
  #
628
- # @param parent [String]
629
- # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::Secret Secret} associated with the
630
- # {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} to list, in the format
628
+ # @param parent [::String]
629
+ # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} associated with the
630
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} to list, in the format
631
631
  # `projects/*/secrets/*`.
632
- # @param page_size [Integer]
632
+ # @param page_size [::Integer]
633
633
  # Optional. The maximum number of results to be returned in a single page. If
634
634
  # set to 0, the server decides the number of results to return. If the
635
635
  # number is greater than 25000, it is capped at 25000.
636
- # @param page_token [String]
636
+ # @param page_token [::String]
637
637
  # Optional. Pagination token, returned earlier via
638
638
  # ListSecretVersionsResponse.next_page_token][].
639
639
  #
640
640
  # @yield [response, operation] Access the result along with the RPC operation
641
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::SecretManager::V1beta1::SecretVersion>]
642
- # @yieldparam operation [GRPC::ActiveCall::Operation]
641
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::SecretManager::V1beta1::SecretVersion>]
642
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
643
643
  #
644
- # @return [Gapic::PagedEnumerable<Google::Cloud::SecretManager::V1beta1::SecretVersion>]
644
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::SecretManager::V1beta1::SecretVersion>]
645
645
  #
646
- # @raise [Google::Cloud::Error] if the RPC is aborted.
646
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
647
647
  #
648
648
  def list_secret_versions request, options = nil
649
- raise ArgumentError, "request must be provided" if request.nil?
649
+ raise ::ArgumentError, "request must be provided" if request.nil?
650
650
 
651
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest
651
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest
652
652
 
653
653
  # Converts hash and nil to an options object
654
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
654
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
655
655
 
656
656
  # Customize the options with defaults
657
657
  metadata = @config.rpcs.list_secret_versions.metadata.to_h
658
658
 
659
659
  # Set x-goog-api-client and x-goog-user-project headers
660
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
660
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
661
661
  lib_name: @config.lib_name, lib_version: @config.lib_version,
662
662
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
663
663
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -675,28 +675,28 @@ module Google
675
675
  retry_policy: @config.retry_policy
676
676
 
677
677
  @secret_manager_service_stub.call_rpc :list_secret_versions, request, options: options do |response, operation|
678
- response = Gapic::PagedEnumerable.new @secret_manager_service_stub, :list_secret_versions, request, response, operation, options
678
+ response = ::Gapic::PagedEnumerable.new @secret_manager_service_stub, :list_secret_versions, request, response, operation, options
679
679
  yield response, operation if block_given?
680
680
  return response
681
681
  end
682
- rescue GRPC::BadStatus => e
683
- raise Google::Cloud::Error.from_error(e)
682
+ rescue ::GRPC::BadStatus => e
683
+ raise ::Google::Cloud::Error.from_error(e)
684
684
  end
685
685
 
686
686
  ##
687
- # Gets metadata for a {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
687
+ # Gets metadata for a {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
688
688
  #
689
689
  # `projects/*/secrets/*/versions/latest` is an alias to the `latest`
690
- # {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
690
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
691
691
  #
692
692
  # @overload get_secret_version(request, options = nil)
693
693
  # Pass arguments to `get_secret_version` via a request object, either of type
694
- # {Google::Cloud::SecretManager::V1beta1::GetSecretVersionRequest} or an equivalent Hash.
694
+ # {::Google::Cloud::SecretManager::V1beta1::GetSecretVersionRequest} or an equivalent Hash.
695
695
  #
696
- # @param request [Google::Cloud::SecretManager::V1beta1::GetSecretVersionRequest, Hash]
696
+ # @param request [::Google::Cloud::SecretManager::V1beta1::GetSecretVersionRequest, ::Hash]
697
697
  # A request object representing the call parameters. Required. To specify no
698
698
  # parameters, or to keep all the default parameter values, pass an empty Hash.
699
- # @param options [Gapic::CallOptions, Hash]
699
+ # @param options [::Gapic::CallOptions, ::Hash]
700
700
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
701
701
  #
702
702
  # @overload get_secret_version(name: nil)
@@ -704,33 +704,33 @@ module Google
704
704
  # least one keyword argument is required. To specify no parameters, or to keep all
705
705
  # the default parameter values, pass an empty Hash as a request object (see above).
706
706
  #
707
- # @param name [String]
708
- # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
707
+ # @param name [::String]
708
+ # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
709
709
  # `projects/*/secrets/*/versions/*`.
710
710
  # `projects/*/secrets/*/versions/latest` is an alias to the `latest`
711
- # {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
711
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
712
712
  #
713
713
  # @yield [response, operation] Access the result along with the RPC operation
714
- # @yieldparam response [Google::Cloud::SecretManager::V1beta1::SecretVersion]
715
- # @yieldparam operation [GRPC::ActiveCall::Operation]
714
+ # @yieldparam response [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
715
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
716
716
  #
717
- # @return [Google::Cloud::SecretManager::V1beta1::SecretVersion]
717
+ # @return [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
718
718
  #
719
- # @raise [Google::Cloud::Error] if the RPC is aborted.
719
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
720
720
  #
721
721
  def get_secret_version request, options = nil
722
- raise ArgumentError, "request must be provided" if request.nil?
722
+ raise ::ArgumentError, "request must be provided" if request.nil?
723
723
 
724
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::GetSecretVersionRequest
724
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::GetSecretVersionRequest
725
725
 
726
726
  # Converts hash and nil to an options object
727
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
727
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
728
728
 
729
729
  # Customize the options with defaults
730
730
  metadata = @config.rpcs.get_secret_version.metadata.to_h
731
731
 
732
732
  # Set x-goog-api-client and x-goog-user-project headers
733
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
733
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
734
734
  lib_name: @config.lib_name, lib_version: @config.lib_version,
735
735
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
736
736
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -751,24 +751,24 @@ module Google
751
751
  yield response, operation if block_given?
752
752
  return response
753
753
  end
754
- rescue GRPC::BadStatus => e
755
- raise Google::Cloud::Error.from_error(e)
754
+ rescue ::GRPC::BadStatus => e
755
+ raise ::Google::Cloud::Error.from_error(e)
756
756
  end
757
757
 
758
758
  ##
759
- # Accesses a {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}. This call returns the secret data.
759
+ # Accesses a {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}. This call returns the secret data.
760
760
  #
761
761
  # `projects/*/secrets/*/versions/latest` is an alias to the `latest`
762
- # {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
762
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
763
763
  #
764
764
  # @overload access_secret_version(request, options = nil)
765
765
  # Pass arguments to `access_secret_version` via a request object, either of type
766
- # {Google::Cloud::SecretManager::V1beta1::AccessSecretVersionRequest} or an equivalent Hash.
766
+ # {::Google::Cloud::SecretManager::V1beta1::AccessSecretVersionRequest} or an equivalent Hash.
767
767
  #
768
- # @param request [Google::Cloud::SecretManager::V1beta1::AccessSecretVersionRequest, Hash]
768
+ # @param request [::Google::Cloud::SecretManager::V1beta1::AccessSecretVersionRequest, ::Hash]
769
769
  # A request object representing the call parameters. Required. To specify no
770
770
  # parameters, or to keep all the default parameter values, pass an empty Hash.
771
- # @param options [Gapic::CallOptions, Hash]
771
+ # @param options [::Gapic::CallOptions, ::Hash]
772
772
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
773
773
  #
774
774
  # @overload access_secret_version(name: nil)
@@ -776,31 +776,31 @@ module Google
776
776
  # least one keyword argument is required. To specify no parameters, or to keep all
777
777
  # the default parameter values, pass an empty Hash as a request object (see above).
778
778
  #
779
- # @param name [String]
780
- # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
779
+ # @param name [::String]
780
+ # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
781
781
  # `projects/*/secrets/*/versions/*`.
782
782
  #
783
783
  # @yield [response, operation] Access the result along with the RPC operation
784
- # @yieldparam response [Google::Cloud::SecretManager::V1beta1::AccessSecretVersionResponse]
785
- # @yieldparam operation [GRPC::ActiveCall::Operation]
784
+ # @yieldparam response [::Google::Cloud::SecretManager::V1beta1::AccessSecretVersionResponse]
785
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
786
786
  #
787
- # @return [Google::Cloud::SecretManager::V1beta1::AccessSecretVersionResponse]
787
+ # @return [::Google::Cloud::SecretManager::V1beta1::AccessSecretVersionResponse]
788
788
  #
789
- # @raise [Google::Cloud::Error] if the RPC is aborted.
789
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
790
790
  #
791
791
  def access_secret_version request, options = nil
792
- raise ArgumentError, "request must be provided" if request.nil?
792
+ raise ::ArgumentError, "request must be provided" if request.nil?
793
793
 
794
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::AccessSecretVersionRequest
794
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::AccessSecretVersionRequest
795
795
 
796
796
  # Converts hash and nil to an options object
797
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
797
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
798
798
 
799
799
  # Customize the options with defaults
800
800
  metadata = @config.rpcs.access_secret_version.metadata.to_h
801
801
 
802
802
  # Set x-goog-api-client and x-goog-user-project headers
803
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
803
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
804
804
  lib_name: @config.lib_name, lib_version: @config.lib_version,
805
805
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
806
806
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -821,24 +821,24 @@ module Google
821
821
  yield response, operation if block_given?
822
822
  return response
823
823
  end
824
- rescue GRPC::BadStatus => e
825
- raise Google::Cloud::Error.from_error(e)
824
+ rescue ::GRPC::BadStatus => e
825
+ raise ::Google::Cloud::Error.from_error(e)
826
826
  end
827
827
 
828
828
  ##
829
- # Disables a {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
829
+ # Disables a {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
830
830
  #
831
- # Sets the {Google::Cloud::SecretManager::V1beta1::SecretVersion#state state} of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to
832
- # {Google::Cloud::SecretManager::V1beta1::SecretVersion::State::DISABLED DISABLED}.
831
+ # Sets the {::Google::Cloud::SecretManager::V1beta1::SecretVersion#state state} of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to
832
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion::State::DISABLED DISABLED}.
833
833
  #
834
834
  # @overload disable_secret_version(request, options = nil)
835
835
  # Pass arguments to `disable_secret_version` via a request object, either of type
836
- # {Google::Cloud::SecretManager::V1beta1::DisableSecretVersionRequest} or an equivalent Hash.
836
+ # {::Google::Cloud::SecretManager::V1beta1::DisableSecretVersionRequest} or an equivalent Hash.
837
837
  #
838
- # @param request [Google::Cloud::SecretManager::V1beta1::DisableSecretVersionRequest, Hash]
838
+ # @param request [::Google::Cloud::SecretManager::V1beta1::DisableSecretVersionRequest, ::Hash]
839
839
  # A request object representing the call parameters. Required. To specify no
840
840
  # parameters, or to keep all the default parameter values, pass an empty Hash.
841
- # @param options [Gapic::CallOptions, Hash]
841
+ # @param options [::Gapic::CallOptions, ::Hash]
842
842
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
843
843
  #
844
844
  # @overload disable_secret_version(name: nil)
@@ -846,31 +846,31 @@ module Google
846
846
  # least one keyword argument is required. To specify no parameters, or to keep all
847
847
  # the default parameter values, pass an empty Hash as a request object (see above).
848
848
  #
849
- # @param name [String]
850
- # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to disable in the format
849
+ # @param name [::String]
850
+ # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to disable in the format
851
851
  # `projects/*/secrets/*/versions/*`.
852
852
  #
853
853
  # @yield [response, operation] Access the result along with the RPC operation
854
- # @yieldparam response [Google::Cloud::SecretManager::V1beta1::SecretVersion]
855
- # @yieldparam operation [GRPC::ActiveCall::Operation]
854
+ # @yieldparam response [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
855
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
856
856
  #
857
- # @return [Google::Cloud::SecretManager::V1beta1::SecretVersion]
857
+ # @return [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
858
858
  #
859
- # @raise [Google::Cloud::Error] if the RPC is aborted.
859
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
860
860
  #
861
861
  def disable_secret_version request, options = nil
862
- raise ArgumentError, "request must be provided" if request.nil?
862
+ raise ::ArgumentError, "request must be provided" if request.nil?
863
863
 
864
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::DisableSecretVersionRequest
864
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::DisableSecretVersionRequest
865
865
 
866
866
  # Converts hash and nil to an options object
867
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
867
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
868
868
 
869
869
  # Customize the options with defaults
870
870
  metadata = @config.rpcs.disable_secret_version.metadata.to_h
871
871
 
872
872
  # Set x-goog-api-client and x-goog-user-project headers
873
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
873
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
874
874
  lib_name: @config.lib_name, lib_version: @config.lib_version,
875
875
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
876
876
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -891,24 +891,24 @@ module Google
891
891
  yield response, operation if block_given?
892
892
  return response
893
893
  end
894
- rescue GRPC::BadStatus => e
895
- raise Google::Cloud::Error.from_error(e)
894
+ rescue ::GRPC::BadStatus => e
895
+ raise ::Google::Cloud::Error.from_error(e)
896
896
  end
897
897
 
898
898
  ##
899
- # Enables a {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
899
+ # Enables a {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
900
900
  #
901
- # Sets the {Google::Cloud::SecretManager::V1beta1::SecretVersion#state state} of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to
902
- # {Google::Cloud::SecretManager::V1beta1::SecretVersion::State::ENABLED ENABLED}.
901
+ # Sets the {::Google::Cloud::SecretManager::V1beta1::SecretVersion#state state} of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to
902
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion::State::ENABLED ENABLED}.
903
903
  #
904
904
  # @overload enable_secret_version(request, options = nil)
905
905
  # Pass arguments to `enable_secret_version` via a request object, either of type
906
- # {Google::Cloud::SecretManager::V1beta1::EnableSecretVersionRequest} or an equivalent Hash.
906
+ # {::Google::Cloud::SecretManager::V1beta1::EnableSecretVersionRequest} or an equivalent Hash.
907
907
  #
908
- # @param request [Google::Cloud::SecretManager::V1beta1::EnableSecretVersionRequest, Hash]
908
+ # @param request [::Google::Cloud::SecretManager::V1beta1::EnableSecretVersionRequest, ::Hash]
909
909
  # A request object representing the call parameters. Required. To specify no
910
910
  # parameters, or to keep all the default parameter values, pass an empty Hash.
911
- # @param options [Gapic::CallOptions, Hash]
911
+ # @param options [::Gapic::CallOptions, ::Hash]
912
912
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
913
913
  #
914
914
  # @overload enable_secret_version(name: nil)
@@ -916,31 +916,31 @@ module Google
916
916
  # least one keyword argument is required. To specify no parameters, or to keep all
917
917
  # the default parameter values, pass an empty Hash as a request object (see above).
918
918
  #
919
- # @param name [String]
920
- # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to enable in the format
919
+ # @param name [::String]
920
+ # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to enable in the format
921
921
  # `projects/*/secrets/*/versions/*`.
922
922
  #
923
923
  # @yield [response, operation] Access the result along with the RPC operation
924
- # @yieldparam response [Google::Cloud::SecretManager::V1beta1::SecretVersion]
925
- # @yieldparam operation [GRPC::ActiveCall::Operation]
924
+ # @yieldparam response [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
925
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
926
926
  #
927
- # @return [Google::Cloud::SecretManager::V1beta1::SecretVersion]
927
+ # @return [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
928
928
  #
929
- # @raise [Google::Cloud::Error] if the RPC is aborted.
929
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
930
930
  #
931
931
  def enable_secret_version request, options = nil
932
- raise ArgumentError, "request must be provided" if request.nil?
932
+ raise ::ArgumentError, "request must be provided" if request.nil?
933
933
 
934
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::EnableSecretVersionRequest
934
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::EnableSecretVersionRequest
935
935
 
936
936
  # Converts hash and nil to an options object
937
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
937
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
938
938
 
939
939
  # Customize the options with defaults
940
940
  metadata = @config.rpcs.enable_secret_version.metadata.to_h
941
941
 
942
942
  # Set x-goog-api-client and x-goog-user-project headers
943
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
943
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
944
944
  lib_name: @config.lib_name, lib_version: @config.lib_version,
945
945
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
946
946
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -961,25 +961,25 @@ module Google
961
961
  yield response, operation if block_given?
962
962
  return response
963
963
  end
964
- rescue GRPC::BadStatus => e
965
- raise Google::Cloud::Error.from_error(e)
964
+ rescue ::GRPC::BadStatus => e
965
+ raise ::Google::Cloud::Error.from_error(e)
966
966
  end
967
967
 
968
968
  ##
969
- # Destroys a {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
969
+ # Destroys a {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
970
970
  #
971
- # Sets the {Google::Cloud::SecretManager::V1beta1::SecretVersion#state state} of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to
972
- # {Google::Cloud::SecretManager::V1beta1::SecretVersion::State::DESTROYED DESTROYED} and irrevocably destroys the
971
+ # Sets the {::Google::Cloud::SecretManager::V1beta1::SecretVersion#state state} of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to
972
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion::State::DESTROYED DESTROYED} and irrevocably destroys the
973
973
  # secret data.
974
974
  #
975
975
  # @overload destroy_secret_version(request, options = nil)
976
976
  # Pass arguments to `destroy_secret_version` via a request object, either of type
977
- # {Google::Cloud::SecretManager::V1beta1::DestroySecretVersionRequest} or an equivalent Hash.
977
+ # {::Google::Cloud::SecretManager::V1beta1::DestroySecretVersionRequest} or an equivalent Hash.
978
978
  #
979
- # @param request [Google::Cloud::SecretManager::V1beta1::DestroySecretVersionRequest, Hash]
979
+ # @param request [::Google::Cloud::SecretManager::V1beta1::DestroySecretVersionRequest, ::Hash]
980
980
  # A request object representing the call parameters. Required. To specify no
981
981
  # parameters, or to keep all the default parameter values, pass an empty Hash.
982
- # @param options [Gapic::CallOptions, Hash]
982
+ # @param options [::Gapic::CallOptions, ::Hash]
983
983
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
984
984
  #
985
985
  # @overload destroy_secret_version(name: nil)
@@ -987,31 +987,31 @@ module Google
987
987
  # least one keyword argument is required. To specify no parameters, or to keep all
988
988
  # the default parameter values, pass an empty Hash as a request object (see above).
989
989
  #
990
- # @param name [String]
991
- # Required. The resource name of the {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to destroy in the format
990
+ # @param name [::String]
991
+ # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to destroy in the format
992
992
  # `projects/*/secrets/*/versions/*`.
993
993
  #
994
994
  # @yield [response, operation] Access the result along with the RPC operation
995
- # @yieldparam response [Google::Cloud::SecretManager::V1beta1::SecretVersion]
996
- # @yieldparam operation [GRPC::ActiveCall::Operation]
995
+ # @yieldparam response [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
996
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
997
997
  #
998
- # @return [Google::Cloud::SecretManager::V1beta1::SecretVersion]
998
+ # @return [::Google::Cloud::SecretManager::V1beta1::SecretVersion]
999
999
  #
1000
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1000
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1001
1001
  #
1002
1002
  def destroy_secret_version request, options = nil
1003
- raise ArgumentError, "request must be provided" if request.nil?
1003
+ raise ::ArgumentError, "request must be provided" if request.nil?
1004
1004
 
1005
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::SecretManager::V1beta1::DestroySecretVersionRequest
1005
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::SecretManager::V1beta1::DestroySecretVersionRequest
1006
1006
 
1007
1007
  # Converts hash and nil to an options object
1008
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1008
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1009
1009
 
1010
1010
  # Customize the options with defaults
1011
1011
  metadata = @config.rpcs.destroy_secret_version.metadata.to_h
1012
1012
 
1013
1013
  # Set x-goog-api-client and x-goog-user-project headers
1014
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1014
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1015
1015
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1016
1016
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
1017
1017
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1032,25 +1032,25 @@ module Google
1032
1032
  yield response, operation if block_given?
1033
1033
  return response
1034
1034
  end
1035
- rescue GRPC::BadStatus => e
1036
- raise Google::Cloud::Error.from_error(e)
1035
+ rescue ::GRPC::BadStatus => e
1036
+ raise ::Google::Cloud::Error.from_error(e)
1037
1037
  end
1038
1038
 
1039
1039
  ##
1040
1040
  # Sets the access control policy on the specified secret. Replaces any
1041
1041
  # existing policy.
1042
1042
  #
1043
- # Permissions on {Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} are enforced according
1044
- # to the policy set on the associated {Google::Cloud::SecretManager::V1beta1::Secret Secret}.
1043
+ # Permissions on {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} are enforced according
1044
+ # to the policy set on the associated {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
1045
1045
  #
1046
1046
  # @overload set_iam_policy(request, options = nil)
1047
1047
  # Pass arguments to `set_iam_policy` via a request object, either of type
1048
- # {Google::Iam::V1::SetIamPolicyRequest} or an equivalent Hash.
1048
+ # {::Google::Iam::V1::SetIamPolicyRequest} or an equivalent Hash.
1049
1049
  #
1050
- # @param request [Google::Iam::V1::SetIamPolicyRequest, Hash]
1050
+ # @param request [::Google::Iam::V1::SetIamPolicyRequest, ::Hash]
1051
1051
  # A request object representing the call parameters. Required. To specify no
1052
1052
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1053
- # @param options [Gapic::CallOptions, Hash]
1053
+ # @param options [::Gapic::CallOptions, ::Hash]
1054
1054
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1055
1055
  #
1056
1056
  # @overload set_iam_policy(resource: nil, policy: nil)
@@ -1058,36 +1058,36 @@ module Google
1058
1058
  # least one keyword argument is required. To specify no parameters, or to keep all
1059
1059
  # the default parameter values, pass an empty Hash as a request object (see above).
1060
1060
  #
1061
- # @param resource [String]
1061
+ # @param resource [::String]
1062
1062
  # REQUIRED: The resource for which the policy is being specified.
1063
1063
  # See the operation documentation for the appropriate value for this field.
1064
- # @param policy [Google::Iam::V1::Policy, Hash]
1064
+ # @param policy [::Google::Iam::V1::Policy, ::Hash]
1065
1065
  # REQUIRED: The complete policy to be applied to the `resource`. The size of
1066
1066
  # the policy is limited to a few 10s of KB. An empty policy is a
1067
1067
  # valid policy but certain Cloud Platform services (such as Projects)
1068
1068
  # might reject them.
1069
1069
  #
1070
1070
  # @yield [response, operation] Access the result along with the RPC operation
1071
- # @yieldparam response [Google::Iam::V1::Policy]
1072
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1071
+ # @yieldparam response [::Google::Iam::V1::Policy]
1072
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1073
1073
  #
1074
- # @return [Google::Iam::V1::Policy]
1074
+ # @return [::Google::Iam::V1::Policy]
1075
1075
  #
1076
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1076
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1077
1077
  #
1078
1078
  def set_iam_policy request, options = nil
1079
- raise ArgumentError, "request must be provided" if request.nil?
1079
+ raise ::ArgumentError, "request must be provided" if request.nil?
1080
1080
 
1081
- request = Gapic::Protobuf.coerce request, to: Google::Iam::V1::SetIamPolicyRequest
1081
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Iam::V1::SetIamPolicyRequest
1082
1082
 
1083
1083
  # Converts hash and nil to an options object
1084
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1084
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1085
1085
 
1086
1086
  # Customize the options with defaults
1087
1087
  metadata = @config.rpcs.set_iam_policy.metadata.to_h
1088
1088
 
1089
1089
  # Set x-goog-api-client and x-goog-user-project headers
1090
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1090
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1091
1091
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1092
1092
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
1093
1093
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1108,8 +1108,8 @@ module Google
1108
1108
  yield response, operation if block_given?
1109
1109
  return response
1110
1110
  end
1111
- rescue GRPC::BadStatus => e
1112
- raise Google::Cloud::Error.from_error(e)
1111
+ rescue ::GRPC::BadStatus => e
1112
+ raise ::Google::Cloud::Error.from_error(e)
1113
1113
  end
1114
1114
 
1115
1115
  ##
@@ -1118,12 +1118,12 @@ module Google
1118
1118
  #
1119
1119
  # @overload get_iam_policy(request, options = nil)
1120
1120
  # Pass arguments to `get_iam_policy` via a request object, either of type
1121
- # {Google::Iam::V1::GetIamPolicyRequest} or an equivalent Hash.
1121
+ # {::Google::Iam::V1::GetIamPolicyRequest} or an equivalent Hash.
1122
1122
  #
1123
- # @param request [Google::Iam::V1::GetIamPolicyRequest, Hash]
1123
+ # @param request [::Google::Iam::V1::GetIamPolicyRequest, ::Hash]
1124
1124
  # A request object representing the call parameters. Required. To specify no
1125
1125
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1126
- # @param options [Gapic::CallOptions, Hash]
1126
+ # @param options [::Gapic::CallOptions, ::Hash]
1127
1127
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1128
1128
  #
1129
1129
  # @overload get_iam_policy(resource: nil, options: nil)
@@ -1131,34 +1131,34 @@ module Google
1131
1131
  # least one keyword argument is required. To specify no parameters, or to keep all
1132
1132
  # the default parameter values, pass an empty Hash as a request object (see above).
1133
1133
  #
1134
- # @param resource [String]
1134
+ # @param resource [::String]
1135
1135
  # REQUIRED: The resource for which the policy is being requested.
1136
1136
  # See the operation documentation for the appropriate value for this field.
1137
- # @param options [Google::Iam::V1::GetPolicyOptions, Hash]
1137
+ # @param options [::Google::Iam::V1::GetPolicyOptions, ::Hash]
1138
1138
  # OPTIONAL: A `GetPolicyOptions` object for specifying options to
1139
1139
  # `GetIamPolicy`. This field is only used by Cloud IAM.
1140
1140
  #
1141
1141
  # @yield [response, operation] Access the result along with the RPC operation
1142
- # @yieldparam response [Google::Iam::V1::Policy]
1143
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1142
+ # @yieldparam response [::Google::Iam::V1::Policy]
1143
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1144
1144
  #
1145
- # @return [Google::Iam::V1::Policy]
1145
+ # @return [::Google::Iam::V1::Policy]
1146
1146
  #
1147
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1147
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1148
1148
  #
1149
1149
  def get_iam_policy request, options = nil
1150
- raise ArgumentError, "request must be provided" if request.nil?
1150
+ raise ::ArgumentError, "request must be provided" if request.nil?
1151
1151
 
1152
- request = Gapic::Protobuf.coerce request, to: Google::Iam::V1::GetIamPolicyRequest
1152
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Iam::V1::GetIamPolicyRequest
1153
1153
 
1154
1154
  # Converts hash and nil to an options object
1155
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1155
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1156
1156
 
1157
1157
  # Customize the options with defaults
1158
1158
  metadata = @config.rpcs.get_iam_policy.metadata.to_h
1159
1159
 
1160
1160
  # Set x-goog-api-client and x-goog-user-project headers
1161
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1161
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1162
1162
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1163
1163
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
1164
1164
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1179,8 +1179,8 @@ module Google
1179
1179
  yield response, operation if block_given?
1180
1180
  return response
1181
1181
  end
1182
- rescue GRPC::BadStatus => e
1183
- raise Google::Cloud::Error.from_error(e)
1182
+ rescue ::GRPC::BadStatus => e
1183
+ raise ::Google::Cloud::Error.from_error(e)
1184
1184
  end
1185
1185
 
1186
1186
  ##
@@ -1194,12 +1194,12 @@ module Google
1194
1194
  #
1195
1195
  # @overload test_iam_permissions(request, options = nil)
1196
1196
  # Pass arguments to `test_iam_permissions` via a request object, either of type
1197
- # {Google::Iam::V1::TestIamPermissionsRequest} or an equivalent Hash.
1197
+ # {::Google::Iam::V1::TestIamPermissionsRequest} or an equivalent Hash.
1198
1198
  #
1199
- # @param request [Google::Iam::V1::TestIamPermissionsRequest, Hash]
1199
+ # @param request [::Google::Iam::V1::TestIamPermissionsRequest, ::Hash]
1200
1200
  # A request object representing the call parameters. Required. To specify no
1201
1201
  # parameters, or to keep all the default parameter values, pass an empty Hash.
1202
- # @param options [Gapic::CallOptions, Hash]
1202
+ # @param options [::Gapic::CallOptions, ::Hash]
1203
1203
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1204
1204
  #
1205
1205
  # @overload test_iam_permissions(resource: nil, permissions: nil)
@@ -1207,36 +1207,36 @@ module Google
1207
1207
  # least one keyword argument is required. To specify no parameters, or to keep all
1208
1208
  # the default parameter values, pass an empty Hash as a request object (see above).
1209
1209
  #
1210
- # @param resource [String]
1210
+ # @param resource [::String]
1211
1211
  # REQUIRED: The resource for which the policy detail is being requested.
1212
1212
  # See the operation documentation for the appropriate value for this field.
1213
- # @param permissions [Array<String>]
1213
+ # @param permissions [::Array<::String>]
1214
1214
  # The set of permissions to check for the `resource`. Permissions with
1215
1215
  # wildcards (such as '*' or 'storage.*') are not allowed. For more
1216
1216
  # information see
1217
1217
  # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
1218
1218
  #
1219
1219
  # @yield [response, operation] Access the result along with the RPC operation
1220
- # @yieldparam response [Google::Iam::V1::TestIamPermissionsResponse]
1221
- # @yieldparam operation [GRPC::ActiveCall::Operation]
1220
+ # @yieldparam response [::Google::Iam::V1::TestIamPermissionsResponse]
1221
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1222
1222
  #
1223
- # @return [Google::Iam::V1::TestIamPermissionsResponse]
1223
+ # @return [::Google::Iam::V1::TestIamPermissionsResponse]
1224
1224
  #
1225
- # @raise [Google::Cloud::Error] if the RPC is aborted.
1225
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1226
1226
  #
1227
1227
  def test_iam_permissions request, options = nil
1228
- raise ArgumentError, "request must be provided" if request.nil?
1228
+ raise ::ArgumentError, "request must be provided" if request.nil?
1229
1229
 
1230
- request = Gapic::Protobuf.coerce request, to: Google::Iam::V1::TestIamPermissionsRequest
1230
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Iam::V1::TestIamPermissionsRequest
1231
1231
 
1232
1232
  # Converts hash and nil to an options object
1233
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1233
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1234
1234
 
1235
1235
  # Customize the options with defaults
1236
1236
  metadata = @config.rpcs.test_iam_permissions.metadata.to_h
1237
1237
 
1238
1238
  # Set x-goog-api-client and x-goog-user-project headers
1239
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
1239
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1240
1240
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1241
1241
  gapic_version: ::Google::Cloud::SecretManager::V1beta1::VERSION
1242
1242
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -1257,8 +1257,8 @@ module Google
1257
1257
  yield response, operation if block_given?
1258
1258
  return response
1259
1259
  end
1260
- rescue GRPC::BadStatus => e
1261
- raise Google::Cloud::Error.from_error(e)
1260
+ rescue ::GRPC::BadStatus => e
1261
+ raise ::Google::Cloud::Error.from_error(e)
1262
1262
  end
1263
1263
 
1264
1264
  ##
@@ -1268,7 +1268,7 @@ module Google
1268
1268
  # providing control over timeouts, retry behavior, logging, transport
1269
1269
  # parameters, and other low-level controls. Certain parameters can also be
1270
1270
  # applied individually to specific RPCs. See
1271
- # {Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client::Configuration::Rpcs}
1271
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client::Configuration::Rpcs}
1272
1272
  # for a list of RPCs that can be configured independently.
1273
1273
  #
1274
1274
  # Configuration can be applied globally to all clients, or to a single client
@@ -1279,22 +1279,22 @@ module Google
1279
1279
  # To modify the global config, setting the timeout for list_secrets
1280
1280
  # to 20 seconds, and all remaining timeouts to 10 seconds:
1281
1281
  #
1282
- # Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.configure do |config|
1283
- # config.timeout = 10_000
1284
- # config.rpcs.list_secrets.timeout = 20_000
1282
+ # ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.configure do |config|
1283
+ # config.timeout = 10.0
1284
+ # config.rpcs.list_secrets.timeout = 20.0
1285
1285
  # end
1286
1286
  #
1287
1287
  # To apply the above configuration only to a new client:
1288
1288
  #
1289
- # client = Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new do |config|
1290
- # config.timeout = 10_000
1291
- # config.rpcs.list_secrets.timeout = 20_000
1289
+ # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client.new do |config|
1290
+ # config.timeout = 10.0
1291
+ # config.rpcs.list_secrets.timeout = 20.0
1292
1292
  # end
1293
1293
  #
1294
1294
  # @!attribute [rw] endpoint
1295
1295
  # The hostname or hostname:port of the service endpoint.
1296
1296
  # Defaults to `"secretmanager.googleapis.com"`.
1297
- # @return [String]
1297
+ # @return [::String]
1298
1298
  # @!attribute [rw] credentials
1299
1299
  # Credentials to send with calls. You may provide any of the following types:
1300
1300
  # * (`String`) The path to a service account key file in JSON format
@@ -1306,29 +1306,29 @@ module Google
1306
1306
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1307
1307
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1308
1308
  # * (`nil`) indicating no credentials
1309
- # @return [Object]
1309
+ # @return [::Object]
1310
1310
  # @!attribute [rw] scope
1311
1311
  # The OAuth scopes
1312
- # @return [Array<String>]
1312
+ # @return [::Array<::String>]
1313
1313
  # @!attribute [rw] lib_name
1314
1314
  # The library name as recorded in instrumentation and logging
1315
- # @return [String]
1315
+ # @return [::String]
1316
1316
  # @!attribute [rw] lib_version
1317
1317
  # The library version as recorded in instrumentation and logging
1318
- # @return [String]
1318
+ # @return [::String]
1319
1319
  # @!attribute [rw] channel_args
1320
1320
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
1321
1321
  # `GRPC::Core::Channel` object is provided as the credential.
1322
- # @return [Hash]
1322
+ # @return [::Hash]
1323
1323
  # @!attribute [rw] interceptors
1324
1324
  # An array of interceptors that are run before calls are executed.
1325
- # @return [Array<GRPC::ClientInterceptor>]
1325
+ # @return [::Array<::GRPC::ClientInterceptor>]
1326
1326
  # @!attribute [rw] timeout
1327
- # The call timeout in milliseconds.
1328
- # @return [Numeric]
1327
+ # The call timeout in seconds.
1328
+ # @return [::Numeric]
1329
1329
  # @!attribute [rw] metadata
1330
1330
  # Additional gRPC headers to be sent with the call.
1331
- # @return [Hash{Symbol=>String}]
1331
+ # @return [::Hash{::Symbol=>::String}]
1332
1332
  # @!attribute [rw] retry_policy
1333
1333
  # The retry policy. The value is a hash with the following keys:
1334
1334
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -1336,10 +1336,10 @@ module Google
1336
1336
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1337
1337
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1338
1338
  # trigger a retry.
1339
- # @return [Hash]
1339
+ # @return [::Hash]
1340
1340
  #
1341
1341
  class Configuration
1342
- extend Gapic::Config
1342
+ extend ::Gapic::Config
1343
1343
 
1344
1344
  config_attr :endpoint, "secretmanager.googleapis.com", String
1345
1345
  config_attr :credentials, nil do |value|
@@ -1347,14 +1347,14 @@ module Google
1347
1347
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1348
1348
  allowed.any? { |klass| klass === value }
1349
1349
  end
1350
- config_attr :scope, nil, String, Array, nil
1351
- config_attr :lib_name, nil, String, nil
1352
- config_attr :lib_version, nil, String, nil
1353
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
1354
- config_attr :interceptors, nil, Array, nil
1355
- config_attr :timeout, nil, Numeric, nil
1356
- config_attr :metadata, nil, Hash, nil
1357
- config_attr :retry_policy, nil, Hash, Proc, nil
1350
+ config_attr :scope, nil, ::String, ::Array, nil
1351
+ config_attr :lib_name, nil, ::String, nil
1352
+ config_attr :lib_version, nil, ::String, nil
1353
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
1354
+ config_attr :interceptors, nil, ::Array, nil
1355
+ config_attr :timeout, nil, ::Numeric, nil
1356
+ config_attr :metadata, nil, ::Hash, nil
1357
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
1358
1358
 
1359
1359
  # @private
1360
1360
  def initialize parent_config = nil
@@ -1395,112 +1395,112 @@ module Google
1395
1395
  class Rpcs
1396
1396
  ##
1397
1397
  # RPC-specific configuration for `list_secrets`
1398
- # @return [Gapic::Config::Method]
1398
+ # @return [::Gapic::Config::Method]
1399
1399
  #
1400
1400
  attr_reader :list_secrets
1401
1401
  ##
1402
1402
  # RPC-specific configuration for `create_secret`
1403
- # @return [Gapic::Config::Method]
1403
+ # @return [::Gapic::Config::Method]
1404
1404
  #
1405
1405
  attr_reader :create_secret
1406
1406
  ##
1407
1407
  # RPC-specific configuration for `add_secret_version`
1408
- # @return [Gapic::Config::Method]
1408
+ # @return [::Gapic::Config::Method]
1409
1409
  #
1410
1410
  attr_reader :add_secret_version
1411
1411
  ##
1412
1412
  # RPC-specific configuration for `get_secret`
1413
- # @return [Gapic::Config::Method]
1413
+ # @return [::Gapic::Config::Method]
1414
1414
  #
1415
1415
  attr_reader :get_secret
1416
1416
  ##
1417
1417
  # RPC-specific configuration for `update_secret`
1418
- # @return [Gapic::Config::Method]
1418
+ # @return [::Gapic::Config::Method]
1419
1419
  #
1420
1420
  attr_reader :update_secret
1421
1421
  ##
1422
1422
  # RPC-specific configuration for `delete_secret`
1423
- # @return [Gapic::Config::Method]
1423
+ # @return [::Gapic::Config::Method]
1424
1424
  #
1425
1425
  attr_reader :delete_secret
1426
1426
  ##
1427
1427
  # RPC-specific configuration for `list_secret_versions`
1428
- # @return [Gapic::Config::Method]
1428
+ # @return [::Gapic::Config::Method]
1429
1429
  #
1430
1430
  attr_reader :list_secret_versions
1431
1431
  ##
1432
1432
  # RPC-specific configuration for `get_secret_version`
1433
- # @return [Gapic::Config::Method]
1433
+ # @return [::Gapic::Config::Method]
1434
1434
  #
1435
1435
  attr_reader :get_secret_version
1436
1436
  ##
1437
1437
  # RPC-specific configuration for `access_secret_version`
1438
- # @return [Gapic::Config::Method]
1438
+ # @return [::Gapic::Config::Method]
1439
1439
  #
1440
1440
  attr_reader :access_secret_version
1441
1441
  ##
1442
1442
  # RPC-specific configuration for `disable_secret_version`
1443
- # @return [Gapic::Config::Method]
1443
+ # @return [::Gapic::Config::Method]
1444
1444
  #
1445
1445
  attr_reader :disable_secret_version
1446
1446
  ##
1447
1447
  # RPC-specific configuration for `enable_secret_version`
1448
- # @return [Gapic::Config::Method]
1448
+ # @return [::Gapic::Config::Method]
1449
1449
  #
1450
1450
  attr_reader :enable_secret_version
1451
1451
  ##
1452
1452
  # RPC-specific configuration for `destroy_secret_version`
1453
- # @return [Gapic::Config::Method]
1453
+ # @return [::Gapic::Config::Method]
1454
1454
  #
1455
1455
  attr_reader :destroy_secret_version
1456
1456
  ##
1457
1457
  # RPC-specific configuration for `set_iam_policy`
1458
- # @return [Gapic::Config::Method]
1458
+ # @return [::Gapic::Config::Method]
1459
1459
  #
1460
1460
  attr_reader :set_iam_policy
1461
1461
  ##
1462
1462
  # RPC-specific configuration for `get_iam_policy`
1463
- # @return [Gapic::Config::Method]
1463
+ # @return [::Gapic::Config::Method]
1464
1464
  #
1465
1465
  attr_reader :get_iam_policy
1466
1466
  ##
1467
1467
  # RPC-specific configuration for `test_iam_permissions`
1468
- # @return [Gapic::Config::Method]
1468
+ # @return [::Gapic::Config::Method]
1469
1469
  #
1470
1470
  attr_reader :test_iam_permissions
1471
1471
 
1472
1472
  # @private
1473
1473
  def initialize parent_rpcs = nil
1474
1474
  list_secrets_config = parent_rpcs&.list_secrets if parent_rpcs&.respond_to? :list_secrets
1475
- @list_secrets = Gapic::Config::Method.new list_secrets_config
1475
+ @list_secrets = ::Gapic::Config::Method.new list_secrets_config
1476
1476
  create_secret_config = parent_rpcs&.create_secret if parent_rpcs&.respond_to? :create_secret
1477
- @create_secret = Gapic::Config::Method.new create_secret_config
1477
+ @create_secret = ::Gapic::Config::Method.new create_secret_config
1478
1478
  add_secret_version_config = parent_rpcs&.add_secret_version if parent_rpcs&.respond_to? :add_secret_version
1479
- @add_secret_version = Gapic::Config::Method.new add_secret_version_config
1479
+ @add_secret_version = ::Gapic::Config::Method.new add_secret_version_config
1480
1480
  get_secret_config = parent_rpcs&.get_secret if parent_rpcs&.respond_to? :get_secret
1481
- @get_secret = Gapic::Config::Method.new get_secret_config
1481
+ @get_secret = ::Gapic::Config::Method.new get_secret_config
1482
1482
  update_secret_config = parent_rpcs&.update_secret if parent_rpcs&.respond_to? :update_secret
1483
- @update_secret = Gapic::Config::Method.new update_secret_config
1483
+ @update_secret = ::Gapic::Config::Method.new update_secret_config
1484
1484
  delete_secret_config = parent_rpcs&.delete_secret if parent_rpcs&.respond_to? :delete_secret
1485
- @delete_secret = Gapic::Config::Method.new delete_secret_config
1485
+ @delete_secret = ::Gapic::Config::Method.new delete_secret_config
1486
1486
  list_secret_versions_config = parent_rpcs&.list_secret_versions if parent_rpcs&.respond_to? :list_secret_versions
1487
- @list_secret_versions = Gapic::Config::Method.new list_secret_versions_config
1487
+ @list_secret_versions = ::Gapic::Config::Method.new list_secret_versions_config
1488
1488
  get_secret_version_config = parent_rpcs&.get_secret_version if parent_rpcs&.respond_to? :get_secret_version
1489
- @get_secret_version = Gapic::Config::Method.new get_secret_version_config
1489
+ @get_secret_version = ::Gapic::Config::Method.new get_secret_version_config
1490
1490
  access_secret_version_config = parent_rpcs&.access_secret_version if parent_rpcs&.respond_to? :access_secret_version
1491
- @access_secret_version = Gapic::Config::Method.new access_secret_version_config
1491
+ @access_secret_version = ::Gapic::Config::Method.new access_secret_version_config
1492
1492
  disable_secret_version_config = parent_rpcs&.disable_secret_version if parent_rpcs&.respond_to? :disable_secret_version
1493
- @disable_secret_version = Gapic::Config::Method.new disable_secret_version_config
1493
+ @disable_secret_version = ::Gapic::Config::Method.new disable_secret_version_config
1494
1494
  enable_secret_version_config = parent_rpcs&.enable_secret_version if parent_rpcs&.respond_to? :enable_secret_version
1495
- @enable_secret_version = Gapic::Config::Method.new enable_secret_version_config
1495
+ @enable_secret_version = ::Gapic::Config::Method.new enable_secret_version_config
1496
1496
  destroy_secret_version_config = parent_rpcs&.destroy_secret_version if parent_rpcs&.respond_to? :destroy_secret_version
1497
- @destroy_secret_version = Gapic::Config::Method.new destroy_secret_version_config
1497
+ @destroy_secret_version = ::Gapic::Config::Method.new destroy_secret_version_config
1498
1498
  set_iam_policy_config = parent_rpcs&.set_iam_policy if parent_rpcs&.respond_to? :set_iam_policy
1499
- @set_iam_policy = Gapic::Config::Method.new set_iam_policy_config
1499
+ @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
1500
1500
  get_iam_policy_config = parent_rpcs&.get_iam_policy if parent_rpcs&.respond_to? :get_iam_policy
1501
- @get_iam_policy = Gapic::Config::Method.new get_iam_policy_config
1501
+ @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
1502
1502
  test_iam_permissions_config = parent_rpcs&.test_iam_permissions if parent_rpcs&.respond_to? :test_iam_permissions
1503
- @test_iam_permissions = Gapic::Config::Method.new test_iam_permissions_config
1503
+ @test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
1504
1504
 
1505
1505
  yield self if block_given?
1506
1506
  end