google-cloud-asset-v1beta1 0.1.3 → 0.1.4

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: 6b6c5e3c33aa93bcfabe02d91a98026a4c50ca5f712d0e2580b1cfa54c5315bf
4
- data.tar.gz: b06cab8c6f2b3fdb756a68958df4f8227a749a109905cea5140f379634a0aa62
3
+ metadata.gz: aeb79cc043cbaf7f46caa3776dc80b006eb46b3c7a83f81b8547f40e13eeabd3
4
+ data.tar.gz: c1445bdaf0e7ec17ed2ded4591678b48615a8ca90fadd95cb10ef32bb07f8dab
5
5
  SHA512:
6
- metadata.gz: 527a9dd8289739bc6086e5de7bb57759f377fd8b89b7bddad75c98b333b9206b4810e24422305c9ca6a6623dc117666172b25c0c062ce5765eb66912164f70f6
7
- data.tar.gz: 27b33fe67870692b947e11075e13187757ce2db196e56916a2f06c5ce23cc2eccb32e3f485bed363c9c727101790c2027a13771ad26f37fea84546a09c7fcf7a
6
+ metadata.gz: 473e35092c77c6c98851d05c3ec64d22207b2c3fcddbb3aa046e868dc41cd644a136081e2a1f163b062f91e1bc8e565788918b717cad60ea0f4f785a4f621ed5
7
+ data.tar.gz: 88791bd9d54b30752ce4f95326f0ad874fcb4f622288c9c6d41f7b0f05b1806f657d3c06a3371edaf0f8de57b19ca323b26bc2fd533125e43a031292c86ebc9c
data/AUTHENTICATION.md CHANGED
@@ -27,7 +27,7 @@ export ASSET_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/asset/v1beta1"
29
29
 
30
- client = Google::Cloud::Asset::V1beta1::AssetService::Client.new
30
+ client = ::Google::Cloud::Asset::V1beta1::AssetService::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-asset-v1beta1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {Google::Cloud::Asset::V1beta1::AssetService::Credentials}):
67
+ {::Google::Cloud::Asset::V1beta1::AssetService::Credentials}):
68
68
 
69
69
  1. `ASSET_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  2. `ASSET_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/asset/v1beta1"
77
77
 
78
78
  ENV["ASSET_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = Google::Cloud::Asset::V1beta1::AssetService::Client.new
80
+ client = ::Google::Cloud::Asset::V1beta1::AssetService::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/asset/v1beta1"
90
90
 
91
- client = Google::Cloud::Asset::V1beta1::AssetService::Client.new do |config|
91
+ client = ::Google::Cloud::Asset::V1beta1::AssetService::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/asset/v1beta1"
100
100
 
101
- Google::Cloud::Asset::V1beta1::AssetService::Client.configure do |config|
101
+ ::Google::Cloud::Asset::V1beta1::AssetService::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = Google::Cloud::Asset::V1beta1::AssetService::Client.new
105
+ client = ::Google::Cloud::Asset::V1beta1::AssetService::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/asset/v1beta1"
27
27
 
28
- client = Google::Cloud::Asset::V1beta1::AssetService::Client.new
28
+ client = ::Google::Cloud::Asset::V1beta1::AssetService::Client.new
29
29
  request = my_create_request
30
30
  response = client.export_assets 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/asset/v1beta1"
29
- # client = Google::Cloud::Asset::V1beta1::AssetService::Client.new
29
+ # client = ::Google::Cloud::Asset::V1beta1::AssetService::Client.new
30
30
  #
31
31
  module V1beta1
32
32
  end
@@ -36,7 +36,7 @@ module Google
36
36
  # To load this service and instantiate a client:
37
37
  #
38
38
  # require "google/cloud/asset/v1beta1/asset_service"
39
- # client = Google::Cloud::Asset::V1beta1::AssetService::Client.new
39
+ # client = ::Google::Cloud::Asset::V1beta1::AssetService::Client.new
40
40
  #
41
41
  module AssetService
42
42
  end
@@ -36,15 +36,15 @@ module Google
36
36
  ##
37
37
  # Configure the AssetService Client class.
38
38
  #
39
- # See {Google::Cloud::Asset::V1beta1::AssetService::Client::Configuration}
39
+ # See {::Google::Cloud::Asset::V1beta1::AssetService::Client::Configuration}
40
40
  # for a description of the configuration fields.
41
41
  #
42
42
  # ## Example
43
43
  #
44
44
  # To modify the configuration for all AssetService clients:
45
45
  #
46
- # Google::Cloud::Asset::V1beta1::AssetService::Client.configure do |config|
47
- # config.timeout = 10_000
46
+ # ::Google::Cloud::Asset::V1beta1::AssetService::Client.configure do |config|
47
+ # config.timeout = 10.0
48
48
  # end
49
49
  #
50
50
  # @yield [config] Configure the Client client.
@@ -86,7 +86,7 @@ module Google
86
86
  # but structural changes (adding new fields, etc.) are not allowed. Structural changes
87
87
  # should be made on {Client.configure}.
88
88
  #
89
- # See {Google::Cloud::Asset::V1beta1::AssetService::Client::Configuration}
89
+ # See {::Google::Cloud::Asset::V1beta1::AssetService::Client::Configuration}
90
90
  # for a description of the configuration fields.
91
91
  #
92
92
  # @yield [config] Configure the Client client.
@@ -107,13 +107,13 @@ module Google
107
107
  # To create a new AssetService client with the default
108
108
  # configuration:
109
109
  #
110
- # client = Google::Cloud::Asset::V1beta1::AssetService::Client.new
110
+ # client = ::Google::Cloud::Asset::V1beta1::AssetService::Client.new
111
111
  #
112
112
  # To create a new AssetService client with a custom
113
113
  # configuration:
114
114
  #
115
- # client = Google::Cloud::Asset::V1beta1::AssetService::Client.new do |config|
116
- # config.timeout = 10_000
115
+ # client = ::Google::Cloud::Asset::V1beta1::AssetService::Client.new do |config|
116
+ # config.timeout = 10.0
117
117
  # end
118
118
  #
119
119
  # @yield [config] Configure the AssetService client.
@@ -145,8 +145,8 @@ module Google
145
145
  config.endpoint = @config.endpoint
146
146
  end
147
147
 
148
- @asset_service_stub = Gapic::ServiceStub.new(
149
- Google::Cloud::Asset::V1beta1::AssetService::Stub,
148
+ @asset_service_stub = ::Gapic::ServiceStub.new(
149
+ ::Google::Cloud::Asset::V1beta1::AssetService::Stub,
150
150
  credentials: credentials,
151
151
  endpoint: @config.endpoint,
152
152
  channel_args: @config.channel_args,
@@ -157,7 +157,7 @@ module Google
157
157
  ##
158
158
  # Get the associated client for long-running operations.
159
159
  #
160
- # @return [Google::Cloud::Asset::V1beta1::AssetService::Operations]
160
+ # @return [::Google::Cloud::Asset::V1beta1::AssetService::Operations]
161
161
  #
162
162
  attr_reader :operations_client
163
163
 
@@ -167,17 +167,17 @@ module Google
167
167
  # Exports assets with time and resource types to a given Cloud Storage
168
168
  # location. The output format is newline-delimited JSON.
169
169
  # This API implements the
170
- # {Google::Longrunning::Operation google.longrunning.Operation} API allowing
170
+ # {::Google::Longrunning::Operation google.longrunning.Operation} API allowing
171
171
  # you to keep track of the export.
172
172
  #
173
173
  # @overload export_assets(request, options = nil)
174
174
  # Pass arguments to `export_assets` via a request object, either of type
175
- # {Google::Cloud::Asset::V1beta1::ExportAssetsRequest} or an equivalent Hash.
175
+ # {::Google::Cloud::Asset::V1beta1::ExportAssetsRequest} or an equivalent Hash.
176
176
  #
177
- # @param request [Google::Cloud::Asset::V1beta1::ExportAssetsRequest, Hash]
177
+ # @param request [::Google::Cloud::Asset::V1beta1::ExportAssetsRequest, ::Hash]
178
178
  # A request object representing the call parameters. Required. To specify no
179
179
  # parameters, or to keep all the default parameter values, pass an empty Hash.
180
- # @param options [Gapic::CallOptions, Hash]
180
+ # @param options [::Gapic::CallOptions, ::Hash]
181
181
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
182
182
  #
183
183
  # @overload export_assets(parent: nil, read_time: nil, asset_types: nil, content_type: nil, output_config: nil)
@@ -185,51 +185,51 @@ module Google
185
185
  # least one keyword argument is required. To specify no parameters, or to keep all
186
186
  # the default parameter values, pass an empty Hash as a request object (see above).
187
187
  #
188
- # @param parent [String]
188
+ # @param parent [::String]
189
189
  # Required. The relative name of the root asset. This can only be an
190
190
  # organization number (such as "organizations/123"), a project ID (such as
191
191
  # "projects/my-project-id"), a project number (such as "projects/12345"), or
192
192
  # a folder number (such as "folders/123").
193
- # @param read_time [Google::Protobuf::Timestamp, Hash]
193
+ # @param read_time [::Google::Protobuf::Timestamp, ::Hash]
194
194
  # Timestamp to take an asset snapshot. This can only be set to a timestamp
195
195
  # between 2018-10-02 UTC (inclusive) and the current time. If not specified,
196
196
  # the current time will be used. Due to delays in resource data collection
197
197
  # and indexing, there is a volatile window during which running the same
198
198
  # query may get different results.
199
- # @param asset_types [Array<String>]
199
+ # @param asset_types [::Array<::String>]
200
200
  # A list of asset types of which to take a snapshot for. For example:
201
201
  # "google.compute.Disk". If specified, only matching assets will be returned.
202
202
  # See [Introduction to Cloud Asset
203
203
  # Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview)
204
204
  # for all supported asset types.
205
- # @param content_type [Google::Cloud::Asset::V1beta1::ContentType]
205
+ # @param content_type [::Google::Cloud::Asset::V1beta1::ContentType]
206
206
  # Asset content type. If not specified, no content but the asset name will be
207
207
  # returned.
208
- # @param output_config [Google::Cloud::Asset::V1beta1::OutputConfig, Hash]
208
+ # @param output_config [::Google::Cloud::Asset::V1beta1::OutputConfig, ::Hash]
209
209
  # Required. Output configuration indicating where the results will be output
210
210
  # to. All results will be in newline delimited JSON format.
211
211
  #
212
212
  # @yield [response, operation] Access the result along with the RPC operation
213
- # @yieldparam response [Gapic::Operation]
214
- # @yieldparam operation [GRPC::ActiveCall::Operation]
213
+ # @yieldparam response [::Gapic::Operation]
214
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
215
215
  #
216
- # @return [Gapic::Operation]
216
+ # @return [::Gapic::Operation]
217
217
  #
218
- # @raise [Google::Cloud::Error] if the RPC is aborted.
218
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
219
219
  #
220
220
  def export_assets request, options = nil
221
- raise ArgumentError, "request must be provided" if request.nil?
221
+ raise ::ArgumentError, "request must be provided" if request.nil?
222
222
 
223
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Asset::V1beta1::ExportAssetsRequest
223
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Asset::V1beta1::ExportAssetsRequest
224
224
 
225
225
  # Converts hash and nil to an options object
226
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
226
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
227
227
 
228
228
  # Customize the options with defaults
229
229
  metadata = @config.rpcs.export_assets.metadata.to_h
230
230
 
231
231
  # Set x-goog-api-client and x-goog-user-project headers
232
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
232
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
233
233
  lib_name: @config.lib_name, lib_version: @config.lib_version,
234
234
  gapic_version: ::Google::Cloud::Asset::V1beta1::VERSION
235
235
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -247,12 +247,12 @@ module Google
247
247
  retry_policy: @config.retry_policy
248
248
 
249
249
  @asset_service_stub.call_rpc :export_assets, request, options: options do |response, operation|
250
- response = Gapic::Operation.new response, @operations_client, options: options
250
+ response = ::Gapic::Operation.new response, @operations_client, options: options
251
251
  yield response, operation if block_given?
252
252
  return response
253
253
  end
254
- rescue GRPC::BadStatus => e
255
- raise Google::Cloud::Error.from_error(e)
254
+ rescue ::GRPC::BadStatus => e
255
+ raise ::Google::Cloud::Error.from_error(e)
256
256
  end
257
257
 
258
258
  ##
@@ -266,12 +266,12 @@ module Google
266
266
  #
267
267
  # @overload batch_get_assets_history(request, options = nil)
268
268
  # Pass arguments to `batch_get_assets_history` via a request object, either of type
269
- # {Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryRequest} or an equivalent Hash.
269
+ # {::Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryRequest} or an equivalent Hash.
270
270
  #
271
- # @param request [Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryRequest, Hash]
271
+ # @param request [::Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryRequest, ::Hash]
272
272
  # A request object representing the call parameters. Required. To specify no
273
273
  # parameters, or to keep all the default parameter values, pass an empty Hash.
274
- # @param options [Gapic::CallOptions, Hash]
274
+ # @param options [::Gapic::CallOptions, ::Hash]
275
275
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
276
276
  #
277
277
  # @overload batch_get_assets_history(parent: nil, asset_names: nil, content_type: nil, read_time_window: nil)
@@ -279,11 +279,11 @@ module Google
279
279
  # least one keyword argument is required. To specify no parameters, or to keep all
280
280
  # the default parameter values, pass an empty Hash as a request object (see above).
281
281
  #
282
- # @param parent [String]
282
+ # @param parent [::String]
283
283
  # Required. The relative name of the root asset. It can only be an
284
284
  # organization number (such as "organizations/123"), a project ID (such as
285
285
  # "projects/my-project-id")", or a project number (such as "projects/12345").
286
- # @param asset_names [Array<String>]
286
+ # @param asset_names [::Array<::String>]
287
287
  # A list of the full names of the assets. For example:
288
288
  # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
289
289
  # See [Resource
@@ -292,9 +292,9 @@ module Google
292
292
  #
293
293
  # The request becomes a no-op if the asset name list is empty, and the max
294
294
  # size of the asset name list is 100 in one request.
295
- # @param content_type [Google::Cloud::Asset::V1beta1::ContentType]
295
+ # @param content_type [::Google::Cloud::Asset::V1beta1::ContentType]
296
296
  # Optional. The content type.
297
- # @param read_time_window [Google::Cloud::Asset::V1beta1::TimeWindow, Hash]
297
+ # @param read_time_window [::Google::Cloud::Asset::V1beta1::TimeWindow, ::Hash]
298
298
  # Optional. The time window for the asset history. Both start_time and
299
299
  # end_time are optional and if set, it must be after 2018-10-02 UTC. If
300
300
  # end_time is not set, it is default to current timestamp. If start_time is
@@ -303,26 +303,26 @@ module Google
303
303
  # read_time_window.
304
304
  #
305
305
  # @yield [response, operation] Access the result along with the RPC operation
306
- # @yieldparam response [Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryResponse]
307
- # @yieldparam operation [GRPC::ActiveCall::Operation]
306
+ # @yieldparam response [::Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryResponse]
307
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
308
308
  #
309
- # @return [Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryResponse]
309
+ # @return [::Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryResponse]
310
310
  #
311
- # @raise [Google::Cloud::Error] if the RPC is aborted.
311
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
312
312
  #
313
313
  def batch_get_assets_history request, options = nil
314
- raise ArgumentError, "request must be provided" if request.nil?
314
+ raise ::ArgumentError, "request must be provided" if request.nil?
315
315
 
316
- request = Gapic::Protobuf.coerce request, to: Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryRequest
316
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Asset::V1beta1::BatchGetAssetsHistoryRequest
317
317
 
318
318
  # Converts hash and nil to an options object
319
- options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
319
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
320
320
 
321
321
  # Customize the options with defaults
322
322
  metadata = @config.rpcs.batch_get_assets_history.metadata.to_h
323
323
 
324
324
  # Set x-goog-api-client and x-goog-user-project headers
325
- metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
325
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
326
326
  lib_name: @config.lib_name, lib_version: @config.lib_version,
327
327
  gapic_version: ::Google::Cloud::Asset::V1beta1::VERSION
328
328
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
@@ -343,8 +343,8 @@ module Google
343
343
  yield response, operation if block_given?
344
344
  return response
345
345
  end
346
- rescue GRPC::BadStatus => e
347
- raise Google::Cloud::Error.from_error(e)
346
+ rescue ::GRPC::BadStatus => e
347
+ raise ::Google::Cloud::Error.from_error(e)
348
348
  end
349
349
 
350
350
  ##
@@ -354,7 +354,7 @@ module Google
354
354
  # providing control over timeouts, retry behavior, logging, transport
355
355
  # parameters, and other low-level controls. Certain parameters can also be
356
356
  # applied individually to specific RPCs. See
357
- # {Google::Cloud::Asset::V1beta1::AssetService::Client::Configuration::Rpcs}
357
+ # {::Google::Cloud::Asset::V1beta1::AssetService::Client::Configuration::Rpcs}
358
358
  # for a list of RPCs that can be configured independently.
359
359
  #
360
360
  # Configuration can be applied globally to all clients, or to a single client
@@ -365,22 +365,22 @@ module Google
365
365
  # To modify the global config, setting the timeout for export_assets
366
366
  # to 20 seconds, and all remaining timeouts to 10 seconds:
367
367
  #
368
- # Google::Cloud::Asset::V1beta1::AssetService::Client.configure do |config|
369
- # config.timeout = 10_000
370
- # config.rpcs.export_assets.timeout = 20_000
368
+ # ::Google::Cloud::Asset::V1beta1::AssetService::Client.configure do |config|
369
+ # config.timeout = 10.0
370
+ # config.rpcs.export_assets.timeout = 20.0
371
371
  # end
372
372
  #
373
373
  # To apply the above configuration only to a new client:
374
374
  #
375
- # client = Google::Cloud::Asset::V1beta1::AssetService::Client.new do |config|
376
- # config.timeout = 10_000
377
- # config.rpcs.export_assets.timeout = 20_000
375
+ # client = ::Google::Cloud::Asset::V1beta1::AssetService::Client.new do |config|
376
+ # config.timeout = 10.0
377
+ # config.rpcs.export_assets.timeout = 20.0
378
378
  # end
379
379
  #
380
380
  # @!attribute [rw] endpoint
381
381
  # The hostname or hostname:port of the service endpoint.
382
382
  # Defaults to `"cloudasset.googleapis.com"`.
383
- # @return [String]
383
+ # @return [::String]
384
384
  # @!attribute [rw] credentials
385
385
  # Credentials to send with calls. You may provide any of the following types:
386
386
  # * (`String`) The path to a service account key file in JSON format
@@ -392,29 +392,29 @@ module Google
392
392
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
393
393
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
394
394
  # * (`nil`) indicating no credentials
395
- # @return [Object]
395
+ # @return [::Object]
396
396
  # @!attribute [rw] scope
397
397
  # The OAuth scopes
398
- # @return [Array<String>]
398
+ # @return [::Array<::String>]
399
399
  # @!attribute [rw] lib_name
400
400
  # The library name as recorded in instrumentation and logging
401
- # @return [String]
401
+ # @return [::String]
402
402
  # @!attribute [rw] lib_version
403
403
  # The library version as recorded in instrumentation and logging
404
- # @return [String]
404
+ # @return [::String]
405
405
  # @!attribute [rw] channel_args
406
406
  # Extra parameters passed to the gRPC channel. Note: this is ignored if a
407
407
  # `GRPC::Core::Channel` object is provided as the credential.
408
- # @return [Hash]
408
+ # @return [::Hash]
409
409
  # @!attribute [rw] interceptors
410
410
  # An array of interceptors that are run before calls are executed.
411
- # @return [Array<GRPC::ClientInterceptor>]
411
+ # @return [::Array<::GRPC::ClientInterceptor>]
412
412
  # @!attribute [rw] timeout
413
- # The call timeout in milliseconds.
414
- # @return [Numeric]
413
+ # The call timeout in seconds.
414
+ # @return [::Numeric]
415
415
  # @!attribute [rw] metadata
416
416
  # Additional gRPC headers to be sent with the call.
417
- # @return [Hash{Symbol=>String}]
417
+ # @return [::Hash{::Symbol=>::String}]
418
418
  # @!attribute [rw] retry_policy
419
419
  # The retry policy. The value is a hash with the following keys:
420
420
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
@@ -422,10 +422,10 @@ module Google
422
422
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
423
423
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
424
424
  # trigger a retry.
425
- # @return [Hash]
425
+ # @return [::Hash]
426
426
  #
427
427
  class Configuration
428
- extend Gapic::Config
428
+ extend ::Gapic::Config
429
429
 
430
430
  config_attr :endpoint, "cloudasset.googleapis.com", String
431
431
  config_attr :credentials, nil do |value|
@@ -433,14 +433,14 @@ module Google
433
433
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
434
434
  allowed.any? { |klass| klass === value }
435
435
  end
436
- config_attr :scope, nil, String, Array, nil
437
- config_attr :lib_name, nil, String, nil
438
- config_attr :lib_version, nil, String, nil
439
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
440
- config_attr :interceptors, nil, Array, nil
441
- config_attr :timeout, nil, Numeric, nil
442
- config_attr :metadata, nil, Hash, nil
443
- config_attr :retry_policy, nil, Hash, Proc, nil
436
+ config_attr :scope, nil, ::String, ::Array, nil
437
+ config_attr :lib_name, nil, ::String, nil
438
+ config_attr :lib_version, nil, ::String, nil
439
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
440
+ config_attr :interceptors, nil, ::Array, nil
441
+ config_attr :timeout, nil, ::Numeric, nil
442
+ config_attr :metadata, nil, ::Hash, nil
443
+ config_attr :retry_policy, nil, ::Hash, Proc, nil
444
444
 
445
445
  # @private
446
446
  def initialize parent_config = nil
@@ -481,21 +481,21 @@ module Google
481
481
  class Rpcs
482
482
  ##
483
483
  # RPC-specific configuration for `export_assets`
484
- # @return [Gapic::Config::Method]
484
+ # @return [::Gapic::Config::Method]
485
485
  #
486
486
  attr_reader :export_assets
487
487
  ##
488
488
  # RPC-specific configuration for `batch_get_assets_history`
489
- # @return [Gapic::Config::Method]
489
+ # @return [::Gapic::Config::Method]
490
490
  #
491
491
  attr_reader :batch_get_assets_history
492
492
 
493
493
  # @private
494
494
  def initialize parent_rpcs = nil
495
495
  export_assets_config = parent_rpcs&.export_assets if parent_rpcs&.respond_to? :export_assets
496
- @export_assets = Gapic::Config::Method.new export_assets_config
496
+ @export_assets = ::Gapic::Config::Method.new export_assets_config
497
497
  batch_get_assets_history_config = parent_rpcs&.batch_get_assets_history if parent_rpcs&.respond_to? :batch_get_assets_history
498
- @batch_get_assets_history = Gapic::Config::Method.new batch_get_assets_history_config
498
+ @batch_get_assets_history = ::Gapic::Config::Method.new batch_get_assets_history_config
499
499
 
500
500
  yield self if block_given?
501
501
  end