@maxim_mazurok/gapi.client.compute-alpha 0.0.20220809 → 0.0.20220816
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/index.d.ts +22 -10
- package/package.json +1 -1
- package/tests.ts +5 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220816
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -4444,8 +4444,8 @@ declare namespace gapi.client {
|
|
|
4444
4444
|
/**
|
|
4445
4445
|
* In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the
|
|
4446
4446
|
* selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any
|
|
4447
|
-
* weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.
|
|
4448
|
-
* action within a route rule's routeAction.
|
|
4447
|
+
* weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the
|
|
4448
|
+
* urlRewrite action within a route rule's routeAction.
|
|
4449
4449
|
*/
|
|
4450
4450
|
routeAction?: HttpRouteAction;
|
|
4451
4451
|
/**
|
|
@@ -7324,7 +7324,7 @@ declare namespace gapi.client {
|
|
|
7324
7324
|
diskType?: string;
|
|
7325
7325
|
}
|
|
7326
7326
|
interface LocalizedMessage {
|
|
7327
|
-
/** The locale used following the specification defined at
|
|
7327
|
+
/** The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" */
|
|
7328
7328
|
locale?: string;
|
|
7329
7329
|
/** The localized error message in the above locale. */
|
|
7330
7330
|
message?: string;
|
|
@@ -9471,8 +9471,8 @@ declare namespace gapi.client {
|
|
|
9471
9471
|
/**
|
|
9472
9472
|
* defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations,
|
|
9473
9473
|
* before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is
|
|
9474
|
-
* set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
|
9475
|
-
*
|
|
9474
|
+
* set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
|
|
9475
|
+
* balancers only support the urlRewrite action within a path matcher's defaultRouteAction.
|
|
9476
9476
|
*/
|
|
9477
9477
|
defaultRouteAction?: HttpRouteAction;
|
|
9478
9478
|
/**
|
|
@@ -9532,7 +9532,7 @@ declare namespace gapi.client {
|
|
|
9532
9532
|
/**
|
|
9533
9533
|
* In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected
|
|
9534
9534
|
* backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only
|
|
9535
|
-
* one of routeAction or urlRedirect must be set. URL maps for external HTTP(S) load balancers support
|
|
9535
|
+
* one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction.
|
|
9536
9536
|
*/
|
|
9537
9537
|
routeAction?: HttpRouteAction;
|
|
9538
9538
|
/**
|
|
@@ -14603,9 +14603,9 @@ declare namespace gapi.client {
|
|
|
14603
14603
|
/**
|
|
14604
14604
|
* defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before
|
|
14605
14605
|
* forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set,
|
|
14606
|
-
* defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
|
14607
|
-
* only the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless
|
|
14608
|
-
* to true.
|
|
14606
|
+
* defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers
|
|
14607
|
+
* only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless
|
|
14608
|
+
* field set to true.
|
|
14609
14609
|
*/
|
|
14610
14610
|
defaultRouteAction?: HttpRouteAction;
|
|
14611
14611
|
/**
|
|
@@ -49995,6 +49995,7 @@ declare namespace gapi.client {
|
|
|
49995
49995
|
key?: string;
|
|
49996
49996
|
/** OAuth 2.0 token for the current user. */
|
|
49997
49997
|
oauth_token?: string;
|
|
49998
|
+
paths?: string | string[];
|
|
49998
49999
|
/** Returns response with indentations and line breaks. */
|
|
49999
50000
|
prettyPrint?: boolean;
|
|
50000
50001
|
/** Project ID for this request. */
|
|
@@ -50012,6 +50013,8 @@ declare namespace gapi.client {
|
|
|
50012
50013
|
requestId?: string;
|
|
50013
50014
|
/** Name of the security policy to update. */
|
|
50014
50015
|
securityPolicy: string;
|
|
50016
|
+
/** Indicates fields to be cleared as part of this request. */
|
|
50017
|
+
updateMask?: string;
|
|
50015
50018
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
50016
50019
|
upload_protocol?: string;
|
|
50017
50020
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -50036,6 +50039,7 @@ declare namespace gapi.client {
|
|
|
50036
50039
|
key?: string;
|
|
50037
50040
|
/** OAuth 2.0 token for the current user. */
|
|
50038
50041
|
oauth_token?: string;
|
|
50042
|
+
paths?: string | string[];
|
|
50039
50043
|
/** Returns response with indentations and line breaks. */
|
|
50040
50044
|
prettyPrint?: boolean;
|
|
50041
50045
|
/** Project ID for this request. */
|
|
@@ -50053,6 +50057,8 @@ declare namespace gapi.client {
|
|
|
50053
50057
|
requestId?: string;
|
|
50054
50058
|
/** Name of the security policy to update. */
|
|
50055
50059
|
securityPolicy: string;
|
|
50060
|
+
/** Indicates fields to be cleared as part of this request. */
|
|
50061
|
+
updateMask?: string;
|
|
50056
50062
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
50057
50063
|
upload_protocol?: string;
|
|
50058
50064
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -54581,6 +54587,7 @@ declare namespace gapi.client {
|
|
|
54581
54587
|
key?: string;
|
|
54582
54588
|
/** OAuth 2.0 token for the current user. */
|
|
54583
54589
|
oauth_token?: string;
|
|
54590
|
+
paths?: string | string[];
|
|
54584
54591
|
/** Returns response with indentations and line breaks. */
|
|
54585
54592
|
prettyPrint?: boolean;
|
|
54586
54593
|
/** Project ID for this request. */
|
|
@@ -54596,6 +54603,8 @@ declare namespace gapi.client {
|
|
|
54596
54603
|
requestId?: string;
|
|
54597
54604
|
/** Name of the security policy to update. */
|
|
54598
54605
|
securityPolicy: string;
|
|
54606
|
+
/** Indicates fields to be cleared as part of this request. */
|
|
54607
|
+
updateMask?: string;
|
|
54599
54608
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
54600
54609
|
upload_protocol?: string;
|
|
54601
54610
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
@@ -54620,6 +54629,7 @@ declare namespace gapi.client {
|
|
|
54620
54629
|
key?: string;
|
|
54621
54630
|
/** OAuth 2.0 token for the current user. */
|
|
54622
54631
|
oauth_token?: string;
|
|
54632
|
+
paths?: string | string[];
|
|
54623
54633
|
/** Returns response with indentations and line breaks. */
|
|
54624
54634
|
prettyPrint?: boolean;
|
|
54625
54635
|
/** Project ID for this request. */
|
|
@@ -54635,6 +54645,8 @@ declare namespace gapi.client {
|
|
|
54635
54645
|
requestId?: string;
|
|
54636
54646
|
/** Name of the security policy to update. */
|
|
54637
54647
|
securityPolicy: string;
|
|
54648
|
+
/** Indicates fields to be cleared as part of this request. */
|
|
54649
|
+
updateMask?: string;
|
|
54638
54650
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
54639
54651
|
upload_protocol?: string;
|
|
54640
54652
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20220816
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -19924,10 +19924,12 @@ gapi.load('client', async () => {
|
|
|
19924
19924
|
});
|
|
19925
19925
|
/** Patches the specified policy with the data included in the request. */
|
|
19926
19926
|
await gapi.client.compute.regionSecurityPolicies.patch({
|
|
19927
|
+
paths: "Test string",
|
|
19927
19928
|
project: "Test string",
|
|
19928
19929
|
region: "Test string",
|
|
19929
19930
|
requestId: "Test string",
|
|
19930
19931
|
securityPolicy: "Test string",
|
|
19932
|
+
updateMask: "Test string",
|
|
19931
19933
|
}, {
|
|
19932
19934
|
adaptiveProtectionConfig: {
|
|
19933
19935
|
autoDeployConfig: {
|
|
@@ -24816,9 +24818,11 @@ gapi.load('client', async () => {
|
|
|
24816
24818
|
* and removeRule instead.
|
|
24817
24819
|
*/
|
|
24818
24820
|
await gapi.client.compute.securityPolicies.patch({
|
|
24821
|
+
paths: "Test string",
|
|
24819
24822
|
project: "Test string",
|
|
24820
24823
|
requestId: "Test string",
|
|
24821
24824
|
securityPolicy: "Test string",
|
|
24825
|
+
updateMask: "Test string",
|
|
24822
24826
|
}, {
|
|
24823
24827
|
adaptiveProtectionConfig: {
|
|
24824
24828
|
autoDeployConfig: {
|