Skip to main content

Gcp/datamigration

@swamp/gcp/datamigrationv2026.09.11.1· 1d agoMODELS
01README

Google Cloud datamigration infrastructure models

02Release Notes
  • Updated: connectionprofiles, migrationjobs
03Models7
connectionprofiles.tsv2026.09.11.1

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
alloydb?objectRequired. The AlloyDB cluster ID that this connection profile is associated with.
cloudsql?objectOutput only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
displayName?stringThe connection profile display name.
labels?recordThe resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
mysql?objectIf the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
name?stringThe name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
oracle?objectRequired. Database service for the Oracle connection.
postgresql?objectOptional. If the destination is an AlloyDB database, use this field to provide the AlloyDB cluster ID.
provider?enumThe database provider.
role?enumOptional. The connection profile role.
sqlserver?objectRequired. The Cloud Storage bucket that stores backups for all replicated databases.
state?enumThe current connection profile state (e.g. DRAFT, READY, or FAILED).
connectionProfileId?stringRequired. The connection profile identifier.
requestId?stringOptional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
skipValidation?stringOptional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a connectionProfiles
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a connectionProfiles
ArgumentTypeDescription
identifierstringThe name of the connectionProfiles
fn update(identifier?: string, waitForReady?: boolean)
Update connectionProfiles attributes
ArgumentTypeDescription
identifier?stringTarget a specific connectionProfiles by name (e.g. one discovered by list)
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
fn delete(identifier: string)
Delete the connectionProfiles
ArgumentTypeDescription
identifierstringThe name of the connectionProfiles
fn sync(identifier?: string)
Sync connectionProfiles state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific connectionProfiles by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List connectionProfiles resources
ArgumentTypeDescription
filter?stringOptional. A filter expression that filters connection profiles listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list connection profiles created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can also filter nested fields. For example, you could specify **mySql.username = %lt;my_username%gt;** to list all connection profiles configured to connect with a specific username.
orderBy?stringOptional. A comma-separated list of fields to order results according to.
pageSize?numberThe maximum number of connection profiles to return. The service may return fewer than this value. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 are coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
ArgumentTypeDescription
options_requestedPolicyVersion?any
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
ArgumentTypeDescription
policy?any
updateMask?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any
conversionworkspaces.tsv2026.09.07.2

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
destination?objectRequired. Engine type.
destinationProvider?enumOptional. The provider for the destination database.
displayName?stringOptional. The display name for the workspace.
globalSettings?recordOptional. A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true
name?stringFull name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
source?objectRequired. Engine type.
sourceProvider?enumOptional. The provider for the source database.
conversionWorkspaceId?stringRequired. The ID of the conversion workspace to create.
requestId?stringOptional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a conversionWorkspaces
fn get(identifier: string)
Get a conversionWorkspaces
ArgumentTypeDescription
identifierstringThe name of the conversionWorkspaces
fn update(identifier?: string)
Update conversionWorkspaces attributes
ArgumentTypeDescription
identifier?stringTarget a specific conversionWorkspaces by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the conversionWorkspaces
ArgumentTypeDescription
identifierstringThe name of the conversionWorkspaces
fn sync(identifier?: string)
Sync conversionWorkspaces state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific conversionWorkspaces by name (e.g. one discovered by list)
fn list(filter?: string, pageSize?: number, maxPages?: number)
List conversionWorkspaces resources
ArgumentTypeDescription
filter?stringOptional. A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list conversion workspaces created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = "12.c.1"** to select all conversion workspaces with source database version equal to 12.c.1.
pageSize?numberOptional. The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets are returned.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn apply(autoCommit?: any, connectionProfile?: any, dryRun?: any, filter?: any)
apply
ArgumentTypeDescription
autoCommit?any
connectionProfile?any
dryRun?any
filter?any
fn commit(commitName?: any)
commit
ArgumentTypeDescription
commitName?any
fn convert(autoCommit?: any, convertFullPath?: any, filter?: any)
convert
ArgumentTypeDescription
autoCommit?any
convertFullPath?any
filter?any
fn describe_conversion_workspace_revisions(commitId?: any)
describe conversion workspace revisions
ArgumentTypeDescription
commitId?any
fn describe_database_entities(commitId?: any, filter?: any, pageSize?: any, pageToken?: any, tree?: any, uncommitted?: any, view?: any)
describe database entities
ArgumentTypeDescription
commitId?any
filter?any
pageSize?any
pageToken?any
tree?any
uncommitted?any
view?any
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
ArgumentTypeDescription
options_requestedPolicyVersion?any
fn rollback()
rollback
fn search_background_jobs(completedUntilTime?: any, maxSize?: any, returnMostRecentPerJobType?: any)
search background jobs
ArgumentTypeDescription
completedUntilTime?any
maxSize?any
returnMostRecentPerJobType?any
fn seed(autoCommit?: any, destinationConnectionProfile?: any, sourceConnectionProfile?: any)
seed
ArgumentTypeDescription
autoCommit?any
destinationConnectionProfile?any
sourceConnectionProfile?any
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
ArgumentTypeDescription
policy?any
updateMask?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any
conversionworkspaces_mappingrules.tsv2026.08.12.2

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
conditionalColumnSetValue?objectOptional. Custom engine specific features.
convertRowidColumn?objectRequired. Only work on tables without primary key defined
displayName?stringOptional. A human readable name
entityMove?objectRequired. The new schema
filter?objectOptional. The rule should be applied to specific entities defined by their fully qualified names.
filterTableColumns?objectOptional. List of columns to be excluded for a particular table.
multiColumnDataTypeChange?objectOptional. Custom engine specific features.
multiEntityRename?objectOptional. The pattern used to generate the new entity's name. This pattern must include the characters '{name}', which will be replaced with the name of the original entity. For example, the pattern 't_{name}' for an entity name jobs would be converted to 't_jobs'. If unspecified, the default value for this field is '{name}'
name?stringFull name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
ruleOrder?stringRequired. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
ruleScope?enumRequired. The rule scope
singleColumnChange?objectOptional. Is the column of array type.
singleEntityRename?objectRequired. The new name of the destination entity
singlePackageChange?objectOptional. Sql code for package body
sourceSqlChange?objectRequired. Sql code for source (stored procedure, function, trigger or view)
state?enumOptional. The mapping rule state
mappingRuleId?stringRequired. The ID of the rule to create.
requestId?stringOptional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a mappingRules
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a mappingRules
ArgumentTypeDescription
identifierstringThe name of the mappingRules
fn delete(identifier: string)
Delete the mappingRules
ArgumentTypeDescription
identifierstringThe name of the mappingRules
fn sync(identifier?: string)
Sync mappingRules state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific mappingRules by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List mappingRules resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of rules to return. The service may return fewer than this value.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn import(autoCommit?: any, rulesFiles?: any, rulesFormat?: any)
import
ArgumentTypeDescription
autoCommit?any
rulesFiles?any
rulesFormat?any
locations.tsv2026.09.07.1

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
namestringThe resource that owns the locations collection, if applicable.
fn get(identifier: string)
Get a locations
ArgumentTypeDescription
identifierstringThe name of the locations
fn sync(identifier?: string)
Sync locations state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific locations by name (e.g. one discovered by list)
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
ArgumentTypeDescription
extraLocationTypes?stringOptional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
filter?stringA filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
pageSize?numberThe maximum number of results to return. If not set, the service selects a default.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn fetch_static_ips(fetchReservedPublicIps?: any, pageSize?: any, pageToken?: any)
fetch static ips
ArgumentTypeDescription
fetchReservedPublicIps?any
pageSize?any
pageToken?any
migrationjobs.tsv2026.09.11.1

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
cmekKeyName?stringThe CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
conversionWorkspace?objectThe commit ID of the conversion workspace.
destination?stringRequired. The resource name (URI) of the destination connection profile.
destinationDatabase?objectThe database engine.
displayName?stringThe migration job display name.
dumpFlags?objectThe name of the flag
dumpPath?stringThe 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.
dumpType?enumOptional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only.
filter?stringThis field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
labels?recordThe resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
mysqlHomogeneousConfig?objectOptional. Whether the destination for the migration job is a primary instance.
name?stringThe name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
objectsConfig?objectOptional. The database name. This will be required only if the object uses a database name as part of its unique identifier.
oracleToPostgresConfig?objectRequired. Oracle directory for archived logs.
originalMigrationName?stringOptional. A failback replication pointer to the resource name (URI) of the original migration job.
performanceConfig?objectInitial dump parallelism level.
postgresHomogeneousConfig?objectRequired. Whether the migration is native logical.
postgresToSqlserverConfig?objectOptional. Whether to skip full dump or not.
reverseSshConnectivity?objectThe name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
source?stringRequired. The resource name (URI) of the source connection profile.
sourceDatabase?objectThe database engine.
sqlserverHomogeneousMigrationJobConfig?objectRequired. Pattern that describes the default backup naming strategy. The specified pattern should ensure lexicographical order of backups. The pattern must define one of the following capture group sets: Capture group set #1 yy/yyyy - year, 2 or 4 digits mm - month number, 1-12 dd - day of month, 1-31 hh - hour of day, 00-23 mi - minutes, 00-59 ss - seconds, 00-59 Example: For backup file TestDB_20230802_155400.trn, use pattern: (?.*)_backup_(?\\d{4})(?\\d{2})(?\\d{2})_(?\\d{2})(?\\d{2})(?\\d{2}).trn Capture group set #2 timestamp - unix timestamp Example: For backup file TestDB.1691448254.trn, use pattern: (?.*)\\.(?\\d*).trn or (?.*)\\.(?\\d*).trn
sqlserverToPostgresConfig?objectOptional. Maximum number of connections Database Migration Service will open to the destination for data migration.
state?enumThe current migration job state.
staticIpConnectivity?objectstatic ip connectivity data (default, no additional details needed).
type?enumRequired. The migration job type.
vpcPeeringConnectivity?objectThe name of the VPC network to peer with the Cloud SQL private network.
migrationJobId?stringRequired. The ID of the instance to create.
requestId?stringOptional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create(waitForReady?: boolean)
Create a migrationJobs
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a migrationJobs
ArgumentTypeDescription
identifierstringThe name of the migrationJobs
fn update(identifier?: string, waitForReady?: boolean)
Update migrationJobs attributes
ArgumentTypeDescription
identifier?stringTarget a specific migrationJobs by name (e.g. one discovered by list)
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
fn delete(identifier: string)
Delete the migrationJobs
ArgumentTypeDescription
identifierstringThe name of the migrationJobs
fn sync(identifier?: string)
Sync migrationJobs state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific migrationJobs by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List migrationJobs resources
ArgumentTypeDescription
filter?stringOptional. A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration jobs connecting through the specific SSH tunnel bastion.
orderBy?stringOptional. Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc".
pageSize?numberOptional. The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is 1000; values above 1000 are coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn demote_destination()
demote destination
fn fetch_source_objects()
fetch source objects
fn generate_ssh_script(vm?: any, vmCreationConfig?: any, vmPort?: any, vmSelectionConfig?: any)
generate ssh script
ArgumentTypeDescription
vm?any
vmCreationConfig?any
vmPort?any
vmSelectionConfig?any
fn generate_tcp_proxy_script(vmMachineType?: any, vmName?: any, vmSubnet?: any, vmZone?: any)
generate tcp proxy script
ArgumentTypeDescription
vmMachineType?any
vmName?any
vmSubnet?any
vmZone?any
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
ArgumentTypeDescription
options_requestedPolicyVersion?any
fn promote(objectsFilter?: any)
promote
ArgumentTypeDescription
objectsFilter?any
fn restart(objectsFilter?: any, restartFailedObjects?: any, skipValidation?: any)
restart
ArgumentTypeDescription
objectsFilter?any
restartFailedObjects?any
skipValidation?any
fn resume(skipValidation?: any)
resume
ArgumentTypeDescription
skipValidation?any
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
ArgumentTypeDescription
policy?any
updateMask?any
fn start(objectsFilter?: any, restartFailedObjects?: any, skipValidation?: any)
start
ArgumentTypeDescription
objectsFilter?any
restartFailedObjects?any
skipValidation?any
fn stop()
stop
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any
fn verify(migrationJob?: any, updateMask?: any)
verify
ArgumentTypeDescription
migrationJob?any
updateMask?any
migrationjobs_objects.tsv2026.09.07.2

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a objects
ArgumentTypeDescription
identifierstringThe name of the objects
fn sync(identifier?: string)
Sync objects state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific objects by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List objects resources
ArgumentTypeDescription
pageSize?numberOptional. Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
ArgumentTypeDescription
options_requestedPolicyVersion?any
fn lookup(sourceObjectIdentifier?: any)
lookup
ArgumentTypeDescription
sourceObjectIdentifier?any
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
ArgumentTypeDescription
policy?any
updateMask?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any
privateconnections.tsv2026.09.07.2

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
displayName?stringThe private connection display name.
labels?recordThe resource labels for private connections to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
name?stringThe name of the resource.
pscInterfaceConfig?objectRequired. Fully qualified name of the Network Attachment that DMS will connect to. Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}`
reservedPublicIpConfig?objectOutput only. The reserved public IPs.
vpcPeeringConfig?objectRequired. A free subnet for peering. (CIDR of /29)
privateConnectionId?stringRequired. The private connection identifier.
requestId?stringOptional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
skipValidation?stringOptional. If set to true, will skip validations.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn create()
Create a privateConnections
fn get(identifier: string)
Get a privateConnections
ArgumentTypeDescription
identifierstringThe name of the privateConnections
fn delete(identifier: string)
Delete the privateConnections
ArgumentTypeDescription
identifierstringThe name of the privateConnections
fn sync(identifier?: string)
Sync privateConnections state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific privateConnections by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List privateConnections resources
ArgumentTypeDescription
filter?stringOptional. A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list private connections created this year by specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.
orderBy?stringOptional. Order by fields for the result.
pageSize?numberOptional. Maximum number of private connections to return. If unspecified, at most 50 private connections that are returned. The maximum value is 1000; values above 1000 are coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
ArgumentTypeDescription
options_requestedPolicyVersion?any
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
ArgumentTypeDescription
policy?any
updateMask?any
fn test_iam_permissions(permissions?: any)
test iam permissions
ArgumentTypeDescription
permissions?any
04Previous Versions19
2026.09.07.2
  • Updated: connectionprofiles, conversionworkspaces, migrationjobs, migrationjobs_objects, privateconnections
2026.08.15.1
  • Updated: locations, privateconnections
2026.08.14.1
  • Updated: locations, privateconnections
2026.08.12.2
  • Updated: locations, connectionprofiles, conversionworkspaces, conversionworkspaces_mappingrules, migrationjobs, migrationjobs_objects, privateconnections
2026.08.03.1
  • Updated: conversionworkspaces_mappingrules
2026.08.02.1
  • Updated: conversionworkspaces_mappingrules
2026.07.29.1
  • Updated: locations, connectionprofiles, conversionworkspaces, conversionworkspaces_mappingrules, migrationjobs, migrationjobs_objects, privateconnections
2026.07.25.1
  • Updated: conversionworkspaces_mappingrules
2026.07.21.4
  • Updated: locations, migrationjobs
2026.07.21.1
  • Updated: connectionprofiles, conversionworkspaces, conversionworkspaces_mappingrules, migrationjobs, privateconnections
2026.07.20.2
  • Updated: locations, migrationjobs
2026.07.20.1
  • Updated: locations, connectionprofiles, conversionworkspaces, conversionworkspaces_mappingrules, migrationjobs, migrationjobs_objects, privateconnections
2026.07.19.2
  • Updated: locations
2026.07.19.1
  • Updated: locations, connectionprofiles, conversionworkspaces, conversionworkspaces_mappingrules, migrationjobs, migrationjobs_objects, privateconnections
2026.07.18.2
  • Updated: locations, connectionprofiles, conversionworkspaces, conversionworkspaces_mappingrules, migrationjobs, migrationjobs_objects, privateconnections
2026.07.17.2
  • Updated: connectionprofiles, conversionworkspaces, conversionworkspaces_mappingrules, migrationjobs, privateconnections
2026.07.17.1
  • Updated: connectionprofiles, conversionworkspaces, conversionworkspaces_mappingrules, migrationjobs, migrationjobs_objects, privateconnections
2026.06.24.1
  • Updated: migrationjobs
2026.06.08.2
  • Updated: locations, connectionprofiles, conversionworkspaces, conversionworkspaces_mappingrules, migrationjobs, migrationjobs_objects, privateconnections
05Stats
A
100 / 100
Downloads
0
Archive size
164.6 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels