@googleapis/servicecontrol 2.0.0 → 3.1.0
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.
- package/CHANGELOG.md +18 -0
- package/build/v1.d.ts +8 -0
- package/build/v1.js +3 -0
- package/build/v1.js.map +1 -1
- package/build/v2.d.ts +14 -0
- package/build/v2.js +2 -0
- package/build/v2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +11 -0
- package/v2.ts +16 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v3.0.0...servicecontrol-v3.1.0) (2024-05-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **servicecontrol:** update the API ([763243a](https://github.com/googleapis/google-api-nodejs-client/commit/763243a5a56fbc735a259bc8a0cd16046a9b5289))
|
|
9
|
+
|
|
10
|
+
## [3.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v2.0.0...servicecontrol-v3.0.0) (2024-04-04)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* This release has breaking changes.
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* run the generator ([#3441](https://github.com/googleapis/google-api-nodejs-client/issues/3441)) ([f832463](https://github.com/googleapis/google-api-nodejs-client/commit/f832463312572dc58fe89f9254282982a520d1df))
|
|
20
|
+
|
|
3
21
|
## [2.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v1.2.0...servicecontrol-v2.0.0) (2024-03-12)
|
|
4
22
|
|
|
5
23
|
|
package/build/v1.d.ts
CHANGED
|
@@ -240,6 +240,10 @@ export declare namespace servicecontrol_v1 {
|
|
|
240
240
|
claims?: {
|
|
241
241
|
[key: string]: any;
|
|
242
242
|
} | null;
|
|
243
|
+
/**
|
|
244
|
+
* Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
|
|
245
|
+
*/
|
|
246
|
+
credentialId?: string | null;
|
|
243
247
|
/**
|
|
244
248
|
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com".
|
|
245
249
|
*/
|
|
@@ -296,6 +300,10 @@ export declare namespace servicecontrol_v1 {
|
|
|
296
300
|
* The required IAM permission.
|
|
297
301
|
*/
|
|
298
302
|
permission?: string | null;
|
|
303
|
+
/**
|
|
304
|
+
* The type of the permission that was checked. For data access audit logs this corresponds with the permission type that must be enabled in the project/folder/organization IAM policy in order for the log to be written.
|
|
305
|
+
*/
|
|
306
|
+
permissionType?: string | null;
|
|
299
307
|
/**
|
|
300
308
|
* The resource being accessed, as a REST-style or cloud resource string. For example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or projects/PROJECTID/datasets/DATASETID
|
|
301
309
|
*/
|
package/build/v1.js
CHANGED
|
@@ -64,6 +64,7 @@ var servicecontrol_v1;
|
|
|
64
64
|
options: Object.assign({
|
|
65
65
|
url: (rootUrl + '/v1/services/{serviceName}:allocateQuota').replace(/([^:]\/)\/+/g, '$1'),
|
|
66
66
|
method: 'POST',
|
|
67
|
+
apiVersion: '',
|
|
67
68
|
}, options),
|
|
68
69
|
params,
|
|
69
70
|
requiredParams: ['serviceName'],
|
|
@@ -94,6 +95,7 @@ var servicecontrol_v1;
|
|
|
94
95
|
options: Object.assign({
|
|
95
96
|
url: (rootUrl + '/v1/services/{serviceName}:check').replace(/([^:]\/)\/+/g, '$1'),
|
|
96
97
|
method: 'POST',
|
|
98
|
+
apiVersion: '',
|
|
97
99
|
}, options),
|
|
98
100
|
params,
|
|
99
101
|
requiredParams: ['serviceName'],
|
|
@@ -124,6 +126,7 @@ var servicecontrol_v1;
|
|
|
124
126
|
options: Object.assign({
|
|
125
127
|
url: (rootUrl + '/v1/services/{serviceName}:report').replace(/([^:]\/)\/+/g, '$1'),
|
|
126
128
|
method: 'POST',
|
|
129
|
+
apiVersion: '',
|
|
127
130
|
}, options),
|
|
128
131
|
params,
|
|
129
132
|
requiredParams: ['serviceName'],
|
package/build/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,iBAAiB,CAwwDjC;AAxwDD,WAAiB,iBAAiB;IAgEhC;;;;;;;;;;OAUG;IACH,MAAa,cAAc;QAIzB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAE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I,EAAE,CAAkB,CAAC;YAEzD,IAAI,OAAO,gBAAgB,KAAK,UAAU,EAAE;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAAqC,CAAC;gBAC/C,OAAO,GAAG,EAAE,CAAC;aACd;YAED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,wCAAwC,CAAC;YAC9D,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,mCAAmC,CAAC,CAAC,OAAO,CAC1D,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,MAAM;oBACd,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,aAAa,CAAC;gBAC/B,UAAU,EAAE,CAAC,aAAa,CAAC;gBAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAwB,UAAU,CAAC,CAAC;aAC5D;QACH,CAAC;KACF;IArRY,mCAAiB,oBAqR7B,CAAA;AAoCH,CAAC,EAxwDgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAwwDjC"}
|
package/build/v2.d.ts
CHANGED
|
@@ -224,6 +224,10 @@ export declare namespace servicecontrol_v2 {
|
|
|
224
224
|
claims?: {
|
|
225
225
|
[key: string]: any;
|
|
226
226
|
} | null;
|
|
227
|
+
/**
|
|
228
|
+
* Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
|
|
229
|
+
*/
|
|
230
|
+
credentialId?: string | null;
|
|
227
231
|
/**
|
|
228
232
|
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com".
|
|
229
233
|
*/
|
|
@@ -280,6 +284,10 @@ export declare namespace servicecontrol_v2 {
|
|
|
280
284
|
* The required IAM permission.
|
|
281
285
|
*/
|
|
282
286
|
permission?: string | null;
|
|
287
|
+
/**
|
|
288
|
+
* The type of the permission that was checked. For data access audit logs this corresponds with the permission type that must be enabled in the project/folder/organization IAM policy in order for the log to be written.
|
|
289
|
+
*/
|
|
290
|
+
permissionType?: string | null;
|
|
283
291
|
/**
|
|
284
292
|
* The resource being accessed, as a REST-style or cloud resource string. For example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or projects/PROJECTID/datasets/DATASETID
|
|
285
293
|
*/
|
|
@@ -418,6 +426,12 @@ export declare namespace servicecontrol_v2 {
|
|
|
418
426
|
* Response message for the Report method.
|
|
419
427
|
*/
|
|
420
428
|
export interface Schema$ReportResponse {
|
|
429
|
+
/**
|
|
430
|
+
* The extension field to store serialized OTel responses. e.g. ExportLogsServiceResponse, ExportMetricsServiceResponse.
|
|
431
|
+
*/
|
|
432
|
+
extensions?: {
|
|
433
|
+
[key: string]: any;
|
|
434
|
+
} | null;
|
|
421
435
|
}
|
|
422
436
|
/**
|
|
423
437
|
* This message defines attributes for an HTTP request. If the actual request is not an HTTP request, the runtime system should try to map the actual request to an equivalent HTTP request.
|
package/build/v2.js
CHANGED
|
@@ -63,6 +63,7 @@ var servicecontrol_v2;
|
|
|
63
63
|
options: Object.assign({
|
|
64
64
|
url: (rootUrl + '/v2/services/{serviceName}:check').replace(/([^:]\/)\/+/g, '$1'),
|
|
65
65
|
method: 'POST',
|
|
66
|
+
apiVersion: '',
|
|
66
67
|
}, options),
|
|
67
68
|
params,
|
|
68
69
|
requiredParams: ['serviceName'],
|
|
@@ -93,6 +94,7 @@ var servicecontrol_v2;
|
|
|
93
94
|
options: Object.assign({
|
|
94
95
|
url: (rootUrl + '/v2/services/{serviceName}:report').replace(/([^:]\/)\/+/g, '$1'),
|
|
95
96
|
method: 'POST',
|
|
97
|
+
apiVersion: '',
|
|
96
98
|
}, options),
|
|
97
99
|
params,
|
|
98
100
|
requiredParams: ['serviceName'],
|
package/build/v2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../v2.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../v2.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,iBAAiB,CA8jCjC;AA9jCD,WAAiB,iBAAiB;IAgEhC;;;;;;;;;;OAUG;IACH,MAAa,cAAc;QAIzB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;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279,10 @@ export namespace servicecontrol_v1 {
|
|
|
279
279
|
* Structured claims presented with the credential. JWTs include `{key: value\}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926\} SAML assertions are similarly specified, but with an identity provider dependent structure.
|
|
280
280
|
*/
|
|
281
281
|
claims?: {[key: string]: any} | null;
|
|
282
|
+
/**
|
|
283
|
+
* Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
|
|
284
|
+
*/
|
|
285
|
+
credentialId?: string | null;
|
|
282
286
|
/**
|
|
283
287
|
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com".
|
|
284
288
|
*/
|
|
@@ -333,6 +337,10 @@ export namespace servicecontrol_v1 {
|
|
|
333
337
|
* The required IAM permission.
|
|
334
338
|
*/
|
|
335
339
|
permission?: string | null;
|
|
340
|
+
/**
|
|
341
|
+
* The type of the permission that was checked. For data access audit logs this corresponds with the permission type that must be enabled in the project/folder/organization IAM policy in order for the log to be written.
|
|
342
|
+
*/
|
|
343
|
+
permissionType?: string | null;
|
|
336
344
|
/**
|
|
337
345
|
* The resource being accessed, as a REST-style or cloud resource string. For example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or projects/PROJECTID/datasets/DATASETID
|
|
338
346
|
*/
|
|
@@ -1597,6 +1605,7 @@ export namespace servicecontrol_v1 {
|
|
|
1597
1605
|
'$1'
|
|
1598
1606
|
),
|
|
1599
1607
|
method: 'POST',
|
|
1608
|
+
apiVersion: '',
|
|
1600
1609
|
},
|
|
1601
1610
|
options
|
|
1602
1611
|
),
|
|
@@ -1684,6 +1693,7 @@ export namespace servicecontrol_v1 {
|
|
|
1684
1693
|
'$1'
|
|
1685
1694
|
),
|
|
1686
1695
|
method: 'POST',
|
|
1696
|
+
apiVersion: '',
|
|
1687
1697
|
},
|
|
1688
1698
|
options
|
|
1689
1699
|
),
|
|
@@ -1771,6 +1781,7 @@ export namespace servicecontrol_v1 {
|
|
|
1771
1781
|
'$1'
|
|
1772
1782
|
),
|
|
1773
1783
|
method: 'POST',
|
|
1784
|
+
apiVersion: '',
|
|
1774
1785
|
},
|
|
1775
1786
|
options
|
|
1776
1787
|
),
|
package/v2.ts
CHANGED
|
@@ -263,6 +263,10 @@ export namespace servicecontrol_v2 {
|
|
|
263
263
|
* Structured claims presented with the credential. JWTs include `{key: value\}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926\} SAML assertions are similarly specified, but with an identity provider dependent structure.
|
|
264
264
|
*/
|
|
265
265
|
claims?: {[key: string]: any} | null;
|
|
266
|
+
/**
|
|
267
|
+
* Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
|
|
268
|
+
*/
|
|
269
|
+
credentialId?: string | null;
|
|
266
270
|
/**
|
|
267
271
|
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com".
|
|
268
272
|
*/
|
|
@@ -317,6 +321,10 @@ export namespace servicecontrol_v2 {
|
|
|
317
321
|
* The required IAM permission.
|
|
318
322
|
*/
|
|
319
323
|
permission?: string | null;
|
|
324
|
+
/**
|
|
325
|
+
* The type of the permission that was checked. For data access audit logs this corresponds with the permission type that must be enabled in the project/folder/organization IAM policy in order for the log to be written.
|
|
326
|
+
*/
|
|
327
|
+
permissionType?: string | null;
|
|
320
328
|
/**
|
|
321
329
|
* The resource being accessed, as a REST-style or cloud resource string. For example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or projects/PROJECTID/datasets/DATASETID
|
|
322
330
|
*/
|
|
@@ -444,7 +452,12 @@ export namespace servicecontrol_v2 {
|
|
|
444
452
|
/**
|
|
445
453
|
* Response message for the Report method.
|
|
446
454
|
*/
|
|
447
|
-
export interface Schema$ReportResponse {
|
|
455
|
+
export interface Schema$ReportResponse {
|
|
456
|
+
/**
|
|
457
|
+
* The extension field to store serialized OTel responses. e.g. ExportLogsServiceResponse, ExportMetricsServiceResponse.
|
|
458
|
+
*/
|
|
459
|
+
extensions?: {[key: string]: any} | null;
|
|
460
|
+
}
|
|
448
461
|
/**
|
|
449
462
|
* This message defines attributes for an HTTP request. If the actual request is not an HTTP request, the runtime system should try to map the actual request to an equivalent HTTP request.
|
|
450
463
|
*/
|
|
@@ -978,6 +991,7 @@ export namespace servicecontrol_v2 {
|
|
|
978
991
|
'$1'
|
|
979
992
|
),
|
|
980
993
|
method: 'POST',
|
|
994
|
+
apiVersion: '',
|
|
981
995
|
},
|
|
982
996
|
options
|
|
983
997
|
),
|
|
@@ -1065,6 +1079,7 @@ export namespace servicecontrol_v2 {
|
|
|
1065
1079
|
'$1'
|
|
1066
1080
|
),
|
|
1067
1081
|
method: 'POST',
|
|
1082
|
+
apiVersion: '',
|
|
1068
1083
|
},
|
|
1069
1084
|
options
|
|
1070
1085
|
),
|