google-cloud-dataplex-v1 2.8.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b794bcb782858225ebda85cb1253a42ef4bd5d3bebdfb8096b6d772bdf5a3f50
4
- data.tar.gz: 11dac1fc08c5d0a488da106ef4c0ee64bc64ec6ab65e55e434ec12dd1860f9b4
3
+ metadata.gz: e47ed535813fa717fe1d7a5ff0e3352e3f5c9adc4b4008d9871019630bd9096f
4
+ data.tar.gz: 6bba10c7deab318b69854c6a6a9976d782ab32702b1d5377fbf2731173a134a6
5
5
  SHA512:
6
- metadata.gz: 903b16e52c59aa3bcb29759c3560c5d143bfecf2672da837faef4049ab7db39f0a8b26fd068ba6c702f79e7ea8dddd39e42f8ea984fb3eda404f88665f4c31d7
7
- data.tar.gz: 037c4f9f7598e6082e5156750e421e2b8160a20ff6f241bd196d05c3a426d82b21e4355df6a86cc98dfbe382c1498d05a9163eb9e2131bff06d68f85ab8f3b3a
6
+ metadata.gz: c0c43cf7767676783dada69a36643cd76f4125c1891598829e80d77abb515bb8c88519e80efbda3f57ca427292347119304ef4b301b82661489b89ae9ed04f0e
7
+ data.tar.gz: '03379446a99faf4dc317542eeff5857a8a8abb10c60b878da756b558eb1c13b02c0e4dead15ad72c1c5fce8e15512b61c5d5357f375bdbafd23926b2bcf4462b'
@@ -210,6 +210,14 @@ module Google
210
210
  ],
211
211
  body: nil
212
212
  ),
213
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
214
+ uri_method: :get,
215
+ uri_template: "/v1/{resource}:getIamPolicy",
216
+ matches: [
217
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/?$}, false]
218
+ ],
219
+ body: nil
220
+ ),
213
221
  Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
214
222
  uri_method: :get,
215
223
  uri_template: "/v1/{resource}:getIamPolicy",
@@ -380,14 +388,6 @@ module Google
380
388
  ["resource", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/?$}, false]
381
389
  ],
382
390
  body: "*"
383
- ),
384
- Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
385
- uri_method: :post,
386
- uri_template: "/v1/{resource}:setIamPolicy",
387
- matches: [
388
- ["resource", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/dataAssets/[^/]+/?$}, false]
389
- ],
390
- body: "*"
391
391
  )
392
392
  ]
393
393
  default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
@@ -551,14 +551,6 @@ module Google
551
551
  ["resource", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/?$}, false]
552
552
  ],
553
553
  body: "*"
554
- ),
555
- Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
556
- uri_method: :post,
557
- uri_template: "/v1/{resource}:testIamPermissions",
558
- matches: [
559
- ["resource", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/dataAssets/[^/]+/?$}, false]
560
- ],
561
- body: "*"
562
554
  )
563
555
  ]
564
556
  default_config
@@ -1733,8 +1733,6 @@ module Google
1733
1733
  # @return [::String,nil]
1734
1734
  # @!attribute [rw] credentials
1735
1735
  # Credentials to send with calls. You may provide any of the following types:
1736
- # * (`String`) The path to a service account key file in JSON format
1737
- # * (`Hash`) A service account key as a Hash
1738
1736
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1739
1737
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1740
1738
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1743,7 +1741,26 @@ module Google
1743
1741
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1744
1742
  # * (`nil`) indicating no credentials
1745
1743
  #
1746
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1744
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1745
+ # is deprecated. Providing an unvalidated credential configuration to
1746
+ # Google APIs can compromise the security of your systems and data.
1747
+ #
1748
+ # @example
1749
+ #
1750
+ # # The recommended way to provide credentials is to use the `make_creds` method
1751
+ # # on the appropriate credentials class for your environment.
1752
+ #
1753
+ # require "googleauth"
1754
+ #
1755
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1756
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1757
+ # )
1758
+ #
1759
+ # client = ::Google::Cloud::Dataplex::V1::BusinessGlossaryService::Client.new do |config|
1760
+ # config.credentials = credentials
1761
+ # end
1762
+ #
1763
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1747
1764
  # external source for authentication to Google Cloud, you must validate it before
1748
1765
  # providing it to a Google API client library. Providing an unvalidated credential
1749
1766
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -2159,14 +2159,17 @@ module Google
2159
2159
  #
2160
2160
  # * entry_type
2161
2161
  # * entry_source.display_name
2162
+ # * parent_entry
2162
2163
  #
2163
2164
  # The comparison operators are =, !=, <, >, <=, >=. The service compares
2164
2165
  # strings according to lexical order.
2165
2166
  #
2166
2167
  # You can use the logical operators AND, OR, NOT in the filter.
2167
2168
  #
2168
- # You can use Wildcard "*", but for entry_type you need to provide the
2169
- # full project id or number.
2169
+ # You can use Wildcard "*", but for entry_type and parent_entry you need to
2170
+ # provide the full project id or number.
2171
+ #
2172
+ # You cannot use parent_entry in conjunction with other fields.
2170
2173
  #
2171
2174
  # Example filter expressions:
2172
2175
  #
@@ -2175,6 +2178,7 @@ module Google
2175
2178
  # * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
2176
2179
  # entry_type=projects/another-project/locations/*"
2177
2180
  # * "NOT entry_source.display_name=AnotherExampleDisplayName"
2181
+ # * "parent_entry=projects/example-project/locations/us/entryGroups/example-entry-group/entries/example-entry"
2178
2182
  #
2179
2183
  # @yield [response, operation] Access the result along with the RPC operation
2180
2184
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataplex::V1::Entry>]
@@ -3264,8 +3268,6 @@ module Google
3264
3268
  # @return [::String,nil]
3265
3269
  # @!attribute [rw] credentials
3266
3270
  # Credentials to send with calls. You may provide any of the following types:
3267
- # * (`String`) The path to a service account key file in JSON format
3268
- # * (`Hash`) A service account key as a Hash
3269
3271
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3270
3272
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3271
3273
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3274,7 +3276,26 @@ module Google
3274
3276
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3275
3277
  # * (`nil`) indicating no credentials
3276
3278
  #
3277
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3279
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3280
+ # is deprecated. Providing an unvalidated credential configuration to
3281
+ # Google APIs can compromise the security of your systems and data.
3282
+ #
3283
+ # @example
3284
+ #
3285
+ # # The recommended way to provide credentials is to use the `make_creds` method
3286
+ # # on the appropriate credentials class for your environment.
3287
+ #
3288
+ # require "googleauth"
3289
+ #
3290
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3291
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3292
+ # )
3293
+ #
3294
+ # client = ::Google::Cloud::Dataplex::V1::CatalogService::Client.new do |config|
3295
+ # config.credentials = credentials
3296
+ # end
3297
+ #
3298
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3278
3299
  # external source for authentication to Google Cloud, you must validate it before
3279
3300
  # providing it to a Google API client library. Providing an unvalidated credential
3280
3301
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -2028,14 +2028,17 @@ module Google
2028
2028
  #
2029
2029
  # * entry_type
2030
2030
  # * entry_source.display_name
2031
+ # * parent_entry
2031
2032
  #
2032
2033
  # The comparison operators are =, !=, <, >, <=, >=. The service compares
2033
2034
  # strings according to lexical order.
2034
2035
  #
2035
2036
  # You can use the logical operators AND, OR, NOT in the filter.
2036
2037
  #
2037
- # You can use Wildcard "*", but for entry_type you need to provide the
2038
- # full project id or number.
2038
+ # You can use Wildcard "*", but for entry_type and parent_entry you need to
2039
+ # provide the full project id or number.
2040
+ #
2041
+ # You cannot use parent_entry in conjunction with other fields.
2039
2042
  #
2040
2043
  # Example filter expressions:
2041
2044
  #
@@ -2044,6 +2047,7 @@ module Google
2044
2047
  # * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
2045
2048
  # entry_type=projects/another-project/locations/*"
2046
2049
  # * "NOT entry_source.display_name=AnotherExampleDisplayName"
2050
+ # * "parent_entry=projects/example-project/locations/us/entryGroups/example-entry-group/entries/example-entry"
2047
2051
  # @yield [result, operation] Access the result along with the TransportOperation object
2048
2052
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Entry>]
2049
2053
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -762,8 +762,6 @@ module Google
762
762
  # @return [::String,nil]
763
763
  # @!attribute [rw] credentials
764
764
  # Credentials to send with calls. You may provide any of the following types:
765
- # * (`String`) The path to a service account key file in JSON format
766
- # * (`Hash`) A service account key as a Hash
767
765
  # * (`Google::Auth::Credentials`) A googleauth credentials object
768
766
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
769
767
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -772,7 +770,26 @@ module Google
772
770
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
773
771
  # * (`nil`) indicating no credentials
774
772
  #
775
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
773
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
774
+ # is deprecated. Providing an unvalidated credential configuration to
775
+ # Google APIs can compromise the security of your systems and data.
776
+ #
777
+ # @example
778
+ #
779
+ # # The recommended way to provide credentials is to use the `make_creds` method
780
+ # # on the appropriate credentials class for your environment.
781
+ #
782
+ # require "googleauth"
783
+ #
784
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
785
+ # json_key_io: ::File.open("/path/to/keyfile.json")
786
+ # )
787
+ #
788
+ # client = ::Google::Cloud::Dataplex::V1::CmekService::Client.new do |config|
789
+ # config.credentials = credentials
790
+ # end
791
+ #
792
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
776
793
  # external source for authentication to Google Cloud, you must validate it before
777
794
  # providing it to a Google API client library. Providing an unvalidated credential
778
795
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1041,8 +1041,6 @@ module Google
1041
1041
  # @return [::String,nil]
1042
1042
  # @!attribute [rw] credentials
1043
1043
  # Credentials to send with calls. You may provide any of the following types:
1044
- # * (`String`) The path to a service account key file in JSON format
1045
- # * (`Hash`) A service account key as a Hash
1046
1044
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1047
1045
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1048
1046
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1051,7 +1049,26 @@ module Google
1051
1049
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1052
1050
  # * (`nil`) indicating no credentials
1053
1051
  #
1054
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1052
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1053
+ # is deprecated. Providing an unvalidated credential configuration to
1054
+ # Google APIs can compromise the security of your systems and data.
1055
+ #
1056
+ # @example
1057
+ #
1058
+ # # The recommended way to provide credentials is to use the `make_creds` method
1059
+ # # on the appropriate credentials class for your environment.
1060
+ #
1061
+ # require "googleauth"
1062
+ #
1063
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1064
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1065
+ # )
1066
+ #
1067
+ # client = ::Google::Cloud::Dataplex::V1::ContentService::Client.new do |config|
1068
+ # config.credentials = credentials
1069
+ # end
1070
+ #
1071
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1055
1072
  # external source for authentication to Google Cloud, you must validate it before
1056
1073
  # providing it to a Google API client library. Providing an unvalidated credential
1057
1074
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -5,10 +5,11 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
+ require 'google/cloud/dataplex/v1/datascans_common_pb'
8
9
  require 'google/cloud/dataplex/v1/processing_pb'
9
10
 
10
11
 
11
- descriptor_data = "\n+google/cloud/dataplex/v1/data_profile.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a)google/cloud/dataplex/v1/processing.proto\"\xa8\x04\n\x0f\x44\x61taProfileSpec\x12\x1d\n\x10sampling_percent\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nrow_filter\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12Y\n\x11post_scan_actions\x18\x04 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsB\x03\xe0\x41\x01\x12U\n\x0einclude_fields\x18\x05 \x01(\x0b\x32\x38.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsB\x03\xe0\x41\x01\x12U\n\x0e\x65xclude_fields\x18\x06 \x01(\x0b\x32\x38.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsB\x03\xe0\x41\x01\x1a\xa7\x01\n\x0fPostScanActions\x12\x66\n\x0f\x62igquery_export\x18\x01 \x01(\x0b\x32H.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportB\x03\xe0\x41\x01\x1a,\n\x0e\x42igQueryExport\x12\x1a\n\rresults_table\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a*\n\x0eSelectedFields\x12\x18\n\x0b\x66ield_names\x18\x01 \x03(\tB\x03\xe0\x41\x01\"\xed\x0e\n\x11\x44\x61taProfileResult\x12\x16\n\trow_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12I\n\x07profile\x18\x04 \x01(\x0b\x32\x33.google.cloud.dataplex.v1.DataProfileResult.ProfileB\x03\xe0\x41\x03\x12@\n\x0cscanned_data\x18\x05 \x01(\x0b\x32%.google.cloud.dataplex.v1.ScannedDataB\x03\xe0\x41\x03\x12h\n\x18post_scan_actions_result\x18\x06 \x01(\x0b\x32\x41.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultB\x03\xe0\x41\x03\x1a\xc8\t\n\x07Profile\x12N\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x39.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldB\x03\xe0\x41\x03\x1a\xec\x08\n\x05\x46ield\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04type\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04mode\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12[\n\x07profile\x18\x04 \x01(\x0b\x32\x45.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoB\x03\xe0\x41\x03\x1a\xcc\x07\n\x0bProfileInfo\x12\x17\n\nnull_ratio\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\x12\x1b\n\x0e\x64istinct_ratio\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x12j\n\x0ctop_n_values\x18\x04 \x03(\x0b\x32O.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueB\x03\xe0\x41\x03\x12o\n\x0estring_profile\x18\x65 \x01(\x0b\x32U.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoH\x00\x12q\n\x0finteger_profile\x18\x66 \x01(\x0b\x32V.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoH\x00\x12o\n\x0e\x64ouble_profile\x18g \x01(\x0b\x32U.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoH\x00\x1a`\n\x0fStringFieldInfo\x12\x17\n\nmin_length\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x17\n\nmax_length\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1b\n\x0e\x61verage_length\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x1a\x85\x01\n\x10IntegerFieldInfo\x12\x14\n\x07\x61verage\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\x12\x1f\n\x12standard_deviation\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03min\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12\x16\n\tquartiles\x18\x06 \x03(\x03\x42\x03\xe0\x41\x03\x12\x10\n\x03max\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x1a\x84\x01\n\x0f\x44oubleFieldInfo\x12\x14\n\x07\x61verage\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\x12\x1f\n\x12standard_deviation\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03min\x18\x04 \x01(\x01\x42\x03\xe0\x41\x03\x12\x16\n\tquartiles\x18\x06 \x03(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03max\x18\x05 \x01(\x01\x42\x03\xe0\x41\x03\x1aG\n\tTopNValue\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x63ount\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x12\n\x05ratio\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x42\x0c\n\nfield_info\x1a\xfd\x02\n\x15PostScanActionsResult\x12{\n\x16\x62igquery_export_result\x18\x01 \x01(\x0b\x32V.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultB\x03\xe0\x41\x03\x1a\xe6\x01\n\x14\x42igQueryExportResult\x12p\n\x05state\x18\x01 \x01(\x0e\x32\\.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.StateB\x03\xe0\x41\x03\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x03\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0b\n\x07SKIPPED\x10\x03\x42l\n\x1c\x63om.google.cloud.dataplex.v1B\x10\x44\x61taProfileProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\x06proto3"
12
+ descriptor_data = "\n+google/cloud/dataplex/v1/data_profile.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a/google/cloud/dataplex/v1/datascans_common.proto\x1a)google/cloud/dataplex/v1/processing.proto\"\xd1\x04\n\x0f\x44\x61taProfileSpec\x12\x1d\n\x10sampling_percent\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nrow_filter\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12Y\n\x11post_scan_actions\x18\x04 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsB\x03\xe0\x41\x01\x12U\n\x0einclude_fields\x18\x05 \x01(\x0b\x32\x38.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsB\x03\xe0\x41\x01\x12U\n\x0e\x65xclude_fields\x18\x06 \x01(\x0b\x32\x38.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsB\x03\xe0\x41\x01\x12\'\n\x1a\x63\x61talog_publishing_enabled\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xa7\x01\n\x0fPostScanActions\x12\x66\n\x0f\x62igquery_export\x18\x01 \x01(\x0b\x32H.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportB\x03\xe0\x41\x01\x1a,\n\x0e\x42igQueryExport\x12\x1a\n\rresults_table\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a*\n\x0eSelectedFields\x12\x18\n\x0b\x66ield_names\x18\x01 \x03(\tB\x03\xe0\x41\x01\"\xd0\x0f\n\x11\x44\x61taProfileResult\x12\x16\n\trow_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12I\n\x07profile\x18\x04 \x01(\x0b\x32\x33.google.cloud.dataplex.v1.DataProfileResult.ProfileB\x03\xe0\x41\x03\x12@\n\x0cscanned_data\x18\x05 \x01(\x0b\x32%.google.cloud.dataplex.v1.ScannedDataB\x03\xe0\x41\x03\x12h\n\x18post_scan_actions_result\x18\x06 \x01(\x0b\x32\x41.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultB\x03\xe0\x41\x03\x12\x61\n\x19\x63\x61talog_publishing_status\x18\x07 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataScanCatalogPublishingStatusB\x03\xe0\x41\x03\x1a\xc8\t\n\x07Profile\x12N\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x39.google.cloud.dataplex.v1.DataProfileResult.Profile.FieldB\x03\xe0\x41\x03\x1a\xec\x08\n\x05\x46ield\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04type\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04mode\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12[\n\x07profile\x18\x04 \x01(\x0b\x32\x45.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfoB\x03\xe0\x41\x03\x1a\xcc\x07\n\x0bProfileInfo\x12\x17\n\nnull_ratio\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\x12\x1b\n\x0e\x64istinct_ratio\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x12j\n\x0ctop_n_values\x18\x04 \x03(\x0b\x32O.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValueB\x03\xe0\x41\x03\x12o\n\x0estring_profile\x18\x65 \x01(\x0b\x32U.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoH\x00\x12q\n\x0finteger_profile\x18\x66 \x01(\x0b\x32V.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoH\x00\x12o\n\x0e\x64ouble_profile\x18g \x01(\x0b\x32U.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoH\x00\x1a`\n\x0fStringFieldInfo\x12\x17\n\nmin_length\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x17\n\nmax_length\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1b\n\x0e\x61verage_length\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x1a\x85\x01\n\x10IntegerFieldInfo\x12\x14\n\x07\x61verage\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\x12\x1f\n\x12standard_deviation\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03min\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12\x16\n\tquartiles\x18\x06 \x03(\x03\x42\x03\xe0\x41\x03\x12\x10\n\x03max\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x1a\x84\x01\n\x0f\x44oubleFieldInfo\x12\x14\n\x07\x61verage\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\x12\x1f\n\x12standard_deviation\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03min\x18\x04 \x01(\x01\x42\x03\xe0\x41\x03\x12\x16\n\tquartiles\x18\x06 \x03(\x01\x42\x03\xe0\x41\x03\x12\x10\n\x03max\x18\x05 \x01(\x01\x42\x03\xe0\x41\x03\x1aG\n\tTopNValue\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x63ount\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x12\n\x05ratio\x18\x03 \x01(\x01\x42\x03\xe0\x41\x03\x42\x0c\n\nfield_info\x1a\xfd\x02\n\x15PostScanActionsResult\x12{\n\x16\x62igquery_export_result\x18\x01 \x01(\x0b\x32V.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultB\x03\xe0\x41\x03\x1a\xe6\x01\n\x14\x42igQueryExportResult\x12p\n\x05state\x18\x01 \x01(\x0e\x32\\.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.StateB\x03\xe0\x41\x03\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x03\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0b\n\x07SKIPPED\x10\x03\x42l\n\x1c\x63om.google.cloud.dataplex.v1B\x10\x44\x61taProfileProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\x06proto3"
12
13
 
13
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
15
 
@@ -24,6 +25,7 @@ rescue TypeError
24
25
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
26
  imports = [
26
27
  ["google.cloud.dataplex.v1.ScannedData", "google/cloud/dataplex/v1/processing.proto"],
28
+ ["google.cloud.dataplex.v1.DataScanCatalogPublishingStatus", "google/cloud/dataplex/v1/datascans_common.proto"],
27
29
  ]
28
30
  imports.each do |type_name, expected_filename|
29
31
  import_file = pool.lookup(type_name).file_descriptor
@@ -1171,8 +1171,6 @@ module Google
1171
1171
  # @return [::String,nil]
1172
1172
  # @!attribute [rw] credentials
1173
1173
  # Credentials to send with calls. You may provide any of the following types:
1174
- # * (`String`) The path to a service account key file in JSON format
1175
- # * (`Hash`) A service account key as a Hash
1176
1174
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1177
1175
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1178
1176
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1181,7 +1179,26 @@ module Google
1181
1179
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1182
1180
  # * (`nil`) indicating no credentials
1183
1181
  #
1184
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1182
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1183
+ # is deprecated. Providing an unvalidated credential configuration to
1184
+ # Google APIs can compromise the security of your systems and data.
1185
+ #
1186
+ # @example
1187
+ #
1188
+ # # The recommended way to provide credentials is to use the `make_creds` method
1189
+ # # on the appropriate credentials class for your environment.
1190
+ #
1191
+ # require "googleauth"
1192
+ #
1193
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1194
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1195
+ # )
1196
+ #
1197
+ # client = ::Google::Cloud::Dataplex::V1::DataScanService::Client.new do |config|
1198
+ # config.credentials = credentials
1199
+ # end
1200
+ #
1201
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1185
1202
  # external source for authentication to Google Cloud, you must validate it before
1186
1203
  # providing it to a Google API client library. Providing an unvalidated credential
1187
1204
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1791,8 +1791,6 @@ module Google
1791
1791
  # @return [::String,nil]
1792
1792
  # @!attribute [rw] credentials
1793
1793
  # Credentials to send with calls. You may provide any of the following types:
1794
- # * (`String`) The path to a service account key file in JSON format
1795
- # * (`Hash`) A service account key as a Hash
1796
1794
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1797
1795
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1798
1796
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1801,7 +1799,26 @@ module Google
1801
1799
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1802
1800
  # * (`nil`) indicating no credentials
1803
1801
  #
1804
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1802
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1803
+ # is deprecated. Providing an unvalidated credential configuration to
1804
+ # Google APIs can compromise the security of your systems and data.
1805
+ #
1806
+ # @example
1807
+ #
1808
+ # # The recommended way to provide credentials is to use the `make_creds` method
1809
+ # # on the appropriate credentials class for your environment.
1810
+ #
1811
+ # require "googleauth"
1812
+ #
1813
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1814
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1815
+ # )
1816
+ #
1817
+ # client = ::Google::Cloud::Dataplex::V1::DataTaxonomyService::Client.new do |config|
1818
+ # config.credentials = credentials
1819
+ # end
1820
+ #
1821
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1805
1822
  # external source for authentication to Google Cloud, you must validate it before
1806
1823
  # providing it to a Google API client library. Providing an unvalidated credential
1807
1824
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -3635,8 +3635,6 @@ module Google
3635
3635
  # @return [::String,nil]
3636
3636
  # @!attribute [rw] credentials
3637
3637
  # Credentials to send with calls. You may provide any of the following types:
3638
- # * (`String`) The path to a service account key file in JSON format
3639
- # * (`Hash`) A service account key as a Hash
3640
3638
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3641
3639
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3642
3640
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3645,7 +3643,26 @@ module Google
3645
3643
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3646
3644
  # * (`nil`) indicating no credentials
3647
3645
  #
3648
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3646
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3647
+ # is deprecated. Providing an unvalidated credential configuration to
3648
+ # Google APIs can compromise the security of your systems and data.
3649
+ #
3650
+ # @example
3651
+ #
3652
+ # # The recommended way to provide credentials is to use the `make_creds` method
3653
+ # # on the appropriate credentials class for your environment.
3654
+ #
3655
+ # require "googleauth"
3656
+ #
3657
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3658
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3659
+ # )
3660
+ #
3661
+ # client = ::Google::Cloud::Dataplex::V1::DataplexService::Client.new do |config|
3662
+ # config.credentials = credentials
3663
+ # end
3664
+ #
3665
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3649
3666
  # external source for authentication to Google Cloud, you must validate it before
3650
3667
  # providing it to a Google API client library. Providing an unvalidated credential
3651
3668
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1143,8 +1143,6 @@ module Google
1143
1143
  # @return [::String,nil]
1144
1144
  # @!attribute [rw] credentials
1145
1145
  # Credentials to send with calls. You may provide any of the following types:
1146
- # * (`String`) The path to a service account key file in JSON format
1147
- # * (`Hash`) A service account key as a Hash
1148
1146
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1149
1147
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1150
1148
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1153,7 +1151,26 @@ module Google
1153
1151
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1154
1152
  # * (`nil`) indicating no credentials
1155
1153
  #
1156
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1154
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1155
+ # is deprecated. Providing an unvalidated credential configuration to
1156
+ # Google APIs can compromise the security of your systems and data.
1157
+ #
1158
+ # @example
1159
+ #
1160
+ # # The recommended way to provide credentials is to use the `make_creds` method
1161
+ # # on the appropriate credentials class for your environment.
1162
+ #
1163
+ # require "googleauth"
1164
+ #
1165
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1166
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1167
+ # )
1168
+ #
1169
+ # client = ::Google::Cloud::Dataplex::V1::MetadataService::Client.new do |config|
1170
+ # config.credentials = credentials
1171
+ # end
1172
+ #
1173
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1157
1174
  # external source for authentication to Google Cloud, you must validate it before
1158
1175
  # providing it to a Google API client library. Providing an unvalidated credential
1159
1176
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataplex
23
23
  module V1
24
- VERSION = "2.8.0"
24
+ VERSION = "2.9.0"
25
25
  end
26
26
  end
27
27
  end
@@ -978,14 +978,17 @@ module Google
978
978
  #
979
979
  # * entry_type
980
980
  # * entry_source.display_name
981
+ # * parent_entry
981
982
  #
982
983
  # The comparison operators are =, !=, <, >, <=, >=. The service compares
983
984
  # strings according to lexical order.
984
985
  #
985
986
  # You can use the logical operators AND, OR, NOT in the filter.
986
987
  #
987
- # You can use Wildcard "*", but for entry_type you need to provide the
988
- # full project id or number.
988
+ # You can use Wildcard "*", but for entry_type and parent_entry you need to
989
+ # provide the full project id or number.
990
+ #
991
+ # You cannot use parent_entry in conjunction with other fields.
989
992
  #
990
993
  # Example filter expressions:
991
994
  #
@@ -994,6 +997,7 @@ module Google
994
997
  # * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
995
998
  # entry_type=projects/another-project/locations/*"
996
999
  # * "NOT entry_source.display_name=AnotherExampleDisplayName"
1000
+ # * "parent_entry=projects/example-project/locations/us/entryGroups/example-entry-group/entries/example-entry"
997
1001
  class ListEntriesRequest
998
1002
  include ::Google::Protobuf::MessageExts
999
1003
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -52,6 +52,10 @@ module Google
52
52
  #
53
53
  # If specified, the fields will be excluded from data profile, regardless of
54
54
  # `include_fields` value.
55
+ # @!attribute [rw] catalog_publishing_enabled
56
+ # @return [::Boolean]
57
+ # Optional. If set, the latest DataScan job result will be published as
58
+ # Dataplex Universal Catalog metadata.
55
59
  class DataProfileSpec
56
60
  include ::Google::Protobuf::MessageExts
57
61
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -107,6 +111,10 @@ module Google
107
111
  # @!attribute [r] post_scan_actions_result
108
112
  # @return [::Google::Cloud::Dataplex::V1::DataProfileResult::PostScanActionsResult]
109
113
  # Output only. The result of post scan actions.
114
+ # @!attribute [r] catalog_publishing_status
115
+ # @return [::Google::Cloud::Dataplex::V1::DataScanCatalogPublishingStatus]
116
+ # Output only. The status of publishing the data scan as Dataplex Universal
117
+ # Catalog metadata.
110
118
  class DataProfileResult
111
119
  include ::Google::Protobuf::MessageExts
112
120
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataplex-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC