Skip to content

Commit

Permalink
feat(datamigration): update the api
Browse files Browse the repository at this point in the history
#### datamigration:v1

The following keys were added:
- schemas.MigrationJob.properties.dumpType.type (Total Keys: 1)
- schemas.ResumeMigrationJobRequest.properties.skipValidation.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Apr 2, 2024
1 parent 5fae742 commit 98b7c8c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
Expand Up @@ -168,6 +168,7 @@ <h3>Method Details</h3>
],
},
&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.
&quot;dumpType&quot;: &quot;A String&quot;, # Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only.
&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;.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. If the migration job is completed, the time when it was completed.
&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.
Expand Down Expand Up @@ -431,6 +432,7 @@ <h3>Method Details</h3>
],
},
&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.
&quot;dumpType&quot;: &quot;A String&quot;, # Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only.
&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;.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. If the migration job is completed, the time when it was completed.
&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.
Expand Down Expand Up @@ -576,6 +578,7 @@ <h3>Method Details</h3>
],
},
&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.
&quot;dumpType&quot;: &quot;A String&quot;, # Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only.
&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;.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. If the migration job is completed, the time when it was completed.
&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.
Expand Down Expand Up @@ -682,6 +685,7 @@ <h3>Method Details</h3>
],
},
&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.
&quot;dumpType&quot;: &quot;A String&quot;, # Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only.
&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;.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. If the migration job is completed, the time when it was completed.
&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.
Expand Down Expand Up @@ -860,6 +864,7 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Request message for &#x27;ResumeMigrationJob&#x27; request.
&quot;skipValidation&quot;: True or False, # Optional. Resume the migration job without running prior configuration verification. Defaults to `false`.
}

x__xgafv: string, V1 error format.
Expand Down Expand Up @@ -1121,6 +1126,7 @@ <h3>Method Details</h3>
],
},
&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.
&quot;dumpType&quot;: &quot;A String&quot;, # Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only.
&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;.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. If the migration job is completed, the time when it was completed.
&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.
Expand Down
23 changes: 21 additions & 2 deletions googleapiclient/discovery_cache/documents/datamigration.v1.json
Expand Up @@ -2125,7 +2125,7 @@
}
}
},
"revision": "20240315",
"revision": "20240327",
"rootUrl": "https://datamigration.googleapis.com/",
"schemas": {
"AlloyDbConnectionProfile": {
Expand Down Expand Up @@ -4409,6 +4409,20 @@
"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.",
"type": "string"
},
"dumpType": {
"description": "Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only.",
"enum": [
"DUMP_TYPE_UNSPECIFIED",
"LOGICAL",
"PHYSICAL"
],
"enumDescriptions": [
"If not specified, defaults to LOGICAL",
"Logical dump.",
"Physical file-based dump. Supported for MySQL to CloudSQL for MySQL migrations only."
],
"type": "string"
},
"duration": {
"description": "Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: \"3.5s\".",
"format": "google-duration",
Expand Down Expand Up @@ -5152,7 +5166,12 @@
"ResumeMigrationJobRequest": {
"description": "Request message for 'ResumeMigrationJob' request.",
"id": "ResumeMigrationJobRequest",
"properties": {},
"properties": {
"skipValidation": {
"description": "Optional. Resume the migration job without running prior configuration verification. Defaults to `false`.",
"type": "boolean"
}
},
"type": "object"
},
"ReverseSshConnectivity": {
Expand Down
Expand Up @@ -1049,7 +1049,7 @@
}
}
},
"revision": "20240315",
"revision": "20240327",
"rootUrl": "https://datamigration.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down

0 comments on commit 98b7c8c

Please sign in to comment.