google-cloud-dataplex-v1 0.20.0 → 0.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dataplex/v1/catalog_pb.rb +1 -1
- data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +54 -27
- data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +13 -5
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +54 -27
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/operations.rb +11 -4
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +19 -8
- data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +19 -8
- data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +2 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +21 -9
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +13 -5
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +21 -9
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +11 -4
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +33 -15
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +13 -5
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +33 -15
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +11 -4
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +69 -33
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +13 -5
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +69 -33
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +11 -4
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +1 -1
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +21 -9
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +21 -9
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/proto_docs/google/cloud/dataplex/v1/catalog.rb +17 -37
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +31 -0
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +24 -16
- metadata +2 -2
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# partitions.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "dataplex.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -282,10 +285,11 @@ module Google
|
|
282
285
|
# Customize the options with defaults
|
283
286
|
metadata = @config.rpcs.create_entity.metadata.to_h
|
284
287
|
|
285
|
-
# Set x-goog-api-client
|
288
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
286
289
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
287
290
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
288
291
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
292
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
289
293
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
290
294
|
|
291
295
|
header_params = {}
|
@@ -370,10 +374,11 @@ module Google
|
|
370
374
|
# Customize the options with defaults
|
371
375
|
metadata = @config.rpcs.update_entity.metadata.to_h
|
372
376
|
|
373
|
-
# Set x-goog-api-client
|
377
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
374
378
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
375
379
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
376
380
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
381
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
377
382
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
378
383
|
|
379
384
|
header_params = {}
|
@@ -459,10 +464,11 @@ module Google
|
|
459
464
|
# Customize the options with defaults
|
460
465
|
metadata = @config.rpcs.delete_entity.metadata.to_h
|
461
466
|
|
462
|
-
# Set x-goog-api-client
|
467
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
463
468
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
464
469
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
465
470
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
471
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
466
472
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
467
473
|
|
468
474
|
header_params = {}
|
@@ -548,10 +554,11 @@ module Google
|
|
548
554
|
# Customize the options with defaults
|
549
555
|
metadata = @config.rpcs.get_entity.metadata.to_h
|
550
556
|
|
551
|
-
# Set x-goog-api-client
|
557
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
552
558
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
553
559
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
554
560
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
561
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
555
562
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
556
563
|
|
557
564
|
header_params = {}
|
@@ -659,10 +666,11 @@ module Google
|
|
659
666
|
# Customize the options with defaults
|
660
667
|
metadata = @config.rpcs.list_entities.metadata.to_h
|
661
668
|
|
662
|
-
# Set x-goog-api-client
|
669
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
663
670
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
664
671
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
665
672
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
673
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
666
674
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
667
675
|
|
668
676
|
header_params = {}
|
@@ -751,10 +759,11 @@ module Google
|
|
751
759
|
# Customize the options with defaults
|
752
760
|
metadata = @config.rpcs.create_partition.metadata.to_h
|
753
761
|
|
754
|
-
# Set x-goog-api-client
|
762
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
755
763
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
756
764
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
757
765
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
766
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
758
767
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
759
768
|
|
760
769
|
header_params = {}
|
@@ -842,10 +851,11 @@ module Google
|
|
842
851
|
# Customize the options with defaults
|
843
852
|
metadata = @config.rpcs.delete_partition.metadata.to_h
|
844
853
|
|
845
|
-
# Set x-goog-api-client
|
854
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
846
855
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
847
856
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
848
857
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
858
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
849
859
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
850
860
|
|
851
861
|
header_params = {}
|
@@ -930,10 +940,11 @@ module Google
|
|
930
940
|
# Customize the options with defaults
|
931
941
|
metadata = @config.rpcs.get_partition.metadata.to_h
|
932
942
|
|
933
|
-
# Set x-goog-api-client
|
943
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
934
944
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
935
945
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
936
946
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
947
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
937
948
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
938
949
|
|
939
950
|
header_params = {}
|
@@ -1050,10 +1061,11 @@ module Google
|
|
1050
1061
|
# Customize the options with defaults
|
1051
1062
|
metadata = @config.rpcs.list_partitions.metadata.to_h
|
1052
1063
|
|
1053
|
-
# Set x-goog-api-client
|
1064
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1054
1065
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1055
1066
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1056
1067
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
|
1068
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1057
1069
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1058
1070
|
|
1059
1071
|
header_params = {}
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# partitions.
|
36
36
|
#
|
37
37
|
class Client
|
38
|
+
# @private
|
39
|
+
API_VERSION = ""
|
40
|
+
|
38
41
|
# @private
|
39
42
|
DEFAULT_ENDPOINT_TEMPLATE = "dataplex.$UNIVERSE_DOMAIN$"
|
40
43
|
|
@@ -276,12 +279,13 @@ module Google
|
|
276
279
|
# Customize the options with defaults
|
277
280
|
call_metadata = @config.rpcs.create_entity.metadata.to_h
|
278
281
|
|
279
|
-
# Set x-goog-api-client
|
282
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
280
283
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
281
284
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
282
285
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
283
286
|
transports_version_send: [:rest]
|
284
287
|
|
288
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
285
289
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
286
290
|
|
287
291
|
options.apply_defaults timeout: @config.rpcs.create_entity.timeout,
|
@@ -357,12 +361,13 @@ module Google
|
|
357
361
|
# Customize the options with defaults
|
358
362
|
call_metadata = @config.rpcs.update_entity.metadata.to_h
|
359
363
|
|
360
|
-
# Set x-goog-api-client
|
364
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
361
365
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
362
366
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
363
367
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
364
368
|
transports_version_send: [:rest]
|
365
369
|
|
370
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
366
371
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
367
372
|
|
368
373
|
options.apply_defaults timeout: @config.rpcs.update_entity.timeout,
|
@@ -439,12 +444,13 @@ module Google
|
|
439
444
|
# Customize the options with defaults
|
440
445
|
call_metadata = @config.rpcs.delete_entity.metadata.to_h
|
441
446
|
|
442
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
443
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
444
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
445
450
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
446
451
|
transports_version_send: [:rest]
|
447
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
448
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
449
455
|
|
450
456
|
options.apply_defaults timeout: @config.rpcs.delete_entity.timeout,
|
@@ -521,12 +527,13 @@ module Google
|
|
521
527
|
# Customize the options with defaults
|
522
528
|
call_metadata = @config.rpcs.get_entity.metadata.to_h
|
523
529
|
|
524
|
-
# Set x-goog-api-client
|
530
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
525
531
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
526
532
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
527
533
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
528
534
|
transports_version_send: [:rest]
|
529
535
|
|
536
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
530
537
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
531
538
|
|
532
539
|
options.apply_defaults timeout: @config.rpcs.get_entity.timeout,
|
@@ -625,12 +632,13 @@ module Google
|
|
625
632
|
# Customize the options with defaults
|
626
633
|
call_metadata = @config.rpcs.list_entities.metadata.to_h
|
627
634
|
|
628
|
-
# Set x-goog-api-client
|
635
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
629
636
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
630
637
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
631
638
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
632
639
|
transports_version_send: [:rest]
|
633
640
|
|
641
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
634
642
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
635
643
|
|
636
644
|
options.apply_defaults timeout: @config.rpcs.list_entities.timeout,
|
@@ -710,12 +718,13 @@ module Google
|
|
710
718
|
# Customize the options with defaults
|
711
719
|
call_metadata = @config.rpcs.create_partition.metadata.to_h
|
712
720
|
|
713
|
-
# Set x-goog-api-client
|
721
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
714
722
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
715
723
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
716
724
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
717
725
|
transports_version_send: [:rest]
|
718
726
|
|
727
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
719
728
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
720
729
|
|
721
730
|
options.apply_defaults timeout: @config.rpcs.create_partition.timeout,
|
@@ -794,12 +803,13 @@ module Google
|
|
794
803
|
# Customize the options with defaults
|
795
804
|
call_metadata = @config.rpcs.delete_partition.metadata.to_h
|
796
805
|
|
797
|
-
# Set x-goog-api-client
|
806
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
798
807
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
799
808
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
800
809
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
801
810
|
transports_version_send: [:rest]
|
802
811
|
|
812
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
803
813
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
804
814
|
|
805
815
|
options.apply_defaults timeout: @config.rpcs.delete_partition.timeout,
|
@@ -875,12 +885,13 @@ module Google
|
|
875
885
|
# Customize the options with defaults
|
876
886
|
call_metadata = @config.rpcs.get_partition.metadata.to_h
|
877
887
|
|
878
|
-
# Set x-goog-api-client
|
888
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
879
889
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
880
890
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
881
891
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
882
892
|
transports_version_send: [:rest]
|
883
893
|
|
894
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
884
895
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
885
896
|
|
886
897
|
options.apply_defaults timeout: @config.rpcs.get_partition.timeout,
|
@@ -988,12 +999,13 @@ module Google
|
|
988
999
|
# Customize the options with defaults
|
989
1000
|
call_metadata = @config.rpcs.list_partitions.metadata.to_h
|
990
1001
|
|
991
|
-
# Set x-goog-api-client
|
1002
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
992
1003
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
993
1004
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
994
1005
|
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
995
1006
|
transports_version_send: [:rest]
|
996
1007
|
|
1008
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
997
1009
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
998
1010
|
|
999
1011
|
options.apply_defaults timeout: @config.rpcs.list_partitions.timeout,
|
@@ -390,9 +390,12 @@ module Google
|
|
390
390
|
# Output only. The time when the Entry was last updated.
|
391
391
|
# @!attribute [rw] aspects
|
392
392
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Dataplex::V1::Aspect}]
|
393
|
-
# Optional. The Aspects attached to the Entry.
|
394
|
-
#
|
395
|
-
#
|
393
|
+
# Optional. The Aspects attached to the Entry.
|
394
|
+
# The format for the key can be one of the following:
|
395
|
+
# 1. \\{projectId}.\\{locationId}.\\{aspectTypeId} (if the aspect is attached
|
396
|
+
# directly to the entry)
|
397
|
+
# 2. \\{projectId}.\\{locationId}.\\{aspectTypeId}@\\{path} (if the aspect is
|
398
|
+
# attached to an entry's path)
|
396
399
|
# @!attribute [rw] parent_entry
|
397
400
|
# @return [::String]
|
398
401
|
# Optional. Immutable. The resource name of the parent entry.
|
@@ -905,15 +908,17 @@ module Google
|
|
905
908
|
# Optional. A filter on the entries to return.
|
906
909
|
# Filters are case-sensitive.
|
907
910
|
# The request can be filtered by the following fields:
|
908
|
-
# entry_type, display_name.
|
911
|
+
# entry_type, entry_source.display_name.
|
909
912
|
# The comparison operators are =, !=, <, >, <=, >= (strings are compared
|
910
913
|
# according to lexical order)
|
911
914
|
# The logical operators AND, OR, NOT can be used
|
912
|
-
# in the filter.
|
913
|
-
#
|
915
|
+
# in the filter. Wildcard "*" can be used, but for entry_type the full
|
916
|
+
# project id or number needs to be provided. Example filter expressions:
|
917
|
+
# "entry_source.display_name=AnExampleDisplayName"
|
914
918
|
# "entry_type=projects/example-project/locations/global/entryTypes/example-entry_type"
|
915
|
-
# "entry_type=projects/a* OR
|
916
|
-
#
|
919
|
+
# "entry_type=projects/example-project/locations/us/entryTypes/a* OR
|
920
|
+
# entry_type=projects/another-project/locations/*"
|
921
|
+
# "NOT entry_source.display_name=AnotherExampleDisplayName"
|
917
922
|
class ListEntriesRequest
|
918
923
|
include ::Google::Protobuf::MessageExts
|
919
924
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1001,41 +1006,14 @@ module Google
|
|
1001
1006
|
end
|
1002
1007
|
|
1003
1008
|
# A single result of a SearchEntries request.
|
1004
|
-
# @!attribute [rw] entry
|
1005
|
-
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1006
|
-
# @return [::String]
|
1007
|
-
# Resource name of the entry.
|
1008
|
-
# @!attribute [rw] display_name
|
1009
|
-
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1010
|
-
# @return [::String]
|
1011
|
-
# Display name.
|
1012
|
-
# @!attribute [rw] entry_type
|
1013
|
-
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1014
|
-
# @return [::String]
|
1015
|
-
# The entry type.
|
1016
|
-
# @!attribute [rw] modify_time
|
1017
|
-
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1018
|
-
# @return [::Google::Protobuf::Timestamp]
|
1019
|
-
# The last modification timestamp.
|
1020
|
-
# @!attribute [rw] fully_qualified_name
|
1021
|
-
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1022
|
-
# @return [::String]
|
1023
|
-
# Fully qualified name.
|
1024
|
-
# @!attribute [rw] description
|
1025
|
-
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1026
|
-
# @return [::String]
|
1027
|
-
# Entry description.
|
1028
|
-
# @!attribute [rw] relative_resource
|
1029
|
-
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1030
|
-
# @return [::String]
|
1031
|
-
# Relative resource name.
|
1032
1009
|
# @!attribute [rw] linked_resource
|
1010
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1033
1011
|
# @return [::String]
|
1034
1012
|
# Linked resource name.
|
1035
1013
|
# @!attribute [rw] dataplex_entry
|
1036
1014
|
# @return [::Google::Cloud::Dataplex::V1::Entry]
|
1037
|
-
# Entry format of the result.
|
1038
1015
|
# @!attribute [rw] snippets
|
1016
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1039
1017
|
# @return [::Google::Cloud::Dataplex::V1::SearchEntriesResult::Snippets]
|
1040
1018
|
# Snippets.
|
1041
1019
|
class SearchEntriesResult
|
@@ -1044,7 +1022,9 @@ module Google
|
|
1044
1022
|
|
1045
1023
|
# Snippets for the entry, contains HTML-style highlighting for
|
1046
1024
|
# matched tokens, will be used in UI.
|
1025
|
+
# @deprecated This message is deprecated and may be removed in the next major version update.
|
1047
1026
|
# @!attribute [rw] dataplex_entry
|
1027
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1048
1028
|
# @return [::Google::Cloud::Dataplex::V1::Entry]
|
1049
1029
|
# Entry
|
1050
1030
|
class Snippets
|
@@ -239,6 +239,12 @@ module Google
|
|
239
239
|
# The query to find rows that did not pass this rule.
|
240
240
|
#
|
241
241
|
# This field is only valid for row-level type rules.
|
242
|
+
# @!attribute [r] assertion_row_count
|
243
|
+
# @return [::Integer]
|
244
|
+
# Output only. The number of rows returned by the SQL statement in a SQL
|
245
|
+
# assertion rule.
|
246
|
+
#
|
247
|
+
# This field is only valid for SQL assertion rules.
|
242
248
|
class DataQualityRuleResult
|
243
249
|
include ::Google::Protobuf::MessageExts
|
244
250
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -307,6 +313,10 @@ module Google
|
|
307
313
|
# @return [::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation]
|
308
314
|
# Aggregate rule which evaluates whether the provided expression is true
|
309
315
|
# for a table.
|
316
|
+
# @!attribute [rw] sql_assertion
|
317
|
+
# @return [::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion]
|
318
|
+
# Aggregate rule which evaluates the number of rows returned for the
|
319
|
+
# provided statement. If any rows are returned, this rule fails.
|
310
320
|
# @!attribute [rw] column
|
311
321
|
# @return [::String]
|
312
322
|
# Optional. The unnested column which this rule is evaluated against.
|
@@ -487,6 +497,27 @@ module Google
|
|
487
497
|
include ::Google::Protobuf::MessageExts
|
488
498
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
489
499
|
end
|
500
|
+
|
501
|
+
# A SQL statement that is evaluated to return rows that match an invalid
|
502
|
+
# state. If any rows are are returned, this rule fails.
|
503
|
+
#
|
504
|
+
# The SQL statement must use BigQuery standard SQL syntax, and must not
|
505
|
+
# contain any semicolons.
|
506
|
+
#
|
507
|
+
# You can use the data reference parameter `${data()}` to reference the
|
508
|
+
# source table with all of its precondition filters applied. Examples of
|
509
|
+
# precondition filters include row filters, incremental data filters, and
|
510
|
+
# sampling. For more information, see [Data reference
|
511
|
+
# parameter](https://cloud.google.com/dataplex/docs/auto-data-quality-overview#data-reference-parameter).
|
512
|
+
#
|
513
|
+
# Example: `SELECT * FROM ${data()} WHERE price < 0`
|
514
|
+
# @!attribute [rw] sql_statement
|
515
|
+
# @return [::String]
|
516
|
+
# Optional. The SQL statement.
|
517
|
+
class SqlAssertion
|
518
|
+
include ::Google::Protobuf::MessageExts
|
519
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
520
|
+
end
|
490
521
|
end
|
491
522
|
|
492
523
|
# DataQualityColumnResult provides a more detailed, per-column view of
|
@@ -734,6 +734,10 @@ module Google
|
|
734
734
|
# @!attribute [rw] null_row_count
|
735
735
|
# @return [::Integer]
|
736
736
|
# The number of rows with null values in the specified column.
|
737
|
+
# @!attribute [rw] assertion_row_count
|
738
|
+
# @return [::Integer]
|
739
|
+
# The number of rows returned by the SQL statement in a SQL assertion rule.
|
740
|
+
# This field is only valid for SQL assertion rules.
|
737
741
|
class DataQualityScanRuleResult
|
738
742
|
include ::Google::Protobuf::MessageExts
|
739
743
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -743,37 +747,41 @@ module Google
|
|
743
747
|
# An unspecified rule type.
|
744
748
|
RULE_TYPE_UNSPECIFIED = 0
|
745
749
|
|
746
|
-
#
|
747
|
-
#
|
750
|
+
# See
|
751
|
+
# {::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation DataQualityRule.NonNullExpectation}.
|
748
752
|
NON_NULL_EXPECTATION = 1
|
749
753
|
|
750
|
-
#
|
751
|
-
#
|
754
|
+
# See
|
755
|
+
# {::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation DataQualityRule.RangeExpectation}.
|
752
756
|
RANGE_EXPECTATION = 2
|
753
757
|
|
754
|
-
#
|
755
|
-
#
|
758
|
+
# See
|
759
|
+
# {::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation DataQualityRule.RegexExpectation}.
|
756
760
|
REGEX_EXPECTATION = 3
|
757
761
|
|
758
|
-
#
|
759
|
-
#
|
762
|
+
# See
|
763
|
+
# {::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation DataQualityRule.RowConditionExpectation}.
|
760
764
|
ROW_CONDITION_EXPECTATION = 4
|
761
765
|
|
762
|
-
#
|
763
|
-
#
|
766
|
+
# See
|
767
|
+
# {::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation DataQualityRule.SetExpectation}.
|
764
768
|
SET_EXPECTATION = 5
|
765
769
|
|
766
|
-
#
|
767
|
-
#
|
770
|
+
# See
|
771
|
+
# {::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation DataQualityRule.StatisticRangeExpectation}.
|
768
772
|
STATISTIC_RANGE_EXPECTATION = 6
|
769
773
|
|
770
|
-
#
|
771
|
-
#
|
774
|
+
# See
|
775
|
+
# {::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation DataQualityRule.TableConditionExpectation}.
|
772
776
|
TABLE_CONDITION_EXPECTATION = 7
|
773
777
|
|
774
|
-
#
|
775
|
-
#
|
778
|
+
# See
|
779
|
+
# {::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation DataQualityRule.UniquenessExpectation}.
|
776
780
|
UNIQUENESS_EXPECTATION = 8
|
781
|
+
|
782
|
+
# See
|
783
|
+
# {::Google::Cloud::Dataplex::V1::DataQualityRule::SqlAssertion DataQualityRule.SqlAssertion}.
|
784
|
+
SQL_ASSERTION = 9
|
777
785
|
end
|
778
786
|
|
779
787
|
# The evaluation type of the data quality rule.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataplex-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.1
|
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-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|