@maxim_mazurok/gapi.client.migrationcenter-v1 0.0.20230721 → 0.0.20230804

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 +25 -5
  2. package/package.json +2 -2
  3. package/tests.ts +15 -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://migrationcenter.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230721
12
+ // Revision: 20230804
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -457,7 +457,7 @@ declare namespace gapi.client {
457
457
  /** Total number of asset frames reported for the import job. */
458
458
  framesReported?:
459
459
  number;
460
- /** Total number of rows in the import job. */
460
+ /** Output only. Total number of rows in the import job. */
461
461
  totalRowsCount?:
462
462
  number;
463
463
  }
@@ -518,6 +518,23 @@ declare namespace gapi.client {
518
518
  entries?:
519
519
  FstabEntry[];
520
520
  }
521
+ interface GenericInsight {
522
+ /**
523
+ * Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain
524
+ * md style links
525
+ */
526
+ additionalInformation?:
527
+ string[];
528
+ /** Output only. In case message_code is not yet known by the client default_message will be the message to be used instead. */
529
+ defaultMessage?:
530
+ string;
531
+ /**
532
+ * Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message
533
+ * instead.
534
+ */
535
+ messageId?:
536
+ string;
537
+ }
521
538
  interface GenericPlatformDetails {
522
539
  /**
523
540
  * Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this
@@ -716,6 +733,9 @@ declare namespace gapi.client {
716
733
  string;
717
734
  }
718
735
  interface Insight {
736
+ /** Output only. A generic insight about an asset */
737
+ genericInsight?:
738
+ GenericInsight;
719
739
  /** Output only. An insight about potential migrations for an asset. */
720
740
  migrationInsight?:
721
741
  MigrationInsight;
@@ -1113,9 +1133,9 @@ declare namespace gapi.client {
1113
1133
  name?:
1114
1134
  string;
1115
1135
  /**
1116
- * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
1117
- * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
1118
- * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1136
+ * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
1137
+ * method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
1138
+ * method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1119
1139
  */
1120
1140
  response?:
1121
1141
  { [P in string]: any };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.migrationcenter-v1",
3
- "version": "0.0.20230721",
3
+ "version": "0.0.20230804",
4
4
  "description": "TypeScript typings for Migration Center API v1",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230721
6
+ // Revision: 20230804
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -101,6 +101,13 @@ gapi.load('client', async () => {
101
101
  insightList: {
102
102
  insights: [
103
103
  {
104
+ genericInsight: {
105
+ additionalInformation: [
106
+ "Test string"
107
+ ],
108
+ defaultMessage: "Test string",
109
+ messageId: "Test string",
110
+ },
104
111
  migrationInsight: {
105
112
  computeEngineTarget: {
106
113
  shape: {
@@ -445,6 +452,13 @@ gapi.load('client', async () => {
445
452
  insightList: {
446
453
  insights: [
447
454
  {
455
+ genericInsight: {
456
+ additionalInformation: [
457
+ "Test string"
458
+ ],
459
+ defaultMessage: "Test string",
460
+ messageId: "Test string",
461
+ },
448
462
  migrationInsight: {
449
463
  computeEngineTarget: {
450
464
  shape: {