google-apis-datacatalog_v1 0.27.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '014481930f414bb9108f626e771a593c2556677c0df2d22784832369b5eca797'
|
4
|
+
data.tar.gz: d83ea2de06d6bd1dc4bbf7401677f60125300ff6965e9d4bb89347a48270b588
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f641927d96fc5e3af649dd509b0bf21a45f200a793428a91ad5da839360a01b632750953b9bfe4c6a1773be20346c94240aeedb7581f94ca5c021da0229596c
|
7
|
+
data.tar.gz: a59f36fb752626d8b9d211831cb3169a7e482fd888e34f0696479a73697a8ca90f68addf4ca708be64414997e37268cf6c1d5cd579376de79b518102c87b7226
|
data/CHANGELOG.md
CHANGED
@@ -408,6 +408,11 @@ module Google
|
|
408
408
|
# @return [String]
|
409
409
|
attr_accessor :column
|
410
410
|
|
411
|
+
# Optional. Default value for the column.
|
412
|
+
# Corresponds to the JSON property `defaultValue`
|
413
|
+
# @return [String]
|
414
|
+
attr_accessor :default_value
|
415
|
+
|
411
416
|
# Optional. Description of the column. Default value is an empty string. The
|
412
417
|
# description must be a UTF-8 string with the maximum size of 2000 bytes.
|
413
418
|
# Corresponds to the JSON property `description`
|
@@ -420,6 +425,16 @@ module Google
|
|
420
425
|
# @return [String]
|
421
426
|
attr_accessor :gc_rule
|
422
427
|
|
428
|
+
# Optional. Most important inclusion of this column.
|
429
|
+
# Corresponds to the JSON property `highestIndexingType`
|
430
|
+
# @return [String]
|
431
|
+
attr_accessor :highest_indexing_type
|
432
|
+
|
433
|
+
# Column info specific to Looker System.
|
434
|
+
# Corresponds to the JSON property `lookerColumnSpec`
|
435
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec]
|
436
|
+
attr_accessor :looker_column_spec
|
437
|
+
|
423
438
|
# Optional. A column's mode indicates whether values in this column are required,
|
424
439
|
# nullable, or repeated. Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are
|
425
440
|
# supported. Default mode is `NULLABLE`.
|
@@ -427,6 +442,11 @@ module Google
|
|
427
442
|
# @return [String]
|
428
443
|
attr_accessor :mode
|
429
444
|
|
445
|
+
# Optional. Ordinal position
|
446
|
+
# Corresponds to the JSON property `ordinalPosition`
|
447
|
+
# @return [Fixnum]
|
448
|
+
attr_accessor :ordinal_position
|
449
|
+
|
430
450
|
# Optional. Schema of sub-columns. A column can have zero or more sub-columns.
|
431
451
|
# Corresponds to the JSON property `subcolumns`
|
432
452
|
# @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ColumnSchema>]
|
@@ -445,14 +465,56 @@ module Google
|
|
445
465
|
# Update properties of this object
|
446
466
|
def update!(**args)
|
447
467
|
@column = args[:column] if args.key?(:column)
|
468
|
+
@default_value = args[:default_value] if args.key?(:default_value)
|
448
469
|
@description = args[:description] if args.key?(:description)
|
449
470
|
@gc_rule = args[:gc_rule] if args.key?(:gc_rule)
|
471
|
+
@highest_indexing_type = args[:highest_indexing_type] if args.key?(:highest_indexing_type)
|
472
|
+
@looker_column_spec = args[:looker_column_spec] if args.key?(:looker_column_spec)
|
450
473
|
@mode = args[:mode] if args.key?(:mode)
|
474
|
+
@ordinal_position = args[:ordinal_position] if args.key?(:ordinal_position)
|
451
475
|
@subcolumns = args[:subcolumns] if args.key?(:subcolumns)
|
452
476
|
@type = args[:type] if args.key?(:type)
|
453
477
|
end
|
454
478
|
end
|
455
479
|
|
480
|
+
# Column info specific to Looker System.
|
481
|
+
class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec
|
482
|
+
include Google::Apis::Core::Hashable
|
483
|
+
|
484
|
+
# Looker specific column type of this column.
|
485
|
+
# Corresponds to the JSON property `type`
|
486
|
+
# @return [String]
|
487
|
+
attr_accessor :type
|
488
|
+
|
489
|
+
def initialize(**args)
|
490
|
+
update!(**args)
|
491
|
+
end
|
492
|
+
|
493
|
+
# Update properties of this object
|
494
|
+
def update!(**args)
|
495
|
+
@type = args[:type] if args.key?(:type)
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
# Common statistics on the entry's usage. They can be set on any system.
|
500
|
+
class GoogleCloudDatacatalogV1CommonUsageStats
|
501
|
+
include Google::Apis::Core::Hashable
|
502
|
+
|
503
|
+
# View count in source system.
|
504
|
+
# Corresponds to the JSON property `viewCount`
|
505
|
+
# @return [Fixnum]
|
506
|
+
attr_accessor :view_count
|
507
|
+
|
508
|
+
def initialize(**args)
|
509
|
+
update!(**args)
|
510
|
+
end
|
511
|
+
|
512
|
+
# Update properties of this object
|
513
|
+
def update!(**args)
|
514
|
+
@view_count = args[:view_count] if args.key?(:view_count)
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
456
518
|
# Contact people for the entry.
|
457
519
|
class GoogleCloudDatacatalogV1Contacts
|
458
520
|
include Google::Apis::Core::Hashable
|
@@ -582,6 +644,11 @@ module Google
|
|
582
644
|
class GoogleCloudDatacatalogV1DatabaseTableSpec
|
583
645
|
include Google::Apis::Core::Hashable
|
584
646
|
|
647
|
+
# Specification that applies to database view.
|
648
|
+
# Corresponds to the JSON property `databaseViewSpec`
|
649
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec]
|
650
|
+
attr_accessor :database_view_spec
|
651
|
+
|
585
652
|
# Entry specification for a Dataplex table.
|
586
653
|
# Corresponds to the JSON property `dataplexTable`
|
587
654
|
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataplexTableSpec]
|
@@ -598,11 +665,43 @@ module Google
|
|
598
665
|
|
599
666
|
# Update properties of this object
|
600
667
|
def update!(**args)
|
668
|
+
@database_view_spec = args[:database_view_spec] if args.key?(:database_view_spec)
|
601
669
|
@dataplex_table = args[:dataplex_table] if args.key?(:dataplex_table)
|
602
670
|
@type = args[:type] if args.key?(:type)
|
603
671
|
end
|
604
672
|
end
|
605
673
|
|
674
|
+
# Specification that applies to database view.
|
675
|
+
class GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec
|
676
|
+
include Google::Apis::Core::Hashable
|
677
|
+
|
678
|
+
# Name of a singular table this view reflects one to one.
|
679
|
+
# Corresponds to the JSON property `baseTable`
|
680
|
+
# @return [String]
|
681
|
+
attr_accessor :base_table
|
682
|
+
|
683
|
+
# SQL query used to generate this view.
|
684
|
+
# Corresponds to the JSON property `sqlQuery`
|
685
|
+
# @return [String]
|
686
|
+
attr_accessor :sql_query
|
687
|
+
|
688
|
+
# Type of this view.
|
689
|
+
# Corresponds to the JSON property `viewType`
|
690
|
+
# @return [String]
|
691
|
+
attr_accessor :view_type
|
692
|
+
|
693
|
+
def initialize(**args)
|
694
|
+
update!(**args)
|
695
|
+
end
|
696
|
+
|
697
|
+
# Update properties of this object
|
698
|
+
def update!(**args)
|
699
|
+
@base_table = args[:base_table] if args.key?(:base_table)
|
700
|
+
@sql_query = args[:sql_query] if args.key?(:sql_query)
|
701
|
+
@view_type = args[:view_type] if args.key?(:view_type)
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
606
705
|
# External table registered by Dataplex. Dataplex publishes data discovered from
|
607
706
|
# an asset into multiple other systems (BigQuery, DPMS) in form of tables. We
|
608
707
|
# call them "external tables". External tables are also synced into the Data
|
@@ -793,10 +892,8 @@ module Google
|
|
793
892
|
# @return [String]
|
794
893
|
attr_accessor :description
|
795
894
|
|
796
|
-
# Display name of an entry. The
|
797
|
-
#
|
798
|
-
# spaces. The maximum size is 200 bytes when encoded in UTF-8. Default value is
|
799
|
-
# an empty string.
|
895
|
+
# Display name of an entry. The maximum size is 500 bytes when encoded in UTF-8.
|
896
|
+
# Default value is an empty string.
|
800
897
|
# Corresponds to the JSON property `displayName`
|
801
898
|
# @return [String]
|
802
899
|
attr_accessor :display_name
|
@@ -851,6 +948,12 @@ module Google
|
|
851
948
|
# @return [String]
|
852
949
|
attr_accessor :linked_resource
|
853
950
|
|
951
|
+
# Specification that applies to entries that are part `LOOKER` system (
|
952
|
+
# user_specified_type)
|
953
|
+
# Corresponds to the JSON property `lookerSystemSpec`
|
954
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1LookerSystemSpec]
|
955
|
+
attr_accessor :looker_system_spec
|
956
|
+
|
854
957
|
# Output only. The resource name of an entry in URL format. Note: The entry
|
855
958
|
# itself and its child resources might not be stored in the location specified
|
856
959
|
# in its name.
|
@@ -879,6 +982,12 @@ module Google
|
|
879
982
|
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps]
|
880
983
|
attr_accessor :source_system_timestamps
|
881
984
|
|
985
|
+
# Specification that applies to entries that are part `SQL_DATABASE` system (
|
986
|
+
# user_specified_type)
|
987
|
+
# Corresponds to the JSON property `sqlDatabaseSystemSpec`
|
988
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SqlDatabaseSystemSpec]
|
989
|
+
attr_accessor :sql_database_system_spec
|
990
|
+
|
882
991
|
# The type of the entry. Only used for entries with types listed in the `
|
883
992
|
# EntryType` enum. Currently, only `FILESET` enum value is allowed. All other
|
884
993
|
# entries created in Data Catalog must use the `user_specified_type`.
|
@@ -934,11 +1043,13 @@ module Google
|
|
934
1043
|
@integrated_system = args[:integrated_system] if args.key?(:integrated_system)
|
935
1044
|
@labels = args[:labels] if args.key?(:labels)
|
936
1045
|
@linked_resource = args[:linked_resource] if args.key?(:linked_resource)
|
1046
|
+
@looker_system_spec = args[:looker_system_spec] if args.key?(:looker_system_spec)
|
937
1047
|
@name = args[:name] if args.key?(:name)
|
938
1048
|
@personal_details = args[:personal_details] if args.key?(:personal_details)
|
939
1049
|
@routine_spec = args[:routine_spec] if args.key?(:routine_spec)
|
940
1050
|
@schema = args[:schema] if args.key?(:schema)
|
941
1051
|
@source_system_timestamps = args[:source_system_timestamps] if args.key?(:source_system_timestamps)
|
1052
|
+
@sql_database_system_spec = args[:sql_database_system_spec] if args.key?(:sql_database_system_spec)
|
942
1053
|
@type = args[:type] if args.key?(:type)
|
943
1054
|
@usage_signal = args[:usage_signal] if args.key?(:usage_signal)
|
944
1055
|
@user_specified_system = args[:user_specified_system] if args.key?(:user_specified_system)
|
@@ -1192,6 +1303,78 @@ module Google
|
|
1192
1303
|
end
|
1193
1304
|
end
|
1194
1305
|
|
1306
|
+
# Metadata message for long-running operation returned by the ImportEntries.
|
1307
|
+
class GoogleCloudDatacatalogV1ImportEntriesMetadata
|
1308
|
+
include Google::Apis::Core::Hashable
|
1309
|
+
|
1310
|
+
# Partial errors that are encountered during the ImportEntries operation. There
|
1311
|
+
# is no guarantee that all the encountered errors are reported. However, if no
|
1312
|
+
# errors are reported, it means that no errors were encountered.
|
1313
|
+
# Corresponds to the JSON property `errors`
|
1314
|
+
# @return [Array<Google::Apis::DatacatalogV1::Status>]
|
1315
|
+
attr_accessor :errors
|
1316
|
+
|
1317
|
+
# State of the import operation.
|
1318
|
+
# Corresponds to the JSON property `state`
|
1319
|
+
# @return [String]
|
1320
|
+
attr_accessor :state
|
1321
|
+
|
1322
|
+
def initialize(**args)
|
1323
|
+
update!(**args)
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# Update properties of this object
|
1327
|
+
def update!(**args)
|
1328
|
+
@errors = args[:errors] if args.key?(:errors)
|
1329
|
+
@state = args[:state] if args.key?(:state)
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
# Request message for ImportEntries method.
|
1334
|
+
class GoogleCloudDatacatalogV1ImportEntriesRequest
|
1335
|
+
include Google::Apis::Core::Hashable
|
1336
|
+
|
1337
|
+
# Path to a Cloud Storage bucket that contains a dump ready for ingestion.
|
1338
|
+
# Corresponds to the JSON property `gcsBucketPath`
|
1339
|
+
# @return [String]
|
1340
|
+
attr_accessor :gcs_bucket_path
|
1341
|
+
|
1342
|
+
def initialize(**args)
|
1343
|
+
update!(**args)
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
# Update properties of this object
|
1347
|
+
def update!(**args)
|
1348
|
+
@gcs_bucket_path = args[:gcs_bucket_path] if args.key?(:gcs_bucket_path)
|
1349
|
+
end
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
# Response message for long-running operation returned by the ImportEntries.
|
1353
|
+
class GoogleCloudDatacatalogV1ImportEntriesResponse
|
1354
|
+
include Google::Apis::Core::Hashable
|
1355
|
+
|
1356
|
+
# Number of entries deleted as a result of import operation.
|
1357
|
+
# Corresponds to the JSON property `deletedEntriesCount`
|
1358
|
+
# @return [Fixnum]
|
1359
|
+
attr_accessor :deleted_entries_count
|
1360
|
+
|
1361
|
+
# Cumulative number of entries created and entries updated as a result of import
|
1362
|
+
# operation.
|
1363
|
+
# Corresponds to the JSON property `upsertedEntriesCount`
|
1364
|
+
# @return [Fixnum]
|
1365
|
+
attr_accessor :upserted_entries_count
|
1366
|
+
|
1367
|
+
def initialize(**args)
|
1368
|
+
update!(**args)
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
# Update properties of this object
|
1372
|
+
def update!(**args)
|
1373
|
+
@deleted_entries_count = args[:deleted_entries_count] if args.key?(:deleted_entries_count)
|
1374
|
+
@upserted_entries_count = args[:upserted_entries_count] if args.key?(:upserted_entries_count)
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
|
1195
1378
|
# Request message for ImportTaxonomies.
|
1196
1379
|
class GoogleCloudDatacatalogV1ImportTaxonomiesRequest
|
1197
1380
|
include Google::Apis::Core::Hashable
|
@@ -1386,6 +1569,57 @@ module Google
|
|
1386
1569
|
end
|
1387
1570
|
end
|
1388
1571
|
|
1572
|
+
# Specification that applies to entries that are part `LOOKER` system (
|
1573
|
+
# user_specified_type)
|
1574
|
+
class GoogleCloudDatacatalogV1LookerSystemSpec
|
1575
|
+
include Google::Apis::Core::Hashable
|
1576
|
+
|
1577
|
+
# Name of the parent Looker Instance. Empty if it does not exist.
|
1578
|
+
# Corresponds to the JSON property `parentInstanceDisplayName`
|
1579
|
+
# @return [String]
|
1580
|
+
attr_accessor :parent_instance_display_name
|
1581
|
+
|
1582
|
+
# ID of the parent Looker Instance. Empty if it does not exist. Example value: `
|
1583
|
+
# someinstance.looker.com`
|
1584
|
+
# Corresponds to the JSON property `parentInstanceId`
|
1585
|
+
# @return [String]
|
1586
|
+
attr_accessor :parent_instance_id
|
1587
|
+
|
1588
|
+
# Name of the parent Model. Empty if it does not exist.
|
1589
|
+
# Corresponds to the JSON property `parentModelDisplayName`
|
1590
|
+
# @return [String]
|
1591
|
+
attr_accessor :parent_model_display_name
|
1592
|
+
|
1593
|
+
# ID of the parent Model. Empty if it does not exist.
|
1594
|
+
# Corresponds to the JSON property `parentModelId`
|
1595
|
+
# @return [String]
|
1596
|
+
attr_accessor :parent_model_id
|
1597
|
+
|
1598
|
+
# Name of the parent View. Empty if it does not exist.
|
1599
|
+
# Corresponds to the JSON property `parentViewDisplayName`
|
1600
|
+
# @return [String]
|
1601
|
+
attr_accessor :parent_view_display_name
|
1602
|
+
|
1603
|
+
# ID of the parent View. Empty if it does not exist.
|
1604
|
+
# Corresponds to the JSON property `parentViewId`
|
1605
|
+
# @return [String]
|
1606
|
+
attr_accessor :parent_view_id
|
1607
|
+
|
1608
|
+
def initialize(**args)
|
1609
|
+
update!(**args)
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
# Update properties of this object
|
1613
|
+
def update!(**args)
|
1614
|
+
@parent_instance_display_name = args[:parent_instance_display_name] if args.key?(:parent_instance_display_name)
|
1615
|
+
@parent_instance_id = args[:parent_instance_id] if args.key?(:parent_instance_id)
|
1616
|
+
@parent_model_display_name = args[:parent_model_display_name] if args.key?(:parent_model_display_name)
|
1617
|
+
@parent_model_id = args[:parent_model_id] if args.key?(:parent_model_id)
|
1618
|
+
@parent_view_display_name = args[:parent_view_display_name] if args.key?(:parent_view_display_name)
|
1619
|
+
@parent_view_id = args[:parent_view_id] if args.key?(:parent_view_id)
|
1620
|
+
end
|
1621
|
+
end
|
1622
|
+
|
1389
1623
|
# Request message for ModifyEntryContacts.
|
1390
1624
|
class GoogleCloudDatacatalogV1ModifyEntryContactsRequest
|
1391
1625
|
include Google::Apis::Core::Hashable
|
@@ -2141,6 +2375,41 @@ module Google
|
|
2141
2375
|
end
|
2142
2376
|
end
|
2143
2377
|
|
2378
|
+
# Specification that applies to entries that are part `SQL_DATABASE` system (
|
2379
|
+
# user_specified_type)
|
2380
|
+
class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
|
2381
|
+
include Google::Apis::Core::Hashable
|
2382
|
+
|
2383
|
+
# Version of the database engine.
|
2384
|
+
# Corresponds to the JSON property `databaseVersion`
|
2385
|
+
# @return [String]
|
2386
|
+
attr_accessor :database_version
|
2387
|
+
|
2388
|
+
# Host of the SQL database enum InstanceHost ` UNDEFINED = 0; SELF_HOSTED = 1;
|
2389
|
+
# CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; ` Host of the enclousing
|
2390
|
+
# database instance.
|
2391
|
+
# Corresponds to the JSON property `instanceHost`
|
2392
|
+
# @return [String]
|
2393
|
+
attr_accessor :instance_host
|
2394
|
+
|
2395
|
+
# SQL Database Engine. enum SqlEngine ` UNDEFINED = 0; MY_SQL = 1; POSTGRE_SQL =
|
2396
|
+
# 2; SQL_SERVER = 3; ` Engine of the enclosing database instance.
|
2397
|
+
# Corresponds to the JSON property `sqlEngine`
|
2398
|
+
# @return [String]
|
2399
|
+
attr_accessor :sql_engine
|
2400
|
+
|
2401
|
+
def initialize(**args)
|
2402
|
+
update!(**args)
|
2403
|
+
end
|
2404
|
+
|
2405
|
+
# Update properties of this object
|
2406
|
+
def update!(**args)
|
2407
|
+
@database_version = args[:database_version] if args.key?(:database_version)
|
2408
|
+
@instance_host = args[:instance_host] if args.key?(:instance_host)
|
2409
|
+
@sql_engine = args[:sql_engine] if args.key?(:sql_engine)
|
2410
|
+
end
|
2411
|
+
end
|
2412
|
+
|
2144
2413
|
# Request message for StarEntry.
|
2145
2414
|
class GoogleCloudDatacatalogV1StarEntryRequest
|
2146
2415
|
include Google::Apis::Core::Hashable
|
@@ -2614,6 +2883,17 @@ module Google
|
|
2614
2883
|
class GoogleCloudDatacatalogV1UsageSignal
|
2615
2884
|
include Google::Apis::Core::Hashable
|
2616
2885
|
|
2886
|
+
# Common usage statistics over each of the predefined time ranges. Supported
|
2887
|
+
# time ranges are ``"24H", "7D", "30D", "Lifetime"``.
|
2888
|
+
# Corresponds to the JSON property `commonUsageWithinTimeRange`
|
2889
|
+
# @return [Hash<String,Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CommonUsageStats>]
|
2890
|
+
attr_accessor :common_usage_within_time_range
|
2891
|
+
|
2892
|
+
# Favorite count in the source system.
|
2893
|
+
# Corresponds to the JSON property `favoriteCount`
|
2894
|
+
# @return [Fixnum]
|
2895
|
+
attr_accessor :favorite_count
|
2896
|
+
|
2617
2897
|
# The end timestamp of the duration of usage statistics.
|
2618
2898
|
# Corresponds to the JSON property `updateTime`
|
2619
2899
|
# @return [String]
|
@@ -2631,6 +2911,8 @@ module Google
|
|
2631
2911
|
|
2632
2912
|
# Update properties of this object
|
2633
2913
|
def update!(**args)
|
2914
|
+
@common_usage_within_time_range = args[:common_usage_within_time_range] if args.key?(:common_usage_within_time_range)
|
2915
|
+
@favorite_count = args[:favorite_count] if args.key?(:favorite_count)
|
2634
2916
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2635
2917
|
@usage_within_time_range = args[:usage_within_time_range] if args.key?(:usage_within_time_range)
|
2636
2918
|
end
|
@@ -2697,6 +2979,93 @@ module Google
|
|
2697
2979
|
end
|
2698
2980
|
end
|
2699
2981
|
|
2982
|
+
# The response message for Operations.ListOperations.
|
2983
|
+
class ListOperationsResponse
|
2984
|
+
include Google::Apis::Core::Hashable
|
2985
|
+
|
2986
|
+
# The standard List next-page token.
|
2987
|
+
# Corresponds to the JSON property `nextPageToken`
|
2988
|
+
# @return [String]
|
2989
|
+
attr_accessor :next_page_token
|
2990
|
+
|
2991
|
+
# A list of operations that matches the specified filter in the request.
|
2992
|
+
# Corresponds to the JSON property `operations`
|
2993
|
+
# @return [Array<Google::Apis::DatacatalogV1::Operation>]
|
2994
|
+
attr_accessor :operations
|
2995
|
+
|
2996
|
+
def initialize(**args)
|
2997
|
+
update!(**args)
|
2998
|
+
end
|
2999
|
+
|
3000
|
+
# Update properties of this object
|
3001
|
+
def update!(**args)
|
3002
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3003
|
+
@operations = args[:operations] if args.key?(:operations)
|
3004
|
+
end
|
3005
|
+
end
|
3006
|
+
|
3007
|
+
# This resource represents a long-running operation that is the result of a
|
3008
|
+
# network API call.
|
3009
|
+
class Operation
|
3010
|
+
include Google::Apis::Core::Hashable
|
3011
|
+
|
3012
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
3013
|
+
# , the operation is completed, and either `error` or `response` is available.
|
3014
|
+
# Corresponds to the JSON property `done`
|
3015
|
+
# @return [Boolean]
|
3016
|
+
attr_accessor :done
|
3017
|
+
alias_method :done?, :done
|
3018
|
+
|
3019
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3020
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3021
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3022
|
+
# data: error code, error message, and error details. You can find out more
|
3023
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3024
|
+
# //cloud.google.com/apis/design/errors).
|
3025
|
+
# Corresponds to the JSON property `error`
|
3026
|
+
# @return [Google::Apis::DatacatalogV1::Status]
|
3027
|
+
attr_accessor :error
|
3028
|
+
|
3029
|
+
# Service-specific metadata associated with the operation. It typically contains
|
3030
|
+
# progress information and common metadata such as create time. Some services
|
3031
|
+
# might not provide such metadata. Any method that returns a long-running
|
3032
|
+
# operation should document the metadata type, if any.
|
3033
|
+
# Corresponds to the JSON property `metadata`
|
3034
|
+
# @return [Hash<String,Object>]
|
3035
|
+
attr_accessor :metadata
|
3036
|
+
|
3037
|
+
# The server-assigned name, which is only unique within the same service that
|
3038
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
3039
|
+
# be a resource name ending with `operations/`unique_id``.
|
3040
|
+
# Corresponds to the JSON property `name`
|
3041
|
+
# @return [String]
|
3042
|
+
attr_accessor :name
|
3043
|
+
|
3044
|
+
# The normal response of the operation in case of success. If the original
|
3045
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
3046
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
3047
|
+
# the response should be the resource. For other methods, the response should
|
3048
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
3049
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
3050
|
+
# response type is `TakeSnapshotResponse`.
|
3051
|
+
# Corresponds to the JSON property `response`
|
3052
|
+
# @return [Hash<String,Object>]
|
3053
|
+
attr_accessor :response
|
3054
|
+
|
3055
|
+
def initialize(**args)
|
3056
|
+
update!(**args)
|
3057
|
+
end
|
3058
|
+
|
3059
|
+
# Update properties of this object
|
3060
|
+
def update!(**args)
|
3061
|
+
@done = args[:done] if args.key?(:done)
|
3062
|
+
@error = args[:error] if args.key?(:error)
|
3063
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
3064
|
+
@name = args[:name] if args.key?(:name)
|
3065
|
+
@response = args[:response] if args.key?(:response)
|
3066
|
+
end
|
3067
|
+
end
|
3068
|
+
|
2700
3069
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2701
3070
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2702
3071
|
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
@@ -2831,6 +3200,45 @@ module Google
|
|
2831
3200
|
end
|
2832
3201
|
end
|
2833
3202
|
|
3203
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3204
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3205
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3206
|
+
# data: error code, error message, and error details. You can find out more
|
3207
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3208
|
+
# //cloud.google.com/apis/design/errors).
|
3209
|
+
class Status
|
3210
|
+
include Google::Apis::Core::Hashable
|
3211
|
+
|
3212
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
3213
|
+
# Corresponds to the JSON property `code`
|
3214
|
+
# @return [Fixnum]
|
3215
|
+
attr_accessor :code
|
3216
|
+
|
3217
|
+
# A list of messages that carry the error details. There is a common set of
|
3218
|
+
# message types for APIs to use.
|
3219
|
+
# Corresponds to the JSON property `details`
|
3220
|
+
# @return [Array<Hash<String,Object>>]
|
3221
|
+
attr_accessor :details
|
3222
|
+
|
3223
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
3224
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
3225
|
+
# field, or localized by the client.
|
3226
|
+
# Corresponds to the JSON property `message`
|
3227
|
+
# @return [String]
|
3228
|
+
attr_accessor :message
|
3229
|
+
|
3230
|
+
def initialize(**args)
|
3231
|
+
update!(**args)
|
3232
|
+
end
|
3233
|
+
|
3234
|
+
# Update properties of this object
|
3235
|
+
def update!(**args)
|
3236
|
+
@code = args[:code] if args.key?(:code)
|
3237
|
+
@details = args[:details] if args.key?(:details)
|
3238
|
+
@message = args[:message] if args.key?(:message)
|
3239
|
+
end
|
3240
|
+
end
|
3241
|
+
|
2834
3242
|
# Request message for `TestIamPermissions` method.
|
2835
3243
|
class TestIamPermissionsRequest
|
2836
3244
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DatacatalogV1
|
18
18
|
# Version of the google-apis-datacatalog_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,18 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GoogleCloudDatacatalogV1CommonUsageStats
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
97
109
|
class GoogleCloudDatacatalogV1Contacts
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
@@ -130,6 +142,12 @@ module Google
|
|
130
142
|
include Google::Apis::Core::JsonObjectSupport
|
131
143
|
end
|
132
144
|
|
145
|
+
class GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
133
151
|
class GoogleCloudDatacatalogV1DataplexExternalTable
|
134
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
153
|
|
@@ -214,6 +232,24 @@ module Google
|
|
214
232
|
include Google::Apis::Core::JsonObjectSupport
|
215
233
|
end
|
216
234
|
|
235
|
+
class GoogleCloudDatacatalogV1ImportEntriesMetadata
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class GoogleCloudDatacatalogV1ImportEntriesRequest
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleCloudDatacatalogV1ImportEntriesResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
217
253
|
class GoogleCloudDatacatalogV1ImportTaxonomiesRequest
|
218
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
255
|
|
@@ -262,6 +298,12 @@ module Google
|
|
262
298
|
include Google::Apis::Core::JsonObjectSupport
|
263
299
|
end
|
264
300
|
|
301
|
+
class GoogleCloudDatacatalogV1LookerSystemSpec
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
265
307
|
class GoogleCloudDatacatalogV1ModifyEntryContactsRequest
|
266
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
309
|
|
@@ -400,6 +442,12 @@ module Google
|
|
400
442
|
include Google::Apis::Core::JsonObjectSupport
|
401
443
|
end
|
402
444
|
|
445
|
+
class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
403
451
|
class GoogleCloudDatacatalogV1StarEntryRequest
|
404
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
453
|
|
@@ -496,6 +544,18 @@ module Google
|
|
496
544
|
include Google::Apis::Core::JsonObjectSupport
|
497
545
|
end
|
498
546
|
|
547
|
+
class ListOperationsResponse
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
553
|
+
class Operation
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
499
559
|
class Policy
|
500
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
561
|
|
@@ -508,6 +568,12 @@ module Google
|
|
508
568
|
include Google::Apis::Core::JsonObjectSupport
|
509
569
|
end
|
510
570
|
|
571
|
+
class Status
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
511
577
|
class TestIamPermissionsRequest
|
512
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
579
|
|
@@ -622,15 +688,34 @@ module Google
|
|
622
688
|
# @private
|
623
689
|
class Representation < Google::Apis::Core::JsonRepresentation
|
624
690
|
property :column, as: 'column'
|
691
|
+
property :default_value, as: 'defaultValue'
|
625
692
|
property :description, as: 'description'
|
626
693
|
property :gc_rule, as: 'gcRule'
|
694
|
+
property :highest_indexing_type, as: 'highestIndexingType'
|
695
|
+
property :looker_column_spec, as: 'lookerColumnSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec::Representation
|
696
|
+
|
627
697
|
property :mode, as: 'mode'
|
698
|
+
property :ordinal_position, as: 'ordinalPosition'
|
628
699
|
collection :subcolumns, as: 'subcolumns', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ColumnSchema, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ColumnSchema::Representation
|
629
700
|
|
630
701
|
property :type, as: 'type'
|
631
702
|
end
|
632
703
|
end
|
633
704
|
|
705
|
+
class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec
|
706
|
+
# @private
|
707
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
708
|
+
property :type, as: 'type'
|
709
|
+
end
|
710
|
+
end
|
711
|
+
|
712
|
+
class GoogleCloudDatacatalogV1CommonUsageStats
|
713
|
+
# @private
|
714
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
715
|
+
property :view_count, :numeric_string => true, as: 'viewCount'
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
634
719
|
class GoogleCloudDatacatalogV1Contacts
|
635
720
|
# @private
|
636
721
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -676,12 +761,23 @@ module Google
|
|
676
761
|
class GoogleCloudDatacatalogV1DatabaseTableSpec
|
677
762
|
# @private
|
678
763
|
class Representation < Google::Apis::Core::JsonRepresentation
|
764
|
+
property :database_view_spec, as: 'databaseViewSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec::Representation
|
765
|
+
|
679
766
|
property :dataplex_table, as: 'dataplexTable', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataplexTableSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataplexTableSpec::Representation
|
680
767
|
|
681
768
|
property :type, as: 'type'
|
682
769
|
end
|
683
770
|
end
|
684
771
|
|
772
|
+
class GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec
|
773
|
+
# @private
|
774
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
775
|
+
property :base_table, as: 'baseTable'
|
776
|
+
property :sql_query, as: 'sqlQuery'
|
777
|
+
property :view_type, as: 'viewType'
|
778
|
+
end
|
779
|
+
end
|
780
|
+
|
685
781
|
class GoogleCloudDatacatalogV1DataplexExternalTable
|
686
782
|
# @private
|
687
783
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -747,6 +843,8 @@ module Google
|
|
747
843
|
property :integrated_system, as: 'integratedSystem'
|
748
844
|
hash :labels, as: 'labels'
|
749
845
|
property :linked_resource, as: 'linkedResource'
|
846
|
+
property :looker_system_spec, as: 'lookerSystemSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1LookerSystemSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1LookerSystemSpec::Representation
|
847
|
+
|
750
848
|
property :name, as: 'name'
|
751
849
|
property :personal_details, as: 'personalDetails', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PersonalDetails, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PersonalDetails::Representation
|
752
850
|
|
@@ -756,6 +854,8 @@ module Google
|
|
756
854
|
|
757
855
|
property :source_system_timestamps, as: 'sourceSystemTimestamps', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps::Representation
|
758
856
|
|
857
|
+
property :sql_database_system_spec, as: 'sqlDatabaseSystemSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SqlDatabaseSystemSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SqlDatabaseSystemSpec::Representation
|
858
|
+
|
759
859
|
property :type, as: 'type'
|
760
860
|
property :usage_signal, as: 'usageSignal', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UsageSignal, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UsageSignal::Representation
|
761
861
|
|
@@ -841,6 +941,30 @@ module Google
|
|
841
941
|
end
|
842
942
|
end
|
843
943
|
|
944
|
+
class GoogleCloudDatacatalogV1ImportEntriesMetadata
|
945
|
+
# @private
|
946
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
947
|
+
collection :errors, as: 'errors', class: Google::Apis::DatacatalogV1::Status, decorator: Google::Apis::DatacatalogV1::Status::Representation
|
948
|
+
|
949
|
+
property :state, as: 'state'
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
953
|
+
class GoogleCloudDatacatalogV1ImportEntriesRequest
|
954
|
+
# @private
|
955
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
956
|
+
property :gcs_bucket_path, as: 'gcsBucketPath'
|
957
|
+
end
|
958
|
+
end
|
959
|
+
|
960
|
+
class GoogleCloudDatacatalogV1ImportEntriesResponse
|
961
|
+
# @private
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
963
|
+
property :deleted_entries_count, :numeric_string => true, as: 'deletedEntriesCount'
|
964
|
+
property :upserted_entries_count, :numeric_string => true, as: 'upsertedEntriesCount'
|
965
|
+
end
|
966
|
+
end
|
967
|
+
|
844
968
|
class GoogleCloudDatacatalogV1ImportTaxonomiesRequest
|
845
969
|
# @private
|
846
970
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -912,6 +1036,18 @@ module Google
|
|
912
1036
|
end
|
913
1037
|
end
|
914
1038
|
|
1039
|
+
class GoogleCloudDatacatalogV1LookerSystemSpec
|
1040
|
+
# @private
|
1041
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1042
|
+
property :parent_instance_display_name, as: 'parentInstanceDisplayName'
|
1043
|
+
property :parent_instance_id, as: 'parentInstanceId'
|
1044
|
+
property :parent_model_display_name, as: 'parentModelDisplayName'
|
1045
|
+
property :parent_model_id, as: 'parentModelId'
|
1046
|
+
property :parent_view_display_name, as: 'parentViewDisplayName'
|
1047
|
+
property :parent_view_id, as: 'parentViewId'
|
1048
|
+
end
|
1049
|
+
end
|
1050
|
+
|
915
1051
|
class GoogleCloudDatacatalogV1ModifyEntryContactsRequest
|
916
1052
|
# @private
|
917
1053
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1129,6 +1265,15 @@ module Google
|
|
1129
1265
|
end
|
1130
1266
|
end
|
1131
1267
|
|
1268
|
+
class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
|
1269
|
+
# @private
|
1270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1271
|
+
property :database_version, as: 'databaseVersion'
|
1272
|
+
property :instance_host, as: 'instanceHost'
|
1273
|
+
property :sql_engine, as: 'sqlEngine'
|
1274
|
+
end
|
1275
|
+
end
|
1276
|
+
|
1132
1277
|
class GoogleCloudDatacatalogV1StarEntryRequest
|
1133
1278
|
# @private
|
1134
1279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1251,6 +1396,9 @@ module Google
|
|
1251
1396
|
class GoogleCloudDatacatalogV1UsageSignal
|
1252
1397
|
# @private
|
1253
1398
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1399
|
+
hash :common_usage_within_time_range, as: 'commonUsageWithinTimeRange', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CommonUsageStats, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CommonUsageStats::Representation
|
1400
|
+
|
1401
|
+
property :favorite_count, :numeric_string => true, as: 'favoriteCount'
|
1254
1402
|
property :update_time, as: 'updateTime'
|
1255
1403
|
hash :usage_within_time_range, as: 'usageWithinTimeRange', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UsageStats, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1UsageStats::Representation
|
1256
1404
|
|
@@ -1274,6 +1422,27 @@ module Google
|
|
1274
1422
|
end
|
1275
1423
|
end
|
1276
1424
|
|
1425
|
+
class ListOperationsResponse
|
1426
|
+
# @private
|
1427
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1428
|
+
property :next_page_token, as: 'nextPageToken'
|
1429
|
+
collection :operations, as: 'operations', class: Google::Apis::DatacatalogV1::Operation, decorator: Google::Apis::DatacatalogV1::Operation::Representation
|
1430
|
+
|
1431
|
+
end
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
class Operation
|
1435
|
+
# @private
|
1436
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1437
|
+
property :done, as: 'done'
|
1438
|
+
property :error, as: 'error', class: Google::Apis::DatacatalogV1::Status, decorator: Google::Apis::DatacatalogV1::Status::Representation
|
1439
|
+
|
1440
|
+
hash :metadata, as: 'metadata'
|
1441
|
+
property :name, as: 'name'
|
1442
|
+
hash :response, as: 'response'
|
1443
|
+
end
|
1444
|
+
end
|
1445
|
+
|
1277
1446
|
class Policy
|
1278
1447
|
# @private
|
1279
1448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1292,6 +1461,15 @@ module Google
|
|
1292
1461
|
end
|
1293
1462
|
end
|
1294
1463
|
|
1464
|
+
class Status
|
1465
|
+
# @private
|
1466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1467
|
+
property :code, as: 'code'
|
1468
|
+
collection :details, as: 'details'
|
1469
|
+
property :message, as: 'message'
|
1470
|
+
end
|
1471
|
+
end
|
1472
|
+
|
1295
1473
|
class TestIamPermissionsRequest
|
1296
1474
|
# @private
|
1297
1475
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -625,6 +625,45 @@ module Google
|
|
625
625
|
execute_or_queue_command(command, &block)
|
626
626
|
end
|
627
627
|
|
628
|
+
# Imports entries from some source (e.g. dump in a Cloud Storage bucket) to the
|
629
|
+
# Data Catalog. Dump here is a snapshot of the third-party system state, that
|
630
|
+
# needs to be ingested in the Data Catalog. Import of entries is a sync
|
631
|
+
# operation that reconciles state of the third-party system and Data Catalog.
|
632
|
+
# ImportEntries is a long-running operation done in the background, so this
|
633
|
+
# method returns long-running operation resource. The resource can be queried
|
634
|
+
# with Operations.GetOperation which contains metadata and response.
|
635
|
+
# @param [String] parent
|
636
|
+
# Required. Target entry group for ingested entries.
|
637
|
+
# @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ImportEntriesRequest] google_cloud_datacatalog_v1_import_entries_request_object
|
638
|
+
# @param [String] fields
|
639
|
+
# Selector specifying which fields to include in a partial response.
|
640
|
+
# @param [String] quota_user
|
641
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
642
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
643
|
+
# @param [Google::Apis::RequestOptions] options
|
644
|
+
# Request-specific options
|
645
|
+
#
|
646
|
+
# @yield [result, err] Result & error if block supplied
|
647
|
+
# @yieldparam result [Google::Apis::DatacatalogV1::Operation] parsed result object
|
648
|
+
# @yieldparam err [StandardError] error object if request failed
|
649
|
+
#
|
650
|
+
# @return [Google::Apis::DatacatalogV1::Operation]
|
651
|
+
#
|
652
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
653
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
654
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
655
|
+
def import_project_location_entry_group_entry(parent, google_cloud_datacatalog_v1_import_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
656
|
+
command = make_simple_command(:post, 'v1/{+parent}/entries:import', options)
|
657
|
+
command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ImportEntriesRequest::Representation
|
658
|
+
command.request_object = google_cloud_datacatalog_v1_import_entries_request_object
|
659
|
+
command.response_representation = Google::Apis::DatacatalogV1::Operation::Representation
|
660
|
+
command.response_class = Google::Apis::DatacatalogV1::Operation
|
661
|
+
command.params['parent'] = parent unless parent.nil?
|
662
|
+
command.query['fields'] = fields unless fields.nil?
|
663
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
664
|
+
execute_or_queue_command(command, &block)
|
665
|
+
end
|
666
|
+
|
628
667
|
# Lists entries. Note: Currently, this method can list only custom entries. To
|
629
668
|
# get a list of both custom and automatically created entries, use SearchCatalog.
|
630
669
|
# @param [String] parent
|
@@ -1203,6 +1242,153 @@ module Google
|
|
1203
1242
|
execute_or_queue_command(command, &block)
|
1204
1243
|
end
|
1205
1244
|
|
1245
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1246
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1247
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1248
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
1249
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
1250
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1251
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
1252
|
+
# corresponding to `Code.CANCELLED`.
|
1253
|
+
# @param [String] name
|
1254
|
+
# The name of the operation resource to be cancelled.
|
1255
|
+
# @param [String] fields
|
1256
|
+
# Selector specifying which fields to include in a partial response.
|
1257
|
+
# @param [String] quota_user
|
1258
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1259
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1260
|
+
# @param [Google::Apis::RequestOptions] options
|
1261
|
+
# Request-specific options
|
1262
|
+
#
|
1263
|
+
# @yield [result, err] Result & error if block supplied
|
1264
|
+
# @yieldparam result [Google::Apis::DatacatalogV1::Empty] parsed result object
|
1265
|
+
# @yieldparam err [StandardError] error object if request failed
|
1266
|
+
#
|
1267
|
+
# @return [Google::Apis::DatacatalogV1::Empty]
|
1268
|
+
#
|
1269
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1270
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1271
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1272
|
+
def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1273
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
1274
|
+
command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation
|
1275
|
+
command.response_class = Google::Apis::DatacatalogV1::Empty
|
1276
|
+
command.params['name'] = name unless name.nil?
|
1277
|
+
command.query['fields'] = fields unless fields.nil?
|
1278
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1279
|
+
execute_or_queue_command(command, &block)
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
1283
|
+
# longer interested in the operation result. It does not cancel the operation.
|
1284
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
1285
|
+
# UNIMPLEMENTED`.
|
1286
|
+
# @param [String] name
|
1287
|
+
# The name of the operation resource to be deleted.
|
1288
|
+
# @param [String] fields
|
1289
|
+
# Selector specifying which fields to include in a partial response.
|
1290
|
+
# @param [String] quota_user
|
1291
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1292
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1293
|
+
# @param [Google::Apis::RequestOptions] options
|
1294
|
+
# Request-specific options
|
1295
|
+
#
|
1296
|
+
# @yield [result, err] Result & error if block supplied
|
1297
|
+
# @yieldparam result [Google::Apis::DatacatalogV1::Empty] parsed result object
|
1298
|
+
# @yieldparam err [StandardError] error object if request failed
|
1299
|
+
#
|
1300
|
+
# @return [Google::Apis::DatacatalogV1::Empty]
|
1301
|
+
#
|
1302
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1303
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1304
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1305
|
+
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1306
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1307
|
+
command.response_representation = Google::Apis::DatacatalogV1::Empty::Representation
|
1308
|
+
command.response_class = Google::Apis::DatacatalogV1::Empty
|
1309
|
+
command.params['name'] = name unless name.nil?
|
1310
|
+
command.query['fields'] = fields unless fields.nil?
|
1311
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1312
|
+
execute_or_queue_command(command, &block)
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1316
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1317
|
+
# @param [String] name
|
1318
|
+
# The name of the operation resource.
|
1319
|
+
# @param [String] fields
|
1320
|
+
# Selector specifying which fields to include in a partial response.
|
1321
|
+
# @param [String] quota_user
|
1322
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1323
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1324
|
+
# @param [Google::Apis::RequestOptions] options
|
1325
|
+
# Request-specific options
|
1326
|
+
#
|
1327
|
+
# @yield [result, err] Result & error if block supplied
|
1328
|
+
# @yieldparam result [Google::Apis::DatacatalogV1::Operation] parsed result object
|
1329
|
+
# @yieldparam err [StandardError] error object if request failed
|
1330
|
+
#
|
1331
|
+
# @return [Google::Apis::DatacatalogV1::Operation]
|
1332
|
+
#
|
1333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1336
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1337
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1338
|
+
command.response_representation = Google::Apis::DatacatalogV1::Operation::Representation
|
1339
|
+
command.response_class = Google::Apis::DatacatalogV1::Operation
|
1340
|
+
command.params['name'] = name unless name.nil?
|
1341
|
+
command.query['fields'] = fields unless fields.nil?
|
1342
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1343
|
+
execute_or_queue_command(command, &block)
|
1344
|
+
end
|
1345
|
+
|
1346
|
+
# Lists operations that match the specified filter in the request. If the server
|
1347
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
1348
|
+
# binding allows API services to override the binding to use different resource
|
1349
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
1350
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1351
|
+
# service configuration. For backwards compatibility, the default name includes
|
1352
|
+
# the operations collection id, however overriding users must ensure the name
|
1353
|
+
# binding is the parent resource, without the operations collection id.
|
1354
|
+
# @param [String] name
|
1355
|
+
# The name of the operation's parent resource.
|
1356
|
+
# @param [String] filter
|
1357
|
+
# The standard list filter.
|
1358
|
+
# @param [Fixnum] page_size
|
1359
|
+
# The standard list page size.
|
1360
|
+
# @param [String] page_token
|
1361
|
+
# The standard list page token.
|
1362
|
+
# @param [String] fields
|
1363
|
+
# Selector specifying which fields to include in a partial response.
|
1364
|
+
# @param [String] quota_user
|
1365
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1366
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1367
|
+
# @param [Google::Apis::RequestOptions] options
|
1368
|
+
# Request-specific options
|
1369
|
+
#
|
1370
|
+
# @yield [result, err] Result & error if block supplied
|
1371
|
+
# @yieldparam result [Google::Apis::DatacatalogV1::ListOperationsResponse] parsed result object
|
1372
|
+
# @yieldparam err [StandardError] error object if request failed
|
1373
|
+
#
|
1374
|
+
# @return [Google::Apis::DatacatalogV1::ListOperationsResponse]
|
1375
|
+
#
|
1376
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1377
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1378
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1379
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1380
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
1381
|
+
command.response_representation = Google::Apis::DatacatalogV1::ListOperationsResponse::Representation
|
1382
|
+
command.response_class = Google::Apis::DatacatalogV1::ListOperationsResponse
|
1383
|
+
command.params['name'] = name unless name.nil?
|
1384
|
+
command.query['filter'] = filter unless filter.nil?
|
1385
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1386
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1387
|
+
command.query['fields'] = fields unless fields.nil?
|
1388
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1389
|
+
execute_or_queue_command(command, &block)
|
1390
|
+
end
|
1391
|
+
|
1206
1392
|
# Creates a tag template. You must enable the Data Catalog API in the project
|
1207
1393
|
# identified by the `parent` parameter. For more information, see [Data Catalog
|
1208
1394
|
# resource project] (https://cloud.google.com/data-catalog/docs/concepts/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-datacatalog_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.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: 2022-
|
11
|
+
date: 2022-12-12 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-datacatalog_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datacatalog_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|