google-apis-dataplex_v1 0.60.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4540bf8295e65ae94cc7bb1ce703be682447ca1557c3326f36e72cf60baa2849
|
4
|
+
data.tar.gz: da0b08a2a8ecf8238a375812f230e9e7c9eb48203afd34777eabb2a8272d9b39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e27af8ed9821b373c4092f776c8a6758da33e1473a88e462d4ce7f3be9a7532ae9ecbaed5cd2b9d0e0ac7c3cf6826dc3c6344436a3e7e7c80297bd05e603f621
|
7
|
+
data.tar.gz: 0bfd263fc3227694a3971493e429c7ff1ba5ad70b57dcf5f78e80f8503aaff643331fc6c8ef9192e19c7ada97e415b98420c3963e1cf4ec8e214457fc7dab690
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dataplex_v1
|
2
2
|
|
3
|
+
### v0.62.0 (2024-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240820
|
6
|
+
|
7
|
+
### v0.61.0 (2024-08-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240802
|
10
|
+
|
3
11
|
### v0.60.0 (2024-08-04)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240722
|
@@ -22,6 +22,433 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DataplexV1
|
24
24
|
|
25
|
+
# Provides the mapping of a cloud asset to a direct physical location or to a
|
26
|
+
# proxy that defines the location on its behalf.
|
27
|
+
class CloudReliabilityZicyWs3DataplaneProtosAssetLocation
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
# Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants
|
31
|
+
# that use CCFE RMS for storing resource metadata.
|
32
|
+
# Corresponds to the JSON property `ccfeRmsPath`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :ccfe_rms_path
|
35
|
+
|
36
|
+
# Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state
|
37
|
+
# of the region at the time of asset creation.
|
38
|
+
# Corresponds to the JSON property `expected`
|
39
|
+
# @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations]
|
40
|
+
attr_accessor :expected
|
41
|
+
|
42
|
+
# Defines extra parameters required for specific asset types.
|
43
|
+
# Corresponds to the JSON property `extraParameters`
|
44
|
+
# @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosExtraParameter>]
|
45
|
+
attr_accessor :extra_parameters
|
46
|
+
|
47
|
+
# Contains all kinds of physical location definitions for this asset.
|
48
|
+
# Corresponds to the JSON property `locationData`
|
49
|
+
# @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationData>]
|
50
|
+
attr_accessor :location_data
|
51
|
+
|
52
|
+
# Defines parents assets if any in order to allow later generation of
|
53
|
+
# child_asset_location data via child assets.
|
54
|
+
# Corresponds to the JSON property `parentAsset`
|
55
|
+
# @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset>]
|
56
|
+
attr_accessor :parent_asset
|
57
|
+
|
58
|
+
def initialize(**args)
|
59
|
+
update!(**args)
|
60
|
+
end
|
61
|
+
|
62
|
+
# Update properties of this object
|
63
|
+
def update!(**args)
|
64
|
+
@ccfe_rms_path = args[:ccfe_rms_path] if args.key?(:ccfe_rms_path)
|
65
|
+
@expected = args[:expected] if args.key?(:expected)
|
66
|
+
@extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters)
|
67
|
+
@location_data = args[:location_data] if args.key?(:location_data)
|
68
|
+
@parent_asset = args[:parent_asset] if args.key?(:parent_asset)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
#
|
73
|
+
class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations
|
74
|
+
include Google::Apis::Core::Hashable
|
75
|
+
|
76
|
+
# Explicit overrides for ZI and ZS requirements to be used for resources that
|
77
|
+
# should be excluded from ZI/ZS verification logic.
|
78
|
+
# Corresponds to the JSON property `requirementOverride`
|
79
|
+
# @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride]
|
80
|
+
attr_accessor :requirement_override
|
81
|
+
|
82
|
+
#
|
83
|
+
# Corresponds to the JSON property `ziOrgPolicy`
|
84
|
+
# @return [String]
|
85
|
+
attr_accessor :zi_org_policy
|
86
|
+
|
87
|
+
#
|
88
|
+
# Corresponds to the JSON property `ziRegionPolicy`
|
89
|
+
# @return [String]
|
90
|
+
attr_accessor :zi_region_policy
|
91
|
+
|
92
|
+
#
|
93
|
+
# Corresponds to the JSON property `ziRegionState`
|
94
|
+
# @return [String]
|
95
|
+
attr_accessor :zi_region_state
|
96
|
+
|
97
|
+
# Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
|
98
|
+
# for setting ZI expectations as per go/zicy-publish-physical-location.
|
99
|
+
# Corresponds to the JSON property `zoneIsolation`
|
100
|
+
# @return [String]
|
101
|
+
attr_accessor :zone_isolation
|
102
|
+
|
103
|
+
# Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
|
104
|
+
# expectations as per go/zicy-publish-physical-location.
|
105
|
+
# Corresponds to the JSON property `zoneSeparation`
|
106
|
+
# @return [String]
|
107
|
+
attr_accessor :zone_separation
|
108
|
+
|
109
|
+
#
|
110
|
+
# Corresponds to the JSON property `zsOrgPolicy`
|
111
|
+
# @return [String]
|
112
|
+
attr_accessor :zs_org_policy
|
113
|
+
|
114
|
+
#
|
115
|
+
# Corresponds to the JSON property `zsRegionState`
|
116
|
+
# @return [String]
|
117
|
+
attr_accessor :zs_region_state
|
118
|
+
|
119
|
+
def initialize(**args)
|
120
|
+
update!(**args)
|
121
|
+
end
|
122
|
+
|
123
|
+
# Update properties of this object
|
124
|
+
def update!(**args)
|
125
|
+
@requirement_override = args[:requirement_override] if args.key?(:requirement_override)
|
126
|
+
@zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
|
127
|
+
@zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
|
128
|
+
@zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
|
129
|
+
@zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
|
130
|
+
@zone_separation = args[:zone_separation] if args.key?(:zone_separation)
|
131
|
+
@zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
|
132
|
+
@zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
#
|
137
|
+
class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride
|
138
|
+
include Google::Apis::Core::Hashable
|
139
|
+
|
140
|
+
#
|
141
|
+
# Corresponds to the JSON property `ziOverride`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :zi_override
|
144
|
+
|
145
|
+
#
|
146
|
+
# Corresponds to the JSON property `zsOverride`
|
147
|
+
# @return [String]
|
148
|
+
attr_accessor :zs_override
|
149
|
+
|
150
|
+
def initialize(**args)
|
151
|
+
update!(**args)
|
152
|
+
end
|
153
|
+
|
154
|
+
# Update properties of this object
|
155
|
+
def update!(**args)
|
156
|
+
@zi_override = args[:zi_override] if args.key?(:zi_override)
|
157
|
+
@zs_override = args[:zs_override] if args.key?(:zs_override)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# Policy ID that identified data placement in Blobstore as per go/blobstore-user-
|
162
|
+
# guide#data-metadata-placement-and-failure-domains
|
163
|
+
class CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation
|
164
|
+
include Google::Apis::Core::Hashable
|
165
|
+
|
166
|
+
#
|
167
|
+
# Corresponds to the JSON property `policyId`
|
168
|
+
# @return [Array<String>]
|
169
|
+
attr_accessor :policy_id
|
170
|
+
|
171
|
+
def initialize(**args)
|
172
|
+
update!(**args)
|
173
|
+
end
|
174
|
+
|
175
|
+
# Update properties of this object
|
176
|
+
def update!(**args)
|
177
|
+
@policy_id = args[:policy_id] if args.key?(:policy_id)
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
#
|
182
|
+
class CloudReliabilityZicyWs3DataplaneProtosCloudAsset
|
183
|
+
include Google::Apis::Core::Hashable
|
184
|
+
|
185
|
+
#
|
186
|
+
# Corresponds to the JSON property `assetName`
|
187
|
+
# @return [String]
|
188
|
+
attr_accessor :asset_name
|
189
|
+
|
190
|
+
#
|
191
|
+
# Corresponds to the JSON property `assetType`
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :asset_type
|
194
|
+
|
195
|
+
def initialize(**args)
|
196
|
+
update!(**args)
|
197
|
+
end
|
198
|
+
|
199
|
+
# Update properties of this object
|
200
|
+
def update!(**args)
|
201
|
+
@asset_name = args[:asset_name] if args.key?(:asset_name)
|
202
|
+
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
#
|
207
|
+
class CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition
|
208
|
+
include Google::Apis::Core::Hashable
|
209
|
+
|
210
|
+
#
|
211
|
+
# Corresponds to the JSON property `childAsset`
|
212
|
+
# @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset>]
|
213
|
+
attr_accessor :child_asset
|
214
|
+
|
215
|
+
def initialize(**args)
|
216
|
+
update!(**args)
|
217
|
+
end
|
218
|
+
|
219
|
+
# Update properties of this object
|
220
|
+
def update!(**args)
|
221
|
+
@child_asset = args[:child_asset] if args.key?(:child_asset)
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
#
|
226
|
+
class CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment
|
227
|
+
include Google::Apis::Core::Hashable
|
228
|
+
|
229
|
+
#
|
230
|
+
# Corresponds to the JSON property `location`
|
231
|
+
# @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationAssignment>]
|
232
|
+
attr_accessor :location
|
233
|
+
|
234
|
+
def initialize(**args)
|
235
|
+
update!(**args)
|
236
|
+
end
|
237
|
+
|
238
|
+
# Update properties of this object
|
239
|
+
def update!(**args)
|
240
|
+
@location = args[:location] if args.key?(:location)
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# Defines parameters that should only be used for specific asset types.
|
245
|
+
class CloudReliabilityZicyWs3DataplaneProtosExtraParameter
|
246
|
+
include Google::Apis::Core::Hashable
|
247
|
+
|
248
|
+
# To be used for specifying the intended distribution of regional compute.
|
249
|
+
# googleapis.com/InstanceGroupManager instances
|
250
|
+
# Corresponds to the JSON property `regionalMigDistributionPolicy`
|
251
|
+
# @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy]
|
252
|
+
attr_accessor :regional_mig_distribution_policy
|
253
|
+
|
254
|
+
def initialize(**args)
|
255
|
+
update!(**args)
|
256
|
+
end
|
257
|
+
|
258
|
+
# Update properties of this object
|
259
|
+
def update!(**args)
|
260
|
+
@regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy)
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
#
|
265
|
+
class CloudReliabilityZicyWs3DataplaneProtosLocationAssignment
|
266
|
+
include Google::Apis::Core::Hashable
|
267
|
+
|
268
|
+
#
|
269
|
+
# Corresponds to the JSON property `location`
|
270
|
+
# @return [String]
|
271
|
+
attr_accessor :location
|
272
|
+
|
273
|
+
#
|
274
|
+
# Corresponds to the JSON property `locationType`
|
275
|
+
# @return [String]
|
276
|
+
attr_accessor :location_type
|
277
|
+
|
278
|
+
def initialize(**args)
|
279
|
+
update!(**args)
|
280
|
+
end
|
281
|
+
|
282
|
+
# Update properties of this object
|
283
|
+
def update!(**args)
|
284
|
+
@location = args[:location] if args.key?(:location)
|
285
|
+
@location_type = args[:location_type] if args.key?(:location_type)
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
#
|
290
|
+
class CloudReliabilityZicyWs3DataplaneProtosLocationData
|
291
|
+
include Google::Apis::Core::Hashable
|
292
|
+
|
293
|
+
# Policy ID that identified data placement in Blobstore as per go/blobstore-user-
|
294
|
+
# guide#data-metadata-placement-and-failure-domains
|
295
|
+
# Corresponds to the JSON property `blobstoreLocation`
|
296
|
+
# @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation]
|
297
|
+
attr_accessor :blobstore_location
|
298
|
+
|
299
|
+
#
|
300
|
+
# Corresponds to the JSON property `childAssetLocation`
|
301
|
+
# @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition]
|
302
|
+
attr_accessor :child_asset_location
|
303
|
+
|
304
|
+
#
|
305
|
+
# Corresponds to the JSON property `directLocation`
|
306
|
+
# @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment]
|
307
|
+
attr_accessor :direct_location
|
308
|
+
|
309
|
+
#
|
310
|
+
# Corresponds to the JSON property `gcpProjectProxy`
|
311
|
+
# @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy]
|
312
|
+
attr_accessor :gcp_project_proxy
|
313
|
+
|
314
|
+
# Message describing that the location of the customer resource is tied to
|
315
|
+
# placer allocations
|
316
|
+
# Corresponds to the JSON property `placerLocation`
|
317
|
+
# @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosPlacerLocation]
|
318
|
+
attr_accessor :placer_location
|
319
|
+
|
320
|
+
#
|
321
|
+
# Corresponds to the JSON property `spannerLocation`
|
322
|
+
# @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosSpannerLocation]
|
323
|
+
attr_accessor :spanner_location
|
324
|
+
|
325
|
+
def initialize(**args)
|
326
|
+
update!(**args)
|
327
|
+
end
|
328
|
+
|
329
|
+
# Update properties of this object
|
330
|
+
def update!(**args)
|
331
|
+
@blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
|
332
|
+
@child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
|
333
|
+
@direct_location = args[:direct_location] if args.key?(:direct_location)
|
334
|
+
@gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
|
335
|
+
@placer_location = args[:placer_location] if args.key?(:placer_location)
|
336
|
+
@spanner_location = args[:spanner_location] if args.key?(:spanner_location)
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
# Message describing that the location of the customer resource is tied to
|
341
|
+
# placer allocations
|
342
|
+
class CloudReliabilityZicyWs3DataplaneProtosPlacerLocation
|
343
|
+
include Google::Apis::Core::Hashable
|
344
|
+
|
345
|
+
# Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
|
346
|
+
# root/my-dir")
|
347
|
+
# Corresponds to the JSON property `placerConfig`
|
348
|
+
# @return [String]
|
349
|
+
attr_accessor :placer_config
|
350
|
+
|
351
|
+
def initialize(**args)
|
352
|
+
update!(**args)
|
353
|
+
end
|
354
|
+
|
355
|
+
# Update properties of this object
|
356
|
+
def update!(**args)
|
357
|
+
@placer_config = args[:placer_config] if args.key?(:placer_config)
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
# To be used for specifying the intended distribution of regional compute.
|
362
|
+
# googleapis.com/InstanceGroupManager instances
|
363
|
+
class CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy
|
364
|
+
include Google::Apis::Core::Hashable
|
365
|
+
|
366
|
+
# The shape in which the group converges around distribution of resources.
|
367
|
+
# Instance of proto2 enum
|
368
|
+
# Corresponds to the JSON property `targetShape`
|
369
|
+
# @return [Fixnum]
|
370
|
+
attr_accessor :target_shape
|
371
|
+
|
372
|
+
# Cloud zones used by regional MIG to create instances.
|
373
|
+
# Corresponds to the JSON property `zones`
|
374
|
+
# @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration>]
|
375
|
+
attr_accessor :zones
|
376
|
+
|
377
|
+
def initialize(**args)
|
378
|
+
update!(**args)
|
379
|
+
end
|
380
|
+
|
381
|
+
# Update properties of this object
|
382
|
+
def update!(**args)
|
383
|
+
@target_shape = args[:target_shape] if args.key?(:target_shape)
|
384
|
+
@zones = args[:zones] if args.key?(:zones)
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
#
|
389
|
+
class CloudReliabilityZicyWs3DataplaneProtosSpannerLocation
|
390
|
+
include Google::Apis::Core::Hashable
|
391
|
+
|
392
|
+
# Set of backups used by the resource with name in the same format as what is
|
393
|
+
# available at http://table/spanner_automon.backup_metadata
|
394
|
+
# Corresponds to the JSON property `backupName`
|
395
|
+
# @return [Array<String>]
|
396
|
+
attr_accessor :backup_name
|
397
|
+
|
398
|
+
# Set of databases used by the resource in format /span//
|
399
|
+
# Corresponds to the JSON property `dbName`
|
400
|
+
# @return [Array<String>]
|
401
|
+
attr_accessor :db_name
|
402
|
+
|
403
|
+
def initialize(**args)
|
404
|
+
update!(**args)
|
405
|
+
end
|
406
|
+
|
407
|
+
# Update properties of this object
|
408
|
+
def update!(**args)
|
409
|
+
@backup_name = args[:backup_name] if args.key?(:backup_name)
|
410
|
+
@db_name = args[:db_name] if args.key?(:db_name)
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
#
|
415
|
+
class CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy
|
416
|
+
include Google::Apis::Core::Hashable
|
417
|
+
|
418
|
+
#
|
419
|
+
# Corresponds to the JSON property `projectNumbers`
|
420
|
+
# @return [Array<String>]
|
421
|
+
attr_accessor :project_numbers
|
422
|
+
|
423
|
+
def initialize(**args)
|
424
|
+
update!(**args)
|
425
|
+
end
|
426
|
+
|
427
|
+
# Update properties of this object
|
428
|
+
def update!(**args)
|
429
|
+
@project_numbers = args[:project_numbers] if args.key?(:project_numbers)
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
#
|
434
|
+
class CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration
|
435
|
+
include Google::Apis::Core::Hashable
|
436
|
+
|
437
|
+
#
|
438
|
+
# Corresponds to the JSON property `zone`
|
439
|
+
# @return [String]
|
440
|
+
attr_accessor :zone
|
441
|
+
|
442
|
+
def initialize(**args)
|
443
|
+
update!(**args)
|
444
|
+
end
|
445
|
+
|
446
|
+
# Update properties of this object
|
447
|
+
def update!(**args)
|
448
|
+
@zone = args[:zone] if args.key?(:zone)
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
25
452
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
26
453
|
# messages in your APIs. A typical example is to use it as the request or the
|
27
454
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -4015,7 +4442,9 @@ module Google
|
|
4015
4442
|
attr_accessor :entry_type
|
4016
4443
|
|
4017
4444
|
# Optional. A name for the entry that can be referenced by an external system.
|
4018
|
-
#
|
4445
|
+
# For more information, see Fully qualified names (https://cloud.google.com/data-
|
4446
|
+
# catalog/docs/fully-qualified-names). The maximum size of the field is 4000
|
4447
|
+
# characters.
|
4019
4448
|
# Corresponds to the JSON property `fullyQualifiedName`
|
4020
4449
|
# @return [String]
|
4021
4450
|
attr_accessor :fully_qualified_name
|
@@ -5727,9 +6156,9 @@ module Google
|
|
5727
6156
|
# @return [Hash<String,String>]
|
5728
6157
|
attr_accessor :labels
|
5729
6158
|
|
5730
|
-
# Output only. The name of the resource that the configuration is
|
5731
|
-
# the format projects/`project_number`/locations/`location_id`/
|
5732
|
-
# metadata_job_id`.
|
6159
|
+
# Output only. Identifier. The name of the resource that the configuration is
|
6160
|
+
# applied to, in the format projects/`project_number`/locations/`location_id`/
|
6161
|
+
# metadataJobs/`metadata_job_id`.
|
5733
6162
|
# Corresponds to the JSON property `name`
|
5734
6163
|
# @return [String]
|
5735
6164
|
attr_accessor :name
|
@@ -5739,7 +6168,7 @@ module Google
|
|
5739
6168
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobStatus]
|
5740
6169
|
attr_accessor :status
|
5741
6170
|
|
5742
|
-
#
|
6171
|
+
# Required. Metadata job type.
|
5743
6172
|
# Corresponds to the JSON property `type`
|
5744
6173
|
# @return [String]
|
5745
6174
|
attr_accessor :type
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DataplexV1
|
18
18
|
# Version of the google-apis-dataplex_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.62.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240820"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,96 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DataplexV1
|
24
24
|
|
25
|
+
class CloudReliabilityZicyWs3DataplaneProtosAssetLocation
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class CloudReliabilityZicyWs3DataplaneProtosCloudAsset
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CloudReliabilityZicyWs3DataplaneProtosExtraParameter
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CloudReliabilityZicyWs3DataplaneProtosLocationAssignment
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class CloudReliabilityZicyWs3DataplaneProtosLocationData
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class CloudReliabilityZicyWs3DataplaneProtosPlacerLocation
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class CloudReliabilityZicyWs3DataplaneProtosSpannerLocation
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
25
115
|
class Empty
|
26
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
117
|
|
@@ -1240,6 +1330,147 @@ module Google
|
|
1240
1330
|
include Google::Apis::Core::JsonObjectSupport
|
1241
1331
|
end
|
1242
1332
|
|
1333
|
+
class CloudReliabilityZicyWs3DataplaneProtosAssetLocation
|
1334
|
+
# @private
|
1335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1336
|
+
property :ccfe_rms_path, as: 'ccfeRmsPath'
|
1337
|
+
property :expected, as: 'expected', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations::Representation
|
1338
|
+
|
1339
|
+
collection :extra_parameters, as: 'extraParameters', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosExtraParameter, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosExtraParameter::Representation
|
1340
|
+
|
1341
|
+
collection :location_data, as: 'locationData', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationData, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationData::Representation
|
1342
|
+
|
1343
|
+
collection :parent_asset, as: 'parentAsset', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset::Representation
|
1344
|
+
|
1345
|
+
end
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations
|
1349
|
+
# @private
|
1350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1351
|
+
property :requirement_override, as: 'requirementOverride', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride::Representation
|
1352
|
+
|
1353
|
+
property :zi_org_policy, as: 'ziOrgPolicy'
|
1354
|
+
property :zi_region_policy, as: 'ziRegionPolicy'
|
1355
|
+
property :zi_region_state, as: 'ziRegionState'
|
1356
|
+
property :zone_isolation, as: 'zoneIsolation'
|
1357
|
+
property :zone_separation, as: 'zoneSeparation'
|
1358
|
+
property :zs_org_policy, as: 'zsOrgPolicy'
|
1359
|
+
property :zs_region_state, as: 'zsRegionState'
|
1360
|
+
end
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride
|
1364
|
+
# @private
|
1365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1366
|
+
property :zi_override, as: 'ziOverride'
|
1367
|
+
property :zs_override, as: 'zsOverride'
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
class CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation
|
1372
|
+
# @private
|
1373
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1374
|
+
collection :policy_id, as: 'policyId'
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
class CloudReliabilityZicyWs3DataplaneProtosCloudAsset
|
1379
|
+
# @private
|
1380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1381
|
+
property :asset_name, as: 'assetName'
|
1382
|
+
property :asset_type, as: 'assetType'
|
1383
|
+
end
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
class CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition
|
1387
|
+
# @private
|
1388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1389
|
+
collection :child_asset, as: 'childAsset', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset::Representation
|
1390
|
+
|
1391
|
+
end
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
class CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment
|
1395
|
+
# @private
|
1396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1397
|
+
collection :location, as: 'location', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationAssignment, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationAssignment::Representation
|
1398
|
+
|
1399
|
+
end
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
class CloudReliabilityZicyWs3DataplaneProtosExtraParameter
|
1403
|
+
# @private
|
1404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1405
|
+
property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy::Representation
|
1406
|
+
|
1407
|
+
end
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
class CloudReliabilityZicyWs3DataplaneProtosLocationAssignment
|
1411
|
+
# @private
|
1412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1413
|
+
property :location, as: 'location'
|
1414
|
+
property :location_type, as: 'locationType'
|
1415
|
+
end
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
class CloudReliabilityZicyWs3DataplaneProtosLocationData
|
1419
|
+
# @private
|
1420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1421
|
+
property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation::Representation
|
1422
|
+
|
1423
|
+
property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition::Representation
|
1424
|
+
|
1425
|
+
property :direct_location, as: 'directLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment::Representation
|
1426
|
+
|
1427
|
+
property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy::Representation
|
1428
|
+
|
1429
|
+
property :placer_location, as: 'placerLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosPlacerLocation, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosPlacerLocation::Representation
|
1430
|
+
|
1431
|
+
property :spanner_location, as: 'spannerLocation', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosSpannerLocation, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosSpannerLocation::Representation
|
1432
|
+
|
1433
|
+
end
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
class CloudReliabilityZicyWs3DataplaneProtosPlacerLocation
|
1437
|
+
# @private
|
1438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1439
|
+
property :placer_config, as: 'placerConfig'
|
1440
|
+
end
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
class CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy
|
1444
|
+
# @private
|
1445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1446
|
+
property :target_shape, as: 'targetShape'
|
1447
|
+
collection :zones, as: 'zones', class: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration, decorator: Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration::Representation
|
1448
|
+
|
1449
|
+
end
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
class CloudReliabilityZicyWs3DataplaneProtosSpannerLocation
|
1453
|
+
# @private
|
1454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1455
|
+
collection :backup_name, as: 'backupName'
|
1456
|
+
collection :db_name, as: 'dbName'
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
class CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy
|
1461
|
+
# @private
|
1462
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1463
|
+
collection :project_numbers, as: 'projectNumbers'
|
1464
|
+
end
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
class CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration
|
1468
|
+
# @private
|
1469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1470
|
+
property :zone, as: 'zone'
|
1471
|
+
end
|
1472
|
+
end
|
1473
|
+
|
1243
1474
|
class Empty
|
1244
1475
|
# @private
|
1245
1476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -172,6 +172,150 @@ module Google
|
|
172
172
|
execute_or_queue_command(command, &block)
|
173
173
|
end
|
174
174
|
|
175
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
176
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
177
|
+
# server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
|
178
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
179
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
180
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
181
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
182
|
+
# corresponding to Code.CANCELLED.
|
183
|
+
# @param [String] name
|
184
|
+
# The name of the operation resource to be cancelled.
|
185
|
+
# @param [Google::Apis::DataplexV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
186
|
+
# @param [String] fields
|
187
|
+
# Selector specifying which fields to include in a partial response.
|
188
|
+
# @param [String] quota_user
|
189
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
190
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
191
|
+
# @param [Google::Apis::RequestOptions] options
|
192
|
+
# Request-specific options
|
193
|
+
#
|
194
|
+
# @yield [result, err] Result & error if block supplied
|
195
|
+
# @yieldparam result [Google::Apis::DataplexV1::Empty] parsed result object
|
196
|
+
# @yieldparam err [StandardError] error object if request failed
|
197
|
+
#
|
198
|
+
# @return [Google::Apis::DataplexV1::Empty]
|
199
|
+
#
|
200
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
201
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
202
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
203
|
+
def cancel_organization_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
204
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
205
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleLongrunningCancelOperationRequest::Representation
|
206
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
207
|
+
command.response_representation = Google::Apis::DataplexV1::Empty::Representation
|
208
|
+
command.response_class = Google::Apis::DataplexV1::Empty
|
209
|
+
command.params['name'] = name unless name.nil?
|
210
|
+
command.query['fields'] = fields unless fields.nil?
|
211
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
212
|
+
execute_or_queue_command(command, &block)
|
213
|
+
end
|
214
|
+
|
215
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
216
|
+
# longer interested in the operation result. It does not cancel the operation.
|
217
|
+
# If the server doesn't support this method, it returns google.rpc.Code.
|
218
|
+
# UNIMPLEMENTED.
|
219
|
+
# @param [String] name
|
220
|
+
# The name of the operation resource to be deleted.
|
221
|
+
# @param [String] fields
|
222
|
+
# Selector specifying which fields to include in a partial response.
|
223
|
+
# @param [String] quota_user
|
224
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
225
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
226
|
+
# @param [Google::Apis::RequestOptions] options
|
227
|
+
# Request-specific options
|
228
|
+
#
|
229
|
+
# @yield [result, err] Result & error if block supplied
|
230
|
+
# @yieldparam result [Google::Apis::DataplexV1::Empty] parsed result object
|
231
|
+
# @yieldparam err [StandardError] error object if request failed
|
232
|
+
#
|
233
|
+
# @return [Google::Apis::DataplexV1::Empty]
|
234
|
+
#
|
235
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
236
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
237
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
238
|
+
def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
239
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
240
|
+
command.response_representation = Google::Apis::DataplexV1::Empty::Representation
|
241
|
+
command.response_class = Google::Apis::DataplexV1::Empty
|
242
|
+
command.params['name'] = name unless name.nil?
|
243
|
+
command.query['fields'] = fields unless fields.nil?
|
244
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
245
|
+
execute_or_queue_command(command, &block)
|
246
|
+
end
|
247
|
+
|
248
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
249
|
+
# to poll the operation result at intervals as recommended by the API service.
|
250
|
+
# @param [String] name
|
251
|
+
# The name of the operation resource.
|
252
|
+
# @param [String] fields
|
253
|
+
# Selector specifying which fields to include in a partial response.
|
254
|
+
# @param [String] quota_user
|
255
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
256
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
257
|
+
# @param [Google::Apis::RequestOptions] options
|
258
|
+
# Request-specific options
|
259
|
+
#
|
260
|
+
# @yield [result, err] Result & error if block supplied
|
261
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningOperation] parsed result object
|
262
|
+
# @yieldparam err [StandardError] error object if request failed
|
263
|
+
#
|
264
|
+
# @return [Google::Apis::DataplexV1::GoogleLongrunningOperation]
|
265
|
+
#
|
266
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
267
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
268
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
269
|
+
def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
270
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
271
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningOperation::Representation
|
272
|
+
command.response_class = Google::Apis::DataplexV1::GoogleLongrunningOperation
|
273
|
+
command.params['name'] = name unless name.nil?
|
274
|
+
command.query['fields'] = fields unless fields.nil?
|
275
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
276
|
+
execute_or_queue_command(command, &block)
|
277
|
+
end
|
278
|
+
|
279
|
+
# Lists operations that match the specified filter in the request. If the server
|
280
|
+
# doesn't support this method, it returns UNIMPLEMENTED.
|
281
|
+
# @param [String] name
|
282
|
+
# The name of the operation's parent resource.
|
283
|
+
# @param [String] filter
|
284
|
+
# The standard list filter.
|
285
|
+
# @param [Fixnum] page_size
|
286
|
+
# The standard list page size.
|
287
|
+
# @param [String] page_token
|
288
|
+
# The standard list page token.
|
289
|
+
# @param [String] fields
|
290
|
+
# Selector specifying which fields to include in a partial response.
|
291
|
+
# @param [String] quota_user
|
292
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
293
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
294
|
+
# @param [Google::Apis::RequestOptions] options
|
295
|
+
# Request-specific options
|
296
|
+
#
|
297
|
+
# @yield [result, err] Result & error if block supplied
|
298
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse] parsed result object
|
299
|
+
# @yieldparam err [StandardError] error object if request failed
|
300
|
+
#
|
301
|
+
# @return [Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse]
|
302
|
+
#
|
303
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
304
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
305
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
306
|
+
def list_organization_location_operation_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
307
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
308
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse::Representation
|
309
|
+
command.response_class = Google::Apis::DataplexV1::GoogleLongrunningListOperationsResponse
|
310
|
+
command.params['name'] = name unless name.nil?
|
311
|
+
command.query['filter'] = filter unless filter.nil?
|
312
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
313
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
314
|
+
command.query['fields'] = fields unless fields.nil?
|
315
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
316
|
+
execute_or_queue_command(command, &block)
|
317
|
+
end
|
318
|
+
|
175
319
|
# Gets information about a location.
|
176
320
|
# @param [String] name
|
177
321
|
# Resource name for the location.
|
@@ -2716,6 +2860,127 @@ module Google
|
|
2716
2860
|
execute_or_queue_command(command, &block)
|
2717
2861
|
end
|
2718
2862
|
|
2863
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
2864
|
+
# resource exists and does not have a policy set.
|
2865
|
+
# @param [String] resource
|
2866
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
2867
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
2868
|
+
# appropriate value for this field.
|
2869
|
+
# @param [Fixnum] options_requested_policy_version
|
2870
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
2871
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2872
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
2873
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
2874
|
+
# value or leave the field unset.The policy in the response might use the policy
|
2875
|
+
# version that you specified, or it might use a lower policy version. For
|
2876
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2877
|
+
# bindings, the response uses version 1.To learn which resources support
|
2878
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
2879
|
+
# google.com/iam/help/conditions/resource-policies).
|
2880
|
+
# @param [String] fields
|
2881
|
+
# Selector specifying which fields to include in a partial response.
|
2882
|
+
# @param [String] quota_user
|
2883
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2884
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2885
|
+
# @param [Google::Apis::RequestOptions] options
|
2886
|
+
# Request-specific options
|
2887
|
+
#
|
2888
|
+
# @yield [result, err] Result & error if block supplied
|
2889
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
2890
|
+
# @yieldparam err [StandardError] error object if request failed
|
2891
|
+
#
|
2892
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
2893
|
+
#
|
2894
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2895
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2896
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2897
|
+
def get_project_location_entry_link_type_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2898
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
2899
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
2900
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
2901
|
+
command.params['resource'] = resource unless resource.nil?
|
2902
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2903
|
+
command.query['fields'] = fields unless fields.nil?
|
2904
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2905
|
+
execute_or_queue_command(command, &block)
|
2906
|
+
end
|
2907
|
+
|
2908
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2909
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
2910
|
+
# errors.
|
2911
|
+
# @param [String] resource
|
2912
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
2913
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
2914
|
+
# appropriate value for this field.
|
2915
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
2916
|
+
# @param [String] fields
|
2917
|
+
# Selector specifying which fields to include in a partial response.
|
2918
|
+
# @param [String] quota_user
|
2919
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2920
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2921
|
+
# @param [Google::Apis::RequestOptions] options
|
2922
|
+
# Request-specific options
|
2923
|
+
#
|
2924
|
+
# @yield [result, err] Result & error if block supplied
|
2925
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
2926
|
+
# @yieldparam err [StandardError] error object if request failed
|
2927
|
+
#
|
2928
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
2929
|
+
#
|
2930
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2931
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2932
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2933
|
+
def set_project_location_entry_link_type_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2934
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
2935
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
2936
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
2937
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
2938
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
2939
|
+
command.params['resource'] = resource unless resource.nil?
|
2940
|
+
command.query['fields'] = fields unless fields.nil?
|
2941
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2942
|
+
execute_or_queue_command(command, &block)
|
2943
|
+
end
|
2944
|
+
|
2945
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2946
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
2947
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
2948
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2949
|
+
# This operation may "fail open" without warning.
|
2950
|
+
# @param [String] resource
|
2951
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
2952
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
2953
|
+
# appropriate value for this field.
|
2954
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2955
|
+
# @param [String] fields
|
2956
|
+
# Selector specifying which fields to include in a partial response.
|
2957
|
+
# @param [String] quota_user
|
2958
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2959
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2960
|
+
# @param [Google::Apis::RequestOptions] options
|
2961
|
+
# Request-specific options
|
2962
|
+
#
|
2963
|
+
# @yield [result, err] Result & error if block supplied
|
2964
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
2965
|
+
# @yieldparam err [StandardError] error object if request failed
|
2966
|
+
#
|
2967
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
2968
|
+
#
|
2969
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2970
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2971
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2972
|
+
def test_project_location_entry_link_type_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2973
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2974
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
2975
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2976
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
2977
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
2978
|
+
command.params['resource'] = resource unless resource.nil?
|
2979
|
+
command.query['fields'] = fields unless fields.nil?
|
2980
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2981
|
+
execute_or_queue_command(command, &block)
|
2982
|
+
end
|
2983
|
+
|
2719
2984
|
# Creates an EntryType.
|
2720
2985
|
# @param [String] parent
|
2721
2986
|
# Required. The resource name of the EntryType, of the form: projects/`
|
@@ -3159,6 +3424,248 @@ module Google
|
|
3159
3424
|
execute_or_queue_command(command, &block)
|
3160
3425
|
end
|
3161
3426
|
|
3427
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
3428
|
+
# resource exists and does not have a policy set.
|
3429
|
+
# @param [String] resource
|
3430
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
3431
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
3432
|
+
# appropriate value for this field.
|
3433
|
+
# @param [Fixnum] options_requested_policy_version
|
3434
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
3435
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
3436
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
3437
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
3438
|
+
# value or leave the field unset.The policy in the response might use the policy
|
3439
|
+
# version that you specified, or it might use a lower policy version. For
|
3440
|
+
# example, if you specify version 3, but the policy has no conditional role
|
3441
|
+
# bindings, the response uses version 1.To learn which resources support
|
3442
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
3443
|
+
# google.com/iam/help/conditions/resource-policies).
|
3444
|
+
# @param [String] fields
|
3445
|
+
# Selector specifying which fields to include in a partial response.
|
3446
|
+
# @param [String] quota_user
|
3447
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3448
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3449
|
+
# @param [Google::Apis::RequestOptions] options
|
3450
|
+
# Request-specific options
|
3451
|
+
#
|
3452
|
+
# @yield [result, err] Result & error if block supplied
|
3453
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
3454
|
+
# @yieldparam err [StandardError] error object if request failed
|
3455
|
+
#
|
3456
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
3457
|
+
#
|
3458
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3459
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3460
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3461
|
+
def get_project_location_glossary_category_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3462
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
3463
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
3464
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
3465
|
+
command.params['resource'] = resource unless resource.nil?
|
3466
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
3467
|
+
command.query['fields'] = fields unless fields.nil?
|
3468
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3469
|
+
execute_or_queue_command(command, &block)
|
3470
|
+
end
|
3471
|
+
|
3472
|
+
# Sets the access control policy on the specified resource. Replaces any
|
3473
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
3474
|
+
# errors.
|
3475
|
+
# @param [String] resource
|
3476
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
3477
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
3478
|
+
# appropriate value for this field.
|
3479
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
3480
|
+
# @param [String] fields
|
3481
|
+
# Selector specifying which fields to include in a partial response.
|
3482
|
+
# @param [String] quota_user
|
3483
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3484
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3485
|
+
# @param [Google::Apis::RequestOptions] options
|
3486
|
+
# Request-specific options
|
3487
|
+
#
|
3488
|
+
# @yield [result, err] Result & error if block supplied
|
3489
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
3490
|
+
# @yieldparam err [StandardError] error object if request failed
|
3491
|
+
#
|
3492
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
3493
|
+
#
|
3494
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3495
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3496
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3497
|
+
def set_project_location_glossary_category_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3498
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
3499
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
3500
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
3501
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
3502
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
3503
|
+
command.params['resource'] = resource unless resource.nil?
|
3504
|
+
command.query['fields'] = fields unless fields.nil?
|
3505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3506
|
+
execute_or_queue_command(command, &block)
|
3507
|
+
end
|
3508
|
+
|
3509
|
+
# Returns permissions that a caller has on the specified resource. If the
|
3510
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
3511
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
3512
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
3513
|
+
# This operation may "fail open" without warning.
|
3514
|
+
# @param [String] resource
|
3515
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
3516
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
3517
|
+
# appropriate value for this field.
|
3518
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
3519
|
+
# @param [String] fields
|
3520
|
+
# Selector specifying which fields to include in a partial response.
|
3521
|
+
# @param [String] quota_user
|
3522
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3523
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3524
|
+
# @param [Google::Apis::RequestOptions] options
|
3525
|
+
# Request-specific options
|
3526
|
+
#
|
3527
|
+
# @yield [result, err] Result & error if block supplied
|
3528
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
3529
|
+
# @yieldparam err [StandardError] error object if request failed
|
3530
|
+
#
|
3531
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
3532
|
+
#
|
3533
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3534
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3535
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3536
|
+
def test_project_location_glossary_category_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3537
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
3538
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
3539
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
3540
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
3541
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
3542
|
+
command.params['resource'] = resource unless resource.nil?
|
3543
|
+
command.query['fields'] = fields unless fields.nil?
|
3544
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3545
|
+
execute_or_queue_command(command, &block)
|
3546
|
+
end
|
3547
|
+
|
3548
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
3549
|
+
# resource exists and does not have a policy set.
|
3550
|
+
# @param [String] resource
|
3551
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
3552
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
3553
|
+
# appropriate value for this field.
|
3554
|
+
# @param [Fixnum] options_requested_policy_version
|
3555
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
3556
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
3557
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
3558
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
3559
|
+
# value or leave the field unset.The policy in the response might use the policy
|
3560
|
+
# version that you specified, or it might use a lower policy version. For
|
3561
|
+
# example, if you specify version 3, but the policy has no conditional role
|
3562
|
+
# bindings, the response uses version 1.To learn which resources support
|
3563
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
3564
|
+
# google.com/iam/help/conditions/resource-policies).
|
3565
|
+
# @param [String] fields
|
3566
|
+
# Selector specifying which fields to include in a partial response.
|
3567
|
+
# @param [String] quota_user
|
3568
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3569
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3570
|
+
# @param [Google::Apis::RequestOptions] options
|
3571
|
+
# Request-specific options
|
3572
|
+
#
|
3573
|
+
# @yield [result, err] Result & error if block supplied
|
3574
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
3575
|
+
# @yieldparam err [StandardError] error object if request failed
|
3576
|
+
#
|
3577
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
3578
|
+
#
|
3579
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3580
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3581
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3582
|
+
def get_project_location_glossary_term_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3583
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
3584
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
3585
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
3586
|
+
command.params['resource'] = resource unless resource.nil?
|
3587
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
3588
|
+
command.query['fields'] = fields unless fields.nil?
|
3589
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3590
|
+
execute_or_queue_command(command, &block)
|
3591
|
+
end
|
3592
|
+
|
3593
|
+
# Sets the access control policy on the specified resource. Replaces any
|
3594
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
3595
|
+
# errors.
|
3596
|
+
# @param [String] resource
|
3597
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
3598
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
3599
|
+
# appropriate value for this field.
|
3600
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
3601
|
+
# @param [String] fields
|
3602
|
+
# Selector specifying which fields to include in a partial response.
|
3603
|
+
# @param [String] quota_user
|
3604
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3605
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3606
|
+
# @param [Google::Apis::RequestOptions] options
|
3607
|
+
# Request-specific options
|
3608
|
+
#
|
3609
|
+
# @yield [result, err] Result & error if block supplied
|
3610
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
3611
|
+
# @yieldparam err [StandardError] error object if request failed
|
3612
|
+
#
|
3613
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
3614
|
+
#
|
3615
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3616
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3617
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3618
|
+
def set_project_location_glossary_term_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3619
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
3620
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
3621
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
3622
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
3623
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
3624
|
+
command.params['resource'] = resource unless resource.nil?
|
3625
|
+
command.query['fields'] = fields unless fields.nil?
|
3626
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3627
|
+
execute_or_queue_command(command, &block)
|
3628
|
+
end
|
3629
|
+
|
3630
|
+
# Returns permissions that a caller has on the specified resource. If the
|
3631
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
3632
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
3633
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
3634
|
+
# This operation may "fail open" without warning.
|
3635
|
+
# @param [String] resource
|
3636
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
3637
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
3638
|
+
# appropriate value for this field.
|
3639
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
3640
|
+
# @param [String] fields
|
3641
|
+
# Selector specifying which fields to include in a partial response.
|
3642
|
+
# @param [String] quota_user
|
3643
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3644
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3645
|
+
# @param [Google::Apis::RequestOptions] options
|
3646
|
+
# Request-specific options
|
3647
|
+
#
|
3648
|
+
# @yield [result, err] Result & error if block supplied
|
3649
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
3650
|
+
# @yieldparam err [StandardError] error object if request failed
|
3651
|
+
#
|
3652
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
3653
|
+
#
|
3654
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3655
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3656
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3657
|
+
def test_project_location_glossary_term_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3658
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
3659
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
3660
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
3661
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
3662
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
3663
|
+
command.params['resource'] = resource unless resource.nil?
|
3664
|
+
command.query['fields'] = fields unless fields.nil?
|
3665
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3666
|
+
execute_or_queue_command(command, &block)
|
3667
|
+
end
|
3668
|
+
|
3162
3669
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
3163
3670
|
# resource exists and does not have a policy set.
|
3164
3671
|
# @param [String] resource
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dataplex_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.62.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.62.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|