google-apis-datacatalog_v1 0.29.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bba7d3134d8a8ff674e95eb1eac8fe86ba0591c51fb18c490d7a469eec8af84d
|
4
|
+
data.tar.gz: b72f6624d5d9618e36c4964862d51665dcf5c310ffd4d66773d6b966dc64616b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba3bbd6f5c00a5084878585122b5f123ba8958c8367f43f5dfde5d87bf80220803c7767937f7c3e5d0ddb0c721331edb5ab7b5adbc0bd427434a57e6a48d9dc9
|
7
|
+
data.tar.gz: 94401d924e2ba4dae73414f821b551343718415b159b07d21880fef178a46fc16679a1219e399f2ae92ccbc31c488b880511558e18a7cf0581ea8b3a0eea2702
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
# . * `
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
# the
|
68
|
-
#
|
69
|
-
#
|
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
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.30.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 = "
|
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
|
|
@@ -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
|
@@ -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
|
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.
|
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: 2023-
|
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.
|
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: []
|