You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retrieves objects from the source database that can be selected for data migration. This is applicable for the following migrations: 1. PostgreSQL to Cloud SQL for PostgreSQL 2. PostgreSQL to AlloyDB for PostgreSQL.
2620
+
2621
+
## Parameters
2622
+
2623
+
* `connection` (*type:* `GoogleApi.DataMigration.V1.Connection.t`) - Connection to server
2624
+
* `name` (*type:* `String.t`) - Required. The resource name for the migration job for which source objects should be returned.
* `:alt` (*type:* `String.t`) - Data format for response.
2629
+
* `:callback` (*type:* `String.t`) - JSONP
2630
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
2631
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
2632
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
2633
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
2634
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
2635
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
2636
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
2637
+
* `opts` (*type:* `keyword()`) - Call options
2638
+
2639
+
## Returns
2640
+
2641
+
* `{:ok, %GoogleApi.DataMigration.V1.Model.Operation{}}` on success
* `:alt` (*type:* `String.t`) - Data format for response.
3719
+
* `:callback` (*type:* `String.t`) - JSONP
3720
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
3721
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
3722
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
3723
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
3724
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
3725
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
3726
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
3727
+
* `opts` (*type:* `keyword()`) - Call options
3728
+
3729
+
## Returns
3730
+
3731
+
* `{:ok, %GoogleApi.DataMigration.V1.Model.MigrationJobObject{}}` on success
* `:alt` (*type:* `String.t`) - Data format for response.
3861
+
* `:callback` (*type:* `String.t`) - JSONP
3862
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
3863
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
3864
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
3865
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
3866
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
3867
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
3868
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
3869
+
* `:pageSize` (*type:* `integer()`) - Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000.
3870
+
* `:pageToken` (*type:* `String.t`) - Page token received from a previous `ListMigrationJObObjectsRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMigrationJobObjectsRequest` must match the call that provided the page token.
3871
+
* `opts` (*type:* `keyword()`) - Call options
3872
+
3873
+
## Returns
3874
+
3875
+
* `{:ok, %GoogleApi.DataMigration.V1.Model.ListMigrationJobObjectsResponse{}}` on success
* `:alt` (*type:* `String.t`) - Data format for response.
3937
+
* `:callback` (*type:* `String.t`) - JSONP
3938
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
3939
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
3940
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
3941
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
3942
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
3943
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
3944
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
3712
4000
@@ -3854,7 +4142,7 @@ defmodule GoogleApi.DataMigration.V1.Api.Projects do
3854
4142
end
3855
4143
3856
4144
@doc"""
3857
-
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
4145
+
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
Copy file name to clipboardExpand all lines: clients/data_migration/lib/google_api/data_migration/v1/model/google_cloud_clouddms_v1_operation_metadata.ex
* `apiVersion` (*type:* `String.t`, *default:* `nil`) - Output only. API version used to start the operation.
25
25
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation was created.
26
26
* `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time the operation finished running.
27
-
* `requestedCancellation` (*type:* `boolean()`, *default:* `nil`) - Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
27
+
* `requestedCancellation` (*type:* `boolean()`, *default:* `nil`) - Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
28
28
* `statusMessage` (*type:* `String.t`, *default:* `nil`) - Output only. Human-readable status of the operation, if any.
29
29
* `target` (*type:* `String.t`, *default:* `nil`) - Output only. Server-defined resource path for the target of the operation.
30
30
* `verb` (*type:* `String.t`, *default:* `nil`) - Output only. Name of the verb executed by the operation.
0 commit comments