OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/servicecontrol": { | 5 "https://www.googleapis.com/auth/servicecontrol": { |
6 "description": "Manage your Google Service Control data" | 6 "description": "Manage your Google Service Control data" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
9 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
10 } | 10 } |
(...skipping 10 matching lines...) Expand all Loading... |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "servicecontrol:v1", | 25 "id": "servicecontrol:v1", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "name": "servicecontrol", | 27 "name": "servicecontrol", |
28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
29 "ownerName": "Google", | 29 "ownerName": "Google", |
30 "parameters": { | 30 "parameters": { |
| 31 "oauth_token": { |
| 32 "description": "OAuth 2.0 token for the current user.", |
| 33 "location": "query", |
| 34 "type": "string" |
| 35 }, |
| 36 "bearer_token": { |
| 37 "description": "OAuth bearer token.", |
| 38 "location": "query", |
| 39 "type": "string" |
| 40 }, |
| 41 "upload_protocol": { |
| 42 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 43 "location": "query", |
| 44 "type": "string" |
| 45 }, |
| 46 "prettyPrint": { |
| 47 "default": "true", |
| 48 "description": "Returns response with indentations and line breaks."
, |
| 49 "location": "query", |
| 50 "type": "boolean" |
| 51 }, |
31 "uploadType": { | 52 "uploadType": { |
32 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 53 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
33 "location": "query", | 54 "location": "query", |
34 "type": "string" | 55 "type": "string" |
35 }, | 56 }, |
36 "fields": { | 57 "fields": { |
37 "description": "Selector specifying which fields to include in a par
tial response.", | 58 "description": "Selector specifying which fields to include in a par
tial response.", |
38 "location": "query", | 59 "location": "query", |
39 "type": "string" | 60 "type": "string" |
40 }, | 61 }, |
| 62 "callback": { |
| 63 "description": "JSONP", |
| 64 "location": "query", |
| 65 "type": "string" |
| 66 }, |
41 "$.xgafv": { | 67 "$.xgafv": { |
42 "description": "V1 error format.", | 68 "description": "V1 error format.", |
43 "enum": [ | 69 "enum": [ |
44 "1", | 70 "1", |
45 "2" | 71 "2" |
46 ], | 72 ], |
47 "enumDescriptions": [ | 73 "enumDescriptions": [ |
48 "v1 error format", | 74 "v1 error format", |
49 "v2 error format" | 75 "v2 error format" |
50 ], | 76 ], |
51 "location": "query", | 77 "location": "query", |
52 "type": "string" | 78 "type": "string" |
53 }, | 79 }, |
54 "callback": { | |
55 "description": "JSONP", | |
56 "location": "query", | |
57 "type": "string" | |
58 }, | |
59 "alt": { | 80 "alt": { |
60 "default": "json", | 81 "default": "json", |
61 "description": "Data format for response.", | 82 "description": "Data format for response.", |
62 "enum": [ | 83 "enum": [ |
63 "json", | 84 "json", |
64 "media", | 85 "media", |
65 "proto" | 86 "proto" |
66 ], | 87 ], |
67 "enumDescriptions": [ | 88 "enumDescriptions": [ |
68 "Responses with Content-Type of application/json", | 89 "Responses with Content-Type of application/json", |
69 "Media download with context-dependent Content-Type", | 90 "Media download with context-dependent Content-Type", |
70 "Responses with Content-Type of application/x-protobuf" | 91 "Responses with Content-Type of application/x-protobuf" |
71 ], | 92 ], |
72 "location": "query", | 93 "location": "query", |
73 "type": "string" | 94 "type": "string" |
74 }, | 95 }, |
| 96 "key": { |
| 97 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 98 "location": "query", |
| 99 "type": "string" |
| 100 }, |
75 "access_token": { | 101 "access_token": { |
76 "description": "OAuth access token.", | 102 "description": "OAuth access token.", |
77 "location": "query", | 103 "location": "query", |
78 "type": "string" | 104 "type": "string" |
79 }, | 105 }, |
80 "key": { | |
81 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
82 "location": "query", | |
83 "type": "string" | |
84 }, | |
85 "quotaUser": { | 106 "quotaUser": { |
86 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 107 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
87 "location": "query", | 108 "location": "query", |
88 "type": "string" | 109 "type": "string" |
89 }, | 110 }, |
90 "pp": { | 111 "pp": { |
91 "default": "true", | 112 "default": "true", |
92 "description": "Pretty-print response.", | 113 "description": "Pretty-print response.", |
93 "location": "query", | 114 "location": "query", |
94 "type": "boolean" | 115 "type": "boolean" |
95 }, | |
96 "bearer_token": { | |
97 "description": "OAuth bearer token.", | |
98 "location": "query", | |
99 "type": "string" | |
100 }, | |
101 "oauth_token": { | |
102 "description": "OAuth 2.0 token for the current user.", | |
103 "location": "query", | |
104 "type": "string" | |
105 }, | |
106 "upload_protocol": { | |
107 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
108 "location": "query", | |
109 "type": "string" | |
110 }, | |
111 "prettyPrint": { | |
112 "default": "true", | |
113 "description": "Returns response with indentations and line breaks."
, | |
114 "location": "query", | |
115 "type": "boolean" | |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "services": { | 120 "services": { |
121 "methods": { | 121 "methods": { |
122 "check": { | 122 "report": { |
123 "description": "Checks an operation with Google Service Cont
rol to decide whether\nthe given operation should proceed. It should be called b
efore the\noperation is executed.\n\nIf feasible, the client should cache the ch
eck results and reuse them for\n60 seconds. In case of server errors, the client
can rely on the cached\nresults for longer time.\n\nNOTE: the `CheckRequest` ha
s the size limit of 64KB.\n\nThis method requires the `servicemanagement.service
s.check` permission\non the specified service. For more information, see\n[Googl
e Cloud IAM](https://cloud.google.com/iam).", | 123 "description": "Reports operation results to Google Service
Control, such as logs and\nmetrics. It should be called after an operation is co
mpleted.\n\nIf feasible, the client should aggregate reporting data for up to 5\
nseconds to reduce API traffic. Limiting aggregation to 5 seconds is to\nreduce
data loss during client crashes. Clients should carefully choose\nthe aggregatio
n time window to avoid data loss risk more than 0.01%\nfor business and complian
ce reasons.\n\nNOTE: the `ReportRequest` has the size limit of 1MB.\n\nThis meth
od requires the `servicemanagement.services.report` permission\non the specified
service. For more information, see\n[Google Cloud IAM](https://cloud.google.com
/iam).", |
124 "httpMethod": "POST", | 124 "httpMethod": "POST", |
125 "id": "servicecontrol.services.check", | 125 "id": "servicecontrol.services.report", |
126 "parameterOrder": [ | 126 "parameterOrder": [ |
127 "serviceName" | 127 "serviceName" |
128 ], | 128 ], |
129 "parameters": { | 129 "parameters": { |
130 "serviceName": { | 130 "serviceName": { |
131 "description": "The service name as specified in its
service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google
.api.Service for the definition of a service name.", | 131 "description": "The service name as specified in its
service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google
.api.Service for the definition of a service name.", |
132 "location": "path", | 132 "location": "path", |
133 "required": true, | 133 "required": true, |
134 "type": "string" | 134 "type": "string" |
135 } | 135 } |
136 }, | 136 }, |
137 "path": "v1/services/{serviceName}:check", | 137 "path": "v1/services/{serviceName}:report", |
138 "request": { | 138 "request": { |
139 "$ref": "CheckRequest" | 139 "$ref": "ReportRequest" |
140 }, | 140 }, |
141 "response": { | 141 "response": { |
142 "$ref": "CheckResponse" | 142 "$ref": "ReportResponse" |
143 }, | 143 }, |
144 "scopes": [ | 144 "scopes": [ |
145 "https://www.googleapis.com/auth/cloud-platform", | 145 "https://www.googleapis.com/auth/cloud-platform", |
146 "https://www.googleapis.com/auth/servicecontrol" | 146 "https://www.googleapis.com/auth/servicecontrol" |
147 ] | 147 ] |
148 }, | 148 }, |
149 "releaseQuota": { | 149 "allocateQuota": { |
150 "description": "Releases previously allocated quota done thr
ough AllocateQuota method.\n\nThis method requires the `servicemanagement.servic
es.quota`\npermission on the specified service. For more information, see\n[Goog
le Cloud IAM](https://cloud.google.com/iam).\n\n**NOTE:** the client code **must
** fail-open if the server returns one\nof the following quota errors:\n- `PRO
JECT_STATUS_UNAVAILABLE`\n- `SERVICE_STATUS_UNAVAILABLE`\n- `BILLING_STATUS_
UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILABLE`\n\nThe server may inject above erro
rs to prohibit any hard dependency\non the quota system.", | 150 "description": "Attempts to allocate quota for the specified
consumer. It should be called\nbefore the operation is executed.\n\nThis method
requires the `servicemanagement.services.quota`\npermission on the specified se
rvice. For more information, see\n[Google Cloud IAM](https://cloud.google.com/ia
m).\n\n**NOTE:** the client code **must** fail-open if the server returns one\no
f the following quota errors:\n- `PROJECT_STATUS_UNAVAILABLE`\n- `SERVICE_ST
ATUS_UNAVAILABLE`\n- `BILLING_STATUS_UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILAB
LE`\n\nThe server may inject above errors to prohibit any hard dependency\non th
e quota system.", |
151 "httpMethod": "POST", | 151 "httpMethod": "POST", |
152 "id": "servicecontrol.services.releaseQuota", | 152 "id": "servicecontrol.services.allocateQuota", |
153 "parameterOrder": [ | 153 "parameterOrder": [ |
154 "serviceName" | 154 "serviceName" |
155 ], | 155 ], |
156 "parameters": { | 156 "parameters": { |
157 "serviceName": { | 157 "serviceName": { |
158 "description": "Name of the service as specified in
the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee goo
gle.api.Service for the definition of a service name.", | 158 "description": "Name of the service as specified in
the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee goo
gle.api.Service for the definition of a service name.", |
159 "location": "path", | 159 "location": "path", |
160 "required": true, | 160 "required": true, |
161 "type": "string" | 161 "type": "string" |
162 } | 162 } |
163 }, | 163 }, |
164 "path": "v1/services/{serviceName}:releaseQuota", | 164 "path": "v1/services/{serviceName}:allocateQuota", |
165 "request": { | 165 "request": { |
166 "$ref": "ReleaseQuotaRequest" | 166 "$ref": "AllocateQuotaRequest" |
167 }, | 167 }, |
168 "response": { | 168 "response": { |
169 "$ref": "ReleaseQuotaResponse" | 169 "$ref": "AllocateQuotaResponse" |
170 }, | 170 }, |
171 "scopes": [ | 171 "scopes": [ |
172 "https://www.googleapis.com/auth/cloud-platform", | 172 "https://www.googleapis.com/auth/cloud-platform", |
173 "https://www.googleapis.com/auth/servicecontrol" | 173 "https://www.googleapis.com/auth/servicecontrol" |
174 ] | 174 ] |
175 }, | 175 }, |
176 "endReconciliation": { | 176 "startReconciliation": { |
177 "description": "Signals the quota controller that service en
ds the ongoing usage\nreconciliation.\n\nThis method requires the `servicemanage
ment.services.quota`\npermission on the specified service. For more information,
see\n[Google Cloud IAM](https://cloud.google.com/iam).", | 177 "description": "Unlike rate quota, allocation quota does not
get refilled periodically.\nSo, it is possible that the quota usage as seen by
the service differs from\nwhat the One Platform considers the usage is. This is
expected to happen\nonly rarely, but over time this can accumulate. Services can
invoke\nStartReconciliation and EndReconciliation to correct this usage drift,
as\ndescribed below:\n1. Service sends StartReconciliation with a timestamp in f
uture for each\n metric that needs to be reconciled. The timestamp being in fu
ture allows\n to account for in-flight AllocateQuota and ReleaseQuota requests
for the\n same metric.\n2. One Platform records this timestamp and starts tra
cking subsequent\n AllocateQuota and ReleaseQuota requests until EndReconcilia
tion is\n called.\n3. At or after the time specified in the StartReconciliatio
n, service\n sends EndReconciliation with the usage that needs to be reconcile
d to.\n4. One Platform adjusts its own record of usage for that metric to the\n
value specified in EndReconciliation by taking in to account any\n allocatio
n or release between StartReconciliation and EndReconciliation.\n\nSignals the q
uota controller that the service wants to perform a usage\nreconciliation as spe
cified in the request.\n\nThis method requires the `servicemanagement.services.q
uota`\npermission on the specified service. For more information, see\n[Google C
loud IAM](https://cloud.google.com/iam).", |
178 "httpMethod": "POST", | 178 "httpMethod": "POST", |
179 "id": "servicecontrol.services.endReconciliation", | 179 "id": "servicecontrol.services.startReconciliation", |
180 "parameterOrder": [ | 180 "parameterOrder": [ |
181 "serviceName" | 181 "serviceName" |
182 ], | 182 ], |
183 "parameters": { | 183 "parameters": { |
184 "serviceName": { | 184 "serviceName": { |
185 "description": "Name of the service as specified in
the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee goo
gle.api.Service for the definition of a service name.", | 185 "description": "Name of the service as specified in
the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee goo
gle.api.Service for the definition of a service name.", |
186 "location": "path", | 186 "location": "path", |
187 "required": true, | 187 "required": true, |
188 "type": "string" | 188 "type": "string" |
189 } | 189 } |
190 }, | 190 }, |
191 "path": "v1/services/{serviceName}:endReconciliation", | 191 "path": "v1/services/{serviceName}:startReconciliation", |
192 "request": { | 192 "request": { |
193 "$ref": "EndReconciliationRequest" | 193 "$ref": "StartReconciliationRequest" |
194 }, | 194 }, |
195 "response": { | 195 "response": { |
196 "$ref": "EndReconciliationResponse" | 196 "$ref": "StartReconciliationResponse" |
197 }, | 197 }, |
198 "scopes": [ | 198 "scopes": [ |
199 "https://www.googleapis.com/auth/cloud-platform", | 199 "https://www.googleapis.com/auth/cloud-platform", |
200 "https://www.googleapis.com/auth/servicecontrol" | 200 "https://www.googleapis.com/auth/servicecontrol" |
201 ] | 201 ] |
202 }, | 202 }, |
203 "report": { | 203 "check": { |
204 "description": "Reports operation results to Google Service
Control, such as logs and\nmetrics. It should be called after an operation is co
mpleted.\n\nIf feasible, the client should aggregate reporting data for up to 5\
nseconds to reduce API traffic. Limiting aggregation to 5 seconds is to\nreduce
data loss during client crashes. Clients should carefully choose\nthe aggregatio
n time window to avoid data loss risk more than 0.01%\nfor business and complian
ce reasons.\n\nNOTE: the `ReportRequest` has the size limit of 1MB.\n\nThis meth
od requires the `servicemanagement.services.report` permission\non the specified
service. For more information, see\n[Google Cloud IAM](https://cloud.google.com
/iam).", | 204 "description": "Checks an operation with Google Service Cont
rol to decide whether\nthe given operation should proceed. It should be called b
efore the\noperation is executed.\n\nIf feasible, the client should cache the ch
eck results and reuse them for\n60 seconds. In case of server errors, the client
can rely on the cached\nresults for longer time.\n\nNOTE: the `CheckRequest` ha
s the size limit of 64KB.\n\nThis method requires the `servicemanagement.service
s.check` permission\non the specified service. For more information, see\n[Googl
e Cloud IAM](https://cloud.google.com/iam).", |
205 "httpMethod": "POST", | 205 "httpMethod": "POST", |
206 "id": "servicecontrol.services.report", | 206 "id": "servicecontrol.services.check", |
207 "parameterOrder": [ | 207 "parameterOrder": [ |
208 "serviceName" | 208 "serviceName" |
209 ], | 209 ], |
210 "parameters": { | 210 "parameters": { |
211 "serviceName": { | 211 "serviceName": { |
212 "description": "The service name as specified in its
service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google
.api.Service for the definition of a service name.", | 212 "description": "The service name as specified in its
service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google
.api.Service for the definition of a service name.", |
213 "location": "path", | 213 "location": "path", |
214 "required": true, | 214 "required": true, |
215 "type": "string" | 215 "type": "string" |
216 } | 216 } |
217 }, | 217 }, |
218 "path": "v1/services/{serviceName}:report", | 218 "path": "v1/services/{serviceName}:check", |
219 "request": { | 219 "request": { |
220 "$ref": "ReportRequest" | 220 "$ref": "CheckRequest" |
221 }, | 221 }, |
222 "response": { | 222 "response": { |
223 "$ref": "ReportResponse" | 223 "$ref": "CheckResponse" |
224 }, | 224 }, |
225 "scopes": [ | 225 "scopes": [ |
226 "https://www.googleapis.com/auth/cloud-platform", | 226 "https://www.googleapis.com/auth/cloud-platform", |
227 "https://www.googleapis.com/auth/servicecontrol" | 227 "https://www.googleapis.com/auth/servicecontrol" |
228 ] | 228 ] |
229 }, | 229 }, |
230 "allocateQuota": { | 230 "releaseQuota": { |
231 "description": "Attempts to allocate quota for the specified
consumer. It should be called\nbefore the operation is executed.\n\nThis method
requires the `servicemanagement.services.quota`\npermission on the specified se
rvice. For more information, see\n[Google Cloud IAM](https://cloud.google.com/ia
m).\n\n**NOTE:** the client code **must** fail-open if the server returns one\no
f the following quota errors:\n- `PROJECT_STATUS_UNAVAILABLE`\n- `SERVICE_ST
ATUS_UNAVAILABLE`\n- `BILLING_STATUS_UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILAB
LE`\n\nThe server may inject above errors to prohibit any hard dependency\non th
e quota system.", | 231 "description": "Releases previously allocated quota done thr
ough AllocateQuota method.\n\nThis method requires the `servicemanagement.servic
es.quota`\npermission on the specified service. For more information, see\n[Goog
le Cloud IAM](https://cloud.google.com/iam).\n\n**NOTE:** the client code **must
** fail-open if the server returns one\nof the following quota errors:\n- `PRO
JECT_STATUS_UNAVAILABLE`\n- `SERVICE_STATUS_UNAVAILABLE`\n- `BILLING_STATUS_
UNAVAILABLE`\n- `QUOTA_SYSTEM_UNAVAILABLE`\n\nThe server may inject above erro
rs to prohibit any hard dependency\non the quota system.", |
232 "httpMethod": "POST", | 232 "httpMethod": "POST", |
233 "id": "servicecontrol.services.allocateQuota", | 233 "id": "servicecontrol.services.releaseQuota", |
234 "parameterOrder": [ | 234 "parameterOrder": [ |
235 "serviceName" | 235 "serviceName" |
236 ], | 236 ], |
237 "parameters": { | 237 "parameters": { |
238 "serviceName": { | 238 "serviceName": { |
239 "description": "Name of the service as specified in
the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee goo
gle.api.Service for the definition of a service name.", | 239 "description": "Name of the service as specified in
the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee goo
gle.api.Service for the definition of a service name.", |
240 "location": "path", | 240 "location": "path", |
241 "required": true, | 241 "required": true, |
242 "type": "string" | 242 "type": "string" |
243 } | 243 } |
244 }, | 244 }, |
245 "path": "v1/services/{serviceName}:allocateQuota", | 245 "path": "v1/services/{serviceName}:releaseQuota", |
246 "request": { | 246 "request": { |
247 "$ref": "AllocateQuotaRequest" | 247 "$ref": "ReleaseQuotaRequest" |
248 }, | 248 }, |
249 "response": { | 249 "response": { |
250 "$ref": "AllocateQuotaResponse" | 250 "$ref": "ReleaseQuotaResponse" |
251 }, | 251 }, |
252 "scopes": [ | 252 "scopes": [ |
253 "https://www.googleapis.com/auth/cloud-platform", | 253 "https://www.googleapis.com/auth/cloud-platform", |
254 "https://www.googleapis.com/auth/servicecontrol" | 254 "https://www.googleapis.com/auth/servicecontrol" |
255 ] | 255 ] |
256 }, | 256 }, |
257 "startReconciliation": { | 257 "endReconciliation": { |
258 "description": "Unlike rate quota, allocation quota does not
get refilled periodically.\nSo, it is possible that the quota usage as seen by
the service differs from\nwhat the One Platform considers the usage is. This is
expected to happen\nonly rarely, but over time this can accumulate. Services can
invoke\nStartReconciliation and EndReconciliation to correct this usage drift,
as\ndescribed below:\n1. Service sends StartReconciliation with a timestamp in f
uture for each\n metric that needs to be reconciled. The timestamp being in fu
ture allows\n to account for in-flight AllocateQuota and ReleaseQuota requests
for the\n same metric.\n2. One Platform records this timestamp and starts tra
cking subsequent\n AllocateQuota and ReleaseQuota requests until EndReconcilia
tion is\n called.\n3. At or after the time specified in the StartReconciliatio
n, service\n sends EndReconciliation with the usage that needs to be reconcile
d to.\n4. One Platform adjusts its own record of usage for that metric to the\n
value specified in EndReconciliation by taking in to account any\n allocatio
n or release between StartReconciliation and EndReconciliation.\n\nSignals the q
uota controller that the service wants to perform a usage\nreconciliation as spe
cified in the request.\n\nThis method requires the `servicemanagement.services.q
uota`\npermission on the specified service. For more information, see\n[Google C
loud IAM](https://cloud.google.com/iam).", | 258 "description": "Signals the quota controller that service en
ds the ongoing usage\nreconciliation.\n\nThis method requires the `servicemanage
ment.services.quota`\npermission on the specified service. For more information,
see\n[Google Cloud IAM](https://cloud.google.com/iam).", |
259 "httpMethod": "POST", | 259 "httpMethod": "POST", |
260 "id": "servicecontrol.services.startReconciliation", | 260 "id": "servicecontrol.services.endReconciliation", |
261 "parameterOrder": [ | 261 "parameterOrder": [ |
262 "serviceName" | 262 "serviceName" |
263 ], | 263 ], |
264 "parameters": { | 264 "parameters": { |
265 "serviceName": { | 265 "serviceName": { |
266 "description": "Name of the service as specified in
the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee goo
gle.api.Service for the definition of a service name.", | 266 "description": "Name of the service as specified in
the service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee goo
gle.api.Service for the definition of a service name.", |
267 "location": "path", | 267 "location": "path", |
268 "required": true, | 268 "required": true, |
269 "type": "string" | 269 "type": "string" |
270 } | 270 } |
271 }, | 271 }, |
272 "path": "v1/services/{serviceName}:startReconciliation", | 272 "path": "v1/services/{serviceName}:endReconciliation", |
273 "request": { | 273 "request": { |
274 "$ref": "StartReconciliationRequest" | 274 "$ref": "EndReconciliationRequest" |
275 }, | 275 }, |
276 "response": { | 276 "response": { |
277 "$ref": "StartReconciliationResponse" | 277 "$ref": "EndReconciliationResponse" |
278 }, | 278 }, |
279 "scopes": [ | 279 "scopes": [ |
280 "https://www.googleapis.com/auth/cloud-platform", | 280 "https://www.googleapis.com/auth/cloud-platform", |
281 "https://www.googleapis.com/auth/servicecontrol" | 281 "https://www.googleapis.com/auth/servicecontrol" |
282 ] | 282 ] |
283 } | 283 } |
284 } | 284 } |
285 } | 285 } |
286 }, | 286 }, |
287 "revision": "20170724", | 287 "revision": "20170813", |
288 "rootUrl": "https://servicecontrol.googleapis.com/", | 288 "rootUrl": "https://servicecontrol.googleapis.com/", |
289 "schemas": { | 289 "schemas": { |
290 "Money": { | |
291 "description": "Represents an amount of money with its currency type
.", | |
292 "id": "Money", | |
293 "properties": { | |
294 "nanos": { | |
295 "description": "Number of nano (10^-9) units of the amount.\
nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units`
is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can
be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negativ
e or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000
,000.", | |
296 "format": "int32", | |
297 "type": "integer" | |
298 }, | |
299 "units": { | |
300 "description": "The whole units of the amount.\nFor example
if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", | |
301 "format": "int64", | |
302 "type": "string" | |
303 }, | |
304 "currencyCode": { | |
305 "description": "The 3-letter currency code defined in ISO 42
17.", | |
306 "type": "string" | |
307 } | |
308 }, | |
309 "type": "object" | |
310 }, | |
311 "EndReconciliationResponse": { | |
312 "id": "EndReconciliationResponse", | |
313 "properties": { | |
314 "quotaMetrics": { | |
315 "description": "Metric values as tracked by One Platform bef
ore the adjustment was made.\nThe following metrics will be included:\n\n1. Per
quota metric total usage will be specified using the following gauge\nmetric:\n
\"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n2. Va
lue for each quota limit associated with the metrics will be specified\nusing th
e following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"\n\n3.
Delta value of the usage after the reconciliation for limits associated\nwith t
he metrics will be specified using the following metric:\n \"serviceruntime.goo
gleapis.com/allocation/reconciliation_delta\"\nThe delta value is defined as:\n
new_usage_from_client - existing_value_in_spanner.\nThis metric is not defined
in serviceruntime.yaml or in Cloud Monarch.\nThis metric is meant for callers' u
se only. Since this metric is not\ndefined in the monitoring backend, reporting
on this metric will result in\nan error.", | |
316 "items": { | |
317 "$ref": "MetricValueSet" | |
318 }, | |
319 "type": "array" | |
320 }, | |
321 "reconciliationErrors": { | |
322 "description": "Indicates the decision of the reconciliation
end.", | |
323 "items": { | |
324 "$ref": "QuotaError" | |
325 }, | |
326 "type": "array" | |
327 }, | |
328 "operationId": { | |
329 "description": "The same operation_id value used in the EndR
econciliationRequest. Used for\nlogging and diagnostics purposes.", | |
330 "type": "string" | |
331 }, | |
332 "serviceConfigId": { | |
333 "description": "ID of the actual config used to process the
request.", | |
334 "type": "string" | |
335 } | |
336 }, | |
337 "type": "object" | |
338 }, | |
339 "Distribution": { | |
340 "description": "Distribution represents a frequency distribution of
double-valued sample\npoints. It contains the size of the population of sample p
oints plus\nadditional optional information:\n\n - the arithmetic mean of the s
amples\n - the minimum and maximum of the samples\n - the sum-squared-deviatio
n of the samples, used to compute variance\n - a histogram of the values of the
sample points", | |
341 "id": "Distribution", | |
342 "properties": { | |
343 "minimum": { | |
344 "description": "The minimum of the population of values. Ign
ored if `count` is zero.", | |
345 "format": "double", | |
346 "type": "number" | |
347 }, | |
348 "linearBuckets": { | |
349 "$ref": "LinearBuckets", | |
350 "description": "Buckets with constant width." | |
351 }, | |
352 "mean": { | |
353 "description": "The arithmetic mean of the samples in the di
stribution. If `count` is\nzero then this field must be zero.", | |
354 "format": "double", | |
355 "type": "number" | |
356 }, | |
357 "count": { | |
358 "description": "The total number of samples in the distribut
ion. Must be >= 0.", | |
359 "format": "int64", | |
360 "type": "string" | |
361 }, | |
362 "bucketCounts": { | |
363 "description": "The number of samples in each histogram buck
et. `bucket_counts` are\noptional. If present, they must sum to the `count` valu
e.\n\nThe buckets are defined below in `bucket_option`. There are N buckets.\n`b
ucket_counts[0]` is the number of samples in the underflow bucket.\n`bucket_coun
ts[1]` to `bucket_counts[N-1]` are the numbers of samples\nin each of the finite
buckets. And `bucket_counts[N] is the number\nof samples in the overflow bucket
. See the comments of `bucket_option`\nbelow for more details.\n\nAny suffix of
trailing zeros may be omitted.", | |
364 "items": { | |
365 "format": "int64", | |
366 "type": "string" | |
367 }, | |
368 "type": "array" | |
369 }, | |
370 "explicitBuckets": { | |
371 "$ref": "ExplicitBuckets", | |
372 "description": "Buckets with arbitrary user-provided width." | |
373 }, | |
374 "maximum": { | |
375 "description": "The maximum of the population of values. Ign
ored if `count` is zero.", | |
376 "format": "double", | |
377 "type": "number" | |
378 }, | |
379 "sumOfSquaredDeviation": { | |
380 "description": "The sum of squared deviations from the mean:
\n Sum[i=1..count]((x_i - mean)^2)\nwhere each x_i is a sample values. If `coun
t` is zero then this field\nmust be zero, otherwise validation of the request fa
ils.", | |
381 "format": "double", | |
382 "type": "number" | |
383 }, | |
384 "exponentialBuckets": { | |
385 "$ref": "ExponentialBuckets", | |
386 "description": "Buckets with exponentially growing width." | |
387 } | |
388 }, | |
389 "type": "object" | |
390 }, | |
391 "ExplicitBuckets": { | |
392 "description": "Describing buckets with arbitrary user-provided widt
h.", | |
393 "id": "ExplicitBuckets", | |
394 "properties": { | |
395 "bounds": { | |
396 "description": "'bound' is a list of strictly increasing bou
ndaries between\nbuckets. Note that a list of length N-1 defines N buckets becau
se\nof fenceposting. See comments on `bucket_options` for details.\n\nThe i'th f
inite bucket covers the interval\n [bound[i-1], bound[i])\nwhere i ranges from
1 to bound_size() - 1. Note that there are no\nfinite buckets at all if 'bound'
only contains a single element; in\nthat special case the single bound defines t
he boundary between the\nunderflow and overflow buckets.\n\nbucket number
lower bound upper bound\n i == 0 (underflow) -inf
bound[i]\n 0 < i < bound_size() bound[i-1] bound[i]\n i =
= bound_size() (overflow) bound[i-1] +inf", | |
397 "items": { | |
398 "format": "double", | |
399 "type": "number" | |
400 }, | |
401 "type": "array" | |
402 } | |
403 }, | |
404 "type": "object" | |
405 }, | |
406 "ExponentialBuckets": { | |
407 "description": "Describing buckets with exponentially growing width.
", | |
408 "id": "ExponentialBuckets", | |
409 "properties": { | |
410 "numFiniteBuckets": { | |
411 "description": "The number of finite buckets. With the under
flow and overflow buckets,\nthe total number of buckets is `num_finite_buckets`
+ 2.\nSee comments on `bucket_options` for details.", | |
412 "format": "int32", | |
413 "type": "integer" | |
414 }, | |
415 "growthFactor": { | |
416 "description": "The i'th exponential bucket covers the inter
val\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges fr
om 1 to num_finite_buckets inclusive.\nMust be larger than 1.0.", | |
417 "format": "double", | |
418 "type": "number" | |
419 }, | |
420 "scale": { | |
421 "description": "The i'th exponential bucket covers the inter
val\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges fr
om 1 to num_finite_buckets inclusive.\nMust be > 0.", | |
422 "format": "double", | |
423 "type": "number" | |
424 } | |
425 }, | |
426 "type": "object" | |
427 }, | |
428 "AuthorizationInfo": { | |
429 "description": "Authorization information for the operation.", | |
430 "id": "AuthorizationInfo", | |
431 "properties": { | |
432 "resource": { | |
433 "description": "The resource being accessed, as a REST-style
string. For example:\n\n bigquery.googleapis.com/projects/PROJECTID/datasets
/DATASETID", | |
434 "type": "string" | |
435 }, | |
436 "granted": { | |
437 "description": "Whether or not authorization for `resource`
and `permission`\nwas granted.", | |
438 "type": "boolean" | |
439 }, | |
440 "permission": { | |
441 "description": "The required IAM permission.", | |
442 "type": "string" | |
443 } | |
444 }, | |
445 "type": "object" | |
446 }, | |
447 "StartReconciliationResponse": { | 290 "StartReconciliationResponse": { |
448 "id": "StartReconciliationResponse", | 291 "id": "StartReconciliationResponse", |
449 "properties": { | 292 "properties": { |
450 "quotaMetrics": { | 293 "quotaMetrics": { |
451 "description": "Metric values as tracked by One Platform bef
ore the start of\nreconciliation. The following metrics will be included:\n\n1.
Per quota metric total usage will be specified using the following gauge\nmetric
:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n2
. Value for each quota limit associated with the metrics will be specified\nusin
g the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"", | 294 "description": "Metric values as tracked by One Platform bef
ore the start of\nreconciliation. The following metrics will be included:\n\n1.
Per quota metric total usage will be specified using the following gauge\nmetric
:\n \"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n2
. Value for each quota limit associated with the metrics will be specified\nusin
g the following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"", |
452 "items": { | 295 "items": { |
453 "$ref": "MetricValueSet" | 296 "$ref": "MetricValueSet" |
454 }, | 297 }, |
455 "type": "array" | 298 "type": "array" |
456 }, | 299 }, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 ], | 342 ], |
500 "type": "string" | 343 "type": "string" |
501 } | 344 } |
502 }, | 345 }, |
503 "type": "object" | 346 "type": "object" |
504 }, | 347 }, |
505 "LinearBuckets": { | 348 "LinearBuckets": { |
506 "description": "Describing buckets with constant width.", | 349 "description": "Describing buckets with constant width.", |
507 "id": "LinearBuckets", | 350 "id": "LinearBuckets", |
508 "properties": { | 351 "properties": { |
| 352 "offset": { |
| 353 "description": "The i'th linear bucket covers the interval\n
[offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_fin
ite_buckets, inclusive.", |
| 354 "format": "double", |
| 355 "type": "number" |
| 356 }, |
509 "numFiniteBuckets": { | 357 "numFiniteBuckets": { |
510 "description": "The number of finite buckets. With the under
flow and overflow buckets,\nthe total number of buckets is `num_finite_buckets`
+ 2.\nSee comments on `bucket_options` for details.", | 358 "description": "The number of finite buckets. With the under
flow and overflow buckets,\nthe total number of buckets is `num_finite_buckets`
+ 2.\nSee comments on `bucket_options` for details.", |
511 "format": "int32", | 359 "format": "int32", |
512 "type": "integer" | 360 "type": "integer" |
513 }, | 361 }, |
514 "width": { | 362 "width": { |
515 "description": "The i'th linear bucket covers the interval\n
[offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_fin
ite_buckets, inclusive.\nMust be strictly positive.", | 363 "description": "The i'th linear bucket covers the interval\n
[offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_fin
ite_buckets, inclusive.\nMust be strictly positive.", |
516 "format": "double", | 364 "format": "double", |
517 "type": "number" | 365 "type": "number" |
518 }, | |
519 "offset": { | |
520 "description": "The i'th linear bucket covers the interval\n
[offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_fin
ite_buckets, inclusive.", | |
521 "format": "double", | |
522 "type": "number" | |
523 } | 366 } |
524 }, | 367 }, |
525 "type": "object" | 368 "type": "object" |
526 }, | 369 }, |
527 "AuthenticationInfo": { | 370 "AuthenticationInfo": { |
528 "description": "Authentication information for the operation.", | 371 "description": "Authentication information for the operation.", |
529 "id": "AuthenticationInfo", | 372 "id": "AuthenticationInfo", |
530 "properties": { | 373 "properties": { |
531 "principalEmail": { | 374 "principalEmail": { |
532 "description": "The email address of the authenticated user
making the request.", | 375 "description": "The email address of the authenticated user
making the request.\nFor privacy reasons, the principal email address is redacte
d for all\nread-only operations that fail with a \"permission denied\" error.", |
533 "type": "string" | 376 "type": "string" |
534 }, | 377 }, |
535 "authoritySelector": { | 378 "authoritySelector": { |
536 "description": "The authority selector specified by the requ
estor, if any.\nIt is not guaranteed that the principal was allowed to use this
authority.", | 379 "description": "The authority selector specified by the requ
estor, if any.\nIt is not guaranteed that the principal was allowed to use this
authority.", |
537 "type": "string" | 380 "type": "string" |
538 } | 381 } |
539 }, | 382 }, |
540 "type": "object" | 383 "type": "object" |
541 }, | 384 }, |
542 "AllocateQuotaResponse": { | 385 "AllocateQuotaResponse": { |
543 "description": "Response message for the AllocateQuota method.", | 386 "description": "Response message for the AllocateQuota method.", |
544 "id": "AllocateQuotaResponse", | 387 "id": "AllocateQuotaResponse", |
545 "properties": { | 388 "properties": { |
| 389 "quotaMetrics": { |
| 390 "description": "Quota metrics to indicate the result of allo
cation. Depending on the\nrequest, one or more of the following metrics will be
included:\n\n1. For rate quota, per quota group or per quota metric incremental
usage\nwill be specified using the following delta metric:\n \"serviceruntime.g
oogleapis.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per qu
ota metric total usage will be specified\nusing the following gauge metric:\n \
"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For
both rate quota and allocation quota, the quota limit reached\ncondition will be
specified using the following boolean metric:\n \"serviceruntime.googleapis.co
m/quota/exceeded\"\n\n4. For allocation quota, value for each quota limit associ
ated with\nthe metrics will be specified using the following gauge metric:\n \"
serviceruntime.googleapis.com/quota/limit\"", |
| 391 "items": { |
| 392 "$ref": "MetricValueSet" |
| 393 }, |
| 394 "type": "array" |
| 395 }, |
546 "operationId": { | 396 "operationId": { |
547 "description": "The same operation_id value used in the Allo
cateQuotaRequest. Used for\nlogging and diagnostics purposes.", | 397 "description": "The same operation_id value used in the Allo
cateQuotaRequest. Used for\nlogging and diagnostics purposes.", |
548 "type": "string" | 398 "type": "string" |
549 }, | 399 }, |
550 "serviceConfigId": { | 400 "serviceConfigId": { |
551 "description": "ID of the actual config used to process the
request.", | 401 "description": "ID of the actual config used to process the
request.", |
552 "type": "string" | 402 "type": "string" |
553 }, | 403 }, |
554 "allocateErrors": { | 404 "allocateErrors": { |
555 "description": "Indicates the decision of the allocate.", | 405 "description": "Indicates the decision of the allocate.", |
556 "items": { | 406 "items": { |
557 "$ref": "QuotaError" | 407 "$ref": "QuotaError" |
558 }, | 408 }, |
559 "type": "array" | 409 "type": "array" |
560 }, | |
561 "quotaMetrics": { | |
562 "description": "Quota metrics to indicate the result of allo
cation. Depending on the\nrequest, one or more of the following metrics will be
included:\n\n1. For rate quota, per quota group or per quota metric incremental
usage\nwill be specified using the following delta metric:\n \"serviceruntime.g
oogleapis.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per qu
ota metric total usage will be specified\nusing the following gauge metric:\n \
"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For
both rate quota and allocation quota, the quota limit reached\ncondition will be
specified using the following boolean metric:\n \"serviceruntime.googleapis.co
m/quota/exceeded\"\n\n4. For allocation quota, value for each quota limit associ
ated with\nthe metrics will be specified using the following gauge metric:\n \"
serviceruntime.googleapis.com/quota/limit\"", | |
563 "items": { | |
564 "$ref": "MetricValueSet" | |
565 }, | |
566 "type": "array" | |
567 } | 410 } |
568 }, | 411 }, |
569 "type": "object" | 412 "type": "object" |
570 }, | 413 }, |
571 "ReleaseQuotaRequest": { | 414 "ReleaseQuotaRequest": { |
572 "description": "Request message for the ReleaseQuota method.", | 415 "description": "Request message for the ReleaseQuota method.", |
573 "id": "ReleaseQuotaRequest", | 416 "id": "ReleaseQuotaRequest", |
574 "properties": { | 417 "properties": { |
575 "serviceConfigId": { | 418 "serviceConfigId": { |
576 "description": "Specifies which version of service configura
tion should be used to process\nthe request. If unspecified or no matching versi
on can be found, the latest\none will be used.", | 419 "description": "Specifies which version of service configura
tion should be used to process\nthe request. If unspecified or no matching versi
on can be found, the latest\none will be used.", |
577 "type": "string" | 420 "type": "string" |
578 }, | 421 }, |
579 "releaseOperation": { | 422 "releaseOperation": { |
580 "$ref": "QuotaOperation", | 423 "$ref": "QuotaOperation", |
581 "description": "Operation that describes the quota release." | 424 "description": "Operation that describes the quota release." |
582 } | 425 } |
583 }, | 426 }, |
584 "type": "object" | 427 "type": "object" |
585 }, | 428 }, |
| 429 "RequestMetadata": { |
| 430 "description": "Metadata about the request.", |
| 431 "id": "RequestMetadata", |
| 432 "properties": { |
| 433 "callerIp": { |
| 434 "description": "The IP address of the caller.\nFor caller fr
om internet, this will be public IPv4 or IPv6 address.\nFor caller from GCE VM w
ith external IP address, this will be the VM's\nexternal IP address. For caller
from GCE VM without external IP address, if\nthe VM is in the same GCP organizat
ion (or project) as the accessed\nresource, `caller_ip` will be the GCE VM's int
ernal IPv4 address, otherwise\nit will be redacted to \"gce-internal-ip\".\nSee
https://cloud.google.com/compute/docs/vpc/ for more information.", |
| 435 "type": "string" |
| 436 }, |
| 437 "callerSuppliedUserAgent": { |
| 438 "description": "The user agent of the caller.\nThis informat
ion is not authenticated and should be treated accordingly.\nFor example:\n\n+
`google-api-python-client/1.4.0`:\n The request was made by the Google API c
lient for Python.\n+ `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0
.9.62`:\n The request was made by the Google Cloud SDK CLI (gcloud).\n+ `Ap
pEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`:\n T
he request was made from the `my-project` App Engine app.\nNOLINT", |
| 439 "type": "string" |
| 440 } |
| 441 }, |
| 442 "type": "object" |
| 443 }, |
586 "QuotaError": { | 444 "QuotaError": { |
587 "id": "QuotaError", | 445 "id": "QuotaError", |
588 "properties": { | 446 "properties": { |
589 "description": { | 447 "description": { |
590 "description": "Free-form text that provides details on the
cause of the error.", | 448 "description": "Free-form text that provides details on the
cause of the error.", |
591 "type": "string" | 449 "type": "string" |
592 }, | 450 }, |
593 "subject": { | 451 "subject": { |
594 "description": "Subject to whom this error applies. See the
specific enum for more details\non this field. For example, \"clientip:<ip addre
ss of client>\" or\n\"project:<Google developer project id>\".", | 452 "description": "Subject to whom this error applies. See the
specific enum for more details\non this field. For example, \"clientip:<ip addre
ss of client>\" or\n\"project:<Google developer project id>\".", |
595 "type": "string" | 453 "type": "string" |
(...skipping 30 matching lines...) Expand all Loading... |
626 "The backend server for looking up project id/number is
unavailable.", | 484 "The backend server for looking up project id/number is
unavailable.", |
627 "The backend server for checking service status is unava
ilable.", | 485 "The backend server for checking service status is unava
ilable.", |
628 "The backend server for checking billing status is unava
ilable.", | 486 "The backend server for checking billing status is unava
ilable.", |
629 "The backend server for checking quota limits is unavail
able." | 487 "The backend server for checking quota limits is unavail
able." |
630 ], | 488 ], |
631 "type": "string" | 489 "type": "string" |
632 } | 490 } |
633 }, | 491 }, |
634 "type": "object" | 492 "type": "object" |
635 }, | 493 }, |
636 "RequestMetadata": { | |
637 "description": "Metadata about the request.", | |
638 "id": "RequestMetadata", | |
639 "properties": { | |
640 "callerIp": { | |
641 "description": "The IP address of the caller.\nFor caller fr
om internet, this will be public IPv4 or IPv6 address.\nFor caller from GCE VM w
ith external IP address, this will be the VM's\nexternal IP address. For caller
from GCE VM without external IP address, if\nthe VM is in the same GCP organizat
ion (or project) as the accessed\nresource, `caller_ip` will be the GCE VM's int
ernal IPv4 address, otherwise\nit will be redacted to \"gce-internal-ip\".\nSee
https://cloud.google.com/compute/docs/vpc/ for more information.", | |
642 "type": "string" | |
643 }, | |
644 "callerSuppliedUserAgent": { | |
645 "description": "The user agent of the caller.\nThis informat
ion is not authenticated and should be treated accordingly.\nFor example:\n\n+
`google-api-python-client/1.4.0`:\n The request was made by the Google API c
lient for Python.\n+ `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0
.9.62`:\n The request was made by the Google Cloud SDK CLI (gcloud).\n+ `Ap
pEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`:\n T
he request was made from the `my-project` App Engine app.\nNOLINT", | |
646 "type": "string" | |
647 } | |
648 }, | |
649 "type": "object" | |
650 }, | |
651 "CheckInfo": { | 494 "CheckInfo": { |
652 "id": "CheckInfo", | 495 "id": "CheckInfo", |
653 "properties": { | 496 "properties": { |
654 "unusedArguments": { | 497 "unusedArguments": { |
655 "description": "A list of fields and label keys that are ign
ored by the server.\nThe client doesn't need to send them for following requests
to improve\nperformance and allow better aggregation.", | 498 "description": "A list of fields and label keys that are ign
ored by the server.\nThe client doesn't need to send them for following requests
to improve\nperformance and allow better aggregation.", |
656 "items": { | 499 "items": { |
657 "type": "string" | 500 "type": "string" |
658 }, | 501 }, |
659 "type": "array" | 502 "type": "array" |
660 }, | 503 }, |
661 "consumerInfo": { | 504 "consumerInfo": { |
662 "$ref": "ConsumerInfo", | 505 "$ref": "ConsumerInfo", |
663 "description": "Consumer info of this check." | 506 "description": "Consumer info of this check." |
664 } | 507 } |
665 }, | 508 }, |
666 "type": "object" | 509 "type": "object" |
667 }, | 510 }, |
| 511 "AllocateQuotaRequest": { |
| 512 "description": "Request message for the AllocateQuota method.", |
| 513 "id": "AllocateQuotaRequest", |
| 514 "properties": { |
| 515 "serviceConfigId": { |
| 516 "description": "Specifies which version of service configura
tion should be used to process\nthe request. If unspecified or no matching versi
on can be found, the latest\none will be used.", |
| 517 "type": "string" |
| 518 }, |
| 519 "allocateOperation": { |
| 520 "$ref": "QuotaOperation", |
| 521 "description": "Operation that describes the quota allocatio
n." |
| 522 }, |
| 523 "allocationMode": { |
| 524 "description": "Allocation mode for this operation.\nDepreca
ted: use QuotaMode inside the QuotaOperation.", |
| 525 "enum": [ |
| 526 "UNSPECIFIED", |
| 527 "NORMAL", |
| 528 "BEST_EFFORT", |
| 529 "CHECK_ONLY" |
| 530 ], |
| 531 "enumDescriptions": [ |
| 532 "", |
| 533 "Allocates quota for the amount specified in the service
configuration or\nspecified using the quota_metrics. If the amount is higher th
an the\navailable quota, allocation error will be returned and no quota will be\
nallocated.", |
| 534 "Allocates quota for the amount specified in the service
configuration or\nspecified using the quota_metrics. If the amount is higher th
an the\navailable quota, request does not fail but all available quota will be\n
allocated.", |
| 535 "Only checks if there is enough quota available and does
not change the\navailable quota. No lock is placed on the available quota eithe
r." |
| 536 ], |
| 537 "type": "string" |
| 538 } |
| 539 }, |
| 540 "type": "object" |
| 541 }, |
668 "ReleaseQuotaResponse": { | 542 "ReleaseQuotaResponse": { |
669 "description": "Response message for the ReleaseQuota method.", | 543 "description": "Response message for the ReleaseQuota method.", |
670 "id": "ReleaseQuotaResponse", | 544 "id": "ReleaseQuotaResponse", |
671 "properties": { | 545 "properties": { |
672 "operationId": { | 546 "operationId": { |
673 "description": "The same operation_id value used in the Rele
aseQuotaRequest. Used for\nlogging and diagnostics purposes.", | 547 "description": "The same operation_id value used in the Rele
aseQuotaRequest. Used for\nlogging and diagnostics purposes.", |
674 "type": "string" | 548 "type": "string" |
675 }, | 549 }, |
676 "serviceConfigId": { | 550 "serviceConfigId": { |
677 "description": "ID of the actual config used to process the
request.", | 551 "description": "ID of the actual config used to process the
request.", |
678 "type": "string" | 552 "type": "string" |
679 }, | 553 }, |
680 "releaseErrors": { | 554 "releaseErrors": { |
681 "description": "Indicates the decision of the release.", | 555 "description": "Indicates the decision of the release.", |
682 "items": { | 556 "items": { |
683 "$ref": "QuotaError" | 557 "$ref": "QuotaError" |
684 }, | 558 }, |
685 "type": "array" | 559 "type": "array" |
686 }, | 560 }, |
687 "quotaMetrics": { | 561 "quotaMetrics": { |
688 "description": "Quota metrics to indicate the result of rele
ase. Depending on the\nrequest, one or more of the following metrics will be inc
luded:\n\n1. For rate quota, per quota group or per quota metric released amount
\nwill be specified using the following delta metric:\n \"serviceruntime.google
apis.com/api/consumer/quota_refund_count\"\n\n2. For allocation quota, per quota
metric total usage will be specified\nusing the following gauge metric:\n \"se
rviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For all
ocation quota, value for each quota limit associated with\nthe metrics will be s
pecified using the following gauge metric:\n \"serviceruntime.googleapis.com/qu
ota/limit\"", | 562 "description": "Quota metrics to indicate the result of rele
ase. Depending on the\nrequest, one or more of the following metrics will be inc
luded:\n\n1. For rate quota, per quota group or per quota metric released amount
\nwill be specified using the following delta metric:\n \"serviceruntime.google
apis.com/api/consumer/quota_refund_count\"\n\n2. For allocation quota, per quota
metric total usage will be specified\nusing the following gauge metric:\n \"se
rviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For all
ocation quota, value for each quota limit associated with\nthe metrics will be s
pecified using the following gauge metric:\n \"serviceruntime.googleapis.com/qu
ota/limit\"", |
689 "items": { | 563 "items": { |
690 "$ref": "MetricValueSet" | 564 "$ref": "MetricValueSet" |
691 }, | 565 }, |
692 "type": "array" | 566 "type": "array" |
693 } | 567 } |
694 }, | 568 }, |
695 "type": "object" | 569 "type": "object" |
696 }, | 570 }, |
697 "AllocateQuotaRequest": { | |
698 "description": "Request message for the AllocateQuota method.", | |
699 "id": "AllocateQuotaRequest", | |
700 "properties": { | |
701 "allocationMode": { | |
702 "description": "Allocation mode for this operation.\nDepreca
ted: use QuotaMode inside the QuotaOperation.", | |
703 "enum": [ | |
704 "UNSPECIFIED", | |
705 "NORMAL", | |
706 "BEST_EFFORT", | |
707 "CHECK_ONLY" | |
708 ], | |
709 "enumDescriptions": [ | |
710 "", | |
711 "Allocates quota for the amount specified in the service
configuration or\nspecified using the quota_metrics. If the amount is higher th
an the\navailable quota, allocation error will be returned and no quota will be\
nallocated.", | |
712 "Allocates quota for the amount specified in the service
configuration or\nspecified using the quota_metrics. If the amount is higher th
an the\navailable quota, request does not fail but all available quota will be\n
allocated.", | |
713 "Only checks if there is enough quota available and does
not change the\navailable quota. No lock is placed on the available quota eithe
r." | |
714 ], | |
715 "type": "string" | |
716 }, | |
717 "serviceConfigId": { | |
718 "description": "Specifies which version of service configura
tion should be used to process\nthe request. If unspecified or no matching versi
on can be found, the latest\none will be used.", | |
719 "type": "string" | |
720 }, | |
721 "allocateOperation": { | |
722 "$ref": "QuotaOperation", | |
723 "description": "Operation that describes the quota allocatio
n." | |
724 } | |
725 }, | |
726 "type": "object" | |
727 }, | |
728 "MetricValueSet": { | 571 "MetricValueSet": { |
729 "description": "Represents a set of metric values in the same metric
.\nEach metric value in the set should have a unique combination of start time,\
nend time, and label values.", | 572 "description": "Represents a set of metric values in the same metric
.\nEach metric value in the set should have a unique combination of start time,\
nend time, and label values.", |
730 "id": "MetricValueSet", | 573 "id": "MetricValueSet", |
731 "properties": { | 574 "properties": { |
732 "metricName": { | |
733 "description": "The metric name defined in the service confi
guration.", | |
734 "type": "string" | |
735 }, | |
736 "metricValues": { | 575 "metricValues": { |
737 "description": "The values in this metric.", | 576 "description": "The values in this metric.", |
738 "items": { | 577 "items": { |
739 "$ref": "MetricValue" | 578 "$ref": "MetricValue" |
740 }, | 579 }, |
741 "type": "array" | 580 "type": "array" |
| 581 }, |
| 582 "metricName": { |
| 583 "description": "The metric name defined in the service confi
guration.", |
| 584 "type": "string" |
742 } | 585 } |
743 }, | 586 }, |
744 "type": "object" | 587 "type": "object" |
745 }, | 588 }, |
746 "ReportError": { | 589 "ReportError": { |
747 "description": "Represents the processing error of one `Operation` i
n the request.", | 590 "description": "Represents the processing error of one `Operation` i
n the request.", |
748 "id": "ReportError", | 591 "id": "ReportError", |
749 "properties": { | 592 "properties": { |
750 "operationId": { | 593 "operationId": { |
751 "description": "The Operation.operation_id value from the re
quest.", | 594 "description": "The Operation.operation_id value from the re
quest.", |
752 "type": "string" | 595 "type": "string" |
753 }, | 596 }, |
754 "status": { | 597 "status": { |
755 "$ref": "Status", | 598 "$ref": "Status", |
756 "description": "Details of the error when processing the `Op
eration`." | 599 "description": "Details of the error when processing the `Op
eration`." |
757 } | 600 } |
758 }, | 601 }, |
759 "type": "object" | 602 "type": "object" |
760 }, | 603 }, |
761 "StartReconciliationRequest": { | 604 "StartReconciliationRequest": { |
762 "id": "StartReconciliationRequest", | 605 "id": "StartReconciliationRequest", |
763 "properties": { | 606 "properties": { |
| 607 "reconciliationOperation": { |
| 608 "$ref": "QuotaOperation", |
| 609 "description": "Operation that describes the quota reconcili
ation." |
| 610 }, |
764 "serviceConfigId": { | 611 "serviceConfigId": { |
765 "description": "Specifies which version of service configura
tion should be used to process\nthe request. If unspecified or no matching versi
on can be found, the latest\none will be used.", | 612 "description": "Specifies which version of service configura
tion should be used to process\nthe request. If unspecified or no matching versi
on can be found, the latest\none will be used.", |
766 "type": "string" | 613 "type": "string" |
767 }, | |
768 "reconciliationOperation": { | |
769 "$ref": "QuotaOperation", | |
770 "description": "Operation that describes the quota reconcili
ation." | |
771 } | 614 } |
772 }, | 615 }, |
773 "type": "object" | 616 "type": "object" |
774 }, | 617 }, |
775 "CheckError": { | 618 "CheckError": { |
776 "description": "Defines the errors to be returned in\ngoogle.api.ser
vicecontrol.v1.CheckResponse.check_errors.", | 619 "description": "Defines the errors to be returned in\ngoogle.api.ser
vicecontrol.v1.CheckResponse.check_errors.", |
777 "id": "CheckError", | 620 "id": "CheckError", |
778 "properties": { | 621 "properties": { |
779 "code": { | 622 "code": { |
780 "description": "The error code.", | 623 "description": "The error code.", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 "description": "Free-form text providing details on the erro
r cause of the error.", | 695 "description": "Free-form text providing details on the erro
r cause of the error.", |
853 "type": "string" | 696 "type": "string" |
854 } | 697 } |
855 }, | 698 }, |
856 "type": "object" | 699 "type": "object" |
857 }, | 700 }, |
858 "QuotaInfo": { | 701 "QuotaInfo": { |
859 "description": "Contains the quota information for a quota check res
ponse.", | 702 "description": "Contains the quota information for a quota check res
ponse.", |
860 "id": "QuotaInfo", | 703 "id": "QuotaInfo", |
861 "properties": { | 704 "properties": { |
| 705 "limitExceeded": { |
| 706 "description": "Quota Metrics that have exceeded quota limit
s.\nFor QuotaGroup-based quota, this is QuotaGroup.name\nFor QuotaLimit-based qu
ota, this is QuotaLimit.name\nSee: google.api.Quota\nDeprecated: Use quota_metri
cs to get per quota group limit exceeded status.", |
| 707 "items": { |
| 708 "type": "string" |
| 709 }, |
| 710 "type": "array" |
| 711 }, |
862 "quotaConsumed": { | 712 "quotaConsumed": { |
863 "additionalProperties": { | 713 "additionalProperties": { |
864 "format": "int32", | 714 "format": "int32", |
865 "type": "integer" | 715 "type": "integer" |
866 }, | 716 }, |
867 "description": "Map of quota group name to the actual number
of tokens consumed. If the\nquota check was not successful, then this will not
be populated due to no\nquota consumption.\nDeprecated: Use quota_metrics to get
per quota group usage.", | 717 "description": "Map of quota group name to the actual number
of tokens consumed. If the\nquota check was not successful, then this will not
be populated due to no\nquota consumption.\n\nWe are not merging this field with
'quota_metrics' field because of the\ncomplexity of scaling in Chemist client c
ode base. For simplicity, we will\nkeep this field for Castor (that scales quota
usage) and 'quota_metrics'\nfor SuperQuota (that doesn't scale quota usage).\n"
, |
868 "type": "object" | 718 "type": "object" |
869 }, | 719 }, |
870 "quotaMetrics": { | 720 "quotaMetrics": { |
871 "description": "Quota metrics to indicate the usage. Dependi
ng on the check request, one or\nmore of the following metrics will be included:
\n\n1. For rate quota, per quota group or per quota metric incremental usage\nwi
ll be specified using the following delta metric:\n \"serviceruntime.googleapis
.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per quota metri
c total usage will be specified\nusing the following gauge metric:\n \"servicer
untime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For both rate
quota and allocation quota, the quota limit reached\ncondition will be specifie
d using the following boolean metric:\n \"serviceruntime.googleapis.com/quota/e
xceeded\"", | 721 "description": "Quota metrics to indicate the usage. Dependi
ng on the check request, one or\nmore of the following metrics will be included:
\n\n1. For rate quota, per quota group or per quota metric incremental usage\nwi
ll be specified using the following delta metric:\n \"serviceruntime.googleapis
.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per quota metri
c total usage will be specified\nusing the following gauge metric:\n \"servicer
untime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For both rate
quota and allocation quota, the quota limit reached\ncondition will be specifie
d using the following boolean metric:\n \"serviceruntime.googleapis.com/quota/e
xceeded\"", |
872 "items": { | 722 "items": { |
873 "$ref": "MetricValueSet" | 723 "$ref": "MetricValueSet" |
874 }, | 724 }, |
875 "type": "array" | 725 "type": "array" |
876 }, | |
877 "limitExceeded": { | |
878 "description": "Quota Metrics that have exceeded quota limit
s.\nFor QuotaGroup-based quota, this is QuotaGroup.name\nFor QuotaLimit-based qu
ota, this is QuotaLimit.name\nSee: google.api.Quota\nDeprecated: Use quota_metri
cs to get per quota group limit exceeded status.", | |
879 "items": { | |
880 "type": "string" | |
881 }, | |
882 "type": "array" | |
883 } | 726 } |
884 }, | 727 }, |
885 "type": "object" | 728 "type": "object" |
886 }, | 729 }, |
887 "ConsumerInfo": { | 730 "ConsumerInfo": { |
888 "description": "`ConsumerInfo` provides information about the consum
er project.", | 731 "description": "`ConsumerInfo` provides information about the consum
er project.", |
889 "id": "ConsumerInfo", | 732 "id": "ConsumerInfo", |
890 "properties": { | 733 "properties": { |
891 "projectNumber": { | 734 "projectNumber": { |
892 "description": "The Google cloud project number, e.g. 123456
7890. A value of 0 indicates\nno project number is found.", | 735 "description": "The Google cloud project number, e.g. 123456
7890. A value of 0 indicates\nno project number is found.", |
893 "format": "int64", | 736 "format": "int64", |
894 "type": "string" | 737 "type": "string" |
895 } | 738 } |
896 }, | 739 }, |
897 "type": "object" | 740 "type": "object" |
898 }, | 741 }, |
899 "CheckRequest": { | 742 "CheckRequest": { |
900 "description": "Request message for the Check method.", | 743 "description": "Request message for the Check method.", |
901 "id": "CheckRequest", | 744 "id": "CheckRequest", |
902 "properties": { | 745 "properties": { |
903 "serviceConfigId": { | |
904 "description": "Specifies which version of service configura
tion should be used to process\nthe request.\n\nIf unspecified or no matching ve
rsion can be found, the\nlatest one will be used.", | |
905 "type": "string" | |
906 }, | |
907 "skipActivationCheck": { | 746 "skipActivationCheck": { |
908 "description": "Indicates if service activation check should
be skipped for this request.\nDefault behavior is to perform the check and appl
y relevant quota.", | 747 "description": "Indicates if service activation check should
be skipped for this request.\nDefault behavior is to perform the check and appl
y relevant quota.", |
909 "type": "boolean" | 748 "type": "boolean" |
910 }, | 749 }, |
911 "requestProjectSettings": { | 750 "requestProjectSettings": { |
912 "description": "Requests the project settings to be returned
as part of the check response.", | 751 "description": "Requests the project settings to be returned
as part of the check response.", |
913 "type": "boolean" | 752 "type": "boolean" |
914 }, | 753 }, |
915 "operation": { | 754 "operation": { |
916 "$ref": "Operation", | 755 "$ref": "Operation", |
917 "description": "The operation to be checked." | 756 "description": "The operation to be checked." |
| 757 }, |
| 758 "serviceConfigId": { |
| 759 "description": "Specifies which version of service configura
tion should be used to process\nthe request.\n\nIf unspecified or no matching ve
rsion can be found, the\nlatest one will be used.", |
| 760 "type": "string" |
918 } | 761 } |
919 }, | 762 }, |
920 "type": "object" | 763 "type": "object" |
921 }, | 764 }, |
922 "QuotaOperation": { | 765 "QuotaOperation": { |
923 "description": "Represents information regarding a quota operation."
, | 766 "description": "Represents information regarding a quota operation."
, |
924 "id": "QuotaOperation", | 767 "id": "QuotaOperation", |
925 "properties": { | 768 "properties": { |
| 769 "labels": { |
| 770 "additionalProperties": { |
| 771 "type": "string" |
| 772 }, |
| 773 "description": "Labels describing the operation.", |
| 774 "type": "object" |
| 775 }, |
| 776 "consumerId": { |
| 777 "description": "Identity of the consumer for whom this quota
operation is being performed.\n\nThis can be in one of the following formats:\n
project:<project_id>,\n project_number:<project_number>,\n api_key:<api_key>
.", |
| 778 "type": "string" |
| 779 }, |
926 "operationId": { | 780 "operationId": { |
927 "description": "Identity of the operation. This must be uniq
ue within the scope of the\nservice that generated the operation. If the service
calls AllocateQuota\nand ReleaseQuota on the same operation, the two calls shou
ld carry the\nsame ID.\n\nUUID version 4 is recommended, though not required. In
scenarios where an\noperation is computed from existing information and an idem
potent id is\ndesirable for deduplication purpose, UUID version 5 is recommended
. See\nRFC 4122 for details.", | 781 "description": "Identity of the operation. This is expected
to be unique within the scope\nof the service that generated the operation, and
guarantees idempotency in\ncase of retries.\n\nUUID version 4 is recommended, th
ough not required. In scenarios where an\noperation is computed from existing in
formation and an idempotent id is\ndesirable for deduplication purpose, UUID ver
sion 5 is recommended. See\nRFC 4122 for details.", |
| 782 "type": "string" |
| 783 }, |
| 784 "methodName": { |
| 785 "description": "Fully qualified name of the API method for w
hich this quota operation is\nrequested. This name is used for matching quota ru
les or metric rules and\nbilling status rules defined in service configuration.
This field is not\nrequired if the quota operation is performed on non-API resou
rces.\n\nExample of an RPC method name:\n google.example.library.v1.LibrarySe
rvice.CreateShelf", |
928 "type": "string" | 786 "type": "string" |
929 }, | 787 }, |
930 "quotaMode": { | 788 "quotaMode": { |
931 "description": "Quota mode for this operation.", | 789 "description": "Quota mode for this operation.", |
932 "enum": [ | 790 "enum": [ |
933 "UNSPECIFIED", | 791 "UNSPECIFIED", |
934 "NORMAL", | 792 "NORMAL", |
935 "BEST_EFFORT", | 793 "BEST_EFFORT", |
936 "CHECK_ONLY" | 794 "CHECK_ONLY" |
937 ], | 795 ], |
938 "enumDescriptions": [ | 796 "enumDescriptions": [ |
939 "", | 797 "", |
940 "For AllocateQuota request, allocates quota for the amou
nt specified in\nthe service configuration or specified using the quota metrics.
If the\namount is higher than the available quota, allocation error will be\nre
turned and no quota will be allocated.\nFor ReleaseQuota request, this mode is s
upported only for precise quota\nlimits. In this case, this operation releases q
uota for the amount\nspecified in the service configuration or specified using t
he quota\nmetrics. If the release can make used quota negative, release error\nw
ill be returned and no quota will be released.", | 798 "For AllocateQuota request, allocates quota for the amou
nt specified in\nthe service configuration or specified using the quota metrics.
If the\namount is higher than the available quota, allocation error will be\nre
turned and no quota will be allocated.\nFor ReleaseQuota request, this mode is s
upported only for precise quota\nlimits. In this case, this operation releases q
uota for the amount\nspecified in the service configuration or specified using t
he quota\nmetrics. If the release can make used quota negative, release error\nw
ill be returned and no quota will be released.", |
941 "For AllocateQuota request, this mode is supported only
for imprecise\nquota limits. In this case, the operation allocates quota for the
amount\nspecified in the service configuration or specified using the quota\nme
trics. If the amount is higher than the available quota, request does\nnot fail
but all available quota will be allocated.\nFor ReleaseQuota request, this mode
is supported for both precise quota\nlimits and imprecise quota limits. In this
case, this operation releases\nquota for the amount specified in the service con
figuration or specified\nusing the quota metrics. If the release can make used q
uota\nnegative, request does not fail but only the used quota will be\nreleased.
After the ReleaseQuota request completes, the used quota\nwill be 0, and never
goes to negative.", | 799 "For AllocateQuota request, this mode is supported only
for imprecise\nquota limits. In this case, the operation allocates quota for the
amount\nspecified in the service configuration or specified using the quota\nme
trics. If the amount is higher than the available quota, request does\nnot fail
but all available quota will be allocated.\nFor ReleaseQuota request, this mode
is supported for both precise quota\nlimits and imprecise quota limits. In this
case, this operation releases\nquota for the amount specified in the service con
figuration or specified\nusing the quota metrics. If the release can make used q
uota\nnegative, request does not fail but only the used quota will be\nreleased.
After the ReleaseQuota request completes, the used quota\nwill be 0, and never
goes to negative.", |
942 "For AllocateQuota request, only checks if there is enou
gh quota\navailable and does not change the available quota. No lock is placed o
n\nthe available quota either. Not supported for ReleaseQuota request." | 800 "For AllocateQuota request, only checks if there is enou
gh quota\navailable and does not change the available quota. No lock is placed o
n\nthe available quota either. Not supported for ReleaseQuota request." |
943 ], | 801 ], |
944 "type": "string" | 802 "type": "string" |
945 }, | 803 }, |
946 "methodName": { | |
947 "description": "Fully qualified name of the API method for w
hich this quota operation is\nrequested. This name is used for matching quota ru
les or metric rules and\nbilling status rules defined in service configuration.
This field is not\nrequired if the quota operation is performed on non-API resou
rces.\n\nExample of an RPC method name:\n google.example.library.v1.LibrarySe
rvice.CreateShelf", | |
948 "type": "string" | |
949 }, | |
950 "quotaMetrics": { | 804 "quotaMetrics": { |
951 "description": "Represents information about this operation.
Each MetricValueSet\ncorresponds to a metric defined in the service configurati
on.\nThe data type used in the MetricValueSet must agree with\nthe data type spe
cified in the metric definition.\n\nWithin a single operation, it is not allowed
to have more than one\nMetricValue instances that have the same metric names an
d identical\nlabel value combinations. If a request has such duplicated MetricVa
lue\ninstances, the entire request is rejected with\nan invalid argument error."
, | 805 "description": "Represents information about this operation.
Each MetricValueSet\ncorresponds to a metric defined in the service configurati
on.\nThe data type used in the MetricValueSet must agree with\nthe data type spe
cified in the metric definition.\n\nWithin a single operation, it is not allowed
to have more than one\nMetricValue instances that have the same metric names an
d identical\nlabel value combinations. If a request has such duplicated MetricVa
lue\ninstances, the entire request is rejected with\nan invalid argument error."
, |
952 "items": { | 806 "items": { |
953 "$ref": "MetricValueSet" | 807 "$ref": "MetricValueSet" |
954 }, | 808 }, |
955 "type": "array" | 809 "type": "array" |
956 }, | |
957 "labels": { | |
958 "additionalProperties": { | |
959 "type": "string" | |
960 }, | |
961 "description": "Labels describing the operation.", | |
962 "type": "object" | |
963 }, | |
964 "consumerId": { | |
965 "description": "Identity of the consumer for whom this quota
operation is being performed.\n\nThis can be in one of the following formats:\n
project:<project_id>,\n project_number:<project_number>,\n api_key:<api_key>
.", | |
966 "type": "string" | |
967 } | 810 } |
968 }, | 811 }, |
969 "type": "object" | 812 "type": "object" |
970 }, | 813 }, |
971 "EndReconciliationRequest": { | 814 "EndReconciliationRequest": { |
972 "id": "EndReconciliationRequest", | 815 "id": "EndReconciliationRequest", |
973 "properties": { | 816 "properties": { |
| 817 "reconciliationOperation": { |
| 818 "$ref": "QuotaOperation", |
| 819 "description": "Operation that describes the quota reconcili
ation." |
| 820 }, |
974 "serviceConfigId": { | 821 "serviceConfigId": { |
975 "description": "Specifies which version of service configura
tion should be used to process\nthe request. If unspecified or no matching versi
on can be found, the latest\none will be used.", | 822 "description": "Specifies which version of service configura
tion should be used to process\nthe request. If unspecified or no matching versi
on can be found, the latest\none will be used.", |
976 "type": "string" | 823 "type": "string" |
977 }, | |
978 "reconciliationOperation": { | |
979 "$ref": "QuotaOperation", | |
980 "description": "Operation that describes the quota reconcili
ation." | |
981 } | 824 } |
982 }, | 825 }, |
983 "type": "object" | 826 "type": "object" |
984 }, | 827 }, |
985 "ReportInfo": { | 828 "ReportInfo": { |
986 "id": "ReportInfo", | 829 "id": "ReportInfo", |
987 "properties": { | 830 "properties": { |
988 "operationId": { | 831 "operationId": { |
989 "description": "The Operation.operation_id value from the re
quest.", | 832 "description": "The Operation.operation_id value from the re
quest.", |
990 "type": "string" | 833 "type": "string" |
991 }, | 834 }, |
992 "quotaInfo": { | 835 "quotaInfo": { |
993 "$ref": "QuotaInfo", | 836 "$ref": "QuotaInfo", |
994 "description": "Quota usage info when processing the `Operat
ion`." | 837 "description": "Quota usage info when processing the `Operat
ion`." |
995 } | 838 } |
996 }, | 839 }, |
997 "type": "object" | 840 "type": "object" |
998 }, | 841 }, |
| 842 "ReportResponse": { |
| 843 "description": "Response message for the Report method.", |
| 844 "id": "ReportResponse", |
| 845 "properties": { |
| 846 "reportErrors": { |
| 847 "description": "Partial failures, one for each `Operation` i
n the request that failed\nprocessing. There are three possible combinations of
the RPC status:\n\n1. The combination of a successful RPC status and an empty `r
eport_errors`\n list indicates a complete success where all `Operations` in th
e\n request are processed successfully.\n2. The combination of a successful RP
C status and a non-empty\n `report_errors` list indicates a partial success wh
ere some\n `Operations` in the request succeeded. Each\n `Operation` that fa
iled processing has a corresponding item\n in this list.\n3. A failed RPC stat
us indicates a general non-deterministic failure.\n When this happens, it's im
possible to know which of the\n 'Operations' in the request succeeded or faile
d.", |
| 848 "items": { |
| 849 "$ref": "ReportError" |
| 850 }, |
| 851 "type": "array" |
| 852 }, |
| 853 "reportInfos": { |
| 854 "description": "Quota usage for each quota release `Operatio
n` request.\n\nFully or partially failed quota release request may or may not be
present\nin `report_quota_info`. For example, a failed quota release request wi
ll\nhave the current quota usage info when precise quota library returns the\nin
fo. A deadline exceeded quota request will not have quota usage info.\n\nIf ther
e is no quota release request, report_quota_info will be empty.\n", |
| 855 "items": { |
| 856 "$ref": "ReportInfo" |
| 857 }, |
| 858 "type": "array" |
| 859 }, |
| 860 "serviceConfigId": { |
| 861 "description": "The actual config id used to process the req
uest.", |
| 862 "type": "string" |
| 863 } |
| 864 }, |
| 865 "type": "object" |
| 866 }, |
999 "Operation": { | 867 "Operation": { |
1000 "description": "Represents information regarding an operation.", | 868 "description": "Represents information regarding an operation.", |
1001 "id": "Operation", | 869 "id": "Operation", |
1002 "properties": { | 870 "properties": { |
| 871 "operationId": { |
| 872 "description": "Identity of the operation. This must be uniq
ue within the scope of the\nservice that generated the operation. If the service
calls\nCheck() and Report() on the same operation, the two calls should carry\n
the same id.\n\nUUID version 4 is recommended, though not required.\nIn scenario
s where an operation is computed from existing information\nand an idempotent id
is desirable for deduplication purpose, UUID version 5\nis recommended. See RFC
4122 for details.", |
| 873 "type": "string" |
| 874 }, |
1003 "endTime": { | 875 "endTime": { |
1004 "description": "End time of the operation.\nRequired when th
e operation is used in ServiceController.Report,\nbut optional when the operatio
n is used in ServiceController.Check.", | 876 "description": "End time of the operation.\nRequired when th
e operation is used in ServiceController.Report,\nbut optional when the operatio
n is used in ServiceController.Check.", |
1005 "format": "google-datetime", | 877 "format": "google-datetime", |
1006 "type": "string" | 878 "type": "string" |
1007 }, | 879 }, |
1008 "operationName": { | 880 "operationName": { |
1009 "description": "Fully qualified name of the operation. Reser
ved for future use.", | 881 "description": "Fully qualified name of the operation. Reser
ved for future use.", |
1010 "type": "string" | 882 "type": "string" |
1011 }, | 883 }, |
1012 "startTime": { | 884 "startTime": { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 }, | 932 }, |
1061 "type": "array" | 933 "type": "array" |
1062 }, | 934 }, |
1063 "quotaProperties": { | 935 "quotaProperties": { |
1064 "$ref": "QuotaProperties", | 936 "$ref": "QuotaProperties", |
1065 "description": "Represents the properties needed for quota c
heck. Applicable only if this\noperation is for a quota check request." | 937 "description": "Represents the properties needed for quota c
heck. Applicable only if this\noperation is for a quota check request." |
1066 }, | 938 }, |
1067 "consumerId": { | 939 "consumerId": { |
1068 "description": "Identity of the consumer who is using the se
rvice.\nThis field should be filled in for the operations initiated by a\nconsum
er, but not for service-initiated operations that are\nnot related to a specific
consumer.\n\nThis can be in one of the following formats:\n project:<project_i
d>,\n project_number:<project_number>,\n api_key:<api_key>.", | 940 "description": "Identity of the consumer who is using the se
rvice.\nThis field should be filled in for the operations initiated by a\nconsum
er, but not for service-initiated operations that are\nnot related to a specific
consumer.\n\nThis can be in one of the following formats:\n project:<project_i
d>,\n project_number:<project_number>,\n api_key:<api_key>.", |
1069 "type": "string" | 941 "type": "string" |
1070 }, | |
1071 "operationId": { | |
1072 "description": "Identity of the operation. This must be uniq
ue within the scope of the\nservice that generated the operation. If the service
calls\nCheck() and Report() on the same operation, the two calls should carry\n
the same id.\n\nUUID version 4 is recommended, though not required.\nIn scenario
s where an operation is computed from existing information\nand an idempotent id
is desirable for deduplication purpose, UUID version 5\nis recommended. See RFC
4122 for details.", | |
1073 "type": "string" | |
1074 } | 942 } |
1075 }, | 943 }, |
1076 "type": "object" | |
1077 }, | |
1078 "ReportResponse": { | |
1079 "description": "Response message for the Report method.", | |
1080 "id": "ReportResponse", | |
1081 "properties": { | |
1082 "reportErrors": { | |
1083 "description": "Partial failures, one for each `Operation` i
n the request that failed\nprocessing. There are three possible combinations of
the RPC status:\n\n1. The combination of a successful RPC status and an empty `r
eport_errors`\n list indicates a complete success where all `Operations` in th
e\n request are processed successfully.\n2. The combination of a successful RP
C status and a non-empty\n `report_errors` list indicates a partial success wh
ere some\n `Operations` in the request succeeded. Each\n `Operation` that fa
iled processing has a corresponding item\n in this list.\n3. A failed RPC stat
us indicates a general non-deterministic failure.\n When this happens, it's im
possible to know which of the\n 'Operations' in the request succeeded or faile
d.", | |
1084 "items": { | |
1085 "$ref": "ReportError" | |
1086 }, | |
1087 "type": "array" | |
1088 }, | |
1089 "reportInfos": { | |
1090 "description": "Quota usage for each quota release `Operatio
n` request.\n\nFully or partially failed quota release request may or may not be
present\nin `report_quota_info`. For example, a failed quota release request wi
ll\nhave the current quota usage info when precise quota library returns the\nin
fo. A deadline exceeded quota request will not have quota usage info.\n\nIf ther
e is no quota release request, report_quota_info will be empty.\n", | |
1091 "items": { | |
1092 "$ref": "ReportInfo" | |
1093 }, | |
1094 "type": "array" | |
1095 }, | |
1096 "serviceConfigId": { | |
1097 "description": "The actual config id used to process the req
uest.", | |
1098 "type": "string" | |
1099 } | |
1100 }, | |
1101 "type": "object" | 944 "type": "object" |
1102 }, | 945 }, |
1103 "CheckResponse": { | 946 "CheckResponse": { |
1104 "description": "Response message for the Check method.", | 947 "description": "Response message for the Check method.", |
1105 "id": "CheckResponse", | 948 "id": "CheckResponse", |
1106 "properties": { | 949 "properties": { |
1107 "checkInfo": { | 950 "checkInfo": { |
1108 "$ref": "CheckInfo", | 951 "$ref": "CheckInfo", |
1109 "description": "Feedback data returned from the server durin
g processing a Check request." | 952 "description": "Feedback data returned from the server durin
g processing a Check request." |
1110 }, | 953 }, |
(...skipping 16 matching lines...) Expand all Loading... |
1127 "$ref": "QuotaInfo", | 970 "$ref": "QuotaInfo", |
1128 "description": "Quota information for the check request asso
ciated with this response.\n" | 971 "description": "Quota information for the check request asso
ciated with this response.\n" |
1129 } | 972 } |
1130 }, | 973 }, |
1131 "type": "object" | 974 "type": "object" |
1132 }, | 975 }, |
1133 "Status": { | 976 "Status": { |
1134 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` that can be used for common error conditions.\n\n# Lang
uage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n
\nThe error model and the `Status` message can be used in a variety of\nenvironm
ents, either with or without APIs, to provide a\nconsistent developer experience
across different environments.\n\nExample uses of this error model include:\n\n
- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m
ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a
client uses batch request and batch response, the\n `Status` message should
be used directly inside batch response, one for\n each error sub-response.\n\
n- Asynchronous operations. If an API call embeds asynchronous operation\n re
sults in its response, the status of those operations should be\n represented
directly using the `Status` message.\n\n- Logging. If some API errors are store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", | 977 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` that can be used for common error conditions.\n\n# Lang
uage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n
\nThe error model and the `Status` message can be used in a variety of\nenvironm
ents, either with or without APIs, to provide a\nconsistent developer experience
across different environments.\n\nExample uses of this error model include:\n\n
- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m
ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a
client uses batch request and batch response, the\n `Status` message should
be used directly inside batch response, one for\n each error sub-response.\n\
n- Asynchronous operations. If an API call embeds asynchronous operation\n re
sults in its response, the status of those operations should be\n represented
directly using the `Status` message.\n\n- Logging. If some API errors are store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", |
1135 "id": "Status", | 978 "id": "Status", |
1136 "properties": { | 979 "properties": { |
| 980 "code": { |
| 981 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 982 "format": "int32", |
| 983 "type": "integer" |
| 984 }, |
| 985 "message": { |
| 986 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", |
| 987 "type": "string" |
| 988 }, |
1137 "details": { | 989 "details": { |
1138 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", | 990 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", |
1139 "items": { | 991 "items": { |
1140 "additionalProperties": { | 992 "additionalProperties": { |
1141 "description": "Properties of the object. Contains f
ield @type with type URL.", | 993 "description": "Properties of the object. Contains f
ield @type with type URL.", |
1142 "type": "any" | 994 "type": "any" |
1143 }, | 995 }, |
1144 "type": "object" | 996 "type": "object" |
1145 }, | 997 }, |
1146 "type": "array" | 998 "type": "array" |
1147 }, | |
1148 "code": { | |
1149 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
1150 "format": "int32", | |
1151 "type": "integer" | |
1152 }, | |
1153 "message": { | |
1154 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", | |
1155 "type": "string" | |
1156 } | 999 } |
1157 }, | 1000 }, |
1158 "type": "object" | 1001 "type": "object" |
1159 }, | 1002 }, |
1160 "ReportRequest": { | 1003 "ReportRequest": { |
1161 "description": "Request message for the Report method.", | 1004 "description": "Request message for the Report method.", |
1162 "id": "ReportRequest", | 1005 "id": "ReportRequest", |
1163 "properties": { | 1006 "properties": { |
1164 "serviceConfigId": { | 1007 "serviceConfigId": { |
1165 "description": "Specifies which version of service config sh
ould be used to process the\nrequest.\n\nIf unspecified or no matching version c
an be found, the\nlatest one will be used.", | 1008 "description": "Specifies which version of service config sh
ould be used to process the\nrequest.\n\nIf unspecified or no matching version c
an be found, the\nlatest one will be used.", |
1166 "type": "string" | 1009 "type": "string" |
1167 }, | 1010 }, |
1168 "operations": { | 1011 "operations": { |
1169 "description": "Operations to be reported.\n\nTypically the
service should report one operation per request.\nPutting multiple operations in
to a single request is allowed, but should\nbe used only when multiple operation
s are natually available at the time\nof the report.\n\nIf multiple operations a
re in a single request, the total request size\nshould be no larger than 1MB. Se
e ReportResponse.report_errors for\npartial failure behavior.", | 1012 "description": "Operations to be reported.\n\nTypically the
service should report one operation per request.\nPutting multiple operations in
to a single request is allowed, but should\nbe used only when multiple operation
s are natually available at the time\nof the report.\n\nIf multiple operations a
re in a single request, the total request size\nshould be no larger than 1MB. Se
e ReportResponse.report_errors for\npartial failure behavior.", |
1170 "items": { | 1013 "items": { |
1171 "$ref": "Operation" | 1014 "$ref": "Operation" |
1172 }, | 1015 }, |
1173 "type": "array" | 1016 "type": "array" |
1174 } | 1017 } |
1175 }, | 1018 }, |
1176 "type": "object" | 1019 "type": "object" |
1177 }, | 1020 }, |
1178 "AuditLog": { | 1021 "AuditLog": { |
1179 "description": "Common audit log format for Google Cloud Platform AP
I operations.\n\n", | 1022 "description": "Common audit log format for Google Cloud Platform AP
I operations.\n\n", |
1180 "id": "AuditLog", | 1023 "id": "AuditLog", |
1181 "properties": { | 1024 "properties": { |
| 1025 "authorizationInfo": { |
| 1026 "description": "Authorization information. If there are mult
iple\nresources or permissions involved, then there is\none AuthorizationInfo el
ement for each {resource, permission} tuple.", |
| 1027 "items": { |
| 1028 "$ref": "AuthorizationInfo" |
| 1029 }, |
| 1030 "type": "array" |
| 1031 }, |
| 1032 "resourceName": { |
| 1033 "description": "The resource or collection that is the targe
t of the operation.\nThe name is a scheme-less URI, not including the API servic
e name.\nFor example:\n\n \"shelves/SHELF_ID/books\"\n \"shelves/SHELF_ID/
books/BOOK_ID\"", |
| 1034 "type": "string" |
| 1035 }, |
1182 "request": { | 1036 "request": { |
1183 "additionalProperties": { | 1037 "additionalProperties": { |
1184 "description": "Properties of the object.", | 1038 "description": "Properties of the object.", |
1185 "type": "any" | 1039 "type": "any" |
1186 }, | 1040 }, |
1187 "description": "The operation request. This may not include
all request parameters,\nsuch as those that are too large, privacy-sensitive, or
duplicated\nelsewhere in the log record.\nIt should never include user-generate
d data, such as file contents.\nWhen the JSON object represented here has a prot
o equivalent, the proto\nname will be indicated in the `@type` property.", | 1041 "description": "The operation request. This may not include
all request parameters,\nsuch as those that are too large, privacy-sensitive, or
duplicated\nelsewhere in the log record.\nIt should never include user-generate
d data, such as file contents.\nWhen the JSON object represented here has a prot
o equivalent, the proto\nname will be indicated in the `@type` property.", |
1188 "type": "object" | 1042 "type": "object" |
1189 }, | 1043 }, |
1190 "requestMetadata": { | |
1191 "$ref": "RequestMetadata", | |
1192 "description": "Metadata about the operation." | |
1193 }, | |
1194 "serviceData": { | 1044 "serviceData": { |
1195 "additionalProperties": { | 1045 "additionalProperties": { |
1196 "description": "Properties of the object. Contains field
@type with type URL.", | 1046 "description": "Properties of the object. Contains field
@type with type URL.", |
1197 "type": "any" | 1047 "type": "any" |
1198 }, | 1048 }, |
1199 "description": "Other service-specific data about the reques
t, response, and other\nactivities.", | 1049 "description": "Other service-specific data about the reques
t, response, and other\nactivities.", |
1200 "type": "object" | 1050 "type": "object" |
1201 }, | 1051 }, |
| 1052 "requestMetadata": { |
| 1053 "$ref": "RequestMetadata", |
| 1054 "description": "Metadata about the operation." |
| 1055 }, |
1202 "numResponseItems": { | 1056 "numResponseItems": { |
1203 "description": "The number of items returned from a List or
Query API method,\nif applicable.", | 1057 "description": "The number of items returned from a List or
Query API method,\nif applicable.", |
1204 "format": "int64", | 1058 "format": "int64", |
1205 "type": "string" | 1059 "type": "string" |
1206 }, | 1060 }, |
1207 "status": { | 1061 "status": { |
1208 "$ref": "Status", | 1062 "$ref": "Status", |
1209 "description": "The status of the overall operation." | 1063 "description": "The status of the overall operation." |
1210 }, | 1064 }, |
1211 "authenticationInfo": { | 1065 "authenticationInfo": { |
1212 "$ref": "AuthenticationInfo", | 1066 "$ref": "AuthenticationInfo", |
1213 "description": "Authentication information." | 1067 "description": "Authentication information." |
1214 }, | 1068 }, |
1215 "serviceName": { | |
1216 "description": "The name of the API service performing the o
peration. For example,\n`\"datastore.googleapis.com\"`.", | |
1217 "type": "string" | |
1218 }, | |
1219 "response": { | 1069 "response": { |
1220 "additionalProperties": { | 1070 "additionalProperties": { |
1221 "description": "Properties of the object.", | 1071 "description": "Properties of the object.", |
1222 "type": "any" | 1072 "type": "any" |
1223 }, | 1073 }, |
1224 "description": "The operation response. This may not include
all response elements,\nsuch as those that are too large, privacy-sensitive, or
duplicated\nelsewhere in the log record.\nIt should never include user-generate
d data, such as file contents.\nWhen the JSON object represented here has a prot
o equivalent, the proto\nname will be indicated in the `@type` property.", | 1074 "description": "The operation response. This may not include
all response elements,\nsuch as those that are too large, privacy-sensitive, or
duplicated\nelsewhere in the log record.\nIt should never include user-generate
d data, such as file contents.\nWhen the JSON object represented here has a prot
o equivalent, the proto\nname will be indicated in the `@type` property.", |
1225 "type": "object" | 1075 "type": "object" |
1226 }, | 1076 }, |
| 1077 "serviceName": { |
| 1078 "description": "The name of the API service performing the o
peration. For example,\n`\"datastore.googleapis.com\"`.", |
| 1079 "type": "string" |
| 1080 }, |
1227 "methodName": { | 1081 "methodName": { |
1228 "description": "The name of the service method or operation.
\nFor API calls, this should be the name of the API method.\nFor example,\n\n
\"google.datastore.v1.Datastore.RunQuery\"\n \"google.logging.v1.LoggingServ
ice.DeleteLog\"", | 1082 "description": "The name of the service method or operation.
\nFor API calls, this should be the name of the API method.\nFor example,\n\n
\"google.datastore.v1.Datastore.RunQuery\"\n \"google.logging.v1.LoggingServ
ice.DeleteLog\"", |
1229 "type": "string" | 1083 "type": "string" |
1230 }, | |
1231 "resourceName": { | |
1232 "description": "The resource or collection that is the targe
t of the operation.\nThe name is a scheme-less URI, not including the API servic
e name.\nFor example:\n\n \"shelves/SHELF_ID/books\"\n \"shelves/SHELF_ID/
books/BOOK_ID\"", | |
1233 "type": "string" | |
1234 }, | |
1235 "authorizationInfo": { | |
1236 "description": "Authorization information. If there are mult
iple\nresources or permissions involved, then there is\none AuthorizationInfo el
ement for each {resource, permission} tuple.", | |
1237 "items": { | |
1238 "$ref": "AuthorizationInfo" | |
1239 }, | |
1240 "type": "array" | |
1241 } | 1084 } |
1242 }, | 1085 }, |
1243 "type": "object" | 1086 "type": "object" |
1244 }, | 1087 }, |
1245 "LogEntry": { | 1088 "LogEntry": { |
1246 "description": "An individual log entry.", | 1089 "description": "An individual log entry.", |
1247 "id": "LogEntry", | 1090 "id": "LogEntry", |
1248 "properties": { | 1091 "properties": { |
1249 "labels": { | 1092 "labels": { |
1250 "additionalProperties": { | 1093 "additionalProperties": { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 "format": "google-datetime", | 1155 "format": "google-datetime", |
1313 "type": "string" | 1156 "type": "string" |
1314 } | 1157 } |
1315 }, | 1158 }, |
1316 "type": "object" | 1159 "type": "object" |
1317 }, | 1160 }, |
1318 "MetricValue": { | 1161 "MetricValue": { |
1319 "description": "Represents a single metric value.", | 1162 "description": "Represents a single metric value.", |
1320 "id": "MetricValue", | 1163 "id": "MetricValue", |
1321 "properties": { | 1164 "properties": { |
1322 "boolValue": { | |
1323 "description": "A boolean value.", | |
1324 "type": "boolean" | |
1325 }, | |
1326 "endTime": { | |
1327 "description": "The end of the time period over which this m
etric value's measurement\napplies.", | |
1328 "format": "google-datetime", | |
1329 "type": "string" | |
1330 }, | |
1331 "startTime": { | |
1332 "description": "The start of the time period over which this
metric value's measurement\napplies. The time period has different semantics fo
r different metric\ntypes (cumulative, delta, and gauge). See the metric definit
ion\ndocumentation in the service configuration for details.", | |
1333 "format": "google-datetime", | |
1334 "type": "string" | |
1335 }, | |
1336 "moneyValue": { | 1165 "moneyValue": { |
1337 "$ref": "Money", | 1166 "$ref": "Money", |
1338 "description": "A money value." | 1167 "description": "A money value." |
1339 }, | 1168 }, |
1340 "labels": { | 1169 "labels": { |
1341 "additionalProperties": { | 1170 "additionalProperties": { |
1342 "type": "string" | 1171 "type": "string" |
1343 }, | 1172 }, |
1344 "description": "The labels describing the metric value.\nSee
comments on google.api.servicecontrol.v1.Operation.labels for\nthe overriding r
elationship.", | 1173 "description": "The labels describing the metric value.\nSee
comments on google.api.servicecontrol.v1.Operation.labels for\nthe overriding r
elationship.", |
1345 "type": "object" | 1174 "type": "object" |
1346 }, | 1175 }, |
1347 "stringValue": { | 1176 "stringValue": { |
1348 "description": "A text string value.", | 1177 "description": "A text string value.", |
1349 "type": "string" | 1178 "type": "string" |
1350 }, | 1179 }, |
1351 "doubleValue": { | 1180 "doubleValue": { |
1352 "description": "A double precision floating point value.", | 1181 "description": "A double precision floating point value.", |
1353 "format": "double", | 1182 "format": "double", |
1354 "type": "number" | 1183 "type": "number" |
1355 }, | 1184 }, |
1356 "int64Value": { | 1185 "int64Value": { |
1357 "description": "A signed 64-bit integer value.", | 1186 "description": "A signed 64-bit integer value.", |
1358 "format": "int64", | 1187 "format": "int64", |
1359 "type": "string" | 1188 "type": "string" |
1360 }, | 1189 }, |
1361 "distributionValue": { | 1190 "distributionValue": { |
1362 "$ref": "Distribution", | 1191 "$ref": "Distribution", |
1363 "description": "A distribution value." | 1192 "description": "A distribution value." |
| 1193 }, |
| 1194 "boolValue": { |
| 1195 "description": "A boolean value.", |
| 1196 "type": "boolean" |
| 1197 }, |
| 1198 "endTime": { |
| 1199 "description": "The end of the time period over which this m
etric value's measurement\napplies.", |
| 1200 "format": "google-datetime", |
| 1201 "type": "string" |
| 1202 }, |
| 1203 "startTime": { |
| 1204 "description": "The start of the time period over which this
metric value's measurement\napplies. The time period has different semantics fo
r different metric\ntypes (cumulative, delta, and gauge). See the metric definit
ion\ndocumentation in the service configuration for details.", |
| 1205 "format": "google-datetime", |
| 1206 "type": "string" |
1364 } | 1207 } |
1365 }, | 1208 }, |
1366 "type": "object" | 1209 "type": "object" |
| 1210 }, |
| 1211 "Money": { |
| 1212 "description": "Represents an amount of money with its currency type
.", |
| 1213 "id": "Money", |
| 1214 "properties": { |
| 1215 "units": { |
| 1216 "description": "The whole units of the amount.\nFor example
if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", |
| 1217 "format": "int64", |
| 1218 "type": "string" |
| 1219 }, |
| 1220 "currencyCode": { |
| 1221 "description": "The 3-letter currency code defined in ISO 42
17.", |
| 1222 "type": "string" |
| 1223 }, |
| 1224 "nanos": { |
| 1225 "description": "Number of nano (10^-9) units of the amount.\
nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units`
is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can
be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negativ
e or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000
,000.", |
| 1226 "format": "int32", |
| 1227 "type": "integer" |
| 1228 } |
| 1229 }, |
| 1230 "type": "object" |
| 1231 }, |
| 1232 "EndReconciliationResponse": { |
| 1233 "id": "EndReconciliationResponse", |
| 1234 "properties": { |
| 1235 "reconciliationErrors": { |
| 1236 "description": "Indicates the decision of the reconciliation
end.", |
| 1237 "items": { |
| 1238 "$ref": "QuotaError" |
| 1239 }, |
| 1240 "type": "array" |
| 1241 }, |
| 1242 "operationId": { |
| 1243 "description": "The same operation_id value used in the EndR
econciliationRequest. Used for\nlogging and diagnostics purposes.", |
| 1244 "type": "string" |
| 1245 }, |
| 1246 "serviceConfigId": { |
| 1247 "description": "ID of the actual config used to process the
request.", |
| 1248 "type": "string" |
| 1249 }, |
| 1250 "quotaMetrics": { |
| 1251 "description": "Metric values as tracked by One Platform bef
ore the adjustment was made.\nThe following metrics will be included:\n\n1. Per
quota metric total usage will be specified using the following gauge\nmetric:\n
\"serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n2. Va
lue for each quota limit associated with the metrics will be specified\nusing th
e following gauge metric:\n \"serviceruntime.googleapis.com/quota/limit\"\n\n3.
Delta value of the usage after the reconciliation for limits associated\nwith t
he metrics will be specified using the following metric:\n \"serviceruntime.goo
gleapis.com/allocation/reconciliation_delta\"\nThe delta value is defined as:\n
new_usage_from_client - existing_value_in_spanner.\nThis metric is not defined
in serviceruntime.yaml or in Cloud Monarch.\nThis metric is meant for callers' u
se only. Since this metric is not\ndefined in the monitoring backend, reporting
on this metric will result in\nan error.", |
| 1252 "items": { |
| 1253 "$ref": "MetricValueSet" |
| 1254 }, |
| 1255 "type": "array" |
| 1256 } |
| 1257 }, |
| 1258 "type": "object" |
| 1259 }, |
| 1260 "ExplicitBuckets": { |
| 1261 "description": "Describing buckets with arbitrary user-provided widt
h.", |
| 1262 "id": "ExplicitBuckets", |
| 1263 "properties": { |
| 1264 "bounds": { |
| 1265 "description": "'bound' is a list of strictly increasing bou
ndaries between\nbuckets. Note that a list of length N-1 defines N buckets becau
se\nof fenceposting. See comments on `bucket_options` for details.\n\nThe i'th f
inite bucket covers the interval\n [bound[i-1], bound[i])\nwhere i ranges from
1 to bound_size() - 1. Note that there are no\nfinite buckets at all if 'bound'
only contains a single element; in\nthat special case the single bound defines t
he boundary between the\nunderflow and overflow buckets.\n\nbucket number
lower bound upper bound\n i == 0 (underflow) -inf
bound[i]\n 0 < i < bound_size() bound[i-1] bound[i]\n i =
= bound_size() (overflow) bound[i-1] +inf", |
| 1266 "items": { |
| 1267 "format": "double", |
| 1268 "type": "number" |
| 1269 }, |
| 1270 "type": "array" |
| 1271 } |
| 1272 }, |
| 1273 "type": "object" |
| 1274 }, |
| 1275 "Distribution": { |
| 1276 "description": "Distribution represents a frequency distribution of
double-valued sample\npoints. It contains the size of the population of sample p
oints plus\nadditional optional information:\n\n - the arithmetic mean of the s
amples\n - the minimum and maximum of the samples\n - the sum-squared-deviatio
n of the samples, used to compute variance\n - a histogram of the values of the
sample points", |
| 1277 "id": "Distribution", |
| 1278 "properties": { |
| 1279 "count": { |
| 1280 "description": "The total number of samples in the distribut
ion. Must be >= 0.", |
| 1281 "format": "int64", |
| 1282 "type": "string" |
| 1283 }, |
| 1284 "mean": { |
| 1285 "description": "The arithmetic mean of the samples in the di
stribution. If `count` is\nzero then this field must be zero.", |
| 1286 "format": "double", |
| 1287 "type": "number" |
| 1288 }, |
| 1289 "bucketCounts": { |
| 1290 "description": "The number of samples in each histogram buck
et. `bucket_counts` are\noptional. If present, they must sum to the `count` valu
e.\n\nThe buckets are defined below in `bucket_option`. There are N buckets.\n`b
ucket_counts[0]` is the number of samples in the underflow bucket.\n`bucket_coun
ts[1]` to `bucket_counts[N-1]` are the numbers of samples\nin each of the finite
buckets. And `bucket_counts[N] is the number\nof samples in the overflow bucket
. See the comments of `bucket_option`\nbelow for more details.\n\nAny suffix of
trailing zeros may be omitted.", |
| 1291 "items": { |
| 1292 "format": "int64", |
| 1293 "type": "string" |
| 1294 }, |
| 1295 "type": "array" |
| 1296 }, |
| 1297 "explicitBuckets": { |
| 1298 "$ref": "ExplicitBuckets", |
| 1299 "description": "Buckets with arbitrary user-provided width." |
| 1300 }, |
| 1301 "maximum": { |
| 1302 "description": "The maximum of the population of values. Ign
ored if `count` is zero.", |
| 1303 "format": "double", |
| 1304 "type": "number" |
| 1305 }, |
| 1306 "sumOfSquaredDeviation": { |
| 1307 "description": "The sum of squared deviations from the mean:
\n Sum[i=1..count]((x_i - mean)^2)\nwhere each x_i is a sample values. If `coun
t` is zero then this field\nmust be zero, otherwise validation of the request fa
ils.", |
| 1308 "format": "double", |
| 1309 "type": "number" |
| 1310 }, |
| 1311 "exponentialBuckets": { |
| 1312 "$ref": "ExponentialBuckets", |
| 1313 "description": "Buckets with exponentially growing width." |
| 1314 }, |
| 1315 "linearBuckets": { |
| 1316 "$ref": "LinearBuckets", |
| 1317 "description": "Buckets with constant width." |
| 1318 }, |
| 1319 "minimum": { |
| 1320 "description": "The minimum of the population of values. Ign
ored if `count` is zero.", |
| 1321 "format": "double", |
| 1322 "type": "number" |
| 1323 } |
| 1324 }, |
| 1325 "type": "object" |
| 1326 }, |
| 1327 "ExponentialBuckets": { |
| 1328 "description": "Describing buckets with exponentially growing width.
", |
| 1329 "id": "ExponentialBuckets", |
| 1330 "properties": { |
| 1331 "growthFactor": { |
| 1332 "description": "The i'th exponential bucket covers the inter
val\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges fr
om 1 to num_finite_buckets inclusive.\nMust be larger than 1.0.", |
| 1333 "format": "double", |
| 1334 "type": "number" |
| 1335 }, |
| 1336 "scale": { |
| 1337 "description": "The i'th exponential bucket covers the inter
val\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges fr
om 1 to num_finite_buckets inclusive.\nMust be > 0.", |
| 1338 "format": "double", |
| 1339 "type": "number" |
| 1340 }, |
| 1341 "numFiniteBuckets": { |
| 1342 "description": "The number of finite buckets. With the under
flow and overflow buckets,\nthe total number of buckets is `num_finite_buckets`
+ 2.\nSee comments on `bucket_options` for details.", |
| 1343 "format": "int32", |
| 1344 "type": "integer" |
| 1345 } |
| 1346 }, |
| 1347 "type": "object" |
| 1348 }, |
| 1349 "AuthorizationInfo": { |
| 1350 "description": "Authorization information for the operation.", |
| 1351 "id": "AuthorizationInfo", |
| 1352 "properties": { |
| 1353 "resource": { |
| 1354 "description": "The resource being accessed, as a REST-style
string. For example:\n\n bigquery.googleapis.com/projects/PROJECTID/datasets
/DATASETID", |
| 1355 "type": "string" |
| 1356 }, |
| 1357 "granted": { |
| 1358 "description": "Whether or not authorization for `resource`
and `permission`\nwas granted.", |
| 1359 "type": "boolean" |
| 1360 }, |
| 1361 "permission": { |
| 1362 "description": "The required IAM permission.", |
| 1363 "type": "string" |
| 1364 } |
| 1365 }, |
| 1366 "type": "object" |
1367 } | 1367 } |
1368 }, | 1368 }, |
1369 "servicePath": "", | 1369 "servicePath": "", |
1370 "title": "Google Service Control API", | 1370 "title": "Google Service Control API", |
1371 "version": "v1" | 1371 "version": "v1" |
1372 } | 1372 } |
OLD | NEW |