Database Migration API: projects. Manage Cloud Database Migration Service resources on Google Cloud Platform. See: https://cloud.google.com/database-migration/api/reference/rest/v1/projects
Database Migration API: projects. Manage Cloud Database Migration Service resources on Google Cloud Platform. See: https://cloud.google.com/database-migration/api/reference/rest/v1/projects
(locations-connectionProfiles-create$ auth parameters body)
Required parameters: parent
Optional parameters: requestId, connectionProfileId
Body:
{:labels {}, :postgresql {:host string, :username string, :cloudSqlId string, :ssl SslConfig, :port integer, :password string, :passwordSet boolean}, :displayName string, :name string, :createTime string, :cloudsql {:publicIp string, :cloudSqlId string, :settings CloudSqlSettings, :privateIp string}, :state string, :updateTime string, :error {:details [{}], :message string, :code integer}, :provider string, :mysql {:port integer, :passwordSet boolean, :host string, :ssl SslConfig, :cloudSqlId string, :username string, :password string}}
Creates a new connection profile in a given project and location.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/connectionProfiles/create Required parameters: parent Optional parameters: requestId, connectionProfileId Body: {:labels {}, :postgresql {:host string, :username string, :cloudSqlId string, :ssl SslConfig, :port integer, :password string, :passwordSet boolean}, :displayName string, :name string, :createTime string, :cloudsql {:publicIp string, :cloudSqlId string, :settings CloudSqlSettings, :privateIp string}, :state string, :updateTime string, :error {:details [{}], :message string, :code integer}, :provider string, :mysql {:port integer, :passwordSet boolean, :host string, :ssl SslConfig, :cloudSqlId string, :username string, :password string}} Creates a new connection profile in a given project and location.
(locations-connectionProfiles-delete$ auth parameters)
Required parameters: name
Optional parameters: force, requestId
Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/connectionProfiles/delete Required parameters: name Optional parameters: force, requestId Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs.
(locations-connectionProfiles-get$ auth parameters)
Required parameters: name
Optional parameters: none
Gets details of a single connection profile.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/connectionProfiles/get Required parameters: name Optional parameters: none Gets details of a single connection profile.
(locations-connectionProfiles-getIamPolicy$ auth parameters)
Required parameters: resource
Optional parameters: options.requestedPolicyVersion
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/connectionProfiles/getIamPolicy Required parameters: resource Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
(locations-connectionProfiles-list$ auth parameters)
Required parameters: parent
Optional parameters: orderBy, pageSize, pageToken, filter
Retrieve a list of all connection profiles in a given project and location.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/connectionProfiles/list Required parameters: parent Optional parameters: orderBy, pageSize, pageToken, filter Retrieve a list of all connection profiles in a given project and location.
(locations-connectionProfiles-patch$ auth parameters body)
Required parameters: name
Optional parameters: requestId, updateMask
Body:
{:labels {}, :postgresql {:host string, :username string, :cloudSqlId string, :ssl SslConfig, :port integer, :password string, :passwordSet boolean}, :displayName string, :name string, :createTime string, :cloudsql {:publicIp string, :cloudSqlId string, :settings CloudSqlSettings, :privateIp string}, :state string, :updateTime string, :error {:details [{}], :message string, :code integer}, :provider string, :mysql {:port integer, :passwordSet boolean, :host string, :ssl SslConfig, :cloudSqlId string, :username string, :password string}}
Update the configuration of a single connection profile.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/connectionProfiles/patch Required parameters: name Optional parameters: requestId, updateMask Body: {:labels {}, :postgresql {:host string, :username string, :cloudSqlId string, :ssl SslConfig, :port integer, :password string, :passwordSet boolean}, :displayName string, :name string, :createTime string, :cloudsql {:publicIp string, :cloudSqlId string, :settings CloudSqlSettings, :privateIp string}, :state string, :updateTime string, :error {:details [{}], :message string, :code integer}, :provider string, :mysql {:port integer, :passwordSet boolean, :host string, :ssl SslConfig, :cloudSqlId string, :username string, :password string}} Update the configuration of a single connection profile.
(locations-connectionProfiles-setIamPolicy$ auth parameters body)
Required parameters: resource
Optional parameters: none
Body:
{:updateMask string, :policy {:version integer, :etag string, :bindings [Binding], :auditConfigs [AuditConfig]}}
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/connectionProfiles/setIamPolicy Required parameters: resource Optional parameters: none Body: {:updateMask string, :policy {:version integer, :etag string, :bindings [Binding], :auditConfigs [AuditConfig]}} Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
(locations-connectionProfiles-testIamPermissions$ auth parameters body)
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND
error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/connectionProfiles/testIamPermissions Required parameters: resource Optional parameters: none Body: {:permissions [string]} Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
(locations-get$ auth parameters)
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/get
Required parameters: name
Optional parameters: none
Gets information about a location.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/get Required parameters: name Optional parameters: none Gets information about a location.
(locations-list$ auth parameters)
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/list
Required parameters: name
Optional parameters: pageToken, pageSize, filter
Lists information about the supported locations for this service.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/list Required parameters: name Optional parameters: pageToken, pageSize, filter Lists information about the supported locations for this service.
(locations-migrationJobs-create$ auth parameters body)
Required parameters: parent
Optional parameters: migrationJobId, requestId
Body:
{:labels {}, :reverseSshConnectivity {:vmPort integer, :vmIp string, :vpc string, :vm string}, :destinationDatabase {:engine string, :provider string}, :dumpPath string, :displayName string, :name string, :endTime string, :createTime string, :phase string, :type string, :staticIpConnectivity {}, :duration string, :state string, :source string, :updateTime string, :error {:details [{}], :message string, :code integer}, :sourceDatabase {:engine string, :provider string}, :vpcPeeringConnectivity {:vpc string}, :destination string}
Creates a new migration job in a given project and location.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/create Required parameters: parent Optional parameters: migrationJobId, requestId Body: {:labels {}, :reverseSshConnectivity {:vmPort integer, :vmIp string, :vpc string, :vm string}, :destinationDatabase {:engine string, :provider string}, :dumpPath string, :displayName string, :name string, :endTime string, :createTime string, :phase string, :type string, :staticIpConnectivity {}, :duration string, :state string, :source string, :updateTime string, :error {:details [{}], :message string, :code integer}, :sourceDatabase {:engine string, :provider string}, :vpcPeeringConnectivity {:vpc string}, :destination string} Creates a new migration job in a given project and location.
(locations-migrationJobs-delete$ auth parameters)
Required parameters: name
Optional parameters: requestId, force
Deletes a single migration job.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/delete Required parameters: name Optional parameters: requestId, force Deletes a single migration job.
(locations-migrationJobs-generateSshScript$ auth parameters body)
Required parameters: migrationJob
Optional parameters: none
Body:
{:vm string, :vmCreationConfig {:vmMachineType string, :subnet string, :vmZone string}, :vmSelectionConfig {:vmZone string}, :vmPort integer}
Generate a SSH configuration script to configure the reverse SSH connectivity.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/generateSshScript Required parameters: migrationJob Optional parameters: none Body: {:vm string, :vmCreationConfig {:vmMachineType string, :subnet string, :vmZone string}, :vmSelectionConfig {:vmZone string}, :vmPort integer} Generate a SSH configuration script to configure the reverse SSH connectivity.
(locations-migrationJobs-get$ auth parameters)
Required parameters: name
Optional parameters: none
Gets details of a single migration job.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/get Required parameters: name Optional parameters: none Gets details of a single migration job.
(locations-migrationJobs-getIamPolicy$ auth parameters)
Required parameters: resource
Optional parameters: options.requestedPolicyVersion
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/getIamPolicy Required parameters: resource Optional parameters: options.requestedPolicyVersion Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
(locations-migrationJobs-list$ auth parameters)
Required parameters: parent
Optional parameters: orderBy, pageToken, pageSize, filter
Lists migration jobs in a given project and location.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/list Required parameters: parent Optional parameters: orderBy, pageToken, pageSize, filter Lists migration jobs in a given project and location.
(locations-migrationJobs-patch$ auth parameters body)
Required parameters: name
Optional parameters: requestId, updateMask
Body:
{:labels {}, :reverseSshConnectivity {:vmPort integer, :vmIp string, :vpc string, :vm string}, :destinationDatabase {:engine string, :provider string}, :dumpPath string, :displayName string, :name string, :endTime string, :createTime string, :phase string, :type string, :staticIpConnectivity {}, :duration string, :state string, :source string, :updateTime string, :error {:details [{}], :message string, :code integer}, :sourceDatabase {:engine string, :provider string}, :vpcPeeringConnectivity {:vpc string}, :destination string}
Updates the parameters of a single migration job.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/patch Required parameters: name Optional parameters: requestId, updateMask Body: {:labels {}, :reverseSshConnectivity {:vmPort integer, :vmIp string, :vpc string, :vm string}, :destinationDatabase {:engine string, :provider string}, :dumpPath string, :displayName string, :name string, :endTime string, :createTime string, :phase string, :type string, :staticIpConnectivity {}, :duration string, :state string, :source string, :updateTime string, :error {:details [{}], :message string, :code integer}, :sourceDatabase {:engine string, :provider string}, :vpcPeeringConnectivity {:vpc string}, :destination string} Updates the parameters of a single migration job.
(locations-migrationJobs-promote$ auth parameters body)
Required parameters: name
Optional parameters: none
Body:
{}
Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/promote Required parameters: name Optional parameters: none Body: {} Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
(locations-migrationJobs-restart$ auth parameters body)
Required parameters: name
Optional parameters: none
Body:
{}
Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/restart Required parameters: name Optional parameters: none Body: {} Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.
(locations-migrationJobs-resume$ auth parameters body)
Required parameters: name
Optional parameters: none
Body:
{}
Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/resume Required parameters: name Optional parameters: none Body: {} Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase).
(locations-migrationJobs-setIamPolicy$ auth parameters body)
Required parameters: resource
Optional parameters: none
Body:
{:updateMask string, :policy {:version integer, :etag string, :bindings [Binding], :auditConfigs [AuditConfig]}}
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/setIamPolicy Required parameters: resource Optional parameters: none Body: {:updateMask string, :policy {:version integer, :etag string, :bindings [Binding], :auditConfigs [AuditConfig]}} Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
(locations-migrationJobs-start$ auth parameters body)
Required parameters: name
Optional parameters: none
Body:
{}
Start an already created migration job.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/start Required parameters: name Optional parameters: none Body: {} Start an already created migration job.
(locations-migrationJobs-stop$ auth parameters body)
Required parameters: name
Optional parameters: none
Body:
{}
Stops a running migration job.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/stop Required parameters: name Optional parameters: none Body: {} Stops a running migration job.
(locations-migrationJobs-testIamPermissions$ auth parameters body)
Required parameters: resource
Optional parameters: none
Body:
{:permissions [string]}
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND
error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/testIamPermissions Required parameters: resource Optional parameters: none Body: {:permissions [string]} Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
(locations-migrationJobs-verify$ auth parameters body)
Required parameters: name
Optional parameters: none
Body:
{}
Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/migrationJobs/verify Required parameters: name Optional parameters: none Body: {} Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met.
(locations-operations-cancel$ auth parameters body)
Required parameters: name
Optional parameters: none
Body:
{}
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
.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/operations/cancel Required parameters: name Optional parameters: none Body: {} 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`.
(locations-operations-delete$ auth parameters)
Required parameters: name
Optional parameters: none
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/operations/delete Required parameters: name Optional parameters: none Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
(locations-operations-get$ auth parameters)
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/operations/get
Required parameters: name
Optional parameters: none
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/operations/get Required parameters: name Optional parameters: none Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
(locations-operations-list$ auth parameters)
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/operations/list
Required parameters: name
Optional parameters: pageSize, filter, pageToken
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED
. NOTE: the name
binding allows API services to override the binding to use different resource name schemes, such as users/*/operations
. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations"
to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
https://cloud.google.com/database-migration/api/reference/rest/v1/projects/locations/operations/list Required parameters: name Optional parameters: pageSize, filter, pageToken Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close