@maxim_mazurok/gapi.client.osconfig-v1alpha 0.1.20251213 → 0.1.20260115

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 +207 -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://osconfig.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20251213
12
+ // Revision: 20260115
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -68,6 +68,54 @@ declare namespace gapi.client {
68
68
  /** Specifies the relative value defined as a percentage, which will be multiplied by a reference value. */
69
69
  percent?: number;
70
70
  }
71
+ interface GoogleCloudOsconfigCommonV1__OperationMetadata {
72
+ /** Output only. API version used to start the operation. */
73
+ apiVersion?: string;
74
+ /** Output only. The time the operation was created. */
75
+ createTime?: string;
76
+ /** Output only. The time the operation finished running. */
77
+ endTime?: string;
78
+ /** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
79
+ requestedCancellation?: boolean;
80
+ /** Output only. Human-readable status of the operation, if any. */
81
+ statusMessage?: string;
82
+ /** Output only. Server-defined resource path for the target of the operation. */
83
+ target?: string;
84
+ /** Output only. Name of the verb executed by the operation. */
85
+ verb?: string;
86
+ }
87
+ interface GoogleCloudOsconfigCommonV1alpha__OperationMetadata {
88
+ /** Output only. API version used to start the operation. */
89
+ apiVersion?: string;
90
+ /** Output only. The time the operation was created. */
91
+ createTime?: string;
92
+ /** Output only. The time the operation finished running. */
93
+ endTime?: string;
94
+ /** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
95
+ requestedCancellation?: boolean;
96
+ /** Output only. Human-readable status of the operation, if any. */
97
+ statusMessage?: string;
98
+ /** Output only. Server-defined resource path for the target of the operation. */
99
+ target?: string;
100
+ /** Output only. Name of the verb executed by the operation. */
101
+ verb?: string;
102
+ }
103
+ interface GoogleCloudOsconfigCommonV1main__OperationMetadata {
104
+ /** Output only. API version used to start the operation. */
105
+ apiVersion?: string;
106
+ /** Output only. The time the operation was created. */
107
+ createTime?: string;
108
+ /** Output only. The time the operation finished running. */
109
+ endTime?: string;
110
+ /** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
111
+ requestedCancellation?: boolean;
112
+ /** Output only. Human-readable status of the operation, if any. */
113
+ statusMessage?: string;
114
+ /** Output only. Server-defined resource path for the target of the operation. */
115
+ target?: string;
116
+ /** Output only. Name of the verb executed by the operation. */
117
+ verb?: string;
118
+ }
71
119
  interface GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata {
72
120
  /** The OS policy assignment API method. */
73
121
  apiMethod?: string;
@@ -282,6 +330,14 @@ declare namespace gapi.client {
282
330
  /** The pagination token to retrieve the next page of inventory objects. */
283
331
  nextPageToken?: string;
284
332
  }
333
+ interface ListOperationsResponse {
334
+ /** The standard List next-page token. */
335
+ nextPageToken?: string;
336
+ /** A list of operations that matches the specified filter in the request. */
337
+ operations?: Operation[];
338
+ /** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. */
339
+ unreachable?: string[];
340
+ }
285
341
  interface ListOSPolicyAssignmentReportsResponse {
286
342
  /** The pagination token to retrieve the next page of OS policy assignment report objects. */
287
343
  nextPageToken?: string;
@@ -987,6 +1043,155 @@ declare namespace gapi.client {
987
1043
  osPolicyAssignments: OsPolicyAssignmentsResource;
988
1044
  vulnerabilityReports: VulnerabilityReportsResource;
989
1045
  }
1046
+ interface OperationsResource {
1047
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
1048
+ cancel(request: {
1049
+ /** V1 error format. */
1050
+ '$.xgafv'?: string;
1051
+ /** OAuth access token. */
1052
+ access_token?: string;
1053
+ /** Data format for response. */
1054
+ alt?: string;
1055
+ /** JSONP */
1056
+ callback?: string;
1057
+ /** Selector specifying which fields to include in a partial response. */
1058
+ fields?: string;
1059
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1060
+ key?: string;
1061
+ /** The name of the operation resource to be cancelled. */
1062
+ name: string;
1063
+ /** OAuth 2.0 token for the current user. */
1064
+ oauth_token?: string;
1065
+ /** Returns response with indentations and line breaks. */
1066
+ prettyPrint?: boolean;
1067
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1068
+ quotaUser?: string;
1069
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1070
+ upload_protocol?: string;
1071
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1072
+ uploadType?: string;
1073
+ /** Request body */
1074
+ resource: CancelOperationRequest;
1075
+ }): Request<{}>;
1076
+ cancel(
1077
+ request: {
1078
+ /** V1 error format. */
1079
+ '$.xgafv'?: string;
1080
+ /** OAuth access token. */
1081
+ access_token?: string;
1082
+ /** Data format for response. */
1083
+ alt?: string;
1084
+ /** JSONP */
1085
+ callback?: string;
1086
+ /** Selector specifying which fields to include in a partial response. */
1087
+ fields?: string;
1088
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1089
+ key?: string;
1090
+ /** The name of the operation resource to be cancelled. */
1091
+ name: string;
1092
+ /** OAuth 2.0 token for the current user. */
1093
+ oauth_token?: string;
1094
+ /** Returns response with indentations and line breaks. */
1095
+ prettyPrint?: boolean;
1096
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1097
+ quotaUser?: string;
1098
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1099
+ upload_protocol?: string;
1100
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1101
+ uploadType?: string;
1102
+ },
1103
+ body: CancelOperationRequest,
1104
+ ): Request<{}>;
1105
+ /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
1106
+ delete(request?: {
1107
+ /** V1 error format. */
1108
+ '$.xgafv'?: string;
1109
+ /** OAuth access token. */
1110
+ access_token?: string;
1111
+ /** Data format for response. */
1112
+ alt?: string;
1113
+ /** JSONP */
1114
+ callback?: string;
1115
+ /** Selector specifying which fields to include in a partial response. */
1116
+ fields?: string;
1117
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1118
+ key?: string;
1119
+ /** The name of the operation resource to be deleted. */
1120
+ name: string;
1121
+ /** OAuth 2.0 token for the current user. */
1122
+ oauth_token?: string;
1123
+ /** Returns response with indentations and line breaks. */
1124
+ prettyPrint?: boolean;
1125
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1126
+ quotaUser?: string;
1127
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1128
+ upload_protocol?: string;
1129
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1130
+ uploadType?: string;
1131
+ }): Request<{}>;
1132
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1133
+ get(request?: {
1134
+ /** V1 error format. */
1135
+ '$.xgafv'?: string;
1136
+ /** OAuth access token. */
1137
+ access_token?: string;
1138
+ /** Data format for response. */
1139
+ alt?: string;
1140
+ /** JSONP */
1141
+ callback?: string;
1142
+ /** Selector specifying which fields to include in a partial response. */
1143
+ fields?: string;
1144
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1145
+ key?: string;
1146
+ /** The name of the operation resource. */
1147
+ name: string;
1148
+ /** OAuth 2.0 token for the current user. */
1149
+ oauth_token?: string;
1150
+ /** Returns response with indentations and line breaks. */
1151
+ prettyPrint?: boolean;
1152
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1153
+ quotaUser?: string;
1154
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1155
+ upload_protocol?: string;
1156
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1157
+ uploadType?: string;
1158
+ }): Request<Operation>;
1159
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1160
+ list(request?: {
1161
+ /** V1 error format. */
1162
+ '$.xgafv'?: string;
1163
+ /** OAuth access token. */
1164
+ access_token?: string;
1165
+ /** Data format for response. */
1166
+ alt?: string;
1167
+ /** JSONP */
1168
+ callback?: string;
1169
+ /** Selector specifying which fields to include in a partial response. */
1170
+ fields?: string;
1171
+ /** The standard list filter. */
1172
+ filter?: string;
1173
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1174
+ key?: string;
1175
+ /** The name of the operation's parent resource. */
1176
+ name: string;
1177
+ /** OAuth 2.0 token for the current user. */
1178
+ oauth_token?: string;
1179
+ /** The standard list page size. */
1180
+ pageSize?: number;
1181
+ /** The standard list page token. */
1182
+ pageToken?: string;
1183
+ /** Returns response with indentations and line breaks. */
1184
+ prettyPrint?: boolean;
1185
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1186
+ quotaUser?: string;
1187
+ /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
1188
+ returnPartialSuccess?: boolean;
1189
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1190
+ upload_protocol?: string;
1191
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1192
+ uploadType?: string;
1193
+ }): Request<ListOperationsResponse>;
1194
+ }
990
1195
  interface OperationsResource {
991
1196
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
992
1197
  cancel(request: {
@@ -1334,6 +1539,7 @@ declare namespace gapi.client {
1334
1539
  interface LocationsResource {
1335
1540
  instanceOSPoliciesCompliances: InstanceOSPoliciesCompliancesResource;
1336
1541
  instances: InstancesResource;
1542
+ operations: OperationsResource;
1337
1543
  osPolicyAssignments: OsPolicyAssignmentsResource;
1338
1544
  }
1339
1545
  interface ProjectsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.osconfig-v1alpha",
3
- "version": "0.1.20251213",
3
+ "version": "0.1.20260115",
4
4
  "description": "TypeScript typings for OS Config API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",