google-apis-datacatalog_v1beta1 0.23.0 → 0.25.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: 9ad5322f1572c65cb8c0e229af0b6549c1734df1dd3e0597d4235fc7da1e3747
4
- data.tar.gz: 1e7f40d4226e10d7a38d2f07f8fe5287adcae0dfabb8262937ee7fe0a0d5ec22
3
+ metadata.gz: dc58464c8dbb0a08a5d0afbf3f549642e355780edccda97ebb95bda1b02cf2ac
4
+ data.tar.gz: 9bc9d3cf4e17050ef43ddb31ea70ae946086e2791bef8f1e56ade706086132e5
5
5
  SHA512:
6
- metadata.gz: 949b5bbb7a5d163ebcc70d73ea736630d18cc9a9a4f36afd3878e6db53147be333ae74a1650cce5e6106d4b411863a12bd7e6f8d4da0a6a63a6f65868b51b850
7
- data.tar.gz: f0bdfd6fdb08e182a67a3dbbfb053d5c8d43711501af36f3b1b4355fa7dcbb5a96a79da12955c522e429882ec63ed0f2abf85ab47be1939d680f1c9fdd7d4aba
6
+ metadata.gz: fff8606146e0f481057864fd0d184474b09a66ce3b0e014b7a56d890a5713cb1361026a2a9dadea104e71a02d39f9db24f516cfe80eb8c55ac14251a7d346208
7
+ data.tar.gz: be2131347e8643065edb844bf14513d02ddf84d577c5646cf2523dea1fb4cb8627460f65639af4eb67d03e864c272c8e4b615f6e488ee646d94f5c03e1dc8fbc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-datacatalog_v1beta1
2
2
 
3
+ ### v0.25.0 (2023-01-22)
4
+
5
+ * Regenerated from discovery document revision 20230117
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.24.0 (2022-12-14)
9
+
10
+ * Regenerated from discovery document revision 20221203
11
+
3
12
  ### v0.23.0 (2022-10-31)
4
13
 
5
14
  * Regenerated using generator version 0.11.0
@@ -215,6 +215,59 @@ module Google
215
215
  end
216
216
  end
217
217
 
218
+ # Metadata message for long-running operation returned by the ImportEntries.
219
+ class GoogleCloudDatacatalogV1ImportEntriesMetadata
220
+ include Google::Apis::Core::Hashable
221
+
222
+ # Partial errors that are encountered during the ImportEntries operation. There
223
+ # is no guarantee that all the encountered errors are reported. However, if no
224
+ # errors are reported, it means that no errors were encountered.
225
+ # Corresponds to the JSON property `errors`
226
+ # @return [Array<Google::Apis::DatacatalogV1beta1::Status>]
227
+ attr_accessor :errors
228
+
229
+ # State of the import operation.
230
+ # Corresponds to the JSON property `state`
231
+ # @return [String]
232
+ attr_accessor :state
233
+
234
+ def initialize(**args)
235
+ update!(**args)
236
+ end
237
+
238
+ # Update properties of this object
239
+ def update!(**args)
240
+ @errors = args[:errors] if args.key?(:errors)
241
+ @state = args[:state] if args.key?(:state)
242
+ end
243
+ end
244
+
245
+ # Response message for long-running operation returned by the ImportEntries.
246
+ class GoogleCloudDatacatalogV1ImportEntriesResponse
247
+ include Google::Apis::Core::Hashable
248
+
249
+ # Number of entries deleted as a result of import operation.
250
+ # Corresponds to the JSON property `deletedEntriesCount`
251
+ # @return [Fixnum]
252
+ attr_accessor :deleted_entries_count
253
+
254
+ # Cumulative number of entries created and entries updated as a result of import
255
+ # operation.
256
+ # Corresponds to the JSON property `upsertedEntriesCount`
257
+ # @return [Fixnum]
258
+ attr_accessor :upserted_entries_count
259
+
260
+ def initialize(**args)
261
+ update!(**args)
262
+ end
263
+
264
+ # Update properties of this object
265
+ def update!(**args)
266
+ @deleted_entries_count = args[:deleted_entries_count] if args.key?(:deleted_entries_count)
267
+ @upserted_entries_count = args[:upserted_entries_count] if args.key?(:upserted_entries_count)
268
+ end
269
+ end
270
+
218
271
  # Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
219
272
  # Context: https://cloud.google.com/bigquery/docs/partitioned-tables#
220
273
  # partitioning_versus_sharding
@@ -1566,6 +1619,11 @@ module Google
1566
1619
  # @return [Fixnum]
1567
1620
  attr_accessor :policy_tag_count
1568
1621
 
1622
+ # The source system of the Taxonomy.
1623
+ # Corresponds to the JSON property `service`
1624
+ # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TaxonomyService]
1625
+ attr_accessor :service
1626
+
1569
1627
  # Timestamps about this resource according to a particular system.
1570
1628
  # Corresponds to the JSON property `taxonomyTimestamps`
1571
1629
  # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps]
@@ -1582,10 +1640,36 @@ module Google
1582
1640
  @display_name = args[:display_name] if args.key?(:display_name)
1583
1641
  @name = args[:name] if args.key?(:name)
1584
1642
  @policy_tag_count = args[:policy_tag_count] if args.key?(:policy_tag_count)
1643
+ @service = args[:service] if args.key?(:service)
1585
1644
  @taxonomy_timestamps = args[:taxonomy_timestamps] if args.key?(:taxonomy_timestamps)
1586
1645
  end
1587
1646
  end
1588
1647
 
1648
+ # The source system of the Taxonomy.
1649
+ class GoogleCloudDatacatalogV1beta1TaxonomyService
1650
+ include Google::Apis::Core::Hashable
1651
+
1652
+ # P4SA Identity of the service.
1653
+ # Corresponds to the JSON property `identity`
1654
+ # @return [String]
1655
+ attr_accessor :identity
1656
+
1657
+ # The GCP service name.
1658
+ # Corresponds to the JSON property `name`
1659
+ # @return [String]
1660
+ attr_accessor :name
1661
+
1662
+ def initialize(**args)
1663
+ update!(**args)
1664
+ end
1665
+
1666
+ # Update properties of this object
1667
+ def update!(**args)
1668
+ @identity = args[:identity] if args.key?(:identity)
1669
+ @name = args[:name] if args.key?(:name)
1670
+ end
1671
+ end
1672
+
1589
1673
  # The set of all usage signals that we store in Data Catalog.
1590
1674
  class GoogleCloudDatacatalogV1beta1UsageSignal
1591
1675
  include Google::Apis::Core::Hashable
@@ -1808,6 +1892,45 @@ module Google
1808
1892
  end
1809
1893
  end
1810
1894
 
1895
+ # The `Status` type defines a logical error model that is suitable for different
1896
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1897
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1898
+ # data: error code, error message, and error details. You can find out more
1899
+ # about this error model and how to work with it in the [API Design Guide](https:
1900
+ # //cloud.google.com/apis/design/errors).
1901
+ class Status
1902
+ include Google::Apis::Core::Hashable
1903
+
1904
+ # The status code, which should be an enum value of google.rpc.Code.
1905
+ # Corresponds to the JSON property `code`
1906
+ # @return [Fixnum]
1907
+ attr_accessor :code
1908
+
1909
+ # A list of messages that carry the error details. There is a common set of
1910
+ # message types for APIs to use.
1911
+ # Corresponds to the JSON property `details`
1912
+ # @return [Array<Hash<String,Object>>]
1913
+ attr_accessor :details
1914
+
1915
+ # A developer-facing error message, which should be in English. Any user-facing
1916
+ # error message should be localized and sent in the google.rpc.Status.details
1917
+ # field, or localized by the client.
1918
+ # Corresponds to the JSON property `message`
1919
+ # @return [String]
1920
+ attr_accessor :message
1921
+
1922
+ def initialize(**args)
1923
+ update!(**args)
1924
+ end
1925
+
1926
+ # Update properties of this object
1927
+ def update!(**args)
1928
+ @code = args[:code] if args.key?(:code)
1929
+ @details = args[:details] if args.key?(:details)
1930
+ @message = args[:message] if args.key?(:message)
1931
+ end
1932
+ end
1933
+
1811
1934
  # Request message for `TestIamPermissions` method.
1812
1935
  class TestIamPermissionsRequest
1813
1936
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatacatalogV1beta1
18
18
  # Version of the google-apis-datacatalog_v1beta1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220826"
25
+ REVISION = "20230117"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,18 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudDatacatalogV1ImportEntriesMetadata
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudDatacatalogV1ImportEntriesResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
55
67
  class GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec
56
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
69
 
@@ -274,6 +286,12 @@ module Google
274
286
  include Google::Apis::Core::JsonObjectSupport
275
287
  end
276
288
 
289
+ class GoogleCloudDatacatalogV1beta1TaxonomyService
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class GoogleCloudDatacatalogV1beta1UsageSignal
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
@@ -304,6 +322,12 @@ module Google
304
322
  include Google::Apis::Core::JsonObjectSupport
305
323
  end
306
324
 
325
+ class Status
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
307
331
  class TestIamPermissionsRequest
308
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
333
 
@@ -357,6 +381,23 @@ module Google
357
381
  end
358
382
  end
359
383
 
384
+ class GoogleCloudDatacatalogV1ImportEntriesMetadata
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ collection :errors, as: 'errors', class: Google::Apis::DatacatalogV1beta1::Status, decorator: Google::Apis::DatacatalogV1beta1::Status::Representation
388
+
389
+ property :state, as: 'state'
390
+ end
391
+ end
392
+
393
+ class GoogleCloudDatacatalogV1ImportEntriesResponse
394
+ # @private
395
+ class Representation < Google::Apis::Core::JsonRepresentation
396
+ property :deleted_entries_count, :numeric_string => true, as: 'deletedEntriesCount'
397
+ property :upserted_entries_count, :numeric_string => true, as: 'upsertedEntriesCount'
398
+ end
399
+ end
400
+
360
401
  class GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec
361
402
  # @private
362
403
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -724,11 +765,21 @@ module Google
724
765
  property :display_name, as: 'displayName'
725
766
  property :name, as: 'name'
726
767
  property :policy_tag_count, as: 'policyTagCount'
768
+ property :service, as: 'service', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TaxonomyService, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TaxonomyService::Representation
769
+
727
770
  property :taxonomy_timestamps, as: 'taxonomyTimestamps', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps::Representation
728
771
 
729
772
  end
730
773
  end
731
774
 
775
+ class GoogleCloudDatacatalogV1beta1TaxonomyService
776
+ # @private
777
+ class Representation < Google::Apis::Core::JsonRepresentation
778
+ property :identity, as: 'identity'
779
+ property :name, as: 'name'
780
+ end
781
+ end
782
+
732
783
  class GoogleCloudDatacatalogV1beta1UsageSignal
733
784
  # @private
734
785
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -773,6 +824,15 @@ module Google
773
824
  end
774
825
  end
775
826
 
827
+ class Status
828
+ # @private
829
+ class Representation < Google::Apis::Core::JsonRepresentation
830
+ property :code, as: 'code'
831
+ collection :details, as: 'details'
832
+ property :message, as: 'message'
833
+ end
834
+ end
835
+
776
836
  class TestIamPermissionsRequest
777
837
  # @private
778
838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1752,6 +1752,9 @@ module Google
1752
1752
  # permission to view.
1753
1753
  # @param [String] parent
1754
1754
  # Required. Resource name of the project to list the taxonomies of.
1755
+ # @param [String] filter
1756
+ # Supported field for filter is 'service' and value is 'dataplex'. Eg: service=
1757
+ # dataplex.
1755
1758
  # @param [Fixnum] page_size
1756
1759
  # The maximum number of items to return. Must be a value between 1 and 1000. If
1757
1760
  # not set, defaults to 50.
@@ -1775,11 +1778,12 @@ module Google
1775
1778
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1776
1779
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1777
1780
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1778
- def list_project_location_taxonomies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1781
+ def list_project_location_taxonomies(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1779
1782
  command = make_simple_command(:get, 'v1beta1/{+parent}/taxonomies', options)
1780
1783
  command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse::Representation
1781
1784
  command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse
1782
1785
  command.params['parent'] = parent unless parent.nil?
1786
+ command.query['filter'] = filter unless filter.nil?
1783
1787
  command.query['pageSize'] = page_size unless page_size.nil?
1784
1788
  command.query['pageToken'] = page_token unless page_token.nil?
1785
1789
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datacatalog_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2023-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datacatalog_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1beta1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1beta1/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datacatalog_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Cloud Data Catalog API V1beta1