@maxim_mazurok/gapi.client.publicca-v1alpha1 0.0.20230425 → 0.0.20230509
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 +61 -31
- 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://publicca.googleapis.com/$discovery/rest?version=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230509
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,81 +24,111 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace publicca {
|
|
25
25
|
interface ExternalAccountKey {
|
|
26
26
|
/** Output only. Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created */
|
|
27
|
-
b64MacKey?:
|
|
27
|
+
b64MacKey?:
|
|
28
|
+
string;
|
|
28
29
|
/** Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created */
|
|
29
|
-
keyId?:
|
|
30
|
+
keyId?:
|
|
31
|
+
string;
|
|
30
32
|
/** Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{key_id} */
|
|
31
|
-
name?:
|
|
33
|
+
name?:
|
|
34
|
+
string;
|
|
32
35
|
}
|
|
33
36
|
interface ExternalAccountKeysResource {
|
|
34
37
|
/** Creates a new ExternalAccountKey bound to the project. */
|
|
35
38
|
create(request: {
|
|
36
39
|
/** V1 error format. */
|
|
37
|
-
"$.xgafv"?:
|
|
40
|
+
"$.xgafv"?:
|
|
41
|
+
string;
|
|
38
42
|
/** OAuth access token. */
|
|
39
|
-
access_token?:
|
|
43
|
+
access_token?:
|
|
44
|
+
string;
|
|
40
45
|
/** Data format for response. */
|
|
41
|
-
alt?:
|
|
46
|
+
alt?:
|
|
47
|
+
string;
|
|
42
48
|
/** JSONP */
|
|
43
|
-
callback?:
|
|
49
|
+
callback?:
|
|
50
|
+
string;
|
|
44
51
|
/** Selector specifying which fields to include in a partial response. */
|
|
45
|
-
fields?:
|
|
52
|
+
fields?:
|
|
53
|
+
string;
|
|
46
54
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
47
|
-
key?:
|
|
55
|
+
key?:
|
|
56
|
+
string;
|
|
48
57
|
/** OAuth 2.0 token for the current user. */
|
|
49
|
-
oauth_token?:
|
|
58
|
+
oauth_token?:
|
|
59
|
+
string;
|
|
50
60
|
/**
|
|
51
61
|
* Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is
|
|
52
62
|
* supported.
|
|
53
63
|
*/
|
|
54
|
-
parent:
|
|
64
|
+
parent:
|
|
65
|
+
string;
|
|
55
66
|
/** Returns response with indentations and line breaks. */
|
|
56
|
-
prettyPrint?:
|
|
67
|
+
prettyPrint?:
|
|
68
|
+
boolean;
|
|
57
69
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
58
|
-
quotaUser?:
|
|
70
|
+
quotaUser?:
|
|
71
|
+
string;
|
|
59
72
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
60
|
-
upload_protocol?:
|
|
73
|
+
upload_protocol?:
|
|
74
|
+
string;
|
|
61
75
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
62
|
-
uploadType?:
|
|
76
|
+
uploadType?:
|
|
77
|
+
string;
|
|
63
78
|
/** Request body */
|
|
64
|
-
resource:
|
|
79
|
+
resource:
|
|
80
|
+
ExternalAccountKey;
|
|
65
81
|
}): Request<ExternalAccountKey>;
|
|
66
82
|
create(request: {
|
|
67
83
|
/** V1 error format. */
|
|
68
|
-
"$.xgafv"?:
|
|
84
|
+
"$.xgafv"?:
|
|
85
|
+
string;
|
|
69
86
|
/** OAuth access token. */
|
|
70
|
-
access_token?:
|
|
87
|
+
access_token?:
|
|
88
|
+
string;
|
|
71
89
|
/** Data format for response. */
|
|
72
|
-
alt?:
|
|
90
|
+
alt?:
|
|
91
|
+
string;
|
|
73
92
|
/** JSONP */
|
|
74
|
-
callback?:
|
|
93
|
+
callback?:
|
|
94
|
+
string;
|
|
75
95
|
/** Selector specifying which fields to include in a partial response. */
|
|
76
|
-
fields?:
|
|
96
|
+
fields?:
|
|
97
|
+
string;
|
|
77
98
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
78
|
-
key?:
|
|
99
|
+
key?:
|
|
100
|
+
string;
|
|
79
101
|
/** OAuth 2.0 token for the current user. */
|
|
80
|
-
oauth_token?:
|
|
102
|
+
oauth_token?:
|
|
103
|
+
string;
|
|
81
104
|
/**
|
|
82
105
|
* Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is
|
|
83
106
|
* supported.
|
|
84
107
|
*/
|
|
85
|
-
parent:
|
|
108
|
+
parent:
|
|
109
|
+
string;
|
|
86
110
|
/** Returns response with indentations and line breaks. */
|
|
87
|
-
prettyPrint?:
|
|
111
|
+
prettyPrint?:
|
|
112
|
+
boolean;
|
|
88
113
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
89
|
-
quotaUser?:
|
|
114
|
+
quotaUser?:
|
|
115
|
+
string;
|
|
90
116
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
91
|
-
upload_protocol?:
|
|
117
|
+
upload_protocol?:
|
|
118
|
+
string;
|
|
92
119
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
93
|
-
uploadType?:
|
|
120
|
+
uploadType?:
|
|
121
|
+
string;
|
|
94
122
|
},
|
|
95
123
|
body: ExternalAccountKey): Request<ExternalAccountKey>;
|
|
96
124
|
}
|
|
97
125
|
interface LocationsResource {
|
|
98
|
-
externalAccountKeys:
|
|
126
|
+
externalAccountKeys:
|
|
127
|
+
ExternalAccountKeysResource;
|
|
99
128
|
}
|
|
100
129
|
interface ProjectsResource {
|
|
101
|
-
locations:
|
|
130
|
+
locations:
|
|
131
|
+
LocationsResource;
|
|
102
132
|
}
|
|
103
133
|
|
|
104
134
|
const projects: ProjectsResource;
|
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: 20230509
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|