@maxim_mazurok/gapi.client.metastore-v1alpha 0.0.20230215 → 0.0.20230305
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 +10 -7
- package/package.json +1 -1
- package/tests.ts +14 -7
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://metastore.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230305
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -493,6 +493,12 @@ declare namespace gapi.client {
|
|
|
493
493
|
/** Optional. The type of restore. If unspecified, defaults to METADATA_ONLY. */
|
|
494
494
|
restoreType?: string;
|
|
495
495
|
}
|
|
496
|
+
interface ScalingConfig {
|
|
497
|
+
/** An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) */
|
|
498
|
+
instanceSize?: string;
|
|
499
|
+
/** Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0. */
|
|
500
|
+
scalingFactor?: number;
|
|
501
|
+
}
|
|
496
502
|
interface Secret {
|
|
497
503
|
/** The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. */
|
|
498
504
|
cloudSecret?: string;
|
|
@@ -534,6 +540,8 @@ declare namespace gapi.client {
|
|
|
534
540
|
port?: number;
|
|
535
541
|
/** Immutable. The release channel of the service. If unspecified, defaults to STABLE. */
|
|
536
542
|
releaseChannel?: string;
|
|
543
|
+
/** Scaling configuration of the metastore service. */
|
|
544
|
+
scalingConfig?: ScalingConfig;
|
|
537
545
|
/** Output only. The current state of the metastore service. */
|
|
538
546
|
state?: string;
|
|
539
547
|
/** Output only. Additional information about the current state of the metastore service, if available. */
|
|
@@ -1077,12 +1085,7 @@ declare namespace gapi.client {
|
|
|
1077
1085
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1078
1086
|
uploadType?: string;
|
|
1079
1087
|
}): Request<Operation>;
|
|
1080
|
-
/**
|
|
1081
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
|
|
1082
|
-
* override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as
|
|
1083
|
-
* "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
1084
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
1085
|
-
*/
|
|
1088
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
|
|
1086
1089
|
list(request?: {
|
|
1087
1090
|
/** V1 error format. */
|
|
1088
1091
|
"$.xgafv"?: string;
|
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: 20230305
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -179,12 +179,7 @@ gapi.load('client', async () => {
|
|
|
179
179
|
await gapi.client.metastore.projects.locations.operations.get({
|
|
180
180
|
name: "Test string",
|
|
181
181
|
});
|
|
182
|
-
/**
|
|
183
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
|
|
184
|
-
* override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations"
|
|
185
|
-
* to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent
|
|
186
|
-
* resource, without the operations collection id.
|
|
187
|
-
*/
|
|
182
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
|
|
188
183
|
await gapi.client.metastore.projects.locations.operations.list({
|
|
189
184
|
filter: "Test string",
|
|
190
185
|
name: "Test string",
|
|
@@ -296,6 +291,10 @@ gapi.load('client', async () => {
|
|
|
296
291
|
},
|
|
297
292
|
port: 42,
|
|
298
293
|
releaseChannel: "Test string",
|
|
294
|
+
scalingConfig: {
|
|
295
|
+
instanceSize: "Test string",
|
|
296
|
+
scalingFactor: 42,
|
|
297
|
+
},
|
|
299
298
|
state: "Test string",
|
|
300
299
|
stateMessage: "Test string",
|
|
301
300
|
telemetryConfig: {
|
|
@@ -438,6 +437,10 @@ gapi.load('client', async () => {
|
|
|
438
437
|
},
|
|
439
438
|
port: 42,
|
|
440
439
|
releaseChannel: "Test string",
|
|
440
|
+
scalingConfig: {
|
|
441
|
+
instanceSize: "Test string",
|
|
442
|
+
scalingFactor: 42,
|
|
443
|
+
},
|
|
441
444
|
state: "Test string",
|
|
442
445
|
stateMessage: "Test string",
|
|
443
446
|
telemetryConfig: {
|
|
@@ -618,6 +621,10 @@ gapi.load('client', async () => {
|
|
|
618
621
|
},
|
|
619
622
|
port: 42,
|
|
620
623
|
releaseChannel: "Test string",
|
|
624
|
+
scalingConfig: {
|
|
625
|
+
instanceSize: "Test string",
|
|
626
|
+
scalingFactor: 42,
|
|
627
|
+
},
|
|
621
628
|
state: "Test string",
|
|
622
629
|
stateMessage: "Test string",
|
|
623
630
|
telemetryConfig: {
|