@maxim_mazurok/gapi.client.osconfig-v1alpha 0.0.20230416 → 0.0.20230429

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 +1041 -521
  2. package/package.json +1 -1
  3. package/tests.ts +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: 20230416
12
+ // Revision: 20230429
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -27,56 +27,77 @@ declare namespace gapi.client {
27
27
  }
28
28
  interface CVSSv3 {
29
29
  /** This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability. */
30
- attackComplexity?: string;
30
+ attackComplexity?:
31
+ string;
31
32
  /** This metric reflects the context by which vulnerability exploitation is possible. */
32
- attackVector?: string;
33
+ attackVector?:
34
+ string;
33
35
  /** This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability. */
34
- availabilityImpact?: string;
36
+ availabilityImpact?:
37
+ string;
35
38
  /** The base score is a function of the base metric scores. https://www.first.org/cvss/specification-document#Base-Metrics */
36
- baseScore?: number;
39
+ baseScore?:
40
+ number;
37
41
  /** This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability. */
38
- confidentialityImpact?: string;
42
+ confidentialityImpact?:
43
+ string;
39
44
  /** The Exploitability sub-score equation is derived from the Base Exploitability metrics. https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics */
40
- exploitabilityScore?: number;
45
+ exploitabilityScore?:
46
+ number;
41
47
  /** The Impact sub-score equation is derived from the Base Impact metrics. */
42
- impactScore?: number;
48
+ impactScore?:
49
+ number;
43
50
  /** This metric measures the impact to integrity of a successfully exploited vulnerability. */
44
- integrityImpact?: string;
51
+ integrityImpact?:
52
+ string;
45
53
  /** This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability. */
46
- privilegesRequired?: string;
54
+ privilegesRequired?:
55
+ string;
47
56
  /** The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope. */
48
- scope?: string;
57
+ scope?:
58
+ string;
49
59
  /** This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component. */
50
- userInteraction?: string;
60
+ userInteraction?:
61
+ string;
51
62
  }
52
63
  interface Date {
53
64
  /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
54
- day?: number;
65
+ day?:
66
+ number;
55
67
  /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
56
- month?: number;
68
+ month?:
69
+ number;
57
70
  /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
58
- year?: number;
71
+ year?:
72
+ number;
59
73
  }
60
74
  // tslint:disable-next-line:no-empty-interface
61
75
  interface Empty {
62
76
  }
63
77
  interface FixedOrPercent {
64
78
  /** Specifies a fixed value. */
65
- fixed?: number;
79
+ fixed?:
80
+ number;
66
81
  /** Specifies the relative value defined as a percentage, which will be multiplied by a reference value. */
67
- percent?: number;
82
+ percent?:
83
+ number;
68
84
  }
69
85
  interface GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata {
70
86
  /** The OS policy assignment API method. */
71
- apiMethod?: string;
87
+ apiMethod?:
88
+ string;
72
89
  /** Reference to the `OSPolicyAssignment` API resource. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}` */
73
- osPolicyAssignment?: string;
90
+ osPolicyAssignment?:
91
+ string;
74
92
  /** Rollout start time */
75
- rolloutStartTime?: string;
93
+ rolloutStartTime?:
94
+ string;
76
95
  /** State of the rollout */
77
- rolloutState?: string;
96
+ rolloutState?:
97
+ string;
78
98
  /** Rollout update time */
79
- rolloutUpdateTime?: string;
99
+ rolloutUpdateTime?:
100
+ string;
80
101
  }
81
102
  interface InstanceOSPoliciesCompliance {
82
103
  /**
@@ -85,352 +106,474 @@ declare namespace gapi.client {
85
106
  * version of the OS Config agent running on this VM does not support configuration management. * `inactive`: VM is not running. * `internal-service-errors`: There were internal
86
107
  * service errors encountered while enforcing compliance. * `agent-errors`: OS config agent encountered errors while enforcing compliance.
87
108
  */
88
- detailedState?: string;
109
+ detailedState?:
110
+ string;
89
111
  /** Output only. The reason for the `detailed_state` of the VM (if any). */
90
- detailedStateReason?: string;
112
+ detailedStateReason?:
113
+ string;
91
114
  /** Output only. The Compute Engine VM instance name. */
92
- instance?: string;
115
+ instance?:
116
+ string;
93
117
  /** Output only. Timestamp of the last compliance check for the VM. */
94
- lastComplianceCheckTime?: string;
118
+ lastComplianceCheckTime?:
119
+ string;
95
120
  /** Output only. Unique identifier for the last compliance run. This id will be logged by the OS config agent during a compliance run and can be used for debugging and tracing purpose. */
96
- lastComplianceRunId?: string;
121
+ lastComplianceRunId?:
122
+ string;
97
123
  /** Output only. The `InstanceOSPoliciesCompliance` API resource name. Format: `projects/{project_number}/locations/{location}/instanceOSPoliciesCompliances/{instance_id}` */
98
- name?: string;
124
+ name?:
125
+ string;
99
126
  /** Output only. Compliance data for each `OSPolicy` that is applied to the VM. */
100
- osPolicyCompliances?: InstanceOSPoliciesComplianceOSPolicyCompliance[];
127
+ osPolicyCompliances?:
128
+ InstanceOSPoliciesComplianceOSPolicyCompliance[];
101
129
  /** Output only. Compliance state of the VM. */
102
- state?: string;
130
+ state?:
131
+ string;
103
132
  }
104
133
  interface InstanceOSPoliciesComplianceOSPolicyCompliance {
105
134
  /**
106
135
  * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to. Format:
107
136
  * `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`
108
137
  */
109
- osPolicyAssignment?: string;
138
+ osPolicyAssignment?:
139
+ string;
110
140
  /** The OS policy id */
111
- osPolicyId?: string;
141
+ osPolicyId?:
142
+ string;
112
143
  /** Compliance data for each `OSPolicyResource` that is applied to the VM. */
113
- osPolicyResourceCompliances?: OSPolicyResourceCompliance[];
144
+ osPolicyResourceCompliances?:
145
+ OSPolicyResourceCompliance[];
114
146
  /** Compliance state of the OS policy. */
115
- state?: string;
147
+ state?:
148
+ string;
116
149
  }
117
150
  interface Inventory {
118
151
  /**
119
152
  * Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item
120
153
  * and will change, when there is a new package version.
121
154
  */
122
- items?: { [P in string]: InventoryItem };
155
+ items?:
156
+ { [P in string]: InventoryItem };
123
157
  /** Output only. The `Inventory` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/inventory` */
124
- name?: string;
158
+ name?:
159
+ string;
125
160
  /** Output only. Base level operating system information for the VM. */
126
- osInfo?: InventoryOsInfo;
161
+ osInfo?:
162
+ InventoryOsInfo;
127
163
  /** Output only. Timestamp of the last reported inventory for the VM. */
128
- updateTime?: string;
164
+ updateTime?:
165
+ string;
129
166
  }
130
167
  interface InventoryItem {
131
168
  /** Software package available to be installed on the VM instance. */
132
- availablePackage?: InventorySoftwarePackage;
169
+ availablePackage?:
170
+ InventorySoftwarePackage;
133
171
  /** When this inventory item was first detected. */
134
- createTime?: string;
172
+ createTime?:
173
+ string;
135
174
  /** Identifier for this item, unique across items for this VM. */
136
- id?: string;
175
+ id?:
176
+ string;
137
177
  /** Software package present on the VM instance. */
138
- installedPackage?: InventorySoftwarePackage;
178
+ installedPackage?:
179
+ InventorySoftwarePackage;
139
180
  /** The origin of this inventory item. */
140
- originType?: string;
181
+ originType?:
182
+ string;
141
183
  /** The specific type of inventory, correlating to its specific details. */
142
- type?: string;
184
+ type?:
185
+ string;
143
186
  /** When this inventory item was last modified. */
144
- updateTime?: string;
187
+ updateTime?:
188
+ string;
145
189
  }
146
190
  interface InventoryOsInfo {
147
191
  /** The system architecture of the operating system. */
148
- architecture?: string;
192
+ architecture?:
193
+ string;
149
194
  /** The VM hostname. */
150
- hostname?: string;
195
+ hostname?:
196
+ string;
151
197
  /** The kernel release of the operating system. */
152
- kernelRelease?: string;
198
+ kernelRelease?:
199
+ string;
153
200
  /** The kernel version of the operating system. */
154
- kernelVersion?: string;
201
+ kernelVersion?:
202
+ string;
155
203
  /** The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'. */
156
- longName?: string;
204
+ longName?:
205
+ string;
157
206
  /** The current version of the OS Config agent running on the VM. */
158
- osconfigAgentVersion?: string;
207
+ osconfigAgentVersion?:
208
+ string;
159
209
  /** The operating system short name. For example, 'windows' or 'debian'. */
160
- shortName?: string;
210
+ shortName?:
211
+ string;
161
212
  /** The version of the operating system. */
162
- version?: string;
213
+ version?:
214
+ string;
163
215
  }
164
216
  interface InventorySoftwarePackage {
165
217
  /** Details of an APT package. For details about the apt package manager, see https://wiki.debian.org/Apt. */
166
- aptPackage?: InventoryVersionedPackage;
218
+ aptPackage?:
219
+ InventoryVersionedPackage;
167
220
  /** Details of a COS package. */
168
- cosPackage?: InventoryVersionedPackage;
221
+ cosPackage?:
222
+ InventoryVersionedPackage;
169
223
  /** Details of a Googet package. For details about the googet package manager, see https://github.com/google/googet. */
170
- googetPackage?: InventoryVersionedPackage;
224
+ googetPackage?:
225
+ InventoryVersionedPackage;
171
226
  /**
172
227
  * Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix
173
228
  * Engineering.
174
229
  */
175
- qfePackage?: InventoryWindowsQuickFixEngineeringPackage;
230
+ qfePackage?:
231
+ InventoryWindowsQuickFixEngineeringPackage;
176
232
  /** Details of Windows Application. */
177
- windowsApplication?: InventoryWindowsApplication;
233
+ windowsApplication?:
234
+ InventoryWindowsApplication;
178
235
  /** Details of a Windows Update package. See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update. */
179
- wuaPackage?: InventoryWindowsUpdatePackage;
236
+ wuaPackage?:
237
+ InventoryWindowsUpdatePackage;
180
238
  /** Yum package info. For details about the yum package manager, see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum. */
181
- yumPackage?: InventoryVersionedPackage;
239
+ yumPackage?:
240
+ InventoryVersionedPackage;
182
241
  /** Details of a Zypper package. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual. */
183
- zypperPackage?: InventoryVersionedPackage;
242
+ zypperPackage?:
243
+ InventoryVersionedPackage;
184
244
  /** Details of a Zypper patch. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual. */
185
- zypperPatch?: InventoryZypperPatch;
245
+ zypperPatch?:
246
+ InventoryZypperPatch;
186
247
  }
187
248
  interface InventoryVersionedPackage {
188
249
  /** The system architecture this package is intended for. */
189
- architecture?: string;
250
+ architecture?:
251
+ string;
190
252
  /** The name of the package. */
191
- packageName?: string;
253
+ packageName?:
254
+ string;
192
255
  /** The version of the package. */
193
- version?: string;
256
+ version?:
257
+ string;
194
258
  }
195
259
  interface InventoryWindowsApplication {
196
260
  /** The name of the application or product. */
197
- displayName?: string;
261
+ displayName?:
262
+ string;
198
263
  /** The version of the product or application in string format. */
199
- displayVersion?: string;
264
+ displayVersion?:
265
+ string;
200
266
  /** The internet address for technical support. */
201
- helpLink?: string;
267
+ helpLink?:
268
+ string;
202
269
  /**
203
270
  * The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to
204
271
  * repair the product.
205
272
  */
206
- installDate?: Date;
273
+ installDate?:
274
+ Date;
207
275
  /** The name of the manufacturer for the product or application. */
208
- publisher?: string;
276
+ publisher?:
277
+ string;
209
278
  }
210
279
  interface InventoryWindowsQuickFixEngineeringPackage {
211
280
  /** A short textual description of the QFE update. */
212
- caption?: string;
281
+ caption?:
282
+ string;
213
283
  /** A textual description of the QFE update. */
214
- description?: string;
284
+ description?:
285
+ string;
215
286
  /** Unique identifier associated with a particular QFE update. */
216
- hotFixId?: string;
287
+ hotFixId?:
288
+ string;
217
289
  /** Date that the QFE update was installed. Mapped from installed_on field. */
218
- installTime?: string;
290
+ installTime?:
291
+ string;
219
292
  }
220
293
  interface InventoryWindowsUpdatePackage {
221
294
  /** The categories that are associated with this update package. */
222
- categories?: InventoryWindowsUpdatePackageWindowsUpdateCategory[];
295
+ categories?:
296
+ InventoryWindowsUpdatePackageWindowsUpdateCategory[];
223
297
  /** The localized description of the update package. */
224
- description?: string;
298
+ description?:
299
+ string;
225
300
  /** A collection of Microsoft Knowledge Base article IDs that are associated with the update package. */
226
- kbArticleIds?: string[];
301
+ kbArticleIds?:
302
+ string[];
227
303
  /** The last published date of the update, in (UTC) date and time. */
228
- lastDeploymentChangeTime?: string;
304
+ lastDeploymentChangeTime?:
305
+ string;
229
306
  /** A collection of URLs that provide more information about the update package. */
230
- moreInfoUrls?: string[];
307
+ moreInfoUrls?:
308
+ string[];
231
309
  /** The revision number of this update package. */
232
- revisionNumber?: number;
310
+ revisionNumber?:
311
+ number;
233
312
  /** A hyperlink to the language-specific support information for the update. */
234
- supportUrl?: string;
313
+ supportUrl?:
314
+ string;
235
315
  /** The localized title of the update package. */
236
- title?: string;
316
+ title?:
317
+ string;
237
318
  /** Gets the identifier of an update package. Stays the same across revisions. */
238
- updateId?: string;
319
+ updateId?:
320
+ string;
239
321
  }
240
322
  interface InventoryWindowsUpdatePackageWindowsUpdateCategory {
241
323
  /** The identifier of the windows update category. */
242
- id?: string;
324
+ id?:
325
+ string;
243
326
  /** The name of the windows update category. */
244
- name?: string;
327
+ name?:
328
+ string;
245
329
  }
246
330
  interface InventoryZypperPatch {
247
331
  /** The category of the patch. */
248
- category?: string;
332
+ category?:
333
+ string;
249
334
  /** The name of the patch. */
250
- patchName?: string;
335
+ patchName?:
336
+ string;
251
337
  /** The severity specified for this patch */
252
- severity?: string;
338
+ severity?:
339
+ string;
253
340
  /** Any summary information provided about this patch. */
254
- summary?: string;
341
+ summary?:
342
+ string;
255
343
  }
256
344
  interface ListInstanceOSPoliciesCompliancesResponse {
257
345
  /** List of instance OS policies compliance objects. */
258
- instanceOsPoliciesCompliances?: InstanceOSPoliciesCompliance[];
346
+ instanceOsPoliciesCompliances?:
347
+ InstanceOSPoliciesCompliance[];
259
348
  /** The pagination token to retrieve the next page of instance OS policies compliance objects. */
260
- nextPageToken?: string;
349
+ nextPageToken?:
350
+ string;
261
351
  }
262
352
  interface ListInventoriesResponse {
263
353
  /** List of inventory objects. */
264
- inventories?: Inventory[];
354
+ inventories?:
355
+ Inventory[];
265
356
  /** The pagination token to retrieve the next page of inventory objects. */
266
- nextPageToken?: string;
357
+ nextPageToken?:
358
+ string;
267
359
  }
268
360
  interface ListOSPolicyAssignmentReportsResponse {
269
361
  /** The pagination token to retrieve the next page of OS policy assignment report objects. */
270
- nextPageToken?: string;
362
+ nextPageToken?:
363
+ string;
271
364
  /** List of OS policy assignment reports. */
272
- osPolicyAssignmentReports?: OSPolicyAssignmentReport[];
365
+ osPolicyAssignmentReports?:
366
+ OSPolicyAssignmentReport[];
273
367
  }
274
368
  interface ListOSPolicyAssignmentRevisionsResponse {
275
369
  /** The pagination token to retrieve the next page of OS policy assignment revisions. */
276
- nextPageToken?: string;
370
+ nextPageToken?:
371
+ string;
277
372
  /** The OS policy assignment revisions */
278
- osPolicyAssignments?: OSPolicyAssignment[];
373
+ osPolicyAssignments?:
374
+ OSPolicyAssignment[];
279
375
  }
280
376
  interface ListOSPolicyAssignmentsResponse {
281
377
  /** The pagination token to retrieve the next page of OS policy assignments. */
282
- nextPageToken?: string;
378
+ nextPageToken?:
379
+ string;
283
380
  /** The list of assignments */
284
- osPolicyAssignments?: OSPolicyAssignment[];
381
+ osPolicyAssignments?:
382
+ OSPolicyAssignment[];
285
383
  }
286
384
  interface ListVulnerabilityReportsResponse {
287
385
  /** The pagination token to retrieve the next page of vulnerabilityReports object. */
288
- nextPageToken?: string;
386
+ nextPageToken?:
387
+ string;
289
388
  /** List of vulnerabilityReport objects. */
290
- vulnerabilityReports?: VulnerabilityReport[];
389
+ vulnerabilityReports?:
390
+ VulnerabilityReport[];
291
391
  }
292
392
  interface Operation {
293
393
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
294
- done?: boolean;
394
+ done?:
395
+ boolean;
295
396
  /** The error result of the operation in case of failure or cancellation. */
296
- error?: Status;
397
+ error?:
398
+ Status;
297
399
  /**
298
400
  * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
299
401
  * metadata. Any method that returns a long-running operation should document the metadata type, if any.
300
402
  */
301
- metadata?: { [P in string]: any };
403
+ metadata?:
404
+ { [P in string]: any };
302
405
  /**
303
406
  * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
304
407
  * with `operations/{unique_id}`.
305
408
  */
306
- name?: string;
409
+ name?:
410
+ string;
307
411
  /**
308
412
  * 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
309
413
  * 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
310
414
  * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
311
415
  */
312
- response?: { [P in string]: any };
416
+ response?:
417
+ { [P in string]: any };
313
418
  }
314
419
  interface OSPolicy {
315
420
  /**
316
421
  * This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM. Set this value to `true` if the policy needs to be
317
422
  * reported as compliant even if the policy has nothing to validate or enforce.
318
423
  */
319
- allowNoResourceGroupMatch?: boolean;
424
+ allowNoResourceGroupMatch?:
425
+ boolean;
320
426
  /** Policy description. Length of the description is limited to 1024 characters. */
321
- description?: string;
427
+ description?:
428
+ string;
322
429
  /**
323
430
  * Required. The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63
324
431
  * characters. * Must end with a number or a letter. * Must be unique within the assignment.
325
432
  */
326
- id?: string;
433
+ id?:
434
+ string;
327
435
  /** Required. Policy mode */
328
- mode?: string;
436
+ mode?:
437
+ string;
329
438
  /**
330
439
  * Required. List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is
331
440
  * selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled
332
441
  * by the flag `allow_no_resource_group_match`
333
442
  */
334
- resourceGroups?: OSPolicyResourceGroup[];
443
+ resourceGroups?:
444
+ OSPolicyResourceGroup[];
335
445
  }
336
446
  interface OSPolicyAssignment {
337
447
  /**
338
448
  * Output only. Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy
339
449
  * assignment, there is only one revision with a value of `true` for this field.
340
450
  */
341
- baseline?: boolean;
451
+ baseline?:
452
+ boolean;
342
453
  /** Output only. Indicates that this revision deletes the OS policy assignment. */
343
- deleted?: boolean;
454
+ deleted?:
455
+ boolean;
344
456
  /** OS policy assignment description. Length of the description is limited to 1024 characters. */
345
- description?: string;
457
+ description?:
458
+ string;
346
459
  /** The etag for this OS policy assignment. If this is provided on update, it must match the server's etag. */
347
- etag?: string;
460
+ etag?:
461
+ string;
348
462
  /** Required. Filter to select VMs. */
349
- instanceFilter?: OSPolicyAssignmentInstanceFilter;
463
+ instanceFilter?:
464
+ OSPolicyAssignmentInstanceFilter;
350
465
  /** Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment. */
351
- name?: string;
466
+ name?:
467
+ string;
352
468
  /** Required. List of OS policies to be applied to the VMs. */
353
- osPolicies?: OSPolicy[];
469
+ osPolicies?:
470
+ OSPolicy[];
354
471
  /** Output only. Indicates that reconciliation is in progress for the revision. This value is `true` when the `rollout_state` is one of: * IN_PROGRESS * CANCELLING */
355
- reconciling?: boolean;
472
+ reconciling?:
473
+ boolean;
356
474
  /** Output only. The timestamp that the revision was created. */
357
- revisionCreateTime?: string;
475
+ revisionCreateTime?:
476
+ string;
358
477
  /** Output only. The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment */
359
- revisionId?: string;
478
+ revisionId?:
479
+ string;
360
480
  /**
361
481
  * Required. Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the
362
482
  * update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.
363
483
  */
364
- rollout?: OSPolicyAssignmentRollout;
484
+ rollout?:
485
+ OSPolicyAssignmentRollout;
365
486
  /** Output only. OS policy assignment rollout state */
366
- rolloutState?: string;
487
+ rolloutState?:
488
+ string;
367
489
  /** Output only. Server generated unique id for the OS policy assignment resource. */
368
- uid?: string;
490
+ uid?:
491
+ string;
369
492
  }
370
493
  interface OSPolicyAssignmentInstanceFilter {
371
494
  /** Target all VMs in the project. If true, no other criteria is permitted. */
372
- all?: boolean;
495
+ all?:
496
+ boolean;
373
497
  /** List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM. */
374
- exclusionLabels?: OSPolicyAssignmentLabelSet[];
498
+ exclusionLabels?:
499
+ OSPolicyAssignmentLabelSet[];
375
500
  /** List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM. */
376
- inclusionLabels?: OSPolicyAssignmentLabelSet[];
501
+ inclusionLabels?:
502
+ OSPolicyAssignmentLabelSet[];
377
503
  /** List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories. */
378
- inventories?: OSPolicyAssignmentInstanceFilterInventory[];
504
+ inventories?:
505
+ OSPolicyAssignmentInstanceFilterInventory[];
379
506
  /** Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list. */
380
- osShortNames?: string[];
507
+ osShortNames?:
508
+ string[];
381
509
  }
382
510
  interface OSPolicyAssignmentInstanceFilterInventory {
383
511
  /** Required. The OS short name */
384
- osShortName?: string;
512
+ osShortName?:
513
+ string;
385
514
  /**
386
515
  * The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following
387
516
  * value for this field `7.*` An empty string matches all OS versions.
388
517
  */
389
- osVersion?: string;
518
+ osVersion?:
519
+ string;
390
520
  }
391
521
  interface OSPolicyAssignmentLabelSet {
392
522
  /** Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected. */
393
- labels?: { [P in string]: string };
523
+ labels?:
524
+ { [P in string]: string };
394
525
  }
395
526
  interface OSPolicyAssignmentOperationMetadata {
396
527
  /** The OS policy assignment API method. */
397
- apiMethod?: string;
528
+ apiMethod?:
529
+ string;
398
530
  /** Reference to the `OSPolicyAssignment` API resource. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}` */
399
- osPolicyAssignment?: string;
531
+ osPolicyAssignment?:
532
+ string;
400
533
  /** Rollout start time */
401
- rolloutStartTime?: string;
534
+ rolloutStartTime?:
535
+ string;
402
536
  /** State of the rollout */
403
- rolloutState?: string;
537
+ rolloutState?:
538
+ string;
404
539
  /** Rollout update time */
405
- rolloutUpdateTime?: string;
540
+ rolloutUpdateTime?:
541
+ string;
406
542
  }
407
543
  interface OSPolicyAssignmentReport {
408
544
  /** The Compute Engine VM instance name. */
409
- instance?: string;
545
+ instance?:
546
+ string;
410
547
  /**
411
548
  * Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS
412
549
  * policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent
413
550
  * logs.
414
551
  */
415
- lastRunId?: string;
552
+ lastRunId?:
553
+ string;
416
554
  /**
417
555
  * The `OSPolicyAssignmentReport` API resource name. Format:
418
556
  * `projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report`
419
557
  */
420
- name?: string;
558
+ name?:
559
+ string;
421
560
  /**
422
561
  * Reference to the `OSPolicyAssignment` API resource that the `OSPolicy` belongs to. Format:
423
562
  * `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}`
424
563
  */
425
- osPolicyAssignment?: string;
564
+ osPolicyAssignment?:
565
+ string;
426
566
  /** Compliance data for each `OSPolicy` that is applied to the VM. */
427
- osPolicyCompliances?: OSPolicyAssignmentReportOSPolicyCompliance[];
567
+ osPolicyCompliances?:
568
+ OSPolicyAssignmentReportOSPolicyCompliance[];
428
569
  /** Timestamp for when the report was last generated. */
429
- updateTime?: string;
570
+ updateTime?:
571
+ string;
430
572
  }
431
573
  interface OSPolicyAssignmentReportOSPolicyCompliance {
432
574
  /** The compliance state of the OS policy. */
433
- complianceState?: string;
575
+ complianceState?:
576
+ string;
434
577
  /**
435
578
  * The reason for the OS policy to be in an unknown compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. If populated, the field can contain one of
436
579
  * the following values: * `vm-not-running`: The VM was not running. * `os-policies-not-supported-by-agent`: The version of the OS Config agent running on the VM does not support
@@ -440,170 +583,221 @@ declare namespace gapi.client {
440
583
  * different task. This mostly happens when the agent or VM unexpectedly restarts while applying OS policies. * `internal-service-errors`: Internal service errors were encountered
441
584
  * while attempting to apply the policy.
442
585
  */
443
- complianceStateReason?: string;
586
+ complianceStateReason?:
587
+ string;
444
588
  /** The OS policy id */
445
- osPolicyId?: string;
589
+ osPolicyId?:
590
+ string;
446
591
  /** Compliance data for each resource within the policy that is applied to the VM. */
447
- osPolicyResourceCompliances?: OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance[];
592
+ osPolicyResourceCompliances?:
593
+ OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance[];
448
594
  }
449
595
  interface OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance {
450
596
  /** The compliance state of the resource. */
451
- complianceState?: string;
597
+ complianceState?:
598
+ string;
452
599
  /**
453
600
  * A reason for the resource to be in the given compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. The following values are supported when
454
601
  * `compliance_state == UNKNOWN` * `execution-errors`: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined. *
455
602
  * `execution-skipped-by-agent`: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy. *
456
603
  * `os-policy-execution-attempt-failed`: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.
457
604
  */
458
- complianceStateReason?: string;
605
+ complianceStateReason?:
606
+ string;
459
607
  /** Ordered list of configuration completed by the agent for the OS policy resource. */
460
- configSteps?: OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep[];
608
+ configSteps?:
609
+ OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep[];
461
610
  /** ExecResource specific output. */
462
- execResourceOutput?: OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput;
611
+ execResourceOutput?:
612
+ OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput;
463
613
  /** The ID of the OS policy resource. */
464
- osPolicyResourceId?: string;
614
+ osPolicyResourceId?:
615
+ string;
465
616
  }
466
617
  interface OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput {
467
618
  /** Output from enforcement phase output file (if run). Output size is limited to 100K bytes. */
468
- enforcementOutput?: string;
619
+ enforcementOutput?:
620
+ string;
469
621
  }
470
622
  interface OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep {
471
623
  /** An error message recorded during the execution of this step. Only populated if errors were encountered during this step execution. */
472
- errorMessage?: string;
624
+ errorMessage?:
625
+ string;
473
626
  /** Configuration step type. */
474
- type?: string;
627
+ type?:
628
+ string;
475
629
  }
476
630
  interface OSPolicyAssignmentRollout {
477
631
  /** Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment. */
478
- disruptionBudget?: FixedOrPercent;
632
+ disruptionBudget?:
633
+ FixedOrPercent;
479
634
  /**
480
635
  * Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the
481
636
  * `disruption_budget` at least until this duration of time has passed after configuration changes are applied.
482
637
  */
483
- minWaitDuration?: string;
638
+ minWaitDuration?:
639
+ string;
484
640
  }
485
641
  interface OSPolicyInventoryFilter {
486
642
  /** Required. The OS short name */
487
- osShortName?: string;
643
+ osShortName?:
644
+ string;
488
645
  /**
489
646
  * The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following
490
647
  * value for this field `7.*` An empty string matches all OS versions.
491
648
  */
492
- osVersion?: string;
649
+ osVersion?:
650
+ string;
493
651
  }
494
652
  interface OSPolicyOSFilter {
495
653
  /** This should match OS short name emitted by the OS inventory agent. An empty value matches any OS. */
496
- osShortName?: string;
654
+ osShortName?:
655
+ string;
497
656
  /**
498
657
  * This value should match the version emitted by the OS inventory agent. Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all
499
658
  * versions with a major version of `7`, specify the following value for this field `7.*`
500
659
  */
501
- osVersion?: string;
660
+ osVersion?:
661
+ string;
502
662
  }
503
663
  interface OSPolicyResource {
504
664
  /** Exec resource */
505
- exec?: OSPolicyResourceExecResource;
665
+ exec?:
666
+ OSPolicyResourceExecResource;
506
667
  /** File resource */
507
- file?: OSPolicyResourceFileResource;
668
+ file?:
669
+ OSPolicyResourceFileResource;
508
670
  /**
509
671
  * Required. The id of the resource with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63
510
672
  * characters. * Must end with a number or a letter. * Must be unique within the OS policy.
511
673
  */
512
- id?: string;
674
+ id?:
675
+ string;
513
676
  /** Package resource */
514
- pkg?: OSPolicyResourcePackageResource;
677
+ pkg?:
678
+ OSPolicyResourcePackageResource;
515
679
  /** Package repository resource */
516
- repository?: OSPolicyResourceRepositoryResource;
680
+ repository?:
681
+ OSPolicyResourceRepositoryResource;
517
682
  }
518
683
  interface OSPolicyResourceCompliance {
519
684
  /** Ordered list of configuration steps taken by the agent for the OS policy resource. */
520
- configSteps?: OSPolicyResourceConfigStep[];
685
+ configSteps?:
686
+ OSPolicyResourceConfigStep[];
521
687
  /** ExecResource specific output. */
522
- execResourceOutput?: OSPolicyResourceComplianceExecResourceOutput;
688
+ execResourceOutput?:
689
+ OSPolicyResourceComplianceExecResourceOutput;
523
690
  /** The id of the OS policy resource. */
524
- osPolicyResourceId?: string;
691
+ osPolicyResourceId?:
692
+ string;
525
693
  /** Compliance state of the OS policy resource. */
526
- state?: string;
694
+ state?:
695
+ string;
527
696
  }
528
697
  interface OSPolicyResourceComplianceExecResourceOutput {
529
698
  /** Output from Enforcement phase output file (if run). Output size is limited to 100K bytes. */
530
- enforcementOutput?: string;
699
+ enforcementOutput?:
700
+ string;
531
701
  }
532
702
  interface OSPolicyResourceConfigStep {
533
703
  /** An error message recorded during the execution of this step. Only populated when outcome is FAILED. */
534
- errorMessage?: string;
704
+ errorMessage?:
705
+ string;
535
706
  /** Outcome of the configuration step. */
536
- outcome?: string;
707
+ outcome?:
708
+ string;
537
709
  /** Configuration step type. */
538
- type?: string;
710
+ type?:
711
+ string;
539
712
  }
540
713
  interface OSPolicyResourceExecResource {
541
714
  /** What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce. */
542
- enforce?: OSPolicyResourceExecResourceExec;
715
+ enforce?:
716
+ OSPolicyResourceExecResourceExec;
543
717
  /**
544
718
  * Required. What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any
545
719
  * other exit code indicates a failure running validate.
546
720
  */
547
- validate?: OSPolicyResourceExecResourceExec;
721
+ validate?:
722
+ OSPolicyResourceExecResourceExec;
548
723
  }
549
724
  interface OSPolicyResourceExecResourceExec {
550
725
  /** Optional arguments to pass to the source during execution. */
551
- args?: string[];
726
+ args?:
727
+ string[];
552
728
  /** A remote or local file. */
553
- file?: OSPolicyResourceFile;
729
+ file?:
730
+ OSPolicyResourceFile;
554
731
  /** Required. The script interpreter to use. */
555
- interpreter?: string;
732
+ interpreter?:
733
+ string;
556
734
  /**
557
735
  * Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or
558
736
  * failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
559
737
  */
560
- outputFilePath?: string;
738
+ outputFilePath?:
739
+ string;
561
740
  /** An inline script. The size of the script is limited to 32KiB. */
562
- script?: string;
741
+ script?:
742
+ string;
563
743
  }
564
744
  interface OSPolicyResourceFile {
565
745
  /**
566
746
  * Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be
567
747
  * specified.
568
748
  */
569
- allowInsecure?: boolean;
749
+ allowInsecure?:
750
+ boolean;
570
751
  /** A Cloud Storage object. */
571
- gcs?: OSPolicyResourceFileGcs;
752
+ gcs?:
753
+ OSPolicyResourceFileGcs;
572
754
  /** A local path within the VM to use. */
573
- localPath?: string;
755
+ localPath?:
756
+ string;
574
757
  /** A generic remote file. */
575
- remote?: OSPolicyResourceFileRemote;
758
+ remote?:
759
+ OSPolicyResourceFileRemote;
576
760
  }
577
761
  interface OSPolicyResourceFileGcs {
578
762
  /** Required. Bucket of the Cloud Storage object. */
579
- bucket?: string;
763
+ bucket?:
764
+ string;
580
765
  /** Generation number of the Cloud Storage object. */
581
- generation?: string;
766
+ generation?:
767
+ string;
582
768
  /** Required. Name of the Cloud Storage object. */
583
- object?: string;
769
+ object?:
770
+ string;
584
771
  }
585
772
  interface OSPolicyResourceFileRemote {
586
773
  /** SHA256 checksum of the remote file. */
587
- sha256Checksum?: string;
774
+ sha256Checksum?:
775
+ string;
588
776
  /** Required. URI from which to fetch the object. It should contain both the protocol and path following the format `{protocol}://{location}`. */
589
- uri?: string;
777
+ uri?:
778
+ string;
590
779
  }
591
780
  interface OSPolicyResourceFileResource {
592
781
  /** A a file with this content. The size of the content is limited to 32KiB. */
593
- content?: string;
782
+ content?:
783
+ string;
594
784
  /** A remote or local source. */
595
- file?: OSPolicyResourceFile;
785
+ file?:
786
+ OSPolicyResourceFile;
596
787
  /** Required. The absolute path of the file within the VM. */
597
- path?: string;
788
+ path?:
789
+ string;
598
790
  /**
599
791
  * Consists of three octal digits which represent, in order, the permissions of the owner, group, and other users for the file (similarly to the numeric mode used in the linux chmod
600
792
  * utility). Each digit represents a three bit number with the 4 bit corresponding to the read permissions, the 2 bit corresponds to the write bit, and the one bit corresponds to the
601
793
  * execute permission. Default behavior is 755. Below are some examples of permissions and their associated values: read, write, and execute: 7 read and execute: 5 read and write: 6
602
794
  * read only: 4
603
795
  */
604
- permissions?: string;
796
+ permissions?:
797
+ string;
605
798
  /** Required. Desired state of the file. */
606
- state?: string;
799
+ state?:
800
+ string;
607
801
  }
608
802
  interface OSPolicyResourceGroup {
609
803
  /**
@@ -611,384 +805,526 @@ declare namespace gapi.client {
611
805
  * For example, to apply this resource group to VMs running either `RHEL` or `CentOS` operating systems, specify 2 items for the list with following values:
612
806
  * inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally.
613
807
  */
614
- inventoryFilters?: OSPolicyInventoryFilter[];
808
+ inventoryFilters?:
809
+ OSPolicyInventoryFilter[];
615
810
  /** Deprecated. Use the `inventory_filters` field instead. Used to specify the OS filter for a resource group */
616
- osFilter?: OSPolicyOSFilter;
811
+ osFilter?:
812
+ OSPolicyOSFilter;
617
813
  /** Required. List of resources configured for this resource group. The resources are executed in the exact order specified here. */
618
- resources?: OSPolicyResource[];
814
+ resources?:
815
+ OSPolicyResource[];
619
816
  }
620
817
  interface OSPolicyResourcePackageResource {
621
818
  /** A package managed by Apt. */
622
- apt?: OSPolicyResourcePackageResourceAPT;
819
+ apt?:
820
+ OSPolicyResourcePackageResourceAPT;
623
821
  /** A deb package file. */
624
- deb?: OSPolicyResourcePackageResourceDeb;
822
+ deb?:
823
+ OSPolicyResourcePackageResourceDeb;
625
824
  /** Required. The desired state the agent should maintain for this package. */
626
- desiredState?: string;
825
+ desiredState?:
826
+ string;
627
827
  /** A package managed by GooGet. */
628
- googet?: OSPolicyResourcePackageResourceGooGet;
828
+ googet?:
829
+ OSPolicyResourcePackageResourceGooGet;
629
830
  /** An MSI package. */
630
- msi?: OSPolicyResourcePackageResourceMSI;
831
+ msi?:
832
+ OSPolicyResourcePackageResourceMSI;
631
833
  /** An rpm package file. */
632
- rpm?: OSPolicyResourcePackageResourceRPM;
834
+ rpm?:
835
+ OSPolicyResourcePackageResourceRPM;
633
836
  /** A package managed by YUM. */
634
- yum?: OSPolicyResourcePackageResourceYUM;
837
+ yum?:
838
+ OSPolicyResourcePackageResourceYUM;
635
839
  /** A package managed by Zypper. */
636
- zypper?: OSPolicyResourcePackageResourceZypper;
840
+ zypper?:
841
+ OSPolicyResourcePackageResourceZypper;
637
842
  }
638
843
  interface OSPolicyResourcePackageResourceAPT {
639
844
  /** Required. Package name. */
640
- name?: string;
845
+ name?:
846
+ string;
641
847
  }
642
848
  interface OSPolicyResourcePackageResourceDeb {
643
849
  /** Whether dependencies should also be installed. - install when false: `dpkg -i package` - install when true: `apt-get update && apt-get -y install package.deb` */
644
- pullDeps?: boolean;
850
+ pullDeps?:
851
+ boolean;
645
852
  /** Required. A deb package. */
646
- source?: OSPolicyResourceFile;
853
+ source?:
854
+ OSPolicyResourceFile;
647
855
  }
648
856
  interface OSPolicyResourcePackageResourceGooGet {
649
857
  /** Required. Package name. */
650
- name?: string;
858
+ name?:
859
+ string;
651
860
  }
652
861
  interface OSPolicyResourcePackageResourceMSI {
653
862
  /** Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of `ACTION=INSTALL REBOOT=ReallySuppress`. */
654
- properties?: string[];
863
+ properties?:
864
+ string[];
655
865
  /** Required. The MSI package. */
656
- source?: OSPolicyResourceFile;
866
+ source?:
867
+ OSPolicyResourceFile;
657
868
  }
658
869
  interface OSPolicyResourcePackageResourceRPM {
659
870
  /**
660
871
  * Whether dependencies should also be installed. - install when false: `rpm --upgrade --replacepkgs package.rpm` - install when true: `yum -y install package.rpm` or `zypper -y
661
872
  * install package.rpm`
662
873
  */
663
- pullDeps?: boolean;
874
+ pullDeps?:
875
+ boolean;
664
876
  /** Required. An rpm package. */
665
- source?: OSPolicyResourceFile;
877
+ source?:
878
+ OSPolicyResourceFile;
666
879
  }
667
880
  interface OSPolicyResourcePackageResourceYUM {
668
881
  /** Required. Package name. */
669
- name?: string;
882
+ name?:
883
+ string;
670
884
  }
671
885
  interface OSPolicyResourcePackageResourceZypper {
672
886
  /** Required. Package name. */
673
- name?: string;
887
+ name?:
888
+ string;
674
889
  }
675
890
  interface OSPolicyResourceRepositoryResource {
676
891
  /** An Apt Repository. */
677
- apt?: OSPolicyResourceRepositoryResourceAptRepository;
892
+ apt?:
893
+ OSPolicyResourceRepositoryResourceAptRepository;
678
894
  /** A Goo Repository. */
679
- goo?: OSPolicyResourceRepositoryResourceGooRepository;
895
+ goo?:
896
+ OSPolicyResourceRepositoryResourceGooRepository;
680
897
  /** A Yum Repository. */
681
- yum?: OSPolicyResourceRepositoryResourceYumRepository;
898
+ yum?:
899
+ OSPolicyResourceRepositoryResourceYumRepository;
682
900
  /** A Zypper Repository. */
683
- zypper?: OSPolicyResourceRepositoryResourceZypperRepository;
901
+ zypper?:
902
+ OSPolicyResourceRepositoryResourceZypperRepository;
684
903
  }
685
904
  interface OSPolicyResourceRepositoryResourceAptRepository {
686
905
  /** Required. Type of archive files in this repository. */
687
- archiveType?: string;
906
+ archiveType?:
907
+ string;
688
908
  /** Required. List of components for this repository. Must contain at least one item. */
689
- components?: string[];
909
+ components?:
910
+ string[];
690
911
  /** Required. Distribution of this repository. */
691
- distribution?: string;
912
+ distribution?:
913
+ string;
692
914
  /** URI of the key file for this repository. The agent maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`. */
693
- gpgKey?: string;
915
+ gpgKey?:
916
+ string;
694
917
  /** Required. URI for this repository. */
695
- uri?: string;
918
+ uri?:
919
+ string;
696
920
  }
697
921
  interface OSPolicyResourceRepositoryResourceGooRepository {
698
922
  /** Required. The name of the repository. */
699
- name?: string;
923
+ name?:
924
+ string;
700
925
  /** Required. The url of the repository. */
701
- url?: string;
926
+ url?:
927
+ string;
702
928
  }
703
929
  interface OSPolicyResourceRepositoryResourceYumRepository {
704
930
  /** Required. The location of the repository directory. */
705
- baseUrl?: string;
931
+ baseUrl?:
932
+ string;
706
933
  /** The display name of the repository. */
707
- displayName?: string;
934
+ displayName?:
935
+ string;
708
936
  /** URIs of GPG keys. */
709
- gpgKeys?: string[];
937
+ gpgKeys?:
938
+ string[];
710
939
  /**
711
940
  * Required. A one word, unique name for this repository. This is the `repo id` in the yum config file and also the `display_name` if `display_name` is omitted. This id is also used as
712
941
  * the unique identifier when checking for resource conflicts.
713
942
  */
714
- id?: string;
943
+ id?:
944
+ string;
715
945
  }
716
946
  interface OSPolicyResourceRepositoryResourceZypperRepository {
717
947
  /** Required. The location of the repository directory. */
718
- baseUrl?: string;
948
+ baseUrl?:
949
+ string;
719
950
  /** The display name of the repository. */
720
- displayName?: string;
951
+ displayName?:
952
+ string;
721
953
  /** URIs of GPG keys. */
722
- gpgKeys?: string[];
954
+ gpgKeys?:
955
+ string[];
723
956
  /**
724
957
  * Required. A one word, unique name for this repository. This is the `repo id` in the zypper config file and also the `display_name` if `display_name` is omitted. This id is also used
725
958
  * as the unique identifier when checking for GuestPolicy conflicts.
726
959
  */
727
- id?: string;
960
+ id?:
961
+ string;
728
962
  }
729
963
  interface Status {
730
964
  /** The status code, which should be an enum value of google.rpc.Code. */
731
- code?: number;
965
+ code?:
966
+ number;
732
967
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
733
- details?: Array<{ [P in string]: any }>;
968
+ details?:
969
+ Array<{ [P in string]: any }>;
734
970
  /**
735
971
  * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
736
972
  * client.
737
973
  */
738
- message?: string;
974
+ message?:
975
+ string;
739
976
  }
740
977
  interface VulnerabilityReport {
741
978
  /** Output only. The `vulnerabilityReport` API resource name. Format: `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport` */
742
- name?: string;
979
+ name?:
980
+ string;
743
981
  /** Output only. The timestamp for when the last vulnerability report was generated for the VM. */
744
- updateTime?: string;
982
+ updateTime?:
983
+ string;
745
984
  /** Output only. List of vulnerabilities affecting the VM. */
746
- vulnerabilities?: VulnerabilityReportVulnerability[];
985
+ vulnerabilities?:
986
+ VulnerabilityReportVulnerability[];
747
987
  }
748
988
  interface VulnerabilityReportVulnerability {
749
989
  /**
750
990
  * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM
751
991
  * inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
752
992
  */
753
- availableInventoryItemIds?: string[];
993
+ availableInventoryItemIds?:
994
+ string[];
754
995
  /** The timestamp for when the vulnerability was first detected. */
755
- createTime?: string;
996
+ createTime?:
997
+ string;
756
998
  /** Contains metadata as per the upstream feed of the operating system and NVD. */
757
- details?: VulnerabilityReportVulnerabilityDetails;
999
+ details?:
1000
+ VulnerabilityReportVulnerabilityDetails;
758
1001
  /**
759
1002
  * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated
760
1003
  * after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.
761
1004
  */
762
- installedInventoryItemIds?: string[];
1005
+ installedInventoryItemIds?:
1006
+ string[];
763
1007
  /** List of items affected by the vulnerability. */
764
- items?: VulnerabilityReportVulnerabilityItem[];
1008
+ items?:
1009
+ VulnerabilityReportVulnerabilityItem[];
765
1010
  /** The timestamp for when the vulnerability was last modified. */
766
- updateTime?: string;
1011
+ updateTime?:
1012
+ string;
767
1013
  }
768
1014
  interface VulnerabilityReportVulnerabilityDetails {
769
1015
  /** The CVE of the vulnerability. CVE cannot be empty and the combination of should be unique across vulnerabilities for a VM. */
770
- cve?: string;
1016
+ cve?:
1017
+ string;
771
1018
  /** The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity. */
772
- cvssV2Score?: number;
1019
+ cvssV2Score?:
1020
+ number;
773
1021
  /** The full description of the CVSSv3 for this vulnerability from NVD. */
774
- cvssV3?: CVSSv3;
1022
+ cvssV3?:
1023
+ CVSSv3;
775
1024
  /** The note or description describing the vulnerability from the distro. */
776
- description?: string;
1025
+ description?:
1026
+ string;
777
1027
  /** Corresponds to the references attached to the `VulnerabilityDetails`. */
778
- references?: VulnerabilityReportVulnerabilityDetailsReference[];
1028
+ references?:
1029
+ VulnerabilityReportVulnerabilityDetailsReference[];
779
1030
  /** Assigned severity/impact ranking from the distro. */
780
- severity?: string;
1031
+ severity?:
1032
+ string;
781
1033
  }
782
1034
  interface VulnerabilityReportVulnerabilityDetailsReference {
783
1035
  /** The source of the reference e.g. NVD. */
784
- source?: string;
1036
+ source?:
1037
+ string;
785
1038
  /** The url of the reference. */
786
- url?: string;
1039
+ url?:
1040
+ string;
787
1041
  }
788
1042
  interface VulnerabilityReportVulnerabilityItem {
789
1043
  /**
790
1044
  * Corresponds to the `AVAILABLE_PACKAGE` inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM
791
1045
  * inventory. If there is no available fix, the field is empty. The `inventory_item` value specifies the latest `SoftwarePackage` available to the VM that fixes the vulnerability.
792
1046
  */
793
- availableInventoryItemId?: string;
1047
+ availableInventoryItemId?:
1048
+ string;
794
1049
  /** The recommended [CPE URI](https://cpe.mitre.org/specification/) update that contains a fix for this vulnerability. */
795
- fixedCpeUri?: string;
1050
+ fixedCpeUri?:
1051
+ string;
796
1052
  /**
797
1053
  * Corresponds to the `INSTALLED_PACKAGE` inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated
798
1054
  * after the VM inventory update, these values might not display in VM inventory. For some operating systems, this field might be empty.
799
1055
  */
800
- installedInventoryItemId?: string;
1056
+ installedInventoryItemId?:
1057
+ string;
801
1058
  /** The upstream OS patch, packages or KB that fixes the vulnerability. */
802
- upstreamFix?: string;
1059
+ upstreamFix?:
1060
+ string;
803
1061
  }
804
1062
  interface InstanceOSPoliciesCompliancesResource {
805
1063
  /** Get OS policies compliance data for the specified Compute Engine VM instance. */
806
1064
  get(request?: {
807
1065
  /** V1 error format. */
808
- "$.xgafv"?: string;
1066
+ "$.xgafv"?:
1067
+ string;
809
1068
  /** OAuth access token. */
810
- access_token?: string;
1069
+ access_token?:
1070
+ string;
811
1071
  /** Data format for response. */
812
- alt?: string;
1072
+ alt?:
1073
+ string;
813
1074
  /** JSONP */
814
- callback?: string;
1075
+ callback?:
1076
+ string;
815
1077
  /** Selector specifying which fields to include in a partial response. */
816
- fields?: string;
1078
+ fields?:
1079
+ string;
817
1080
  /** 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. */
818
- key?: string;
1081
+ key?:
1082
+ string;
819
1083
  /**
820
1084
  * Required. API resource name for instance OS policies compliance resource. Format: `projects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}` For
821
1085
  * `{project}`, either Compute Engine project-number or project-id can be provided. For `{instance}`, either Compute Engine VM instance-id or instance-name can be provided.
822
1086
  */
823
- name: string;
1087
+ name:
1088
+ string;
824
1089
  /** OAuth 2.0 token for the current user. */
825
- oauth_token?: string;
1090
+ oauth_token?:
1091
+ string;
826
1092
  /** Returns response with indentations and line breaks. */
827
- prettyPrint?: boolean;
1093
+ prettyPrint?:
1094
+ boolean;
828
1095
  /** 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. */
829
- quotaUser?: string;
1096
+ quotaUser?:
1097
+ string;
830
1098
  /** Upload protocol for media (e.g. "raw", "multipart"). */
831
- upload_protocol?: string;
1099
+ upload_protocol?:
1100
+ string;
832
1101
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
833
- uploadType?: string;
1102
+ uploadType?:
1103
+ string;
834
1104
  }): Request<InstanceOSPoliciesCompliance>;
835
1105
  /** List OS policies compliance data for all Compute Engine VM instances in the specified zone. */
836
1106
  list(request?: {
837
1107
  /** V1 error format. */
838
- "$.xgafv"?: string;
1108
+ "$.xgafv"?:
1109
+ string;
839
1110
  /** OAuth access token. */
840
- access_token?: string;
1111
+ access_token?:
1112
+ string;
841
1113
  /** Data format for response. */
842
- alt?: string;
1114
+ alt?:
1115
+ string;
843
1116
  /** JSONP */
844
- callback?: string;
1117
+ callback?:
1118
+ string;
845
1119
  /** Selector specifying which fields to include in a partial response. */
846
- fields?: string;
1120
+ fields?:
1121
+ string;
847
1122
  /** If provided, this field specifies the criteria that must be met by a `InstanceOSPoliciesCompliance` API resource to be included in the response. */
848
- filter?: string;
1123
+ filter?:
1124
+ string;
849
1125
  /** 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. */
850
- key?: string;
1126
+ key?:
1127
+ string;
851
1128
  /** OAuth 2.0 token for the current user. */
852
- oauth_token?: string;
1129
+ oauth_token?:
1130
+ string;
853
1131
  /** The maximum number of results to return. */
854
- pageSize?: number;
1132
+ pageSize?:
1133
+ number;
855
1134
  /** A pagination token returned from a previous call to `ListInstanceOSPoliciesCompliances` that indicates where this listing should continue from. */
856
- pageToken?: string;
1135
+ pageToken?:
1136
+ string;
857
1137
  /** Required. The parent resource name. Format: `projects/{project}/locations/{location}` For `{project}`, either Compute Engine project-number or project-id can be provided. */
858
- parent: string;
1138
+ parent:
1139
+ string;
859
1140
  /** Returns response with indentations and line breaks. */
860
- prettyPrint?: boolean;
1141
+ prettyPrint?:
1142
+ boolean;
861
1143
  /** 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. */
862
- quotaUser?: string;
1144
+ quotaUser?:
1145
+ string;
863
1146
  /** Upload protocol for media (e.g. "raw", "multipart"). */
864
- upload_protocol?: string;
1147
+ upload_protocol?:
1148
+ string;
865
1149
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
866
- uploadType?: string;
1150
+ uploadType?:
1151
+ string;
867
1152
  }): Request<ListInstanceOSPoliciesCompliancesResponse>;
868
1153
  }
869
1154
  interface InventoriesResource {
870
1155
  /** Get inventory data for the specified VM instance. If the VM has no associated inventory, the message `NOT_FOUND` is returned. */
871
1156
  get(request?: {
872
1157
  /** V1 error format. */
873
- "$.xgafv"?: string;
1158
+ "$.xgafv"?:
1159
+ string;
874
1160
  /** OAuth access token. */
875
- access_token?: string;
1161
+ access_token?:
1162
+ string;
876
1163
  /** Data format for response. */
877
- alt?: string;
1164
+ alt?:
1165
+ string;
878
1166
  /** JSONP */
879
- callback?: string;
1167
+ callback?:
1168
+ string;
880
1169
  /** Selector specifying which fields to include in a partial response. */
881
- fields?: string;
1170
+ fields?:
1171
+ string;
882
1172
  /** 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. */
883
- key?: string;
1173
+ key?:
1174
+ string;
884
1175
  /**
885
1176
  * Required. API resource name for inventory resource. Format: `projects/{project}/locations/{location}/instances/{instance}/inventory` For `{project}`, either `project-number` or
886
1177
  * `project-id` can be provided. For `{instance}`, either Compute Engine `instance-id` or `instance-name` can be provided.
887
1178
  */
888
- name: string;
1179
+ name:
1180
+ string;
889
1181
  /** OAuth 2.0 token for the current user. */
890
- oauth_token?: string;
1182
+ oauth_token?:
1183
+ string;
891
1184
  /** Returns response with indentations and line breaks. */
892
- prettyPrint?: boolean;
1185
+ prettyPrint?:
1186
+ boolean;
893
1187
  /** 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. */
894
- quotaUser?: string;
1188
+ quotaUser?:
1189
+ string;
895
1190
  /** Upload protocol for media (e.g. "raw", "multipart"). */
896
- upload_protocol?: string;
1191
+ upload_protocol?:
1192
+ string;
897
1193
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
898
- uploadType?: string;
1194
+ uploadType?:
1195
+ string;
899
1196
  /** Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC. */
900
- view?: string;
1197
+ view?:
1198
+ string;
901
1199
  }): Request<Inventory>;
902
1200
  /** List inventory data for all VM instances in the specified zone. */
903
1201
  list(request?: {
904
1202
  /** V1 error format. */
905
- "$.xgafv"?: string;
1203
+ "$.xgafv"?:
1204
+ string;
906
1205
  /** OAuth access token. */
907
- access_token?: string;
1206
+ access_token?:
1207
+ string;
908
1208
  /** Data format for response. */
909
- alt?: string;
1209
+ alt?:
1210
+ string;
910
1211
  /** JSONP */
911
- callback?: string;
1212
+ callback?:
1213
+ string;
912
1214
  /** Selector specifying which fields to include in a partial response. */
913
- fields?: string;
1215
+ fields?:
1216
+ string;
914
1217
  /** If provided, this field specifies the criteria that must be met by a `Inventory` API resource to be included in the response. */
915
- filter?: string;
1218
+ filter?:
1219
+ string;
916
1220
  /** 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. */
917
- key?: string;
1221
+ key?:
1222
+ string;
918
1223
  /** OAuth 2.0 token for the current user. */
919
- oauth_token?: string;
1224
+ oauth_token?:
1225
+ string;
920
1226
  /** The maximum number of results to return. */
921
- pageSize?: number;
1227
+ pageSize?:
1228
+ number;
922
1229
  /** A pagination token returned from a previous call to `ListInventories` that indicates where this listing should continue from. */
923
- pageToken?: string;
1230
+ pageToken?:
1231
+ string;
924
1232
  /** Required. The parent resource name. Format: `projects/{project}/locations/{location}/instances/-` For `{project}`, either `project-number` or `project-id` can be provided. */
925
- parent: string;
1233
+ parent:
1234
+ string;
926
1235
  /** Returns response with indentations and line breaks. */
927
- prettyPrint?: boolean;
1236
+ prettyPrint?:
1237
+ boolean;
928
1238
  /** 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. */
929
- quotaUser?: string;
1239
+ quotaUser?:
1240
+ string;
930
1241
  /** Upload protocol for media (e.g. "raw", "multipart"). */
931
- upload_protocol?: string;
1242
+ upload_protocol?:
1243
+ string;
932
1244
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
933
- uploadType?: string;
1245
+ uploadType?:
1246
+ string;
934
1247
  /** Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC. */
935
- view?: string;
1248
+ view?:
1249
+ string;
936
1250
  }): Request<ListInventoriesResponse>;
937
1251
  }
938
1252
  interface ReportsResource {
939
1253
  /** Get the OS policy asssignment report for the specified Compute Engine VM instance. */
940
1254
  get(request?: {
941
1255
  /** V1 error format. */
942
- "$.xgafv"?: string;
1256
+ "$.xgafv"?:
1257
+ string;
943
1258
  /** OAuth access token. */
944
- access_token?: string;
1259
+ access_token?:
1260
+ string;
945
1261
  /** Data format for response. */
946
- alt?: string;
1262
+ alt?:
1263
+ string;
947
1264
  /** JSONP */
948
- callback?: string;
1265
+ callback?:
1266
+ string;
949
1267
  /** Selector specifying which fields to include in a partial response. */
950
- fields?: string;
1268
+ fields?:
1269
+ string;
951
1270
  /** 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. */
952
- key?: string;
1271
+ key?:
1272
+ string;
953
1273
  /**
954
1274
  * Required. API resource name for OS policy assignment report. Format: `/projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/report` For
955
1275
  * `{project}`, either `project-number` or `project-id` can be provided. For `{instance_id}`, either Compute Engine `instance-id` or `instance-name` can be provided. For
956
1276
  * `{assignment_id}`, the OSPolicyAssignment id must be provided.
957
1277
  */
958
- name: string;
1278
+ name:
1279
+ string;
959
1280
  /** OAuth 2.0 token for the current user. */
960
- oauth_token?: string;
1281
+ oauth_token?:
1282
+ string;
961
1283
  /** Returns response with indentations and line breaks. */
962
- prettyPrint?: boolean;
1284
+ prettyPrint?:
1285
+ boolean;
963
1286
  /** 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. */
964
- quotaUser?: string;
1287
+ quotaUser?:
1288
+ string;
965
1289
  /** Upload protocol for media (e.g. "raw", "multipart"). */
966
- upload_protocol?: string;
1290
+ upload_protocol?:
1291
+ string;
967
1292
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
968
- uploadType?: string;
1293
+ uploadType?:
1294
+ string;
969
1295
  }): Request<OSPolicyAssignmentReport>;
970
1296
  /** List OS policy asssignment reports for all Compute Engine VM instances in the specified zone. */
971
1297
  list(request?: {
972
1298
  /** V1 error format. */
973
- "$.xgafv"?: string;
1299
+ "$.xgafv"?:
1300
+ string;
974
1301
  /** OAuth access token. */
975
- access_token?: string;
1302
+ access_token?:
1303
+ string;
976
1304
  /** Data format for response. */
977
- alt?: string;
1305
+ alt?:
1306
+ string;
978
1307
  /** JSONP */
979
- callback?: string;
1308
+ callback?:
1309
+ string;
980
1310
  /** Selector specifying which fields to include in a partial response. */
981
- fields?: string;
1311
+ fields?:
1312
+ string;
982
1313
  /** If provided, this field specifies the criteria that must be met by the `OSPolicyAssignmentReport` API resource that is included in the response. */
983
- filter?: string;
1314
+ filter?:
1315
+ string;
984
1316
  /** 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. */
985
- key?: string;
1317
+ key?:
1318
+ string;
986
1319
  /** OAuth 2.0 token for the current user. */
987
- oauth_token?: string;
1320
+ oauth_token?:
1321
+ string;
988
1322
  /** The maximum number of results to return. */
989
- pageSize?: number;
1323
+ pageSize?:
1324
+ number;
990
1325
  /** A pagination token returned from a previous call to the `ListOSPolicyAssignmentReports` method that indicates where this listing should continue from. */
991
- pageToken?: string;
1326
+ pageToken?:
1327
+ string;
992
1328
  /**
993
1329
  * Required. The parent resource name. Format: `projects/{project}/locations/{location}/instances/{instance}/osPolicyAssignments/{assignment}/reports` For `{project}`, either
994
1330
  * `project-number` or `project-id` can be provided. For `{instance}`, either `instance-name`, `instance-id`, or `-` can be provided. If '-' is provided, the response will include
@@ -998,63 +1334,86 @@ declare namespace gapi.client {
998
1334
  * `projects/{project}/locations/{location}/instances/-/osPolicyAssignments/{assignment-id}/reports` returns all the reports for the given assignment across all instances.
999
1335
  * `projects/{project}/locations/{location}/instances/-/osPolicyAssignments/-/reports` returns all the reports for all assignments across all instances.
1000
1336
  */
1001
- parent: string;
1337
+ parent:
1338
+ string;
1002
1339
  /** Returns response with indentations and line breaks. */
1003
- prettyPrint?: boolean;
1340
+ prettyPrint?:
1341
+ boolean;
1004
1342
  /** 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. */
1005
- quotaUser?: string;
1343
+ quotaUser?:
1344
+ string;
1006
1345
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1007
- upload_protocol?: string;
1346
+ upload_protocol?:
1347
+ string;
1008
1348
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1009
- uploadType?: string;
1349
+ uploadType?:
1350
+ string;
1010
1351
  }): Request<ListOSPolicyAssignmentReportsResponse>;
1011
1352
  }
1012
1353
  interface OsPolicyAssignmentsResource {
1013
- reports: ReportsResource;
1354
+ reports:
1355
+ ReportsResource;
1014
1356
  }
1015
1357
  interface VulnerabilityReportsResource {
1016
1358
  /** Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them. */
1017
1359
  get(request?: {
1018
1360
  /** V1 error format. */
1019
- "$.xgafv"?: string;
1361
+ "$.xgafv"?:
1362
+ string;
1020
1363
  /** OAuth access token. */
1021
- access_token?: string;
1364
+ access_token?:
1365
+ string;
1022
1366
  /** Data format for response. */
1023
- alt?: string;
1367
+ alt?:
1368
+ string;
1024
1369
  /** JSONP */
1025
- callback?: string;
1370
+ callback?:
1371
+ string;
1026
1372
  /** Selector specifying which fields to include in a partial response. */
1027
- fields?: string;
1373
+ fields?:
1374
+ string;
1028
1375
  /** 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. */
1029
- key?: string;
1376
+ key?:
1377
+ string;
1030
1378
  /**
1031
1379
  * Required. API resource name for vulnerability resource. Format: `projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport` For `{project}`, either
1032
1380
  * `project-number` or `project-id` can be provided. For `{instance}`, either Compute Engine `instance-id` or `instance-name` can be provided.
1033
1381
  */
1034
- name: string;
1382
+ name:
1383
+ string;
1035
1384
  /** OAuth 2.0 token for the current user. */
1036
- oauth_token?: string;
1385
+ oauth_token?:
1386
+ string;
1037
1387
  /** Returns response with indentations and line breaks. */
1038
- prettyPrint?: boolean;
1388
+ prettyPrint?:
1389
+ boolean;
1039
1390
  /** 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. */
1040
- quotaUser?: string;
1391
+ quotaUser?:
1392
+ string;
1041
1393
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1042
- upload_protocol?: string;
1394
+ upload_protocol?:
1395
+ string;
1043
1396
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
- uploadType?: string;
1397
+ uploadType?:
1398
+ string;
1045
1399
  }): Request<VulnerabilityReport>;
1046
1400
  /** List vulnerability reports for all VM instances in the specified zone. */
1047
1401
  list(request?: {
1048
1402
  /** V1 error format. */
1049
- "$.xgafv"?: string;
1403
+ "$.xgafv"?:
1404
+ string;
1050
1405
  /** OAuth access token. */
1051
- access_token?: string;
1406
+ access_token?:
1407
+ string;
1052
1408
  /** Data format for response. */
1053
- alt?: string;
1409
+ alt?:
1410
+ string;
1054
1411
  /** JSONP */
1055
- callback?: string;
1412
+ callback?:
1413
+ string;
1056
1414
  /** Selector specifying which fields to include in a partial response. */
1057
- fields?: string;
1415
+ fields?:
1416
+ string;
1058
1417
  /**
1059
1418
  * This field supports filtering by the severity level for the vulnerability. For a list of severity levels, see [Severity levels for
1060
1419
  * vulnerabilities](https://cloud.google.com/container-analysis/docs/container-scanning-overview#severity_levels_for_vulnerabilities). The filter field follows the rules described
@@ -1062,31 +1421,44 @@ declare namespace gapi.client {
1062
1421
  * classified as medium by specifying `vulnerabilities.details.severity:MEDIUM`. + **Filter for a range of severities** : you can list reports that have vulnerabilities that are
1063
1422
  * classified as critical or high by specifying `vulnerabilities.details.severity:HIGH OR vulnerabilities.details.severity:CRITICAL`
1064
1423
  */
1065
- filter?: string;
1424
+ filter?:
1425
+ string;
1066
1426
  /** 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. */
1067
- key?: string;
1427
+ key?:
1428
+ string;
1068
1429
  /** OAuth 2.0 token for the current user. */
1069
- oauth_token?: string;
1430
+ oauth_token?:
1431
+ string;
1070
1432
  /** The maximum number of results to return. */
1071
- pageSize?: number;
1433
+ pageSize?:
1434
+ number;
1072
1435
  /** A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from. */
1073
- pageToken?: string;
1436
+ pageToken?:
1437
+ string;
1074
1438
  /** Required. The parent resource name. Format: `projects/{project}/locations/{location}/instances/-` For `{project}`, either `project-number` or `project-id` can be provided. */
1075
- parent: string;
1439
+ parent:
1440
+ string;
1076
1441
  /** Returns response with indentations and line breaks. */
1077
- prettyPrint?: boolean;
1442
+ prettyPrint?:
1443
+ boolean;
1078
1444
  /** 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. */
1079
- quotaUser?: string;
1445
+ quotaUser?:
1446
+ string;
1080
1447
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1081
- upload_protocol?: string;
1448
+ upload_protocol?:
1449
+ string;
1082
1450
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1083
- uploadType?: string;
1451
+ uploadType?:
1452
+ string;
1084
1453
  }): Request<ListVulnerabilityReportsResponse>;
1085
1454
  }
1086
1455
  interface InstancesResource {
1087
- inventories: InventoriesResource;
1088
- osPolicyAssignments: OsPolicyAssignmentsResource;
1089
- vulnerabilityReports: VulnerabilityReportsResource;
1456
+ inventories:
1457
+ InventoriesResource;
1458
+ osPolicyAssignments:
1459
+ OsPolicyAssignmentsResource;
1460
+ vulnerabilityReports:
1461
+ VulnerabilityReportsResource;
1090
1462
  }
1091
1463
  interface OperationsResource {
1092
1464
  /**
@@ -1097,85 +1469,122 @@ declare namespace gapi.client {
1097
1469
  */
1098
1470
  cancel(request: {
1099
1471
  /** V1 error format. */
1100
- "$.xgafv"?: string;
1472
+ "$.xgafv"?:
1473
+ string;
1101
1474
  /** OAuth access token. */
1102
- access_token?: string;
1475
+ access_token?:
1476
+ string;
1103
1477
  /** Data format for response. */
1104
- alt?: string;
1478
+ alt?:
1479
+ string;
1105
1480
  /** JSONP */
1106
- callback?: string;
1481
+ callback?:
1482
+ string;
1107
1483
  /** Selector specifying which fields to include in a partial response. */
1108
- fields?: string;
1484
+ fields?:
1485
+ string;
1109
1486
  /** 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. */
1110
- key?: string;
1487
+ key?:
1488
+ string;
1111
1489
  /** The name of the operation resource to be cancelled. */
1112
- name: string;
1490
+ name:
1491
+ string;
1113
1492
  /** OAuth 2.0 token for the current user. */
1114
- oauth_token?: string;
1493
+ oauth_token?:
1494
+ string;
1115
1495
  /** Returns response with indentations and line breaks. */
1116
- prettyPrint?: boolean;
1496
+ prettyPrint?:
1497
+ boolean;
1117
1498
  /** 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. */
1118
- quotaUser?: string;
1499
+ quotaUser?:
1500
+ string;
1119
1501
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1120
- upload_protocol?: string;
1502
+ upload_protocol?:
1503
+ string;
1121
1504
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1122
- uploadType?: string;
1505
+ uploadType?:
1506
+ string;
1123
1507
  /** Request body */
1124
- resource: CancelOperationRequest;
1508
+ resource:
1509
+ CancelOperationRequest;
1125
1510
  }): Request<{}>;
1126
1511
  cancel(request: {
1127
1512
  /** V1 error format. */
1128
- "$.xgafv"?: string;
1513
+ "$.xgafv"?:
1514
+ string;
1129
1515
  /** OAuth access token. */
1130
- access_token?: string;
1516
+ access_token?:
1517
+ string;
1131
1518
  /** Data format for response. */
1132
- alt?: string;
1519
+ alt?:
1520
+ string;
1133
1521
  /** JSONP */
1134
- callback?: string;
1522
+ callback?:
1523
+ string;
1135
1524
  /** Selector specifying which fields to include in a partial response. */
1136
- fields?: string;
1525
+ fields?:
1526
+ string;
1137
1527
  /** 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. */
1138
- key?: string;
1528
+ key?:
1529
+ string;
1139
1530
  /** The name of the operation resource to be cancelled. */
1140
- name: string;
1531
+ name:
1532
+ string;
1141
1533
  /** OAuth 2.0 token for the current user. */
1142
- oauth_token?: string;
1534
+ oauth_token?:
1535
+ string;
1143
1536
  /** Returns response with indentations and line breaks. */
1144
- prettyPrint?: boolean;
1537
+ prettyPrint?:
1538
+ boolean;
1145
1539
  /** 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. */
1146
- quotaUser?: string;
1540
+ quotaUser?:
1541
+ string;
1147
1542
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1148
- upload_protocol?: string;
1543
+ upload_protocol?:
1544
+ string;
1149
1545
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1150
- uploadType?: string;
1546
+ uploadType?:
1547
+ string;
1151
1548
  },
1152
1549
  body: CancelOperationRequest): Request<{}>;
1153
1550
  /** 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. */
1154
1551
  get(request?: {
1155
1552
  /** V1 error format. */
1156
- "$.xgafv"?: string;
1553
+ "$.xgafv"?:
1554
+ string;
1157
1555
  /** OAuth access token. */
1158
- access_token?: string;
1556
+ access_token?:
1557
+ string;
1159
1558
  /** Data format for response. */
1160
- alt?: string;
1559
+ alt?:
1560
+ string;
1161
1561
  /** JSONP */
1162
- callback?: string;
1562
+ callback?:
1563
+ string;
1163
1564
  /** Selector specifying which fields to include in a partial response. */
1164
- fields?: string;
1565
+ fields?:
1566
+ string;
1165
1567
  /** 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. */
1166
- key?: string;
1568
+ key?:
1569
+ string;
1167
1570
  /** The name of the operation resource. */
1168
- name: string;
1571
+ name:
1572
+ string;
1169
1573
  /** OAuth 2.0 token for the current user. */
1170
- oauth_token?: string;
1574
+ oauth_token?:
1575
+ string;
1171
1576
  /** Returns response with indentations and line breaks. */
1172
- prettyPrint?: boolean;
1577
+ prettyPrint?:
1578
+ boolean;
1173
1579
  /** 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. */
1174
- quotaUser?: string;
1580
+ quotaUser?:
1581
+ string;
1175
1582
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1176
- upload_protocol?: string;
1583
+ upload_protocol?:
1584
+ string;
1177
1585
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1178
- uploadType?: string;
1586
+ uploadType?:
1587
+ string;
1179
1588
  }): Request<Operation>;
1180
1589
  }
1181
1590
  interface OsPolicyAssignmentsResource {
@@ -1186,67 +1595,94 @@ declare namespace gapi.client {
1186
1595
  */
1187
1596
  create(request: {
1188
1597
  /** V1 error format. */
1189
- "$.xgafv"?: string;
1598
+ "$.xgafv"?:
1599
+ string;
1190
1600
  /** OAuth access token. */
1191
- access_token?: string;
1601
+ access_token?:
1602
+ string;
1192
1603
  /** Data format for response. */
1193
- alt?: string;
1604
+ alt?:
1605
+ string;
1194
1606
  /** JSONP */
1195
- callback?: string;
1607
+ callback?:
1608
+ string;
1196
1609
  /** Selector specifying which fields to include in a partial response. */
1197
- fields?: string;
1610
+ fields?:
1611
+ string;
1198
1612
  /** 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. */
1199
- key?: string;
1613
+ key?:
1614
+ string;
1200
1615
  /** OAuth 2.0 token for the current user. */
1201
- oauth_token?: string;
1616
+ oauth_token?:
1617
+ string;
1202
1618
  /**
1203
1619
  * Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start
1204
1620
  * with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
1205
1621
  */
1206
- osPolicyAssignmentId?: string;
1622
+ osPolicyAssignmentId?:
1623
+ string;
1207
1624
  /** Required. The parent resource name in the form: projects/{project}/locations/{location} */
1208
- parent: string;
1625
+ parent:
1626
+ string;
1209
1627
  /** Returns response with indentations and line breaks. */
1210
- prettyPrint?: boolean;
1628
+ prettyPrint?:
1629
+ boolean;
1211
1630
  /** 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. */
1212
- quotaUser?: string;
1631
+ quotaUser?:
1632
+ string;
1213
1633
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1214
- upload_protocol?: string;
1634
+ upload_protocol?:
1635
+ string;
1215
1636
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1216
- uploadType?: string;
1637
+ uploadType?:
1638
+ string;
1217
1639
  /** Request body */
1218
- resource: OSPolicyAssignment;
1640
+ resource:
1641
+ OSPolicyAssignment;
1219
1642
  }): Request<Operation>;
1220
1643
  create(request: {
1221
1644
  /** V1 error format. */
1222
- "$.xgafv"?: string;
1645
+ "$.xgafv"?:
1646
+ string;
1223
1647
  /** OAuth access token. */
1224
- access_token?: string;
1648
+ access_token?:
1649
+ string;
1225
1650
  /** Data format for response. */
1226
- alt?: string;
1651
+ alt?:
1652
+ string;
1227
1653
  /** JSONP */
1228
- callback?: string;
1654
+ callback?:
1655
+ string;
1229
1656
  /** Selector specifying which fields to include in a partial response. */
1230
- fields?: string;
1657
+ fields?:
1658
+ string;
1231
1659
  /** 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. */
1232
- key?: string;
1660
+ key?:
1661
+ string;
1233
1662
  /** OAuth 2.0 token for the current user. */
1234
- oauth_token?: string;
1663
+ oauth_token?:
1664
+ string;
1235
1665
  /**
1236
1666
  * Required. The logical name of the OS policy assignment in the project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start
1237
1667
  * with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.
1238
1668
  */
1239
- osPolicyAssignmentId?: string;
1669
+ osPolicyAssignmentId?:
1670
+ string;
1240
1671
  /** Required. The parent resource name in the form: projects/{project}/locations/{location} */
1241
- parent: string;
1672
+ parent:
1673
+ string;
1242
1674
  /** Returns response with indentations and line breaks. */
1243
- prettyPrint?: boolean;
1675
+ prettyPrint?:
1676
+ boolean;
1244
1677
  /** 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. */
1245
- quotaUser?: string;
1678
+ quotaUser?:
1679
+ string;
1246
1680
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1247
- upload_protocol?: string;
1681
+ upload_protocol?:
1682
+ string;
1248
1683
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1249
- uploadType?: string;
1684
+ uploadType?:
1685
+ string;
1250
1686
  },
1251
1687
  body: OSPolicyAssignment): Request<Operation>;
1252
1688
  /**
@@ -1257,29 +1693,41 @@ declare namespace gapi.client {
1257
1693
  */
1258
1694
  delete(request?: {
1259
1695
  /** V1 error format. */
1260
- "$.xgafv"?: string;
1696
+ "$.xgafv"?:
1697
+ string;
1261
1698
  /** OAuth access token. */
1262
- access_token?: string;
1699
+ access_token?:
1700
+ string;
1263
1701
  /** Data format for response. */
1264
- alt?: string;
1702
+ alt?:
1703
+ string;
1265
1704
  /** JSONP */
1266
- callback?: string;
1705
+ callback?:
1706
+ string;
1267
1707
  /** Selector specifying which fields to include in a partial response. */
1268
- fields?: string;
1708
+ fields?:
1709
+ string;
1269
1710
  /** 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. */
1270
- key?: string;
1711
+ key?:
1712
+ string;
1271
1713
  /** Required. The name of the OS policy assignment to be deleted */
1272
- name: string;
1714
+ name:
1715
+ string;
1273
1716
  /** OAuth 2.0 token for the current user. */
1274
- oauth_token?: string;
1717
+ oauth_token?:
1718
+ string;
1275
1719
  /** Returns response with indentations and line breaks. */
1276
- prettyPrint?: boolean;
1720
+ prettyPrint?:
1721
+ boolean;
1277
1722
  /** 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. */
1278
- quotaUser?: string;
1723
+ quotaUser?:
1724
+ string;
1279
1725
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1280
- upload_protocol?: string;
1726
+ upload_protocol?:
1727
+ string;
1281
1728
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1282
- uploadType?: string;
1729
+ uploadType?:
1730
+ string;
1283
1731
  }): Request<Operation>;
1284
1732
  /**
1285
1733
  * Retrieve an existing OS policy assignment. This method always returns the latest revision. In order to retrieve a previous revision of the assignment, also provide the revision ID
@@ -1287,91 +1735,131 @@ declare namespace gapi.client {
1287
1735
  */
1288
1736
  get(request?: {
1289
1737
  /** V1 error format. */
1290
- "$.xgafv"?: string;
1738
+ "$.xgafv"?:
1739
+ string;
1291
1740
  /** OAuth access token. */
1292
- access_token?: string;
1741
+ access_token?:
1742
+ string;
1293
1743
  /** Data format for response. */
1294
- alt?: string;
1744
+ alt?:
1745
+ string;
1295
1746
  /** JSONP */
1296
- callback?: string;
1747
+ callback?:
1748
+ string;
1297
1749
  /** Selector specifying which fields to include in a partial response. */
1298
- fields?: string;
1750
+ fields?:
1751
+ string;
1299
1752
  /** 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. */
1300
- key?: string;
1753
+ key?:
1754
+ string;
1301
1755
  /** Required. The resource name of OS policy assignment. Format: `projects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}@{revisionId}` */
1302
- name: string;
1756
+ name:
1757
+ string;
1303
1758
  /** OAuth 2.0 token for the current user. */
1304
- oauth_token?: string;
1759
+ oauth_token?:
1760
+ string;
1305
1761
  /** Returns response with indentations and line breaks. */
1306
- prettyPrint?: boolean;
1762
+ prettyPrint?:
1763
+ boolean;
1307
1764
  /** 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. */
1308
- quotaUser?: string;
1765
+ quotaUser?:
1766
+ string;
1309
1767
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1310
- upload_protocol?: string;
1768
+ upload_protocol?:
1769
+ string;
1311
1770
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1312
- uploadType?: string;
1771
+ uploadType?:
1772
+ string;
1313
1773
  }): Request<OSPolicyAssignment>;
1314
1774
  /** List the OS policy assignments under the parent resource. For each OS policy assignment, the latest revision is returned. */
1315
1775
  list(request?: {
1316
1776
  /** V1 error format. */
1317
- "$.xgafv"?: string;
1777
+ "$.xgafv"?:
1778
+ string;
1318
1779
  /** OAuth access token. */
1319
- access_token?: string;
1780
+ access_token?:
1781
+ string;
1320
1782
  /** Data format for response. */
1321
- alt?: string;
1783
+ alt?:
1784
+ string;
1322
1785
  /** JSONP */
1323
- callback?: string;
1786
+ callback?:
1787
+ string;
1324
1788
  /** Selector specifying which fields to include in a partial response. */
1325
- fields?: string;
1789
+ fields?:
1790
+ string;
1326
1791
  /** 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. */
1327
- key?: string;
1792
+ key?:
1793
+ string;
1328
1794
  /** OAuth 2.0 token for the current user. */
1329
- oauth_token?: string;
1795
+ oauth_token?:
1796
+ string;
1330
1797
  /** The maximum number of assignments to return. */
1331
- pageSize?: number;
1798
+ pageSize?:
1799
+ number;
1332
1800
  /** A pagination token returned from a previous call to `ListOSPolicyAssignments` that indicates where this listing should continue from. */
1333
- pageToken?: string;
1801
+ pageToken?:
1802
+ string;
1334
1803
  /** Required. The parent resource name. */
1335
- parent: string;
1804
+ parent:
1805
+ string;
1336
1806
  /** Returns response with indentations and line breaks. */
1337
- prettyPrint?: boolean;
1807
+ prettyPrint?:
1808
+ boolean;
1338
1809
  /** 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. */
1339
- quotaUser?: string;
1810
+ quotaUser?:
1811
+ string;
1340
1812
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1341
- upload_protocol?: string;
1813
+ upload_protocol?:
1814
+ string;
1342
1815
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1343
- uploadType?: string;
1816
+ uploadType?:
1817
+ string;
1344
1818
  }): Request<ListOSPolicyAssignmentsResponse>;
1345
1819
  /** List the OS policy assignment revisions for a given OS policy assignment. */
1346
1820
  listRevisions(request?: {
1347
1821
  /** V1 error format. */
1348
- "$.xgafv"?: string;
1822
+ "$.xgafv"?:
1823
+ string;
1349
1824
  /** OAuth access token. */
1350
- access_token?: string;
1825
+ access_token?:
1826
+ string;
1351
1827
  /** Data format for response. */
1352
- alt?: string;
1828
+ alt?:
1829
+ string;
1353
1830
  /** JSONP */
1354
- callback?: string;
1831
+ callback?:
1832
+ string;
1355
1833
  /** Selector specifying which fields to include in a partial response. */
1356
- fields?: string;
1834
+ fields?:
1835
+ string;
1357
1836
  /** 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. */
1358
- key?: string;
1837
+ key?:
1838
+ string;
1359
1839
  /** Required. The name of the OS policy assignment to list revisions for. */
1360
- name: string;
1840
+ name:
1841
+ string;
1361
1842
  /** OAuth 2.0 token for the current user. */
1362
- oauth_token?: string;
1843
+ oauth_token?:
1844
+ string;
1363
1845
  /** The maximum number of revisions to return. */
1364
- pageSize?: number;
1846
+ pageSize?:
1847
+ number;
1365
1848
  /** A pagination token returned from a previous call to `ListOSPolicyAssignmentRevisions` that indicates where this listing should continue from. */
1366
- pageToken?: string;
1849
+ pageToken?:
1850
+ string;
1367
1851
  /** Returns response with indentations and line breaks. */
1368
- prettyPrint?: boolean;
1852
+ prettyPrint?:
1853
+ boolean;
1369
1854
  /** 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. */
1370
- quotaUser?: string;
1855
+ quotaUser?:
1856
+ string;
1371
1857
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1372
- upload_protocol?: string;
1858
+ upload_protocol?:
1859
+ string;
1373
1860
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1374
- uploadType?: string;
1861
+ uploadType?:
1862
+ string;
1375
1863
  }): Request<ListOSPolicyAssignmentRevisionsResponse>;
1376
1864
  /**
1377
1865
  * Update an existing OS policy assignment. This method creates a new revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout
@@ -1380,78 +1868,110 @@ declare namespace gapi.client {
1380
1868
  */
1381
1869
  patch(request: {
1382
1870
  /** V1 error format. */
1383
- "$.xgafv"?: string;
1871
+ "$.xgafv"?:
1872
+ string;
1384
1873
  /** OAuth access token. */
1385
- access_token?: string;
1874
+ access_token?:
1875
+ string;
1386
1876
  /** Data format for response. */
1387
- alt?: string;
1877
+ alt?:
1878
+ string;
1388
1879
  /** JSONP */
1389
- callback?: string;
1880
+ callback?:
1881
+ string;
1390
1882
  /** Selector specifying which fields to include in a partial response. */
1391
- fields?: string;
1883
+ fields?:
1884
+ string;
1392
1885
  /** 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. */
1393
- key?: string;
1886
+ key?:
1887
+ string;
1394
1888
  /**
1395
1889
  * Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy
1396
1890
  * assignment.
1397
1891
  */
1398
- name: string;
1892
+ name:
1893
+ string;
1399
1894
  /** OAuth 2.0 token for the current user. */
1400
- oauth_token?: string;
1895
+ oauth_token?:
1896
+ string;
1401
1897
  /** Returns response with indentations and line breaks. */
1402
- prettyPrint?: boolean;
1898
+ prettyPrint?:
1899
+ boolean;
1403
1900
  /** 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. */
1404
- quotaUser?: string;
1901
+ quotaUser?:
1902
+ string;
1405
1903
  /** Optional. Field mask that controls which fields of the assignment should be updated. */
1406
- updateMask?: string;
1904
+ updateMask?:
1905
+ string;
1407
1906
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1408
- upload_protocol?: string;
1907
+ upload_protocol?:
1908
+ string;
1409
1909
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1410
- uploadType?: string;
1910
+ uploadType?:
1911
+ string;
1411
1912
  /** Request body */
1412
- resource: OSPolicyAssignment;
1913
+ resource:
1914
+ OSPolicyAssignment;
1413
1915
  }): Request<Operation>;
1414
1916
  patch(request: {
1415
1917
  /** V1 error format. */
1416
- "$.xgafv"?: string;
1918
+ "$.xgafv"?:
1919
+ string;
1417
1920
  /** OAuth access token. */
1418
- access_token?: string;
1921
+ access_token?:
1922
+ string;
1419
1923
  /** Data format for response. */
1420
- alt?: string;
1924
+ alt?:
1925
+ string;
1421
1926
  /** JSONP */
1422
- callback?: string;
1927
+ callback?:
1928
+ string;
1423
1929
  /** Selector specifying which fields to include in a partial response. */
1424
- fields?: string;
1930
+ fields?:
1931
+ string;
1425
1932
  /** 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. */
1426
- key?: string;
1933
+ key?:
1934
+ string;
1427
1935
  /**
1428
1936
  * Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy
1429
1937
  * assignment.
1430
1938
  */
1431
- name: string;
1939
+ name:
1940
+ string;
1432
1941
  /** OAuth 2.0 token for the current user. */
1433
- oauth_token?: string;
1942
+ oauth_token?:
1943
+ string;
1434
1944
  /** Returns response with indentations and line breaks. */
1435
- prettyPrint?: boolean;
1945
+ prettyPrint?:
1946
+ boolean;
1436
1947
  /** 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. */
1437
- quotaUser?: string;
1948
+ quotaUser?:
1949
+ string;
1438
1950
  /** Optional. Field mask that controls which fields of the assignment should be updated. */
1439
- updateMask?: string;
1951
+ updateMask?:
1952
+ string;
1440
1953
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1441
- upload_protocol?: string;
1954
+ upload_protocol?:
1955
+ string;
1442
1956
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1443
- uploadType?: string;
1957
+ uploadType?:
1958
+ string;
1444
1959
  },
1445
1960
  body: OSPolicyAssignment): Request<Operation>;
1446
- operations: OperationsResource;
1961
+ operations:
1962
+ OperationsResource;
1447
1963
  }
1448
1964
  interface LocationsResource {
1449
- instanceOSPoliciesCompliances: InstanceOSPoliciesCompliancesResource;
1450
- instances: InstancesResource;
1451
- osPolicyAssignments: OsPolicyAssignmentsResource;
1965
+ instanceOSPoliciesCompliances:
1966
+ InstanceOSPoliciesCompliancesResource;
1967
+ instances:
1968
+ InstancesResource;
1969
+ osPolicyAssignments:
1970
+ OsPolicyAssignmentsResource;
1452
1971
  }
1453
1972
  interface ProjectsResource {
1454
- locations: LocationsResource;
1973
+ locations:
1974
+ LocationsResource;
1455
1975
  }
1456
1976
 
1457
1977
  const projects: ProjectsResource;