google-apis-datacatalog_v1 0.10.0 → 0.14.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 +4 -4
- data/CHANGELOG.md +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/datacatalog_v1/classes.rb +598 -23
- data/lib/google/apis/datacatalog_v1/gem_version.rb +3 -3
- data/lib/google/apis/datacatalog_v1/representations.rb +350 -0
- data/lib/google/apis/datacatalog_v1/service.rb +141 -4
- metadata +4 -4
@@ -338,6 +338,31 @@ module Google
|
|
338
338
|
end
|
339
339
|
end
|
340
340
|
|
341
|
+
# Business Context of the entry.
|
342
|
+
class GoogleCloudDatacatalogV1BusinessContext
|
343
|
+
include Google::Apis::Core::Hashable
|
344
|
+
|
345
|
+
# Contact people for the entry.
|
346
|
+
# Corresponds to the JSON property `contacts`
|
347
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts]
|
348
|
+
attr_accessor :contacts
|
349
|
+
|
350
|
+
# Entry overview fields for rich text descriptions of entries.
|
351
|
+
# Corresponds to the JSON property `entryOverview`
|
352
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview]
|
353
|
+
attr_accessor :entry_overview
|
354
|
+
|
355
|
+
def initialize(**args)
|
356
|
+
update!(**args)
|
357
|
+
end
|
358
|
+
|
359
|
+
# Update properties of this object
|
360
|
+
def update!(**args)
|
361
|
+
@contacts = args[:contacts] if args.key?(:contacts)
|
362
|
+
@entry_overview = args[:entry_overview] if args.key?(:entry_overview)
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
341
366
|
# Specification for the BigQuery connection to a Cloud SQL instance.
|
342
367
|
class GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
|
343
368
|
include Google::Apis::Core::Hashable
|
@@ -417,6 +442,50 @@ module Google
|
|
417
442
|
end
|
418
443
|
end
|
419
444
|
|
445
|
+
# Contact people for the entry.
|
446
|
+
class GoogleCloudDatacatalogV1Contacts
|
447
|
+
include Google::Apis::Core::Hashable
|
448
|
+
|
449
|
+
# The list of contact people for the entry.
|
450
|
+
# Corresponds to the JSON property `people`
|
451
|
+
# @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ContactsPerson>]
|
452
|
+
attr_accessor :people
|
453
|
+
|
454
|
+
def initialize(**args)
|
455
|
+
update!(**args)
|
456
|
+
end
|
457
|
+
|
458
|
+
# Update properties of this object
|
459
|
+
def update!(**args)
|
460
|
+
@people = args[:people] if args.key?(:people)
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
# A contact person for the entry.
|
465
|
+
class GoogleCloudDatacatalogV1ContactsPerson
|
466
|
+
include Google::Apis::Core::Hashable
|
467
|
+
|
468
|
+
# Designation of the person, for example, Data Steward.
|
469
|
+
# Corresponds to the JSON property `designation`
|
470
|
+
# @return [String]
|
471
|
+
attr_accessor :designation
|
472
|
+
|
473
|
+
# Email of the person in the format of `john.doe@xyz`, ``, or `John Doe`.
|
474
|
+
# Corresponds to the JSON property `email`
|
475
|
+
# @return [String]
|
476
|
+
attr_accessor :email
|
477
|
+
|
478
|
+
def initialize(**args)
|
479
|
+
update!(**args)
|
480
|
+
end
|
481
|
+
|
482
|
+
# Update properties of this object
|
483
|
+
def update!(**args)
|
484
|
+
@designation = args[:designation] if args.key?(:designation)
|
485
|
+
@email = args[:email] if args.key?(:email)
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
420
489
|
# Cross-regional source used to import an existing taxonomy into a different
|
421
490
|
# region.
|
422
491
|
class GoogleCloudDatacatalogV1CrossRegionalSource
|
@@ -453,6 +522,16 @@ module Google
|
|
453
522
|
# @return [String]
|
454
523
|
attr_accessor :service
|
455
524
|
|
525
|
+
# Output only. Data Catalog entry name, if applicable.
|
526
|
+
# Corresponds to the JSON property `sourceEntry`
|
527
|
+
# @return [String]
|
528
|
+
attr_accessor :source_entry
|
529
|
+
|
530
|
+
# Details the properties of the underlying storage.
|
531
|
+
# Corresponds to the JSON property `storageProperties`
|
532
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1StorageProperties]
|
533
|
+
attr_accessor :storage_properties
|
534
|
+
|
456
535
|
def initialize(**args)
|
457
536
|
update!(**args)
|
458
537
|
end
|
@@ -461,6 +540,8 @@ module Google
|
|
461
540
|
def update!(**args)
|
462
541
|
@resource = args[:resource] if args.key?(:resource)
|
463
542
|
@service = args[:service] if args.key?(:service)
|
543
|
+
@source_entry = args[:source_entry] if args.key?(:source_entry)
|
544
|
+
@storage_properties = args[:storage_properties] if args.key?(:storage_properties)
|
464
545
|
end
|
465
546
|
end
|
466
547
|
|
@@ -489,6 +570,11 @@ module Google
|
|
489
570
|
class GoogleCloudDatacatalogV1DatabaseTableSpec
|
490
571
|
include Google::Apis::Core::Hashable
|
491
572
|
|
573
|
+
# Entry specification for a Dataplex table.
|
574
|
+
# Corresponds to the JSON property `dataplexTable`
|
575
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataplexTableSpec]
|
576
|
+
attr_accessor :dataplex_table
|
577
|
+
|
492
578
|
# Type of this table.
|
493
579
|
# Corresponds to the JSON property `type`
|
494
580
|
# @return [String]
|
@@ -500,10 +586,147 @@ module Google
|
|
500
586
|
|
501
587
|
# Update properties of this object
|
502
588
|
def update!(**args)
|
589
|
+
@dataplex_table = args[:dataplex_table] if args.key?(:dataplex_table)
|
503
590
|
@type = args[:type] if args.key?(:type)
|
504
591
|
end
|
505
592
|
end
|
506
593
|
|
594
|
+
# External table registered by Dataplex. Dataplex publishes data discovered from
|
595
|
+
# an asset into multiple other systems (BigQuery, DPMS) in form of tables. We
|
596
|
+
# call them "external tables". External tables are also synced into the Data
|
597
|
+
# Catalog. This message contains pointers to those external tables (fully
|
598
|
+
# qualified name, resource name et cetera) within the Data Catalog.
|
599
|
+
class GoogleCloudDatacatalogV1DataplexExternalTable
|
600
|
+
include Google::Apis::Core::Hashable
|
601
|
+
|
602
|
+
# Name of the Data Catalog entry representing the external table.
|
603
|
+
# Corresponds to the JSON property `dataCatalogEntry`
|
604
|
+
# @return [String]
|
605
|
+
attr_accessor :data_catalog_entry
|
606
|
+
|
607
|
+
# Fully qualified name (FQN) of the external table.
|
608
|
+
# Corresponds to the JSON property `fullyQualifiedName`
|
609
|
+
# @return [String]
|
610
|
+
attr_accessor :fully_qualified_name
|
611
|
+
|
612
|
+
# Google Cloud resource name of the external table.
|
613
|
+
# Corresponds to the JSON property `googleCloudResource`
|
614
|
+
# @return [String]
|
615
|
+
attr_accessor :google_cloud_resource
|
616
|
+
|
617
|
+
# Service in which the external table is registered.
|
618
|
+
# Corresponds to the JSON property `system`
|
619
|
+
# @return [String]
|
620
|
+
attr_accessor :system
|
621
|
+
|
622
|
+
def initialize(**args)
|
623
|
+
update!(**args)
|
624
|
+
end
|
625
|
+
|
626
|
+
# Update properties of this object
|
627
|
+
def update!(**args)
|
628
|
+
@data_catalog_entry = args[:data_catalog_entry] if args.key?(:data_catalog_entry)
|
629
|
+
@fully_qualified_name = args[:fully_qualified_name] if args.key?(:fully_qualified_name)
|
630
|
+
@google_cloud_resource = args[:google_cloud_resource] if args.key?(:google_cloud_resource)
|
631
|
+
@system = args[:system] if args.key?(:system)
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
635
|
+
# Entry specyfication for a Dataplex fileset.
|
636
|
+
class GoogleCloudDatacatalogV1DataplexFilesetSpec
|
637
|
+
include Google::Apis::Core::Hashable
|
638
|
+
|
639
|
+
# Common Dataplex fields.
|
640
|
+
# Corresponds to the JSON property `dataplexSpec`
|
641
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataplexSpec]
|
642
|
+
attr_accessor :dataplex_spec
|
643
|
+
|
644
|
+
def initialize(**args)
|
645
|
+
update!(**args)
|
646
|
+
end
|
647
|
+
|
648
|
+
# Update properties of this object
|
649
|
+
def update!(**args)
|
650
|
+
@dataplex_spec = args[:dataplex_spec] if args.key?(:dataplex_spec)
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
# Common Dataplex fields.
|
655
|
+
class GoogleCloudDatacatalogV1DataplexSpec
|
656
|
+
include Google::Apis::Core::Hashable
|
657
|
+
|
658
|
+
# Fully qualified resource name of an asset in Dataplex, to which the underlying
|
659
|
+
# data source (Cloud Storage bucket or BigQuery dataset) of the entity is
|
660
|
+
# attached.
|
661
|
+
# Corresponds to the JSON property `asset`
|
662
|
+
# @return [String]
|
663
|
+
attr_accessor :asset
|
664
|
+
|
665
|
+
# Compression format of the data, e.g., zip, gzip etc.
|
666
|
+
# Corresponds to the JSON property `compressionFormat`
|
667
|
+
# @return [String]
|
668
|
+
attr_accessor :compression_format
|
669
|
+
|
670
|
+
# Native schema used by a resource represented as an entry. Used by query
|
671
|
+
# engines for deserializing and parsing source data.
|
672
|
+
# Corresponds to the JSON property `dataFormat`
|
673
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchema]
|
674
|
+
attr_accessor :data_format
|
675
|
+
|
676
|
+
# Project ID of the underlying Cloud Storage or BigQuery data. Note that this
|
677
|
+
# may not be the same project as the correspondingly Dataplex lake / zone /
|
678
|
+
# asset.
|
679
|
+
# Corresponds to the JSON property `projectId`
|
680
|
+
# @return [String]
|
681
|
+
attr_accessor :project_id
|
682
|
+
|
683
|
+
def initialize(**args)
|
684
|
+
update!(**args)
|
685
|
+
end
|
686
|
+
|
687
|
+
# Update properties of this object
|
688
|
+
def update!(**args)
|
689
|
+
@asset = args[:asset] if args.key?(:asset)
|
690
|
+
@compression_format = args[:compression_format] if args.key?(:compression_format)
|
691
|
+
@data_format = args[:data_format] if args.key?(:data_format)
|
692
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
# Entry specification for a Dataplex table.
|
697
|
+
class GoogleCloudDatacatalogV1DataplexTableSpec
|
698
|
+
include Google::Apis::Core::Hashable
|
699
|
+
|
700
|
+
# Common Dataplex fields.
|
701
|
+
# Corresponds to the JSON property `dataplexSpec`
|
702
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataplexSpec]
|
703
|
+
attr_accessor :dataplex_spec
|
704
|
+
|
705
|
+
# List of external tables registered by Dataplex in other systems based on the
|
706
|
+
# same underlying data. External tables allow to query this data in those
|
707
|
+
# systems.
|
708
|
+
# Corresponds to the JSON property `externalTables`
|
709
|
+
# @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataplexExternalTable>]
|
710
|
+
attr_accessor :external_tables
|
711
|
+
|
712
|
+
# Indicates if the table schema is managed by the user or not.
|
713
|
+
# Corresponds to the JSON property `userManaged`
|
714
|
+
# @return [Boolean]
|
715
|
+
attr_accessor :user_managed
|
716
|
+
alias_method :user_managed?, :user_managed
|
717
|
+
|
718
|
+
def initialize(**args)
|
719
|
+
update!(**args)
|
720
|
+
end
|
721
|
+
|
722
|
+
# Update properties of this object
|
723
|
+
def update!(**args)
|
724
|
+
@dataplex_spec = args[:dataplex_spec] if args.key?(:dataplex_spec)
|
725
|
+
@external_tables = args[:external_tables] if args.key?(:external_tables)
|
726
|
+
@user_managed = args[:user_managed] if args.key?(:user_managed)
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
507
730
|
# Entry metadata. A Data Catalog entry represents another resource in Google
|
508
731
|
# Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or outside of
|
509
732
|
# it. You can use the `linked_resource` field in the entry resource to refer to
|
@@ -526,6 +749,11 @@ module Google
|
|
526
749
|
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BigQueryTableSpec]
|
527
750
|
attr_accessor :bigquery_table_spec
|
528
751
|
|
752
|
+
# Business Context of the entry.
|
753
|
+
# Corresponds to the JSON property `businessContext`
|
754
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BusinessContext]
|
755
|
+
attr_accessor :business_context
|
756
|
+
|
529
757
|
# Physical location of an entry.
|
530
758
|
# Corresponds to the JSON property `dataSource`
|
531
759
|
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataSource]
|
@@ -560,6 +788,12 @@ module Google
|
|
560
788
|
# @return [String]
|
561
789
|
attr_accessor :display_name
|
562
790
|
|
791
|
+
# Specification that applies to a fileset. Valid only for entries with the '
|
792
|
+
# FILESET' type.
|
793
|
+
# Corresponds to the JSON property `filesetSpec`
|
794
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1FilesetSpec]
|
795
|
+
attr_accessor :fileset_spec
|
796
|
+
|
563
797
|
# Fully qualified name (FQN) of the resource. Set automatically for entries
|
564
798
|
# representing resources from synced systems. Settable only during creation and
|
565
799
|
# read-only afterwards. Can be used for search and lookup of the entries. FQNs
|
@@ -611,6 +845,11 @@ module Google
|
|
611
845
|
# @return [String]
|
612
846
|
attr_accessor :name
|
613
847
|
|
848
|
+
# Entry metadata relevant only to the user and private to them.
|
849
|
+
# Corresponds to the JSON property `personalDetails`
|
850
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PersonalDetails]
|
851
|
+
attr_accessor :personal_details
|
852
|
+
|
614
853
|
# Specification that applies to a routine. Valid only for entries with the `
|
615
854
|
# ROUTINE` type.
|
616
855
|
# Corresponds to the JSON property `routineSpec`
|
@@ -670,17 +909,20 @@ module Google
|
|
670
909
|
def update!(**args)
|
671
910
|
@bigquery_date_sharded_spec = args[:bigquery_date_sharded_spec] if args.key?(:bigquery_date_sharded_spec)
|
672
911
|
@bigquery_table_spec = args[:bigquery_table_spec] if args.key?(:bigquery_table_spec)
|
912
|
+
@business_context = args[:business_context] if args.key?(:business_context)
|
673
913
|
@data_source = args[:data_source] if args.key?(:data_source)
|
674
914
|
@data_source_connection_spec = args[:data_source_connection_spec] if args.key?(:data_source_connection_spec)
|
675
915
|
@database_table_spec = args[:database_table_spec] if args.key?(:database_table_spec)
|
676
916
|
@description = args[:description] if args.key?(:description)
|
677
917
|
@display_name = args[:display_name] if args.key?(:display_name)
|
918
|
+
@fileset_spec = args[:fileset_spec] if args.key?(:fileset_spec)
|
678
919
|
@fully_qualified_name = args[:fully_qualified_name] if args.key?(:fully_qualified_name)
|
679
920
|
@gcs_fileset_spec = args[:gcs_fileset_spec] if args.key?(:gcs_fileset_spec)
|
680
921
|
@integrated_system = args[:integrated_system] if args.key?(:integrated_system)
|
681
922
|
@labels = args[:labels] if args.key?(:labels)
|
682
923
|
@linked_resource = args[:linked_resource] if args.key?(:linked_resource)
|
683
924
|
@name = args[:name] if args.key?(:name)
|
925
|
+
@personal_details = args[:personal_details] if args.key?(:personal_details)
|
684
926
|
@routine_spec = args[:routine_spec] if args.key?(:routine_spec)
|
685
927
|
@schema = args[:schema] if args.key?(:schema)
|
686
928
|
@source_system_timestamps = args[:source_system_timestamps] if args.key?(:source_system_timestamps)
|
@@ -733,6 +975,28 @@ module Google
|
|
733
975
|
end
|
734
976
|
end
|
735
977
|
|
978
|
+
# Entry overview fields for rich text descriptions of entries.
|
979
|
+
class GoogleCloudDatacatalogV1EntryOverview
|
980
|
+
include Google::Apis::Core::Hashable
|
981
|
+
|
982
|
+
# Entry overview with support for rich text. The overview must only contain
|
983
|
+
# Unicode characters, and should be formatted using HTML. The maximum length is
|
984
|
+
# 10 MiB as this value holds HTML descriptions including encoded images. The
|
985
|
+
# maximum length of the text without images is 100 KiB.
|
986
|
+
# Corresponds to the JSON property `overview`
|
987
|
+
# @return [String]
|
988
|
+
attr_accessor :overview
|
989
|
+
|
990
|
+
def initialize(**args)
|
991
|
+
update!(**args)
|
992
|
+
end
|
993
|
+
|
994
|
+
# Update properties of this object
|
995
|
+
def update!(**args)
|
996
|
+
@overview = args[:overview] if args.key?(:overview)
|
997
|
+
end
|
998
|
+
end
|
999
|
+
|
736
1000
|
# Response message for ExportTaxonomies.
|
737
1001
|
class GoogleCloudDatacatalogV1ExportTaxonomiesResponse
|
738
1002
|
include Google::Apis::Core::Hashable
|
@@ -823,6 +1087,26 @@ module Google
|
|
823
1087
|
end
|
824
1088
|
end
|
825
1089
|
|
1090
|
+
# Specification that applies to a fileset. Valid only for entries with the '
|
1091
|
+
# FILESET' type.
|
1092
|
+
class GoogleCloudDatacatalogV1FilesetSpec
|
1093
|
+
include Google::Apis::Core::Hashable
|
1094
|
+
|
1095
|
+
# Entry specyfication for a Dataplex fileset.
|
1096
|
+
# Corresponds to the JSON property `dataplexFileset`
|
1097
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1DataplexFilesetSpec]
|
1098
|
+
attr_accessor :dataplex_fileset
|
1099
|
+
|
1100
|
+
def initialize(**args)
|
1101
|
+
update!(**args)
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
# Update properties of this object
|
1105
|
+
def update!(**args)
|
1106
|
+
@dataplex_fileset = args[:dataplex_fileset] if args.key?(:dataplex_fileset)
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
|
826
1110
|
# Specification of a single file in Cloud Storage.
|
827
1111
|
class GoogleCloudDatacatalogV1GcsFileSpec
|
828
1112
|
include Google::Apis::Core::Hashable
|
@@ -1089,6 +1373,216 @@ module Google
|
|
1089
1373
|
end
|
1090
1374
|
end
|
1091
1375
|
|
1376
|
+
# Request message for ModifyEntryContacts.
|
1377
|
+
class GoogleCloudDatacatalogV1ModifyEntryContactsRequest
|
1378
|
+
include Google::Apis::Core::Hashable
|
1379
|
+
|
1380
|
+
# Contact people for the entry.
|
1381
|
+
# Corresponds to the JSON property `contacts`
|
1382
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Contacts]
|
1383
|
+
attr_accessor :contacts
|
1384
|
+
|
1385
|
+
def initialize(**args)
|
1386
|
+
update!(**args)
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
# Update properties of this object
|
1390
|
+
def update!(**args)
|
1391
|
+
@contacts = args[:contacts] if args.key?(:contacts)
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
# Request message for ModifyEntryOverview.
|
1396
|
+
class GoogleCloudDatacatalogV1ModifyEntryOverviewRequest
|
1397
|
+
include Google::Apis::Core::Hashable
|
1398
|
+
|
1399
|
+
# Entry overview fields for rich text descriptions of entries.
|
1400
|
+
# Corresponds to the JSON property `entryOverview`
|
1401
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1EntryOverview]
|
1402
|
+
attr_accessor :entry_overview
|
1403
|
+
|
1404
|
+
def initialize(**args)
|
1405
|
+
update!(**args)
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
# Update properties of this object
|
1409
|
+
def update!(**args)
|
1410
|
+
@entry_overview = args[:entry_overview] if args.key?(:entry_overview)
|
1411
|
+
end
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
# Entry metadata relevant only to the user and private to them.
|
1415
|
+
class GoogleCloudDatacatalogV1PersonalDetails
|
1416
|
+
include Google::Apis::Core::Hashable
|
1417
|
+
|
1418
|
+
# Set if the entry is starred; unset otherwise.
|
1419
|
+
# Corresponds to the JSON property `starTime`
|
1420
|
+
# @return [String]
|
1421
|
+
attr_accessor :star_time
|
1422
|
+
|
1423
|
+
# True if the entry is starred by the user; false otherwise.
|
1424
|
+
# Corresponds to the JSON property `starred`
|
1425
|
+
# @return [Boolean]
|
1426
|
+
attr_accessor :starred
|
1427
|
+
alias_method :starred?, :starred
|
1428
|
+
|
1429
|
+
def initialize(**args)
|
1430
|
+
update!(**args)
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
# Update properties of this object
|
1434
|
+
def update!(**args)
|
1435
|
+
@star_time = args[:star_time] if args.key?(:star_time)
|
1436
|
+
@starred = args[:starred] if args.key?(:starred)
|
1437
|
+
end
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# Native schema used by a resource represented as an entry. Used by query
|
1441
|
+
# engines for deserializing and parsing source data.
|
1442
|
+
class GoogleCloudDatacatalogV1PhysicalSchema
|
1443
|
+
include Google::Apis::Core::Hashable
|
1444
|
+
|
1445
|
+
# Schema in Avro JSON format.
|
1446
|
+
# Corresponds to the JSON property `avro`
|
1447
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema]
|
1448
|
+
attr_accessor :avro
|
1449
|
+
|
1450
|
+
# Marks a CSV-encoded data source.
|
1451
|
+
# Corresponds to the JSON property `csv`
|
1452
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema]
|
1453
|
+
attr_accessor :csv
|
1454
|
+
|
1455
|
+
# Marks an ORC-encoded data source.
|
1456
|
+
# Corresponds to the JSON property `orc`
|
1457
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema]
|
1458
|
+
attr_accessor :orc
|
1459
|
+
|
1460
|
+
# Marks a Parquet-encoded data source.
|
1461
|
+
# Corresponds to the JSON property `parquet`
|
1462
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema]
|
1463
|
+
attr_accessor :parquet
|
1464
|
+
|
1465
|
+
# Schema in protocol buffer format.
|
1466
|
+
# Corresponds to the JSON property `protobuf`
|
1467
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema]
|
1468
|
+
attr_accessor :protobuf
|
1469
|
+
|
1470
|
+
# Schema in Thrift format.
|
1471
|
+
# Corresponds to the JSON property `thrift`
|
1472
|
+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema]
|
1473
|
+
attr_accessor :thrift
|
1474
|
+
|
1475
|
+
def initialize(**args)
|
1476
|
+
update!(**args)
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# Update properties of this object
|
1480
|
+
def update!(**args)
|
1481
|
+
@avro = args[:avro] if args.key?(:avro)
|
1482
|
+
@csv = args[:csv] if args.key?(:csv)
|
1483
|
+
@orc = args[:orc] if args.key?(:orc)
|
1484
|
+
@parquet = args[:parquet] if args.key?(:parquet)
|
1485
|
+
@protobuf = args[:protobuf] if args.key?(:protobuf)
|
1486
|
+
@thrift = args[:thrift] if args.key?(:thrift)
|
1487
|
+
end
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
# Schema in Avro JSON format.
|
1491
|
+
class GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema
|
1492
|
+
include Google::Apis::Core::Hashable
|
1493
|
+
|
1494
|
+
# JSON source of the Avro schema.
|
1495
|
+
# Corresponds to the JSON property `text`
|
1496
|
+
# @return [String]
|
1497
|
+
attr_accessor :text
|
1498
|
+
|
1499
|
+
def initialize(**args)
|
1500
|
+
update!(**args)
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
# Update properties of this object
|
1504
|
+
def update!(**args)
|
1505
|
+
@text = args[:text] if args.key?(:text)
|
1506
|
+
end
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
# Marks a CSV-encoded data source.
|
1510
|
+
class GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema
|
1511
|
+
include Google::Apis::Core::Hashable
|
1512
|
+
|
1513
|
+
def initialize(**args)
|
1514
|
+
update!(**args)
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
# Update properties of this object
|
1518
|
+
def update!(**args)
|
1519
|
+
end
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
# Marks an ORC-encoded data source.
|
1523
|
+
class GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema
|
1524
|
+
include Google::Apis::Core::Hashable
|
1525
|
+
|
1526
|
+
def initialize(**args)
|
1527
|
+
update!(**args)
|
1528
|
+
end
|
1529
|
+
|
1530
|
+
# Update properties of this object
|
1531
|
+
def update!(**args)
|
1532
|
+
end
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
# Marks a Parquet-encoded data source.
|
1536
|
+
class GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema
|
1537
|
+
include Google::Apis::Core::Hashable
|
1538
|
+
|
1539
|
+
def initialize(**args)
|
1540
|
+
update!(**args)
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
# Update properties of this object
|
1544
|
+
def update!(**args)
|
1545
|
+
end
|
1546
|
+
end
|
1547
|
+
|
1548
|
+
# Schema in protocol buffer format.
|
1549
|
+
class GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema
|
1550
|
+
include Google::Apis::Core::Hashable
|
1551
|
+
|
1552
|
+
# Protocol buffer source of the schema.
|
1553
|
+
# Corresponds to the JSON property `text`
|
1554
|
+
# @return [String]
|
1555
|
+
attr_accessor :text
|
1556
|
+
|
1557
|
+
def initialize(**args)
|
1558
|
+
update!(**args)
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
# Update properties of this object
|
1562
|
+
def update!(**args)
|
1563
|
+
@text = args[:text] if args.key?(:text)
|
1564
|
+
end
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
# Schema in Thrift format.
|
1568
|
+
class GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema
|
1569
|
+
include Google::Apis::Core::Hashable
|
1570
|
+
|
1571
|
+
# Thrift IDL source of the schema.
|
1572
|
+
# Corresponds to the JSON property `text`
|
1573
|
+
# @return [String]
|
1574
|
+
attr_accessor :text
|
1575
|
+
|
1576
|
+
def initialize(**args)
|
1577
|
+
update!(**args)
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
# Update properties of this object
|
1581
|
+
def update!(**args)
|
1582
|
+
@text = args[:text] if args.key?(:text)
|
1583
|
+
end
|
1584
|
+
end
|
1585
|
+
|
1092
1586
|
# Denotes one policy tag in a taxonomy, for example, SSN. Policy tags can be
|
1093
1587
|
# defined in a hierarchy. For example: ``` + Geolocation + LatLong + City +
|
1094
1588
|
# ZipCode ``` Where the "Geolocation" policy tag contains three children.
|
@@ -1314,8 +1808,8 @@ module Google
|
|
1314
1808
|
|
1315
1809
|
# Specifies the order of results. Currently supported case-sensitive values are:
|
1316
1810
|
# * `relevance` that can only be descending * `last_modified_timestamp [asc|desc]
|
1317
|
-
# ` with descending (`desc`) as default
|
1318
|
-
# defaults to the descending `relevance`.
|
1811
|
+
# ` with descending (`desc`) as default * `default` that can only be descending
|
1812
|
+
# If this parameter is omitted, it defaults to the descending `relevance`.
|
1319
1813
|
# Corresponds to the JSON property `orderBy`
|
1320
1814
|
# @return [String]
|
1321
1815
|
attr_accessor :order_by
|
@@ -1390,11 +1884,8 @@ module Google
|
|
1390
1884
|
# @return [Array<String>]
|
1391
1885
|
attr_accessor :include_project_ids
|
1392
1886
|
|
1393
|
-
# Optional.
|
1394
|
-
#
|
1395
|
-
# view them. For example, if you are the owner. Other scope fields, for example,
|
1396
|
-
# `include_org_ids`, still restrict the returned public tag templates and at
|
1397
|
-
# least one of them is required.
|
1887
|
+
# Optional. This field is deprecated. The search mechanism for public and
|
1888
|
+
# private tag templates is the same.
|
1398
1889
|
# Corresponds to the JSON property `includePublicTagTemplates`
|
1399
1890
|
# @return [Boolean]
|
1400
1891
|
attr_accessor :include_public_tag_templates
|
@@ -1411,6 +1902,13 @@ module Google
|
|
1411
1902
|
# @return [Array<String>]
|
1412
1903
|
attr_accessor :restricted_locations
|
1413
1904
|
|
1905
|
+
# Optional. If `true`, search only among starred entries. By default, all
|
1906
|
+
# results are returned, starred or not.
|
1907
|
+
# Corresponds to the JSON property `starredOnly`
|
1908
|
+
# @return [Boolean]
|
1909
|
+
attr_accessor :starred_only
|
1910
|
+
alias_method :starred_only?, :starred_only
|
1911
|
+
|
1414
1912
|
def initialize(**args)
|
1415
1913
|
update!(**args)
|
1416
1914
|
end
|
@@ -1422,6 +1920,7 @@ module Google
|
|
1422
1920
|
@include_project_ids = args[:include_project_ids] if args.key?(:include_project_ids)
|
1423
1921
|
@include_public_tag_templates = args[:include_public_tag_templates] if args.key?(:include_public_tag_templates)
|
1424
1922
|
@restricted_locations = args[:restricted_locations] if args.key?(:restricted_locations)
|
1923
|
+
@starred_only = args[:starred_only] if args.key?(:starred_only)
|
1425
1924
|
end
|
1426
1925
|
end
|
1427
1926
|
|
@@ -1629,6 +2128,68 @@ module Google
|
|
1629
2128
|
end
|
1630
2129
|
end
|
1631
2130
|
|
2131
|
+
# Request message for StarEntry.
|
2132
|
+
class GoogleCloudDatacatalogV1StarEntryRequest
|
2133
|
+
include Google::Apis::Core::Hashable
|
2134
|
+
|
2135
|
+
def initialize(**args)
|
2136
|
+
update!(**args)
|
2137
|
+
end
|
2138
|
+
|
2139
|
+
# Update properties of this object
|
2140
|
+
def update!(**args)
|
2141
|
+
end
|
2142
|
+
end
|
2143
|
+
|
2144
|
+
# Response message for StarEntry. Empty for now
|
2145
|
+
class GoogleCloudDatacatalogV1StarEntryResponse
|
2146
|
+
include Google::Apis::Core::Hashable
|
2147
|
+
|
2148
|
+
def initialize(**args)
|
2149
|
+
update!(**args)
|
2150
|
+
end
|
2151
|
+
|
2152
|
+
# Update properties of this object
|
2153
|
+
def update!(**args)
|
2154
|
+
end
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
# Details the properties of the underlying storage.
|
2158
|
+
class GoogleCloudDatacatalogV1StorageProperties
|
2159
|
+
include Google::Apis::Core::Hashable
|
2160
|
+
|
2161
|
+
# Patterns to identify a set of files for this fileset. Examples of a valid `
|
2162
|
+
# file_pattern`: * `gs://bucket_name/dir/*`: matches all files in the `
|
2163
|
+
# bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all files in
|
2164
|
+
# the `bucket_name/dir` and all subdirectories recursively * `gs://bucket_name/
|
2165
|
+
# file*`: matches files prefixed by `file` in `bucket_name` * `gs://bucket_name/?
|
2166
|
+
# ?.txt`: matches files with two characters followed by `.txt` in `bucket_name` *
|
2167
|
+
# `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel
|
2168
|
+
# character followed by `.txt` in `bucket_name` * `gs://bucket_name/[a-m].txt`:
|
2169
|
+
# matches files that contain `a`, `b`, ... or `m` followed by `.txt` in `
|
2170
|
+
# bucket_name` * `gs://bucket_name/a/*/b`: matches all files in `bucket_name`
|
2171
|
+
# that match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * `gs://
|
2172
|
+
# another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
|
2173
|
+
# Corresponds to the JSON property `filePattern`
|
2174
|
+
# @return [Array<String>]
|
2175
|
+
attr_accessor :file_pattern
|
2176
|
+
|
2177
|
+
# File type in MIME format, for example, `text/plain`.
|
2178
|
+
# Corresponds to the JSON property `fileType`
|
2179
|
+
# @return [String]
|
2180
|
+
attr_accessor :file_type
|
2181
|
+
|
2182
|
+
def initialize(**args)
|
2183
|
+
update!(**args)
|
2184
|
+
end
|
2185
|
+
|
2186
|
+
# Update properties of this object
|
2187
|
+
def update!(**args)
|
2188
|
+
@file_pattern = args[:file_pattern] if args.key?(:file_pattern)
|
2189
|
+
@file_type = args[:file_type] if args.key?(:file_type)
|
2190
|
+
end
|
2191
|
+
end
|
2192
|
+
|
1632
2193
|
# Timestamps associated with this resource in a particular system.
|
1633
2194
|
class GoogleCloudDatacatalogV1SystemTimestamps
|
1634
2195
|
include Google::Apis::Core::Hashable
|
@@ -1858,22 +2419,10 @@ module Google
|
|
1858
2419
|
# @return [Hash<String,Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagTemplateField>]
|
1859
2420
|
attr_accessor :fields
|
1860
2421
|
|
1861
|
-
# Indicates whether
|
1862
|
-
#
|
1863
|
-
#
|
1864
|
-
#
|
1865
|
-
# To get the template using the GetTagTemplate method, you need view access
|
1866
|
-
# either on the project or the organization the tag template resides in but no
|
1867
|
-
# other permission is needed. * Operations on the tag template other than
|
1868
|
-
# viewing (for example, editing IAM policies) follow standard IAM structures.
|
1869
|
-
# Tags created with a public tag template are referred to as public tags. You
|
1870
|
-
# can search for a public tag by value with a simple search query instead of
|
1871
|
-
# using a ``tag:`` predicate. Public tag templates may not appear in search
|
1872
|
-
# results depending on scope, see: include_public_tag_templates Note: If an [IAM
|
1873
|
-
# domain restriction](https://cloud.google.com/resource-manager/docs/
|
1874
|
-
# organization-policy/restricting-domains) is configured in the tag template's
|
1875
|
-
# location, the public access will not be enabled but the simple search for tag
|
1876
|
-
# values will still work.
|
2422
|
+
# Indicates whether tags created with this template are public. Public tags do
|
2423
|
+
# not require tag template access to appear in ListTags API response.
|
2424
|
+
# Additionally, you can search for a public tag by value with a simple search
|
2425
|
+
# query instead of using a ``tag:`` predicate.
|
1877
2426
|
# Corresponds to the JSON property `isPubliclyReadable`
|
1878
2427
|
# @return [Boolean]
|
1879
2428
|
attr_accessor :is_publicly_readable
|
@@ -2019,6 +2568,32 @@ module Google
|
|
2019
2568
|
end
|
2020
2569
|
end
|
2021
2570
|
|
2571
|
+
# Request message for UnstarEntry.
|
2572
|
+
class GoogleCloudDatacatalogV1UnstarEntryRequest
|
2573
|
+
include Google::Apis::Core::Hashable
|
2574
|
+
|
2575
|
+
def initialize(**args)
|
2576
|
+
update!(**args)
|
2577
|
+
end
|
2578
|
+
|
2579
|
+
# Update properties of this object
|
2580
|
+
def update!(**args)
|
2581
|
+
end
|
2582
|
+
end
|
2583
|
+
|
2584
|
+
# Response message for UnstarEntry. Empty for now
|
2585
|
+
class GoogleCloudDatacatalogV1UnstarEntryResponse
|
2586
|
+
include Google::Apis::Core::Hashable
|
2587
|
+
|
2588
|
+
def initialize(**args)
|
2589
|
+
update!(**args)
|
2590
|
+
end
|
2591
|
+
|
2592
|
+
# Update properties of this object
|
2593
|
+
def update!(**args)
|
2594
|
+
end
|
2595
|
+
end
|
2596
|
+
|
2022
2597
|
# The set of all usage signals that Data Catalog stores. Note: Usually, these
|
2023
2598
|
# signals are updated daily. In rare cases, an update may fail but will be
|
2024
2599
|
# performed again on the next day.
|