google-cloud-access_approval-v1 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b6a923c0a58aca2e91116fcd9fc31d8899e30b0488061dc86bacde71380314b
4
- data.tar.gz: 74e54b7d714a184ef7b08c723819a93222c27b55c350e5175098f85ecee75f36
3
+ metadata.gz: a3a12886222c8cb9cd6839244a247bcf5e9816b5ee1d55b4bb40f3e8c14f50fc
4
+ data.tar.gz: acd4a9d603fa57199de1f83268bfd8fc74aaafb037885d7e60992076c32a82bb
5
5
  SHA512:
6
- metadata.gz: c15d261539fc29d098d44dc10374c4626b548fb86e682674f64f1d40e7edd519bdf55a3b13215fcc4375ee0dd25766dea7f0167c5a638ffee2da30bd12aba719
7
- data.tar.gz: faf098ad779bce4d738f09b3a02336c15e0b5d05f881f7690c117ea92241d0e28ab02749d86f8b673e073b076d4c51f5680791be303d2c75e2a901d267d419b6
6
+ metadata.gz: 93a96f62b278c75d0f033acaa5f8ad69d00813d811ad0e617b38018f73711bfdadb91c6b5afe23cc14d0d2433756a3eeeec5fe6ef73190e52777309e2cdccc76
7
+ data.tar.gz: 968f32b144529ede9584f69472d443e370e6517adbb9bf5948bf76c3eece38076b5e47b67e4f018d934274a3fcca0a7ec2141c7f6480d2aee503c258dea2c9db
data/AUTHENTICATION.md CHANGED
@@ -27,7 +27,7 @@ export ACCESS_APPROVAL_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/access_approval/v1"
29
29
 
30
- client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
30
+ client = ::Google::Cloud::AccessApproval::V1::AccessApproval::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-access_approval-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {Google::Cloud::AccessApproval::V1::AccessApproval::Credentials}):
67
+ {::Google::Cloud::AccessApproval::V1::AccessApproval::Credentials}):
68
68
 
69
69
  1. `ACCESS_APPROVAL_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  2. `ACCESS_APPROVAL_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/access_approval/v1"
77
77
 
78
78
  ENV["ACCESS_APPROVAL_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
80
+ client = ::Google::Cloud::AccessApproval::V1::AccessApproval::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/access_approval/v1"
90
90
 
91
- client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new do |config|
91
+ client = ::Google::Cloud::AccessApproval::V1::AccessApproval::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/access_approval/v1"
100
100
 
101
- Google::Cloud::AccessApproval::V1::AccessApproval::Client.configure do |config|
101
+ ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
105
+ client = ::Google::Cloud::AccessApproval::V1::AccessApproval::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/access_approval/v1"
27
27
 
28
- client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
28
+ client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
29
29
  request = my_create_request
30
30
  response = client.list_approval_requests 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/access_approval/v1"
29
- # client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
29
+ # client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
30
30
  #
31
31
  module V1
32
32
  end
@@ -34,7 +34,7 @@ module Google
34
34
  # Google personnel. It defines the following resource model:
35
35
  #
36
36
  # - The API has a collection of
37
- # {Google::Cloud::AccessApproval::V1::ApprovalRequest ApprovalRequest}
37
+ # {::Google::Cloud::AccessApproval::V1::ApprovalRequest ApprovalRequest}
38
38
  # resources, named `approvalRequests/{approval_request_id}`
39
39
  # - The API has top-level settings per Project/Folder/Organization, named
40
40
  # `accessApprovalSettings`
@@ -67,7 +67,7 @@ module Google
67
67
  # To load this service and instantiate a client:
68
68
  #
69
69
  # require "google/cloud/access_approval/v1/access_approval"
70
- # client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
70
+ # client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
71
71
  #
72
72
  module AccessApproval
73
73
  end
@@ -31,7 +31,7 @@ module Google
31
31
  # Google personnel. It defines the following resource model:
32
32
  #
33
33
  # - The API has a collection of
34
- # {Google::Cloud::AccessApproval::V1::ApprovalRequest ApprovalRequest}
34
+ # {::Google::Cloud::AccessApproval::V1::ApprovalRequest ApprovalRequest}
35
35
  # resources, named `approvalRequests/{approval_request_id}`
36
36
  # - The API has top-level settings per Project/Folder/Organization, named
37
37
  # `accessApprovalSettings`
@@ -68,15 +68,15 @@ module Google
68
68
  ##
69
69
  # Configure the AccessApproval Client class.
70
70
  #
71
- # See {Google::Cloud::AccessApproval::V1::AccessApproval::Client::Configuration}
71
+ # See {::Google::Cloud::AccessApproval::V1::AccessApproval::Client::Configuration}
72
72
  # for a description of the configuration fields.
73
73
  #
74
74
  # ## Example
75
75
  #
76
76
  # To modify the configuration for all AccessApproval clients:
77
77
  #
78
- # Google::Cloud::AccessApproval::V1::AccessApproval::Client.configure do |config|
79
- # config.timeout = 10_000
78
+ # ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.configure do |config|
79
+ # config.timeout = 10.0
80
80
  # end
81
81
  #
82
82
  # @yield [config] Configure the Client client.
@@ -108,7 +108,7 @@ module Google
108
108
  # but structural changes (adding new fields, etc.) are not allowed. Structural changes
109
109
  # should be made on {Client.configure}.
110
110
  #
111
- # See {Google::Cloud::AccessApproval::V1::AccessApproval::Client::Configuration}
111
+ # See {::Google::Cloud::AccessApproval::V1::AccessApproval::Client::Configuration}
112
112
  # for a description of the configuration fields.
113
113
  #
114
114
  # @yield [config] Configure the Client client.
@@ -129,13 +129,13 @@ module Google
129
129
  # To create a new AccessApproval client with the default
130
130
  # configuration:
131
131
  #
132
- # client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
132
+ # client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
133
133
  #
134
134
  # To create a new AccessApproval client with a custom
135
135
  # configuration:
136
136
  #
137
- # client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new do |config|
138
- # config.timeout = 10_000
137
+ # client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new do |config|
138
+ # config.timeout = 10.0
139
139
  # end
140
140
  #
141
141
  # @yield [config] Configure the AccessApproval client.
@@ -162,8 +162,8 @@ module Google
162
162
  end
163
163
  @quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
164
164
 
165
- @access_approval_stub = Gapic::ServiceStub.new(
166
- Google::Cloud::AccessApproval::V1::AccessApproval::Stub,
165
+ @access_approval_stub = ::Gapic::ServiceStub.new(
166
+ ::Google::Cloud::AccessApproval::V1::AccessApproval::Stub,
167
167
  credentials: credentials,
168
168
  endpoint: @config.endpoint,
169
169
  channel_args: @config.channel_args,
@@ -180,12 +180,12 @@ module Google
180
180
  #
181
181
  # @overload list_approval_requests(request, options = nil)
182
182
  # Pass arguments to `list_approval_requests` via a request object, either of type
183
- # {Google::Cloud::AccessApproval::V1::ListApprovalRequestsMessage} or an equivalent Hash.
183
+ # {::Google::Cloud::AccessApproval::V1::ListApprovalRequestsMessage} or an equivalent Hash.
184
184
  #
185
- # @param request [Google::Cloud::AccessApproval::V1::ListApprovalRequestsMessage, Hash]
185
+ # @param request [::Google::Cloud::AccessApproval::V1::ListApprovalRequestsMessage, ::Hash]
186
186
  # A request object representing the call parameters. Required. To specify no
187
187
  # parameters, or to keep all the default parameter values, pass an empty Hash.
188
- # @param options [Gapic::CallOptions, Hash]
188
+ # @param options [::Gapic::CallOptions, ::Hash]
189
189
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
190
190
  #
191
191
  # @overload list_approval_requests(parent: nil, filter: nil, page_size: nil, page_token: nil)
@@ -193,10 +193,10 @@ module Google
193
193
  # least one keyword argument is required. To specify no parameters, or to keep all
194
194
  # the default parameter values, pass an empty Hash as a request object (see above).
195
195
  #
196
- # @param parent [String]
196
+ # @param parent [::String]
197
197
  # The parent resource. This may be "projects/\\{project_id}",
198
198
  # "folders/\\{folder_id}", or "organizations/\\{organization_id}".
199
- # @param filter [String]
199
+ # @param filter [::String]
200
200
  # A filter on the type of approval requests to retrieve. Must be one of the
201
201
  # following values:
202
202
  # <ol>
@@ -206,32 +206,32 @@ module Google
206
206
  # <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
207
207
  # <li>DISMISSED: Only dismissed (including expired) requests.</li>
208
208
  # </ol>
209
- # @param page_size [Integer]
209
+ # @param page_size [::Integer]
210
210
  # Requested page size.
211
- # @param page_token [String]
211
+ # @param page_token [::String]
212
212
  # A token identifying the page of results to return.
213
213
  #
214
214
  # @yield [response, operation] Access the result along with the RPC operation
215
- # @yieldparam response [Gapic::PagedEnumerable<Google::Cloud::AccessApproval::V1::ApprovalRequest>]
216
- # @yieldparam operation [GRPC::ActiveCall::Operation]
215
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AccessApproval::V1::ApprovalRequest>]
216
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
217
217
  #
218
- # @return [Gapic::PagedEnumerable<Google::Cloud::AccessApproval::V1::ApprovalRequest>]
218
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::AccessApproval::V1::ApprovalRequest>]
219
219
  #
220
- # @raise [Google::Cloud::Error] if the RPC is aborted.
220
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
221
221
  #
222
222
  def list_approval_requests request, options = nil
223
- raise ArgumentError, "request must be provided" if request.nil?
223
+ raise ::ArgumentError, "request must be provided" if request.nil?
224
224
 
225
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::AccessApproval::V1::ListApprovalRequestsMessage
225
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AccessApproval::V1::ListApprovalRequestsMessage
226
226
 
227
227
  # Converts hash and nil to an options object
228
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
228
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
229
229
 
230
230
  # Customize the options with defaults
231
231
  metadata = @config.rpcs.list_approval_requests.metadata.to_h
232
232
 
233
233
  # Set x-goog-api-client and x-goog-user-project headers
234
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
234
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
235
235
  lib_name: @config.lib_name, lib_version: @config.lib_version,
236
236
  gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
237
237
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -249,12 +249,12 @@ module Google
249
249
  retry_policy: @config.retry_policy
250
250
 
251
251
  @access_approval_stub.call_rpc :list_approval_requests, request, options: options do |response, operation|
252
- response = Gapic::PagedEnumerable.new @access_approval_stub, :list_approval_requests, request, response, operation, options
252
+ response = ::Gapic::PagedEnumerable.new @access_approval_stub, :list_approval_requests, request, response, operation, options
253
253
  yield response, operation if block_given?
254
254
  return response
255
255
  end
256
- rescue GRPC::BadStatus => e
257
- raise Google::Cloud::Error.from_error(e)
256
+ rescue ::GRPC::BadStatus => e
257
+ raise ::Google::Cloud::Error.from_error(e)
258
258
  end
259
259
 
260
260
  ##
@@ -262,12 +262,12 @@ module Google
262
262
  #
263
263
  # @overload get_approval_request(request, options = nil)
264
264
  # Pass arguments to `get_approval_request` via a request object, either of type
265
- # {Google::Cloud::AccessApproval::V1::GetApprovalRequestMessage} or an equivalent Hash.
265
+ # {::Google::Cloud::AccessApproval::V1::GetApprovalRequestMessage} or an equivalent Hash.
266
266
  #
267
- # @param request [Google::Cloud::AccessApproval::V1::GetApprovalRequestMessage, Hash]
267
+ # @param request [::Google::Cloud::AccessApproval::V1::GetApprovalRequestMessage, ::Hash]
268
268
  # A request object representing the call parameters. Required. To specify no
269
269
  # parameters, or to keep all the default parameter values, pass an empty Hash.
270
- # @param options [Gapic::CallOptions, Hash]
270
+ # @param options [::Gapic::CallOptions, ::Hash]
271
271
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
272
272
  #
273
273
  # @overload get_approval_request(name: nil)
@@ -275,30 +275,30 @@ module Google
275
275
  # least one keyword argument is required. To specify no parameters, or to keep all
276
276
  # the default parameter values, pass an empty Hash as a request object (see above).
277
277
  #
278
- # @param name [String]
278
+ # @param name [::String]
279
279
  # Name of the approval request to retrieve.
280
280
  #
281
281
  # @yield [response, operation] Access the result along with the RPC operation
282
- # @yieldparam response [Google::Cloud::AccessApproval::V1::ApprovalRequest]
283
- # @yieldparam operation [GRPC::ActiveCall::Operation]
282
+ # @yieldparam response [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
283
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
284
284
  #
285
- # @return [Google::Cloud::AccessApproval::V1::ApprovalRequest]
285
+ # @return [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
286
286
  #
287
- # @raise [Google::Cloud::Error] if the RPC is aborted.
287
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
288
288
  #
289
289
  def get_approval_request request, options = nil
290
- raise ArgumentError, "request must be provided" if request.nil?
290
+ raise ::ArgumentError, "request must be provided" if request.nil?
291
291
 
292
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::AccessApproval::V1::GetApprovalRequestMessage
292
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AccessApproval::V1::GetApprovalRequestMessage
293
293
 
294
294
  # Converts hash and nil to an options object
295
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
295
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
296
296
 
297
297
  # Customize the options with defaults
298
298
  metadata = @config.rpcs.get_approval_request.metadata.to_h
299
299
 
300
300
  # Set x-goog-api-client and x-goog-user-project headers
301
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
301
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
302
302
  lib_name: @config.lib_name, lib_version: @config.lib_version,
303
303
  gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
304
304
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -319,8 +319,8 @@ module Google
319
319
  yield response, operation if block_given?
320
320
  return response
321
321
  end
322
- rescue GRPC::BadStatus => e
323
- raise Google::Cloud::Error.from_error(e)
322
+ rescue ::GRPC::BadStatus => e
323
+ raise ::Google::Cloud::Error.from_error(e)
324
324
  end
325
325
 
326
326
  ##
@@ -331,12 +331,12 @@ module Google
331
331
  #
332
332
  # @overload approve_approval_request(request, options = nil)
333
333
  # Pass arguments to `approve_approval_request` via a request object, either of type
334
- # {Google::Cloud::AccessApproval::V1::ApproveApprovalRequestMessage} or an equivalent Hash.
334
+ # {::Google::Cloud::AccessApproval::V1::ApproveApprovalRequestMessage} or an equivalent Hash.
335
335
  #
336
- # @param request [Google::Cloud::AccessApproval::V1::ApproveApprovalRequestMessage, Hash]
336
+ # @param request [::Google::Cloud::AccessApproval::V1::ApproveApprovalRequestMessage, ::Hash]
337
337
  # A request object representing the call parameters. Required. To specify no
338
338
  # parameters, or to keep all the default parameter values, pass an empty Hash.
339
- # @param options [Gapic::CallOptions, Hash]
339
+ # @param options [::Gapic::CallOptions, ::Hash]
340
340
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
341
341
  #
342
342
  # @overload approve_approval_request(name: nil, expire_time: nil)
@@ -344,32 +344,32 @@ module Google
344
344
  # least one keyword argument is required. To specify no parameters, or to keep all
345
345
  # the default parameter values, pass an empty Hash as a request object (see above).
346
346
  #
347
- # @param name [String]
347
+ # @param name [::String]
348
348
  # Name of the approval request to approve.
349
- # @param expire_time [Google::Protobuf::Timestamp, Hash]
349
+ # @param expire_time [::Google::Protobuf::Timestamp, ::Hash]
350
350
  # The expiration time of this approval.
351
351
  #
352
352
  # @yield [response, operation] Access the result along with the RPC operation
353
- # @yieldparam response [Google::Cloud::AccessApproval::V1::ApprovalRequest]
354
- # @yieldparam operation [GRPC::ActiveCall::Operation]
353
+ # @yieldparam response [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
354
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
355
355
  #
356
- # @return [Google::Cloud::AccessApproval::V1::ApprovalRequest]
356
+ # @return [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
357
357
  #
358
- # @raise [Google::Cloud::Error] if the RPC is aborted.
358
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
359
359
  #
360
360
  def approve_approval_request request, options = nil
361
- raise ArgumentError, "request must be provided" if request.nil?
361
+ raise ::ArgumentError, "request must be provided" if request.nil?
362
362
 
363
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::AccessApproval::V1::ApproveApprovalRequestMessage
363
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AccessApproval::V1::ApproveApprovalRequestMessage
364
364
 
365
365
  # Converts hash and nil to an options object
366
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
366
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
367
367
 
368
368
  # Customize the options with defaults
369
369
  metadata = @config.rpcs.approve_approval_request.metadata.to_h
370
370
 
371
371
  # Set x-goog-api-client and x-goog-user-project headers
372
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
372
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
373
373
  lib_name: @config.lib_name, lib_version: @config.lib_version,
374
374
  gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
375
375
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -390,8 +390,8 @@ module Google
390
390
  yield response, operation if block_given?
391
391
  return response
392
392
  end
393
- rescue GRPC::BadStatus => e
394
- raise Google::Cloud::Error.from_error(e)
393
+ rescue ::GRPC::BadStatus => e
394
+ raise ::Google::Cloud::Error.from_error(e)
395
395
  end
396
396
 
397
397
  ##
@@ -408,12 +408,12 @@ module Google
408
408
  #
409
409
  # @overload dismiss_approval_request(request, options = nil)
410
410
  # Pass arguments to `dismiss_approval_request` via a request object, either of type
411
- # {Google::Cloud::AccessApproval::V1::DismissApprovalRequestMessage} or an equivalent Hash.
411
+ # {::Google::Cloud::AccessApproval::V1::DismissApprovalRequestMessage} or an equivalent Hash.
412
412
  #
413
- # @param request [Google::Cloud::AccessApproval::V1::DismissApprovalRequestMessage, Hash]
413
+ # @param request [::Google::Cloud::AccessApproval::V1::DismissApprovalRequestMessage, ::Hash]
414
414
  # A request object representing the call parameters. Required. To specify no
415
415
  # parameters, or to keep all the default parameter values, pass an empty Hash.
416
- # @param options [Gapic::CallOptions, Hash]
416
+ # @param options [::Gapic::CallOptions, ::Hash]
417
417
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
418
418
  #
419
419
  # @overload dismiss_approval_request(name: nil)
@@ -421,30 +421,30 @@ module Google
421
421
  # least one keyword argument is required. To specify no parameters, or to keep all
422
422
  # the default parameter values, pass an empty Hash as a request object (see above).
423
423
  #
424
- # @param name [String]
424
+ # @param name [::String]
425
425
  # Name of the ApprovalRequest to dismiss.
426
426
  #
427
427
  # @yield [response, operation] Access the result along with the RPC operation
428
- # @yieldparam response [Google::Cloud::AccessApproval::V1::ApprovalRequest]
429
- # @yieldparam operation [GRPC::ActiveCall::Operation]
428
+ # @yieldparam response [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
429
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
430
430
  #
431
- # @return [Google::Cloud::AccessApproval::V1::ApprovalRequest]
431
+ # @return [::Google::Cloud::AccessApproval::V1::ApprovalRequest]
432
432
  #
433
- # @raise [Google::Cloud::Error] if the RPC is aborted.
433
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
434
434
  #
435
435
  def dismiss_approval_request request, options = nil
436
- raise ArgumentError, "request must be provided" if request.nil?
436
+ raise ::ArgumentError, "request must be provided" if request.nil?
437
437
 
438
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::AccessApproval::V1::DismissApprovalRequestMessage
438
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AccessApproval::V1::DismissApprovalRequestMessage
439
439
 
440
440
  # Converts hash and nil to an options object
441
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
441
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
442
442
 
443
443
  # Customize the options with defaults
444
444
  metadata = @config.rpcs.dismiss_approval_request.metadata.to_h
445
445
 
446
446
  # Set x-goog-api-client and x-goog-user-project headers
447
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
447
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
448
448
  lib_name: @config.lib_name, lib_version: @config.lib_version,
449
449
  gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
450
450
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -465,8 +465,8 @@ module Google
465
465
  yield response, operation if block_given?
466
466
  return response
467
467
  end
468
- rescue GRPC::BadStatus => e
469
- raise Google::Cloud::Error.from_error(e)
468
+ rescue ::GRPC::BadStatus => e
469
+ raise ::Google::Cloud::Error.from_error(e)
470
470
  end
471
471
 
472
472
  ##
@@ -474,12 +474,12 @@ module Google
474
474
  #
475
475
  # @overload get_access_approval_settings(request, options = nil)
476
476
  # Pass arguments to `get_access_approval_settings` via a request object, either of type
477
- # {Google::Cloud::AccessApproval::V1::GetAccessApprovalSettingsMessage} or an equivalent Hash.
477
+ # {::Google::Cloud::AccessApproval::V1::GetAccessApprovalSettingsMessage} or an equivalent Hash.
478
478
  #
479
- # @param request [Google::Cloud::AccessApproval::V1::GetAccessApprovalSettingsMessage, Hash]
479
+ # @param request [::Google::Cloud::AccessApproval::V1::GetAccessApprovalSettingsMessage, ::Hash]
480
480
  # A request object representing the call parameters. Required. To specify no
481
481
  # parameters, or to keep all the default parameter values, pass an empty Hash.
482
- # @param options [Gapic::CallOptions, Hash]
482
+ # @param options [::Gapic::CallOptions, ::Hash]
483
483
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
484
484
  #
485
485
  # @overload get_access_approval_settings(name: nil)
@@ -487,30 +487,30 @@ module Google
487
487
  # least one keyword argument is required. To specify no parameters, or to keep all
488
488
  # the default parameter values, pass an empty Hash as a request object (see above).
489
489
  #
490
- # @param name [String]
490
+ # @param name [::String]
491
491
  # Name of the AccessApprovalSettings to retrieve.
492
492
  #
493
493
  # @yield [response, operation] Access the result along with the RPC operation
494
- # @yieldparam response [Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
495
- # @yieldparam operation [GRPC::ActiveCall::Operation]
494
+ # @yieldparam response [::Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
495
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
496
496
  #
497
- # @return [Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
497
+ # @return [::Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
498
498
  #
499
- # @raise [Google::Cloud::Error] if the RPC is aborted.
499
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
500
500
  #
501
501
  def get_access_approval_settings request, options = nil
502
- raise ArgumentError, "request must be provided" if request.nil?
502
+ raise ::ArgumentError, "request must be provided" if request.nil?
503
503
 
504
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::AccessApproval::V1::GetAccessApprovalSettingsMessage
504
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AccessApproval::V1::GetAccessApprovalSettingsMessage
505
505
 
506
506
  # Converts hash and nil to an options object
507
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
507
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
508
508
 
509
509
  # Customize the options with defaults
510
510
  metadata = @config.rpcs.get_access_approval_settings.metadata.to_h
511
511
 
512
512
  # Set x-goog-api-client and x-goog-user-project headers
513
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
513
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
514
514
  lib_name: @config.lib_name, lib_version: @config.lib_version,
515
515
  gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
516
516
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -531,8 +531,8 @@ module Google
531
531
  yield response, operation if block_given?
532
532
  return response
533
533
  end
534
- rescue GRPC::BadStatus => e
535
- raise Google::Cloud::Error.from_error(e)
534
+ rescue ::GRPC::BadStatus => e
535
+ raise ::Google::Cloud::Error.from_error(e)
536
536
  end
537
537
 
538
538
  ##
@@ -541,12 +541,12 @@ module Google
541
541
  #
542
542
  # @overload update_access_approval_settings(request, options = nil)
543
543
  # Pass arguments to `update_access_approval_settings` via a request object, either of type
544
- # {Google::Cloud::AccessApproval::V1::UpdateAccessApprovalSettingsMessage} or an equivalent Hash.
544
+ # {::Google::Cloud::AccessApproval::V1::UpdateAccessApprovalSettingsMessage} or an equivalent Hash.
545
545
  #
546
- # @param request [Google::Cloud::AccessApproval::V1::UpdateAccessApprovalSettingsMessage, Hash]
546
+ # @param request [::Google::Cloud::AccessApproval::V1::UpdateAccessApprovalSettingsMessage, ::Hash]
547
547
  # A request object representing the call parameters. Required. To specify no
548
548
  # parameters, or to keep all the default parameter values, pass an empty Hash.
549
- # @param options [Gapic::CallOptions, Hash]
549
+ # @param options [::Gapic::CallOptions, ::Hash]
550
550
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
551
551
  #
552
552
  # @overload update_access_approval_settings(settings: nil, update_mask: nil)
@@ -554,9 +554,9 @@ module Google
554
554
  # least one keyword argument is required. To specify no parameters, or to keep all
555
555
  # the default parameter values, pass an empty Hash as a request object (see above).
556
556
  #
557
- # @param settings [Google::Cloud::AccessApproval::V1::AccessApprovalSettings, Hash]
557
+ # @param settings [::Google::Cloud::AccessApproval::V1::AccessApprovalSettings, ::Hash]
558
558
  # The new AccessApprovalSettings.
559
- # @param update_mask [Google::Protobuf::FieldMask, Hash]
559
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
560
560
  # The update mask applies to the settings. Only the top level fields of
561
561
  # AccessApprovalSettings (notification_emails & enrolled_services) are
562
562
  # supported. For each field, if it is included, the currently stored value
@@ -569,26 +569,26 @@ module Google
569
569
  # updated.
570
570
  #
571
571
  # @yield [response, operation] Access the result along with the RPC operation
572
- # @yieldparam response [Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
573
- # @yieldparam operation [GRPC::ActiveCall::Operation]
572
+ # @yieldparam response [::Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
573
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
574
574
  #
575
- # @return [Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
575
+ # @return [::Google::Cloud::AccessApproval::V1::AccessApprovalSettings]
576
576
  #
577
- # @raise [Google::Cloud::Error] if the RPC is aborted.
577
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
578
578
  #
579
579
  def update_access_approval_settings request, options = nil
580
- raise ArgumentError, "request must be provided" if request.nil?
580
+ raise ::ArgumentError, "request must be provided" if request.nil?
581
581
 
582
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::AccessApproval::V1::UpdateAccessApprovalSettingsMessage
582
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AccessApproval::V1::UpdateAccessApprovalSettingsMessage
583
583
 
584
584
  # Converts hash and nil to an options object
585
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
585
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
586
586
 
587
587
  # Customize the options with defaults
588
588
  metadata = @config.rpcs.update_access_approval_settings.metadata.to_h
589
589
 
590
590
  # Set x-goog-api-client and x-goog-user-project headers
591
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
591
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
592
592
  lib_name: @config.lib_name, lib_version: @config.lib_version,
593
593
  gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
594
594
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -609,8 +609,8 @@ module Google
609
609
  yield response, operation if block_given?
610
610
  return response
611
611
  end
612
- rescue GRPC::BadStatus => e
613
- raise Google::Cloud::Error.from_error(e)
612
+ rescue ::GRPC::BadStatus => e
613
+ raise ::Google::Cloud::Error.from_error(e)
614
614
  end
615
615
 
616
616
  ##
@@ -623,12 +623,12 @@ module Google
623
623
  #
624
624
  # @overload delete_access_approval_settings(request, options = nil)
625
625
  # Pass arguments to `delete_access_approval_settings` via a request object, either of type
626
- # {Google::Cloud::AccessApproval::V1::DeleteAccessApprovalSettingsMessage} or an equivalent Hash.
626
+ # {::Google::Cloud::AccessApproval::V1::DeleteAccessApprovalSettingsMessage} or an equivalent Hash.
627
627
  #
628
- # @param request [Google::Cloud::AccessApproval::V1::DeleteAccessApprovalSettingsMessage, Hash]
628
+ # @param request [::Google::Cloud::AccessApproval::V1::DeleteAccessApprovalSettingsMessage, ::Hash]
629
629
  # A request object representing the call parameters. Required. To specify no
630
630
  # parameters, or to keep all the default parameter values, pass an empty Hash.
631
- # @param options [Gapic::CallOptions, Hash]
631
+ # @param options [::Gapic::CallOptions, ::Hash]
632
632
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
633
633
  #
634
634
  # @overload delete_access_approval_settings(name: nil)
@@ -636,30 +636,30 @@ module Google
636
636
  # least one keyword argument is required. To specify no parameters, or to keep all
637
637
  # the default parameter values, pass an empty Hash as a request object (see above).
638
638
  #
639
- # @param name [String]
639
+ # @param name [::String]
640
640
  # Name of the AccessApprovalSettings to delete.
641
641
  #
642
642
  # @yield [response, operation] Access the result along with the RPC operation
643
- # @yieldparam response [Google::Protobuf::Empty]
644
- # @yieldparam operation [GRPC::ActiveCall::Operation]
643
+ # @yieldparam response [::Google::Protobuf::Empty]
644
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
645
645
  #
646
- # @return [Google::Protobuf::Empty]
646
+ # @return [::Google::Protobuf::Empty]
647
647
  #
648
- # @raise [Google::Cloud::Error] if the RPC is aborted.
648
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
649
649
  #
650
650
  def delete_access_approval_settings request, options = nil
651
- raise ArgumentError, "request must be provided" if request.nil?
651
+ raise ::ArgumentError, "request must be provided" if request.nil?
652
652
 
653
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::AccessApproval::V1::DeleteAccessApprovalSettingsMessage
653
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AccessApproval::V1::DeleteAccessApprovalSettingsMessage
654
654
 
655
655
  # Converts hash and nil to an options object
656
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
656
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
657
657
 
658
658
  # Customize the options with defaults
659
659
  metadata = @config.rpcs.delete_access_approval_settings.metadata.to_h
660
660
 
661
661
  # Set x-goog-api-client and x-goog-user-project headers
662
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
662
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
663
663
  lib_name: @config.lib_name, lib_version: @config.lib_version,
664
664
  gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
665
665
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -680,8 +680,8 @@ module Google
680
680
  yield response, operation if block_given?
681
681
  return response
682
682
  end
683
- rescue GRPC::BadStatus => e
684
- raise Google::Cloud::Error.from_error(e)
683
+ rescue ::GRPC::BadStatus => e
684
+ raise ::Google::Cloud::Error.from_error(e)
685
685
  end
686
686
 
687
687
  ##
@@ -691,7 +691,7 @@ module Google
691
691
  # providing control over timeouts, retry behavior, logging, transport
692
692
  # parameters, and other low-level controls. Certain parameters can also be
693
693
  # applied individually to specific RPCs. See
694
- # {Google::Cloud::AccessApproval::V1::AccessApproval::Client::Configuration::Rpcs}
694
+ # {::Google::Cloud::AccessApproval::V1::AccessApproval::Client::Configuration::Rpcs}
695
695
  # for a list of RPCs that can be configured independently.
696
696
  #
697
697
  # Configuration can be applied globally to all clients, or to a single client
@@ -702,22 +702,22 @@ module Google
702
702
  # To modify the global config, setting the timeout for list_approval_requests
703
703
  # to 20 seconds, and all remaining timeouts to 10 seconds:
704
704
  #
705
- # Google::Cloud::AccessApproval::V1::AccessApproval::Client.configure do |config|
706
- # config.timeout = 10_000
707
- # config.rpcs.list_approval_requests.timeout = 20_000
705
+ # ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.configure do |config|
706
+ # config.timeout = 10.0
707
+ # config.rpcs.list_approval_requests.timeout = 20.0
708
708
  # end
709
709
  #
710
710
  # To apply the above configuration only to a new client:
711
711
  #
712
- # client = Google::Cloud::AccessApproval::V1::AccessApproval::Client.new do |config|
713
- # config.timeout = 10_000
714
- # config.rpcs.list_approval_requests.timeout = 20_000
712
+ # client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new do |config|
713
+ # config.timeout = 10.0
714
+ # config.rpcs.list_approval_requests.timeout = 20.0
715
715
  # end
716
716
  #
717
717
  # @!attribute [rw] endpoint
718
718
  # The hostname or hostname:port of the service endpoint.
719
719
  # Defaults to `"accessapproval.googleapis.com"`.
720
- # @return [String]
720
+ # @return [::String]
721
721
  # @!attribute [rw] credentials
722
722
  # Credentials to send with calls. You may provide any of the following types:
723
723
  # * (`String`) The path to a service account key file in JSON format
@@ -729,29 +729,29 @@ module Google
729
729
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
730
730
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
731
731
  # * (`nil`) indicating no credentials
732
- # @return [Object]
732
+ # @return [::Object]
733
733
  # @!attribute [rw] scope
734
734
  # The OAuth scopes
735
- # @return [Array<String>]
735
+ # @return [::Array<::String>]
736
736
  # @!attribute [rw] lib_name
737
737
  # The library name as recorded in instrumentation and logging
738
- # @return [String]
738
+ # @return [::String]
739
739
  # @!attribute [rw] lib_version
740
740
  # The library version as recorded in instrumentation and logging
741
- # @return [String]
741
+ # @return [::String]
742
742
  # @!attribute [rw] channel_args
743
743
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
744
744
  # `GRPC::Core::Channel` object is provided as the credential.
745
- # @return [Hash]
745
+ # @return [::Hash]
746
746
  # @!attribute [rw] interceptors
747
747
  # An array of interceptors that are run before calls are executed.
748
- # @return [Array<GRPC::ClientInterceptor>]
748
+ # @return [::Array<::GRPC::ClientInterceptor>]
749
749
  # @!attribute [rw] timeout
750
- # The call timeout in milliseconds.
751
- # @return [Numeric]
750
+ # The call timeout in seconds.
751
+ # @return [::Numeric]
752
752
  # @!attribute [rw] metadata
753
753
  # Additional gRPC headers to be sent with the call.
754
- # @return [Hash{Symbol=>String}]
754
+ # @return [::Hash{::Symbol=>::String}]
755
755
  # @!attribute [rw] retry_policy
756
756
  # The retry policy. The value is a hash with the following keys:
757
757
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -759,10 +759,10 @@ module Google
759
759
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
760
760
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
761
761
  # trigger a retry.
762
- # @return [Hash]
762
+ # @return [::Hash]
763
763
  #
764
764
  class Configuration
765
- extend Gapic::Config
765
+ extend ::Gapic::Config
766
766
 
767
767
  config_attr :endpoint, "accessapproval.googleapis.com", String
768
768
  config_attr :credentials, nil do |value|
@@ -770,14 +770,14 @@ module Google
770
770
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
771
771
  allowed.any? { |klass| klass === value }
772
772
  end
773
- config_attr :scope, nil, String, Array, nil
774
- config_attr :lib_name, nil, String, nil
775
- config_attr :lib_version, nil, String, nil
776
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
777
- config_attr :interceptors, nil, Array, nil
778
- config_attr :timeout, nil, Numeric, nil
779
- config_attr :metadata, nil, Hash, nil
780
- config_attr :retry_policy, nil, Hash, Proc, nil
773
+ config_attr :scope, nil, ::String, ::Array, nil
774
+ config_attr :lib_name, nil, ::String, nil
775
+ config_attr :lib_version, nil, ::String, nil
776
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
777
+ config_attr :interceptors, nil, ::Array, nil
778
+ config_attr :timeout, nil, ::Numeric, nil
779
+ config_attr :metadata, nil, ::Hash, nil
780
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
781
781
 
782
782
  # @private
783
783
  def initialize parent_config = nil
@@ -818,56 +818,56 @@ module Google
818
818
  class Rpcs
819
819
  ##
820
820
  # RPC-specific configuration for `list_approval_requests`
821
- # @return [Gapic::Config::Method]
821
+ # @return [::Gapic::Config::Method]
822
822
  #
823
823
  attr_reader :list_approval_requests
824
824
  ##
825
825
  # RPC-specific configuration for `get_approval_request`
826
- # @return [Gapic::Config::Method]
826
+ # @return [::Gapic::Config::Method]
827
827
  #
828
828
  attr_reader :get_approval_request
829
829
  ##
830
830
  # RPC-specific configuration for `approve_approval_request`
831
- # @return [Gapic::Config::Method]
831
+ # @return [::Gapic::Config::Method]
832
832
  #
833
833
  attr_reader :approve_approval_request
834
834
  ##
835
835
  # RPC-specific configuration for `dismiss_approval_request`
836
- # @return [Gapic::Config::Method]
836
+ # @return [::Gapic::Config::Method]
837
837
  #
838
838
  attr_reader :dismiss_approval_request
839
839
  ##
840
840
  # RPC-specific configuration for `get_access_approval_settings`
841
- # @return [Gapic::Config::Method]
841
+ # @return [::Gapic::Config::Method]
842
842
  #
843
843
  attr_reader :get_access_approval_settings
844
844
  ##
845
845
  # RPC-specific configuration for `update_access_approval_settings`
846
- # @return [Gapic::Config::Method]
846
+ # @return [::Gapic::Config::Method]
847
847
  #
848
848
  attr_reader :update_access_approval_settings
849
849
  ##
850
850
  # RPC-specific configuration for `delete_access_approval_settings`
851
- # @return [Gapic::Config::Method]
851
+ # @return [::Gapic::Config::Method]
852
852
  #
853
853
  attr_reader :delete_access_approval_settings
854
854
 
855
855
  # @private
856
856
  def initialize parent_rpcs = nil
857
857
  list_approval_requests_config = parent_rpcs&.list_approval_requests if parent_rpcs&.respond_to? :list_approval_requests
858
- @list_approval_requests = Gapic::Config::Method.new list_approval_requests_config
858
+ @list_approval_requests = ::Gapic::Config::Method.new list_approval_requests_config
859
859
  get_approval_request_config = parent_rpcs&.get_approval_request if parent_rpcs&.respond_to? :get_approval_request
860
- @get_approval_request = Gapic::Config::Method.new get_approval_request_config
860
+ @get_approval_request = ::Gapic::Config::Method.new get_approval_request_config
861
861
  approve_approval_request_config = parent_rpcs&.approve_approval_request if parent_rpcs&.respond_to? :approve_approval_request
862
- @approve_approval_request = Gapic::Config::Method.new approve_approval_request_config
862
+ @approve_approval_request = ::Gapic::Config::Method.new approve_approval_request_config
863
863
  dismiss_approval_request_config = parent_rpcs&.dismiss_approval_request if parent_rpcs&.respond_to? :dismiss_approval_request
864
- @dismiss_approval_request = Gapic::Config::Method.new dismiss_approval_request_config
864
+ @dismiss_approval_request = ::Gapic::Config::Method.new dismiss_approval_request_config
865
865
  get_access_approval_settings_config = parent_rpcs&.get_access_approval_settings if parent_rpcs&.respond_to? :get_access_approval_settings
866
- @get_access_approval_settings = Gapic::Config::Method.new get_access_approval_settings_config
866
+ @get_access_approval_settings = ::Gapic::Config::Method.new get_access_approval_settings_config
867
867
  update_access_approval_settings_config = parent_rpcs&.update_access_approval_settings if parent_rpcs&.respond_to? :update_access_approval_settings
868
- @update_access_approval_settings = Gapic::Config::Method.new update_access_approval_settings_config
868
+ @update_access_approval_settings = ::Gapic::Config::Method.new update_access_approval_settings_config
869
869
  delete_access_approval_settings_config = parent_rpcs&.delete_access_approval_settings if parent_rpcs&.respond_to? :delete_access_approval_settings
870
- @delete_access_approval_settings = Gapic::Config::Method.new delete_access_approval_settings_config
870
+ @delete_access_approval_settings = ::Gapic::Config::Method.new delete_access_approval_settings_config
871
871
 
872
872
  yield self if block_given?
873
873
  end