@maxim_mazurok/gapi.client.dns-v1beta2 0.0.20250113 → 0.0.20250130

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 +20 -20
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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://dns.googleapis.com/$discovery/rest?version=v1beta2
12
- // Revision: 20250113
12
+ // Revision: 20250130
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud DNS API v1beta2 */
18
18
  function load(
19
- urlOrObject: 'https://dns.googleapis.com/$discovery/rest?version=v1beta2'
19
+ urlOrObject: 'https://dns.googleapis.com/$discovery/rest?version=v1beta2',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'dns', version: 'v1beta2'): Promise<void>;
@@ -654,7 +654,7 @@ declare namespace gapi.client {
654
654
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
655
655
  uploadType?: string;
656
656
  },
657
- body: Change
657
+ body: Change,
658
658
  ): Request<Change>;
659
659
  /** Fetches the representation of an existing Change. */
660
660
  get(request?: {
@@ -930,7 +930,7 @@ declare namespace gapi.client {
930
930
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
931
931
  uploadType?: string;
932
932
  },
933
- body: ManagedZone
933
+ body: ManagedZone,
934
934
  ): Request<ManagedZone>;
935
935
  /** Deletes a previously created ManagedZone. */
936
936
  delete(request?: {
@@ -1022,7 +1022,7 @@ declare namespace gapi.client {
1022
1022
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1023
1023
  uploadType?: string;
1024
1024
  },
1025
- body: GoogleIamV1GetIamPolicyRequest
1025
+ body: GoogleIamV1GetIamPolicyRequest,
1026
1026
  ): Request<GoogleIamV1Policy>;
1027
1027
  /** Enumerates ManagedZones that have been created but not yet deleted. */
1028
1028
  list(request?: {
@@ -1121,7 +1121,7 @@ declare namespace gapi.client {
1121
1121
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1122
1122
  uploadType?: string;
1123
1123
  },
1124
- body: ManagedZone
1124
+ body: ManagedZone,
1125
1125
  ): Request<Operation>;
1126
1126
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1127
1127
  setIamPolicy(
@@ -1151,7 +1151,7 @@ declare namespace gapi.client {
1151
1151
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1152
1152
  uploadType?: string;
1153
1153
  },
1154
- body: GoogleIamV1SetIamPolicyRequest
1154
+ body: GoogleIamV1SetIamPolicyRequest,
1155
1155
  ): Request<GoogleIamV1Policy>;
1156
1156
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this returns an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
1157
1157
  testIamPermissions(
@@ -1181,7 +1181,7 @@ declare namespace gapi.client {
1181
1181
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1182
1182
  uploadType?: string;
1183
1183
  },
1184
- body: GoogleIamV1TestIamPermissionsRequest
1184
+ body: GoogleIamV1TestIamPermissionsRequest,
1185
1185
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
1186
1186
  /** Updates an existing ManagedZone. */
1187
1187
  update(request: {
@@ -1247,7 +1247,7 @@ declare namespace gapi.client {
1247
1247
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1248
1248
  uploadType?: string;
1249
1249
  },
1250
- body: ManagedZone
1250
+ body: ManagedZone,
1251
1251
  ): Request<Operation>;
1252
1252
  }
1253
1253
  interface PoliciesResource {
@@ -1311,7 +1311,7 @@ declare namespace gapi.client {
1311
1311
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1312
1312
  uploadType?: string;
1313
1313
  },
1314
- body: Policy
1314
+ body: Policy,
1315
1315
  ): Request<Policy>;
1316
1316
  /** Deletes a previously created Policy. Fails if the policy is still being referenced by a network. */
1317
1317
  delete(request?: {
@@ -1470,7 +1470,7 @@ declare namespace gapi.client {
1470
1470
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1471
1471
  uploadType?: string;
1472
1472
  },
1473
- body: Policy
1473
+ body: Policy,
1474
1474
  ): Request<PoliciesPatchResponse>;
1475
1475
  /** Updates an existing Policy. */
1476
1476
  update(request: {
@@ -1536,7 +1536,7 @@ declare namespace gapi.client {
1536
1536
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1537
1537
  uploadType?: string;
1538
1538
  },
1539
- body: Policy
1539
+ body: Policy,
1540
1540
  ): Request<PoliciesUpdateResponse>;
1541
1541
  }
1542
1542
  interface ProjectsResource {
@@ -1635,7 +1635,7 @@ declare namespace gapi.client {
1635
1635
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1636
1636
  uploadType?: string;
1637
1637
  },
1638
- body: ResourceRecordSet
1638
+ body: ResourceRecordSet,
1639
1639
  ): Request<ResourceRecordSet>;
1640
1640
  /** Deletes a previously created ResourceRecordSet. */
1641
1641
  delete(request?: {
@@ -1816,7 +1816,7 @@ declare namespace gapi.client {
1816
1816
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1817
1817
  uploadType?: string;
1818
1818
  },
1819
- body: ResourceRecordSet
1819
+ body: ResourceRecordSet,
1820
1820
  ): Request<ResourceRecordSet>;
1821
1821
  }
1822
1822
  interface ResponsePoliciesResource {
@@ -1880,7 +1880,7 @@ declare namespace gapi.client {
1880
1880
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1881
1881
  uploadType?: string;
1882
1882
  },
1883
- body: ResponsePolicy
1883
+ body: ResponsePolicy,
1884
1884
  ): Request<ResponsePolicy>;
1885
1885
  /** Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network. */
1886
1886
  delete(request?: {
@@ -2039,7 +2039,7 @@ declare namespace gapi.client {
2039
2039
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2040
2040
  uploadType?: string;
2041
2041
  },
2042
- body: ResponsePolicy
2042
+ body: ResponsePolicy,
2043
2043
  ): Request<ResponsePoliciesPatchResponse>;
2044
2044
  /** Updates an existing Response Policy. */
2045
2045
  update(request: {
@@ -2105,7 +2105,7 @@ declare namespace gapi.client {
2105
2105
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2106
2106
  uploadType?: string;
2107
2107
  },
2108
- body: ResponsePolicy
2108
+ body: ResponsePolicy,
2109
2109
  ): Request<ResponsePoliciesUpdateResponse>;
2110
2110
  }
2111
2111
  interface ResponsePolicyRulesResource {
@@ -2173,7 +2173,7 @@ declare namespace gapi.client {
2173
2173
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2174
2174
  uploadType?: string;
2175
2175
  },
2176
- body: ResponsePolicyRule
2176
+ body: ResponsePolicyRule,
2177
2177
  ): Request<ResponsePolicyRule>;
2178
2178
  /** Deletes a previously created Response Policy Rule. */
2179
2179
  delete(request?: {
@@ -2342,7 +2342,7 @@ declare namespace gapi.client {
2342
2342
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2343
2343
  uploadType?: string;
2344
2344
  },
2345
- body: ResponsePolicyRule
2345
+ body: ResponsePolicyRule,
2346
2346
  ): Request<ResponsePolicyRulesPatchResponse>;
2347
2347
  /** Updates an existing Response Policy Rule. */
2348
2348
  update(request: {
@@ -2412,7 +2412,7 @@ declare namespace gapi.client {
2412
2412
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2413
2413
  uploadType?: string;
2414
2414
  },
2415
- body: ResponsePolicyRule
2415
+ body: ResponsePolicyRule,
2416
2416
  ): Request<ResponsePolicyRulesUpdateResponse>;
2417
2417
  }
2418
2418
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dns-v1beta2",
3
- "version": "0.0.20250113",
3
+ "version": "0.0.20250130",
4
4
  "description": "TypeScript typings for Cloud DNS API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -29,7 +29,7 @@ gapi.client.load(
29
29
  () => {
30
30
  // now we can use:
31
31
  // gapi.client.dns
32
- }
32
+ },
33
33
  );
34
34
  ```
35
35
 
@@ -70,7 +70,7 @@ gapi.auth.authorize(
70
70
  } else {
71
71
  /* handle authorization error */
72
72
  }
73
- }
73
+ },
74
74
  );
75
75
  ```
76
76