@maxim_mazurok/gapi.client.config-v1 0.0.20250521 → 0.0.20250604

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +215 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://config.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250521
12
+ // Revision: 20250604
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -76,13 +76,13 @@ declare namespace gapi.client {
76
76
  errorLogs?: string;
77
77
  /** By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation. */
78
78
  importExistingResources?: boolean;
79
- /** User-defined metadata for the deployment. */
79
+ /** Optional. User-defined metadata for the deployment. */
80
80
  labels?: {[P in string]: string};
81
81
  /** Output only. Revision name that was most recently applied. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}` */
82
82
  latestRevision?: string;
83
83
  /** Output only. Current lock state of the deployment. */
84
84
  lockState?: string;
85
- /** Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` */
85
+ /** Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` */
86
86
  name?: string;
87
87
  /** Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies. */
88
88
  quotaValidation?: string;
@@ -176,6 +176,22 @@ declare namespace gapi.client {
176
176
  /** Locations that could not be reached. */
177
177
  unreachable?: string[];
178
178
  }
179
+ interface ListResourceChangesResponse {
180
+ /** A token to request the next page of resources from the 'ListResourceChanges' method. The value of an empty string means that there are no more resources to return. */
181
+ nextPageToken?: string;
182
+ /** List of ResourceChanges. */
183
+ resourceChanges?: ResourceChange[];
184
+ /** Unreachable resources, if any. */
185
+ unreachable?: string[];
186
+ }
187
+ interface ListResourceDriftsResponse {
188
+ /** A token to request the next page of resources from the 'ListResourceDrifts' method. The value of an empty string means that there are no more resources to return. */
189
+ nextPageToken?: string;
190
+ /** List of ResourceDrifts. */
191
+ resourceDrifts?: ResourceDrift[];
192
+ /** Unreachable resources, if any. */
193
+ unreachable?: string[];
194
+ }
179
195
  interface ListResourcesResponse {
180
196
  /** A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return. */
181
197
  nextPageToken?: string;
@@ -333,6 +349,30 @@ declare namespace gapi.client {
333
349
  /** Output only. Plan JSON signed URL */
334
350
  jsonSignedUri?: string;
335
351
  }
352
+ interface PropertyChange {
353
+ /** Output only. Representations of the object value after the actions. */
354
+ after?: any;
355
+ /** Output only. The paths of sensitive fields in `after`. Paths are relative to `path`. */
356
+ afterSensitivePaths?: string[];
357
+ /** Output only. Representations of the object value before the actions. */
358
+ before?: any;
359
+ /** Output only. The paths of sensitive fields in `before`. Paths are relative to `path`. */
360
+ beforeSensitivePaths?: string[];
361
+ /** Output only. The path of the property change. */
362
+ path?: string;
363
+ }
364
+ interface PropertyDrift {
365
+ /** Output only. Representations of the object value after the actions. */
366
+ after?: any;
367
+ /** Output only. The paths of sensitive fields in `after`. Paths are relative to `path`. */
368
+ afterSensitivePaths?: string[];
369
+ /** Output only. Representations of the object value before the actions. */
370
+ before?: any;
371
+ /** Output only. The paths of sensitive fields in `before`. Paths are relative to `path`. */
372
+ beforeSensitivePaths?: string[];
373
+ /** Output only. The path of the property drift. */
374
+ path?: string;
375
+ }
336
376
  interface Resource {
337
377
  /** Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID). CAI type format follows https://cloud.google.com/asset-inventory/docs/supported-asset-types */
338
378
  caiAssets?: {[P in string]: ResourceCAIInfo};
@@ -349,6 +389,46 @@ declare namespace gapi.client {
349
389
  /** CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name */
350
390
  fullResourceName?: string;
351
391
  }
392
+ interface ResourceChange {
393
+ /** Output only. The intent of the resource change. */
394
+ intent?: string;
395
+ /** Identifier. The name of the resource change. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. */
396
+ name?: string;
397
+ /** Output only. The property changes of the resource change. */
398
+ propertyChanges?: PropertyChange[];
399
+ /** Output only. Terraform info of the resource change. */
400
+ terraformInfo?: ResourceChangeTerraformInfo;
401
+ }
402
+ interface ResourceChangeTerraformInfo {
403
+ /** Output only. TF resource actions. */
404
+ actions?: string[];
405
+ /** Output only. TF resource address that uniquely identifies the resource. */
406
+ address?: string;
407
+ /** Output only. TF resource provider. */
408
+ provider?: string;
409
+ /** Output only. TF resource name. */
410
+ resourceName?: string;
411
+ /** Output only. TF resource type. */
412
+ type?: string;
413
+ }
414
+ interface ResourceDrift {
415
+ /** Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. */
416
+ name?: string;
417
+ /** Output only. The property drifts of the resource drift. */
418
+ propertyDrifts?: PropertyDrift[];
419
+ /** Output only. Terraform info of the resource drift. */
420
+ terraformInfo?: ResourceDriftTerraformInfo;
421
+ }
422
+ interface ResourceDriftTerraformInfo {
423
+ /** Output only. The address of the drifted resource. */
424
+ address?: string;
425
+ /** Output only. The provider of the drifted resource. */
426
+ provider?: string;
427
+ /** Output only. TF resource name. */
428
+ resourceName?: string;
429
+ /** Output only. The type of the drifted resource. */
430
+ type?: string;
431
+ }
352
432
  interface ResourceTerraformInfo {
353
433
  /** TF resource address that uniquely identifies this resource within this deployment. */
354
434
  address?: string;
@@ -1120,7 +1200,7 @@ declare namespace gapi.client {
1120
1200
  fields?: string;
1121
1201
  /** 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. */
1122
1202
  key?: string;
1123
- /** Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` */
1203
+ /** Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` */
1124
1204
  name: string;
1125
1205
  /** OAuth 2.0 token for the current user. */
1126
1206
  oauth_token?: string;
@@ -1153,7 +1233,7 @@ declare namespace gapi.client {
1153
1233
  fields?: string;
1154
1234
  /** 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. */
1155
1235
  key?: string;
1156
- /** Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` */
1236
+ /** Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}` */
1157
1237
  name: string;
1158
1238
  /** OAuth 2.0 token for the current user. */
1159
1239
  oauth_token?: string;
@@ -1439,6 +1519,134 @@ declare namespace gapi.client {
1439
1519
  uploadType?: string;
1440
1520
  }): Request<ListOperationsResponse>;
1441
1521
  }
1522
+ interface ResourceChangesResource {
1523
+ /** Get a ResourceChange for a given preview. */
1524
+ get(request?: {
1525
+ /** V1 error format. */
1526
+ '$.xgafv'?: string;
1527
+ /** OAuth access token. */
1528
+ access_token?: string;
1529
+ /** Data format for response. */
1530
+ alt?: string;
1531
+ /** JSONP */
1532
+ callback?: string;
1533
+ /** Selector specifying which fields to include in a partial response. */
1534
+ fields?: string;
1535
+ /** 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. */
1536
+ key?: string;
1537
+ /** Required. The name of the resource change to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. */
1538
+ name: string;
1539
+ /** OAuth 2.0 token for the current user. */
1540
+ oauth_token?: string;
1541
+ /** Returns response with indentations and line breaks. */
1542
+ prettyPrint?: boolean;
1543
+ /** 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. */
1544
+ quotaUser?: string;
1545
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1546
+ upload_protocol?: string;
1547
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1548
+ uploadType?: string;
1549
+ }): Request<ResourceChange>;
1550
+ /** Lists ResourceChanges for a given preview. */
1551
+ list(request?: {
1552
+ /** V1 error format. */
1553
+ '$.xgafv'?: string;
1554
+ /** OAuth access token. */
1555
+ access_token?: string;
1556
+ /** Data format for response. */
1557
+ alt?: string;
1558
+ /** JSONP */
1559
+ callback?: string;
1560
+ /** Selector specifying which fields to include in a partial response. */
1561
+ fields?: string;
1562
+ /** Optional. Lists the resource changes that match the filter expression. A filter expression filters the resource changes listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/foo/locations/us-central1/previews/dep/resourceChanges/baz */
1563
+ filter?: string;
1564
+ /** 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. */
1565
+ key?: string;
1566
+ /** OAuth 2.0 token for the current user. */
1567
+ oauth_token?: string;
1568
+ /** Optional. Field to use to sort the list. */
1569
+ orderBy?: string;
1570
+ /** Optional. When requesting a page of resource changes, 'page_size' specifies number of resource changes to return. If unspecified, at most 500 will be returned. The maximum value is 1000. */
1571
+ pageSize?: number;
1572
+ /** Optional. Token returned by previous call to 'ListResourceChanges' which specifies the position in the list from where to continue listing the resource changes. */
1573
+ pageToken?: string;
1574
+ /** Required. The parent in whose context the ResourceChanges are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. */
1575
+ parent: string;
1576
+ /** Returns response with indentations and line breaks. */
1577
+ prettyPrint?: boolean;
1578
+ /** 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. */
1579
+ quotaUser?: string;
1580
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1581
+ upload_protocol?: string;
1582
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1583
+ uploadType?: string;
1584
+ }): Request<ListResourceChangesResponse>;
1585
+ }
1586
+ interface ResourceDriftsResource {
1587
+ /** Get a ResourceDrift for a given preview. */
1588
+ get(request?: {
1589
+ /** V1 error format. */
1590
+ '$.xgafv'?: string;
1591
+ /** OAuth access token. */
1592
+ access_token?: string;
1593
+ /** Data format for response. */
1594
+ alt?: string;
1595
+ /** JSONP */
1596
+ callback?: string;
1597
+ /** Selector specifying which fields to include in a partial response. */
1598
+ fields?: string;
1599
+ /** 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. */
1600
+ key?: string;
1601
+ /** Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. */
1602
+ name: string;
1603
+ /** OAuth 2.0 token for the current user. */
1604
+ oauth_token?: string;
1605
+ /** Returns response with indentations and line breaks. */
1606
+ prettyPrint?: boolean;
1607
+ /** 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. */
1608
+ quotaUser?: string;
1609
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1610
+ upload_protocol?: string;
1611
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1612
+ uploadType?: string;
1613
+ }): Request<ResourceDrift>;
1614
+ /** List ResourceDrifts for a given preview. */
1615
+ list(request?: {
1616
+ /** V1 error format. */
1617
+ '$.xgafv'?: string;
1618
+ /** OAuth access token. */
1619
+ access_token?: string;
1620
+ /** Data format for response. */
1621
+ alt?: string;
1622
+ /** JSONP */
1623
+ callback?: string;
1624
+ /** Selector specifying which fields to include in a partial response. */
1625
+ fields?: string;
1626
+ /** Optional. Lists the resource drifts that match the filter expression. A filter expression filters the resource drifts listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/foo/locations/us-central1/previews/dep/resourceDrifts/baz */
1627
+ filter?: string;
1628
+ /** 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. */
1629
+ key?: string;
1630
+ /** OAuth 2.0 token for the current user. */
1631
+ oauth_token?: string;
1632
+ /** Optional. Field to use to sort the list. */
1633
+ orderBy?: string;
1634
+ /** Optional. When requesting a page of resource drifts, 'page_size' specifies number of resource drifts to return. If unspecified, at most 500 will be returned. The maximum value is 1000. */
1635
+ pageSize?: number;
1636
+ /** Optional. Token returned by previous call to 'ListResourceDrifts' which specifies the position in the list from where to continue listing the resource drifts. */
1637
+ pageToken?: string;
1638
+ /** Required. The parent in whose context the ResourceDrifts are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'. */
1639
+ parent: string;
1640
+ /** Returns response with indentations and line breaks. */
1641
+ prettyPrint?: boolean;
1642
+ /** 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. */
1643
+ quotaUser?: string;
1644
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1645
+ upload_protocol?: string;
1646
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1647
+ uploadType?: string;
1648
+ }): Request<ListResourceDriftsResponse>;
1649
+ }
1442
1650
  interface PreviewsResource {
1443
1651
  /** Creates a Preview. */
1444
1652
  create(request: {
@@ -1655,6 +1863,8 @@ declare namespace gapi.client {
1655
1863
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1656
1864
  uploadType?: string;
1657
1865
  }): Request<ListPreviewsResponse>;
1866
+ resourceChanges: ResourceChangesResource;
1867
+ resourceDrifts: ResourceDriftsResource;
1658
1868
  }
1659
1869
  interface TerraformVersionsResource {
1660
1870
  /** Gets details about a TerraformVersion. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.config-v1",
3
- "version": "0.0.20250521",
3
+ "version": "0.0.20250604",
4
4
  "description": "TypeScript typings for Infrastructure Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",