@maxim_mazurok/gapi.client.workflows-v1 0.0.20230322 → 0.0.20230405
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.
- package/index.d.ts +15 -1
- package/package.json +1 -1
- package/tests.ts +11 -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:
|
|
12
|
+
// Revision: 20230405
|
|
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;
|
|
@@ -110,6 +116,12 @@ declare namespace gapi.client {
|
|
|
110
116
|
callLogLevel?: string;
|
|
111
117
|
/** Output only. The timestamp for when the workflow was created. */
|
|
112
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;
|
|
113
125
|
/** Description of the workflow provided by the user. Must be at most 1000 unicode characters long. */
|
|
114
126
|
description?: string;
|
|
115
127
|
/**
|
|
@@ -138,6 +150,8 @@ declare namespace gapi.client {
|
|
|
138
150
|
sourceContents?: string;
|
|
139
151
|
/** Output only. State of the workflow deployment. */
|
|
140
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;
|
|
141
155
|
/** Output only. The timestamp for when the workflow was last updated. */
|
|
142
156
|
updateTime?: string;
|
|
143
157
|
}
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230405
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -65,6 +65,7 @@ gapi.load('client', async () => {
|
|
|
65
65
|
}, {
|
|
66
66
|
callLogLevel: "Test string",
|
|
67
67
|
createTime: "Test string",
|
|
68
|
+
cryptoKeyName: "Test string",
|
|
68
69
|
description: "Test string",
|
|
69
70
|
labels: {
|
|
70
71
|
A: "Test string"
|
|
@@ -75,6 +76,10 @@ gapi.load('client', async () => {
|
|
|
75
76
|
serviceAccount: "Test string",
|
|
76
77
|
sourceContents: "Test string",
|
|
77
78
|
state: "Test string",
|
|
79
|
+
stateError: {
|
|
80
|
+
details: "Test string",
|
|
81
|
+
type: "Test string",
|
|
82
|
+
},
|
|
78
83
|
updateTime: "Test string",
|
|
79
84
|
});
|
|
80
85
|
/** Deletes a workflow with the specified name. This method also cancels and deletes all running executions of the workflow. */
|
|
@@ -104,6 +109,7 @@ gapi.load('client', async () => {
|
|
|
104
109
|
}, {
|
|
105
110
|
callLogLevel: "Test string",
|
|
106
111
|
createTime: "Test string",
|
|
112
|
+
cryptoKeyName: "Test string",
|
|
107
113
|
description: "Test string",
|
|
108
114
|
labels: {
|
|
109
115
|
A: "Test string"
|
|
@@ -114,6 +120,10 @@ gapi.load('client', async () => {
|
|
|
114
120
|
serviceAccount: "Test string",
|
|
115
121
|
sourceContents: "Test string",
|
|
116
122
|
state: "Test string",
|
|
123
|
+
stateError: {
|
|
124
|
+
details: "Test string",
|
|
125
|
+
type: "Test string",
|
|
126
|
+
},
|
|
117
127
|
updateTime: "Test string",
|
|
118
128
|
});
|
|
119
129
|
}
|