@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20240417 → 0.0.20240501

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 +87 -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://workloadmanager.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240417
12
+ // Revision: 20240501
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,13 +28,36 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace workloadmanager {
31
+ interface AssetLocation {
32
+ /** Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. */
33
+ expected?: IsolationExpectations;
34
+ /** Defines extra parameters required for specific asset types. */
35
+ extraParameters?: ExtraParameter[];
36
+ /** Contains all kinds of physical location definitions for this asset. */
37
+ locationData?: LocationData[];
38
+ /** Defines parents assets if any in order to allow later generation of child_asset_location data via child assets. */
39
+ parentAsset?: CloudAsset[];
40
+ }
31
41
  interface BigQueryDestination {
32
42
  /** Optional. determine if results will be saved in a new table */
33
43
  createNewResultsTable?: boolean;
34
44
  /** Optional. destination dataset to save evaluation results */
35
45
  destinationDataset?: string;
36
46
  }
47
+ interface BlobstoreLocation {
48
+ policyId?: string[];
49
+ }
37
50
  interface CancelOperationRequest {}
51
+ interface CloudAsset {
52
+ assetName?: string;
53
+ assetType?: string;
54
+ }
55
+ interface CloudAssetComposition {
56
+ childAsset?: CloudAsset[];
57
+ }
58
+ interface DirectLocationAssignment {
59
+ location?: LocationAssignment[];
60
+ }
38
61
  interface Empty {}
39
62
  interface Evaluation {
40
63
  /** Optional. BigQuery destination */
@@ -67,6 +90,8 @@ declare namespace gapi.client {
67
90
  endTime?: string;
68
91
  /** Output only. [Output only] Evaluation ID */
69
92
  evaluationId?: string;
93
+ /** Optional. External data sources */
94
+ externalDataSources?: ExternalDataSources[];
70
95
  /** Output only. [Output only] Inventory time stamp */
71
96
  inventoryTime?: string;
72
97
  /** Labels as key value pairs */
@@ -94,6 +119,18 @@ declare namespace gapi.client {
94
119
  /** the violation message of an execution */
95
120
  violationMessage?: string;
96
121
  }
122
+ interface ExternalDataSources {
123
+ /** Required. Name of external data source. The name will be used inside the rego/sql to refer the external data */
124
+ name?: string;
125
+ /** Required. Type of external data source */
126
+ type?: string;
127
+ /** Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID} */
128
+ uri?: string;
129
+ }
130
+ interface ExtraParameter {
131
+ /** Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. */
132
+ regionalMigDistributionPolicy?: RegionalMigDistributionPolicy;
133
+ }
97
134
  interface GceInstanceFilter {
98
135
  /** Service account of compute engine */
99
136
  serviceAccounts?: string[];
@@ -110,6 +147,17 @@ declare namespace gapi.client {
110
147
  /** The insights data for the sqlserver workload validation. */
111
148
  sqlserverValidation?: SqlserverValidation;
112
149
  }
150
+ interface IsolationExpectations {
151
+ ziOrgPolicy?: string;
152
+ ziRegionPolicy?: string;
153
+ ziRegionState?: string;
154
+ /** Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location. */
155
+ zoneIsolation?: string;
156
+ /** Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location. */
157
+ zoneSeparation?: string;
158
+ zsOrgPolicy?: string;
159
+ zsRegionState?: string;
160
+ }
113
161
  interface ListEvaluationsResponse {
114
162
  /** The list of Evaluation */
115
163
  evaluations?: Evaluation[];
@@ -168,6 +216,17 @@ declare namespace gapi.client {
168
216
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
169
217
  name?: string;
170
218
  }
219
+ interface LocationAssignment {
220
+ location?: string;
221
+ locationType?: string;
222
+ }
223
+ interface LocationData {
224
+ blobstoreLocation?: BlobstoreLocation;
225
+ childAssetLocation?: CloudAssetComposition;
226
+ directLocation?: DirectLocationAssignment;
227
+ gcpProjectProxy?: TenantProjectProxy;
228
+ spannerLocation?: SpannerLocation;
229
+ }
171
230
  interface Operation {
172
231
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
173
232
  done?: boolean;
@@ -196,6 +255,12 @@ declare namespace gapi.client {
196
255
  /** Output only. Name of the verb executed by the operation. */
197
256
  verb?: string;
198
257
  }
258
+ interface RegionalMigDistributionPolicy {
259
+ /** The shape in which the group converges around distribution of resources. Instance of proto2 enum */
260
+ targetShape?: number;
261
+ /** Cloud zones used by regional MIG to create instances. */
262
+ zones?: ZoneConfiguration[];
263
+ }
199
264
  interface Resource {
200
265
  /** the name of the resource */
201
266
  name?: string;
@@ -295,6 +360,8 @@ declare namespace gapi.client {
295
360
  ascsInstanceNumber?: string;
296
361
  /** Optional. Resource URI of the recognized ASCS host of the application. */
297
362
  ascsUri?: string;
363
+ /** Optional. Instance number of the ERS instance. */
364
+ ersInstanceNumber?: string;
298
365
  /** Optional. Kernel version for Netweaver running in the system. */
299
366
  kernelVersion?: string;
300
367
  /** Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. */
@@ -339,13 +406,23 @@ declare namespace gapi.client {
339
406
  updateTime?: string;
340
407
  }
341
408
  interface SapDiscoveryResourceInstanceProperties {
409
+ /** Optional. App server instances on the host */
410
+ appInstances?: SapDiscoveryResourceInstancePropertiesAppInstance[];
342
411
  /** Optional. A list of instance URIs that are part of a cluster with this one. */
343
412
  clusterInstances?: string[];
344
413
  /** Optional. The VM's instance number. */
345
414
  instanceNumber?: string;
415
+ /** Optional. Bitmask of instance role, a resource may have multiple roles at once. */
416
+ instanceRole?: string;
346
417
  /** Optional. A virtual hostname of the instance if it has one. */
347
418
  virtualHostname?: string;
348
419
  }
420
+ interface SapDiscoveryResourceInstancePropertiesAppInstance {
421
+ /** Optional. Instance name of the SAP application instance. */
422
+ name?: string;
423
+ /** Optional. Instance number of the SAP application instance. */
424
+ number?: string;
425
+ }
349
426
  interface SapDiscoveryWorkloadProperties {
350
427
  /** Optional. List of SAP Products and their versions running on the system. */
351
428
  productVersions?: SapDiscoveryWorkloadPropertiesProductVersion[];
@@ -390,6 +467,9 @@ declare namespace gapi.client {
390
467
  /** resource type */
391
468
  type?: string;
392
469
  }
470
+ interface SpannerLocation {
471
+ dbName?: string[];
472
+ }
393
473
  interface SqlserverValidation {
394
474
  /** Optional. The agent version collected this data point */
395
475
  agentVersion?: string;
@@ -418,6 +498,9 @@ declare namespace gapi.client {
418
498
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
419
499
  message?: string;
420
500
  }
501
+ interface TenantProjectProxy {
502
+ projectNumbers?: string[];
503
+ }
421
504
  interface ViolationDetails {
422
505
  /** the name of asset */
423
506
  asset?: string;
@@ -435,6 +518,9 @@ declare namespace gapi.client {
435
518
  requestId?: string;
436
519
  }
437
520
  interface WriteInsightResponse {}
521
+ interface ZoneConfiguration {
522
+ zone?: string;
523
+ }
438
524
  interface ResultsResource {
439
525
  /** List the running result of a single Execution. */
440
526
  list(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20240417",
3
+ "version": "0.0.20240501",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",