google-apis-datamigration_v1 0.93.0 → 0.94.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: e921dac0583328319aeac5d2ac1219abf084321b0ac3eff5fc8eb2eadc5855e6
4
- data.tar.gz: 30595059c4c04f279338825694659e7fbb973d2fe08e0c227bbe266434dcf338
3
+ metadata.gz: 62a27cf513fd774529ca753b212b7bf9ad061d99b4dd6f23c250080828091f8f
4
+ data.tar.gz: ed9ea1c29640b170bc8993a233773e4d3e8fdf8b9df1e2bffe85b0baeaf5a3b6
5
5
  SHA512:
6
- metadata.gz: 93e77b988b9f5e817ea06ebdbe9df9bb097f053c58ebc7f0a8e46bdb082ad2bc718977aa2a2bc77351fb3f6048c61eed0e3e85ad4054269fab4ac4a5b9eda51a
7
- data.tar.gz: cf74e1385113105c275a4a79a13aad376d96ecb72f4bda25910a9d82a0c9c7737c161c43135c51634a5feefe8ecf7a0fc925363dff0f2afb6f4d0b037cd42f24
6
+ metadata.gz: be51dfaa976dfc7576b61ff3df5c1e5bf3b117c91e97fb35fddcaf46c54903a62058771236f5a2a1d7c5f684a4700d88eebcf8749dd903675e0d2f858a948337
7
+ data.tar.gz: 654c6f904660ec9d3a9a1bb1563e6db201dfce8e03a6ee03561db9fd5ddd240cbafbb9864dea50fee48556b9de48dc5298e373fa3af86caa1b0d3d79bf120bbc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.94.0 (2026-09-27)
4
+
5
+ * Regenerated from discovery document revision 20260917
6
+
3
7
  ### v0.93.0 (2026-09-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20260904
@@ -1209,6 +1209,11 @@ module Google
1209
1209
  attr_accessor :has_uncommitted_changes
1210
1210
  alias_method :has_uncommitted_changes?, :has_uncommitted_changes
1211
1211
 
1212
+ # Optional. Output only. The timestamp when the workspace was last applied.
1213
+ # Corresponds to the JSON property `latestApplyTime`
1214
+ # @return [String]
1215
+ attr_accessor :latest_apply_time
1216
+
1212
1217
  # Output only. The latest commit ID.
1213
1218
  # Corresponds to the JSON property `latestCommitId`
1214
1219
  # @return [String]
@@ -1219,6 +1224,11 @@ module Google
1219
1224
  # @return [String]
1220
1225
  attr_accessor :latest_commit_time
1221
1226
 
1227
+ # Optional. Output only. The timestamp when the workspace was last converted.
1228
+ # Corresponds to the JSON property `latestConvertTime`
1229
+ # @return [String]
1230
+ attr_accessor :latest_convert_time
1231
+
1222
1232
  # Full name of the workspace resource, in the form of: projects/`project`/
1223
1233
  # locations/`location`/conversionWorkspaces/`conversion_workspace`.
1224
1234
  # Corresponds to the JSON property `name`
@@ -1252,8 +1262,10 @@ module Google
1252
1262
  @display_name = args[:display_name] if args.key?(:display_name)
1253
1263
  @global_settings = args[:global_settings] if args.key?(:global_settings)
1254
1264
  @has_uncommitted_changes = args[:has_uncommitted_changes] if args.key?(:has_uncommitted_changes)
1265
+ @latest_apply_time = args[:latest_apply_time] if args.key?(:latest_apply_time)
1255
1266
  @latest_commit_id = args[:latest_commit_id] if args.key?(:latest_commit_id)
1256
1267
  @latest_commit_time = args[:latest_commit_time] if args.key?(:latest_commit_time)
1268
+ @latest_convert_time = args[:latest_convert_time] if args.key?(:latest_convert_time)
1257
1269
  @name = args[:name] if args.key?(:name)
1258
1270
  @source = args[:source] if args.key?(:source)
1259
1271
  @source_provider = args[:source_provider] if args.key?(:source_provider)
@@ -1839,6 +1851,43 @@ module Google
1839
1851
  end
1840
1852
  end
1841
1853
 
1854
+ # An entity identifier.
1855
+ class EntityId
1856
+ include Google::Apis::Core::Hashable
1857
+
1858
+ # The parent entity full name.
1859
+ # Corresponds to the JSON property `parentName`
1860
+ # @return [String]
1861
+ attr_accessor :parent_name
1862
+
1863
+ # The type of the database entity (schema, table, view, ...).
1864
+ # Corresponds to the JSON property `parentType`
1865
+ # @return [String]
1866
+ attr_accessor :parent_type
1867
+
1868
+ # The short name (e.g. table name) of the entity.
1869
+ # Corresponds to the JSON property `shortName`
1870
+ # @return [String]
1871
+ attr_accessor :short_name
1872
+
1873
+ # The type of the database entity (schema, table, view, index, ...).
1874
+ # Corresponds to the JSON property `type`
1875
+ # @return [String]
1876
+ attr_accessor :type
1877
+
1878
+ def initialize(**args)
1879
+ update!(**args)
1880
+ end
1881
+
1882
+ # Update properties of this object
1883
+ def update!(**args)
1884
+ @parent_name = args[:parent_name] if args.key?(:parent_name)
1885
+ @parent_type = args[:parent_type] if args.key?(:parent_type)
1886
+ @short_name = args[:short_name] if args.key?(:short_name)
1887
+ @type = args[:type] if args.key?(:type)
1888
+ end
1889
+ end
1890
+
1842
1891
  # Issue related to the entity.
1843
1892
  class EntityIssue
1844
1893
  include Google::Apis::Core::Hashable
@@ -2002,6 +2051,83 @@ module Google
2002
2051
  end
2003
2052
  end
2004
2053
 
2054
+ # A single entity for the UI view.
2055
+ class EntityStatusView
2056
+ include Google::Apis::Core::Hashable
2057
+
2058
+ # Optional. The set of entities that this entity directly depends on, i.e., it
2059
+ # does not include transitive dependencies. Provided only for
2060
+ # FULL_WITH_DEPENDENCIES view. Dependencies are provided according to the
2061
+ # request tree type.
2062
+ # Corresponds to the JSON property `dependencies`
2063
+ # @return [Array<Google::Apis::DatamigrationV1::EntityId>]
2064
+ attr_accessor :dependencies
2065
+
2066
+ # The DDL Kind selected for apply. If UNSPECIFIED, the entity wasn't converted
2067
+ # yet. For SUMMARY view, this rolls up from descendants with the logic of
2068
+ # UNSPECIFIED < DETERMINISTIC < AI. USER_EDIT is not propagated.
2069
+ # Corresponds to the JSON property `draftDdlKind`
2070
+ # @return [String]
2071
+ attr_accessor :draft_ddl_kind
2072
+
2073
+ # An entity identifier.
2074
+ # Corresponds to the JSON property `draftEntity`
2075
+ # @return [Google::Apis::DatamigrationV1::EntityId]
2076
+ attr_accessor :draft_entity
2077
+
2078
+ # If ddl_kind is USER_EDIT, this holds the DDL kind of the original content -
2079
+ # DETERMINISTIC or AI. Otherwise, this is DDL_KIND_UNSPECIFIED. Relevant only
2080
+ # for FULL view.
2081
+ # Corresponds to the JSON property `editedDdlKind`
2082
+ # @return [String]
2083
+ attr_accessor :edited_ddl_kind
2084
+
2085
+ # Aggregate issue information.
2086
+ # Corresponds to the JSON property `issues`
2087
+ # @return [Google::Apis::DatamigrationV1::IssueAggregateData]
2088
+ attr_accessor :issues
2089
+
2090
+ # Aggregate issue information.
2091
+ # Corresponds to the JSON property `resolvedIssues`
2092
+ # @return [Google::Apis::DatamigrationV1::IssueAggregateData]
2093
+ attr_accessor :resolved_issues
2094
+
2095
+ # An entity identifier.
2096
+ # Corresponds to the JSON property `sourceEntity`
2097
+ # @return [Google::Apis::DatamigrationV1::EntityId]
2098
+ attr_accessor :source_entity
2099
+
2100
+ # Optional. Whether the entity has successfully generated and executed
2101
+ # validation tests.
2102
+ # Corresponds to the JSON property `testedEntity`
2103
+ # @return [Boolean]
2104
+ attr_accessor :tested_entity
2105
+ alias_method :tested_entity?, :tested_entity
2106
+
2107
+ # Was the entity applied on the destination. Relevant only for FULL view.
2108
+ # Corresponds to the JSON property `wasApplied`
2109
+ # @return [Boolean]
2110
+ attr_accessor :was_applied
2111
+ alias_method :was_applied?, :was_applied
2112
+
2113
+ def initialize(**args)
2114
+ update!(**args)
2115
+ end
2116
+
2117
+ # Update properties of this object
2118
+ def update!(**args)
2119
+ @dependencies = args[:dependencies] if args.key?(:dependencies)
2120
+ @draft_ddl_kind = args[:draft_ddl_kind] if args.key?(:draft_ddl_kind)
2121
+ @draft_entity = args[:draft_entity] if args.key?(:draft_entity)
2122
+ @edited_ddl_kind = args[:edited_ddl_kind] if args.key?(:edited_ddl_kind)
2123
+ @issues = args[:issues] if args.key?(:issues)
2124
+ @resolved_issues = args[:resolved_issues] if args.key?(:resolved_issues)
2125
+ @source_entity = args[:source_entity] if args.key?(:source_entity)
2126
+ @tested_entity = args[:tested_entity] if args.key?(:tested_entity)
2127
+ @was_applied = args[:was_applied] if args.key?(:was_applied)
2128
+ end
2129
+ end
2130
+
2005
2131
  # Describes the cause of the error with structured details. Example of an error
2006
2132
  # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
2007
2133
  # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
@@ -2108,6 +2234,98 @@ module Google
2108
2234
  end
2109
2235
  end
2110
2236
 
2237
+ # Response message for DataMigrationService.FetchEntitiesStatusView.
2238
+ class FetchEntitiesStatusViewResponse
2239
+ include Google::Apis::Core::Hashable
2240
+
2241
+ # A list of the entities matching the request, sorted by their full name (source
2242
+ # name if requested the SOURCE tree, draft name if requested the DRAFT tree).
2243
+ # Sub-entities (such as indexes) always appear immediately after their parent
2244
+ # element.
2245
+ # Corresponds to the JSON property `entities`
2246
+ # @return [Array<Google::Apis::DatamigrationV1::EntityStatusView>]
2247
+ attr_accessor :entities
2248
+
2249
+ # A token which can be sent as `page_token` to retrieve the next page. If this
2250
+ # field is omitted, there are no subsequent pages.
2251
+ # Corresponds to the JSON property `nextPageToken`
2252
+ # @return [String]
2253
+ attr_accessor :next_page_token
2254
+
2255
+ def initialize(**args)
2256
+ update!(**args)
2257
+ end
2258
+
2259
+ # Update properties of this object
2260
+ def update!(**args)
2261
+ @entities = args[:entities] if args.key?(:entities)
2262
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2263
+ end
2264
+ end
2265
+
2266
+ # Response for fetching issues of a conversion workspace.
2267
+ class FetchIssuesResponse
2268
+ include Google::Apis::Core::Hashable
2269
+
2270
+ # The list of issues for the conversion workspace.
2271
+ # Corresponds to the JSON property `issues`
2272
+ # @return [Array<Google::Apis::DatamigrationV1::Issue>]
2273
+ attr_accessor :issues
2274
+
2275
+ # A token which can be sent as `page_token` to retrieve the next page. If this
2276
+ # field is omitted, there are no subsequent pages.
2277
+ # Corresponds to the JSON property `nextPageToken`
2278
+ # @return [String]
2279
+ attr_accessor :next_page_token
2280
+
2281
+ def initialize(**args)
2282
+ update!(**args)
2283
+ end
2284
+
2285
+ # Update properties of this object
2286
+ def update!(**args)
2287
+ @issues = args[:issues] if args.key?(:issues)
2288
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2289
+ end
2290
+ end
2291
+
2292
+ # Issue position.
2293
+ class FetchIssuesResponseIssuePosition
2294
+ include Google::Apis::Core::Hashable
2295
+
2296
+ # Issue column number.
2297
+ # Corresponds to the JSON property `column`
2298
+ # @return [Fixnum]
2299
+ attr_accessor :column
2300
+
2301
+ # Issue length.
2302
+ # Corresponds to the JSON property `length`
2303
+ # @return [Fixnum]
2304
+ attr_accessor :length
2305
+
2306
+ # Issue line number.
2307
+ # Corresponds to the JSON property `line`
2308
+ # @return [Fixnum]
2309
+ attr_accessor :line
2310
+
2311
+ # Issue offset.
2312
+ # Corresponds to the JSON property `offset`
2313
+ # @return [Fixnum]
2314
+ attr_accessor :offset
2315
+
2316
+ def initialize(**args)
2317
+ update!(**args)
2318
+ end
2319
+
2320
+ # Update properties of this object
2321
+ def update!(**args)
2322
+ @column = args[:column] if args.key?(:column)
2323
+ @length = args[:length] if args.key?(:length)
2324
+ @line = args[:line] if args.key?(:line)
2325
+ @offset = args[:offset] if args.key?(:offset)
2326
+ end
2327
+ end
2328
+
2111
2329
  # Response message for a 'FetchStaticIps' request.
2112
2330
  class FetchStaticIpsResponse
2113
2331
  include Google::Apis::Core::Hashable
@@ -2646,6 +2864,117 @@ module Google
2646
2864
  end
2647
2865
  end
2648
2866
 
2867
+ # Issue related to the entity.
2868
+ class Issue
2869
+ include Google::Apis::Core::Hashable
2870
+
2871
+ # The category ID.
2872
+ # Corresponds to the JSON property `categoryId`
2873
+ # @return [String]
2874
+ attr_accessor :category_id
2875
+
2876
+ # Entity full name.
2877
+ # Corresponds to the JSON property `entityFullName`
2878
+ # @return [String]
2879
+ attr_accessor :entity_full_name
2880
+
2881
+ # The entity type (if the DDL is for a sub entity).
2882
+ # Corresponds to the JSON property `entityType`
2883
+ # @return [String]
2884
+ attr_accessor :entity_type
2885
+
2886
+ # The group ID.
2887
+ # Corresponds to the JSON property `groupId`
2888
+ # @return [String]
2889
+ attr_accessor :group_id
2890
+
2891
+ # Unique Issue ID. Use this ID when referencing a specific issue in other API
2892
+ # calls, such as DataMigrationService.SetIssuesState.
2893
+ # Corresponds to the JSON property `id`
2894
+ # @return [String]
2895
+ attr_accessor :id
2896
+
2897
+ # The source of the issue (deterministic, gemini, etc).
2898
+ # Corresponds to the JSON property `issueOrigin`
2899
+ # @return [String]
2900
+ attr_accessor :issue_origin
2901
+
2902
+ # Output only. The state of the issue (open, resolved, etc).
2903
+ # Corresponds to the JSON property `issueState`
2904
+ # @return [String]
2905
+ attr_accessor :issue_state
2906
+
2907
+ # Issue detailed message.
2908
+ # Corresponds to the JSON property `message`
2909
+ # @return [String]
2910
+ attr_accessor :message
2911
+
2912
+ # Issue position.
2913
+ # Corresponds to the JSON property `position`
2914
+ # @return [Google::Apis::DatamigrationV1::FetchIssuesResponseIssuePosition]
2915
+ attr_accessor :position
2916
+
2917
+ # Severity of the issue.
2918
+ # Corresponds to the JSON property `severity`
2919
+ # @return [String]
2920
+ attr_accessor :severity
2921
+
2922
+ # The type of the issue.
2923
+ # Corresponds to the JSON property `type`
2924
+ # @return [String]
2925
+ attr_accessor :type
2926
+
2927
+ def initialize(**args)
2928
+ update!(**args)
2929
+ end
2930
+
2931
+ # Update properties of this object
2932
+ def update!(**args)
2933
+ @category_id = args[:category_id] if args.key?(:category_id)
2934
+ @entity_full_name = args[:entity_full_name] if args.key?(:entity_full_name)
2935
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
2936
+ @group_id = args[:group_id] if args.key?(:group_id)
2937
+ @id = args[:id] if args.key?(:id)
2938
+ @issue_origin = args[:issue_origin] if args.key?(:issue_origin)
2939
+ @issue_state = args[:issue_state] if args.key?(:issue_state)
2940
+ @message = args[:message] if args.key?(:message)
2941
+ @position = args[:position] if args.key?(:position)
2942
+ @severity = args[:severity] if args.key?(:severity)
2943
+ @type = args[:type] if args.key?(:type)
2944
+ end
2945
+ end
2946
+
2947
+ # Aggregate issue information.
2948
+ class IssueAggregateData
2949
+ include Google::Apis::Core::Hashable
2950
+
2951
+ # Number of error issues.
2952
+ # Corresponds to the JSON property `errorCount`
2953
+ # @return [Fixnum]
2954
+ attr_accessor :error_count
2955
+
2956
+ # Number of info issues.
2957
+ # Corresponds to the JSON property `infoCount`
2958
+ # @return [Fixnum]
2959
+ attr_accessor :info_count
2960
+
2961
+ # Number of warning issues.
2962
+ # Corresponds to the JSON property `warningCount`
2963
+ # @return [Fixnum]
2964
+ attr_accessor :warning_count
2965
+
2966
+ def initialize(**args)
2967
+ update!(**args)
2968
+ end
2969
+
2970
+ # Update properties of this object
2971
+ def update!(**args)
2972
+ @error_count = args[:error_count] if args.key?(:error_count)
2973
+ @info_count = args[:info_count] if args.key?(:info_count)
2974
+ @warning_count = args[:warning_count] if args.key?(:warning_count)
2975
+ end
2976
+ end
2977
+
2649
2978
  # Describes a URL link.
2650
2979
  class Link
2651
2980
  include Google::Apis::Core::Hashable
@@ -5483,6 +5812,69 @@ module Google
5483
5812
  end
5484
5813
  end
5485
5814
 
5815
+ # Request message for DataMigrationService.SetDraftEntityDdl.
5816
+ class SetDraftEntityDdlRequest
5817
+ include Google::Apis::Core::Hashable
5818
+
5819
+ # Optional. Which DDL (Deterministic/AI) the updated DDL is based on. Defaults
5820
+ # to DETERMINISTIC if not specified.
5821
+ # Corresponds to the JSON property `basedOnDdlKind`
5822
+ # @return [String]
5823
+ attr_accessor :based_on_ddl_kind
5824
+
5825
+ # Required. The DDL to set.
5826
+ # Corresponds to the JSON property `ddl`
5827
+ # @return [String]
5828
+ attr_accessor :ddl
5829
+
5830
+ # Optional. The updated DDL Kind. Can be either USER_EDIT (default) or AI.
5831
+ # Corresponds to the JSON property `ddlKind`
5832
+ # @return [String]
5833
+ attr_accessor :ddl_kind
5834
+
5835
+ # Required. The draft entity full name from the tree. .
5836
+ # Corresponds to the JSON property `entityName`
5837
+ # @return [String]
5838
+ attr_accessor :entity_name
5839
+
5840
+ # Required. The type of the database entity (table, view, index, ...).
5841
+ # Corresponds to the JSON property `entityType`
5842
+ # @return [String]
5843
+ attr_accessor :entity_type
5844
+
5845
+ # Optional. An optional explanation of the generated DDL if ddl_kind is AI.
5846
+ # Corresponds to the JSON property `explanation`
5847
+ # @return [String]
5848
+ attr_accessor :explanation
5849
+
5850
+ def initialize(**args)
5851
+ update!(**args)
5852
+ end
5853
+
5854
+ # Update properties of this object
5855
+ def update!(**args)
5856
+ @based_on_ddl_kind = args[:based_on_ddl_kind] if args.key?(:based_on_ddl_kind)
5857
+ @ddl = args[:ddl] if args.key?(:ddl)
5858
+ @ddl_kind = args[:ddl_kind] if args.key?(:ddl_kind)
5859
+ @entity_name = args[:entity_name] if args.key?(:entity_name)
5860
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
5861
+ @explanation = args[:explanation] if args.key?(:explanation)
5862
+ end
5863
+ end
5864
+
5865
+ # Response message for DataMigrationService.SetDraftEntityDdl.
5866
+ class SetDraftEntityDdlResponse
5867
+ include Google::Apis::Core::Hashable
5868
+
5869
+ def initialize(**args)
5870
+ update!(**args)
5871
+ end
5872
+
5873
+ # Update properties of this object
5874
+ def update!(**args)
5875
+ end
5876
+ end
5877
+
5486
5878
  # Request message for `SetIamPolicy` method.
5487
5879
  class SetIamPolicyRequest
5488
5880
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatamigrationV1
18
18
  # Version of the google-apis-datamigration_v1 gem
19
- GEM_VERSION = "0.93.0"
19
+ GEM_VERSION = "0.94.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260904"
25
+ REVISION = "20260917"
26
26
  end
27
27
  end
28
28
  end
@@ -268,6 +268,12 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
+ class EntityId
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
271
277
  class EntityIssue
272
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
279
 
@@ -292,6 +298,12 @@ module Google
292
298
  include Google::Apis::Core::JsonObjectSupport
293
299
  end
294
300
 
301
+ class EntityStatusView
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
295
307
  class ErrorInfo
296
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
309
 
@@ -304,6 +316,24 @@ module Google
304
316
  include Google::Apis::Core::JsonObjectSupport
305
317
  end
306
318
 
319
+ class FetchEntitiesStatusViewResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class FetchIssuesResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class FetchIssuesResponseIssuePosition
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
307
337
  class FetchStaticIpsResponse
308
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
339
 
@@ -394,6 +424,18 @@ module Google
394
424
  include Google::Apis::Core::JsonObjectSupport
395
425
  end
396
426
 
427
+ class Issue
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class IssueAggregateData
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
397
439
  class Link
398
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
441
 
@@ -790,6 +832,18 @@ module Google
790
832
  include Google::Apis::Core::JsonObjectSupport
791
833
  end
792
834
 
835
+ class SetDraftEntityDdlRequest
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
841
+ class SetDraftEntityDdlResponse
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
793
847
  class SetIamPolicyRequest
794
848
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
849
 
@@ -1343,8 +1397,10 @@ module Google
1343
1397
  property :display_name, as: 'displayName'
1344
1398
  hash :global_settings, as: 'globalSettings'
1345
1399
  property :has_uncommitted_changes, as: 'hasUncommittedChanges'
1400
+ property :latest_apply_time, as: 'latestApplyTime'
1346
1401
  property :latest_commit_id, as: 'latestCommitId'
1347
1402
  property :latest_commit_time, as: 'latestCommitTime'
1403
+ property :latest_convert_time, as: 'latestConvertTime'
1348
1404
  property :name, as: 'name'
1349
1405
  property :source, as: 'source', class: Google::Apis::DatamigrationV1::DatabaseEngineInfo, decorator: Google::Apis::DatamigrationV1::DatabaseEngineInfo::Representation
1350
1406
 
@@ -1533,6 +1589,16 @@ module Google
1533
1589
  end
1534
1590
  end
1535
1591
 
1592
+ class EntityId
1593
+ # @private
1594
+ class Representation < Google::Apis::Core::JsonRepresentation
1595
+ property :parent_name, as: 'parentName'
1596
+ property :parent_type, as: 'parentType'
1597
+ property :short_name, as: 'shortName'
1598
+ property :type, as: 'type'
1599
+ end
1600
+ end
1601
+
1536
1602
  class EntityIssue
1537
1603
  # @private
1538
1604
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1576,6 +1642,26 @@ module Google
1576
1642
  end
1577
1643
  end
1578
1644
 
1645
+ class EntityStatusView
1646
+ # @private
1647
+ class Representation < Google::Apis::Core::JsonRepresentation
1648
+ collection :dependencies, as: 'dependencies', class: Google::Apis::DatamigrationV1::EntityId, decorator: Google::Apis::DatamigrationV1::EntityId::Representation
1649
+
1650
+ property :draft_ddl_kind, as: 'draftDdlKind'
1651
+ property :draft_entity, as: 'draftEntity', class: Google::Apis::DatamigrationV1::EntityId, decorator: Google::Apis::DatamigrationV1::EntityId::Representation
1652
+
1653
+ property :edited_ddl_kind, as: 'editedDdlKind'
1654
+ property :issues, as: 'issues', class: Google::Apis::DatamigrationV1::IssueAggregateData, decorator: Google::Apis::DatamigrationV1::IssueAggregateData::Representation
1655
+
1656
+ property :resolved_issues, as: 'resolvedIssues', class: Google::Apis::DatamigrationV1::IssueAggregateData, decorator: Google::Apis::DatamigrationV1::IssueAggregateData::Representation
1657
+
1658
+ property :source_entity, as: 'sourceEntity', class: Google::Apis::DatamigrationV1::EntityId, decorator: Google::Apis::DatamigrationV1::EntityId::Representation
1659
+
1660
+ property :tested_entity, as: 'testedEntity'
1661
+ property :was_applied, as: 'wasApplied'
1662
+ end
1663
+ end
1664
+
1579
1665
  class ErrorInfo
1580
1666
  # @private
1581
1667
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1595,6 +1681,34 @@ module Google
1595
1681
  end
1596
1682
  end
1597
1683
 
1684
+ class FetchEntitiesStatusViewResponse
1685
+ # @private
1686
+ class Representation < Google::Apis::Core::JsonRepresentation
1687
+ collection :entities, as: 'entities', class: Google::Apis::DatamigrationV1::EntityStatusView, decorator: Google::Apis::DatamigrationV1::EntityStatusView::Representation
1688
+
1689
+ property :next_page_token, as: 'nextPageToken'
1690
+ end
1691
+ end
1692
+
1693
+ class FetchIssuesResponse
1694
+ # @private
1695
+ class Representation < Google::Apis::Core::JsonRepresentation
1696
+ collection :issues, as: 'issues', class: Google::Apis::DatamigrationV1::Issue, decorator: Google::Apis::DatamigrationV1::Issue::Representation
1697
+
1698
+ property :next_page_token, as: 'nextPageToken'
1699
+ end
1700
+ end
1701
+
1702
+ class FetchIssuesResponseIssuePosition
1703
+ # @private
1704
+ class Representation < Google::Apis::Core::JsonRepresentation
1705
+ property :column, as: 'column'
1706
+ property :length, as: 'length'
1707
+ property :line, as: 'line'
1708
+ property :offset, as: 'offset'
1709
+ end
1710
+ end
1711
+
1598
1712
  class FetchStaticIpsResponse
1599
1713
  # @private
1600
1714
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1740,6 +1854,33 @@ module Google
1740
1854
  end
1741
1855
  end
1742
1856
 
1857
+ class Issue
1858
+ # @private
1859
+ class Representation < Google::Apis::Core::JsonRepresentation
1860
+ property :category_id, as: 'categoryId'
1861
+ property :entity_full_name, as: 'entityFullName'
1862
+ property :entity_type, as: 'entityType'
1863
+ property :group_id, as: 'groupId'
1864
+ property :id, as: 'id'
1865
+ property :issue_origin, as: 'issueOrigin'
1866
+ property :issue_state, as: 'issueState'
1867
+ property :message, as: 'message'
1868
+ property :position, as: 'position', class: Google::Apis::DatamigrationV1::FetchIssuesResponseIssuePosition, decorator: Google::Apis::DatamigrationV1::FetchIssuesResponseIssuePosition::Representation
1869
+
1870
+ property :severity, as: 'severity'
1871
+ property :type, as: 'type'
1872
+ end
1873
+ end
1874
+
1875
+ class IssueAggregateData
1876
+ # @private
1877
+ class Representation < Google::Apis::Core::JsonRepresentation
1878
+ property :error_count, as: 'errorCount'
1879
+ property :info_count, as: 'infoCount'
1880
+ property :warning_count, as: 'warningCount'
1881
+ end
1882
+ end
1883
+
1743
1884
  class Link
1744
1885
  # @private
1745
1886
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2482,6 +2623,24 @@ module Google
2482
2623
  end
2483
2624
  end
2484
2625
 
2626
+ class SetDraftEntityDdlRequest
2627
+ # @private
2628
+ class Representation < Google::Apis::Core::JsonRepresentation
2629
+ property :based_on_ddl_kind, as: 'basedOnDdlKind'
2630
+ property :ddl, as: 'ddl'
2631
+ property :ddl_kind, as: 'ddlKind'
2632
+ property :entity_name, as: 'entityName'
2633
+ property :entity_type, as: 'entityType'
2634
+ property :explanation, as: 'explanation'
2635
+ end
2636
+ end
2637
+
2638
+ class SetDraftEntityDdlResponse
2639
+ # @private
2640
+ class Representation < Google::Apis::Core::JsonRepresentation
2641
+ end
2642
+ end
2643
+
2485
2644
  class SetIamPolicyRequest
2486
2645
  # @private
2487
2646
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -817,6 +817,123 @@ module Google
817
817
  execute_or_queue_command(command, &block)
818
818
  end
819
819
 
820
+ # An internal, RPC only method that returns a list of the (filtered) entities
821
+ # with minimal information required for the entities tree view.
822
+ # @param [String] conversion_workspace
823
+ # Required. Name of the conversion workspace resource whose database entities
824
+ # are described. Must be in the form of: projects/`project`/locations/`location`/
825
+ # conversionWorkspaces/`conversion_workspace`.
826
+ # @param [String] fetch_view
827
+ # Optional. The view to fetch. If not specified, FULL is used.
828
+ # @param [String] filter
829
+ # Optional. Filter the returned entities based on AIP-160 standard.
830
+ # @param [Fixnum] page_size
831
+ # Optional. The maximum number of entities to return. The service may return
832
+ # fewer entities than the value specifies. Default is 100000.
833
+ # @param [String] page_token
834
+ # Optional. The nextPageToken value received in the previous call to
835
+ # conversionWorkspace.FetchEntitiesStatusView, used in the subsequent request to
836
+ # retrieve the next page of results. On first call this should be left blank.
837
+ # When paginating, all other parameters provided to conversionWorkspace.
838
+ # FetchEntitiesStatusView must match the call that provided the page token,
839
+ # except for the page_size parameter.
840
+ # @param [String] tree
841
+ # Required. The tree to fetch.
842
+ # @param [String] fields
843
+ # Selector specifying which fields to include in a partial response.
844
+ # @param [String] quota_user
845
+ # Available to use for quota purposes for server-side applications. Can be any
846
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
847
+ # @param [Google::Apis::RequestOptions] options
848
+ # Request-specific options
849
+ #
850
+ # @yield [result, err] Result & error if block supplied
851
+ # @yieldparam result [Google::Apis::DatamigrationV1::FetchEntitiesStatusViewResponse] parsed result object
852
+ # @yieldparam err [StandardError] error object if request failed
853
+ #
854
+ # @return [Google::Apis::DatamigrationV1::FetchEntitiesStatusViewResponse]
855
+ #
856
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
857
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
858
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
859
+ def fetch_project_location_conversion_workspace_entities_status_view(conversion_workspace, fetch_view: nil, filter: nil, page_size: nil, page_token: nil, tree: nil, fields: nil, quota_user: nil, options: nil, &block)
860
+ command = make_simple_command(:get, 'v1/{+conversionWorkspace}:fetchEntitiesStatusView', options)
861
+ command.response_representation = Google::Apis::DatamigrationV1::FetchEntitiesStatusViewResponse::Representation
862
+ command.response_class = Google::Apis::DatamigrationV1::FetchEntitiesStatusViewResponse
863
+ command.params['conversionWorkspace'] = conversion_workspace unless conversion_workspace.nil?
864
+ command.query['fetchView'] = fetch_view unless fetch_view.nil?
865
+ command.query['filter'] = filter unless filter.nil?
866
+ command.query['pageSize'] = page_size unless page_size.nil?
867
+ command.query['pageToken'] = page_token unless page_token.nil?
868
+ command.query['tree'] = tree unless tree.nil?
869
+ command.query['fields'] = fields unless fields.nil?
870
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
871
+ execute_or_queue_command(command, &block)
872
+ end
873
+
874
+ # List issues of conversion workspace operations e.g. conversion.
875
+ # @param [String] conversion_workspace
876
+ # Required. Conversion workspace with issues to fetch. Must be in the form of:
877
+ # projects/`project`/locations/`location`/conversionWorkspaces/`
878
+ # conversion_workspace`.
879
+ # @param [Boolean] all_issues
880
+ # Optional. If 'true', gets all issues matching the filter. Otherwise, for each
881
+ # entity only the issues matching the DdlKind chosen for application on the
882
+ # destination are returned.
883
+ # @param [String] filter
884
+ # Optional. AIP-160 standard filter. Supporting both entity and issue fields.
885
+ # Supported fields: - `name` / `fullname`: The entity full name. - `type`: The
886
+ # entity type (e.g. `TABLE`, `VIEW`, `INDEX`, `TRIGGER`). - `ddlkind`: The kind
887
+ # of DDL (e.g. `DDL_KIND_SOURCE`, `DDL_KIND_AI`, `DDL_KIND_DETERMINISTIC`). - `
888
+ # issue.severity`: The severity of the issue (e.g. `INFO`, `WARNING`, `ERROR`). -
889
+ # `issue.state`: The state of the issue (e.g. `OPEN`, `RESOLVED`). - `issue.
890
+ # origin`: The origin of the issue (e.g. `DETERMINISTIC`, `AI`). - `issue.
891
+ # category_id`: The category ID of the issue. - `issue.group_id`: The group ID
892
+ # of the issue.
893
+ # @param [Fixnum] page_size
894
+ # Optional. The maximum number of issues to return. The service may return fewer
895
+ # issues than the value specifies.
896
+ # @param [String] page_token
897
+ # Optional. The FetchIssuesResponse.next_page_token value received in the
898
+ # previous call to FetchIssues, used in the subsequent request to retrieve the
899
+ # next page of results. On first call this should be left blank. When paginating,
900
+ # all other parameters provided to FetchIssues must match the call that
901
+ # provided the page token, except for the page_size parameter.
902
+ # @param [String] tree
903
+ # Optional. The tree to fetch issues from. If not specified, source tree is
904
+ # assumed.
905
+ # @param [String] fields
906
+ # Selector specifying which fields to include in a partial response.
907
+ # @param [String] quota_user
908
+ # Available to use for quota purposes for server-side applications. Can be any
909
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
910
+ # @param [Google::Apis::RequestOptions] options
911
+ # Request-specific options
912
+ #
913
+ # @yield [result, err] Result & error if block supplied
914
+ # @yieldparam result [Google::Apis::DatamigrationV1::FetchIssuesResponse] parsed result object
915
+ # @yieldparam err [StandardError] error object if request failed
916
+ #
917
+ # @return [Google::Apis::DatamigrationV1::FetchIssuesResponse]
918
+ #
919
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
920
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
921
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
922
+ def fetch_project_location_conversion_workspace_issues(conversion_workspace, all_issues: nil, filter: nil, page_size: nil, page_token: nil, tree: nil, fields: nil, quota_user: nil, options: nil, &block)
923
+ command = make_simple_command(:get, 'v1/{+conversionWorkspace}:fetchIssues', options)
924
+ command.response_representation = Google::Apis::DatamigrationV1::FetchIssuesResponse::Representation
925
+ command.response_class = Google::Apis::DatamigrationV1::FetchIssuesResponse
926
+ command.params['conversionWorkspace'] = conversion_workspace unless conversion_workspace.nil?
927
+ command.query['allIssues'] = all_issues unless all_issues.nil?
928
+ command.query['filter'] = filter unless filter.nil?
929
+ command.query['pageSize'] = page_size unless page_size.nil?
930
+ command.query['pageToken'] = page_token unless page_token.nil?
931
+ command.query['tree'] = tree unless tree.nil?
932
+ command.query['fields'] = fields unless fields.nil?
933
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
934
+ execute_or_queue_command(command, &block)
935
+ end
936
+
820
937
  # Gets details of a single conversion workspace.
821
938
  # @param [String] name
822
939
  # Required. Name of the conversion workspace resource to get.
@@ -1103,6 +1220,40 @@ module Google
1103
1220
  execute_or_queue_command(command, &block)
1104
1221
  end
1105
1222
 
1223
+ # Updates the draft DDL of an entity.
1224
+ # @param [String] conversion_workspace
1225
+ # Required. Name of the conversion workspace resource in the form of: projects/`
1226
+ # project`/locations/`location`/conversionWorkspaces/`conversion_workspace`.
1227
+ # @param [Google::Apis::DatamigrationV1::SetDraftEntityDdlRequest] set_draft_entity_ddl_request_object
1228
+ # @param [String] fields
1229
+ # Selector specifying which fields to include in a partial response.
1230
+ # @param [String] quota_user
1231
+ # Available to use for quota purposes for server-side applications. Can be any
1232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1233
+ # @param [Google::Apis::RequestOptions] options
1234
+ # Request-specific options
1235
+ #
1236
+ # @yield [result, err] Result & error if block supplied
1237
+ # @yieldparam result [Google::Apis::DatamigrationV1::SetDraftEntityDdlResponse] parsed result object
1238
+ # @yieldparam err [StandardError] error object if request failed
1239
+ #
1240
+ # @return [Google::Apis::DatamigrationV1::SetDraftEntityDdlResponse]
1241
+ #
1242
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1243
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1244
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1245
+ def set_conversion_workspace_draft_entity_ddl(conversion_workspace, set_draft_entity_ddl_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1246
+ command = make_simple_command(:post, 'v1/{+conversionWorkspace}:setDraftEntityDdl', options)
1247
+ command.request_representation = Google::Apis::DatamigrationV1::SetDraftEntityDdlRequest::Representation
1248
+ command.request_object = set_draft_entity_ddl_request_object
1249
+ command.response_representation = Google::Apis::DatamigrationV1::SetDraftEntityDdlResponse::Representation
1250
+ command.response_class = Google::Apis::DatamigrationV1::SetDraftEntityDdlResponse
1251
+ command.params['conversionWorkspace'] = conversion_workspace unless conversion_workspace.nil?
1252
+ command.query['fields'] = fields unless fields.nil?
1253
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1254
+ execute_or_queue_command(command, &block)
1255
+ end
1256
+
1106
1257
  # Sets the access control policy on the specified resource. Replaces any
1107
1258
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1108
1259
  # PERMISSION_DENIED` errors.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datamigration_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.0
4
+ version: 0.94.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.93.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.94.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1
62
62
  rdoc_options: []
63
63
  require_paths: