Skip to content

Commit b8836f7

Browse files
feat(datamigration): update the api
#### datamigration:v1 The following keys were added: - schemas.DumpFlag (Total Keys: 8) - schemas.MigrationJob.properties.dumpFlags.$ref (Total Keys: 1)
1 parent 803d36f commit b8836f7

File tree

2 files changed

+75
-8
lines changed

2 files changed

+75
-8
lines changed

docs/dyn/datamigration_v1.projects.locations.migrationJobs.html

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,15 @@ <h3>Method Details</h3>
148148
&quot;provider&quot;: &quot;A String&quot;, # The database provider.
149149
},
150150
&quot;displayName&quot;: &quot;A String&quot;, # The migration job display name.
151-
&quot;dumpPath&quot;: &quot;A String&quot;, # The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
151+
&quot;dumpFlags&quot;: { # Dump flags definition. # The initial dump flags. This field and the &quot;dump_path&quot; field are mutually exclusive.
152+
&quot;dumpFlags&quot;: [ # The flags for the initial dump.
153+
{ # Dump flag definition.
154+
&quot;name&quot;: &quot;A String&quot;, # The name of the flag
155+
&quot;value&quot;: &quot;A String&quot;, # The value of the flag.
156+
},
157+
],
158+
},
159+
&quot;dumpPath&quot;: &quot;A String&quot;, # The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the &quot;dump_flags&quot; field are mutually exclusive.
152160
&quot;duration&quot;: &quot;A String&quot;, # Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by &#x27;s&#x27;. Example: &quot;3.5s&quot;.
153161
&quot;endTime&quot;: &quot;A String&quot;, # Output only. If the migration job is completed, the time when it was completed.
154162
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The error details in case of state FAILED.
@@ -311,7 +319,15 @@ <h3>Method Details</h3>
311319
&quot;provider&quot;: &quot;A String&quot;, # The database provider.
312320
},
313321
&quot;displayName&quot;: &quot;A String&quot;, # The migration job display name.
314-
&quot;dumpPath&quot;: &quot;A String&quot;, # The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
322+
&quot;dumpFlags&quot;: { # Dump flags definition. # The initial dump flags. This field and the &quot;dump_path&quot; field are mutually exclusive.
323+
&quot;dumpFlags&quot;: [ # The flags for the initial dump.
324+
{ # Dump flag definition.
325+
&quot;name&quot;: &quot;A String&quot;, # The name of the flag
326+
&quot;value&quot;: &quot;A String&quot;, # The value of the flag.
327+
},
328+
],
329+
},
330+
&quot;dumpPath&quot;: &quot;A String&quot;, # The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the &quot;dump_flags&quot; field are mutually exclusive.
315331
&quot;duration&quot;: &quot;A String&quot;, # Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by &#x27;s&#x27;. Example: &quot;3.5s&quot;.
316332
&quot;endTime&quot;: &quot;A String&quot;, # Output only. If the migration job is completed, the time when it was completed.
317333
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The error details in case of state FAILED.
@@ -426,7 +442,15 @@ <h3>Method Details</h3>
426442
&quot;provider&quot;: &quot;A String&quot;, # The database provider.
427443
},
428444
&quot;displayName&quot;: &quot;A String&quot;, # The migration job display name.
429-
&quot;dumpPath&quot;: &quot;A String&quot;, # The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
445+
&quot;dumpFlags&quot;: { # Dump flags definition. # The initial dump flags. This field and the &quot;dump_path&quot; field are mutually exclusive.
446+
&quot;dumpFlags&quot;: [ # The flags for the initial dump.
447+
{ # Dump flag definition.
448+
&quot;name&quot;: &quot;A String&quot;, # The name of the flag
449+
&quot;value&quot;: &quot;A String&quot;, # The value of the flag.
450+
},
451+
],
452+
},
453+
&quot;dumpPath&quot;: &quot;A String&quot;, # The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the &quot;dump_flags&quot; field are mutually exclusive.
430454
&quot;duration&quot;: &quot;A String&quot;, # Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by &#x27;s&#x27;. Example: &quot;3.5s&quot;.
431455
&quot;endTime&quot;: &quot;A String&quot;, # Output only. If the migration job is completed, the time when it was completed.
432456
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The error details in case of state FAILED.
@@ -502,7 +526,15 @@ <h3>Method Details</h3>
502526
&quot;provider&quot;: &quot;A String&quot;, # The database provider.
503527
},
504528
&quot;displayName&quot;: &quot;A String&quot;, # The migration job display name.
505-
&quot;dumpPath&quot;: &quot;A String&quot;, # The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
529+
&quot;dumpFlags&quot;: { # Dump flags definition. # The initial dump flags. This field and the &quot;dump_path&quot; field are mutually exclusive.
530+
&quot;dumpFlags&quot;: [ # The flags for the initial dump.
531+
{ # Dump flag definition.
532+
&quot;name&quot;: &quot;A String&quot;, # The name of the flag
533+
&quot;value&quot;: &quot;A String&quot;, # The value of the flag.
534+
},
535+
],
536+
},
537+
&quot;dumpPath&quot;: &quot;A String&quot;, # The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the &quot;dump_flags&quot; field are mutually exclusive.
506538
&quot;duration&quot;: &quot;A String&quot;, # Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by &#x27;s&#x27;. Example: &quot;3.5s&quot;.
507539
&quot;endTime&quot;: &quot;A String&quot;, # Output only. If the migration job is completed, the time when it was completed.
508540
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. The error details in case of state FAILED.

googleapiclient/discovery_cache/documents/datamigration.v1.json

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@
10491049
}
10501050
}
10511051
},
1052-
"revision": "20220119",
1052+
"revision": "20220216",
10531053
"rootUrl": "https://datamigration.googleapis.com/",
10541054
"schemas": {
10551055
"AuditConfig": {
@@ -1221,7 +1221,8 @@
12211221
"POSTGRES_10",
12221222
"MYSQL_8_0",
12231223
"POSTGRES_12",
1224-
"POSTGRES_13"
1224+
"POSTGRES_13",
1225+
"POSTGRES_14"
12251226
],
12261227
"enumDescriptions": [
12271228
"Unspecified version.",
@@ -1232,7 +1233,8 @@
12321233
"PostgreSQL 10.",
12331234
"MySQL 8.0.",
12341235
"PostgreSQL 12.",
1235-
"PostgreSQL 13."
1236+
"PostgreSQL 13.",
1237+
"PostgreSQL 14."
12361238
],
12371239
"type": "string"
12381240
},
@@ -1404,6 +1406,35 @@
14041406
},
14051407
"type": "object"
14061408
},
1409+
"DumpFlag": {
1410+
"description": "Dump flag definition.",
1411+
"id": "DumpFlag",
1412+
"properties": {
1413+
"name": {
1414+
"description": "The name of the flag",
1415+
"type": "string"
1416+
},
1417+
"value": {
1418+
"description": "The value of the flag.",
1419+
"type": "string"
1420+
}
1421+
},
1422+
"type": "object"
1423+
},
1424+
"DumpFlags": {
1425+
"description": "Dump flags definition.",
1426+
"id": "DumpFlags",
1427+
"properties": {
1428+
"dumpFlags": {
1429+
"description": "The flags for the initial dump.",
1430+
"items": {
1431+
"$ref": "DumpFlag"
1432+
},
1433+
"type": "array"
1434+
}
1435+
},
1436+
"type": "object"
1437+
},
14071438
"Empty": {
14081439
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
14091440
"id": "Empty",
@@ -1643,8 +1674,12 @@
16431674
"description": "The migration job display name.",
16441675
"type": "string"
16451676
},
1677+
"dumpFlags": {
1678+
"$ref": "DumpFlags",
1679+
"description": "The initial dump flags. This field and the \"dump_path\" field are mutually exclusive."
1680+
},
16461681
"dumpPath": {
1647-
"description": "The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).",
1682+
"description": "The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the \"dump_flags\" field are mutually exclusive.",
16481683
"type": "string"
16491684
},
16501685
"duration": {

0 commit comments

Comments
 (0)