@maxim_mazurok/gapi.client.datamigration-v1 0.0.20221018 → 0.0.20221108

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 (3) hide show
  1. package/index.d.ts +16 -1
  2. package/package.json +1 -1
  3. package/tests.ts +7 -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: 20221018
12
+ // Revision: 20221108
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -86,6 +86,11 @@ declare namespace gapi.client {
86
86
  interface CancelOperationRequest {
87
87
  }
88
88
  interface CloudSqlConnectionProfile {
89
+ /**
90
+ * 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
91
+ * available).
92
+ */
93
+ additionalPublicIp?: string;
89
94
  /** Output only. The Cloud SQL instance ID that this connection profile is associated with. */
90
95
  cloudSqlId?: string;
91
96
  /** Output only. The Cloud SQL database instance's private IP. */
@@ -106,6 +111,11 @@ declare namespace gapi.client {
106
111
  * adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
107
112
  */
108
113
  autoStorageIncrease?: boolean;
114
+ /**
115
+ * Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can
116
+ * serve data from more than one zone in a region (it is highly available).
117
+ */
118
+ availabilityType?: string;
109
119
  /** The KMS key name used for the csql instance. */
110
120
  cmekKeyName?: string;
111
121
  /** The Cloud SQL default instance level collation. */
@@ -124,6 +134,11 @@ declare namespace gapi.client {
124
134
  rootPassword?: string;
125
135
  /** Output only. Indicates If this connection profile root password is stored. */
126
136
  rootPasswordSet?: boolean;
137
+ /**
138
+ * Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple
139
+ * zones / highly available).
140
+ */
141
+ secondaryZone?: string;
127
142
  /** The Database Migration Service source connection profile ID, in the format: `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID` */
128
143
  sourceId?: string;
129
144
  /** The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datamigration-v1",
3
- "version": "0.0.20221018",
3
+ "version": "0.0.20221108",
4
4
  "description": "TypeScript typings for Database Migration API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20221018
6
+ // Revision: 20221108
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -74,12 +74,14 @@ gapi.load('client', async () => {
74
74
  },
75
75
  },
76
76
  cloudsql: {
77
+ additionalPublicIp: "Test string",
77
78
  cloudSqlId: "Test string",
78
79
  privateIp: "Test string",
79
80
  publicIp: "Test string",
80
81
  settings: {
81
82
  activationPolicy: "Test string",
82
83
  autoStorageIncrease: true,
84
+ availabilityType: "Test string",
83
85
  cmekKeyName: "Test string",
84
86
  collation: "Test string",
85
87
  databaseFlags: {
@@ -103,6 +105,7 @@ gapi.load('client', async () => {
103
105
  },
104
106
  rootPassword: "Test string",
105
107
  rootPasswordSet: true,
108
+ secondaryZone: "Test string",
106
109
  sourceId: "Test string",
107
110
  storageAutoResizeLimit: "Test string",
108
111
  tier: "Test string",
@@ -217,12 +220,14 @@ gapi.load('client', async () => {
217
220
  },
218
221
  },
219
222
  cloudsql: {
223
+ additionalPublicIp: "Test string",
220
224
  cloudSqlId: "Test string",
221
225
  privateIp: "Test string",
222
226
  publicIp: "Test string",
223
227
  settings: {
224
228
  activationPolicy: "Test string",
225
229
  autoStorageIncrease: true,
230
+ availabilityType: "Test string",
226
231
  cmekKeyName: "Test string",
227
232
  collation: "Test string",
228
233
  databaseFlags: {
@@ -246,6 +251,7 @@ gapi.load('client', async () => {
246
251
  },
247
252
  rootPassword: "Test string",
248
253
  rootPasswordSet: true,
254
+ secondaryZone: "Test string",
249
255
  sourceId: "Test string",
250
256
  storageAutoResizeLimit: "Test string",
251
257
  tier: "Test string",