Skip to content

Commit

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

The following keys were added:
- schemas.ConnectionProfile.properties.sqlserver.$ref (Total Keys: 1)
- schemas.MigrationJob.properties.sqlserverHomogeneousMigrationJobConfig.$ref (Total Keys: 1)
- schemas.SqlServerBackups (Total Keys: 4)
- schemas.SqlServerConnectionProfile (Total Keys: 16)
- schemas.SqlServerDatabaseBackup (Total Keys: 4)
- schemas.SqlServerEncryptionOptions (Total Keys: 5)
- schemas.SqlServerHomogeneousMigrationJobConfig (Total Keys: 5)
  • Loading branch information
yoshi-automation committed Mar 19, 2024
1 parent 85f625e commit 2e6f805
Show file tree
Hide file tree
Showing 4 changed files with 349 additions and 14 deletions.
132 changes: 132 additions & 0 deletions docs/dyn/datamigration_v1.projects.locations.connectionProfiles.html
Expand Up @@ -275,6 +275,39 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
},
&quot;provider&quot;: &quot;A String&quot;, # The database provider.
&quot;sqlserver&quot;: { # Specifies connection parameters required specifically for SQL Server databases. # Connection profile for a SQL Server data source.
&quot;backups&quot;: { # Specifies the backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server. # The backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server.
&quot;gcsBucket&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket that stores backups for all replicated databases.
&quot;gcsPrefix&quot;: &quot;A String&quot;, # Optional. Cloud Storage path inside the bucket that stores backups.
},
&quot;cloudSqlId&quot;: &quot;A String&quot;, # If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
&quot;forwardSshConnectivity&quot;: { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity.
&quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SSH tunnel.
&quot;password&quot;: &quot;A String&quot;, # Input only. SSH password.
&quot;port&quot;: 42, # Port for the SSH tunnel, default value is 22.
&quot;privateKey&quot;: &quot;A String&quot;, # Input only. SSH private key.
&quot;username&quot;: &quot;A String&quot;, # Required. Username for the SSH tunnel.
},
&quot;host&quot;: &quot;A String&quot;, # Required. The IP or hostname of the source SQL Server database.
&quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
&quot;passwordSet&quot;: True or False, # Output only. Indicates whether a new password is included in the request.
&quot;port&quot;: 42, # Required. The network port of the source SQL Server database.
&quot;privateConnectivity&quot;: { # Private Connectivity. # Private connectivity.
&quot;privateConnection&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the private connection.
},
&quot;privateServiceConnectConnectivity&quot;: { # [Private Service Connect connectivity](https://cloud.google.com/vpc/docs/private-service-connect#service-attachments) # Private Service Connect connectivity.
&quot;serviceAttachment&quot;: &quot;A String&quot;, # Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
},
&quot;ssl&quot;: { # SSL configuration information. # SSL configuration for the destination to connect to the source database.
&quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate. The replica will use this certificate to verify it&#x27;s connecting to the right host.
&quot;clientCertificate&quot;: &quot;A String&quot;, # Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the &#x27;client_key&#x27; field is mandatory.
&quot;clientKey&quot;: &quot;A String&quot;, # Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; field is mandatory.
&quot;type&quot;: &quot;A String&quot;, # Output only. The ssl config type according to &#x27;client_key&#x27;, &#x27;client_certificate&#x27; and &#x27;ca_certificate&#x27;.
},
&quot;staticIpConnectivity&quot;: { # The source database will allow incoming connections from the public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required. # Static IP connectivity data (default, no additional details needed).
},
&quot;username&quot;: &quot;A String&quot;, # Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
},
&quot;state&quot;: &quot;A String&quot;, # The current connection profile state (e.g. DRAFT, READY, or FAILED).
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC &quot;Zulu&quot; format, accurate to nanoseconds. Example: &quot;2014-10-02T15:01:23.045123456Z&quot;.
}
Expand Down Expand Up @@ -519,6 +552,39 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
},
&quot;provider&quot;: &quot;A String&quot;, # The database provider.
&quot;sqlserver&quot;: { # Specifies connection parameters required specifically for SQL Server databases. # Connection profile for a SQL Server data source.
&quot;backups&quot;: { # Specifies the backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server. # The backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server.
&quot;gcsBucket&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket that stores backups for all replicated databases.
&quot;gcsPrefix&quot;: &quot;A String&quot;, # Optional. Cloud Storage path inside the bucket that stores backups.
},
&quot;cloudSqlId&quot;: &quot;A String&quot;, # If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
&quot;forwardSshConnectivity&quot;: { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity.
&quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SSH tunnel.
&quot;password&quot;: &quot;A String&quot;, # Input only. SSH password.
&quot;port&quot;: 42, # Port for the SSH tunnel, default value is 22.
&quot;privateKey&quot;: &quot;A String&quot;, # Input only. SSH private key.
&quot;username&quot;: &quot;A String&quot;, # Required. Username for the SSH tunnel.
},
&quot;host&quot;: &quot;A String&quot;, # Required. The IP or hostname of the source SQL Server database.
&quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
&quot;passwordSet&quot;: True or False, # Output only. Indicates whether a new password is included in the request.
&quot;port&quot;: 42, # Required. The network port of the source SQL Server database.
&quot;privateConnectivity&quot;: { # Private Connectivity. # Private connectivity.
&quot;privateConnection&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the private connection.
},
&quot;privateServiceConnectConnectivity&quot;: { # [Private Service Connect connectivity](https://cloud.google.com/vpc/docs/private-service-connect#service-attachments) # Private Service Connect connectivity.
&quot;serviceAttachment&quot;: &quot;A String&quot;, # Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
},
&quot;ssl&quot;: { # SSL configuration information. # SSL configuration for the destination to connect to the source database.
&quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate. The replica will use this certificate to verify it&#x27;s connecting to the right host.
&quot;clientCertificate&quot;: &quot;A String&quot;, # Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the &#x27;client_key&#x27; field is mandatory.
&quot;clientKey&quot;: &quot;A String&quot;, # Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; field is mandatory.
&quot;type&quot;: &quot;A String&quot;, # Output only. The ssl config type according to &#x27;client_key&#x27;, &#x27;client_certificate&#x27; and &#x27;ca_certificate&#x27;.
},
&quot;staticIpConnectivity&quot;: { # The source database will allow incoming connections from the public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required. # Static IP connectivity data (default, no additional details needed).
},
&quot;username&quot;: &quot;A String&quot;, # Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
},
&quot;state&quot;: &quot;A String&quot;, # The current connection profile state (e.g. DRAFT, READY, or FAILED).
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC &quot;Zulu&quot; format, accurate to nanoseconds. Example: &quot;2014-10-02T15:01:23.045123456Z&quot;.
}</pre>
Expand Down Expand Up @@ -748,6 +814,39 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
},
&quot;provider&quot;: &quot;A String&quot;, # The database provider.
&quot;sqlserver&quot;: { # Specifies connection parameters required specifically for SQL Server databases. # Connection profile for a SQL Server data source.
&quot;backups&quot;: { # Specifies the backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server. # The backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server.
&quot;gcsBucket&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket that stores backups for all replicated databases.
&quot;gcsPrefix&quot;: &quot;A String&quot;, # Optional. Cloud Storage path inside the bucket that stores backups.
},
&quot;cloudSqlId&quot;: &quot;A String&quot;, # If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
&quot;forwardSshConnectivity&quot;: { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity.
&quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SSH tunnel.
&quot;password&quot;: &quot;A String&quot;, # Input only. SSH password.
&quot;port&quot;: 42, # Port for the SSH tunnel, default value is 22.
&quot;privateKey&quot;: &quot;A String&quot;, # Input only. SSH private key.
&quot;username&quot;: &quot;A String&quot;, # Required. Username for the SSH tunnel.
},
&quot;host&quot;: &quot;A String&quot;, # Required. The IP or hostname of the source SQL Server database.
&quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
&quot;passwordSet&quot;: True or False, # Output only. Indicates whether a new password is included in the request.
&quot;port&quot;: 42, # Required. The network port of the source SQL Server database.
&quot;privateConnectivity&quot;: { # Private Connectivity. # Private connectivity.
&quot;privateConnection&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the private connection.
},
&quot;privateServiceConnectConnectivity&quot;: { # [Private Service Connect connectivity](https://cloud.google.com/vpc/docs/private-service-connect#service-attachments) # Private Service Connect connectivity.
&quot;serviceAttachment&quot;: &quot;A String&quot;, # Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
},
&quot;ssl&quot;: { # SSL configuration information. # SSL configuration for the destination to connect to the source database.
&quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate. The replica will use this certificate to verify it&#x27;s connecting to the right host.
&quot;clientCertificate&quot;: &quot;A String&quot;, # Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the &#x27;client_key&#x27; field is mandatory.
&quot;clientKey&quot;: &quot;A String&quot;, # Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; field is mandatory.
&quot;type&quot;: &quot;A String&quot;, # Output only. The ssl config type according to &#x27;client_key&#x27;, &#x27;client_certificate&#x27; and &#x27;ca_certificate&#x27;.
},
&quot;staticIpConnectivity&quot;: { # The source database will allow incoming connections from the public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required. # Static IP connectivity data (default, no additional details needed).
},
&quot;username&quot;: &quot;A String&quot;, # Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
},
&quot;state&quot;: &quot;A String&quot;, # The current connection profile state (e.g. DRAFT, READY, or FAILED).
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC &quot;Zulu&quot; format, accurate to nanoseconds. Example: &quot;2014-10-02T15:01:23.045123456Z&quot;.
},
Expand Down Expand Up @@ -938,6 +1037,39 @@ <h3>Method Details</h3>
&quot;username&quot;: &quot;A String&quot;, # Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
},
&quot;provider&quot;: &quot;A String&quot;, # The database provider.
&quot;sqlserver&quot;: { # Specifies connection parameters required specifically for SQL Server databases. # Connection profile for a SQL Server data source.
&quot;backups&quot;: { # Specifies the backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server. # The backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server.
&quot;gcsBucket&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket that stores backups for all replicated databases.
&quot;gcsPrefix&quot;: &quot;A String&quot;, # Optional. Cloud Storage path inside the bucket that stores backups.
},
&quot;cloudSqlId&quot;: &quot;A String&quot;, # If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
&quot;forwardSshConnectivity&quot;: { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity.
&quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SSH tunnel.
&quot;password&quot;: &quot;A String&quot;, # Input only. SSH password.
&quot;port&quot;: 42, # Port for the SSH tunnel, default value is 22.
&quot;privateKey&quot;: &quot;A String&quot;, # Input only. SSH private key.
&quot;username&quot;: &quot;A String&quot;, # Required. Username for the SSH tunnel.
},
&quot;host&quot;: &quot;A String&quot;, # Required. The IP or hostname of the source SQL Server database.
&quot;password&quot;: &quot;A String&quot;, # Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
&quot;passwordSet&quot;: True or False, # Output only. Indicates whether a new password is included in the request.
&quot;port&quot;: 42, # Required. The network port of the source SQL Server database.
&quot;privateConnectivity&quot;: { # Private Connectivity. # Private connectivity.
&quot;privateConnection&quot;: &quot;A String&quot;, # Required. The resource name (URI) of the private connection.
},
&quot;privateServiceConnectConnectivity&quot;: { # [Private Service Connect connectivity](https://cloud.google.com/vpc/docs/private-service-connect#service-attachments) # Private Service Connect connectivity.
&quot;serviceAttachment&quot;: &quot;A String&quot;, # Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
},
&quot;ssl&quot;: { # SSL configuration information. # SSL configuration for the destination to connect to the source database.
&quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate. The replica will use this certificate to verify it&#x27;s connecting to the right host.
&quot;clientCertificate&quot;: &quot;A String&quot;, # Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the &#x27;client_key&#x27; field is mandatory.
&quot;clientKey&quot;: &quot;A String&quot;, # Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; field is mandatory.
&quot;type&quot;: &quot;A String&quot;, # Output only. The ssl config type according to &#x27;client_key&#x27;, &#x27;client_certificate&#x27; and &#x27;ca_certificate&#x27;.
},
&quot;staticIpConnectivity&quot;: { # The source database will allow incoming connections from the public IP of the destination database. You can retrieve the public IP of the Cloud SQL instance from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required. # Static IP connectivity data (default, no additional details needed).
},
&quot;username&quot;: &quot;A String&quot;, # Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
},
&quot;state&quot;: &quot;A String&quot;, # The current connection profile state (e.g. DRAFT, READY, or FAILED).
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC &quot;Zulu&quot; format, accurate to nanoseconds. Example: &quot;2014-10-02T15:01:23.045123456Z&quot;.
}
Expand Down

0 comments on commit 2e6f805

Please sign in to comment.