google-cloud-data_catalog-v1 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/data_catalog/v1.rb +1 -1
- data/lib/google/cloud/data_catalog/v1/data_catalog.rb +1 -1
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +514 -514
- data/lib/google/cloud/data_catalog/v1/data_catalog/credentials.rb +1 -1
- data/lib/google/cloud/data_catalog/v1/data_catalog/paths.rb +21 -21
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +183 -183
- data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +9 -9
- data/proto_docs/google/cloud/datacatalog/v1/schema.rb +10 -10
- data/proto_docs/google/cloud/datacatalog/v1/search.rb +11 -11
- data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +16 -16
- data/proto_docs/google/cloud/datacatalog/v1/tags.rb +51 -51
- data/proto_docs/google/cloud/datacatalog/v1/timestamps.rb +5 -5
- data/proto_docs/google/iam/v1/iam_policy.rb +15 -15
- data/proto_docs/google/iam/v1/options.rb +3 -3
- data/proto_docs/google/iam/v1/policy.rb +26 -26
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/type/expr.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d17429039c09e6af392a0751ec283fadd195c79594f07d2b8a4c090ccacbfcc
|
4
|
+
data.tar.gz: afbdb97c668616f5a70b034325c59495d19eeb160ca2d11bf17e33e484eb1bcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 880980519a01793413a540a76df66c438a80cb17a1b872601db61dbe76a3d01ab893ff4419988d72d27881ef4d9c9096108e3e61eda6e249b00f3004df0eb478
|
7
|
+
data.tar.gz: e28511e0aab4b5aa752377e97791a14a4ca35dd3345e473ac6d861aa34182be9ffb6e578c349b0da21a472cc1b91a83cba4ebed1ac5aab1003fc453494e8363f
|
data/AUTHENTICATION.md
CHANGED
@@ -27,7 +27,7 @@ export DATA_CATALOG_CREDENTIALS=path/to/keyfile.json
|
|
27
27
|
```ruby
|
28
28
|
require "google/cloud/data_catalog/v1"
|
29
29
|
|
30
|
-
client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
30
|
+
client = ::Google::Cloud::DataCatalog::V1::DataCatalog::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-data_catalog-v1
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
|
-
{Google::Cloud::DataCatalog::V1::DataCatalog::Credentials}):
|
67
|
+
{::Google::Cloud::DataCatalog::V1::DataCatalog::Credentials}):
|
68
68
|
|
69
69
|
1. `DATA_CATALOG_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
70
|
2. `DATA_CATALOG_KEYFILE` - Path to JSON file, or JSON contents
|
@@ -77,7 +77,7 @@ require "google/cloud/data_catalog/v1"
|
|
77
77
|
|
78
78
|
ENV["DATA_CATALOG_CREDENTIALS"] = "path/to/keyfile.json"
|
79
79
|
|
80
|
-
client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
80
|
+
client = ::Google::Cloud::DataCatalog::V1::DataCatalog::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/data_catalog/v1"
|
90
90
|
|
91
|
-
client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new do |config|
|
91
|
+
client = ::Google::Cloud::DataCatalog::V1::DataCatalog::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/data_catalog/v1"
|
100
100
|
|
101
|
-
Google::Cloud::DataCatalog::V1::DataCatalog::Client.configure do |config|
|
101
|
+
::Google::Cloud::DataCatalog::V1::DataCatalog::Client.configure do |config|
|
102
102
|
config.credentials = "path/to/keyfile.json"
|
103
103
|
end
|
104
104
|
|
105
|
-
client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
105
|
+
client = ::Google::Cloud::DataCatalog::V1::DataCatalog::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/data_catalog/v1"
|
27
27
|
|
28
|
-
client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
28
|
+
client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
29
29
|
request = my_create_request
|
30
30
|
response = client.search_catalog 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/data_catalog/v1"
|
29
|
-
# client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
29
|
+
# client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
30
30
|
#
|
31
31
|
module V1
|
32
32
|
end
|
@@ -37,7 +37,7 @@ module Google
|
|
37
37
|
# To load this service and instantiate a client:
|
38
38
|
#
|
39
39
|
# require "google/cloud/data_catalog/v1/data_catalog"
|
40
|
-
# client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
40
|
+
# client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
41
41
|
#
|
42
42
|
module DataCatalog
|
43
43
|
end
|
@@ -39,15 +39,15 @@ module Google
|
|
39
39
|
##
|
40
40
|
# Configure the DataCatalog Client class.
|
41
41
|
#
|
42
|
-
# See {Google::Cloud::DataCatalog::V1::DataCatalog::Client::Configuration}
|
42
|
+
# See {::Google::Cloud::DataCatalog::V1::DataCatalog::Client::Configuration}
|
43
43
|
# for a description of the configuration fields.
|
44
44
|
#
|
45
45
|
# ## Example
|
46
46
|
#
|
47
47
|
# To modify the configuration for all DataCatalog clients:
|
48
48
|
#
|
49
|
-
# Google::Cloud::DataCatalog::V1::DataCatalog::Client.configure do |config|
|
50
|
-
# config.timeout =
|
49
|
+
# ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.configure do |config|
|
50
|
+
# config.timeout = 10.0
|
51
51
|
# end
|
52
52
|
#
|
53
53
|
# @yield [config] Configure the Client client.
|
@@ -145,7 +145,7 @@ module Google
|
|
145
145
|
# but structural changes (adding new fields, etc.) are not allowed. Structural changes
|
146
146
|
# should be made on {Client.configure}.
|
147
147
|
#
|
148
|
-
# See {Google::Cloud::DataCatalog::V1::DataCatalog::Client::Configuration}
|
148
|
+
# See {::Google::Cloud::DataCatalog::V1::DataCatalog::Client::Configuration}
|
149
149
|
# for a description of the configuration fields.
|
150
150
|
#
|
151
151
|
# @yield [config] Configure the Client client.
|
@@ -166,13 +166,13 @@ module Google
|
|
166
166
|
# To create a new DataCatalog client with the default
|
167
167
|
# configuration:
|
168
168
|
#
|
169
|
-
# client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
169
|
+
# client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
|
170
170
|
#
|
171
171
|
# To create a new DataCatalog client with a custom
|
172
172
|
# configuration:
|
173
173
|
#
|
174
|
-
# client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new do |config|
|
175
|
-
# config.timeout =
|
174
|
+
# client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.new do |config|
|
175
|
+
# config.timeout = 10.0
|
176
176
|
# end
|
177
177
|
#
|
178
178
|
# @yield [config] Configure the DataCatalog client.
|
@@ -199,8 +199,8 @@ module Google
|
|
199
199
|
end
|
200
200
|
@quota_project_id = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
|
201
201
|
|
202
|
-
@data_catalog_stub = Gapic::ServiceStub.new(
|
203
|
-
Google::Cloud::DataCatalog::V1::DataCatalog::Stub,
|
202
|
+
@data_catalog_stub = ::Gapic::ServiceStub.new(
|
203
|
+
::Google::Cloud::DataCatalog::V1::DataCatalog::Stub,
|
204
204
|
credentials: credentials,
|
205
205
|
endpoint: @config.endpoint,
|
206
206
|
channel_args: @config.channel_args,
|
@@ -230,12 +230,12 @@ module Google
|
|
230
230
|
#
|
231
231
|
# @overload search_catalog(request, options = nil)
|
232
232
|
# Pass arguments to `search_catalog` via a request object, either of type
|
233
|
-
# {Google::Cloud::DataCatalog::V1::SearchCatalogRequest} or an equivalent Hash.
|
233
|
+
# {::Google::Cloud::DataCatalog::V1::SearchCatalogRequest} or an equivalent Hash.
|
234
234
|
#
|
235
|
-
# @param request [Google::Cloud::DataCatalog::V1::SearchCatalogRequest, Hash]
|
235
|
+
# @param request [::Google::Cloud::DataCatalog::V1::SearchCatalogRequest, ::Hash]
|
236
236
|
# A request object representing the call parameters. Required. To specify no
|
237
237
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
238
|
-
# @param options [Gapic::CallOptions, Hash]
|
238
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
239
239
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
240
240
|
#
|
241
241
|
# @overload search_catalog(scope: nil, query: nil, page_size: nil, page_token: nil, order_by: nil)
|
@@ -243,12 +243,12 @@ module Google
|
|
243
243
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
244
244
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
245
245
|
#
|
246
|
-
# @param scope [Google::Cloud::DataCatalog::V1::SearchCatalogRequest::Scope, Hash]
|
246
|
+
# @param scope [::Google::Cloud::DataCatalog::V1::SearchCatalogRequest::Scope, ::Hash]
|
247
247
|
# Required. The scope of this search request. A `scope` that has empty
|
248
248
|
# `include_org_ids`, `include_project_ids` AND false
|
249
249
|
# `include_gcp_public_datasets` is considered invalid. Data Catalog will
|
250
250
|
# return an error in such a case.
|
251
|
-
# @param query [String]
|
251
|
+
# @param query [::String]
|
252
252
|
# Required. The query string in search query syntax. The query must be non-empty.
|
253
253
|
#
|
254
254
|
# Query strings can be simple as "x" or more qualified as:
|
@@ -261,17 +261,17 @@ module Google
|
|
261
261
|
# matching to work correctly. See [Data Catalog Search
|
262
262
|
# Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
|
263
263
|
# for more information.
|
264
|
-
# @param page_size [Integer]
|
264
|
+
# @param page_size [::Integer]
|
265
265
|
# Number of results in the search page. If <=0 then defaults to 10. Max limit
|
266
266
|
# for page_size is 1000. Throws an invalid argument for page_size > 1000.
|
267
|
-
# @param page_token [String]
|
267
|
+
# @param page_token [::String]
|
268
268
|
# Optional. Pagination token returned in an earlier
|
269
|
-
# {Google::Cloud::DataCatalog::V1::SearchCatalogResponse#next_page_token SearchCatalogResponse.next_page_token}, which
|
269
|
+
# {::Google::Cloud::DataCatalog::V1::SearchCatalogResponse#next_page_token SearchCatalogResponse.next_page_token}, which
|
270
270
|
# indicates that this is a continuation of a prior
|
271
|
-
# {Google::Cloud::DataCatalog::V1::DataCatalog::Client#search_catalog SearchCatalogRequest}
|
271
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#search_catalog SearchCatalogRequest}
|
272
272
|
# call, and that the system should return the next page of data. If empty,
|
273
273
|
# the first page is returned.
|
274
|
-
# @param order_by [String]
|
274
|
+
# @param order_by [::String]
|
275
275
|
# Specifies the ordering of results, currently supported case-sensitive
|
276
276
|
# choices are:
|
277
277
|
#
|
@@ -282,26 +282,26 @@ module Google
|
|
282
282
|
# If not specified, defaults to `relevance` descending.
|
283
283
|
#
|
284
284
|
# @yield [response, operation] Access the result along with the RPC operation
|
285
|
-
# @yieldparam response [Gapic::PagedEnumerable
|
286
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
285
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::SearchCatalogResult>]
|
286
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
287
287
|
#
|
288
|
-
# @return [Gapic::PagedEnumerable
|
288
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::SearchCatalogResult>]
|
289
289
|
#
|
290
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
290
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
291
291
|
#
|
292
292
|
def search_catalog request, options = nil
|
293
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
293
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
294
294
|
|
295
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::SearchCatalogRequest
|
295
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::SearchCatalogRequest
|
296
296
|
|
297
297
|
# Converts hash and nil to an options object
|
298
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
298
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
299
299
|
|
300
300
|
# Customize the options with defaults
|
301
301
|
metadata = @config.rpcs.search_catalog.metadata.to_h
|
302
302
|
|
303
303
|
# Set x-goog-api-client and x-goog-user-project headers
|
304
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
304
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
305
305
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
306
306
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
307
307
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -313,12 +313,12 @@ module Google
|
|
313
313
|
retry_policy: @config.retry_policy
|
314
314
|
|
315
315
|
@data_catalog_stub.call_rpc :search_catalog, request, options: options do |response, operation|
|
316
|
-
response = Gapic::PagedEnumerable.new @data_catalog_stub, :search_catalog, request, response, operation, options
|
316
|
+
response = ::Gapic::PagedEnumerable.new @data_catalog_stub, :search_catalog, request, response, operation, options
|
317
317
|
yield response, operation if block_given?
|
318
318
|
return response
|
319
319
|
end
|
320
|
-
rescue GRPC::BadStatus => e
|
321
|
-
raise Google::Cloud::Error.from_error(e)
|
320
|
+
rescue ::GRPC::BadStatus => e
|
321
|
+
raise ::Google::Cloud::Error.from_error(e)
|
322
322
|
end
|
323
323
|
|
324
324
|
##
|
@@ -344,12 +344,12 @@ module Google
|
|
344
344
|
#
|
345
345
|
# @overload create_entry_group(request, options = nil)
|
346
346
|
# Pass arguments to `create_entry_group` via a request object, either of type
|
347
|
-
# {Google::Cloud::DataCatalog::V1::CreateEntryGroupRequest} or an equivalent Hash.
|
347
|
+
# {::Google::Cloud::DataCatalog::V1::CreateEntryGroupRequest} or an equivalent Hash.
|
348
348
|
#
|
349
|
-
# @param request [Google::Cloud::DataCatalog::V1::CreateEntryGroupRequest, Hash]
|
349
|
+
# @param request [::Google::Cloud::DataCatalog::V1::CreateEntryGroupRequest, ::Hash]
|
350
350
|
# A request object representing the call parameters. Required. To specify no
|
351
351
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
352
|
-
# @param options [Gapic::CallOptions, Hash]
|
352
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
353
353
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
354
354
|
#
|
355
355
|
# @overload create_entry_group(parent: nil, entry_group_id: nil, entry_group: nil)
|
@@ -357,41 +357,41 @@ module Google
|
|
357
357
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
358
358
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
359
359
|
#
|
360
|
-
# @param parent [String]
|
360
|
+
# @param parent [::String]
|
361
361
|
# Required. The name of the project this entry group is in. Example:
|
362
362
|
#
|
363
363
|
# * projects/\\{project_id}/locations/\\{location}
|
364
364
|
#
|
365
365
|
# Note that this EntryGroup and its child resources may not actually be
|
366
366
|
# stored in the location in this name.
|
367
|
-
# @param entry_group_id [String]
|
367
|
+
# @param entry_group_id [::String]
|
368
368
|
# Required. The id of the entry group to create.
|
369
369
|
# The id must begin with a letter or underscore, contain only English
|
370
370
|
# letters, numbers and underscores, and be at most 64 characters.
|
371
|
-
# @param entry_group [Google::Cloud::DataCatalog::V1::EntryGroup, Hash]
|
371
|
+
# @param entry_group [::Google::Cloud::DataCatalog::V1::EntryGroup, ::Hash]
|
372
372
|
# The entry group to create. Defaults to an empty entry group.
|
373
373
|
#
|
374
374
|
# @yield [response, operation] Access the result along with the RPC operation
|
375
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::EntryGroup]
|
376
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
375
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::EntryGroup]
|
376
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
377
377
|
#
|
378
|
-
# @return [Google::Cloud::DataCatalog::V1::EntryGroup]
|
378
|
+
# @return [::Google::Cloud::DataCatalog::V1::EntryGroup]
|
379
379
|
#
|
380
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
380
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
381
381
|
#
|
382
382
|
def create_entry_group request, options = nil
|
383
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
383
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
384
384
|
|
385
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::CreateEntryGroupRequest
|
385
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::CreateEntryGroupRequest
|
386
386
|
|
387
387
|
# Converts hash and nil to an options object
|
388
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
388
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
389
389
|
|
390
390
|
# Customize the options with defaults
|
391
391
|
metadata = @config.rpcs.create_entry_group.metadata.to_h
|
392
392
|
|
393
393
|
# Set x-goog-api-client and x-goog-user-project headers
|
394
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
394
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
395
395
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
396
396
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
397
397
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -412,8 +412,8 @@ module Google
|
|
412
412
|
yield response, operation if block_given?
|
413
413
|
return response
|
414
414
|
end
|
415
|
-
rescue GRPC::BadStatus => e
|
416
|
-
raise Google::Cloud::Error.from_error(e)
|
415
|
+
rescue ::GRPC::BadStatus => e
|
416
|
+
raise ::Google::Cloud::Error.from_error(e)
|
417
417
|
end
|
418
418
|
|
419
419
|
##
|
@@ -421,12 +421,12 @@ module Google
|
|
421
421
|
#
|
422
422
|
# @overload get_entry_group(request, options = nil)
|
423
423
|
# Pass arguments to `get_entry_group` via a request object, either of type
|
424
|
-
# {Google::Cloud::DataCatalog::V1::GetEntryGroupRequest} or an equivalent Hash.
|
424
|
+
# {::Google::Cloud::DataCatalog::V1::GetEntryGroupRequest} or an equivalent Hash.
|
425
425
|
#
|
426
|
-
# @param request [Google::Cloud::DataCatalog::V1::GetEntryGroupRequest, Hash]
|
426
|
+
# @param request [::Google::Cloud::DataCatalog::V1::GetEntryGroupRequest, ::Hash]
|
427
427
|
# A request object representing the call parameters. Required. To specify no
|
428
428
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
429
|
-
# @param options [Gapic::CallOptions, Hash]
|
429
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
430
430
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
431
431
|
#
|
432
432
|
# @overload get_entry_group(name: nil, read_mask: nil)
|
@@ -434,33 +434,33 @@ module Google
|
|
434
434
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
435
435
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
436
436
|
#
|
437
|
-
# @param name [String]
|
437
|
+
# @param name [::String]
|
438
438
|
# Required. The name of the entry group. For example,
|
439
439
|
# `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
|
440
|
-
# @param read_mask [Google::Protobuf::FieldMask, Hash]
|
440
|
+
# @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
|
441
441
|
# The fields to return. If not set or empty, all fields are returned.
|
442
442
|
#
|
443
443
|
# @yield [response, operation] Access the result along with the RPC operation
|
444
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::EntryGroup]
|
445
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
444
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::EntryGroup]
|
445
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
446
446
|
#
|
447
|
-
# @return [Google::Cloud::DataCatalog::V1::EntryGroup]
|
447
|
+
# @return [::Google::Cloud::DataCatalog::V1::EntryGroup]
|
448
448
|
#
|
449
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
449
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
450
450
|
#
|
451
451
|
def get_entry_group request, options = nil
|
452
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
452
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
453
453
|
|
454
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::GetEntryGroupRequest
|
454
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::GetEntryGroupRequest
|
455
455
|
|
456
456
|
# Converts hash and nil to an options object
|
457
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
457
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
458
458
|
|
459
459
|
# Customize the options with defaults
|
460
460
|
metadata = @config.rpcs.get_entry_group.metadata.to_h
|
461
461
|
|
462
462
|
# Set x-goog-api-client and x-goog-user-project headers
|
463
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
463
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
464
464
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
465
465
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
466
466
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -481,8 +481,8 @@ module Google
|
|
481
481
|
yield response, operation if block_given?
|
482
482
|
return response
|
483
483
|
end
|
484
|
-
rescue GRPC::BadStatus => e
|
485
|
-
raise Google::Cloud::Error.from_error(e)
|
484
|
+
rescue ::GRPC::BadStatus => e
|
485
|
+
raise ::Google::Cloud::Error.from_error(e)
|
486
486
|
end
|
487
487
|
|
488
488
|
##
|
@@ -494,12 +494,12 @@ module Google
|
|
494
494
|
#
|
495
495
|
# @overload update_entry_group(request, options = nil)
|
496
496
|
# Pass arguments to `update_entry_group` via a request object, either of type
|
497
|
-
# {Google::Cloud::DataCatalog::V1::UpdateEntryGroupRequest} or an equivalent Hash.
|
497
|
+
# {::Google::Cloud::DataCatalog::V1::UpdateEntryGroupRequest} or an equivalent Hash.
|
498
498
|
#
|
499
|
-
# @param request [Google::Cloud::DataCatalog::V1::UpdateEntryGroupRequest, Hash]
|
499
|
+
# @param request [::Google::Cloud::DataCatalog::V1::UpdateEntryGroupRequest, ::Hash]
|
500
500
|
# A request object representing the call parameters. Required. To specify no
|
501
501
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
502
|
-
# @param options [Gapic::CallOptions, Hash]
|
502
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
503
503
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
504
504
|
#
|
505
505
|
# @overload update_entry_group(entry_group: nil, update_mask: nil)
|
@@ -507,33 +507,33 @@ module Google
|
|
507
507
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
508
508
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
509
509
|
#
|
510
|
-
# @param entry_group [Google::Cloud::DataCatalog::V1::EntryGroup, Hash]
|
510
|
+
# @param entry_group [::Google::Cloud::DataCatalog::V1::EntryGroup, ::Hash]
|
511
511
|
# Required. The updated entry group. "name" field must be set.
|
512
|
-
# @param update_mask [Google::Protobuf::FieldMask, Hash]
|
512
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
513
513
|
# The fields to update on the entry group. If absent or empty, all modifiable
|
514
514
|
# fields are updated.
|
515
515
|
#
|
516
516
|
# @yield [response, operation] Access the result along with the RPC operation
|
517
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::EntryGroup]
|
518
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
517
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::EntryGroup]
|
518
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
519
519
|
#
|
520
|
-
# @return [Google::Cloud::DataCatalog::V1::EntryGroup]
|
520
|
+
# @return [::Google::Cloud::DataCatalog::V1::EntryGroup]
|
521
521
|
#
|
522
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
522
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
523
523
|
#
|
524
524
|
def update_entry_group request, options = nil
|
525
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
525
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
526
526
|
|
527
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::UpdateEntryGroupRequest
|
527
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::UpdateEntryGroupRequest
|
528
528
|
|
529
529
|
# Converts hash and nil to an options object
|
530
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
530
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
531
531
|
|
532
532
|
# Customize the options with defaults
|
533
533
|
metadata = @config.rpcs.update_entry_group.metadata.to_h
|
534
534
|
|
535
535
|
# Set x-goog-api-client and x-goog-user-project headers
|
536
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
536
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
537
537
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
538
538
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
539
539
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -554,8 +554,8 @@ module Google
|
|
554
554
|
yield response, operation if block_given?
|
555
555
|
return response
|
556
556
|
end
|
557
|
-
rescue GRPC::BadStatus => e
|
558
|
-
raise Google::Cloud::Error.from_error(e)
|
557
|
+
rescue ::GRPC::BadStatus => e
|
558
|
+
raise ::Google::Cloud::Error.from_error(e)
|
559
559
|
end
|
560
560
|
|
561
561
|
##
|
@@ -567,12 +567,12 @@ module Google
|
|
567
567
|
#
|
568
568
|
# @overload delete_entry_group(request, options = nil)
|
569
569
|
# Pass arguments to `delete_entry_group` via a request object, either of type
|
570
|
-
# {Google::Cloud::DataCatalog::V1::DeleteEntryGroupRequest} or an equivalent Hash.
|
570
|
+
# {::Google::Cloud::DataCatalog::V1::DeleteEntryGroupRequest} or an equivalent Hash.
|
571
571
|
#
|
572
|
-
# @param request [Google::Cloud::DataCatalog::V1::DeleteEntryGroupRequest, Hash]
|
572
|
+
# @param request [::Google::Cloud::DataCatalog::V1::DeleteEntryGroupRequest, ::Hash]
|
573
573
|
# A request object representing the call parameters. Required. To specify no
|
574
574
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
575
|
-
# @param options [Gapic::CallOptions, Hash]
|
575
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
576
576
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
577
577
|
#
|
578
578
|
# @overload delete_entry_group(name: nil, force: nil)
|
@@ -580,33 +580,33 @@ module Google
|
|
580
580
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
581
581
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
582
582
|
#
|
583
|
-
# @param name [String]
|
583
|
+
# @param name [::String]
|
584
584
|
# Required. The name of the entry group. For example,
|
585
585
|
# `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.
|
586
|
-
# @param force [Boolean]
|
586
|
+
# @param force [::Boolean]
|
587
587
|
# Optional. If true, deletes all entries in the entry group.
|
588
588
|
#
|
589
589
|
# @yield [response, operation] Access the result along with the RPC operation
|
590
|
-
# @yieldparam response [Google::Protobuf::Empty]
|
591
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
590
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
591
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
592
592
|
#
|
593
|
-
# @return [Google::Protobuf::Empty]
|
593
|
+
# @return [::Google::Protobuf::Empty]
|
594
594
|
#
|
595
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
595
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
596
596
|
#
|
597
597
|
def delete_entry_group request, options = nil
|
598
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
598
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
599
599
|
|
600
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::DeleteEntryGroupRequest
|
600
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::DeleteEntryGroupRequest
|
601
601
|
|
602
602
|
# Converts hash and nil to an options object
|
603
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
603
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
604
604
|
|
605
605
|
# Customize the options with defaults
|
606
606
|
metadata = @config.rpcs.delete_entry_group.metadata.to_h
|
607
607
|
|
608
608
|
# Set x-goog-api-client and x-goog-user-project headers
|
609
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
609
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
610
610
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
611
611
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
612
612
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -627,8 +627,8 @@ module Google
|
|
627
627
|
yield response, operation if block_given?
|
628
628
|
return response
|
629
629
|
end
|
630
|
-
rescue GRPC::BadStatus => e
|
631
|
-
raise Google::Cloud::Error.from_error(e)
|
630
|
+
rescue ::GRPC::BadStatus => e
|
631
|
+
raise ::Google::Cloud::Error.from_error(e)
|
632
632
|
end
|
633
633
|
|
634
634
|
##
|
@@ -636,12 +636,12 @@ module Google
|
|
636
636
|
#
|
637
637
|
# @overload list_entry_groups(request, options = nil)
|
638
638
|
# Pass arguments to `list_entry_groups` via a request object, either of type
|
639
|
-
# {Google::Cloud::DataCatalog::V1::ListEntryGroupsRequest} or an equivalent Hash.
|
639
|
+
# {::Google::Cloud::DataCatalog::V1::ListEntryGroupsRequest} or an equivalent Hash.
|
640
640
|
#
|
641
|
-
# @param request [Google::Cloud::DataCatalog::V1::ListEntryGroupsRequest, Hash]
|
641
|
+
# @param request [::Google::Cloud::DataCatalog::V1::ListEntryGroupsRequest, ::Hash]
|
642
642
|
# A request object representing the call parameters. Required. To specify no
|
643
643
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
644
|
-
# @param options [Gapic::CallOptions, Hash]
|
644
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
645
645
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
646
646
|
#
|
647
647
|
# @overload list_entry_groups(parent: nil, page_size: nil, page_token: nil)
|
@@ -649,39 +649,39 @@ module Google
|
|
649
649
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
650
650
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
651
651
|
#
|
652
|
-
# @param parent [String]
|
652
|
+
# @param parent [::String]
|
653
653
|
# Required. The name of the location that contains the entry groups, which can be
|
654
654
|
# provided in URL format. Example:
|
655
655
|
#
|
656
656
|
# * projects/\\{project_id}/locations/\\{location}
|
657
|
-
# @param page_size [Integer]
|
657
|
+
# @param page_size [::Integer]
|
658
658
|
# Optional. The maximum number of items to return. Default is 10. Max limit is 1000.
|
659
659
|
# Throws an invalid argument for `page_size > 1000`.
|
660
|
-
# @param page_token [String]
|
660
|
+
# @param page_token [::String]
|
661
661
|
# Optional. Token that specifies which page is requested. If empty, the first page is
|
662
662
|
# returned.
|
663
663
|
#
|
664
664
|
# @yield [response, operation] Access the result along with the RPC operation
|
665
|
-
# @yieldparam response [Gapic::PagedEnumerable
|
666
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
665
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::EntryGroup>]
|
666
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
667
667
|
#
|
668
|
-
# @return [Gapic::PagedEnumerable
|
668
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::EntryGroup>]
|
669
669
|
#
|
670
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
670
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
671
671
|
#
|
672
672
|
def list_entry_groups request, options = nil
|
673
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
673
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
674
674
|
|
675
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::ListEntryGroupsRequest
|
675
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::ListEntryGroupsRequest
|
676
676
|
|
677
677
|
# Converts hash and nil to an options object
|
678
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
678
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
679
679
|
|
680
680
|
# Customize the options with defaults
|
681
681
|
metadata = @config.rpcs.list_entry_groups.metadata.to_h
|
682
682
|
|
683
683
|
# Set x-goog-api-client and x-goog-user-project headers
|
684
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
684
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
685
685
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
686
686
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
687
687
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -699,12 +699,12 @@ module Google
|
|
699
699
|
retry_policy: @config.retry_policy
|
700
700
|
|
701
701
|
@data_catalog_stub.call_rpc :list_entry_groups, request, options: options do |response, operation|
|
702
|
-
response = Gapic::PagedEnumerable.new @data_catalog_stub, :list_entry_groups, request, response, operation, options
|
702
|
+
response = ::Gapic::PagedEnumerable.new @data_catalog_stub, :list_entry_groups, request, response, operation, options
|
703
703
|
yield response, operation if block_given?
|
704
704
|
return response
|
705
705
|
end
|
706
|
-
rescue GRPC::BadStatus => e
|
707
|
-
raise Google::Cloud::Error.from_error(e)
|
706
|
+
rescue ::GRPC::BadStatus => e
|
707
|
+
raise ::Google::Cloud::Error.from_error(e)
|
708
708
|
end
|
709
709
|
|
710
710
|
##
|
@@ -720,12 +720,12 @@ module Google
|
|
720
720
|
#
|
721
721
|
# @overload create_entry(request, options = nil)
|
722
722
|
# Pass arguments to `create_entry` via a request object, either of type
|
723
|
-
# {Google::Cloud::DataCatalog::V1::CreateEntryRequest} or an equivalent Hash.
|
723
|
+
# {::Google::Cloud::DataCatalog::V1::CreateEntryRequest} or an equivalent Hash.
|
724
724
|
#
|
725
|
-
# @param request [Google::Cloud::DataCatalog::V1::CreateEntryRequest, Hash]
|
725
|
+
# @param request [::Google::Cloud::DataCatalog::V1::CreateEntryRequest, ::Hash]
|
726
726
|
# A request object representing the call parameters. Required. To specify no
|
727
727
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
728
|
-
# @param options [Gapic::CallOptions, Hash]
|
728
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
729
729
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
730
730
|
#
|
731
731
|
# @overload create_entry(parent: nil, entry_id: nil, entry: nil)
|
@@ -733,39 +733,39 @@ module Google
|
|
733
733
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
734
734
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
735
735
|
#
|
736
|
-
# @param parent [String]
|
736
|
+
# @param parent [::String]
|
737
737
|
# Required. The name of the entry group this entry is in. Example:
|
738
738
|
#
|
739
739
|
# * projects/\\{project_id}/locations/\\{location}/entryGroups/\\{entry_group_id}
|
740
740
|
#
|
741
741
|
# Note that this Entry and its child resources may not actually be stored in
|
742
742
|
# the location in this name.
|
743
|
-
# @param entry_id [String]
|
743
|
+
# @param entry_id [::String]
|
744
744
|
# Required. The id of the entry to create.
|
745
|
-
# @param entry [Google::Cloud::DataCatalog::V1::Entry, Hash]
|
745
|
+
# @param entry [::Google::Cloud::DataCatalog::V1::Entry, ::Hash]
|
746
746
|
# Required. The entry to create.
|
747
747
|
#
|
748
748
|
# @yield [response, operation] Access the result along with the RPC operation
|
749
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::Entry]
|
750
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
749
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::Entry]
|
750
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
751
751
|
#
|
752
|
-
# @return [Google::Cloud::DataCatalog::V1::Entry]
|
752
|
+
# @return [::Google::Cloud::DataCatalog::V1::Entry]
|
753
753
|
#
|
754
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
754
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
755
755
|
#
|
756
756
|
def create_entry request, options = nil
|
757
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
757
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
758
758
|
|
759
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::CreateEntryRequest
|
759
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::CreateEntryRequest
|
760
760
|
|
761
761
|
# Converts hash and nil to an options object
|
762
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
762
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
763
763
|
|
764
764
|
# Customize the options with defaults
|
765
765
|
metadata = @config.rpcs.create_entry.metadata.to_h
|
766
766
|
|
767
767
|
# Set x-goog-api-client and x-goog-user-project headers
|
768
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
768
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
769
769
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
770
770
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
771
771
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -786,8 +786,8 @@ module Google
|
|
786
786
|
yield response, operation if block_given?
|
787
787
|
return response
|
788
788
|
end
|
789
|
-
rescue GRPC::BadStatus => e
|
790
|
-
raise Google::Cloud::Error.from_error(e)
|
789
|
+
rescue ::GRPC::BadStatus => e
|
790
|
+
raise ::Google::Cloud::Error.from_error(e)
|
791
791
|
end
|
792
792
|
|
793
793
|
##
|
@@ -799,12 +799,12 @@ module Google
|
|
799
799
|
#
|
800
800
|
# @overload update_entry(request, options = nil)
|
801
801
|
# Pass arguments to `update_entry` via a request object, either of type
|
802
|
-
# {Google::Cloud::DataCatalog::V1::UpdateEntryRequest} or an equivalent Hash.
|
802
|
+
# {::Google::Cloud::DataCatalog::V1::UpdateEntryRequest} or an equivalent Hash.
|
803
803
|
#
|
804
|
-
# @param request [Google::Cloud::DataCatalog::V1::UpdateEntryRequest, Hash]
|
804
|
+
# @param request [::Google::Cloud::DataCatalog::V1::UpdateEntryRequest, ::Hash]
|
805
805
|
# A request object representing the call parameters. Required. To specify no
|
806
806
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
807
|
-
# @param options [Gapic::CallOptions, Hash]
|
807
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
808
808
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
809
809
|
#
|
810
810
|
# @overload update_entry(entry: nil, update_mask: nil)
|
@@ -812,9 +812,9 @@ module Google
|
|
812
812
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
813
813
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
814
814
|
#
|
815
|
-
# @param entry [Google::Cloud::DataCatalog::V1::Entry, Hash]
|
815
|
+
# @param entry [::Google::Cloud::DataCatalog::V1::Entry, ::Hash]
|
816
816
|
# Required. The updated entry. The "name" field must be set.
|
817
|
-
# @param update_mask [Google::Protobuf::FieldMask, Hash]
|
817
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
818
818
|
# The fields to update on the entry. If absent or empty, all modifiable
|
819
819
|
# fields are updated.
|
820
820
|
#
|
@@ -837,26 +837,26 @@ module Google
|
|
837
837
|
# * source_system_timestamps
|
838
838
|
#
|
839
839
|
# @yield [response, operation] Access the result along with the RPC operation
|
840
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::Entry]
|
841
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
840
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::Entry]
|
841
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
842
842
|
#
|
843
|
-
# @return [Google::Cloud::DataCatalog::V1::Entry]
|
843
|
+
# @return [::Google::Cloud::DataCatalog::V1::Entry]
|
844
844
|
#
|
845
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
845
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
846
846
|
#
|
847
847
|
def update_entry request, options = nil
|
848
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
848
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
849
849
|
|
850
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::UpdateEntryRequest
|
850
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::UpdateEntryRequest
|
851
851
|
|
852
852
|
# Converts hash and nil to an options object
|
853
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
853
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
854
854
|
|
855
855
|
# Customize the options with defaults
|
856
856
|
metadata = @config.rpcs.update_entry.metadata.to_h
|
857
857
|
|
858
858
|
# Set x-goog-api-client and x-goog-user-project headers
|
859
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
859
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
860
860
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
861
861
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
862
862
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -877,13 +877,13 @@ module Google
|
|
877
877
|
yield response, operation if block_given?
|
878
878
|
return response
|
879
879
|
end
|
880
|
-
rescue GRPC::BadStatus => e
|
881
|
-
raise Google::Cloud::Error.from_error(e)
|
880
|
+
rescue ::GRPC::BadStatus => e
|
881
|
+
raise ::Google::Cloud::Error.from_error(e)
|
882
882
|
end
|
883
883
|
|
884
884
|
##
|
885
885
|
# Deletes an existing entry. Only entries created through
|
886
|
-
# {Google::Cloud::DataCatalog::V1::DataCatalog::Client#create_entry CreateEntry}
|
886
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#create_entry CreateEntry}
|
887
887
|
# method can be deleted.
|
888
888
|
# Users should enable the Data Catalog API in the project identified by
|
889
889
|
# the `name` parameter (see [Data Catalog Resource Project]
|
@@ -892,12 +892,12 @@ module Google
|
|
892
892
|
#
|
893
893
|
# @overload delete_entry(request, options = nil)
|
894
894
|
# Pass arguments to `delete_entry` via a request object, either of type
|
895
|
-
# {Google::Cloud::DataCatalog::V1::DeleteEntryRequest} or an equivalent Hash.
|
895
|
+
# {::Google::Cloud::DataCatalog::V1::DeleteEntryRequest} or an equivalent Hash.
|
896
896
|
#
|
897
|
-
# @param request [Google::Cloud::DataCatalog::V1::DeleteEntryRequest, Hash]
|
897
|
+
# @param request [::Google::Cloud::DataCatalog::V1::DeleteEntryRequest, ::Hash]
|
898
898
|
# A request object representing the call parameters. Required. To specify no
|
899
899
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
900
|
-
# @param options [Gapic::CallOptions, Hash]
|
900
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
901
901
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
902
902
|
#
|
903
903
|
# @overload delete_entry(name: nil)
|
@@ -905,32 +905,32 @@ module Google
|
|
905
905
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
906
906
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
907
907
|
#
|
908
|
-
# @param name [String]
|
908
|
+
# @param name [::String]
|
909
909
|
# Required. The name of the entry. Example:
|
910
910
|
#
|
911
911
|
# * projects/\\{project_id}/locations/\\{location}/entryGroups/\\{entry_group_id}/entries/\\{entry_id}
|
912
912
|
#
|
913
913
|
# @yield [response, operation] Access the result along with the RPC operation
|
914
|
-
# @yieldparam response [Google::Protobuf::Empty]
|
915
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
914
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
915
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
916
916
|
#
|
917
|
-
# @return [Google::Protobuf::Empty]
|
917
|
+
# @return [::Google::Protobuf::Empty]
|
918
918
|
#
|
919
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
919
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
920
920
|
#
|
921
921
|
def delete_entry request, options = nil
|
922
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
922
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
923
923
|
|
924
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::DeleteEntryRequest
|
924
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::DeleteEntryRequest
|
925
925
|
|
926
926
|
# Converts hash and nil to an options object
|
927
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
927
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
928
928
|
|
929
929
|
# Customize the options with defaults
|
930
930
|
metadata = @config.rpcs.delete_entry.metadata.to_h
|
931
931
|
|
932
932
|
# Set x-goog-api-client and x-goog-user-project headers
|
933
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
933
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
934
934
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
935
935
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
936
936
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -951,8 +951,8 @@ module Google
|
|
951
951
|
yield response, operation if block_given?
|
952
952
|
return response
|
953
953
|
end
|
954
|
-
rescue GRPC::BadStatus => e
|
955
|
-
raise Google::Cloud::Error.from_error(e)
|
954
|
+
rescue ::GRPC::BadStatus => e
|
955
|
+
raise ::Google::Cloud::Error.from_error(e)
|
956
956
|
end
|
957
957
|
|
958
958
|
##
|
@@ -960,12 +960,12 @@ module Google
|
|
960
960
|
#
|
961
961
|
# @overload get_entry(request, options = nil)
|
962
962
|
# Pass arguments to `get_entry` via a request object, either of type
|
963
|
-
# {Google::Cloud::DataCatalog::V1::GetEntryRequest} or an equivalent Hash.
|
963
|
+
# {::Google::Cloud::DataCatalog::V1::GetEntryRequest} or an equivalent Hash.
|
964
964
|
#
|
965
|
-
# @param request [Google::Cloud::DataCatalog::V1::GetEntryRequest, Hash]
|
965
|
+
# @param request [::Google::Cloud::DataCatalog::V1::GetEntryRequest, ::Hash]
|
966
966
|
# A request object representing the call parameters. Required. To specify no
|
967
967
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
968
|
-
# @param options [Gapic::CallOptions, Hash]
|
968
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
969
969
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
970
970
|
#
|
971
971
|
# @overload get_entry(name: nil)
|
@@ -973,32 +973,32 @@ module Google
|
|
973
973
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
974
974
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
975
975
|
#
|
976
|
-
# @param name [String]
|
976
|
+
# @param name [::String]
|
977
977
|
# Required. The name of the entry. Example:
|
978
978
|
#
|
979
979
|
# * projects/\\{project_id}/locations/\\{location}/entryGroups/\\{entry_group_id}/entries/\\{entry_id}
|
980
980
|
#
|
981
981
|
# @yield [response, operation] Access the result along with the RPC operation
|
982
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::Entry]
|
983
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
982
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::Entry]
|
983
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
984
984
|
#
|
985
|
-
# @return [Google::Cloud::DataCatalog::V1::Entry]
|
985
|
+
# @return [::Google::Cloud::DataCatalog::V1::Entry]
|
986
986
|
#
|
987
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
987
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
988
988
|
#
|
989
989
|
def get_entry request, options = nil
|
990
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
990
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
991
991
|
|
992
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::GetEntryRequest
|
992
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::GetEntryRequest
|
993
993
|
|
994
994
|
# Converts hash and nil to an options object
|
995
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
995
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
996
996
|
|
997
997
|
# Customize the options with defaults
|
998
998
|
metadata = @config.rpcs.get_entry.metadata.to_h
|
999
999
|
|
1000
1000
|
# Set x-goog-api-client and x-goog-user-project headers
|
1001
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1001
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1002
1002
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1003
1003
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1004
1004
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1019,8 +1019,8 @@ module Google
|
|
1019
1019
|
yield response, operation if block_given?
|
1020
1020
|
return response
|
1021
1021
|
end
|
1022
|
-
rescue GRPC::BadStatus => e
|
1023
|
-
raise Google::Cloud::Error.from_error(e)
|
1022
|
+
rescue ::GRPC::BadStatus => e
|
1023
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1024
1024
|
end
|
1025
1025
|
|
1026
1026
|
##
|
@@ -1030,12 +1030,12 @@ module Google
|
|
1030
1030
|
#
|
1031
1031
|
# @overload lookup_entry(request, options = nil)
|
1032
1032
|
# Pass arguments to `lookup_entry` via a request object, either of type
|
1033
|
-
# {Google::Cloud::DataCatalog::V1::LookupEntryRequest} or an equivalent Hash.
|
1033
|
+
# {::Google::Cloud::DataCatalog::V1::LookupEntryRequest} or an equivalent Hash.
|
1034
1034
|
#
|
1035
|
-
# @param request [Google::Cloud::DataCatalog::V1::LookupEntryRequest, Hash]
|
1035
|
+
# @param request [::Google::Cloud::DataCatalog::V1::LookupEntryRequest, ::Hash]
|
1036
1036
|
# A request object representing the call parameters. Required. To specify no
|
1037
1037
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1038
|
-
# @param options [Gapic::CallOptions, Hash]
|
1038
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1039
1039
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1040
1040
|
#
|
1041
1041
|
# @overload lookup_entry(linked_resource: nil, sql_resource: nil)
|
@@ -1043,7 +1043,7 @@ module Google
|
|
1043
1043
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1044
1044
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1045
1045
|
#
|
1046
|
-
# @param linked_resource [String]
|
1046
|
+
# @param linked_resource [::String]
|
1047
1047
|
# The full name of the Google Cloud Platform resource the Data Catalog
|
1048
1048
|
# entry represents. See:
|
1049
1049
|
# https://cloud.google.com/apis/design/resource_names#full_resource_name.
|
@@ -1053,7 +1053,7 @@ module Google
|
|
1053
1053
|
#
|
1054
1054
|
# * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId
|
1055
1055
|
# * //pubsub.googleapis.com/projects/projectId/topics/topicId
|
1056
|
-
# @param sql_resource [String]
|
1056
|
+
# @param sql_resource [::String]
|
1057
1057
|
# The SQL name of the entry. SQL names are case-sensitive.
|
1058
1058
|
#
|
1059
1059
|
# Examples:
|
@@ -1068,26 +1068,26 @@ module Google
|
|
1068
1068
|
# https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical.
|
1069
1069
|
#
|
1070
1070
|
# @yield [response, operation] Access the result along with the RPC operation
|
1071
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::Entry]
|
1072
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1071
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::Entry]
|
1072
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1073
1073
|
#
|
1074
|
-
# @return [Google::Cloud::DataCatalog::V1::Entry]
|
1074
|
+
# @return [::Google::Cloud::DataCatalog::V1::Entry]
|
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 lookup_entry 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::Cloud::DataCatalog::V1::LookupEntryRequest
|
1081
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::LookupEntryRequest
|
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.lookup_entry.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::DataCatalog::V1::VERSION
|
1093
1093
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1102,8 +1102,8 @@ module Google
|
|
1102
1102
|
yield response, operation if block_given?
|
1103
1103
|
return response
|
1104
1104
|
end
|
1105
|
-
rescue GRPC::BadStatus => e
|
1106
|
-
raise Google::Cloud::Error.from_error(e)
|
1105
|
+
rescue ::GRPC::BadStatus => e
|
1106
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1107
1107
|
end
|
1108
1108
|
|
1109
1109
|
##
|
@@ -1111,12 +1111,12 @@ module Google
|
|
1111
1111
|
#
|
1112
1112
|
# @overload list_entries(request, options = nil)
|
1113
1113
|
# Pass arguments to `list_entries` via a request object, either of type
|
1114
|
-
# {Google::Cloud::DataCatalog::V1::ListEntriesRequest} or an equivalent Hash.
|
1114
|
+
# {::Google::Cloud::DataCatalog::V1::ListEntriesRequest} or an equivalent Hash.
|
1115
1115
|
#
|
1116
|
-
# @param request [Google::Cloud::DataCatalog::V1::ListEntriesRequest, Hash]
|
1116
|
+
# @param request [::Google::Cloud::DataCatalog::V1::ListEntriesRequest, ::Hash]
|
1117
1117
|
# A request object representing the call parameters. Required. To specify no
|
1118
1118
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1119
|
-
# @param options [Gapic::CallOptions, Hash]
|
1119
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1120
1120
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1121
1121
|
#
|
1122
1122
|
# @overload list_entries(parent: nil, page_size: nil, page_token: nil, read_mask: nil)
|
@@ -1124,44 +1124,44 @@ module Google
|
|
1124
1124
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1125
1125
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1126
1126
|
#
|
1127
|
-
# @param parent [String]
|
1127
|
+
# @param parent [::String]
|
1128
1128
|
# Required. The name of the entry group that contains the entries, which can
|
1129
1129
|
# be provided in URL format. Example:
|
1130
1130
|
#
|
1131
1131
|
# * projects/\\{project_id}/locations/\\{location}/entryGroups/\\{entry_group_id}
|
1132
|
-
# @param page_size [Integer]
|
1132
|
+
# @param page_size [::Integer]
|
1133
1133
|
# The maximum number of items to return. Default is 10. Max limit is 1000.
|
1134
1134
|
# Throws an invalid argument for `page_size > 1000`.
|
1135
|
-
# @param page_token [String]
|
1135
|
+
# @param page_token [::String]
|
1136
1136
|
# Token that specifies which page is requested. If empty, the first page is
|
1137
1137
|
# returned.
|
1138
|
-
# @param read_mask [Google::Protobuf::FieldMask, Hash]
|
1138
|
+
# @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1139
1139
|
# The fields to return for each Entry. If not set or empty, all
|
1140
1140
|
# fields are returned.
|
1141
1141
|
# For example, setting read_mask to contain only one path "name" will cause
|
1142
1142
|
# ListEntries to return a list of Entries with only "name" field.
|
1143
1143
|
#
|
1144
1144
|
# @yield [response, operation] Access the result along with the RPC operation
|
1145
|
-
# @yieldparam response [Gapic::PagedEnumerable
|
1146
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1145
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Entry>]
|
1146
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1147
1147
|
#
|
1148
|
-
# @return [Gapic::PagedEnumerable
|
1148
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Entry>]
|
1149
1149
|
#
|
1150
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1150
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1151
1151
|
#
|
1152
1152
|
def list_entries request, options = nil
|
1153
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1153
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1154
1154
|
|
1155
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::ListEntriesRequest
|
1155
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::ListEntriesRequest
|
1156
1156
|
|
1157
1157
|
# Converts hash and nil to an options object
|
1158
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1158
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1159
1159
|
|
1160
1160
|
# Customize the options with defaults
|
1161
1161
|
metadata = @config.rpcs.list_entries.metadata.to_h
|
1162
1162
|
|
1163
1163
|
# Set x-goog-api-client and x-goog-user-project headers
|
1164
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1164
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1165
1165
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1166
1166
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1167
1167
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1179,12 +1179,12 @@ module Google
|
|
1179
1179
|
retry_policy: @config.retry_policy
|
1180
1180
|
|
1181
1181
|
@data_catalog_stub.call_rpc :list_entries, request, options: options do |response, operation|
|
1182
|
-
response = Gapic::PagedEnumerable.new @data_catalog_stub, :list_entries, request, response, operation, options
|
1182
|
+
response = ::Gapic::PagedEnumerable.new @data_catalog_stub, :list_entries, request, response, operation, options
|
1183
1183
|
yield response, operation if block_given?
|
1184
1184
|
return response
|
1185
1185
|
end
|
1186
|
-
rescue GRPC::BadStatus => e
|
1187
|
-
raise Google::Cloud::Error.from_error(e)
|
1186
|
+
rescue ::GRPC::BadStatus => e
|
1187
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1188
1188
|
end
|
1189
1189
|
|
1190
1190
|
##
|
@@ -1196,12 +1196,12 @@ module Google
|
|
1196
1196
|
#
|
1197
1197
|
# @overload create_tag_template(request, options = nil)
|
1198
1198
|
# Pass arguments to `create_tag_template` via a request object, either of type
|
1199
|
-
# {Google::Cloud::DataCatalog::V1::CreateTagTemplateRequest} or an equivalent Hash.
|
1199
|
+
# {::Google::Cloud::DataCatalog::V1::CreateTagTemplateRequest} or an equivalent Hash.
|
1200
1200
|
#
|
1201
|
-
# @param request [Google::Cloud::DataCatalog::V1::CreateTagTemplateRequest, Hash]
|
1201
|
+
# @param request [::Google::Cloud::DataCatalog::V1::CreateTagTemplateRequest, ::Hash]
|
1202
1202
|
# A request object representing the call parameters. Required. To specify no
|
1203
1203
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1204
|
-
# @param options [Gapic::CallOptions, Hash]
|
1204
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1205
1205
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1206
1206
|
#
|
1207
1207
|
# @overload create_tag_template(parent: nil, tag_template_id: nil, tag_template: nil)
|
@@ -1209,39 +1209,39 @@ module Google
|
|
1209
1209
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1210
1210
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1211
1211
|
#
|
1212
|
-
# @param parent [String]
|
1212
|
+
# @param parent [::String]
|
1213
1213
|
# Required. The name of the project and the template location
|
1214
1214
|
# [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
|
1215
1215
|
#
|
1216
1216
|
# Example:
|
1217
1217
|
#
|
1218
1218
|
# * projects/\\{project_id}/locations/us-central1
|
1219
|
-
# @param tag_template_id [String]
|
1219
|
+
# @param tag_template_id [::String]
|
1220
1220
|
# Required. The id of the tag template to create.
|
1221
|
-
# @param tag_template [Google::Cloud::DataCatalog::V1::TagTemplate, Hash]
|
1221
|
+
# @param tag_template [::Google::Cloud::DataCatalog::V1::TagTemplate, ::Hash]
|
1222
1222
|
# Required. The tag template to create.
|
1223
1223
|
#
|
1224
1224
|
# @yield [response, operation] Access the result along with the RPC operation
|
1225
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::TagTemplate]
|
1226
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1225
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplate]
|
1226
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1227
1227
|
#
|
1228
|
-
# @return [Google::Cloud::DataCatalog::V1::TagTemplate]
|
1228
|
+
# @return [::Google::Cloud::DataCatalog::V1::TagTemplate]
|
1229
1229
|
#
|
1230
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1230
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1231
1231
|
#
|
1232
1232
|
def create_tag_template request, options = nil
|
1233
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1233
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1234
1234
|
|
1235
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::CreateTagTemplateRequest
|
1235
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::CreateTagTemplateRequest
|
1236
1236
|
|
1237
1237
|
# Converts hash and nil to an options object
|
1238
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1238
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1239
1239
|
|
1240
1240
|
# Customize the options with defaults
|
1241
1241
|
metadata = @config.rpcs.create_tag_template.metadata.to_h
|
1242
1242
|
|
1243
1243
|
# Set x-goog-api-client and x-goog-user-project headers
|
1244
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1244
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1245
1245
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1246
1246
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1247
1247
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1262,8 +1262,8 @@ module Google
|
|
1262
1262
|
yield response, operation if block_given?
|
1263
1263
|
return response
|
1264
1264
|
end
|
1265
|
-
rescue GRPC::BadStatus => e
|
1266
|
-
raise Google::Cloud::Error.from_error(e)
|
1265
|
+
rescue ::GRPC::BadStatus => e
|
1266
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1267
1267
|
end
|
1268
1268
|
|
1269
1269
|
##
|
@@ -1271,12 +1271,12 @@ module Google
|
|
1271
1271
|
#
|
1272
1272
|
# @overload get_tag_template(request, options = nil)
|
1273
1273
|
# Pass arguments to `get_tag_template` via a request object, either of type
|
1274
|
-
# {Google::Cloud::DataCatalog::V1::GetTagTemplateRequest} or an equivalent Hash.
|
1274
|
+
# {::Google::Cloud::DataCatalog::V1::GetTagTemplateRequest} or an equivalent Hash.
|
1275
1275
|
#
|
1276
|
-
# @param request [Google::Cloud::DataCatalog::V1::GetTagTemplateRequest, Hash]
|
1276
|
+
# @param request [::Google::Cloud::DataCatalog::V1::GetTagTemplateRequest, ::Hash]
|
1277
1277
|
# A request object representing the call parameters. Required. To specify no
|
1278
1278
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1279
|
-
# @param options [Gapic::CallOptions, Hash]
|
1279
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1280
1280
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1281
1281
|
#
|
1282
1282
|
# @overload get_tag_template(name: nil)
|
@@ -1284,32 +1284,32 @@ module Google
|
|
1284
1284
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1285
1285
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1286
1286
|
#
|
1287
|
-
# @param name [String]
|
1287
|
+
# @param name [::String]
|
1288
1288
|
# Required. The name of the tag template. Example:
|
1289
1289
|
#
|
1290
1290
|
# * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template_id}
|
1291
1291
|
#
|
1292
1292
|
# @yield [response, operation] Access the result along with the RPC operation
|
1293
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::TagTemplate]
|
1294
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1293
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplate]
|
1294
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1295
1295
|
#
|
1296
|
-
# @return [Google::Cloud::DataCatalog::V1::TagTemplate]
|
1296
|
+
# @return [::Google::Cloud::DataCatalog::V1::TagTemplate]
|
1297
1297
|
#
|
1298
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1298
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1299
1299
|
#
|
1300
1300
|
def get_tag_template request, options = nil
|
1301
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1301
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1302
1302
|
|
1303
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::GetTagTemplateRequest
|
1303
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::GetTagTemplateRequest
|
1304
1304
|
|
1305
1305
|
# Converts hash and nil to an options object
|
1306
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1306
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1307
1307
|
|
1308
1308
|
# Customize the options with defaults
|
1309
1309
|
metadata = @config.rpcs.get_tag_template.metadata.to_h
|
1310
1310
|
|
1311
1311
|
# Set x-goog-api-client and x-goog-user-project headers
|
1312
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1312
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1313
1313
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1314
1314
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1315
1315
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1330,8 +1330,8 @@ module Google
|
|
1330
1330
|
yield response, operation if block_given?
|
1331
1331
|
return response
|
1332
1332
|
end
|
1333
|
-
rescue GRPC::BadStatus => e
|
1334
|
-
raise Google::Cloud::Error.from_error(e)
|
1333
|
+
rescue ::GRPC::BadStatus => e
|
1334
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1335
1335
|
end
|
1336
1336
|
|
1337
1337
|
##
|
@@ -1345,12 +1345,12 @@ module Google
|
|
1345
1345
|
#
|
1346
1346
|
# @overload update_tag_template(request, options = nil)
|
1347
1347
|
# Pass arguments to `update_tag_template` via a request object, either of type
|
1348
|
-
# {Google::Cloud::DataCatalog::V1::UpdateTagTemplateRequest} or an equivalent Hash.
|
1348
|
+
# {::Google::Cloud::DataCatalog::V1::UpdateTagTemplateRequest} or an equivalent Hash.
|
1349
1349
|
#
|
1350
|
-
# @param request [Google::Cloud::DataCatalog::V1::UpdateTagTemplateRequest, Hash]
|
1350
|
+
# @param request [::Google::Cloud::DataCatalog::V1::UpdateTagTemplateRequest, ::Hash]
|
1351
1351
|
# A request object representing the call parameters. Required. To specify no
|
1352
1352
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1353
|
-
# @param options [Gapic::CallOptions, Hash]
|
1353
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1354
1354
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1355
1355
|
#
|
1356
1356
|
# @overload update_tag_template(tag_template: nil, update_mask: nil)
|
@@ -1358,9 +1358,9 @@ module Google
|
|
1358
1358
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1359
1359
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1360
1360
|
#
|
1361
|
-
# @param tag_template [Google::Cloud::DataCatalog::V1::TagTemplate, Hash]
|
1361
|
+
# @param tag_template [::Google::Cloud::DataCatalog::V1::TagTemplate, ::Hash]
|
1362
1362
|
# Required. The template to update. The "name" field must be set.
|
1363
|
-
# @param update_mask [Google::Protobuf::FieldMask, Hash]
|
1363
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1364
1364
|
# The field mask specifies the parts of the template to overwrite.
|
1365
1365
|
#
|
1366
1366
|
# Allowed fields:
|
@@ -1370,26 +1370,26 @@ module Google
|
|
1370
1370
|
# If absent or empty, all of the allowed fields above will be updated.
|
1371
1371
|
#
|
1372
1372
|
# @yield [response, operation] Access the result along with the RPC operation
|
1373
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::TagTemplate]
|
1374
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1373
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplate]
|
1374
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1375
1375
|
#
|
1376
|
-
# @return [Google::Cloud::DataCatalog::V1::TagTemplate]
|
1376
|
+
# @return [::Google::Cloud::DataCatalog::V1::TagTemplate]
|
1377
1377
|
#
|
1378
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1378
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1379
1379
|
#
|
1380
1380
|
def update_tag_template request, options = nil
|
1381
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1381
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1382
1382
|
|
1383
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::UpdateTagTemplateRequest
|
1383
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::UpdateTagTemplateRequest
|
1384
1384
|
|
1385
1385
|
# Converts hash and nil to an options object
|
1386
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1386
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1387
1387
|
|
1388
1388
|
# Customize the options with defaults
|
1389
1389
|
metadata = @config.rpcs.update_tag_template.metadata.to_h
|
1390
1390
|
|
1391
1391
|
# Set x-goog-api-client and x-goog-user-project headers
|
1392
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1392
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1393
1393
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1394
1394
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1395
1395
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1410,8 +1410,8 @@ module Google
|
|
1410
1410
|
yield response, operation if block_given?
|
1411
1411
|
return response
|
1412
1412
|
end
|
1413
|
-
rescue GRPC::BadStatus => e
|
1414
|
-
raise Google::Cloud::Error.from_error(e)
|
1413
|
+
rescue ::GRPC::BadStatus => e
|
1414
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1415
1415
|
end
|
1416
1416
|
|
1417
1417
|
##
|
@@ -1423,12 +1423,12 @@ module Google
|
|
1423
1423
|
#
|
1424
1424
|
# @overload delete_tag_template(request, options = nil)
|
1425
1425
|
# Pass arguments to `delete_tag_template` via a request object, either of type
|
1426
|
-
# {Google::Cloud::DataCatalog::V1::DeleteTagTemplateRequest} or an equivalent Hash.
|
1426
|
+
# {::Google::Cloud::DataCatalog::V1::DeleteTagTemplateRequest} or an equivalent Hash.
|
1427
1427
|
#
|
1428
|
-
# @param request [Google::Cloud::DataCatalog::V1::DeleteTagTemplateRequest, Hash]
|
1428
|
+
# @param request [::Google::Cloud::DataCatalog::V1::DeleteTagTemplateRequest, ::Hash]
|
1429
1429
|
# A request object representing the call parameters. Required. To specify no
|
1430
1430
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1431
|
-
# @param options [Gapic::CallOptions, Hash]
|
1431
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1432
1432
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1433
1433
|
#
|
1434
1434
|
# @overload delete_tag_template(name: nil, force: nil)
|
@@ -1436,36 +1436,36 @@ module Google
|
|
1436
1436
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1437
1437
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1438
1438
|
#
|
1439
|
-
# @param name [String]
|
1439
|
+
# @param name [::String]
|
1440
1440
|
# Required. The name of the tag template to delete. Example:
|
1441
1441
|
#
|
1442
1442
|
# * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template_id}
|
1443
|
-
# @param force [Boolean]
|
1443
|
+
# @param force [::Boolean]
|
1444
1444
|
# Required. Currently, this field must always be set to `true`.
|
1445
1445
|
# This confirms the deletion of any possible tags using this template.
|
1446
1446
|
# `force = false` will be supported in the future.
|
1447
1447
|
#
|
1448
1448
|
# @yield [response, operation] Access the result along with the RPC operation
|
1449
|
-
# @yieldparam response [Google::Protobuf::Empty]
|
1450
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1449
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
1450
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1451
1451
|
#
|
1452
|
-
# @return [Google::Protobuf::Empty]
|
1452
|
+
# @return [::Google::Protobuf::Empty]
|
1453
1453
|
#
|
1454
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1454
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1455
1455
|
#
|
1456
1456
|
def delete_tag_template request, options = nil
|
1457
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1457
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1458
1458
|
|
1459
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::DeleteTagTemplateRequest
|
1459
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::DeleteTagTemplateRequest
|
1460
1460
|
|
1461
1461
|
# Converts hash and nil to an options object
|
1462
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1462
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1463
1463
|
|
1464
1464
|
# Customize the options with defaults
|
1465
1465
|
metadata = @config.rpcs.delete_tag_template.metadata.to_h
|
1466
1466
|
|
1467
1467
|
# Set x-goog-api-client and x-goog-user-project headers
|
1468
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1468
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1469
1469
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1470
1470
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1471
1471
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1486,8 +1486,8 @@ module Google
|
|
1486
1486
|
yield response, operation if block_given?
|
1487
1487
|
return response
|
1488
1488
|
end
|
1489
|
-
rescue GRPC::BadStatus => e
|
1490
|
-
raise Google::Cloud::Error.from_error(e)
|
1489
|
+
rescue ::GRPC::BadStatus => e
|
1490
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1491
1491
|
end
|
1492
1492
|
|
1493
1493
|
##
|
@@ -1499,12 +1499,12 @@ module Google
|
|
1499
1499
|
#
|
1500
1500
|
# @overload create_tag_template_field(request, options = nil)
|
1501
1501
|
# Pass arguments to `create_tag_template_field` via a request object, either of type
|
1502
|
-
# {Google::Cloud::DataCatalog::V1::CreateTagTemplateFieldRequest} or an equivalent Hash.
|
1502
|
+
# {::Google::Cloud::DataCatalog::V1::CreateTagTemplateFieldRequest} or an equivalent Hash.
|
1503
1503
|
#
|
1504
|
-
# @param request [Google::Cloud::DataCatalog::V1::CreateTagTemplateFieldRequest, Hash]
|
1504
|
+
# @param request [::Google::Cloud::DataCatalog::V1::CreateTagTemplateFieldRequest, ::Hash]
|
1505
1505
|
# A request object representing the call parameters. Required. To specify no
|
1506
1506
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1507
|
-
# @param options [Gapic::CallOptions, Hash]
|
1507
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1508
1508
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1509
1509
|
#
|
1510
1510
|
# @overload create_tag_template_field(parent: nil, tag_template_field_id: nil, tag_template_field: nil)
|
@@ -1512,43 +1512,43 @@ module Google
|
|
1512
1512
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1513
1513
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1514
1514
|
#
|
1515
|
-
# @param parent [String]
|
1515
|
+
# @param parent [::String]
|
1516
1516
|
# Required. The name of the project and the template location
|
1517
1517
|
# [region](https://cloud.google.com/data-catalog/docs/concepts/regions).
|
1518
1518
|
#
|
1519
1519
|
# Example:
|
1520
1520
|
#
|
1521
1521
|
# * projects/\\{project_id}/locations/us-central1/tagTemplates/\\{tag_template_id}
|
1522
|
-
# @param tag_template_field_id [String]
|
1522
|
+
# @param tag_template_field_id [::String]
|
1523
1523
|
# Required. The ID of the tag template field to create.
|
1524
1524
|
# Field ids can contain letters (both uppercase and lowercase), numbers
|
1525
1525
|
# (0-9), underscores (_) and dashes (-). Field IDs must be at least 1
|
1526
1526
|
# character long and at most 128 characters long. Field IDs must also be
|
1527
1527
|
# unique within their template.
|
1528
|
-
# @param tag_template_field [Google::Cloud::DataCatalog::V1::TagTemplateField, Hash]
|
1528
|
+
# @param tag_template_field [::Google::Cloud::DataCatalog::V1::TagTemplateField, ::Hash]
|
1529
1529
|
# Required. The tag template field to create.
|
1530
1530
|
#
|
1531
1531
|
# @yield [response, operation] Access the result along with the RPC operation
|
1532
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1533
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1532
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1533
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1534
1534
|
#
|
1535
|
-
# @return [Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1535
|
+
# @return [::Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1536
1536
|
#
|
1537
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1537
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1538
1538
|
#
|
1539
1539
|
def create_tag_template_field request, options = nil
|
1540
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1540
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1541
1541
|
|
1542
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::CreateTagTemplateFieldRequest
|
1542
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::CreateTagTemplateFieldRequest
|
1543
1543
|
|
1544
1544
|
# Converts hash and nil to an options object
|
1545
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1545
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1546
1546
|
|
1547
1547
|
# Customize the options with defaults
|
1548
1548
|
metadata = @config.rpcs.create_tag_template_field.metadata.to_h
|
1549
1549
|
|
1550
1550
|
# Set x-goog-api-client and x-goog-user-project headers
|
1551
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1551
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1552
1552
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1553
1553
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1554
1554
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1569,8 +1569,8 @@ module Google
|
|
1569
1569
|
yield response, operation if block_given?
|
1570
1570
|
return response
|
1571
1571
|
end
|
1572
|
-
rescue GRPC::BadStatus => e
|
1573
|
-
raise Google::Cloud::Error.from_error(e)
|
1572
|
+
rescue ::GRPC::BadStatus => e
|
1573
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1574
1574
|
end
|
1575
1575
|
|
1576
1576
|
##
|
@@ -1582,12 +1582,12 @@ module Google
|
|
1582
1582
|
#
|
1583
1583
|
# @overload update_tag_template_field(request, options = nil)
|
1584
1584
|
# Pass arguments to `update_tag_template_field` via a request object, either of type
|
1585
|
-
# {Google::Cloud::DataCatalog::V1::UpdateTagTemplateFieldRequest} or an equivalent Hash.
|
1585
|
+
# {::Google::Cloud::DataCatalog::V1::UpdateTagTemplateFieldRequest} or an equivalent Hash.
|
1586
1586
|
#
|
1587
|
-
# @param request [Google::Cloud::DataCatalog::V1::UpdateTagTemplateFieldRequest, Hash]
|
1587
|
+
# @param request [::Google::Cloud::DataCatalog::V1::UpdateTagTemplateFieldRequest, ::Hash]
|
1588
1588
|
# A request object representing the call parameters. Required. To specify no
|
1589
1589
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1590
|
-
# @param options [Gapic::CallOptions, Hash]
|
1590
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1591
1591
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1592
1592
|
#
|
1593
1593
|
# @overload update_tag_template_field(name: nil, tag_template_field: nil, update_mask: nil)
|
@@ -1595,13 +1595,13 @@ module Google
|
|
1595
1595
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1596
1596
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1597
1597
|
#
|
1598
|
-
# @param name [String]
|
1598
|
+
# @param name [::String]
|
1599
1599
|
# Required. The name of the tag template field. Example:
|
1600
1600
|
#
|
1601
1601
|
# * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template_id}/fields/\\{tag_template_field_id}
|
1602
|
-
# @param tag_template_field [Google::Cloud::DataCatalog::V1::TagTemplateField, Hash]
|
1602
|
+
# @param tag_template_field [::Google::Cloud::DataCatalog::V1::TagTemplateField, ::Hash]
|
1603
1603
|
# Required. The template to update.
|
1604
|
-
# @param update_mask [Google::Protobuf::FieldMask, Hash]
|
1604
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1605
1605
|
# Optional. The field mask specifies the parts of the template to be updated.
|
1606
1606
|
# Allowed fields:
|
1607
1607
|
#
|
@@ -1618,26 +1618,26 @@ module Google
|
|
1618
1618
|
# optional to required is NOT allowed.
|
1619
1619
|
#
|
1620
1620
|
# @yield [response, operation] Access the result along with the RPC operation
|
1621
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1622
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1621
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1622
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1623
1623
|
#
|
1624
|
-
# @return [Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1624
|
+
# @return [::Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1625
1625
|
#
|
1626
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1626
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1627
1627
|
#
|
1628
1628
|
def update_tag_template_field request, options = nil
|
1629
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1629
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1630
1630
|
|
1631
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::UpdateTagTemplateFieldRequest
|
1631
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::UpdateTagTemplateFieldRequest
|
1632
1632
|
|
1633
1633
|
# Converts hash and nil to an options object
|
1634
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1634
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1635
1635
|
|
1636
1636
|
# Customize the options with defaults
|
1637
1637
|
metadata = @config.rpcs.update_tag_template_field.metadata.to_h
|
1638
1638
|
|
1639
1639
|
# Set x-goog-api-client and x-goog-user-project headers
|
1640
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1640
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1641
1641
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1642
1642
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1643
1643
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1658,8 +1658,8 @@ module Google
|
|
1658
1658
|
yield response, operation if block_given?
|
1659
1659
|
return response
|
1660
1660
|
end
|
1661
|
-
rescue GRPC::BadStatus => e
|
1662
|
-
raise Google::Cloud::Error.from_error(e)
|
1661
|
+
rescue ::GRPC::BadStatus => e
|
1662
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1663
1663
|
end
|
1664
1664
|
|
1665
1665
|
##
|
@@ -1671,12 +1671,12 @@ module Google
|
|
1671
1671
|
#
|
1672
1672
|
# @overload rename_tag_template_field(request, options = nil)
|
1673
1673
|
# Pass arguments to `rename_tag_template_field` via a request object, either of type
|
1674
|
-
# {Google::Cloud::DataCatalog::V1::RenameTagTemplateFieldRequest} or an equivalent Hash.
|
1674
|
+
# {::Google::Cloud::DataCatalog::V1::RenameTagTemplateFieldRequest} or an equivalent Hash.
|
1675
1675
|
#
|
1676
|
-
# @param request [Google::Cloud::DataCatalog::V1::RenameTagTemplateFieldRequest, Hash]
|
1676
|
+
# @param request [::Google::Cloud::DataCatalog::V1::RenameTagTemplateFieldRequest, ::Hash]
|
1677
1677
|
# A request object representing the call parameters. Required. To specify no
|
1678
1678
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1679
|
-
# @param options [Gapic::CallOptions, Hash]
|
1679
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1680
1680
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1681
1681
|
#
|
1682
1682
|
# @overload rename_tag_template_field(name: nil, new_tag_template_field_id: nil)
|
@@ -1684,34 +1684,34 @@ module Google
|
|
1684
1684
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1685
1685
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1686
1686
|
#
|
1687
|
-
# @param name [String]
|
1687
|
+
# @param name [::String]
|
1688
1688
|
# Required. The name of the tag template. Example:
|
1689
1689
|
#
|
1690
1690
|
# * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template_id}/fields/\\{tag_template_field_id}
|
1691
|
-
# @param new_tag_template_field_id [String]
|
1691
|
+
# @param new_tag_template_field_id [::String]
|
1692
1692
|
# Required. The new ID of this tag template field. For example, `my_new_field`.
|
1693
1693
|
#
|
1694
1694
|
# @yield [response, operation] Access the result along with the RPC operation
|
1695
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1696
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1695
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1696
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1697
1697
|
#
|
1698
|
-
# @return [Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1698
|
+
# @return [::Google::Cloud::DataCatalog::V1::TagTemplateField]
|
1699
1699
|
#
|
1700
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1700
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1701
1701
|
#
|
1702
1702
|
def rename_tag_template_field request, options = nil
|
1703
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1703
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1704
1704
|
|
1705
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::RenameTagTemplateFieldRequest
|
1705
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::RenameTagTemplateFieldRequest
|
1706
1706
|
|
1707
1707
|
# Converts hash and nil to an options object
|
1708
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1708
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1709
1709
|
|
1710
1710
|
# Customize the options with defaults
|
1711
1711
|
metadata = @config.rpcs.rename_tag_template_field.metadata.to_h
|
1712
1712
|
|
1713
1713
|
# Set x-goog-api-client and x-goog-user-project headers
|
1714
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1714
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1715
1715
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1716
1716
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1717
1717
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1732,8 +1732,8 @@ module Google
|
|
1732
1732
|
yield response, operation if block_given?
|
1733
1733
|
return response
|
1734
1734
|
end
|
1735
|
-
rescue GRPC::BadStatus => e
|
1736
|
-
raise Google::Cloud::Error.from_error(e)
|
1735
|
+
rescue ::GRPC::BadStatus => e
|
1736
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1737
1737
|
end
|
1738
1738
|
|
1739
1739
|
##
|
@@ -1745,12 +1745,12 @@ module Google
|
|
1745
1745
|
#
|
1746
1746
|
# @overload delete_tag_template_field(request, options = nil)
|
1747
1747
|
# Pass arguments to `delete_tag_template_field` via a request object, either of type
|
1748
|
-
# {Google::Cloud::DataCatalog::V1::DeleteTagTemplateFieldRequest} or an equivalent Hash.
|
1748
|
+
# {::Google::Cloud::DataCatalog::V1::DeleteTagTemplateFieldRequest} or an equivalent Hash.
|
1749
1749
|
#
|
1750
|
-
# @param request [Google::Cloud::DataCatalog::V1::DeleteTagTemplateFieldRequest, Hash]
|
1750
|
+
# @param request [::Google::Cloud::DataCatalog::V1::DeleteTagTemplateFieldRequest, ::Hash]
|
1751
1751
|
# A request object representing the call parameters. Required. To specify no
|
1752
1752
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1753
|
-
# @param options [Gapic::CallOptions, Hash]
|
1753
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1754
1754
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1755
1755
|
#
|
1756
1756
|
# @overload delete_tag_template_field(name: nil, force: nil)
|
@@ -1758,36 +1758,36 @@ module Google
|
|
1758
1758
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1759
1759
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1760
1760
|
#
|
1761
|
-
# @param name [String]
|
1761
|
+
# @param name [::String]
|
1762
1762
|
# Required. The name of the tag template field to delete. Example:
|
1763
1763
|
#
|
1764
1764
|
# * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template_id}/fields/\\{tag_template_field_id}
|
1765
|
-
# @param force [Boolean]
|
1765
|
+
# @param force [::Boolean]
|
1766
1766
|
# Required. Currently, this field must always be set to `true`.
|
1767
1767
|
# This confirms the deletion of this field from any tags using this field.
|
1768
1768
|
# `force = false` will be supported in the future.
|
1769
1769
|
#
|
1770
1770
|
# @yield [response, operation] Access the result along with the RPC operation
|
1771
|
-
# @yieldparam response [Google::Protobuf::Empty]
|
1772
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1771
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
1772
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1773
1773
|
#
|
1774
|
-
# @return [Google::Protobuf::Empty]
|
1774
|
+
# @return [::Google::Protobuf::Empty]
|
1775
1775
|
#
|
1776
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1776
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1777
1777
|
#
|
1778
1778
|
def delete_tag_template_field request, options = nil
|
1779
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1779
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1780
1780
|
|
1781
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::DeleteTagTemplateFieldRequest
|
1781
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::DeleteTagTemplateFieldRequest
|
1782
1782
|
|
1783
1783
|
# Converts hash and nil to an options object
|
1784
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1784
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1785
1785
|
|
1786
1786
|
# Customize the options with defaults
|
1787
1787
|
metadata = @config.rpcs.delete_tag_template_field.metadata.to_h
|
1788
1788
|
|
1789
1789
|
# Set x-goog-api-client and x-goog-user-project headers
|
1790
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1790
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1791
1791
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1792
1792
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1793
1793
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1808,12 +1808,12 @@ module Google
|
|
1808
1808
|
yield response, operation if block_given?
|
1809
1809
|
return response
|
1810
1810
|
end
|
1811
|
-
rescue GRPC::BadStatus => e
|
1812
|
-
raise Google::Cloud::Error.from_error(e)
|
1811
|
+
rescue ::GRPC::BadStatus => e
|
1812
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1813
1813
|
end
|
1814
1814
|
|
1815
1815
|
##
|
1816
|
-
# Creates a tag on an {Google::Cloud::DataCatalog::V1::Entry Entry}.
|
1816
|
+
# Creates a tag on an {::Google::Cloud::DataCatalog::V1::Entry Entry}.
|
1817
1817
|
# Note: The project identified by the `parent` parameter for the
|
1818
1818
|
# [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
|
1819
1819
|
# and the
|
@@ -1823,12 +1823,12 @@ module Google
|
|
1823
1823
|
#
|
1824
1824
|
# @overload create_tag(request, options = nil)
|
1825
1825
|
# Pass arguments to `create_tag` via a request object, either of type
|
1826
|
-
# {Google::Cloud::DataCatalog::V1::CreateTagRequest} or an equivalent Hash.
|
1826
|
+
# {::Google::Cloud::DataCatalog::V1::CreateTagRequest} or an equivalent Hash.
|
1827
1827
|
#
|
1828
|
-
# @param request [Google::Cloud::DataCatalog::V1::CreateTagRequest, Hash]
|
1828
|
+
# @param request [::Google::Cloud::DataCatalog::V1::CreateTagRequest, ::Hash]
|
1829
1829
|
# A request object representing the call parameters. Required. To specify no
|
1830
1830
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1831
|
-
# @param options [Gapic::CallOptions, Hash]
|
1831
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1832
1832
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1833
1833
|
#
|
1834
1834
|
# @overload create_tag(parent: nil, tag: nil)
|
@@ -1836,7 +1836,7 @@ module Google
|
|
1836
1836
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1837
1837
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1838
1838
|
#
|
1839
|
-
# @param parent [String]
|
1839
|
+
# @param parent [::String]
|
1840
1840
|
# Required. The name of the resource to attach this tag to. Tags can be attached to
|
1841
1841
|
# Entries. Example:
|
1842
1842
|
#
|
@@ -1844,30 +1844,30 @@ module Google
|
|
1844
1844
|
#
|
1845
1845
|
# Note that this Tag and its child resources may not actually be stored in
|
1846
1846
|
# the location in this name.
|
1847
|
-
# @param tag [Google::Cloud::DataCatalog::V1::Tag, Hash]
|
1847
|
+
# @param tag [::Google::Cloud::DataCatalog::V1::Tag, ::Hash]
|
1848
1848
|
# Required. The tag to create.
|
1849
1849
|
#
|
1850
1850
|
# @yield [response, operation] Access the result along with the RPC operation
|
1851
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::Tag]
|
1852
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1851
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::Tag]
|
1852
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1853
1853
|
#
|
1854
|
-
# @return [Google::Cloud::DataCatalog::V1::Tag]
|
1854
|
+
# @return [::Google::Cloud::DataCatalog::V1::Tag]
|
1855
1855
|
#
|
1856
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1856
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1857
1857
|
#
|
1858
1858
|
def create_tag request, options = nil
|
1859
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1859
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1860
1860
|
|
1861
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::CreateTagRequest
|
1861
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::CreateTagRequest
|
1862
1862
|
|
1863
1863
|
# Converts hash and nil to an options object
|
1864
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1864
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1865
1865
|
|
1866
1866
|
# Customize the options with defaults
|
1867
1867
|
metadata = @config.rpcs.create_tag.metadata.to_h
|
1868
1868
|
|
1869
1869
|
# Set x-goog-api-client and x-goog-user-project headers
|
1870
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1870
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1871
1871
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1872
1872
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1873
1873
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1888,8 +1888,8 @@ module Google
|
|
1888
1888
|
yield response, operation if block_given?
|
1889
1889
|
return response
|
1890
1890
|
end
|
1891
|
-
rescue GRPC::BadStatus => e
|
1892
|
-
raise Google::Cloud::Error.from_error(e)
|
1891
|
+
rescue ::GRPC::BadStatus => e
|
1892
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1893
1893
|
end
|
1894
1894
|
|
1895
1895
|
##
|
@@ -1897,12 +1897,12 @@ module Google
|
|
1897
1897
|
#
|
1898
1898
|
# @overload update_tag(request, options = nil)
|
1899
1899
|
# Pass arguments to `update_tag` via a request object, either of type
|
1900
|
-
# {Google::Cloud::DataCatalog::V1::UpdateTagRequest} or an equivalent Hash.
|
1900
|
+
# {::Google::Cloud::DataCatalog::V1::UpdateTagRequest} or an equivalent Hash.
|
1901
1901
|
#
|
1902
|
-
# @param request [Google::Cloud::DataCatalog::V1::UpdateTagRequest, Hash]
|
1902
|
+
# @param request [::Google::Cloud::DataCatalog::V1::UpdateTagRequest, ::Hash]
|
1903
1903
|
# A request object representing the call parameters. Required. To specify no
|
1904
1904
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1905
|
-
# @param options [Gapic::CallOptions, Hash]
|
1905
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1906
1906
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1907
1907
|
#
|
1908
1908
|
# @overload update_tag(tag: nil, update_mask: nil)
|
@@ -1910,33 +1910,33 @@ module Google
|
|
1910
1910
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1911
1911
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1912
1912
|
#
|
1913
|
-
# @param tag [Google::Cloud::DataCatalog::V1::Tag, Hash]
|
1913
|
+
# @param tag [::Google::Cloud::DataCatalog::V1::Tag, ::Hash]
|
1914
1914
|
# Required. The updated tag. The "name" field must be set.
|
1915
|
-
# @param update_mask [Google::Protobuf::FieldMask, Hash]
|
1915
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1916
1916
|
# The fields to update on the Tag. If absent or empty, all modifiable fields
|
1917
1917
|
# are updated. Currently the only modifiable field is the field `fields`.
|
1918
1918
|
#
|
1919
1919
|
# @yield [response, operation] Access the result along with the RPC operation
|
1920
|
-
# @yieldparam response [Google::Cloud::DataCatalog::V1::Tag]
|
1921
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1920
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::V1::Tag]
|
1921
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1922
1922
|
#
|
1923
|
-
# @return [Google::Cloud::DataCatalog::V1::Tag]
|
1923
|
+
# @return [::Google::Cloud::DataCatalog::V1::Tag]
|
1924
1924
|
#
|
1925
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1925
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1926
1926
|
#
|
1927
1927
|
def update_tag request, options = nil
|
1928
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1928
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1929
1929
|
|
1930
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::UpdateTagRequest
|
1930
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::UpdateTagRequest
|
1931
1931
|
|
1932
1932
|
# Converts hash and nil to an options object
|
1933
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1933
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1934
1934
|
|
1935
1935
|
# Customize the options with defaults
|
1936
1936
|
metadata = @config.rpcs.update_tag.metadata.to_h
|
1937
1937
|
|
1938
1938
|
# Set x-goog-api-client and x-goog-user-project headers
|
1939
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
1939
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1940
1940
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1941
1941
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
1942
1942
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -1957,8 +1957,8 @@ module Google
|
|
1957
1957
|
yield response, operation if block_given?
|
1958
1958
|
return response
|
1959
1959
|
end
|
1960
|
-
rescue GRPC::BadStatus => e
|
1961
|
-
raise Google::Cloud::Error.from_error(e)
|
1960
|
+
rescue ::GRPC::BadStatus => e
|
1961
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1962
1962
|
end
|
1963
1963
|
|
1964
1964
|
##
|
@@ -1966,12 +1966,12 @@ module Google
|
|
1966
1966
|
#
|
1967
1967
|
# @overload delete_tag(request, options = nil)
|
1968
1968
|
# Pass arguments to `delete_tag` via a request object, either of type
|
1969
|
-
# {Google::Cloud::DataCatalog::V1::DeleteTagRequest} or an equivalent Hash.
|
1969
|
+
# {::Google::Cloud::DataCatalog::V1::DeleteTagRequest} or an equivalent Hash.
|
1970
1970
|
#
|
1971
|
-
# @param request [Google::Cloud::DataCatalog::V1::DeleteTagRequest, Hash]
|
1971
|
+
# @param request [::Google::Cloud::DataCatalog::V1::DeleteTagRequest, ::Hash]
|
1972
1972
|
# A request object representing the call parameters. Required. To specify no
|
1973
1973
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1974
|
-
# @param options [Gapic::CallOptions, Hash]
|
1974
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1975
1975
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1976
1976
|
#
|
1977
1977
|
# @overload delete_tag(name: nil)
|
@@ -1979,32 +1979,32 @@ module Google
|
|
1979
1979
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1980
1980
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1981
1981
|
#
|
1982
|
-
# @param name [String]
|
1982
|
+
# @param name [::String]
|
1983
1983
|
# Required. The name of the tag to delete. Example:
|
1984
1984
|
#
|
1985
1985
|
# * projects/\\{project_id}/locations/\\{location}/entryGroups/\\{entry_group_id}/entries/\\{entry_id}/tags/\\{tag_id}
|
1986
1986
|
#
|
1987
1987
|
# @yield [response, operation] Access the result along with the RPC operation
|
1988
|
-
# @yieldparam response [Google::Protobuf::Empty]
|
1989
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
1988
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
1989
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1990
1990
|
#
|
1991
|
-
# @return [Google::Protobuf::Empty]
|
1991
|
+
# @return [::Google::Protobuf::Empty]
|
1992
1992
|
#
|
1993
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
1993
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1994
1994
|
#
|
1995
1995
|
def delete_tag request, options = nil
|
1996
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
1996
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1997
1997
|
|
1998
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::DeleteTagRequest
|
1998
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::DeleteTagRequest
|
1999
1999
|
|
2000
2000
|
# Converts hash and nil to an options object
|
2001
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2001
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2002
2002
|
|
2003
2003
|
# Customize the options with defaults
|
2004
2004
|
metadata = @config.rpcs.delete_tag.metadata.to_h
|
2005
2005
|
|
2006
2006
|
# Set x-goog-api-client and x-goog-user-project headers
|
2007
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
2007
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2008
2008
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2009
2009
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
2010
2010
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -2025,21 +2025,21 @@ module Google
|
|
2025
2025
|
yield response, operation if block_given?
|
2026
2026
|
return response
|
2027
2027
|
end
|
2028
|
-
rescue GRPC::BadStatus => e
|
2029
|
-
raise Google::Cloud::Error.from_error(e)
|
2028
|
+
rescue ::GRPC::BadStatus => e
|
2029
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2030
2030
|
end
|
2031
2031
|
|
2032
2032
|
##
|
2033
|
-
# Lists the tags on an {Google::Cloud::DataCatalog::V1::Entry Entry}.
|
2033
|
+
# Lists the tags on an {::Google::Cloud::DataCatalog::V1::Entry Entry}.
|
2034
2034
|
#
|
2035
2035
|
# @overload list_tags(request, options = nil)
|
2036
2036
|
# Pass arguments to `list_tags` via a request object, either of type
|
2037
|
-
# {Google::Cloud::DataCatalog::V1::ListTagsRequest} or an equivalent Hash.
|
2037
|
+
# {::Google::Cloud::DataCatalog::V1::ListTagsRequest} or an equivalent Hash.
|
2038
2038
|
#
|
2039
|
-
# @param request [Google::Cloud::DataCatalog::V1::ListTagsRequest, Hash]
|
2039
|
+
# @param request [::Google::Cloud::DataCatalog::V1::ListTagsRequest, ::Hash]
|
2040
2040
|
# A request object representing the call parameters. Required. To specify no
|
2041
2041
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2042
|
-
# @param options [Gapic::CallOptions, Hash]
|
2042
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2043
2043
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2044
2044
|
#
|
2045
2045
|
# @overload list_tags(parent: nil, page_size: nil, page_token: nil)
|
@@ -2047,42 +2047,42 @@ module Google
|
|
2047
2047
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
2048
2048
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2049
2049
|
#
|
2050
|
-
# @param parent [String]
|
2050
|
+
# @param parent [::String]
|
2051
2051
|
# Required. The name of the Data Catalog resource to list the tags of. The resource
|
2052
|
-
# could be an {Google::Cloud::DataCatalog::V1::Entry Entry} or an
|
2053
|
-
# {Google::Cloud::DataCatalog::V1::EntryGroup EntryGroup}.
|
2052
|
+
# could be an {::Google::Cloud::DataCatalog::V1::Entry Entry} or an
|
2053
|
+
# {::Google::Cloud::DataCatalog::V1::EntryGroup EntryGroup}.
|
2054
2054
|
#
|
2055
2055
|
# Examples:
|
2056
2056
|
#
|
2057
2057
|
# * projects/\\{project_id}/locations/\\{location}/entryGroups/\\{entry_group_id}
|
2058
2058
|
# * projects/\\{project_id}/locations/\\{location}/entryGroups/\\{entry_group_id}/entries/\\{entry_id}
|
2059
|
-
# @param page_size [Integer]
|
2059
|
+
# @param page_size [::Integer]
|
2060
2060
|
# The maximum number of tags to return. Default is 10. Max limit is 1000.
|
2061
|
-
# @param page_token [String]
|
2061
|
+
# @param page_token [::String]
|
2062
2062
|
# Token that specifies which page is requested. If empty, the first page is
|
2063
2063
|
# returned.
|
2064
2064
|
#
|
2065
2065
|
# @yield [response, operation] Access the result along with the RPC operation
|
2066
|
-
# @yieldparam response [Gapic::PagedEnumerable
|
2067
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
2066
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Tag>]
|
2067
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2068
2068
|
#
|
2069
|
-
# @return [Gapic::PagedEnumerable
|
2069
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Tag>]
|
2070
2070
|
#
|
2071
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
2071
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2072
2072
|
#
|
2073
2073
|
def list_tags request, options = nil
|
2074
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
2074
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2075
2075
|
|
2076
|
-
request = Gapic::Protobuf.coerce request, to: Google::Cloud::DataCatalog::V1::ListTagsRequest
|
2076
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::ListTagsRequest
|
2077
2077
|
|
2078
2078
|
# Converts hash and nil to an options object
|
2079
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2079
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2080
2080
|
|
2081
2081
|
# Customize the options with defaults
|
2082
2082
|
metadata = @config.rpcs.list_tags.metadata.to_h
|
2083
2083
|
|
2084
2084
|
# Set x-goog-api-client and x-goog-user-project headers
|
2085
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
2085
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2086
2086
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2087
2087
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
2088
2088
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -2100,12 +2100,12 @@ module Google
|
|
2100
2100
|
retry_policy: @config.retry_policy
|
2101
2101
|
|
2102
2102
|
@data_catalog_stub.call_rpc :list_tags, request, options: options do |response, operation|
|
2103
|
-
response = Gapic::PagedEnumerable.new @data_catalog_stub, :list_tags, request, response, operation, options
|
2103
|
+
response = ::Gapic::PagedEnumerable.new @data_catalog_stub, :list_tags, request, response, operation, options
|
2104
2104
|
yield response, operation if block_given?
|
2105
2105
|
return response
|
2106
2106
|
end
|
2107
|
-
rescue GRPC::BadStatus => e
|
2108
|
-
raise Google::Cloud::Error.from_error(e)
|
2107
|
+
rescue ::GRPC::BadStatus => e
|
2108
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2109
2109
|
end
|
2110
2110
|
|
2111
2111
|
##
|
@@ -2126,12 +2126,12 @@ module Google
|
|
2126
2126
|
#
|
2127
2127
|
# @overload set_iam_policy(request, options = nil)
|
2128
2128
|
# Pass arguments to `set_iam_policy` via a request object, either of type
|
2129
|
-
# {Google::Iam::V1::SetIamPolicyRequest} or an equivalent Hash.
|
2129
|
+
# {::Google::Iam::V1::SetIamPolicyRequest} or an equivalent Hash.
|
2130
2130
|
#
|
2131
|
-
# @param request [Google::Iam::V1::SetIamPolicyRequest, Hash]
|
2131
|
+
# @param request [::Google::Iam::V1::SetIamPolicyRequest, ::Hash]
|
2132
2132
|
# A request object representing the call parameters. Required. To specify no
|
2133
2133
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2134
|
-
# @param options [Gapic::CallOptions, Hash]
|
2134
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2135
2135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2136
2136
|
#
|
2137
2137
|
# @overload set_iam_policy(resource: nil, policy: nil)
|
@@ -2139,36 +2139,36 @@ module Google
|
|
2139
2139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
2140
2140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2141
2141
|
#
|
2142
|
-
# @param resource [String]
|
2142
|
+
# @param resource [::String]
|
2143
2143
|
# REQUIRED: The resource for which the policy is being specified.
|
2144
2144
|
# See the operation documentation for the appropriate value for this field.
|
2145
|
-
# @param policy [Google::Iam::V1::Policy, Hash]
|
2145
|
+
# @param policy [::Google::Iam::V1::Policy, ::Hash]
|
2146
2146
|
# REQUIRED: The complete policy to be applied to the `resource`. The size of
|
2147
2147
|
# the policy is limited to a few 10s of KB. An empty policy is a
|
2148
2148
|
# valid policy but certain Cloud Platform services (such as Projects)
|
2149
2149
|
# might reject them.
|
2150
2150
|
#
|
2151
2151
|
# @yield [response, operation] Access the result along with the RPC operation
|
2152
|
-
# @yieldparam response [Google::Iam::V1::Policy]
|
2153
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
2152
|
+
# @yieldparam response [::Google::Iam::V1::Policy]
|
2153
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2154
2154
|
#
|
2155
|
-
# @return [Google::Iam::V1::Policy]
|
2155
|
+
# @return [::Google::Iam::V1::Policy]
|
2156
2156
|
#
|
2157
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
2157
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2158
2158
|
#
|
2159
2159
|
def set_iam_policy request, options = nil
|
2160
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
2160
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2161
2161
|
|
2162
|
-
request = Gapic::Protobuf.coerce request, to: Google::Iam::V1::SetIamPolicyRequest
|
2162
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Iam::V1::SetIamPolicyRequest
|
2163
2163
|
|
2164
2164
|
# Converts hash and nil to an options object
|
2165
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2165
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2166
2166
|
|
2167
2167
|
# Customize the options with defaults
|
2168
2168
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
2169
2169
|
|
2170
2170
|
# Set x-goog-api-client and x-goog-user-project headers
|
2171
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
2171
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2172
2172
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2173
2173
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
2174
2174
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -2189,8 +2189,8 @@ module Google
|
|
2189
2189
|
yield response, operation if block_given?
|
2190
2190
|
return response
|
2191
2191
|
end
|
2192
|
-
rescue GRPC::BadStatus => e
|
2193
|
-
raise Google::Cloud::Error.from_error(e)
|
2192
|
+
rescue ::GRPC::BadStatus => e
|
2193
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2194
2194
|
end
|
2195
2195
|
|
2196
2196
|
##
|
@@ -2213,12 +2213,12 @@ module Google
|
|
2213
2213
|
#
|
2214
2214
|
# @overload get_iam_policy(request, options = nil)
|
2215
2215
|
# Pass arguments to `get_iam_policy` via a request object, either of type
|
2216
|
-
# {Google::Iam::V1::GetIamPolicyRequest} or an equivalent Hash.
|
2216
|
+
# {::Google::Iam::V1::GetIamPolicyRequest} or an equivalent Hash.
|
2217
2217
|
#
|
2218
|
-
# @param request [Google::Iam::V1::GetIamPolicyRequest, Hash]
|
2218
|
+
# @param request [::Google::Iam::V1::GetIamPolicyRequest, ::Hash]
|
2219
2219
|
# A request object representing the call parameters. Required. To specify no
|
2220
2220
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2221
|
-
# @param options [Gapic::CallOptions, Hash]
|
2221
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2222
2222
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2223
2223
|
#
|
2224
2224
|
# @overload get_iam_policy(resource: nil, options: nil)
|
@@ -2226,34 +2226,34 @@ module Google
|
|
2226
2226
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
2227
2227
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2228
2228
|
#
|
2229
|
-
# @param resource [String]
|
2229
|
+
# @param resource [::String]
|
2230
2230
|
# REQUIRED: The resource for which the policy is being requested.
|
2231
2231
|
# See the operation documentation for the appropriate value for this field.
|
2232
|
-
# @param options [Google::Iam::V1::GetPolicyOptions, Hash]
|
2232
|
+
# @param options [::Google::Iam::V1::GetPolicyOptions, ::Hash]
|
2233
2233
|
# OPTIONAL: A `GetPolicyOptions` object for specifying options to
|
2234
2234
|
# `GetIamPolicy`. This field is only used by Cloud IAM.
|
2235
2235
|
#
|
2236
2236
|
# @yield [response, operation] Access the result along with the RPC operation
|
2237
|
-
# @yieldparam response [Google::Iam::V1::Policy]
|
2238
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
2237
|
+
# @yieldparam response [::Google::Iam::V1::Policy]
|
2238
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2239
2239
|
#
|
2240
|
-
# @return [Google::Iam::V1::Policy]
|
2240
|
+
# @return [::Google::Iam::V1::Policy]
|
2241
2241
|
#
|
2242
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
2242
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2243
2243
|
#
|
2244
2244
|
def get_iam_policy request, options = nil
|
2245
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
2245
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2246
2246
|
|
2247
|
-
request = Gapic::Protobuf.coerce request, to: Google::Iam::V1::GetIamPolicyRequest
|
2247
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Iam::V1::GetIamPolicyRequest
|
2248
2248
|
|
2249
2249
|
# Converts hash and nil to an options object
|
2250
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2250
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2251
2251
|
|
2252
2252
|
# Customize the options with defaults
|
2253
2253
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
2254
2254
|
|
2255
2255
|
# Set x-goog-api-client and x-goog-user-project headers
|
2256
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
2256
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2257
2257
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2258
2258
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
2259
2259
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -2274,8 +2274,8 @@ module Google
|
|
2274
2274
|
yield response, operation if block_given?
|
2275
2275
|
return response
|
2276
2276
|
end
|
2277
|
-
rescue GRPC::BadStatus => e
|
2278
|
-
raise Google::Cloud::Error.from_error(e)
|
2277
|
+
rescue ::GRPC::BadStatus => e
|
2278
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2279
2279
|
end
|
2280
2280
|
|
2281
2281
|
##
|
@@ -2295,12 +2295,12 @@ module Google
|
|
2295
2295
|
#
|
2296
2296
|
# @overload test_iam_permissions(request, options = nil)
|
2297
2297
|
# Pass arguments to `test_iam_permissions` via a request object, either of type
|
2298
|
-
# {Google::Iam::V1::TestIamPermissionsRequest} or an equivalent Hash.
|
2298
|
+
# {::Google::Iam::V1::TestIamPermissionsRequest} or an equivalent Hash.
|
2299
2299
|
#
|
2300
|
-
# @param request [Google::Iam::V1::TestIamPermissionsRequest, Hash]
|
2300
|
+
# @param request [::Google::Iam::V1::TestIamPermissionsRequest, ::Hash]
|
2301
2301
|
# A request object representing the call parameters. Required. To specify no
|
2302
2302
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2303
|
-
# @param options [Gapic::CallOptions, Hash]
|
2303
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2304
2304
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2305
2305
|
#
|
2306
2306
|
# @overload test_iam_permissions(resource: nil, permissions: nil)
|
@@ -2308,36 +2308,36 @@ module Google
|
|
2308
2308
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
2309
2309
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2310
2310
|
#
|
2311
|
-
# @param resource [String]
|
2311
|
+
# @param resource [::String]
|
2312
2312
|
# REQUIRED: The resource for which the policy detail is being requested.
|
2313
2313
|
# See the operation documentation for the appropriate value for this field.
|
2314
|
-
# @param permissions [Array
|
2314
|
+
# @param permissions [::Array<::String>]
|
2315
2315
|
# The set of permissions to check for the `resource`. Permissions with
|
2316
2316
|
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
2317
2317
|
# information see
|
2318
2318
|
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
2319
2319
|
#
|
2320
2320
|
# @yield [response, operation] Access the result along with the RPC operation
|
2321
|
-
# @yieldparam response [Google::Iam::V1::TestIamPermissionsResponse]
|
2322
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
2321
|
+
# @yieldparam response [::Google::Iam::V1::TestIamPermissionsResponse]
|
2322
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2323
2323
|
#
|
2324
|
-
# @return [Google::Iam::V1::TestIamPermissionsResponse]
|
2324
|
+
# @return [::Google::Iam::V1::TestIamPermissionsResponse]
|
2325
2325
|
#
|
2326
|
-
# @raise [Google::Cloud::Error] if the RPC is aborted.
|
2326
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2327
2327
|
#
|
2328
2328
|
def test_iam_permissions request, options = nil
|
2329
|
-
raise ArgumentError, "request must be provided" if request.nil?
|
2329
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2330
2330
|
|
2331
|
-
request = Gapic::Protobuf.coerce request, to: Google::Iam::V1::TestIamPermissionsRequest
|
2331
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Iam::V1::TestIamPermissionsRequest
|
2332
2332
|
|
2333
2333
|
# Converts hash and nil to an options object
|
2334
|
-
options = Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2334
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2335
2335
|
|
2336
2336
|
# Customize the options with defaults
|
2337
2337
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
2338
2338
|
|
2339
2339
|
# Set x-goog-api-client and x-goog-user-project headers
|
2340
|
-
metadata[:"x-goog-api-client"] ||= Gapic::Headers.x_goog_api_client \
|
2340
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2341
2341
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2342
2342
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
2343
2343
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
@@ -2358,8 +2358,8 @@ module Google
|
|
2358
2358
|
yield response, operation if block_given?
|
2359
2359
|
return response
|
2360
2360
|
end
|
2361
|
-
rescue GRPC::BadStatus => e
|
2362
|
-
raise Google::Cloud::Error.from_error(e)
|
2361
|
+
rescue ::GRPC::BadStatus => e
|
2362
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2363
2363
|
end
|
2364
2364
|
|
2365
2365
|
##
|
@@ -2369,7 +2369,7 @@ module Google
|
|
2369
2369
|
# providing control over timeouts, retry behavior, logging, transport
|
2370
2370
|
# parameters, and other low-level controls. Certain parameters can also be
|
2371
2371
|
# applied individually to specific RPCs. See
|
2372
|
-
# {Google::Cloud::DataCatalog::V1::DataCatalog::Client::Configuration::Rpcs}
|
2372
|
+
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client::Configuration::Rpcs}
|
2373
2373
|
# for a list of RPCs that can be configured independently.
|
2374
2374
|
#
|
2375
2375
|
# Configuration can be applied globally to all clients, or to a single client
|
@@ -2380,22 +2380,22 @@ module Google
|
|
2380
2380
|
# To modify the global config, setting the timeout for search_catalog
|
2381
2381
|
# to 20 seconds, and all remaining timeouts to 10 seconds:
|
2382
2382
|
#
|
2383
|
-
# Google::Cloud::DataCatalog::V1::DataCatalog::Client.configure do |config|
|
2384
|
-
# config.timeout =
|
2385
|
-
# config.rpcs.search_catalog.timeout =
|
2383
|
+
# ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.configure do |config|
|
2384
|
+
# config.timeout = 10.0
|
2385
|
+
# config.rpcs.search_catalog.timeout = 20.0
|
2386
2386
|
# end
|
2387
2387
|
#
|
2388
2388
|
# To apply the above configuration only to a new client:
|
2389
2389
|
#
|
2390
|
-
# client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new do |config|
|
2391
|
-
# config.timeout =
|
2392
|
-
# config.rpcs.search_catalog.timeout =
|
2390
|
+
# client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.new do |config|
|
2391
|
+
# config.timeout = 10.0
|
2392
|
+
# config.rpcs.search_catalog.timeout = 20.0
|
2393
2393
|
# end
|
2394
2394
|
#
|
2395
2395
|
# @!attribute [rw] endpoint
|
2396
2396
|
# The hostname or hostname:port of the service endpoint.
|
2397
2397
|
# Defaults to `"datacatalog.googleapis.com"`.
|
2398
|
-
# @return [String]
|
2398
|
+
# @return [::String]
|
2399
2399
|
# @!attribute [rw] credentials
|
2400
2400
|
# Credentials to send with calls. You may provide any of the following types:
|
2401
2401
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -2407,29 +2407,29 @@ module Google
|
|
2407
2407
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2408
2408
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2409
2409
|
# * (`nil`) indicating no credentials
|
2410
|
-
# @return [Object]
|
2410
|
+
# @return [::Object]
|
2411
2411
|
# @!attribute [rw] scope
|
2412
2412
|
# The OAuth scopes
|
2413
|
-
# @return [Array
|
2413
|
+
# @return [::Array<::String>]
|
2414
2414
|
# @!attribute [rw] lib_name
|
2415
2415
|
# The library name as recorded in instrumentation and logging
|
2416
|
-
# @return [String]
|
2416
|
+
# @return [::String]
|
2417
2417
|
# @!attribute [rw] lib_version
|
2418
2418
|
# The library version as recorded in instrumentation and logging
|
2419
|
-
# @return [String]
|
2419
|
+
# @return [::String]
|
2420
2420
|
# @!attribute [rw] channel_args
|
2421
2421
|
# Extra parameters passed to the gRPC channel. Note: this is ignored if a
|
2422
2422
|
# `GRPC::Core::Channel` object is provided as the credential.
|
2423
|
-
# @return [Hash]
|
2423
|
+
# @return [::Hash]
|
2424
2424
|
# @!attribute [rw] interceptors
|
2425
2425
|
# An array of interceptors that are run before calls are executed.
|
2426
|
-
# @return [Array
|
2426
|
+
# @return [::Array<::GRPC::ClientInterceptor>]
|
2427
2427
|
# @!attribute [rw] timeout
|
2428
|
-
# The call timeout in
|
2429
|
-
# @return [Numeric]
|
2428
|
+
# The call timeout in seconds.
|
2429
|
+
# @return [::Numeric]
|
2430
2430
|
# @!attribute [rw] metadata
|
2431
2431
|
# Additional gRPC headers to be sent with the call.
|
2432
|
-
# @return [Hash{Symbol
|
2432
|
+
# @return [::Hash{::Symbol=>::String}]
|
2433
2433
|
# @!attribute [rw] retry_policy
|
2434
2434
|
# The retry policy. The value is a hash with the following keys:
|
2435
2435
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
@@ -2437,10 +2437,10 @@ module Google
|
|
2437
2437
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
2438
2438
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
2439
2439
|
# trigger a retry.
|
2440
|
-
# @return [Hash]
|
2440
|
+
# @return [::Hash]
|
2441
2441
|
#
|
2442
2442
|
class Configuration
|
2443
|
-
extend Gapic::Config
|
2443
|
+
extend ::Gapic::Config
|
2444
2444
|
|
2445
2445
|
config_attr :endpoint, "datacatalog.googleapis.com", String
|
2446
2446
|
config_attr :credentials, nil do |value|
|
@@ -2448,14 +2448,14 @@ module Google
|
|
2448
2448
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
2449
2449
|
allowed.any? { |klass| klass === value }
|
2450
2450
|
end
|
2451
|
-
config_attr :scope, nil, String, Array, nil
|
2452
|
-
config_attr :lib_name, nil, String, nil
|
2453
|
-
config_attr :lib_version, nil, String, nil
|
2454
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, Hash, nil)
|
2455
|
-
config_attr :interceptors, nil, Array, nil
|
2456
|
-
config_attr :timeout, nil, Numeric, nil
|
2457
|
-
config_attr :metadata, nil, Hash, nil
|
2458
|
-
config_attr :retry_policy, nil, Hash, Proc, nil
|
2451
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
2452
|
+
config_attr :lib_name, nil, ::String, nil
|
2453
|
+
config_attr :lib_version, nil, ::String, nil
|
2454
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
2455
|
+
config_attr :interceptors, nil, ::Array, nil
|
2456
|
+
config_attr :timeout, nil, ::Numeric, nil
|
2457
|
+
config_attr :metadata, nil, ::Hash, nil
|
2458
|
+
config_attr :retry_policy, nil, ::Hash, Proc, nil
|
2459
2459
|
|
2460
2460
|
# @private
|
2461
2461
|
def initialize parent_config = nil
|
@@ -2496,196 +2496,196 @@ module Google
|
|
2496
2496
|
class Rpcs
|
2497
2497
|
##
|
2498
2498
|
# RPC-specific configuration for `search_catalog`
|
2499
|
-
# @return [Gapic::Config::Method]
|
2499
|
+
# @return [::Gapic::Config::Method]
|
2500
2500
|
#
|
2501
2501
|
attr_reader :search_catalog
|
2502
2502
|
##
|
2503
2503
|
# RPC-specific configuration for `create_entry_group`
|
2504
|
-
# @return [Gapic::Config::Method]
|
2504
|
+
# @return [::Gapic::Config::Method]
|
2505
2505
|
#
|
2506
2506
|
attr_reader :create_entry_group
|
2507
2507
|
##
|
2508
2508
|
# RPC-specific configuration for `get_entry_group`
|
2509
|
-
# @return [Gapic::Config::Method]
|
2509
|
+
# @return [::Gapic::Config::Method]
|
2510
2510
|
#
|
2511
2511
|
attr_reader :get_entry_group
|
2512
2512
|
##
|
2513
2513
|
# RPC-specific configuration for `update_entry_group`
|
2514
|
-
# @return [Gapic::Config::Method]
|
2514
|
+
# @return [::Gapic::Config::Method]
|
2515
2515
|
#
|
2516
2516
|
attr_reader :update_entry_group
|
2517
2517
|
##
|
2518
2518
|
# RPC-specific configuration for `delete_entry_group`
|
2519
|
-
# @return [Gapic::Config::Method]
|
2519
|
+
# @return [::Gapic::Config::Method]
|
2520
2520
|
#
|
2521
2521
|
attr_reader :delete_entry_group
|
2522
2522
|
##
|
2523
2523
|
# RPC-specific configuration for `list_entry_groups`
|
2524
|
-
# @return [Gapic::Config::Method]
|
2524
|
+
# @return [::Gapic::Config::Method]
|
2525
2525
|
#
|
2526
2526
|
attr_reader :list_entry_groups
|
2527
2527
|
##
|
2528
2528
|
# RPC-specific configuration for `create_entry`
|
2529
|
-
# @return [Gapic::Config::Method]
|
2529
|
+
# @return [::Gapic::Config::Method]
|
2530
2530
|
#
|
2531
2531
|
attr_reader :create_entry
|
2532
2532
|
##
|
2533
2533
|
# RPC-specific configuration for `update_entry`
|
2534
|
-
# @return [Gapic::Config::Method]
|
2534
|
+
# @return [::Gapic::Config::Method]
|
2535
2535
|
#
|
2536
2536
|
attr_reader :update_entry
|
2537
2537
|
##
|
2538
2538
|
# RPC-specific configuration for `delete_entry`
|
2539
|
-
# @return [Gapic::Config::Method]
|
2539
|
+
# @return [::Gapic::Config::Method]
|
2540
2540
|
#
|
2541
2541
|
attr_reader :delete_entry
|
2542
2542
|
##
|
2543
2543
|
# RPC-specific configuration for `get_entry`
|
2544
|
-
# @return [Gapic::Config::Method]
|
2544
|
+
# @return [::Gapic::Config::Method]
|
2545
2545
|
#
|
2546
2546
|
attr_reader :get_entry
|
2547
2547
|
##
|
2548
2548
|
# RPC-specific configuration for `lookup_entry`
|
2549
|
-
# @return [Gapic::Config::Method]
|
2549
|
+
# @return [::Gapic::Config::Method]
|
2550
2550
|
#
|
2551
2551
|
attr_reader :lookup_entry
|
2552
2552
|
##
|
2553
2553
|
# RPC-specific configuration for `list_entries`
|
2554
|
-
# @return [Gapic::Config::Method]
|
2554
|
+
# @return [::Gapic::Config::Method]
|
2555
2555
|
#
|
2556
2556
|
attr_reader :list_entries
|
2557
2557
|
##
|
2558
2558
|
# RPC-specific configuration for `create_tag_template`
|
2559
|
-
# @return [Gapic::Config::Method]
|
2559
|
+
# @return [::Gapic::Config::Method]
|
2560
2560
|
#
|
2561
2561
|
attr_reader :create_tag_template
|
2562
2562
|
##
|
2563
2563
|
# RPC-specific configuration for `get_tag_template`
|
2564
|
-
# @return [Gapic::Config::Method]
|
2564
|
+
# @return [::Gapic::Config::Method]
|
2565
2565
|
#
|
2566
2566
|
attr_reader :get_tag_template
|
2567
2567
|
##
|
2568
2568
|
# RPC-specific configuration for `update_tag_template`
|
2569
|
-
# @return [Gapic::Config::Method]
|
2569
|
+
# @return [::Gapic::Config::Method]
|
2570
2570
|
#
|
2571
2571
|
attr_reader :update_tag_template
|
2572
2572
|
##
|
2573
2573
|
# RPC-specific configuration for `delete_tag_template`
|
2574
|
-
# @return [Gapic::Config::Method]
|
2574
|
+
# @return [::Gapic::Config::Method]
|
2575
2575
|
#
|
2576
2576
|
attr_reader :delete_tag_template
|
2577
2577
|
##
|
2578
2578
|
# RPC-specific configuration for `create_tag_template_field`
|
2579
|
-
# @return [Gapic::Config::Method]
|
2579
|
+
# @return [::Gapic::Config::Method]
|
2580
2580
|
#
|
2581
2581
|
attr_reader :create_tag_template_field
|
2582
2582
|
##
|
2583
2583
|
# RPC-specific configuration for `update_tag_template_field`
|
2584
|
-
# @return [Gapic::Config::Method]
|
2584
|
+
# @return [::Gapic::Config::Method]
|
2585
2585
|
#
|
2586
2586
|
attr_reader :update_tag_template_field
|
2587
2587
|
##
|
2588
2588
|
# RPC-specific configuration for `rename_tag_template_field`
|
2589
|
-
# @return [Gapic::Config::Method]
|
2589
|
+
# @return [::Gapic::Config::Method]
|
2590
2590
|
#
|
2591
2591
|
attr_reader :rename_tag_template_field
|
2592
2592
|
##
|
2593
2593
|
# RPC-specific configuration for `delete_tag_template_field`
|
2594
|
-
# @return [Gapic::Config::Method]
|
2594
|
+
# @return [::Gapic::Config::Method]
|
2595
2595
|
#
|
2596
2596
|
attr_reader :delete_tag_template_field
|
2597
2597
|
##
|
2598
2598
|
# RPC-specific configuration for `create_tag`
|
2599
|
-
# @return [Gapic::Config::Method]
|
2599
|
+
# @return [::Gapic::Config::Method]
|
2600
2600
|
#
|
2601
2601
|
attr_reader :create_tag
|
2602
2602
|
##
|
2603
2603
|
# RPC-specific configuration for `update_tag`
|
2604
|
-
# @return [Gapic::Config::Method]
|
2604
|
+
# @return [::Gapic::Config::Method]
|
2605
2605
|
#
|
2606
2606
|
attr_reader :update_tag
|
2607
2607
|
##
|
2608
2608
|
# RPC-specific configuration for `delete_tag`
|
2609
|
-
# @return [Gapic::Config::Method]
|
2609
|
+
# @return [::Gapic::Config::Method]
|
2610
2610
|
#
|
2611
2611
|
attr_reader :delete_tag
|
2612
2612
|
##
|
2613
2613
|
# RPC-specific configuration for `list_tags`
|
2614
|
-
# @return [Gapic::Config::Method]
|
2614
|
+
# @return [::Gapic::Config::Method]
|
2615
2615
|
#
|
2616
2616
|
attr_reader :list_tags
|
2617
2617
|
##
|
2618
2618
|
# RPC-specific configuration for `set_iam_policy`
|
2619
|
-
# @return [Gapic::Config::Method]
|
2619
|
+
# @return [::Gapic::Config::Method]
|
2620
2620
|
#
|
2621
2621
|
attr_reader :set_iam_policy
|
2622
2622
|
##
|
2623
2623
|
# RPC-specific configuration for `get_iam_policy`
|
2624
|
-
# @return [Gapic::Config::Method]
|
2624
|
+
# @return [::Gapic::Config::Method]
|
2625
2625
|
#
|
2626
2626
|
attr_reader :get_iam_policy
|
2627
2627
|
##
|
2628
2628
|
# RPC-specific configuration for `test_iam_permissions`
|
2629
|
-
# @return [Gapic::Config::Method]
|
2629
|
+
# @return [::Gapic::Config::Method]
|
2630
2630
|
#
|
2631
2631
|
attr_reader :test_iam_permissions
|
2632
2632
|
|
2633
2633
|
# @private
|
2634
2634
|
def initialize parent_rpcs = nil
|
2635
2635
|
search_catalog_config = parent_rpcs&.search_catalog if parent_rpcs&.respond_to? :search_catalog
|
2636
|
-
@search_catalog = Gapic::Config::Method.new search_catalog_config
|
2636
|
+
@search_catalog = ::Gapic::Config::Method.new search_catalog_config
|
2637
2637
|
create_entry_group_config = parent_rpcs&.create_entry_group if parent_rpcs&.respond_to? :create_entry_group
|
2638
|
-
@create_entry_group = Gapic::Config::Method.new create_entry_group_config
|
2638
|
+
@create_entry_group = ::Gapic::Config::Method.new create_entry_group_config
|
2639
2639
|
get_entry_group_config = parent_rpcs&.get_entry_group if parent_rpcs&.respond_to? :get_entry_group
|
2640
|
-
@get_entry_group = Gapic::Config::Method.new get_entry_group_config
|
2640
|
+
@get_entry_group = ::Gapic::Config::Method.new get_entry_group_config
|
2641
2641
|
update_entry_group_config = parent_rpcs&.update_entry_group if parent_rpcs&.respond_to? :update_entry_group
|
2642
|
-
@update_entry_group = Gapic::Config::Method.new update_entry_group_config
|
2642
|
+
@update_entry_group = ::Gapic::Config::Method.new update_entry_group_config
|
2643
2643
|
delete_entry_group_config = parent_rpcs&.delete_entry_group if parent_rpcs&.respond_to? :delete_entry_group
|
2644
|
-
@delete_entry_group = Gapic::Config::Method.new delete_entry_group_config
|
2644
|
+
@delete_entry_group = ::Gapic::Config::Method.new delete_entry_group_config
|
2645
2645
|
list_entry_groups_config = parent_rpcs&.list_entry_groups if parent_rpcs&.respond_to? :list_entry_groups
|
2646
|
-
@list_entry_groups = Gapic::Config::Method.new list_entry_groups_config
|
2646
|
+
@list_entry_groups = ::Gapic::Config::Method.new list_entry_groups_config
|
2647
2647
|
create_entry_config = parent_rpcs&.create_entry if parent_rpcs&.respond_to? :create_entry
|
2648
|
-
@create_entry = Gapic::Config::Method.new create_entry_config
|
2648
|
+
@create_entry = ::Gapic::Config::Method.new create_entry_config
|
2649
2649
|
update_entry_config = parent_rpcs&.update_entry if parent_rpcs&.respond_to? :update_entry
|
2650
|
-
@update_entry = Gapic::Config::Method.new update_entry_config
|
2650
|
+
@update_entry = ::Gapic::Config::Method.new update_entry_config
|
2651
2651
|
delete_entry_config = parent_rpcs&.delete_entry if parent_rpcs&.respond_to? :delete_entry
|
2652
|
-
@delete_entry = Gapic::Config::Method.new delete_entry_config
|
2652
|
+
@delete_entry = ::Gapic::Config::Method.new delete_entry_config
|
2653
2653
|
get_entry_config = parent_rpcs&.get_entry if parent_rpcs&.respond_to? :get_entry
|
2654
|
-
@get_entry = Gapic::Config::Method.new get_entry_config
|
2654
|
+
@get_entry = ::Gapic::Config::Method.new get_entry_config
|
2655
2655
|
lookup_entry_config = parent_rpcs&.lookup_entry if parent_rpcs&.respond_to? :lookup_entry
|
2656
|
-
@lookup_entry = Gapic::Config::Method.new lookup_entry_config
|
2656
|
+
@lookup_entry = ::Gapic::Config::Method.new lookup_entry_config
|
2657
2657
|
list_entries_config = parent_rpcs&.list_entries if parent_rpcs&.respond_to? :list_entries
|
2658
|
-
@list_entries = Gapic::Config::Method.new list_entries_config
|
2658
|
+
@list_entries = ::Gapic::Config::Method.new list_entries_config
|
2659
2659
|
create_tag_template_config = parent_rpcs&.create_tag_template if parent_rpcs&.respond_to? :create_tag_template
|
2660
|
-
@create_tag_template = Gapic::Config::Method.new create_tag_template_config
|
2660
|
+
@create_tag_template = ::Gapic::Config::Method.new create_tag_template_config
|
2661
2661
|
get_tag_template_config = parent_rpcs&.get_tag_template if parent_rpcs&.respond_to? :get_tag_template
|
2662
|
-
@get_tag_template = Gapic::Config::Method.new get_tag_template_config
|
2662
|
+
@get_tag_template = ::Gapic::Config::Method.new get_tag_template_config
|
2663
2663
|
update_tag_template_config = parent_rpcs&.update_tag_template if parent_rpcs&.respond_to? :update_tag_template
|
2664
|
-
@update_tag_template = Gapic::Config::Method.new update_tag_template_config
|
2664
|
+
@update_tag_template = ::Gapic::Config::Method.new update_tag_template_config
|
2665
2665
|
delete_tag_template_config = parent_rpcs&.delete_tag_template if parent_rpcs&.respond_to? :delete_tag_template
|
2666
|
-
@delete_tag_template = Gapic::Config::Method.new delete_tag_template_config
|
2666
|
+
@delete_tag_template = ::Gapic::Config::Method.new delete_tag_template_config
|
2667
2667
|
create_tag_template_field_config = parent_rpcs&.create_tag_template_field if parent_rpcs&.respond_to? :create_tag_template_field
|
2668
|
-
@create_tag_template_field = Gapic::Config::Method.new create_tag_template_field_config
|
2668
|
+
@create_tag_template_field = ::Gapic::Config::Method.new create_tag_template_field_config
|
2669
2669
|
update_tag_template_field_config = parent_rpcs&.update_tag_template_field if parent_rpcs&.respond_to? :update_tag_template_field
|
2670
|
-
@update_tag_template_field = Gapic::Config::Method.new update_tag_template_field_config
|
2670
|
+
@update_tag_template_field = ::Gapic::Config::Method.new update_tag_template_field_config
|
2671
2671
|
rename_tag_template_field_config = parent_rpcs&.rename_tag_template_field if parent_rpcs&.respond_to? :rename_tag_template_field
|
2672
|
-
@rename_tag_template_field = Gapic::Config::Method.new rename_tag_template_field_config
|
2672
|
+
@rename_tag_template_field = ::Gapic::Config::Method.new rename_tag_template_field_config
|
2673
2673
|
delete_tag_template_field_config = parent_rpcs&.delete_tag_template_field if parent_rpcs&.respond_to? :delete_tag_template_field
|
2674
|
-
@delete_tag_template_field = Gapic::Config::Method.new delete_tag_template_field_config
|
2674
|
+
@delete_tag_template_field = ::Gapic::Config::Method.new delete_tag_template_field_config
|
2675
2675
|
create_tag_config = parent_rpcs&.create_tag if parent_rpcs&.respond_to? :create_tag
|
2676
|
-
@create_tag = Gapic::Config::Method.new create_tag_config
|
2676
|
+
@create_tag = ::Gapic::Config::Method.new create_tag_config
|
2677
2677
|
update_tag_config = parent_rpcs&.update_tag if parent_rpcs&.respond_to? :update_tag
|
2678
|
-
@update_tag = Gapic::Config::Method.new update_tag_config
|
2678
|
+
@update_tag = ::Gapic::Config::Method.new update_tag_config
|
2679
2679
|
delete_tag_config = parent_rpcs&.delete_tag if parent_rpcs&.respond_to? :delete_tag
|
2680
|
-
@delete_tag = Gapic::Config::Method.new delete_tag_config
|
2680
|
+
@delete_tag = ::Gapic::Config::Method.new delete_tag_config
|
2681
2681
|
list_tags_config = parent_rpcs&.list_tags if parent_rpcs&.respond_to? :list_tags
|
2682
|
-
@list_tags = Gapic::Config::Method.new list_tags_config
|
2682
|
+
@list_tags = ::Gapic::Config::Method.new list_tags_config
|
2683
2683
|
set_iam_policy_config = parent_rpcs&.set_iam_policy if parent_rpcs&.respond_to? :set_iam_policy
|
2684
|
-
@set_iam_policy = Gapic::Config::Method.new set_iam_policy_config
|
2684
|
+
@set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
|
2685
2685
|
get_iam_policy_config = parent_rpcs&.get_iam_policy if parent_rpcs&.respond_to? :get_iam_policy
|
2686
|
-
@get_iam_policy = Gapic::Config::Method.new get_iam_policy_config
|
2686
|
+
@get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
|
2687
2687
|
test_iam_permissions_config = parent_rpcs&.test_iam_permissions if parent_rpcs&.respond_to? :test_iam_permissions
|
2688
|
-
@test_iam_permissions = Gapic::Config::Method.new test_iam_permissions_config
|
2688
|
+
@test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
|
2689
2689
|
|
2690
2690
|
yield self if block_given?
|
2691
2691
|
end
|