@maxim_mazurok/gapi.client.logging-v2 0.0.20240618 → 0.0.20240705
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +409 -37
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://logging.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240705
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -187,9 +187,9 @@ declare namespace gapi.client {
|
|
|
187
187
|
cacheLookup?: boolean;
|
|
188
188
|
/** Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if cache_hit is True. */
|
|
189
189
|
cacheValidatedWithOriginServer?: boolean;
|
|
190
|
-
/** The request processing latency on the server, from the time the request was received until the response was sent. */
|
|
190
|
+
/** The request processing latency on the server, from the time the request was received until the response was sent. For WebSocket connections, this field refers to the entire time duration of the connection. */
|
|
191
191
|
latency?: string;
|
|
192
|
-
/** Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2"
|
|
192
|
+
/** Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2" */
|
|
193
193
|
protocol?: string;
|
|
194
194
|
/** The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions (https://datatracker.ietf.org/doc/html/rfc2616#section-14.36). */
|
|
195
195
|
referer?: string;
|
|
@@ -1981,6 +1981,8 @@ declare namespace gapi.client {
|
|
|
1981
1981
|
callback?: string;
|
|
1982
1982
|
/** Selector specifying which fields to include in a partial response. */
|
|
1983
1983
|
fields?: string;
|
|
1984
|
+
/** Optional. Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics") */
|
|
1985
|
+
filter?: string;
|
|
1984
1986
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1985
1987
|
key?: string;
|
|
1986
1988
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2091,6 +2093,33 @@ declare namespace gapi.client {
|
|
|
2091
2093
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2092
2094
|
uploadType?: string;
|
|
2093
2095
|
}): Request<{}>;
|
|
2096
|
+
/** Returns all data associated with the requested query. */
|
|
2097
|
+
get(request?: {
|
|
2098
|
+
/** V1 error format. */
|
|
2099
|
+
'$.xgafv'?: string;
|
|
2100
|
+
/** OAuth access token. */
|
|
2101
|
+
access_token?: string;
|
|
2102
|
+
/** Data format for response. */
|
|
2103
|
+
alt?: string;
|
|
2104
|
+
/** JSONP */
|
|
2105
|
+
callback?: string;
|
|
2106
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2107
|
+
fields?: string;
|
|
2108
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2109
|
+
key?: string;
|
|
2110
|
+
/** Required. The resource name of the saved query. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query" */
|
|
2111
|
+
name: string;
|
|
2112
|
+
/** OAuth 2.0 token for the current user. */
|
|
2113
|
+
oauth_token?: string;
|
|
2114
|
+
/** Returns response with indentations and line breaks. */
|
|
2115
|
+
prettyPrint?: boolean;
|
|
2116
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2117
|
+
quotaUser?: string;
|
|
2118
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2119
|
+
upload_protocol?: string;
|
|
2120
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2121
|
+
uploadType?: string;
|
|
2122
|
+
}): Request<SavedQuery>;
|
|
2094
2123
|
/** Lists the SavedQueries that were created by the user making the request. */
|
|
2095
2124
|
list(request?: {
|
|
2096
2125
|
/** V1 error format. */
|
|
@@ -2103,6 +2132,8 @@ declare namespace gapi.client {
|
|
|
2103
2132
|
callback?: string;
|
|
2104
2133
|
/** Selector specifying which fields to include in a partial response. */
|
|
2105
2134
|
fields?: string;
|
|
2135
|
+
/** Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED */
|
|
2136
|
+
filter?: string;
|
|
2106
2137
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2107
2138
|
key?: string;
|
|
2108
2139
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2122,6 +2153,68 @@ declare namespace gapi.client {
|
|
|
2122
2153
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2123
2154
|
uploadType?: string;
|
|
2124
2155
|
}): Request<ListSavedQueriesResponse>;
|
|
2156
|
+
/** Updates an existing SavedQuery. */
|
|
2157
|
+
patch(request: {
|
|
2158
|
+
/** V1 error format. */
|
|
2159
|
+
'$.xgafv'?: string;
|
|
2160
|
+
/** OAuth access token. */
|
|
2161
|
+
access_token?: string;
|
|
2162
|
+
/** Data format for response. */
|
|
2163
|
+
alt?: string;
|
|
2164
|
+
/** JSONP */
|
|
2165
|
+
callback?: string;
|
|
2166
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2167
|
+
fields?: string;
|
|
2168
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2169
|
+
key?: string;
|
|
2170
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
2171
|
+
name: string;
|
|
2172
|
+
/** OAuth 2.0 token for the current user. */
|
|
2173
|
+
oauth_token?: string;
|
|
2174
|
+
/** Returns response with indentations and line breaks. */
|
|
2175
|
+
prettyPrint?: boolean;
|
|
2176
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2177
|
+
quotaUser?: string;
|
|
2178
|
+
/** Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter". */
|
|
2179
|
+
updateMask?: string;
|
|
2180
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2181
|
+
upload_protocol?: string;
|
|
2182
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2183
|
+
uploadType?: string;
|
|
2184
|
+
/** Request body */
|
|
2185
|
+
resource: SavedQuery;
|
|
2186
|
+
}): Request<SavedQuery>;
|
|
2187
|
+
patch(
|
|
2188
|
+
request: {
|
|
2189
|
+
/** V1 error format. */
|
|
2190
|
+
'$.xgafv'?: string;
|
|
2191
|
+
/** OAuth access token. */
|
|
2192
|
+
access_token?: string;
|
|
2193
|
+
/** Data format for response. */
|
|
2194
|
+
alt?: string;
|
|
2195
|
+
/** JSONP */
|
|
2196
|
+
callback?: string;
|
|
2197
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2198
|
+
fields?: string;
|
|
2199
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2200
|
+
key?: string;
|
|
2201
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
2202
|
+
name: string;
|
|
2203
|
+
/** OAuth 2.0 token for the current user. */
|
|
2204
|
+
oauth_token?: string;
|
|
2205
|
+
/** Returns response with indentations and line breaks. */
|
|
2206
|
+
prettyPrint?: boolean;
|
|
2207
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2208
|
+
quotaUser?: string;
|
|
2209
|
+
/** Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter". */
|
|
2210
|
+
updateMask?: string;
|
|
2211
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2212
|
+
upload_protocol?: string;
|
|
2213
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2214
|
+
uploadType?: string;
|
|
2215
|
+
},
|
|
2216
|
+
body: SavedQuery
|
|
2217
|
+
): Request<SavedQuery>;
|
|
2125
2218
|
}
|
|
2126
2219
|
interface LocationsResource {
|
|
2127
2220
|
/** Gets information about a location. */
|
|
@@ -2262,7 +2355,7 @@ declare namespace gapi.client {
|
|
|
2262
2355
|
alt?: string;
|
|
2263
2356
|
/** JSONP */
|
|
2264
2357
|
callback?: string;
|
|
2265
|
-
/** Optional.
|
|
2358
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
2266
2359
|
customWriterIdentity?: string;
|
|
2267
2360
|
/** Selector specifying which fields to include in a partial response. */
|
|
2268
2361
|
fields?: string;
|
|
@@ -2295,7 +2388,7 @@ declare namespace gapi.client {
|
|
|
2295
2388
|
alt?: string;
|
|
2296
2389
|
/** JSONP */
|
|
2297
2390
|
callback?: string;
|
|
2298
|
-
/** Optional.
|
|
2391
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
2299
2392
|
customWriterIdentity?: string;
|
|
2300
2393
|
/** Selector specifying which fields to include in a partial response. */
|
|
2301
2394
|
fields?: string;
|
|
@@ -2415,7 +2508,7 @@ declare namespace gapi.client {
|
|
|
2415
2508
|
alt?: string;
|
|
2416
2509
|
/** JSONP */
|
|
2417
2510
|
callback?: string;
|
|
2418
|
-
/** Optional.
|
|
2511
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
2419
2512
|
customWriterIdentity?: string;
|
|
2420
2513
|
/** Selector specifying which fields to include in a partial response. */
|
|
2421
2514
|
fields?: string;
|
|
@@ -2450,7 +2543,7 @@ declare namespace gapi.client {
|
|
|
2450
2543
|
alt?: string;
|
|
2451
2544
|
/** JSONP */
|
|
2452
2545
|
callback?: string;
|
|
2453
|
-
/** Optional.
|
|
2546
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
2454
2547
|
customWriterIdentity?: string;
|
|
2455
2548
|
/** Selector specifying which fields to include in a partial response. */
|
|
2456
2549
|
fields?: string;
|
|
@@ -2485,7 +2578,7 @@ declare namespace gapi.client {
|
|
|
2485
2578
|
alt?: string;
|
|
2486
2579
|
/** JSONP */
|
|
2487
2580
|
callback?: string;
|
|
2488
|
-
/** Optional.
|
|
2581
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
2489
2582
|
customWriterIdentity?: string;
|
|
2490
2583
|
/** Selector specifying which fields to include in a partial response. */
|
|
2491
2584
|
fields?: string;
|
|
@@ -2520,7 +2613,7 @@ declare namespace gapi.client {
|
|
|
2520
2613
|
alt?: string;
|
|
2521
2614
|
/** JSONP */
|
|
2522
2615
|
callback?: string;
|
|
2523
|
-
/** Optional.
|
|
2616
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
2524
2617
|
customWriterIdentity?: string;
|
|
2525
2618
|
/** Selector specifying which fields to include in a partial response. */
|
|
2526
2619
|
fields?: string;
|
|
@@ -4252,6 +4345,8 @@ declare namespace gapi.client {
|
|
|
4252
4345
|
callback?: string;
|
|
4253
4346
|
/** Selector specifying which fields to include in a partial response. */
|
|
4254
4347
|
fields?: string;
|
|
4348
|
+
/** Optional. Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics") */
|
|
4349
|
+
filter?: string;
|
|
4255
4350
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4256
4351
|
key?: string;
|
|
4257
4352
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4362,6 +4457,33 @@ declare namespace gapi.client {
|
|
|
4362
4457
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4363
4458
|
uploadType?: string;
|
|
4364
4459
|
}): Request<{}>;
|
|
4460
|
+
/** Returns all data associated with the requested query. */
|
|
4461
|
+
get(request?: {
|
|
4462
|
+
/** V1 error format. */
|
|
4463
|
+
'$.xgafv'?: string;
|
|
4464
|
+
/** OAuth access token. */
|
|
4465
|
+
access_token?: string;
|
|
4466
|
+
/** Data format for response. */
|
|
4467
|
+
alt?: string;
|
|
4468
|
+
/** JSONP */
|
|
4469
|
+
callback?: string;
|
|
4470
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4471
|
+
fields?: string;
|
|
4472
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4473
|
+
key?: string;
|
|
4474
|
+
/** Required. The resource name of the saved query. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query" */
|
|
4475
|
+
name: string;
|
|
4476
|
+
/** OAuth 2.0 token for the current user. */
|
|
4477
|
+
oauth_token?: string;
|
|
4478
|
+
/** Returns response with indentations and line breaks. */
|
|
4479
|
+
prettyPrint?: boolean;
|
|
4480
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4481
|
+
quotaUser?: string;
|
|
4482
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4483
|
+
upload_protocol?: string;
|
|
4484
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4485
|
+
uploadType?: string;
|
|
4486
|
+
}): Request<SavedQuery>;
|
|
4365
4487
|
/** Lists the SavedQueries that were created by the user making the request. */
|
|
4366
4488
|
list(request?: {
|
|
4367
4489
|
/** V1 error format. */
|
|
@@ -4374,6 +4496,8 @@ declare namespace gapi.client {
|
|
|
4374
4496
|
callback?: string;
|
|
4375
4497
|
/** Selector specifying which fields to include in a partial response. */
|
|
4376
4498
|
fields?: string;
|
|
4499
|
+
/** Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED */
|
|
4500
|
+
filter?: string;
|
|
4377
4501
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4378
4502
|
key?: string;
|
|
4379
4503
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -4393,6 +4517,68 @@ declare namespace gapi.client {
|
|
|
4393
4517
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4394
4518
|
uploadType?: string;
|
|
4395
4519
|
}): Request<ListSavedQueriesResponse>;
|
|
4520
|
+
/** Updates an existing SavedQuery. */
|
|
4521
|
+
patch(request: {
|
|
4522
|
+
/** V1 error format. */
|
|
4523
|
+
'$.xgafv'?: string;
|
|
4524
|
+
/** OAuth access token. */
|
|
4525
|
+
access_token?: string;
|
|
4526
|
+
/** Data format for response. */
|
|
4527
|
+
alt?: string;
|
|
4528
|
+
/** JSONP */
|
|
4529
|
+
callback?: string;
|
|
4530
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4531
|
+
fields?: string;
|
|
4532
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4533
|
+
key?: string;
|
|
4534
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
4535
|
+
name: string;
|
|
4536
|
+
/** OAuth 2.0 token for the current user. */
|
|
4537
|
+
oauth_token?: string;
|
|
4538
|
+
/** Returns response with indentations and line breaks. */
|
|
4539
|
+
prettyPrint?: boolean;
|
|
4540
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4541
|
+
quotaUser?: string;
|
|
4542
|
+
/** Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter". */
|
|
4543
|
+
updateMask?: string;
|
|
4544
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4545
|
+
upload_protocol?: string;
|
|
4546
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4547
|
+
uploadType?: string;
|
|
4548
|
+
/** Request body */
|
|
4549
|
+
resource: SavedQuery;
|
|
4550
|
+
}): Request<SavedQuery>;
|
|
4551
|
+
patch(
|
|
4552
|
+
request: {
|
|
4553
|
+
/** V1 error format. */
|
|
4554
|
+
'$.xgafv'?: string;
|
|
4555
|
+
/** OAuth access token. */
|
|
4556
|
+
access_token?: string;
|
|
4557
|
+
/** Data format for response. */
|
|
4558
|
+
alt?: string;
|
|
4559
|
+
/** JSONP */
|
|
4560
|
+
callback?: string;
|
|
4561
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4562
|
+
fields?: string;
|
|
4563
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4564
|
+
key?: string;
|
|
4565
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
4566
|
+
name: string;
|
|
4567
|
+
/** OAuth 2.0 token for the current user. */
|
|
4568
|
+
oauth_token?: string;
|
|
4569
|
+
/** Returns response with indentations and line breaks. */
|
|
4570
|
+
prettyPrint?: boolean;
|
|
4571
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
4572
|
+
quotaUser?: string;
|
|
4573
|
+
/** Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter". */
|
|
4574
|
+
updateMask?: string;
|
|
4575
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4576
|
+
upload_protocol?: string;
|
|
4577
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4578
|
+
uploadType?: string;
|
|
4579
|
+
},
|
|
4580
|
+
body: SavedQuery
|
|
4581
|
+
): Request<SavedQuery>;
|
|
4396
4582
|
}
|
|
4397
4583
|
interface LocationsResource {
|
|
4398
4584
|
/** Gets information about a location. */
|
|
@@ -4533,7 +4719,7 @@ declare namespace gapi.client {
|
|
|
4533
4719
|
alt?: string;
|
|
4534
4720
|
/** JSONP */
|
|
4535
4721
|
callback?: string;
|
|
4536
|
-
/** Optional.
|
|
4722
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
4537
4723
|
customWriterIdentity?: string;
|
|
4538
4724
|
/** Selector specifying which fields to include in a partial response. */
|
|
4539
4725
|
fields?: string;
|
|
@@ -4566,7 +4752,7 @@ declare namespace gapi.client {
|
|
|
4566
4752
|
alt?: string;
|
|
4567
4753
|
/** JSONP */
|
|
4568
4754
|
callback?: string;
|
|
4569
|
-
/** Optional.
|
|
4755
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
4570
4756
|
customWriterIdentity?: string;
|
|
4571
4757
|
/** Selector specifying which fields to include in a partial response. */
|
|
4572
4758
|
fields?: string;
|
|
@@ -4686,7 +4872,7 @@ declare namespace gapi.client {
|
|
|
4686
4872
|
alt?: string;
|
|
4687
4873
|
/** JSONP */
|
|
4688
4874
|
callback?: string;
|
|
4689
|
-
/** Optional.
|
|
4875
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
4690
4876
|
customWriterIdentity?: string;
|
|
4691
4877
|
/** Selector specifying which fields to include in a partial response. */
|
|
4692
4878
|
fields?: string;
|
|
@@ -4721,7 +4907,7 @@ declare namespace gapi.client {
|
|
|
4721
4907
|
alt?: string;
|
|
4722
4908
|
/** JSONP */
|
|
4723
4909
|
callback?: string;
|
|
4724
|
-
/** Optional.
|
|
4910
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
4725
4911
|
customWriterIdentity?: string;
|
|
4726
4912
|
/** Selector specifying which fields to include in a partial response. */
|
|
4727
4913
|
fields?: string;
|
|
@@ -4756,7 +4942,7 @@ declare namespace gapi.client {
|
|
|
4756
4942
|
alt?: string;
|
|
4757
4943
|
/** JSONP */
|
|
4758
4944
|
callback?: string;
|
|
4759
|
-
/** Optional.
|
|
4945
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
4760
4946
|
customWriterIdentity?: string;
|
|
4761
4947
|
/** Selector specifying which fields to include in a partial response. */
|
|
4762
4948
|
fields?: string;
|
|
@@ -4791,7 +4977,7 @@ declare namespace gapi.client {
|
|
|
4791
4977
|
alt?: string;
|
|
4792
4978
|
/** JSONP */
|
|
4793
4979
|
callback?: string;
|
|
4794
|
-
/** Optional.
|
|
4980
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
4795
4981
|
customWriterIdentity?: string;
|
|
4796
4982
|
/** Selector specifying which fields to include in a partial response. */
|
|
4797
4983
|
fields?: string;
|
|
@@ -4886,7 +5072,7 @@ declare namespace gapi.client {
|
|
|
4886
5072
|
fields?: string;
|
|
4887
5073
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4888
5074
|
key?: string;
|
|
4889
|
-
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings" */
|
|
5075
|
+
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings" */
|
|
4890
5076
|
name: string;
|
|
4891
5077
|
/** OAuth 2.0 token for the current user. */
|
|
4892
5078
|
oauth_token?: string;
|
|
@@ -4917,7 +5103,7 @@ declare namespace gapi.client {
|
|
|
4917
5103
|
fields?: string;
|
|
4918
5104
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4919
5105
|
key?: string;
|
|
4920
|
-
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings" */
|
|
5106
|
+
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings" */
|
|
4921
5107
|
name: string;
|
|
4922
5108
|
/** OAuth 2.0 token for the current user. */
|
|
4923
5109
|
oauth_token?: string;
|
|
@@ -7282,6 +7468,8 @@ declare namespace gapi.client {
|
|
|
7282
7468
|
callback?: string;
|
|
7283
7469
|
/** Selector specifying which fields to include in a partial response. */
|
|
7284
7470
|
fields?: string;
|
|
7471
|
+
/** Optional. Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics") */
|
|
7472
|
+
filter?: string;
|
|
7285
7473
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7286
7474
|
key?: string;
|
|
7287
7475
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7392,6 +7580,33 @@ declare namespace gapi.client {
|
|
|
7392
7580
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7393
7581
|
uploadType?: string;
|
|
7394
7582
|
}): Request<{}>;
|
|
7583
|
+
/** Returns all data associated with the requested query. */
|
|
7584
|
+
get(request?: {
|
|
7585
|
+
/** V1 error format. */
|
|
7586
|
+
'$.xgafv'?: string;
|
|
7587
|
+
/** OAuth access token. */
|
|
7588
|
+
access_token?: string;
|
|
7589
|
+
/** Data format for response. */
|
|
7590
|
+
alt?: string;
|
|
7591
|
+
/** JSONP */
|
|
7592
|
+
callback?: string;
|
|
7593
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7594
|
+
fields?: string;
|
|
7595
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7596
|
+
key?: string;
|
|
7597
|
+
/** Required. The resource name of the saved query. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query" */
|
|
7598
|
+
name: string;
|
|
7599
|
+
/** OAuth 2.0 token for the current user. */
|
|
7600
|
+
oauth_token?: string;
|
|
7601
|
+
/** Returns response with indentations and line breaks. */
|
|
7602
|
+
prettyPrint?: boolean;
|
|
7603
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7604
|
+
quotaUser?: string;
|
|
7605
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7606
|
+
upload_protocol?: string;
|
|
7607
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7608
|
+
uploadType?: string;
|
|
7609
|
+
}): Request<SavedQuery>;
|
|
7395
7610
|
/** Lists the SavedQueries that were created by the user making the request. */
|
|
7396
7611
|
list(request?: {
|
|
7397
7612
|
/** V1 error format. */
|
|
@@ -7404,6 +7619,8 @@ declare namespace gapi.client {
|
|
|
7404
7619
|
callback?: string;
|
|
7405
7620
|
/** Selector specifying which fields to include in a partial response. */
|
|
7406
7621
|
fields?: string;
|
|
7622
|
+
/** Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED */
|
|
7623
|
+
filter?: string;
|
|
7407
7624
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7408
7625
|
key?: string;
|
|
7409
7626
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -7423,6 +7640,68 @@ declare namespace gapi.client {
|
|
|
7423
7640
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7424
7641
|
uploadType?: string;
|
|
7425
7642
|
}): Request<ListSavedQueriesResponse>;
|
|
7643
|
+
/** Updates an existing SavedQuery. */
|
|
7644
|
+
patch(request: {
|
|
7645
|
+
/** V1 error format. */
|
|
7646
|
+
'$.xgafv'?: string;
|
|
7647
|
+
/** OAuth access token. */
|
|
7648
|
+
access_token?: string;
|
|
7649
|
+
/** Data format for response. */
|
|
7650
|
+
alt?: string;
|
|
7651
|
+
/** JSONP */
|
|
7652
|
+
callback?: string;
|
|
7653
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7654
|
+
fields?: string;
|
|
7655
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7656
|
+
key?: string;
|
|
7657
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
7658
|
+
name: string;
|
|
7659
|
+
/** OAuth 2.0 token for the current user. */
|
|
7660
|
+
oauth_token?: string;
|
|
7661
|
+
/** Returns response with indentations and line breaks. */
|
|
7662
|
+
prettyPrint?: boolean;
|
|
7663
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7664
|
+
quotaUser?: string;
|
|
7665
|
+
/** Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter". */
|
|
7666
|
+
updateMask?: string;
|
|
7667
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7668
|
+
upload_protocol?: string;
|
|
7669
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7670
|
+
uploadType?: string;
|
|
7671
|
+
/** Request body */
|
|
7672
|
+
resource: SavedQuery;
|
|
7673
|
+
}): Request<SavedQuery>;
|
|
7674
|
+
patch(
|
|
7675
|
+
request: {
|
|
7676
|
+
/** V1 error format. */
|
|
7677
|
+
'$.xgafv'?: string;
|
|
7678
|
+
/** OAuth access token. */
|
|
7679
|
+
access_token?: string;
|
|
7680
|
+
/** Data format for response. */
|
|
7681
|
+
alt?: string;
|
|
7682
|
+
/** JSONP */
|
|
7683
|
+
callback?: string;
|
|
7684
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
7685
|
+
fields?: string;
|
|
7686
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7687
|
+
key?: string;
|
|
7688
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
7689
|
+
name: string;
|
|
7690
|
+
/** OAuth 2.0 token for the current user. */
|
|
7691
|
+
oauth_token?: string;
|
|
7692
|
+
/** Returns response with indentations and line breaks. */
|
|
7693
|
+
prettyPrint?: boolean;
|
|
7694
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
7695
|
+
quotaUser?: string;
|
|
7696
|
+
/** Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter". */
|
|
7697
|
+
updateMask?: string;
|
|
7698
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
7699
|
+
upload_protocol?: string;
|
|
7700
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
7701
|
+
uploadType?: string;
|
|
7702
|
+
},
|
|
7703
|
+
body: SavedQuery
|
|
7704
|
+
): Request<SavedQuery>;
|
|
7426
7705
|
}
|
|
7427
7706
|
interface LocationsResource {
|
|
7428
7707
|
/** Gets information about a location. */
|
|
@@ -7563,7 +7842,7 @@ declare namespace gapi.client {
|
|
|
7563
7842
|
alt?: string;
|
|
7564
7843
|
/** JSONP */
|
|
7565
7844
|
callback?: string;
|
|
7566
|
-
/** Optional.
|
|
7845
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
7567
7846
|
customWriterIdentity?: string;
|
|
7568
7847
|
/** Selector specifying which fields to include in a partial response. */
|
|
7569
7848
|
fields?: string;
|
|
@@ -7596,7 +7875,7 @@ declare namespace gapi.client {
|
|
|
7596
7875
|
alt?: string;
|
|
7597
7876
|
/** JSONP */
|
|
7598
7877
|
callback?: string;
|
|
7599
|
-
/** Optional.
|
|
7878
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
7600
7879
|
customWriterIdentity?: string;
|
|
7601
7880
|
/** Selector specifying which fields to include in a partial response. */
|
|
7602
7881
|
fields?: string;
|
|
@@ -7716,7 +7995,7 @@ declare namespace gapi.client {
|
|
|
7716
7995
|
alt?: string;
|
|
7717
7996
|
/** JSONP */
|
|
7718
7997
|
callback?: string;
|
|
7719
|
-
/** Optional.
|
|
7998
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
7720
7999
|
customWriterIdentity?: string;
|
|
7721
8000
|
/** Selector specifying which fields to include in a partial response. */
|
|
7722
8001
|
fields?: string;
|
|
@@ -7751,7 +8030,7 @@ declare namespace gapi.client {
|
|
|
7751
8030
|
alt?: string;
|
|
7752
8031
|
/** JSONP */
|
|
7753
8032
|
callback?: string;
|
|
7754
|
-
/** Optional.
|
|
8033
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
7755
8034
|
customWriterIdentity?: string;
|
|
7756
8035
|
/** Selector specifying which fields to include in a partial response. */
|
|
7757
8036
|
fields?: string;
|
|
@@ -7786,7 +8065,7 @@ declare namespace gapi.client {
|
|
|
7786
8065
|
alt?: string;
|
|
7787
8066
|
/** JSONP */
|
|
7788
8067
|
callback?: string;
|
|
7789
|
-
/** Optional.
|
|
8068
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
7790
8069
|
customWriterIdentity?: string;
|
|
7791
8070
|
/** Selector specifying which fields to include in a partial response. */
|
|
7792
8071
|
fields?: string;
|
|
@@ -7821,7 +8100,7 @@ declare namespace gapi.client {
|
|
|
7821
8100
|
alt?: string;
|
|
7822
8101
|
/** JSONP */
|
|
7823
8102
|
callback?: string;
|
|
7824
|
-
/** Optional.
|
|
8103
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
7825
8104
|
customWriterIdentity?: string;
|
|
7826
8105
|
/** Selector specifying which fields to include in a partial response. */
|
|
7827
8106
|
fields?: string;
|
|
@@ -7978,7 +8257,7 @@ declare namespace gapi.client {
|
|
|
7978
8257
|
fields?: string;
|
|
7979
8258
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
7980
8259
|
key?: string;
|
|
7981
|
-
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings" */
|
|
8260
|
+
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings" */
|
|
7982
8261
|
name: string;
|
|
7983
8262
|
/** OAuth 2.0 token for the current user. */
|
|
7984
8263
|
oauth_token?: string;
|
|
@@ -8009,7 +8288,7 @@ declare namespace gapi.client {
|
|
|
8009
8288
|
fields?: string;
|
|
8010
8289
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8011
8290
|
key?: string;
|
|
8012
|
-
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings" */
|
|
8291
|
+
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings" */
|
|
8013
8292
|
name: string;
|
|
8014
8293
|
/** OAuth 2.0 token for the current user. */
|
|
8015
8294
|
oauth_token?: string;
|
|
@@ -9252,6 +9531,8 @@ declare namespace gapi.client {
|
|
|
9252
9531
|
callback?: string;
|
|
9253
9532
|
/** Selector specifying which fields to include in a partial response. */
|
|
9254
9533
|
fields?: string;
|
|
9534
|
+
/** Optional. Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics") */
|
|
9535
|
+
filter?: string;
|
|
9255
9536
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9256
9537
|
key?: string;
|
|
9257
9538
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -9362,6 +9643,33 @@ declare namespace gapi.client {
|
|
|
9362
9643
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9363
9644
|
uploadType?: string;
|
|
9364
9645
|
}): Request<{}>;
|
|
9646
|
+
/** Returns all data associated with the requested query. */
|
|
9647
|
+
get(request?: {
|
|
9648
|
+
/** V1 error format. */
|
|
9649
|
+
'$.xgafv'?: string;
|
|
9650
|
+
/** OAuth access token. */
|
|
9651
|
+
access_token?: string;
|
|
9652
|
+
/** Data format for response. */
|
|
9653
|
+
alt?: string;
|
|
9654
|
+
/** JSONP */
|
|
9655
|
+
callback?: string;
|
|
9656
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9657
|
+
fields?: string;
|
|
9658
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9659
|
+
key?: string;
|
|
9660
|
+
/** Required. The resource name of the saved query. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query" */
|
|
9661
|
+
name: string;
|
|
9662
|
+
/** OAuth 2.0 token for the current user. */
|
|
9663
|
+
oauth_token?: string;
|
|
9664
|
+
/** Returns response with indentations and line breaks. */
|
|
9665
|
+
prettyPrint?: boolean;
|
|
9666
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9667
|
+
quotaUser?: string;
|
|
9668
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9669
|
+
upload_protocol?: string;
|
|
9670
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9671
|
+
uploadType?: string;
|
|
9672
|
+
}): Request<SavedQuery>;
|
|
9365
9673
|
/** Lists the SavedQueries that were created by the user making the request. */
|
|
9366
9674
|
list(request?: {
|
|
9367
9675
|
/** V1 error format. */
|
|
@@ -9374,6 +9682,8 @@ declare namespace gapi.client {
|
|
|
9374
9682
|
callback?: string;
|
|
9375
9683
|
/** Selector specifying which fields to include in a partial response. */
|
|
9376
9684
|
fields?: string;
|
|
9685
|
+
/** Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED */
|
|
9686
|
+
filter?: string;
|
|
9377
9687
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9378
9688
|
key?: string;
|
|
9379
9689
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -9393,6 +9703,68 @@ declare namespace gapi.client {
|
|
|
9393
9703
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9394
9704
|
uploadType?: string;
|
|
9395
9705
|
}): Request<ListSavedQueriesResponse>;
|
|
9706
|
+
/** Updates an existing SavedQuery. */
|
|
9707
|
+
patch(request: {
|
|
9708
|
+
/** V1 error format. */
|
|
9709
|
+
'$.xgafv'?: string;
|
|
9710
|
+
/** OAuth access token. */
|
|
9711
|
+
access_token?: string;
|
|
9712
|
+
/** Data format for response. */
|
|
9713
|
+
alt?: string;
|
|
9714
|
+
/** JSONP */
|
|
9715
|
+
callback?: string;
|
|
9716
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9717
|
+
fields?: string;
|
|
9718
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9719
|
+
key?: string;
|
|
9720
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
9721
|
+
name: string;
|
|
9722
|
+
/** OAuth 2.0 token for the current user. */
|
|
9723
|
+
oauth_token?: string;
|
|
9724
|
+
/** Returns response with indentations and line breaks. */
|
|
9725
|
+
prettyPrint?: boolean;
|
|
9726
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9727
|
+
quotaUser?: string;
|
|
9728
|
+
/** Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter". */
|
|
9729
|
+
updateMask?: string;
|
|
9730
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9731
|
+
upload_protocol?: string;
|
|
9732
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9733
|
+
uploadType?: string;
|
|
9734
|
+
/** Request body */
|
|
9735
|
+
resource: SavedQuery;
|
|
9736
|
+
}): Request<SavedQuery>;
|
|
9737
|
+
patch(
|
|
9738
|
+
request: {
|
|
9739
|
+
/** V1 error format. */
|
|
9740
|
+
'$.xgafv'?: string;
|
|
9741
|
+
/** OAuth access token. */
|
|
9742
|
+
access_token?: string;
|
|
9743
|
+
/** Data format for response. */
|
|
9744
|
+
alt?: string;
|
|
9745
|
+
/** JSONP */
|
|
9746
|
+
callback?: string;
|
|
9747
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9748
|
+
fields?: string;
|
|
9749
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9750
|
+
key?: string;
|
|
9751
|
+
/** Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. */
|
|
9752
|
+
name: string;
|
|
9753
|
+
/** OAuth 2.0 token for the current user. */
|
|
9754
|
+
oauth_token?: string;
|
|
9755
|
+
/** Returns response with indentations and line breaks. */
|
|
9756
|
+
prettyPrint?: boolean;
|
|
9757
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9758
|
+
quotaUser?: string;
|
|
9759
|
+
/** Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter". */
|
|
9760
|
+
updateMask?: string;
|
|
9761
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9762
|
+
upload_protocol?: string;
|
|
9763
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9764
|
+
uploadType?: string;
|
|
9765
|
+
},
|
|
9766
|
+
body: SavedQuery
|
|
9767
|
+
): Request<SavedQuery>;
|
|
9396
9768
|
}
|
|
9397
9769
|
interface LocationsResource {
|
|
9398
9770
|
/** Gets information about a location. */
|
|
@@ -9736,7 +10108,7 @@ declare namespace gapi.client {
|
|
|
9736
10108
|
alt?: string;
|
|
9737
10109
|
/** JSONP */
|
|
9738
10110
|
callback?: string;
|
|
9739
|
-
/** Optional.
|
|
10111
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
9740
10112
|
customWriterIdentity?: string;
|
|
9741
10113
|
/** Selector specifying which fields to include in a partial response. */
|
|
9742
10114
|
fields?: string;
|
|
@@ -9769,7 +10141,7 @@ declare namespace gapi.client {
|
|
|
9769
10141
|
alt?: string;
|
|
9770
10142
|
/** JSONP */
|
|
9771
10143
|
callback?: string;
|
|
9772
|
-
/** Optional.
|
|
10144
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
9773
10145
|
customWriterIdentity?: string;
|
|
9774
10146
|
/** Selector specifying which fields to include in a partial response. */
|
|
9775
10147
|
fields?: string;
|
|
@@ -9889,7 +10261,7 @@ declare namespace gapi.client {
|
|
|
9889
10261
|
alt?: string;
|
|
9890
10262
|
/** JSONP */
|
|
9891
10263
|
callback?: string;
|
|
9892
|
-
/** Optional.
|
|
10264
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
9893
10265
|
customWriterIdentity?: string;
|
|
9894
10266
|
/** Selector specifying which fields to include in a partial response. */
|
|
9895
10267
|
fields?: string;
|
|
@@ -9924,7 +10296,7 @@ declare namespace gapi.client {
|
|
|
9924
10296
|
alt?: string;
|
|
9925
10297
|
/** JSONP */
|
|
9926
10298
|
callback?: string;
|
|
9927
|
-
/** Optional.
|
|
10299
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
9928
10300
|
customWriterIdentity?: string;
|
|
9929
10301
|
/** Selector specifying which fields to include in a partial response. */
|
|
9930
10302
|
fields?: string;
|
|
@@ -9959,7 +10331,7 @@ declare namespace gapi.client {
|
|
|
9959
10331
|
alt?: string;
|
|
9960
10332
|
/** JSONP */
|
|
9961
10333
|
callback?: string;
|
|
9962
|
-
/** Optional.
|
|
10334
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
9963
10335
|
customWriterIdentity?: string;
|
|
9964
10336
|
/** Selector specifying which fields to include in a partial response. */
|
|
9965
10337
|
fields?: string;
|
|
@@ -9994,7 +10366,7 @@ declare namespace gapi.client {
|
|
|
9994
10366
|
alt?: string;
|
|
9995
10367
|
/** JSONP */
|
|
9996
10368
|
callback?: string;
|
|
9997
|
-
/** Optional.
|
|
10369
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
9998
10370
|
customWriterIdentity?: string;
|
|
9999
10371
|
/** Selector specifying which fields to include in a partial response. */
|
|
10000
10372
|
fields?: string;
|
|
@@ -10092,7 +10464,7 @@ declare namespace gapi.client {
|
|
|
10092
10464
|
alt?: string;
|
|
10093
10465
|
/** JSONP */
|
|
10094
10466
|
callback?: string;
|
|
10095
|
-
/** Optional.
|
|
10467
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
10096
10468
|
customWriterIdentity?: string;
|
|
10097
10469
|
/** Selector specifying which fields to include in a partial response. */
|
|
10098
10470
|
fields?: string;
|
|
@@ -10125,7 +10497,7 @@ declare namespace gapi.client {
|
|
|
10125
10497
|
alt?: string;
|
|
10126
10498
|
/** JSONP */
|
|
10127
10499
|
callback?: string;
|
|
10128
|
-
/** Optional.
|
|
10500
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
10129
10501
|
customWriterIdentity?: string;
|
|
10130
10502
|
/** Selector specifying which fields to include in a partial response. */
|
|
10131
10503
|
fields?: string;
|
|
@@ -10245,7 +10617,7 @@ declare namespace gapi.client {
|
|
|
10245
10617
|
alt?: string;
|
|
10246
10618
|
/** JSONP */
|
|
10247
10619
|
callback?: string;
|
|
10248
|
-
/** Optional.
|
|
10620
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
10249
10621
|
customWriterIdentity?: string;
|
|
10250
10622
|
/** Selector specifying which fields to include in a partial response. */
|
|
10251
10623
|
fields?: string;
|
|
@@ -10280,7 +10652,7 @@ declare namespace gapi.client {
|
|
|
10280
10652
|
alt?: string;
|
|
10281
10653
|
/** JSONP */
|
|
10282
10654
|
callback?: string;
|
|
10283
|
-
/** Optional.
|
|
10655
|
+
/** Optional. The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated. */
|
|
10284
10656
|
customWriterIdentity?: string;
|
|
10285
10657
|
/** Selector specifying which fields to include in a partial response. */
|
|
10286
10658
|
fields?: string;
|
|
@@ -10437,7 +10809,7 @@ declare namespace gapi.client {
|
|
|
10437
10809
|
fields?: string;
|
|
10438
10810
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
10439
10811
|
key?: string;
|
|
10440
|
-
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings" */
|
|
10812
|
+
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings" */
|
|
10441
10813
|
name: string;
|
|
10442
10814
|
/** OAuth 2.0 token for the current user. */
|
|
10443
10815
|
oauth_token?: string;
|
|
@@ -10468,7 +10840,7 @@ declare namespace gapi.client {
|
|
|
10468
10840
|
fields?: string;
|
|
10469
10841
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
10470
10842
|
key?: string;
|
|
10471
|
-
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings" */
|
|
10843
|
+
/** Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings" */
|
|
10472
10844
|
name: string;
|
|
10473
10845
|
/** OAuth 2.0 token for the current user. */
|
|
10474
10846
|
oauth_token?: string;
|