@maxim_mazurok/gapi.client.serviceusage-v1 0.0.20230718 → 0.0.20230719
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 +33 -1
- package/package.json +1 -1
- package/tests.ts +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://serviceusage.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230719
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -364,6 +364,9 @@ declare namespace gapi.client {
|
|
|
364
364
|
*/
|
|
365
365
|
environment?:
|
|
366
366
|
string;
|
|
367
|
+
/** Defines policies applying to the API methods of the service. */
|
|
368
|
+
methodPolicies?:
|
|
369
|
+
MethodPolicy[];
|
|
367
370
|
}
|
|
368
371
|
interface CppSettings {
|
|
369
372
|
/** Some settings. */
|
|
@@ -620,6 +623,24 @@ declare namespace gapi.client {
|
|
|
620
623
|
typeUrl?:
|
|
621
624
|
string;
|
|
622
625
|
}
|
|
626
|
+
interface FieldPolicy {
|
|
627
|
+
/**
|
|
628
|
+
* Specifies the required permission(s) for the resource referred to by the field. It requires the field contains a valid resource reference, and the request must pass the permission
|
|
629
|
+
* checks to proceed. For example, "resourcemanager.projects.get".
|
|
630
|
+
*/
|
|
631
|
+
resourcePermission?:
|
|
632
|
+
string;
|
|
633
|
+
/** Specifies the resource type for the resource referred to by the field. */
|
|
634
|
+
resourceType?:
|
|
635
|
+
string;
|
|
636
|
+
/**
|
|
637
|
+
* Selects one or more request or response message fields to apply this `FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector must be left as empty. The service
|
|
638
|
+
* config generator will automatically fill the correct value. When a `FieldPolicy` is used in service config, the selector must be a comma-separated string with valid request or
|
|
639
|
+
* response field paths, such as "foo.bar" or "foo.bar,foo.baz".
|
|
640
|
+
*/
|
|
641
|
+
selector?:
|
|
642
|
+
string;
|
|
643
|
+
}
|
|
623
644
|
// tslint:disable-next-line:no-empty-interface
|
|
624
645
|
interface GetServiceIdentityMetadata {
|
|
625
646
|
}
|
|
@@ -1035,6 +1056,17 @@ declare namespace gapi.client {
|
|
|
1035
1056
|
syntax?:
|
|
1036
1057
|
string;
|
|
1037
1058
|
}
|
|
1059
|
+
interface MethodPolicy {
|
|
1060
|
+
/** Policies that are applicable to the request message. */
|
|
1061
|
+
requestPolicies?:
|
|
1062
|
+
FieldPolicy[];
|
|
1063
|
+
/**
|
|
1064
|
+
* Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax details. NOTE: This field
|
|
1065
|
+
* must not be set in the proto annotation. It will be automatically filled by the service config compiler .
|
|
1066
|
+
*/
|
|
1067
|
+
selector?:
|
|
1068
|
+
string;
|
|
1069
|
+
}
|
|
1038
1070
|
interface MethodSettings {
|
|
1039
1071
|
/**
|
|
1040
1072
|
* Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto. Example
|
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: 20230719
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|