google-apis-datacatalog_v1 0.28.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '014481930f414bb9108f626e771a593c2556677c0df2d22784832369b5eca797'
4
- data.tar.gz: d83ea2de06d6bd1dc4bbf7401677f60125300ff6965e9d4bb89347a48270b588
3
+ metadata.gz: bba7d3134d8a8ff674e95eb1eac8fe86ba0591c51fb18c490d7a469eec8af84d
4
+ data.tar.gz: b72f6624d5d9618e36c4964862d51665dcf5c310ffd4d66773d6b966dc64616b
5
5
  SHA512:
6
- metadata.gz: 3f641927d96fc5e3af649dd509b0bf21a45f200a793428a91ad5da839360a01b632750953b9bfe4c6a1773be20346c94240aeedb7581f94ca5c021da0229596c
7
- data.tar.gz: a59f36fb752626d8b9d211831cb3169a7e482fd888e34f0696479a73697a8ca90f68addf4ca708be64414997e37268cf6c1d5cd579376de79b518102c87b7226
6
+ metadata.gz: ba3bbd6f5c00a5084878585122b5f123ba8958c8367f43f5dfde5d87bf80220803c7767937f7c3e5d0ddb0c721331edb5ab7b5adbc0bd427434a57e6a48d9dc9
7
+ data.tar.gz: 94401d924e2ba4dae73414f821b551343718415b159b07d21880fef178a46fc16679a1219e399f2ae92ccbc31c488b880511558e18a7cf0581ea8b3a0eea2702
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-datacatalog_v1
2
2
 
3
+ ### v0.30.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230127
6
+
7
+ ### v0.29.0 (2023-01-22)
8
+
9
+ * Regenerated from discovery document revision 20230117
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.28.0 (2022-12-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20221203
@@ -60,22 +60,22 @@ module Google
60
60
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
61
61
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
62
62
  # email address that represents a Google group. For example, `admins@example.com`
63
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
64
- # identifier) representing a user that has been recently deleted. For example, `
65
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
66
- # value reverts to `user:`emailid`` and the recovered user retains the role in
67
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
68
- # address (plus unique identifier) representing a service account that has been
69
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
63
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
64
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
65
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
66
+ # representing a user that has been recently deleted. For example, `alice@
67
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
68
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
69
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
70
+ # (plus unique identifier) representing a service account that has been recently
71
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
70
72
  # 123456789012345678901`. If the service account is undeleted, this value
71
73
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
72
74
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
73
75
  # An email address (plus unique identifier) representing a Google group that has
74
76
  # been recently deleted. For example, `admins@example.com?uid=
75
77
  # 123456789012345678901`. If the group is recovered, this value reverts to `
76
- # group:`emailid`` and the recovered group retains the role in the binding. * `
77
- # domain:`domain``: The G Suite domain (primary) that represents all the users
78
- # of that domain. For example, `google.com` or `example.com`.
78
+ # group:`emailid`` and the recovered group retains the role in the binding.
79
79
  # Corresponds to the JSON property `members`
80
80
  # @return [Array<String>]
81
81
  attr_accessor :members
@@ -1885,6 +1885,100 @@ module Google
1885
1885
  end
1886
1886
  end
1887
1887
 
1888
+ # Metadata message for long-running operation returned by the ReconcileTags.
1889
+ class GoogleCloudDatacatalogV1ReconcileTagsMetadata
1890
+ include Google::Apis::Core::Hashable
1891
+
1892
+ # Map that maps name of each tagged column (or empty string in case of sole
1893
+ # entry) to tagging operation status.
1894
+ # Corresponds to the JSON property `errors`
1895
+ # @return [Hash<String,Google::Apis::DatacatalogV1::Status>]
1896
+ attr_accessor :errors
1897
+
1898
+ # State of the reconciliation operation.
1899
+ # Corresponds to the JSON property `state`
1900
+ # @return [String]
1901
+ attr_accessor :state
1902
+
1903
+ def initialize(**args)
1904
+ update!(**args)
1905
+ end
1906
+
1907
+ # Update properties of this object
1908
+ def update!(**args)
1909
+ @errors = args[:errors] if args.key?(:errors)
1910
+ @state = args[:state] if args.key?(:state)
1911
+ end
1912
+ end
1913
+
1914
+ # Request message for ReconcileTags.
1915
+ class GoogleCloudDatacatalogV1ReconcileTagsRequest
1916
+ include Google::Apis::Core::Hashable
1917
+
1918
+ # If set to true deletes from the entry tags related to given tag template and
1919
+ # not mentioned in the tags source. If set to false only creates and updates of
1920
+ # the tags mentioned in the source will take place. Other tags in that entry
1921
+ # using the same tag template will be retained instead of being deleted.
1922
+ # Corresponds to the JSON property `forceDeleteMissing`
1923
+ # @return [Boolean]
1924
+ attr_accessor :force_delete_missing
1925
+ alias_method :force_delete_missing?, :force_delete_missing
1926
+
1927
+ # Required. The name of the tag template, that will be used for reconciliation.
1928
+ # Corresponds to the JSON property `tagTemplate`
1929
+ # @return [String]
1930
+ attr_accessor :tag_template
1931
+
1932
+ # A list of tags to be applied on a given entry. Individual tags may specify tag
1933
+ # template, but it must be the same as the one in the ReconcileTagsRequest. The
1934
+ # sole entry and each of its columns must be mentioned at most once.
1935
+ # Corresponds to the JSON property `tags`
1936
+ # @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag>]
1937
+ attr_accessor :tags
1938
+
1939
+ def initialize(**args)
1940
+ update!(**args)
1941
+ end
1942
+
1943
+ # Update properties of this object
1944
+ def update!(**args)
1945
+ @force_delete_missing = args[:force_delete_missing] if args.key?(:force_delete_missing)
1946
+ @tag_template = args[:tag_template] if args.key?(:tag_template)
1947
+ @tags = args[:tags] if args.key?(:tags)
1948
+ end
1949
+ end
1950
+
1951
+ # Request message for long-running operation returned by the ReconcileTags.
1952
+ class GoogleCloudDatacatalogV1ReconcileTagsResponse
1953
+ include Google::Apis::Core::Hashable
1954
+
1955
+ # Number of tags created in the request.
1956
+ # Corresponds to the JSON property `createdTagsCount`
1957
+ # @return [Fixnum]
1958
+ attr_accessor :created_tags_count
1959
+
1960
+ # Number of tags deleted in the request.
1961
+ # Corresponds to the JSON property `deletedTagsCount`
1962
+ # @return [Fixnum]
1963
+ attr_accessor :deleted_tags_count
1964
+
1965
+ # Number of tags updated in the request.
1966
+ # Corresponds to the JSON property `updatedTagsCount`
1967
+ # @return [Fixnum]
1968
+ attr_accessor :updated_tags_count
1969
+
1970
+ def initialize(**args)
1971
+ update!(**args)
1972
+ end
1973
+
1974
+ # Update properties of this object
1975
+ def update!(**args)
1976
+ @created_tags_count = args[:created_tags_count] if args.key?(:created_tags_count)
1977
+ @deleted_tags_count = args[:deleted_tags_count] if args.key?(:deleted_tags_count)
1978
+ @updated_tags_count = args[:updated_tags_count] if args.key?(:updated_tags_count)
1979
+ end
1980
+ end
1981
+
1888
1982
  # Request message for RenameTagTemplateFieldEnumValue.
1889
1983
  class GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest
1890
1984
  include Google::Apis::Core::Hashable
@@ -2831,6 +2925,11 @@ module Google
2831
2925
  # @return [Fixnum]
2832
2926
  attr_accessor :policy_tag_count
2833
2927
 
2928
+ # The source system of the Taxonomy.
2929
+ # Corresponds to the JSON property `service`
2930
+ # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TaxonomyService]
2931
+ attr_accessor :service
2932
+
2834
2933
  # Timestamps associated with this resource in a particular system.
2835
2934
  # Corresponds to the JSON property `taxonomyTimestamps`
2836
2935
  # @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps]
@@ -2847,10 +2946,36 @@ module Google
2847
2946
  @display_name = args[:display_name] if args.key?(:display_name)
2848
2947
  @name = args[:name] if args.key?(:name)
2849
2948
  @policy_tag_count = args[:policy_tag_count] if args.key?(:policy_tag_count)
2949
+ @service = args[:service] if args.key?(:service)
2850
2950
  @taxonomy_timestamps = args[:taxonomy_timestamps] if args.key?(:taxonomy_timestamps)
2851
2951
  end
2852
2952
  end
2853
2953
 
2954
+ # The source system of the Taxonomy.
2955
+ class GoogleCloudDatacatalogV1TaxonomyService
2956
+ include Google::Apis::Core::Hashable
2957
+
2958
+ # P4SA Identity of the service.
2959
+ # Corresponds to the JSON property `identity`
2960
+ # @return [String]
2961
+ attr_accessor :identity
2962
+
2963
+ # The GCP service name.
2964
+ # Corresponds to the JSON property `name`
2965
+ # @return [String]
2966
+ attr_accessor :name
2967
+
2968
+ def initialize(**args)
2969
+ update!(**args)
2970
+ end
2971
+
2972
+ # Update properties of this object
2973
+ def update!(**args)
2974
+ @identity = args[:identity] if args.key?(:identity)
2975
+ @name = args[:name] if args.key?(:name)
2976
+ end
2977
+ end
2978
+
2854
2979
  # Request message for UnstarEntry.
2855
2980
  class GoogleCloudDatacatalogV1UnstarEntryRequest
2856
2981
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatacatalogV1
18
18
  # Version of the google-apis-datacatalog_v1 gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.30.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 = "20221203"
25
+ REVISION = "20230127"
26
26
  end
27
27
  end
28
28
  end
@@ -370,6 +370,24 @@ module Google
370
370
  include Google::Apis::Core::JsonObjectSupport
371
371
  end
372
372
 
373
+ class GoogleCloudDatacatalogV1ReconcileTagsMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class GoogleCloudDatacatalogV1ReconcileTagsRequest
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleCloudDatacatalogV1ReconcileTagsResponse
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
373
391
  class GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest
374
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
393
 
@@ -514,6 +532,12 @@ module Google
514
532
  include Google::Apis::Core::JsonObjectSupport
515
533
  end
516
534
 
535
+ class GoogleCloudDatacatalogV1TaxonomyService
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
517
541
  class GoogleCloudDatacatalogV1UnstarEntryRequest
518
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
543
 
@@ -1140,6 +1164,34 @@ module Google
1140
1164
  end
1141
1165
  end
1142
1166
 
1167
+ class GoogleCloudDatacatalogV1ReconcileTagsMetadata
1168
+ # @private
1169
+ class Representation < Google::Apis::Core::JsonRepresentation
1170
+ hash :errors, as: 'errors', class: Google::Apis::DatacatalogV1::Status, decorator: Google::Apis::DatacatalogV1::Status::Representation
1171
+
1172
+ property :state, as: 'state'
1173
+ end
1174
+ end
1175
+
1176
+ class GoogleCloudDatacatalogV1ReconcileTagsRequest
1177
+ # @private
1178
+ class Representation < Google::Apis::Core::JsonRepresentation
1179
+ property :force_delete_missing, as: 'forceDeleteMissing'
1180
+ property :tag_template, as: 'tagTemplate'
1181
+ collection :tags, as: 'tags', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag::Representation
1182
+
1183
+ end
1184
+ end
1185
+
1186
+ class GoogleCloudDatacatalogV1ReconcileTagsResponse
1187
+ # @private
1188
+ class Representation < Google::Apis::Core::JsonRepresentation
1189
+ property :created_tags_count, :numeric_string => true, as: 'createdTagsCount'
1190
+ property :deleted_tags_count, :numeric_string => true, as: 'deletedTagsCount'
1191
+ property :updated_tags_count, :numeric_string => true, as: 'updatedTagsCount'
1192
+ end
1193
+ end
1194
+
1143
1195
  class GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest
1144
1196
  # @private
1145
1197
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1376,11 +1428,21 @@ module Google
1376
1428
  property :display_name, as: 'displayName'
1377
1429
  property :name, as: 'name'
1378
1430
  property :policy_tag_count, as: 'policyTagCount'
1431
+ property :service, as: 'service', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TaxonomyService, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TaxonomyService::Representation
1432
+
1379
1433
  property :taxonomy_timestamps, as: 'taxonomyTimestamps', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps::Representation
1380
1434
 
1381
1435
  end
1382
1436
  end
1383
1437
 
1438
+ class GoogleCloudDatacatalogV1TaxonomyService
1439
+ # @private
1440
+ class Representation < Google::Apis::Core::JsonRepresentation
1441
+ property :identity, as: 'identity'
1442
+ property :name, as: 'name'
1443
+ end
1444
+ end
1445
+
1384
1446
  class GoogleCloudDatacatalogV1UnstarEntryRequest
1385
1447
  # @private
1386
1448
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1089,6 +1089,45 @@ module Google
1089
1089
  execute_or_queue_command(command, &block)
1090
1090
  end
1091
1091
 
1092
+ # Reconciles tags created with a given tag template on a given Entry.
1093
+ # Reconciliation is an operation that given a list of tags creates or updates
1094
+ # them on the entry. Additionally, the operation is also able to delete tags not
1095
+ # mentioned in the tag list. It can be achieved by setting force_delete_missing
1096
+ # parameter. Reconciliation is a long-running operation done in the background,
1097
+ # so this method returns long-running operation resource. The resource can be
1098
+ # queried with Operations.GetOperation which contains metadata and response.
1099
+ # @param [String] parent
1100
+ # Required. Name of Entry to be tagged.
1101
+ # @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ReconcileTagsRequest] google_cloud_datacatalog_v1_reconcile_tags_request_object
1102
+ # @param [String] fields
1103
+ # Selector specifying which fields to include in a partial response.
1104
+ # @param [String] quota_user
1105
+ # Available to use for quota purposes for server-side applications. Can be any
1106
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1107
+ # @param [Google::Apis::RequestOptions] options
1108
+ # Request-specific options
1109
+ #
1110
+ # @yield [result, err] Result & error if block supplied
1111
+ # @yieldparam result [Google::Apis::DatacatalogV1::Operation] parsed result object
1112
+ # @yieldparam err [StandardError] error object if request failed
1113
+ #
1114
+ # @return [Google::Apis::DatacatalogV1::Operation]
1115
+ #
1116
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1117
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1118
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1119
+ def reconcile_project_location_entry_group_entry_tag(parent, google_cloud_datacatalog_v1_reconcile_tags_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1120
+ command = make_simple_command(:post, 'v1/{+parent}/tags:reconcile', options)
1121
+ command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ReconcileTagsRequest::Representation
1122
+ command.request_object = google_cloud_datacatalog_v1_reconcile_tags_request_object
1123
+ command.response_representation = Google::Apis::DatacatalogV1::Operation::Representation
1124
+ command.response_class = Google::Apis::DatacatalogV1::Operation
1125
+ command.params['parent'] = parent unless parent.nil?
1126
+ command.query['fields'] = fields unless fields.nil?
1127
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1128
+ execute_or_queue_command(command, &block)
1129
+ end
1130
+
1092
1131
  # Creates a tag and assigns it to: * An Entry if the method name is `projects.
1093
1132
  # locations.entryGroups.entries.tags.create`. * Or EntryGroupif the method name
1094
1133
  # is `projects.locations.entryGroups.tags.create`. Note: The project identified
@@ -2083,6 +2122,9 @@ module Google
2083
2122
  # permission to view.
2084
2123
  # @param [String] parent
2085
2124
  # Required. Resource name of the project to list the taxonomies of.
2125
+ # @param [String] filter
2126
+ # Supported field for filter is 'service' and value is 'dataplex'. Eg: service=
2127
+ # dataplex.
2086
2128
  # @param [Fixnum] page_size
2087
2129
  # The maximum number of items to return. Must be a value between 1 and 1000
2088
2130
  # inclusively. If not set, defaults to 50.
@@ -2106,11 +2148,12 @@ module Google
2106
2148
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2107
2149
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2108
2150
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2109
- def list_project_location_taxonomies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2151
+ def list_project_location_taxonomies(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2110
2152
  command = make_simple_command(:get, 'v1/{+parent}/taxonomies', options)
2111
2153
  command.response_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTaxonomiesResponse::Representation
2112
2154
  command.response_class = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ListTaxonomiesResponse
2113
2155
  command.params['parent'] = parent unless parent.nil?
2156
+ command.query['filter'] = filter unless filter.nil?
2114
2157
  command.query['pageSize'] = page_size unless page_size.nil?
2115
2158
  command.query['pageToken'] = page_token unless page_token.nil?
2116
2159
  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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.30.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-12-12 00:00:00.000000000 Z
11
+ date: 2023-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datacatalog_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datacatalog_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -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 V1