Gcp/datamigration
@swamp/gcp/datamigrationv2026.09.11.1
01README
Google Cloud datamigration infrastructure models
02Release Notes
- Updated: connectionprofiles, migrationjobs
03Models
connectionprofiles.tsv2026.09.11.1
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| alloydb? | object | Required. The AlloyDB cluster ID that this connection profile is associated with. |
| cloudsql? | object | Output 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? | string | The connection profile display name. |
| labels? | record | The 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? | object | If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. |
| name? | string | The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. |
| oracle? | object | Required. Database service for the Oracle connection. |
| postgresql? | object | Optional. If the destination is an AlloyDB database, use this field to provide the AlloyDB cluster ID. |
| provider? | enum | The database provider. |
| role? | enum | Optional. The connection profile role. |
| sqlserver? | object | Required. The Cloud Storage bucket that stores backups for all replicated databases. |
| state? | enum | The current connection profile state (e.g. DRAFT, READY, or FAILED). |
| connectionProfileId? | string | Required. The connection profile identifier. |
| requestId? | string | Optional. 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? | string | Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create(waitForReady?: boolean)
Create a connectionProfiles
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a connectionProfiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the connectionProfiles |
fn update(identifier?: string, waitForReady?: boolean)
Update connectionProfiles attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific connectionProfiles by name (e.g. one discovered by list) |
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
fn delete(identifier: string)
Delete the connectionProfiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the connectionProfiles |
fn sync(identifier?: string)
Sync connectionProfiles state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific connectionProfiles by name (e.g. one discovered by list) |
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List connectionProfiles resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. 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? | string | Optional. A comma-separated list of fields to order results according to. |
| pageSize? | number | The 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? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
| Argument | Type | Description |
|---|---|---|
| options_requestedPolicyVersion? | any |
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
conversionworkspaces.tsv2026.09.07.2
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| destination? | object | Required. Engine type. |
| destinationProvider? | enum | Optional. The provider for the destination database. |
| displayName? | string | Optional. The display name for the workspace. |
| globalSettings? | record | Optional. 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? | string | Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
| source? | object | Required. Engine type. |
| sourceProvider? | enum | Optional. The provider for the source database. |
| conversionWorkspaceId? | string | Required. The ID of the conversion workspace to create. |
| requestId? | string | Optional. 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? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a conversionWorkspaces
fn get(identifier: string)
Get a conversionWorkspaces
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the conversionWorkspaces |
fn update(identifier?: string)
Update conversionWorkspaces attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific conversionWorkspaces by name (e.g. one discovered by list) |
fn delete(identifier: string)
Delete the conversionWorkspaces
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the conversionWorkspaces |
fn sync(identifier?: string)
Sync conversionWorkspaces state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific conversionWorkspaces by name (e.g. one discovered by list) |
fn list(filter?: string, pageSize?: number, maxPages?: number)
List conversionWorkspaces resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. 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? | number | Optional. 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? | number | Maximum number of pages to fetch (default: 10) |
fn apply(autoCommit?: any, connectionProfile?: any, dryRun?: any, filter?: any)
apply
| Argument | Type | Description |
|---|---|---|
| autoCommit? | any | |
| connectionProfile? | any | |
| dryRun? | any | |
| filter? | any |
fn commit(commitName?: any)
commit
| Argument | Type | Description |
|---|---|---|
| commitName? | any |
fn convert(autoCommit?: any, convertFullPath?: any, filter?: any)
convert
| Argument | Type | Description |
|---|---|---|
| autoCommit? | any | |
| convertFullPath? | any | |
| filter? | any |
fn describe_conversion_workspace_revisions(commitId?: any)
describe conversion workspace revisions
| Argument | Type | Description |
|---|---|---|
| commitId? | any |
fn describe_database_entities(commitId?: any, filter?: any, pageSize?: any, pageToken?: any, tree?: any, uncommitted?: any, view?: any)
describe database entities
| Argument | Type | Description |
|---|---|---|
| commitId? | any | |
| filter? | any | |
| pageSize? | any | |
| pageToken? | any | |
| tree? | any | |
| uncommitted? | any | |
| view? | any |
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
| Argument | Type | Description |
|---|---|---|
| options_requestedPolicyVersion? | any |
fn rollback()
rollback
fn search_background_jobs(completedUntilTime?: any, maxSize?: any, returnMostRecentPerJobType?: any)
search background jobs
| Argument | Type | Description |
|---|---|---|
| completedUntilTime? | any | |
| maxSize? | any | |
| returnMostRecentPerJobType? | any |
fn seed(autoCommit?: any, destinationConnectionProfile?: any, sourceConnectionProfile?: any)
seed
| Argument | Type | Description |
|---|---|---|
| autoCommit? | any | |
| destinationConnectionProfile? | any | |
| sourceConnectionProfile? | any |
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
conversionworkspaces_mappingrules.tsv2026.08.12.2
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| conditionalColumnSetValue? | object | Optional. Custom engine specific features. |
| convertRowidColumn? | object | Required. Only work on tables without primary key defined |
| displayName? | string | Optional. A human readable name |
| entityMove? | object | Required. The new schema |
| filter? | object | Optional. The rule should be applied to specific entities defined by their fully qualified names. |
| filterTableColumns? | object | Optional. List of columns to be excluded for a particular table. |
| multiColumnDataTypeChange? | object | Optional. Custom engine specific features. |
| multiEntityRename? | object | Optional. 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? | string | Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}. |
| ruleOrder? | string | Required. 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? | enum | Required. The rule scope |
| singleColumnChange? | object | Optional. Is the column of array type. |
| singleEntityRename? | object | Required. The new name of the destination entity |
| singlePackageChange? | object | Optional. Sql code for package body |
| sourceSqlChange? | object | Required. Sql code for source (stored procedure, function, trigger or view) |
| state? | enum | Optional. The mapping rule state |
| mappingRuleId? | string | Required. The ID of the rule to create. |
| requestId? | string | Optional. 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? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create(waitForReady?: boolean)
Create a mappingRules
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a mappingRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the mappingRules |
fn delete(identifier: string)
Delete the mappingRules
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the mappingRules |
fn sync(identifier?: string)
Sync mappingRules state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific mappingRules by name (e.g. one discovered by list) |
fn list(pageSize?: number, maxPages?: number)
List mappingRules resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. The maximum number of rules to return. The service may return fewer than this value. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn import(autoCommit?: any, rulesFiles?: any, rulesFormat?: any)
import
| Argument | Type | Description |
|---|---|---|
| autoCommit? | any | |
| rulesFiles? | any | |
| rulesFormat? | any |
locations.tsv2026.09.07.1
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| name | string | The resource that owns the locations collection, if applicable. |
fn get(identifier: string)
Get a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the locations |
fn sync(identifier?: string)
Sync locations state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific locations by name (e.g. one discovered by list) |
fn list(extraLocationTypes?: string, filter?: string, pageSize?: number, maxPages?: number)
List locations resources
| Argument | Type | Description |
|---|---|---|
| extraLocationTypes? | string | Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. |
| filter? | string | A 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? | number | The maximum number of results to return. If not set, the service selects a default. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn fetch_static_ips(fetchReservedPublicIps?: any, pageSize?: any, pageToken?: any)
fetch static ips
| Argument | Type | Description |
|---|---|---|
| fetchReservedPublicIps? | any | |
| pageSize? | any | |
| pageToken? | any |
migrationjobs.tsv2026.09.11.1
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| cmekKeyName? | string | The 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? | object | The commit ID of the conversion workspace. |
| destination? | string | Required. The resource name (URI) of the destination connection profile. |
| destinationDatabase? | object | The database engine. |
| displayName? | string | The migration job display name. |
| dumpFlags? | object | The name of the flag |
| dumpPath? | string | 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. |
| dumpType? | enum | Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only. |
| filter? | string | This 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? | record | The 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? | object | Optional. Whether the destination for the migration job is a primary instance. |
| name? | string | The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. |
| objectsConfig? | object | Optional. The database name. This will be required only if the object uses a database name as part of its unique identifier. |
| oracleToPostgresConfig? | object | Required. Oracle directory for archived logs. |
| originalMigrationName? | string | Optional. A failback replication pointer to the resource name (URI) of the original migration job. |
| performanceConfig? | object | Initial dump parallelism level. |
| postgresHomogeneousConfig? | object | Required. Whether the migration is native logical. |
| postgresToSqlserverConfig? | object | Optional. Whether to skip full dump or not. |
| reverseSshConnectivity? | object | The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. |
| source? | string | Required. The resource name (URI) of the source connection profile. |
| sourceDatabase? | object | The database engine. |
| sqlserverHomogeneousMigrationJobConfig? | object | Required. 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? | object | Optional. Maximum number of connections Database Migration Service will open to the destination for data migration. |
| state? | enum | The current migration job state. |
| staticIpConnectivity? | object | static ip connectivity data (default, no additional details needed). |
| type? | enum | Required. The migration job type. |
| vpcPeeringConnectivity? | object | The name of the VPC network to peer with the Cloud SQL private network. |
| migrationJobId? | string | Required. The ID of the instance to create. |
| requestId? | string | Optional. 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? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create(waitForReady?: boolean)
Create a migrationJobs
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a migrationJobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the migrationJobs |
fn update(identifier?: string, waitForReady?: boolean)
Update migrationJobs attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific migrationJobs by name (e.g. one discovered by list) |
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
fn delete(identifier: string)
Delete the migrationJobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the migrationJobs |
fn sync(identifier?: string)
Sync migrationJobs state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific migrationJobs by name (e.g. one discovered by list) |
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List migrationJobs resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. 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? | string | Optional. Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc". |
| pageSize? | number | Optional. 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? | number | Maximum 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
| Argument | Type | Description |
|---|---|---|
| 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
| Argument | Type | Description |
|---|---|---|
| vmMachineType? | any | |
| vmName? | any | |
| vmSubnet? | any | |
| vmZone? | any |
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
| Argument | Type | Description |
|---|---|---|
| options_requestedPolicyVersion? | any |
fn promote(objectsFilter?: any)
promote
| Argument | Type | Description |
|---|---|---|
| objectsFilter? | any |
fn restart(objectsFilter?: any, restartFailedObjects?: any, skipValidation?: any)
restart
| Argument | Type | Description |
|---|---|---|
| objectsFilter? | any | |
| restartFailedObjects? | any | |
| skipValidation? | any |
fn resume(skipValidation?: any)
resume
| Argument | Type | Description |
|---|---|---|
| skipValidation? | any |
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn start(objectsFilter?: any, restartFailedObjects?: any, skipValidation?: any)
start
| Argument | Type | Description |
|---|---|---|
| objectsFilter? | any | |
| restartFailedObjects? | any | |
| skipValidation? | any |
fn stop()
stop
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
fn verify(migrationJob?: any, updateMask?: any)
verify
| Argument | Type | Description |
|---|---|---|
| migrationJob? | any | |
| updateMask? | any |
migrationjobs_objects.tsv2026.09.07.2
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn get(identifier: string)
Get a objects
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the objects |
fn sync(identifier?: string)
Sync objects state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific objects by name (e.g. one discovered by list) |
fn list(pageSize?: number, maxPages?: number)
List objects resources
| Argument | Type | Description |
|---|---|---|
| pageSize? | number | Optional. Maximum number of objects to return. Default is 50. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
| Argument | Type | Description |
|---|---|---|
| options_requestedPolicyVersion? | any |
fn lookup(sourceObjectIdentifier?: any)
lookup
| Argument | Type | Description |
|---|---|---|
| sourceObjectIdentifier? | any |
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
privateconnections.tsv2026.09.07.2
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| displayName? | string | The private connection display name. |
| labels? | record | The 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? | string | The name of the resource. |
| pscInterfaceConfig? | object | Required. Fully qualified name of the Network Attachment that DMS will connect to. Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}` |
| reservedPublicIpConfig? | object | Output only. The reserved public IPs. |
| vpcPeeringConfig? | object | Required. A free subnet for peering. (CIDR of /29) |
| privateConnectionId? | string | Required. The private connection identifier. |
| requestId? | string | Optional. 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? | string | Optional. If set to true, will skip validations. |
| location? | string | The location for this resource (e.g., 'us', 'us-central1', 'europe-west1') |
fn create()
Create a privateConnections
fn get(identifier: string)
Get a privateConnections
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the privateConnections |
fn delete(identifier: string)
Delete the privateConnections
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the privateConnections |
fn sync(identifier?: string)
Sync privateConnections state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific privateConnections by name (e.g. one discovered by list) |
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List privateConnections resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | Optional. 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? | string | Optional. Order by fields for the result. |
| pageSize? | number | Optional. 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? | number | Maximum number of pages to fetch (default: 10) |
fn get_iam_policy(options_requestedPolicyVersion?: any)
get iam policy
| Argument | Type | Description |
|---|---|---|
| options_requestedPolicyVersion? | any |
fn set_iam_policy(policy?: any, updateMask?: any)
set iam policy
| Argument | Type | Description |
|---|---|---|
| policy? | any | |
| updateMask? | any |
fn test_iam_permissions(permissions?: any)
test iam permissions
| Argument | Type | Description |
|---|---|---|
| permissions? | any |
04Previous Versions
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