@maxim_mazurok/gapi.client.monitoring-v3 0.0.20240721 → 0.0.20240804
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 +15 -15
- 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://monitoring.googleapis.com/$discovery/rest?version=v3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240804
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -51,7 +51,7 @@ declare namespace gapi.client {
|
|
|
51
51
|
enabled?: boolean;
|
|
52
52
|
/** A read-only record of the most recent change to the alerting policy. If provided in a call to create or update, this field will be ignored. */
|
|
53
53
|
mutationRecord?: MutationRecord;
|
|
54
|
-
/** Required if the policy exists. The resource name for this policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created. When calling the alertPolicies.create method, do not include the name field in the alerting policy passed as part of the request. */
|
|
54
|
+
/** Identifier. Required if the policy exists. The resource name for this policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created. When calling the alertPolicies.create method, do not include the name field in the alerting policy passed as part of the request. */
|
|
55
55
|
name?: string;
|
|
56
56
|
/** Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident. Each element of this array corresponds to the name field in each of the NotificationChannel objects that are returned from the ListNotificationChannels method. The format of the entries in this field is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] */
|
|
57
57
|
notificationChannels?: string[];
|
|
@@ -957,7 +957,7 @@ declare namespace gapi.client {
|
|
|
957
957
|
points?: Point[];
|
|
958
958
|
/** The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see Monitored resources for custom metrics (https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources). */
|
|
959
959
|
resource?: MonitoredResource;
|
|
960
|
-
/** The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values. This field can only be changed through CreateTimeSeries when it is empty
|
|
960
|
+
/** The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values. This field can only be changed through CreateTimeSeries when it is empty. */
|
|
961
961
|
unit?: string;
|
|
962
962
|
/** The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series.When creating a time series, this field is optional. If present, it must be the same as the type of the data in the points field. */
|
|
963
963
|
valueType?: string;
|
|
@@ -1331,7 +1331,7 @@ declare namespace gapi.client {
|
|
|
1331
1331
|
callback?: string;
|
|
1332
1332
|
/** Selector specifying which fields to include in a partial response. */
|
|
1333
1333
|
fields?: string;
|
|
1334
|
-
/** If provided, this field specifies the criteria that must be met by alert policies to be included in the response.For more details, see sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). */
|
|
1334
|
+
/** Optional. If provided, this field specifies the criteria that must be met by alert policies to be included in the response.For more details, see sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). */
|
|
1335
1335
|
filter?: string;
|
|
1336
1336
|
/** 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. */
|
|
1337
1337
|
key?: string;
|
|
@@ -1339,11 +1339,11 @@ declare namespace gapi.client {
|
|
|
1339
1339
|
name: string;
|
|
1340
1340
|
/** OAuth 2.0 token for the current user. */
|
|
1341
1341
|
oauth_token?: string;
|
|
1342
|
-
/** A comma-separated list of fields by which to sort the result. Supports the same set of field references as the filter field. Entries can be prefixed with a minus sign to sort by the field in descending order.For more details, see sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). */
|
|
1342
|
+
/** Optional. A comma-separated list of fields by which to sort the result. Supports the same set of field references as the filter field. Entries can be prefixed with a minus sign to sort by the field in descending order.For more details, see sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). */
|
|
1343
1343
|
orderBy?: string;
|
|
1344
|
-
/** The maximum number of results to return in a single response. */
|
|
1344
|
+
/** Optional. The maximum number of results to return in a single response. */
|
|
1345
1345
|
pageSize?: number;
|
|
1346
|
-
/** If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return more results from the previous method call. */
|
|
1346
|
+
/** Optional. If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return more results from the previous method call. */
|
|
1347
1347
|
pageToken?: string;
|
|
1348
1348
|
/** Returns response with indentations and line breaks. */
|
|
1349
1349
|
prettyPrint?: boolean;
|
|
@@ -1368,7 +1368,7 @@ declare namespace gapi.client {
|
|
|
1368
1368
|
fields?: string;
|
|
1369
1369
|
/** 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. */
|
|
1370
1370
|
key?: string;
|
|
1371
|
-
/** Required if the policy exists. The resource name for this policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created. When calling the alertPolicies.create method, do not include the name field in the alerting policy passed as part of the request. */
|
|
1371
|
+
/** Identifier. Required if the policy exists. The resource name for this policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created. When calling the alertPolicies.create method, do not include the name field in the alerting policy passed as part of the request. */
|
|
1372
1372
|
name: string;
|
|
1373
1373
|
/** OAuth 2.0 token for the current user. */
|
|
1374
1374
|
oauth_token?: string;
|
|
@@ -1399,7 +1399,7 @@ declare namespace gapi.client {
|
|
|
1399
1399
|
fields?: string;
|
|
1400
1400
|
/** 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. */
|
|
1401
1401
|
key?: string;
|
|
1402
|
-
/** Required if the policy exists. The resource name for this policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created. When calling the alertPolicies.create method, do not include the name field in the alerting policy passed as part of the request. */
|
|
1402
|
+
/** Identifier. Required if the policy exists. The resource name for this policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created. When calling the alertPolicies.create method, do not include the name field in the alerting policy passed as part of the request. */
|
|
1403
1403
|
name: string;
|
|
1404
1404
|
/** OAuth 2.0 token for the current user. */
|
|
1405
1405
|
oauth_token?: string;
|
|
@@ -2190,7 +2190,7 @@ declare namespace gapi.client {
|
|
|
2190
2190
|
callback?: string;
|
|
2191
2191
|
/** Selector specifying which fields to include in a partial response. */
|
|
2192
2192
|
fields?: string;
|
|
2193
|
-
/** If provided, this field specifies the criteria that must be met by notification channels to be included in the response.For more details, see sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). */
|
|
2193
|
+
/** Optional. If provided, this field specifies the criteria that must be met by notification channels to be included in the response.For more details, see sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). */
|
|
2194
2194
|
filter?: string;
|
|
2195
2195
|
/** 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. */
|
|
2196
2196
|
key?: string;
|
|
@@ -2198,11 +2198,11 @@ declare namespace gapi.client {
|
|
|
2198
2198
|
name: string;
|
|
2199
2199
|
/** OAuth 2.0 token for the current user. */
|
|
2200
2200
|
oauth_token?: string;
|
|
2201
|
-
/** A comma-separated list of fields by which to sort the result. Supports the same set of fields as in filter. Entries can be prefixed with a minus sign to sort in descending rather than ascending order.For more details, see sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). */
|
|
2201
|
+
/** Optional. A comma-separated list of fields by which to sort the result. Supports the same set of fields as in filter. Entries can be prefixed with a minus sign to sort in descending rather than ascending order.For more details, see sorting and filtering (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering). */
|
|
2202
2202
|
orderBy?: string;
|
|
2203
|
-
/** The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service. */
|
|
2203
|
+
/** Optional. The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service. */
|
|
2204
2204
|
pageSize?: number;
|
|
2205
|
-
/** If non-empty, page_token must contain a value returned as the next_page_token in a previous response to request the next set of results. */
|
|
2205
|
+
/** Optional. If non-empty, page_token must contain a value returned as the next_page_token in a previous response to request the next set of results. */
|
|
2206
2206
|
pageToken?: string;
|
|
2207
2207
|
/** Returns response with indentations and line breaks. */
|
|
2208
2208
|
prettyPrint?: boolean;
|
|
@@ -2235,7 +2235,7 @@ declare namespace gapi.client {
|
|
|
2235
2235
|
prettyPrint?: boolean;
|
|
2236
2236
|
/** 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. */
|
|
2237
2237
|
quotaUser?: string;
|
|
2238
|
-
/** The fields to update. */
|
|
2238
|
+
/** Optional. The fields to update. */
|
|
2239
2239
|
updateMask?: string;
|
|
2240
2240
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2241
2241
|
upload_protocol?: string;
|
|
@@ -2266,7 +2266,7 @@ declare namespace gapi.client {
|
|
|
2266
2266
|
prettyPrint?: boolean;
|
|
2267
2267
|
/** 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. */
|
|
2268
2268
|
quotaUser?: string;
|
|
2269
|
-
/** The fields to update. */
|
|
2269
|
+
/** Optional. The fields to update. */
|
|
2270
2270
|
updateMask?: string;
|
|
2271
2271
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2272
2272
|
upload_protocol?: string;
|