@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20230705 → 0.0.20230719

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 +29 -7
  2. package/package.json +1 -1
  3. package/tests.ts +21 -5
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://workloadmanager.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230705
12
+ // Revision: 20230719
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -363,12 +363,12 @@ declare namespace gapi.client {
363
363
  string;
364
364
  }
365
365
  interface SapDiscoveryComponent {
366
- /** The component is a SAP application. */
367
- applicationType?:
368
- string;
369
- /** The component is a SAP database. */
370
- databaseType?:
371
- string;
366
+ /** Optional. The component is a SAP application. */
367
+ applicationProperties?:
368
+ SapDiscoveryComponentApplicationProperties;
369
+ /** Optional. The component is a SAP database. */
370
+ databaseProperties?:
371
+ SapDiscoveryComponentDatabaseProperties;
372
372
  /** Pantheon Project in which the resources reside. */
373
373
  hostProject?:
374
374
  string;
@@ -379,6 +379,28 @@ declare namespace gapi.client {
379
379
  sid?:
380
380
  string;
381
381
  }
382
+ interface SapDiscoveryComponentApplicationProperties {
383
+ /** Required. Type of the application. Netweaver, etc. */
384
+ applicationType?:
385
+ string;
386
+ /** Required. Resource URI of the recognized ASCS host of the application. */
387
+ ascsUri?:
388
+ string;
389
+ /** Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. */
390
+ nfsUri?:
391
+ string;
392
+ }
393
+ interface SapDiscoveryComponentDatabaseProperties {
394
+ /** Required. Type of the database. HANA, DB2, etc. */
395
+ databaseType?:
396
+ string;
397
+ /** Required. URI of the recognized primary instance of the database. */
398
+ primaryInstanceUri?:
399
+ string;
400
+ /** Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node. */
401
+ sharedNfsUri?:
402
+ string;
403
+ }
382
404
  interface SapDiscoveryMetadata {
383
405
  /** Customer region string for customer's use. Does not represent GCP region. */
384
406
  customerRegion?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20230705",
3
+ "version": "0.0.20230719",
4
4
  "description": "TypeScript typings for Workload Manager 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: 20230705
6
+ // Revision: 20230719
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -151,8 +151,16 @@ gapi.load('client', async () => {
151
151
  instanceId: "Test string",
152
152
  sapDiscovery: {
153
153
  applicationLayer: {
154
- applicationType: "Test string",
155
- databaseType: "Test string",
154
+ applicationProperties: {
155
+ applicationType: "Test string",
156
+ ascsUri: "Test string",
157
+ nfsUri: "Test string",
158
+ },
159
+ databaseProperties: {
160
+ databaseType: "Test string",
161
+ primaryInstanceUri: "Test string",
162
+ sharedNfsUri: "Test string",
163
+ },
156
164
  hostProject: "Test string",
157
165
  resources: [
158
166
  {
@@ -168,8 +176,16 @@ gapi.load('client', async () => {
168
176
  sid: "Test string",
169
177
  },
170
178
  databaseLayer: {
171
- applicationType: "Test string",
172
- databaseType: "Test string",
179
+ applicationProperties: {
180
+ applicationType: "Test string",
181
+ ascsUri: "Test string",
182
+ nfsUri: "Test string",
183
+ },
184
+ databaseProperties: {
185
+ databaseType: "Test string",
186
+ primaryInstanceUri: "Test string",
187
+ sharedNfsUri: "Test string",
188
+ },
173
189
  hostProject: "Test string",
174
190
  resources: [
175
191
  {