google-apis-dataplex_v1 0.59.0 → 0.60.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.
@@ -337,7 +337,7 @@ module Google
|
|
337
337
|
class GoogleCloudDataplexV1Aspect
|
338
338
|
include Google::Apis::Core::Hashable
|
339
339
|
|
340
|
-
#
|
340
|
+
# Information related to the source system of the aspect.
|
341
341
|
# Corresponds to the JSON property `aspectSource`
|
342
342
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1AspectSource]
|
343
343
|
attr_accessor :aspect_source
|
@@ -383,16 +383,16 @@ module Google
|
|
383
383
|
end
|
384
384
|
end
|
385
385
|
|
386
|
-
#
|
386
|
+
# Information related to the source system of the aspect.
|
387
387
|
class GoogleCloudDataplexV1AspectSource
|
388
388
|
include Google::Apis::Core::Hashable
|
389
389
|
|
390
|
-
# The
|
390
|
+
# The time the aspect was created in the source system.
|
391
391
|
# Corresponds to the JSON property `createTime`
|
392
392
|
# @return [String]
|
393
393
|
attr_accessor :create_time
|
394
394
|
|
395
|
-
# The
|
395
|
+
# The time the aspect was last updated in the source system.
|
396
396
|
# Corresponds to the JSON property `updateTime`
|
397
397
|
# @return [String]
|
398
398
|
attr_accessor :update_time
|
@@ -1167,6 +1167,19 @@ module Google
|
|
1167
1167
|
end
|
1168
1168
|
end
|
1169
1169
|
|
1170
|
+
# Cancel metadata job request.
|
1171
|
+
class GoogleCloudDataplexV1CancelMetadataJobRequest
|
1172
|
+
include Google::Apis::Core::Hashable
|
1173
|
+
|
1174
|
+
def initialize(**args)
|
1175
|
+
update!(**args)
|
1176
|
+
end
|
1177
|
+
|
1178
|
+
# Update properties of this object
|
1179
|
+
def update!(**args)
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1170
1183
|
# Content represents a user-visible notebook or a sql script
|
1171
1184
|
class GoogleCloudDataplexV1Content
|
1172
1185
|
include Google::Apis::Core::Hashable
|
@@ -1682,7 +1695,8 @@ module Google
|
|
1682
1695
|
include Google::Apis::Core::Hashable
|
1683
1696
|
|
1684
1697
|
# Ratio of rows with distinct values against total scanned rows. Not available
|
1685
|
-
# for complex non-groupable field type RECORD
|
1698
|
+
# for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and
|
1699
|
+
# JSON, as well as fields with REPEATABLE mode.
|
1686
1700
|
# Corresponds to the JSON property `distinctRatio`
|
1687
1701
|
# @return [Float]
|
1688
1702
|
attr_accessor :distinct_ratio
|
@@ -1710,7 +1724,8 @@ module Google
|
|
1710
1724
|
# The list of top N non-null values, frequency and ratio with which they occur
|
1711
1725
|
# in the scanned data. N is 10 or equal to the number of distinct values in the
|
1712
1726
|
# field, whichever is smaller. Not available for complex non-groupable field
|
1713
|
-
# type RECORD and fields with
|
1727
|
+
# type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with
|
1728
|
+
# REPEATABLE mode.
|
1714
1729
|
# Corresponds to the JSON property `topNValues`
|
1715
1730
|
# @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue>]
|
1716
1731
|
attr_accessor :top_n_values
|
@@ -2288,6 +2303,12 @@ module Google
|
|
2288
2303
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation]
|
2289
2304
|
attr_accessor :statistic_range_expectation
|
2290
2305
|
|
2306
|
+
# Optional. Whether the Rule is active or suspended. Default is false.
|
2307
|
+
# Corresponds to the JSON property `suspended`
|
2308
|
+
# @return [Boolean]
|
2309
|
+
attr_accessor :suspended
|
2310
|
+
alias_method :suspended?, :suspended
|
2311
|
+
|
2291
2312
|
# Evaluates whether the provided expression is true.The SQL expression needs to
|
2292
2313
|
# use BigQuery standard SQL syntax and should produce a scalar boolean result.
|
2293
2314
|
# Example: MIN(col1) >= 0
|
@@ -2325,6 +2346,7 @@ module Google
|
|
2325
2346
|
@set_expectation = args[:set_expectation] if args.key?(:set_expectation)
|
2326
2347
|
@sql_assertion = args[:sql_assertion] if args.key?(:sql_assertion)
|
2327
2348
|
@statistic_range_expectation = args[:statistic_range_expectation] if args.key?(:statistic_range_expectation)
|
2349
|
+
@suspended = args[:suspended] if args.key?(:suspended)
|
2328
2350
|
@table_condition_expectation = args[:table_condition_expectation] if args.key?(:table_condition_expectation)
|
2329
2351
|
@threshold = args[:threshold] if args.key?(:threshold)
|
2330
2352
|
@uniqueness_expectation = args[:uniqueness_expectation] if args.key?(:uniqueness_expectation)
|
@@ -3959,43 +3981,48 @@ module Google
|
|
3959
3981
|
end
|
3960
3982
|
end
|
3961
3983
|
|
3962
|
-
# An entry is a representation of a data
|
3963
|
-
# metadata.
|
3984
|
+
# An entry is a representation of a data resource that can be described by
|
3985
|
+
# various metadata.
|
3964
3986
|
class GoogleCloudDataplexV1Entry
|
3965
3987
|
include Google::Apis::Core::Hashable
|
3966
3988
|
|
3967
|
-
# Optional. The
|
3968
|
-
#
|
3969
|
-
# attached directly to the entry
|
3970
|
-
#
|
3989
|
+
# Optional. The aspects that are attached to the entry. Depending on how the
|
3990
|
+
# aspect is attached to the entry, the format of the aspect key can be one of
|
3991
|
+
# the following: If the aspect is attached directly to the entry: `
|
3992
|
+
# project_id_or_number`.`location_id`.`aspect_type_id` If the aspect is attached
|
3993
|
+
# to an entry's path: `project_id_or_number`.`location_id`.`aspect_type_id`@`
|
3994
|
+
# path`
|
3971
3995
|
# Corresponds to the JSON property `aspects`
|
3972
3996
|
# @return [Hash<String,Google::Apis::DataplexV1::GoogleCloudDataplexV1Aspect>]
|
3973
3997
|
attr_accessor :aspects
|
3974
3998
|
|
3975
|
-
# Output only. The time when the
|
3999
|
+
# Output only. The time when the entry was created in Dataplex.
|
3976
4000
|
# Corresponds to the JSON property `createTime`
|
3977
4001
|
# @return [String]
|
3978
4002
|
attr_accessor :create_time
|
3979
4003
|
|
3980
|
-
#
|
4004
|
+
# Information related to the source system of the data resource that is
|
4005
|
+
# represented by the entry.
|
3981
4006
|
# Corresponds to the JSON property `entrySource`
|
3982
4007
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1EntrySource]
|
3983
4008
|
attr_accessor :entry_source
|
3984
4009
|
|
3985
|
-
# Required. Immutable. The resource name of the
|
3986
|
-
#
|
4010
|
+
# Required. Immutable. The relative resource name of the entry type that was
|
4011
|
+
# used to create this entry, in the format projects/`project_id_or_number`/
|
4012
|
+
# locations/`location_id`/entryTypes/`entry_type_id`.
|
3987
4013
|
# Corresponds to the JSON property `entryType`
|
3988
4014
|
# @return [String]
|
3989
4015
|
attr_accessor :entry_type
|
3990
4016
|
|
3991
|
-
# Optional. A name for the entry that can
|
4017
|
+
# Optional. A name for the entry that can be referenced by an external system.
|
3992
4018
|
# The maximum size of the field is 4000 characters.
|
3993
4019
|
# Corresponds to the JSON property `fullyQualifiedName`
|
3994
4020
|
# @return [String]
|
3995
4021
|
attr_accessor :fully_qualified_name
|
3996
4022
|
|
3997
|
-
# Identifier. The relative resource name of the
|
3998
|
-
#
|
4023
|
+
# Identifier. The relative resource name of the entry, in the format projects/`
|
4024
|
+
# project_id_or_number`/locations/`location_id`/entryGroups/`entry_group_id`/
|
4025
|
+
# entries/`entry_id`.
|
3999
4026
|
# Corresponds to the JSON property `name`
|
4000
4027
|
# @return [String]
|
4001
4028
|
attr_accessor :name
|
@@ -4005,7 +4032,7 @@ module Google
|
|
4005
4032
|
# @return [String]
|
4006
4033
|
attr_accessor :parent_entry
|
4007
4034
|
|
4008
|
-
# Output only. The time when the
|
4035
|
+
# Output only. The time when the entry was last updated in Dataplex.
|
4009
4036
|
# Corresponds to the JSON property `updateTime`
|
4010
4037
|
# @return [String]
|
4011
4038
|
attr_accessor :update_time
|
@@ -4057,8 +4084,9 @@ module Google
|
|
4057
4084
|
# @return [Hash<String,String>]
|
4058
4085
|
attr_accessor :labels
|
4059
4086
|
|
4060
|
-
# Output only. The relative resource name of the EntryGroup,
|
4061
|
-
# projects/`
|
4087
|
+
# Output only. The relative resource name of the EntryGroup, in the format
|
4088
|
+
# projects/`project_id_or_number`/locations/`location_id`/entryGroups/`
|
4089
|
+
# entry_group_id`.
|
4062
4090
|
# Corresponds to the JSON property `name`
|
4063
4091
|
# @return [String]
|
4064
4092
|
attr_accessor :name
|
@@ -4092,26 +4120,28 @@ module Google
|
|
4092
4120
|
end
|
4093
4121
|
end
|
4094
4122
|
|
4095
|
-
#
|
4123
|
+
# Information related to the source system of the data resource that is
|
4124
|
+
# represented by the entry.
|
4096
4125
|
class GoogleCloudDataplexV1EntrySource
|
4097
4126
|
include Google::Apis::Core::Hashable
|
4098
4127
|
|
4099
|
-
# Immutable. The ancestors of the
|
4128
|
+
# Immutable. The entries representing the ancestors of the data resource in the
|
4129
|
+
# source system.
|
4100
4130
|
# Corresponds to the JSON property `ancestors`
|
4101
4131
|
# @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1EntrySourceAncestor>]
|
4102
4132
|
attr_accessor :ancestors
|
4103
4133
|
|
4104
|
-
# The
|
4134
|
+
# The time when the resource was created in the source system.
|
4105
4135
|
# Corresponds to the JSON property `createTime`
|
4106
4136
|
# @return [String]
|
4107
4137
|
attr_accessor :create_time
|
4108
4138
|
|
4109
|
-
#
|
4139
|
+
# A description of the data resource. Maximum length is 2,000 characters.
|
4110
4140
|
# Corresponds to the JSON property `description`
|
4111
4141
|
# @return [String]
|
4112
4142
|
attr_accessor :description
|
4113
4143
|
|
4114
|
-
#
|
4144
|
+
# A user-friendly display name. Maximum length is 500 characters.
|
4115
4145
|
# Corresponds to the JSON property `displayName`
|
4116
4146
|
# @return [String]
|
4117
4147
|
attr_accessor :display_name
|
@@ -4123,31 +4153,33 @@ module Google
|
|
4123
4153
|
attr_accessor :labels
|
4124
4154
|
|
4125
4155
|
# Output only. Location of the resource in the source system. You can search the
|
4126
|
-
#
|
4127
|
-
#
|
4156
|
+
# entry by this location. By default, this should match the location of the
|
4157
|
+
# entry group containing this entry. A different value allows capturing the
|
4128
4158
|
# source location for data external to Google Cloud.
|
4129
4159
|
# Corresponds to the JSON property `location`
|
4130
4160
|
# @return [String]
|
4131
4161
|
attr_accessor :location
|
4132
4162
|
|
4133
|
-
# The platform containing the source system.
|
4134
|
-
# characters.
|
4163
|
+
# The platform containing the source system. Maximum length is 64 characters.
|
4135
4164
|
# Corresponds to the JSON property `platform`
|
4136
4165
|
# @return [String]
|
4137
4166
|
attr_accessor :platform
|
4138
4167
|
|
4139
|
-
# The name of the resource in the source system.
|
4140
|
-
#
|
4168
|
+
# The name of the resource in the source system. Maximum length is 4,000
|
4169
|
+
# characters.
|
4141
4170
|
# Corresponds to the JSON property `resource`
|
4142
4171
|
# @return [String]
|
4143
4172
|
attr_accessor :resource
|
4144
4173
|
|
4145
|
-
# The name of the source system.
|
4174
|
+
# The name of the source system. Maximum length is 64 characters.
|
4146
4175
|
# Corresponds to the JSON property `system`
|
4147
4176
|
# @return [String]
|
4148
4177
|
attr_accessor :system
|
4149
4178
|
|
4150
|
-
# The
|
4179
|
+
# The time when the resource was last updated in the source system. If the entry
|
4180
|
+
# exists in the system and its EntrySource has update_time populated, further
|
4181
|
+
# updates to the EntrySource of the entry must provide incremental updates to
|
4182
|
+
# its update_time.
|
4151
4183
|
# Corresponds to the JSON property `updateTime`
|
4152
4184
|
# @return [String]
|
4153
4185
|
attr_accessor :update_time
|
@@ -4171,8 +4203,8 @@ module Google
|
|
4171
4203
|
end
|
4172
4204
|
end
|
4173
4205
|
|
4174
|
-
#
|
4175
|
-
#
|
4206
|
+
# Information about individual items in the hierarchy that is associated with
|
4207
|
+
# the data resource.
|
4176
4208
|
class GoogleCloudDataplexV1EntrySourceAncestor
|
4177
4209
|
include Google::Apis::Core::Hashable
|
4178
4210
|
|
@@ -4693,6 +4725,63 @@ module Google
|
|
4693
4725
|
end
|
4694
4726
|
end
|
4695
4727
|
|
4728
|
+
# An object that describes the values that you want to set for an entry and its
|
4729
|
+
# attached aspects when you import metadata. Used when you run a metadata import
|
4730
|
+
# job. See CreateMetadataJob.You provide a collection of import items in a
|
4731
|
+
# metadata import file. For more information about how to create a metadata
|
4732
|
+
# import file, see Metadata import file (https://cloud.google.com/dataplex/docs/
|
4733
|
+
# import-metadata#metadata-import-file).
|
4734
|
+
class GoogleCloudDataplexV1ImportItem
|
4735
|
+
include Google::Apis::Core::Hashable
|
4736
|
+
|
4737
|
+
# The aspects to modify. Supports the following syntaxes: `aspect_type_reference`
|
4738
|
+
# : matches aspects that belong to the specified aspect type and are attached
|
4739
|
+
# directly to the entry. `aspect_type_reference`@`path`: matches aspects that
|
4740
|
+
# belong to the specified aspect type and path. `aspect_type_reference`@*:
|
4741
|
+
# matches aspects that belong to the specified aspect type for all paths.Replace
|
4742
|
+
# `aspect_type_reference` with a reference to the aspect type, in the format `
|
4743
|
+
# project_id_or_number`.`location_id`.`aspect_type_id`.If you leave this field
|
4744
|
+
# empty, it is treated as specifying exactly those aspects that are present
|
4745
|
+
# within the specified entry.In FULL entry sync mode, Dataplex implicitly adds
|
4746
|
+
# the keys for all of the required aspects of an entry.
|
4747
|
+
# Corresponds to the JSON property `aspectKeys`
|
4748
|
+
# @return [Array<String>]
|
4749
|
+
attr_accessor :aspect_keys
|
4750
|
+
|
4751
|
+
# An entry is a representation of a data resource that can be described by
|
4752
|
+
# various metadata.
|
4753
|
+
# Corresponds to the JSON property `entry`
|
4754
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Entry]
|
4755
|
+
attr_accessor :entry
|
4756
|
+
|
4757
|
+
# The fields to update, in paths that are relative to the Entry resource.
|
4758
|
+
# Separate each field with a comma.In FULL entry sync mode, Dataplex includes
|
4759
|
+
# the paths of all of the fields for an entry that can be modified, including
|
4760
|
+
# aspects. This means that Dataplex replaces the existing entry with the entry
|
4761
|
+
# in the metadata import file. All modifiable fields are updated, regardless of
|
4762
|
+
# the fields that are listed in the update mask, and regardless of whether a
|
4763
|
+
# field is present in the entry object.The update_mask field is ignored when an
|
4764
|
+
# entry is created or re-created.Dataplex also determines which entries and
|
4765
|
+
# aspects to modify by comparing the values and timestamps that you provide in
|
4766
|
+
# the metadata import file with the values and timestamps that exist in your
|
4767
|
+
# project. For more information, see Comparison logic (https://cloud.google.com/
|
4768
|
+
# dataplex/docs/import-metadata#data-modification-logic).
|
4769
|
+
# Corresponds to the JSON property `updateMask`
|
4770
|
+
# @return [String]
|
4771
|
+
attr_accessor :update_mask
|
4772
|
+
|
4773
|
+
def initialize(**args)
|
4774
|
+
update!(**args)
|
4775
|
+
end
|
4776
|
+
|
4777
|
+
# Update properties of this object
|
4778
|
+
def update!(**args)
|
4779
|
+
@aspect_keys = args[:aspect_keys] if args.key?(:aspect_keys)
|
4780
|
+
@entry = args[:entry] if args.key?(:entry)
|
4781
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
4782
|
+
end
|
4783
|
+
end
|
4784
|
+
|
4696
4785
|
# A job represents an instance of a task.
|
4697
4786
|
class GoogleCloudDataplexV1Job
|
4698
4787
|
include Google::Apis::Core::Hashable
|
@@ -5472,6 +5561,38 @@ module Google
|
|
5472
5561
|
end
|
5473
5562
|
end
|
5474
5563
|
|
5564
|
+
# List metadata jobs response.
|
5565
|
+
class GoogleCloudDataplexV1ListMetadataJobsResponse
|
5566
|
+
include Google::Apis::Core::Hashable
|
5567
|
+
|
5568
|
+
# Metadata jobs under the specified parent location.
|
5569
|
+
# Corresponds to the JSON property `metadataJobs`
|
5570
|
+
# @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJob>]
|
5571
|
+
attr_accessor :metadata_jobs
|
5572
|
+
|
5573
|
+
# A token to retrieve the next page of results. If there are no more results in
|
5574
|
+
# the list, the value is empty.
|
5575
|
+
# Corresponds to the JSON property `nextPageToken`
|
5576
|
+
# @return [String]
|
5577
|
+
attr_accessor :next_page_token
|
5578
|
+
|
5579
|
+
# Locations that the service couldn't reach.
|
5580
|
+
# Corresponds to the JSON property `unreachableLocations`
|
5581
|
+
# @return [Array<String>]
|
5582
|
+
attr_accessor :unreachable_locations
|
5583
|
+
|
5584
|
+
def initialize(**args)
|
5585
|
+
update!(**args)
|
5586
|
+
end
|
5587
|
+
|
5588
|
+
# Update properties of this object
|
5589
|
+
def update!(**args)
|
5590
|
+
@metadata_jobs = args[:metadata_jobs] if args.key?(:metadata_jobs)
|
5591
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5592
|
+
@unreachable_locations = args[:unreachable_locations] if args.key?(:unreachable_locations)
|
5593
|
+
end
|
5594
|
+
end
|
5595
|
+
|
5475
5596
|
# List metadata partitions response.
|
5476
5597
|
class GoogleCloudDataplexV1ListPartitionsResponse
|
5477
5598
|
include Google::Apis::Core::Hashable
|
@@ -5582,6 +5703,281 @@ module Google
|
|
5582
5703
|
end
|
5583
5704
|
end
|
5584
5705
|
|
5706
|
+
# A metadata job resource.
|
5707
|
+
class GoogleCloudDataplexV1MetadataJob
|
5708
|
+
include Google::Apis::Core::Hashable
|
5709
|
+
|
5710
|
+
# Output only. The time when the metadata job was created.
|
5711
|
+
# Corresponds to the JSON property `createTime`
|
5712
|
+
# @return [String]
|
5713
|
+
attr_accessor :create_time
|
5714
|
+
|
5715
|
+
# Results from a metadata import job.
|
5716
|
+
# Corresponds to the JSON property `importResult`
|
5717
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobResult]
|
5718
|
+
attr_accessor :import_result
|
5719
|
+
|
5720
|
+
# Job specification for a metadata import job
|
5721
|
+
# Corresponds to the JSON property `importSpec`
|
5722
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpec]
|
5723
|
+
attr_accessor :import_spec
|
5724
|
+
|
5725
|
+
# Optional. User-defined labels.
|
5726
|
+
# Corresponds to the JSON property `labels`
|
5727
|
+
# @return [Hash<String,String>]
|
5728
|
+
attr_accessor :labels
|
5729
|
+
|
5730
|
+
# Output only. The name of the resource that the configuration is applied to, in
|
5731
|
+
# the format projects/`project_number`/locations/`location_id`/metadataJobs/`
|
5732
|
+
# metadata_job_id`.
|
5733
|
+
# Corresponds to the JSON property `name`
|
5734
|
+
# @return [String]
|
5735
|
+
attr_accessor :name
|
5736
|
+
|
5737
|
+
# Metadata job status.
|
5738
|
+
# Corresponds to the JSON property `status`
|
5739
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobStatus]
|
5740
|
+
attr_accessor :status
|
5741
|
+
|
5742
|
+
#
|
5743
|
+
# Corresponds to the JSON property `type`
|
5744
|
+
# @return [String]
|
5745
|
+
attr_accessor :type
|
5746
|
+
|
5747
|
+
# Output only. A system-generated, globally unique ID for the metadata job. If
|
5748
|
+
# the metadata job is deleted and then re-created with the same name, this ID is
|
5749
|
+
# different.
|
5750
|
+
# Corresponds to the JSON property `uid`
|
5751
|
+
# @return [String]
|
5752
|
+
attr_accessor :uid
|
5753
|
+
|
5754
|
+
# Output only. The time when the metadata job was updated.
|
5755
|
+
# Corresponds to the JSON property `updateTime`
|
5756
|
+
# @return [String]
|
5757
|
+
attr_accessor :update_time
|
5758
|
+
|
5759
|
+
def initialize(**args)
|
5760
|
+
update!(**args)
|
5761
|
+
end
|
5762
|
+
|
5763
|
+
# Update properties of this object
|
5764
|
+
def update!(**args)
|
5765
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5766
|
+
@import_result = args[:import_result] if args.key?(:import_result)
|
5767
|
+
@import_spec = args[:import_spec] if args.key?(:import_spec)
|
5768
|
+
@labels = args[:labels] if args.key?(:labels)
|
5769
|
+
@name = args[:name] if args.key?(:name)
|
5770
|
+
@status = args[:status] if args.key?(:status)
|
5771
|
+
@type = args[:type] if args.key?(:type)
|
5772
|
+
@uid = args[:uid] if args.key?(:uid)
|
5773
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
5774
|
+
end
|
5775
|
+
end
|
5776
|
+
|
5777
|
+
# Results from a metadata import job.
|
5778
|
+
class GoogleCloudDataplexV1MetadataJobImportJobResult
|
5779
|
+
include Google::Apis::Core::Hashable
|
5780
|
+
|
5781
|
+
# Output only. The total number of entries that were created.
|
5782
|
+
# Corresponds to the JSON property `createdEntries`
|
5783
|
+
# @return [Fixnum]
|
5784
|
+
attr_accessor :created_entries
|
5785
|
+
|
5786
|
+
# Output only. The total number of entries that were deleted.
|
5787
|
+
# Corresponds to the JSON property `deletedEntries`
|
5788
|
+
# @return [Fixnum]
|
5789
|
+
attr_accessor :deleted_entries
|
5790
|
+
|
5791
|
+
# Output only. The total number of entries that were recreated.
|
5792
|
+
# Corresponds to the JSON property `recreatedEntries`
|
5793
|
+
# @return [Fixnum]
|
5794
|
+
attr_accessor :recreated_entries
|
5795
|
+
|
5796
|
+
# Output only. The total number of entries that were unchanged.
|
5797
|
+
# Corresponds to the JSON property `unchangedEntries`
|
5798
|
+
# @return [Fixnum]
|
5799
|
+
attr_accessor :unchanged_entries
|
5800
|
+
|
5801
|
+
# Output only. The time when the status was updated.
|
5802
|
+
# Corresponds to the JSON property `updateTime`
|
5803
|
+
# @return [String]
|
5804
|
+
attr_accessor :update_time
|
5805
|
+
|
5806
|
+
# Output only. The total number of entries that were updated.
|
5807
|
+
# Corresponds to the JSON property `updatedEntries`
|
5808
|
+
# @return [Fixnum]
|
5809
|
+
attr_accessor :updated_entries
|
5810
|
+
|
5811
|
+
def initialize(**args)
|
5812
|
+
update!(**args)
|
5813
|
+
end
|
5814
|
+
|
5815
|
+
# Update properties of this object
|
5816
|
+
def update!(**args)
|
5817
|
+
@created_entries = args[:created_entries] if args.key?(:created_entries)
|
5818
|
+
@deleted_entries = args[:deleted_entries] if args.key?(:deleted_entries)
|
5819
|
+
@recreated_entries = args[:recreated_entries] if args.key?(:recreated_entries)
|
5820
|
+
@unchanged_entries = args[:unchanged_entries] if args.key?(:unchanged_entries)
|
5821
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
5822
|
+
@updated_entries = args[:updated_entries] if args.key?(:updated_entries)
|
5823
|
+
end
|
5824
|
+
end
|
5825
|
+
|
5826
|
+
# Job specification for a metadata import job
|
5827
|
+
class GoogleCloudDataplexV1MetadataJobImportJobSpec
|
5828
|
+
include Google::Apis::Core::Hashable
|
5829
|
+
|
5830
|
+
# Required. The sync mode for aspects. Only INCREMENTAL mode is supported for
|
5831
|
+
# aspects. An aspect is modified only if the metadata import file includes a
|
5832
|
+
# reference to the aspect in the update_mask field and the aspect_keys field.
|
5833
|
+
# Corresponds to the JSON property `aspectSyncMode`
|
5834
|
+
# @return [String]
|
5835
|
+
attr_accessor :aspect_sync_mode
|
5836
|
+
|
5837
|
+
# Required. The sync mode for entries. Only FULL mode is supported for entries.
|
5838
|
+
# All entries in the job's scope are modified. If an entry exists in Dataplex
|
5839
|
+
# but isn't included in the metadata import file, the entry is deleted when you
|
5840
|
+
# run the metadata job.
|
5841
|
+
# Corresponds to the JSON property `entrySyncMode`
|
5842
|
+
# @return [String]
|
5843
|
+
attr_accessor :entry_sync_mode
|
5844
|
+
|
5845
|
+
# Optional. The level of logs to write to Cloud Logging for this job.Debug-level
|
5846
|
+
# logs provide highly-detailed information for troubleshooting, but their
|
5847
|
+
# increased verbosity could incur additional costs (https://cloud.google.com/
|
5848
|
+
# stackdriver/pricing) that might not be merited for all jobs.If unspecified,
|
5849
|
+
# defaults to INFO.
|
5850
|
+
# Corresponds to the JSON property `logLevel`
|
5851
|
+
# @return [String]
|
5852
|
+
attr_accessor :log_level
|
5853
|
+
|
5854
|
+
# A boundary on the scope of impact that the metadata import job can have.
|
5855
|
+
# Corresponds to the JSON property `scope`
|
5856
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope]
|
5857
|
+
attr_accessor :scope
|
5858
|
+
|
5859
|
+
# Optional. The time when the process that created the metadata import files
|
5860
|
+
# began.
|
5861
|
+
# Corresponds to the JSON property `sourceCreateTime`
|
5862
|
+
# @return [String]
|
5863
|
+
attr_accessor :source_create_time
|
5864
|
+
|
5865
|
+
# Optional. The URI of a Cloud Storage bucket or folder (beginning with gs://
|
5866
|
+
# and ending with /) that contains the metadata import files for this job.A
|
5867
|
+
# metadata import file defines the values to set for each of the entries and
|
5868
|
+
# aspects in a metadata job. For more information about how to create a metadata
|
5869
|
+
# import file and the file requirements, see Metadata import file (https://cloud.
|
5870
|
+
# google.com/dataplex/docs/import-metadata#metadata-import-file).You can provide
|
5871
|
+
# multiple metadata import files in the same metadata job. The bucket or folder
|
5872
|
+
# must contain at least one metadata import file, in JSON Lines format (either .
|
5873
|
+
# json or .jsonl file extension).In FULL entry sync mode, don't save the
|
5874
|
+
# metadata import file in a folder named SOURCE_STORAGE_URI/deletions/.Caution:
|
5875
|
+
# If the metadata import file contains no data, all entries and aspects that
|
5876
|
+
# belong to the job's scope are deleted.
|
5877
|
+
# Corresponds to the JSON property `sourceStorageUri`
|
5878
|
+
# @return [String]
|
5879
|
+
attr_accessor :source_storage_uri
|
5880
|
+
|
5881
|
+
def initialize(**args)
|
5882
|
+
update!(**args)
|
5883
|
+
end
|
5884
|
+
|
5885
|
+
# Update properties of this object
|
5886
|
+
def update!(**args)
|
5887
|
+
@aspect_sync_mode = args[:aspect_sync_mode] if args.key?(:aspect_sync_mode)
|
5888
|
+
@entry_sync_mode = args[:entry_sync_mode] if args.key?(:entry_sync_mode)
|
5889
|
+
@log_level = args[:log_level] if args.key?(:log_level)
|
5890
|
+
@scope = args[:scope] if args.key?(:scope)
|
5891
|
+
@source_create_time = args[:source_create_time] if args.key?(:source_create_time)
|
5892
|
+
@source_storage_uri = args[:source_storage_uri] if args.key?(:source_storage_uri)
|
5893
|
+
end
|
5894
|
+
end
|
5895
|
+
|
5896
|
+
# A boundary on the scope of impact that the metadata import job can have.
|
5897
|
+
class GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope
|
5898
|
+
include Google::Apis::Core::Hashable
|
5899
|
+
|
5900
|
+
# Optional. The aspect types that are in scope for the import job, specified as
|
5901
|
+
# relative resource names in the format projects/`project_number_or_id`/
|
5902
|
+
# locations/`location_id`/aspectTypes/`aspect_type_id`. The job modifies only
|
5903
|
+
# the aspects that belong to these aspect types.If the metadata import file
|
5904
|
+
# attempts to modify an aspect whose type isn't included in this list, the
|
5905
|
+
# import job is halted before modifying any entries or aspects.The location of
|
5906
|
+
# an aspect type must either match the location of the job, or the aspect type
|
5907
|
+
# must be global.
|
5908
|
+
# Corresponds to the JSON property `aspectTypes`
|
5909
|
+
# @return [Array<String>]
|
5910
|
+
attr_accessor :aspect_types
|
5911
|
+
|
5912
|
+
# Required. The entry group that is in scope for the import job, specified as a
|
5913
|
+
# relative resource name in the format projects/`project_number_or_id`/locations/
|
5914
|
+
# `location_id`/entryGroups/`entry_group_id`. Only entries that belong to the
|
5915
|
+
# specified entry group are affected by the job.Must contain exactly one element.
|
5916
|
+
# The entry group and the job must be in the same location.
|
5917
|
+
# Corresponds to the JSON property `entryGroups`
|
5918
|
+
# @return [Array<String>]
|
5919
|
+
attr_accessor :entry_groups
|
5920
|
+
|
5921
|
+
# Required. The entry types that are in scope for the import job, specified as
|
5922
|
+
# relative resource names in the format projects/`project_number_or_id`/
|
5923
|
+
# locations/`location_id`/entryTypes/`entry_type_id`. The job modifies only the
|
5924
|
+
# entries that belong to these entry types.If the metadata import file attempts
|
5925
|
+
# to modify an entry whose type isn't included in this list, the import job is
|
5926
|
+
# halted before modifying any entries or aspects.The location of an entry type
|
5927
|
+
# must either match the location of the job, or the entry type must be global.
|
5928
|
+
# Corresponds to the JSON property `entryTypes`
|
5929
|
+
# @return [Array<String>]
|
5930
|
+
attr_accessor :entry_types
|
5931
|
+
|
5932
|
+
def initialize(**args)
|
5933
|
+
update!(**args)
|
5934
|
+
end
|
5935
|
+
|
5936
|
+
# Update properties of this object
|
5937
|
+
def update!(**args)
|
5938
|
+
@aspect_types = args[:aspect_types] if args.key?(:aspect_types)
|
5939
|
+
@entry_groups = args[:entry_groups] if args.key?(:entry_groups)
|
5940
|
+
@entry_types = args[:entry_types] if args.key?(:entry_types)
|
5941
|
+
end
|
5942
|
+
end
|
5943
|
+
|
5944
|
+
# Metadata job status.
|
5945
|
+
class GoogleCloudDataplexV1MetadataJobStatus
|
5946
|
+
include Google::Apis::Core::Hashable
|
5947
|
+
|
5948
|
+
# Output only. Progress tracking.
|
5949
|
+
# Corresponds to the JSON property `completionPercent`
|
5950
|
+
# @return [Fixnum]
|
5951
|
+
attr_accessor :completion_percent
|
5952
|
+
|
5953
|
+
# Output only. Message relating to the progression of a metadata job.
|
5954
|
+
# Corresponds to the JSON property `message`
|
5955
|
+
# @return [String]
|
5956
|
+
attr_accessor :message
|
5957
|
+
|
5958
|
+
# Output only. State of the metadata job.
|
5959
|
+
# Corresponds to the JSON property `state`
|
5960
|
+
# @return [String]
|
5961
|
+
attr_accessor :state
|
5962
|
+
|
5963
|
+
# Output only. The time when the status was updated.
|
5964
|
+
# Corresponds to the JSON property `updateTime`
|
5965
|
+
# @return [String]
|
5966
|
+
attr_accessor :update_time
|
5967
|
+
|
5968
|
+
def initialize(**args)
|
5969
|
+
update!(**args)
|
5970
|
+
end
|
5971
|
+
|
5972
|
+
# Update properties of this object
|
5973
|
+
def update!(**args)
|
5974
|
+
@completion_percent = args[:completion_percent] if args.key?(:completion_percent)
|
5975
|
+
@message = args[:message] if args.key?(:message)
|
5976
|
+
@state = args[:state] if args.key?(:state)
|
5977
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
5978
|
+
end
|
5979
|
+
end
|
5980
|
+
|
5585
5981
|
# Represents the metadata of a long-running operation.
|
5586
5982
|
class GoogleCloudDataplexV1OperationMetadata
|
5587
5983
|
include Google::Apis::Core::Hashable
|
@@ -6024,8 +6420,8 @@ module Google
|
|
6024
6420
|
class GoogleCloudDataplexV1SearchEntriesResult
|
6025
6421
|
include Google::Apis::Core::Hashable
|
6026
6422
|
|
6027
|
-
# An entry is a representation of a data
|
6028
|
-
# metadata.
|
6423
|
+
# An entry is a representation of a data resource that can be described by
|
6424
|
+
# various metadata.
|
6029
6425
|
# Corresponds to the JSON property `dataplexEntry`
|
6030
6426
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Entry]
|
6031
6427
|
attr_accessor :dataplex_entry
|
@@ -6058,8 +6454,8 @@ module Google
|
|
6058
6454
|
class GoogleCloudDataplexV1SearchEntriesResultSnippets
|
6059
6455
|
include Google::Apis::Core::Hashable
|
6060
6456
|
|
6061
|
-
# An entry is a representation of a data
|
6062
|
-
# metadata.
|
6457
|
+
# An entry is a representation of a data resource that can be described by
|
6458
|
+
# various metadata.
|
6063
6459
|
# Corresponds to the JSON property `dataplexEntry`
|
6064
6460
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Entry]
|
6065
6461
|
attr_accessor :dataplex_entry
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DataplexV1
|
18
18
|
# Version of the google-apis-dataplex_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.60.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240722"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|