google-apis-datacatalog_v1 0.29.0 → 0.31.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: 714c2e8695a6d4f1070deb8b2c369b9946722d36be8d646d56d97840f8af0450
4
- data.tar.gz: a0053d03ac5735377268a11b559696a75295b50d1ac256971af35228436468f7
3
+ metadata.gz: 8d6df4262f5ba1fe6a8ade14a5fb9c8d19ee81e30db4362ab11f758b486c94b2
4
+ data.tar.gz: e5a6bf6240c58ef7c1a08d3b53639090669da86e16b37ab8c80b55dc59c1b2b8
5
5
  SHA512:
6
- metadata.gz: 79c20516ffa887b41ad1913b3895587df0d4cb6b8c295788718c7d1f48edbacae2e6985a54e688520bfc71da66dd80167894d387e9dd34dfdf720b5c5b0f92f3
7
- data.tar.gz: 718ae0073590dd3487a611e3446e1c5e9582ca066ac51c8e5b610dbc85e4c859203b851367e74545342eba7fc84e6571297f2a2bae6ada088d16a716273b5736
6
+ metadata.gz: 589b3914509f04172360abac8a942f4985977fdd6d0e76803fe87ec0533fa3f74a8344eefd9434fc4275a07eb034819c325ab00ba05f77ba02934a1a6365dede
7
+ data.tar.gz: 047c43353576d146461918c039c527e760d151674cf7842820f3e1605e61d88a23092663256db16c79f6ffdf75c3f881cf6ba82a9f7c986d49847d0eee069b13
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datacatalog_v1
2
2
 
3
+ ### v0.31.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230207
6
+
7
+ ### v0.30.0 (2023-02-05)
8
+
9
+ * Regenerated from discovery document revision 20230127
10
+
3
11
  ### v0.29.0 (2023-01-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20230117
@@ -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,98 @@ module Google
1885
1885
  end
1886
1886
  end
1887
1887
 
1888
+ # Long-running operation metadata message returned by the ReconcileTags.
1889
+ class GoogleCloudDatacatalogV1ReconcileTagsMetadata
1890
+ include Google::Apis::Core::Hashable
1891
+
1892
+ # Maps the name of each tagged column (or empty string for a sole entry) to
1893
+ # 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 entry tags related to a tag template not listed in
1919
+ # the tags source from an entry. If set to `false`, unlisted tags are retained.
1920
+ # Corresponds to the JSON property `forceDeleteMissing`
1921
+ # @return [Boolean]
1922
+ attr_accessor :force_delete_missing
1923
+ alias_method :force_delete_missing?, :force_delete_missing
1924
+
1925
+ # Required. The name of the tag template, which is used for reconciliation.
1926
+ # Corresponds to the JSON property `tagTemplate`
1927
+ # @return [String]
1928
+ attr_accessor :tag_template
1929
+
1930
+ # A list of tags to apply to an entry. A tag can specify a tag template, which
1931
+ # must be the template specified in the `ReconcileTagsRequest`. The sole entry
1932
+ # and each of its columns must be mentioned at most once.
1933
+ # Corresponds to the JSON property `tags`
1934
+ # @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Tag>]
1935
+ attr_accessor :tags
1936
+
1937
+ def initialize(**args)
1938
+ update!(**args)
1939
+ end
1940
+
1941
+ # Update properties of this object
1942
+ def update!(**args)
1943
+ @force_delete_missing = args[:force_delete_missing] if args.key?(:force_delete_missing)
1944
+ @tag_template = args[:tag_template] if args.key?(:tag_template)
1945
+ @tags = args[:tags] if args.key?(:tags)
1946
+ end
1947
+ end
1948
+
1949
+ # Long-running operation response message returned by ReconcileTags.
1950
+ class GoogleCloudDatacatalogV1ReconcileTagsResponse
1951
+ include Google::Apis::Core::Hashable
1952
+
1953
+ # Number of tags created in the request.
1954
+ # Corresponds to the JSON property `createdTagsCount`
1955
+ # @return [Fixnum]
1956
+ attr_accessor :created_tags_count
1957
+
1958
+ # Number of tags deleted in the request.
1959
+ # Corresponds to the JSON property `deletedTagsCount`
1960
+ # @return [Fixnum]
1961
+ attr_accessor :deleted_tags_count
1962
+
1963
+ # Number of tags updated in the request.
1964
+ # Corresponds to the JSON property `updatedTagsCount`
1965
+ # @return [Fixnum]
1966
+ attr_accessor :updated_tags_count
1967
+
1968
+ def initialize(**args)
1969
+ update!(**args)
1970
+ end
1971
+
1972
+ # Update properties of this object
1973
+ def update!(**args)
1974
+ @created_tags_count = args[:created_tags_count] if args.key?(:created_tags_count)
1975
+ @deleted_tags_count = args[:deleted_tags_count] if args.key?(:deleted_tags_count)
1976
+ @updated_tags_count = args[:updated_tags_count] if args.key?(:updated_tags_count)
1977
+ end
1978
+ end
1979
+
1888
1980
  # Request message for RenameTagTemplateFieldEnumValue.
1889
1981
  class GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest
1890
1982
  include Google::Apis::Core::Hashable
@@ -2109,9 +2201,9 @@ module Google
2109
2201
  class GoogleCloudDatacatalogV1SearchCatalogRequestScope
2110
2202
  include Google::Apis::Core::Hashable
2111
2203
 
2112
- # If `true`, include Google Cloud Platform (GCP) public datasets in search
2113
- # results. By default, they are excluded. See [Google Cloud Public Datasets](/
2114
- # public-datasets) for more information.
2204
+ # If `true`, include Google Cloud public datasets in search results. By default,
2205
+ # they are excluded. See [Google Cloud Public Datasets](/public-datasets) for
2206
+ # more information.
2115
2207
  # Corresponds to the JSON property `includeGcpPublicDatasets`
2116
2208
  # @return [Boolean]
2117
2209
  attr_accessor :include_gcp_public_datasets
@@ -2673,10 +2765,10 @@ module Google
2673
2765
  end
2674
2766
 
2675
2767
  # A tag template defines a tag that can have one or more typed fields. The
2676
- # template is used to create tags that are attached to GCP resources. [Tag
2677
- # template roles] (https://cloud.google.com/iam/docs/understanding-roles#data-
2678
- # catalog-roles) provide permissions to create, edit, and use the template. For
2679
- # example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/
2768
+ # template is used to create tags that are attached to Google Cloud resources. [
2769
+ # Tag template roles] (https://cloud.google.com/iam/docs/understanding-roles#
2770
+ # data-catalog-roles) provide permissions to create, edit, and use the template.
2771
+ # For example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/
2680
2772
  # docs/how-to/template-user) role that includes a permission to use the tag
2681
2773
  # template to tag resources.
2682
2774
  class GoogleCloudDatacatalogV1TagTemplate
@@ -2866,7 +2958,7 @@ module Google
2866
2958
  # @return [String]
2867
2959
  attr_accessor :identity
2868
2960
 
2869
- # The GCP service name.
2961
+ # The Google Cloud service name.
2870
2962
  # Corresponds to the JSON property `name`
2871
2963
  # @return [String]
2872
2964
  attr_accessor :name
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230117"
25
+ REVISION = "20230207"
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
 
@@ -1146,6 +1164,34 @@ module Google
1146
1164
  end
1147
1165
  end
1148
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
+
1149
1195
  class GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest
1150
1196
  # @private
1151
1197
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -625,13 +625,13 @@ module Google
625
625
  execute_or_queue_command(command, &block)
626
626
  end
627
627
 
628
- # Imports entries from some source (e.g. dump in a Cloud Storage bucket) to the
629
- # Data Catalog. Dump here is a snapshot of the third-party system state, that
630
- # needs to be ingested in the Data Catalog. Import of entries is a sync
631
- # operation that reconciles state of the third-party system and Data Catalog.
632
- # ImportEntries is a long-running operation done in the background, so this
633
- # method returns long-running operation resource. The resource can be queried
634
- # with Operations.GetOperation which contains metadata and response.
628
+ # Imports entries from a source, such as data previously dumped into a Cloud
629
+ # Storage bucket, into Data Catalog. `ImportEntries` accepts source data
630
+ # snapshots of third-party system state. Import of entries is a sync operation
631
+ # that reconciles the state of the third-party system with Data Catalog. `
632
+ # ImportEntries` returns a long-running operation resource that can be queried
633
+ # with Operations.GetOperation to return ImportEntriesMetadata and an
634
+ # ImportEntriesResponse message.
635
635
  # @param [String] parent
636
636
  # Required. Target entry group for ingested entries.
637
637
  # @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ImportEntriesRequest] google_cloud_datacatalog_v1_import_entries_request_object
@@ -1089,6 +1089,44 @@ module Google
1089
1089
  execute_or_queue_command(command, &block)
1090
1090
  end
1091
1091
 
1092
+ # `ReconcileTags` creates or updates a list of tags on the entry. If the
1093
+ # ReconcileTagsRequest.force_delete_missing parameter is set, the operation
1094
+ # deletes tags not included in the input tag list. `ReconcileTags` returns a
1095
+ # long-running operation resource that can be queried with Operations.
1096
+ # GetOperation to return ReconcileTagsMetadata and a ReconcileTagsResponse
1097
+ # message.
1098
+ # @param [String] parent
1099
+ # Required. Name of Entry to be tagged.
1100
+ # @param [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ReconcileTagsRequest] google_cloud_datacatalog_v1_reconcile_tags_request_object
1101
+ # @param [String] fields
1102
+ # Selector specifying which fields to include in a partial response.
1103
+ # @param [String] quota_user
1104
+ # Available to use for quota purposes for server-side applications. Can be any
1105
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1106
+ # @param [Google::Apis::RequestOptions] options
1107
+ # Request-specific options
1108
+ #
1109
+ # @yield [result, err] Result & error if block supplied
1110
+ # @yieldparam result [Google::Apis::DatacatalogV1::Operation] parsed result object
1111
+ # @yieldparam err [StandardError] error object if request failed
1112
+ #
1113
+ # @return [Google::Apis::DatacatalogV1::Operation]
1114
+ #
1115
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1116
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1117
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1118
+ 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)
1119
+ command = make_simple_command(:post, 'v1/{+parent}/tags:reconcile', options)
1120
+ command.request_representation = Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ReconcileTagsRequest::Representation
1121
+ command.request_object = google_cloud_datacatalog_v1_reconcile_tags_request_object
1122
+ command.response_representation = Google::Apis::DatacatalogV1::Operation::Representation
1123
+ command.response_class = Google::Apis::DatacatalogV1::Operation
1124
+ command.params['parent'] = parent unless parent.nil?
1125
+ command.query['fields'] = fields unless fields.nil?
1126
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1127
+ execute_or_queue_command(command, &block)
1128
+ end
1129
+
1092
1130
  # Creates a tag and assigns it to: * An Entry if the method name is `projects.
1093
1131
  # locations.entryGroups.entries.tags.create`. * Or EntryGroupif the method name
1094
1132
  # is `projects.locations.entryGroups.tags.create`. Note: The project identified
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.29.0
4
+ version: 0.31.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: 2023-01-22 00:00:00.000000000 Z
11
+ date: 2023-02-12 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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1/v0.31.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: []