@maxim_mazurok/gapi.client.datamigration-v1 0.0.20240917 → 0.0.20240930

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +43 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://datamigration.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240917
12
+ // Revision: 20240930
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -111,6 +111,12 @@ declare namespace gapi.client {
111
111
  /** The timestamp when the background job was started. */
112
112
  startTime?: string;
113
113
  }
114
+ interface BinaryLogParser {
115
+ /** Use Oracle directories. */
116
+ logFileDirectories?: LogFileDirectories;
117
+ /** Use Oracle ASM. */
118
+ oracleAsmLogFileAccess?: any;
119
+ }
114
120
  interface Binding {
115
121
  /** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
116
122
  condition?: Expr;
@@ -642,6 +648,13 @@ declare namespace gapi.client {
642
648
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
643
649
  name?: string;
644
650
  }
651
+ interface LogFileDirectories {
652
+ /** Required. Oracle directory for archived logs. */
653
+ archivedLogDirectory?: string;
654
+ /** Required. Oracle directory for online logs. */
655
+ onlineLogDirectory?: string;
656
+ }
657
+ interface LogMiner {}
645
658
  interface MachineConfig {
646
659
  /** The number of CPU's in the VM instance. */
647
660
  cpuCount?: number;
@@ -735,6 +748,8 @@ declare namespace gapi.client {
735
748
  labels?: {[P in string]: string};
736
749
  /** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
737
750
  name?: string;
751
+ /** Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB for PostgreSQL** migrations. */
752
+ oracleToPostgresConfig?: OracleToPostgresConfig;
738
753
  /** Optional. Data dump parallelism settings used by the migration. */
739
754
  performanceConfig?: PerformanceConfig;
740
755
  /** Output only. The current migration job phase. */
@@ -836,6 +851,7 @@ declare namespace gapi.client {
836
851
  /** Required. Username for the Oracle ASM connection. */
837
852
  username?: string;
838
853
  }
854
+ interface OracleAsmLogFileAccess {}
839
855
  interface OracleConnectionProfile {
840
856
  /** Required. Database service for the Oracle connection. */
841
857
  databaseService?: string;
@@ -860,6 +876,26 @@ declare namespace gapi.client {
860
876
  /** Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service. */
861
877
  username?: string;
862
878
  }
879
+ interface OracleSourceConfig {
880
+ /** Use Binary Log Parser. */
881
+ binaryLogParser?: BinaryLogParser;
882
+ /** Optional. The schema change number (SCN) to start CDC data migration from. */
883
+ cdcStartPosition?: string;
884
+ /** Use LogMiner. */
885
+ logMiner?: any;
886
+ /** Optional. Maximum number of connections Database Migration Service will open to the source for CDC phase. */
887
+ maxConcurrentCdcConnections?: number;
888
+ /** Optional. Maximum number of connections Database Migration Service will open to the source for full dump phase. */
889
+ maxConcurrentFullDumpConnections?: number;
890
+ /** Optional. Whether to skip full dump or not. */
891
+ skipFullDump?: boolean;
892
+ }
893
+ interface OracleToPostgresConfig {
894
+ /** Optional. Configuration for Oracle source. */
895
+ oracleSourceConfig?: OracleSourceConfig;
896
+ /** Optional. Configuration for Postgres destination. */
897
+ postgresDestinationConfig?: PostgresDestinationConfig;
898
+ }
863
899
  interface PackageEntity {
864
900
  /** Custom engine specific features. */
865
901
  customFeatures?: {[P in string]: any};
@@ -892,6 +928,12 @@ declare namespace gapi.client {
892
928
  /** Issue offset */
893
929
  offset?: number;
894
930
  }
931
+ interface PostgresDestinationConfig {
932
+ /** Optional. Maximum number of connections Database Migration Service will open to the destination for data migration. */
933
+ maxConcurrentConnections?: number;
934
+ /** Optional. Timeout for data migration transactions. */
935
+ transactionTimeout?: string;
936
+ }
895
937
  interface PostgreSqlConnectionProfile {
896
938
  /** Optional. If the destination is an AlloyDB database, use this field to provide the AlloyDB cluster ID. */
897
939
  alloydbClusterId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datamigration-v1",
3
- "version": "0.0.20240917",
3
+ "version": "0.0.20240930",
4
4
  "description": "TypeScript typings for Database Migration API v1",
5
5
  "repository": {
6
6
  "type": "git",