@maxim_mazurok/gapi.client.workflows-v1 0.0.20230308 → 0.0.20230329

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 +20 -1
  2. package/package.json +1 -1
  3. package/tests.ts +13 -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://workflows.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230308
12
+ // Revision: 20230329
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -91,6 +91,12 @@ declare namespace gapi.client {
91
91
  /** Name of the verb executed by the operation. */
92
92
  verb?: string;
93
93
  }
94
+ interface StateError {
95
+ /** Provides specifics about the error. */
96
+ details?: string;
97
+ /** The type of this state error. */
98
+ type?: string;
99
+ }
94
100
  interface Status {
95
101
  /** The status code, which should be an enum value of google.rpc.Code. */
96
102
  code?: number;
@@ -103,8 +109,19 @@ declare namespace gapi.client {
103
109
  message?: string;
104
110
  }
105
111
  interface Workflow {
112
+ /**
113
+ * Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging
114
+ * level, the execution level takes precedence.
115
+ */
116
+ callLogLevel?: string;
106
117
  /** Output only. The timestamp for when the workflow was created. */
107
118
  createTime?: string;
119
+ /**
120
+ * Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format:
121
+ * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from
122
+ * the account. If not provided, data associated with the workflow will not be CMEK-encrypted.
123
+ */
124
+ cryptoKeyName?: string;
108
125
  /** Description of the workflow provided by the user. Must be at most 1000 unicode characters long. */
109
126
  description?: string;
110
127
  /**
@@ -133,6 +150,8 @@ declare namespace gapi.client {
133
150
  sourceContents?: string;
134
151
  /** Output only. State of the workflow deployment. */
135
152
  state?: string;
153
+ /** Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions. */
154
+ stateError?: StateError;
136
155
  /** Output only. The timestamp for when the workflow was last updated. */
137
156
  updateTime?: string;
138
157
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workflows-v1",
3
- "version": "0.0.20230308",
3
+ "version": "0.0.20230329",
4
4
  "description": "TypeScript typings for Workflows 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: 20230308
6
+ // Revision: 20230329
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -63,7 +63,9 @@ gapi.load('client', async () => {
63
63
  parent: "Test string",
64
64
  workflowId: "Test string",
65
65
  }, {
66
+ callLogLevel: "Test string",
66
67
  createTime: "Test string",
68
+ cryptoKeyName: "Test string",
67
69
  description: "Test string",
68
70
  labels: {
69
71
  A: "Test string"
@@ -74,6 +76,10 @@ gapi.load('client', async () => {
74
76
  serviceAccount: "Test string",
75
77
  sourceContents: "Test string",
76
78
  state: "Test string",
79
+ stateError: {
80
+ details: "Test string",
81
+ type: "Test string",
82
+ },
77
83
  updateTime: "Test string",
78
84
  });
79
85
  /** Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow. */
@@ -101,7 +107,9 @@ gapi.load('client', async () => {
101
107
  name: "Test string",
102
108
  updateMask: "Test string",
103
109
  }, {
110
+ callLogLevel: "Test string",
104
111
  createTime: "Test string",
112
+ cryptoKeyName: "Test string",
105
113
  description: "Test string",
106
114
  labels: {
107
115
  A: "Test string"
@@ -112,6 +120,10 @@ gapi.load('client', async () => {
112
120
  serviceAccount: "Test string",
113
121
  sourceContents: "Test string",
114
122
  state: "Test string",
123
+ stateError: {
124
+ details: "Test string",
125
+ type: "Test string",
126
+ },
115
127
  updateTime: "Test string",
116
128
  });
117
129
  }