@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20240616 → 0.0.20240619

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 +26 -2
  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: 20240616
12
+ // Revision: 20240619
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,6 +28,12 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace workloadmanager {
31
+ interface AgentCommand {
32
+ /** command is the name of the agent one-time executable that will be invoked. */
33
+ command?: string;
34
+ /** parameters is a map of key/value pairs that can be used to specify additional one-time executable settings. */
35
+ parameters?: {[P in string]: string};
36
+ }
31
37
  interface AssetLocation {
32
38
  /** Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. */
33
39
  expected?: IsolationExpectations;
@@ -55,6 +61,12 @@ declare namespace gapi.client {
55
61
  interface CloudAssetComposition {
56
62
  childAsset?: CloudAsset[];
57
63
  }
64
+ interface Command {
65
+ /** AgentCommand specifies a one-time executable program for the agent to run. */
66
+ agentCommand?: AgentCommand;
67
+ /** ShellCommand is invoked via the agent's command line executor. */
68
+ shellCommand?: ShellCommand;
69
+ }
58
70
  interface DirectLocationAssignment {
59
71
  location?: LocationAssignment[];
60
72
  }
@@ -106,6 +118,8 @@ declare namespace gapi.client {
106
118
  state?: string;
107
119
  }
108
120
  interface ExecutionResult {
121
+ /** The commands to remediate the violation. */
122
+ commands?: Command[];
109
123
  /** The URL for the documentation of the rule. */
110
124
  documentationUrl?: string;
111
125
  /** The resource that violates the rule. */
@@ -120,7 +134,9 @@ declare namespace gapi.client {
120
134
  violationMessage?: string;
121
135
  }
122
136
  interface ExternalDataSources {
123
- /** Required. Name of external data source. The name will be used inside the rego/sql to refer the external data */
137
+ /** Required. The asset type of the external data source must be one of go/cai-asset-types */
138
+ assetType?: string;
139
+ /** Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data */
124
140
  name?: string;
125
141
  /** Required. Type of external data source */
126
142
  type?: string;
@@ -474,6 +490,14 @@ declare namespace gapi.client {
474
490
  /** resource type */
475
491
  type?: string;
476
492
  }
493
+ interface ShellCommand {
494
+ /** args is a string of arguments to be passed to the command. */
495
+ args?: string;
496
+ /** command is the name of the command to be executed. */
497
+ command?: string;
498
+ /** Optional. If not specified, the default timeout is 60 seconds. */
499
+ timeoutSeconds?: number;
500
+ }
477
501
  interface SpannerLocation {
478
502
  dbName?: string[];
479
503
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20240616",
3
+ "version": "0.0.20240619",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",