@maxim_mazurok/gapi.client.monitoring-v1 0.2.20261109 → 0.3.20261112

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.
Files changed (2) hide show
  1. package/index.d.ts +641 -654
  2. 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=v1
12
- // Revision: 20261109
12
+ // Revision: 20261112
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -908,157 +908,156 @@ declare namespace gapi.client {
908
908
  /** The properties applied to the y-axis. */
909
909
  yAxis?: Axis;
910
910
  }
911
- interface ProjectsResource {
912
- /** Adds a MonitoredProject with the given project ID to the specified Metrics Scope. */
913
- create(request: {
914
- /** V1 error format. */
915
- '$.xgafv'?: '1' | '2';
916
- /** OAuth access token. */
917
- access_token?: string;
918
- /** Data format for response. */
919
- alt?: 'json' | 'media' | 'proto';
920
- /** JSONP */
921
- callback?: string;
922
- /** Selector specifying which fields to include in a partial response. */
923
- fields?: string;
924
- /** 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. */
925
- key?: string;
926
- /** OAuth 2.0 token for the current user. */
927
- oauth_token?: string;
928
- /** Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
929
- parent: string;
930
- /** Returns response with indentations and line breaks. */
931
- prettyPrint?: boolean;
932
- /** 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. */
933
- quotaUser?: string;
934
- /** Upload protocol for media (e.g. "raw", "multipart"). */
935
- upload_protocol?: string;
936
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
937
- uploadType?: string;
938
- /** Request body */
939
- resource: MonitoredProject;
940
- }): Request<Operation>;
941
- create(
942
- request: {
943
- /** V1 error format. */
944
- '$.xgafv'?: '1' | '2';
945
- /** OAuth access token. */
946
- access_token?: string;
947
- /** Data format for response. */
948
- alt?: 'json' | 'media' | 'proto';
949
- /** JSONP */
950
- callback?: string;
951
- /** Selector specifying which fields to include in a partial response. */
952
- fields?: string;
953
- /** 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. */
954
- key?: string;
955
- /** OAuth 2.0 token for the current user. */
956
- oauth_token?: string;
957
- /** Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
958
- parent: string;
959
- /** Returns response with indentations and line breaks. */
960
- prettyPrint?: boolean;
961
- /** 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. */
962
- quotaUser?: string;
963
- /** Upload protocol for media (e.g. "raw", "multipart"). */
964
- upload_protocol?: string;
965
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
966
- uploadType?: string;
967
- },
968
- body: MonitoredProject,
969
- ): Request<Operation>;
970
- /** Deletes a MonitoredProject from the specified Metrics Scope. */
971
- delete(request?: {
972
- /** V1 error format. */
973
- '$.xgafv'?: '1' | '2';
974
- /** OAuth access token. */
975
- access_token?: string;
976
- /** Data format for response. */
977
- alt?: 'json' | 'media' | 'proto';
978
- /** JSONP */
979
- callback?: string;
980
- /** Selector specifying which fields to include in a partial response. */
981
- fields?: string;
982
- /** 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. */
983
- key?: string;
984
- /** Required. The resource name of the MonitoredProject. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}Authorization requires the following Google IAM (https://cloud.google.com/iam) permissions on both the Metrics Scope and on the MonitoredProject: monitoring.metricsScopes.link */
985
- name: string;
986
- /** OAuth 2.0 token for the current user. */
987
- oauth_token?: string;
988
- /** Returns response with indentations and line breaks. */
989
- prettyPrint?: boolean;
990
- /** 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. */
991
- quotaUser?: string;
992
- /** Upload protocol for media (e.g. "raw", "multipart"). */
993
- upload_protocol?: string;
994
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
995
- uploadType?: string;
996
- }): Request<Operation>;
997
- }
998
- interface MetricsScopesResource {
999
- /** Returns a specific Metrics Scope, including the list of projects monitored by the specified Metrics Scope. */
1000
- get(request?: {
1001
- /** V1 error format. */
1002
- '$.xgafv'?: '1' | '2';
1003
- /** OAuth access token. */
1004
- access_token?: string;
1005
- /** Data format for response. */
1006
- alt?: 'json' | 'media' | 'proto';
1007
- /** JSONP */
1008
- callback?: string;
1009
- /** Selector specifying which fields to include in a partial response. */
1010
- fields?: string;
1011
- /** 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. */
1012
- key?: string;
1013
- /** Required. The resource name of the Metrics Scope. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
1014
- name: string;
1015
- /** OAuth 2.0 token for the current user. */
1016
- oauth_token?: string;
1017
- /** Returns response with indentations and line breaks. */
1018
- prettyPrint?: boolean;
1019
- /** 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. */
1020
- quotaUser?: string;
1021
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1022
- upload_protocol?: string;
1023
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1024
- uploadType?: string;
1025
- }): Request<MetricsScope>;
1026
- /** Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response. */
1027
- listMetricsScopesByMonitoredProject(request?: {
1028
- /** V1 error format. */
1029
- '$.xgafv'?: '1' | '2';
1030
- /** OAuth access token. */
1031
- access_token?: string;
1032
- /** Data format for response. */
1033
- alt?: 'json' | 'media' | 'proto';
1034
- /** JSONP */
1035
- callback?: string;
1036
- /** Selector specifying which fields to include in a partial response. */
1037
- fields?: string;
1038
- /** 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. */
1039
- key?: string;
1040
- /** Required. The resource name of the Monitored Project being requested. Example: projects/{MONITORED_PROJECT_ID_OR_NUMBER} */
1041
- monitoredResourceContainer?: string;
1042
- /** OAuth 2.0 token for the current user. */
1043
- oauth_token?: string;
1044
- /** Returns response with indentations and line breaks. */
1045
- prettyPrint?: boolean;
1046
- /** 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. */
1047
- quotaUser?: string;
1048
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1049
- upload_protocol?: string;
1050
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1051
- uploadType?: string;
1052
- }): Request<ListMetricsScopesByMonitoredProjectResponse>;
1053
- projects: ProjectsResource;
1054
- }
1055
- interface GlobalResource {
1056
- metricsScopes: MetricsScopesResource;
1057
- }
1058
- interface LocationsResource {
1059
- global: GlobalResource;
1060
- }
1061
- interface OperationsResource {
911
+
912
+ const locations: {
913
+ global: {
914
+ metricsScopes: {
915
+ /** Returns a specific Metrics Scope, including the list of projects monitored by the specified Metrics Scope. */
916
+ get(request?: {
917
+ /** V1 error format. */
918
+ '$.xgafv'?: '1' | '2';
919
+ /** OAuth access token. */
920
+ access_token?: string;
921
+ /** Data format for response. */
922
+ alt?: 'json' | 'media' | 'proto';
923
+ /** JSONP */
924
+ callback?: string;
925
+ /** Selector specifying which fields to include in a partial response. */
926
+ fields?: string;
927
+ /** 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. */
928
+ key?: string;
929
+ /** Required. The resource name of the Metrics Scope. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
930
+ name: string;
931
+ /** OAuth 2.0 token for the current user. */
932
+ oauth_token?: string;
933
+ /** Returns response with indentations and line breaks. */
934
+ prettyPrint?: boolean;
935
+ /** 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. */
936
+ quotaUser?: string;
937
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
938
+ upload_protocol?: string;
939
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
940
+ uploadType?: string;
941
+ }): Request<MetricsScope>;
942
+ /** Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response. */
943
+ listMetricsScopesByMonitoredProject(request?: {
944
+ /** V1 error format. */
945
+ '$.xgafv'?: '1' | '2';
946
+ /** OAuth access token. */
947
+ access_token?: string;
948
+ /** Data format for response. */
949
+ alt?: 'json' | 'media' | 'proto';
950
+ /** JSONP */
951
+ callback?: string;
952
+ /** Selector specifying which fields to include in a partial response. */
953
+ fields?: string;
954
+ /** 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. */
955
+ key?: string;
956
+ /** Required. The resource name of the Monitored Project being requested. Example: projects/{MONITORED_PROJECT_ID_OR_NUMBER} */
957
+ monitoredResourceContainer?: string;
958
+ /** OAuth 2.0 token for the current user. */
959
+ oauth_token?: string;
960
+ /** Returns response with indentations and line breaks. */
961
+ prettyPrint?: boolean;
962
+ /** 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. */
963
+ quotaUser?: string;
964
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
965
+ upload_protocol?: string;
966
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
967
+ uploadType?: string;
968
+ }): Request<ListMetricsScopesByMonitoredProjectResponse>;
969
+ projects: {
970
+ /** Adds a MonitoredProject with the given project ID to the specified Metrics Scope. */
971
+ create(request: {
972
+ /** V1 error format. */
973
+ '$.xgafv'?: '1' | '2';
974
+ /** OAuth access token. */
975
+ access_token?: string;
976
+ /** Data format for response. */
977
+ alt?: 'json' | 'media' | 'proto';
978
+ /** JSONP */
979
+ callback?: string;
980
+ /** Selector specifying which fields to include in a partial response. */
981
+ fields?: string;
982
+ /** 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. */
983
+ key?: string;
984
+ /** OAuth 2.0 token for the current user. */
985
+ oauth_token?: string;
986
+ /** Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
987
+ parent: string;
988
+ /** Returns response with indentations and line breaks. */
989
+ prettyPrint?: boolean;
990
+ /** 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. */
991
+ quotaUser?: string;
992
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
993
+ upload_protocol?: string;
994
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
995
+ uploadType?: string;
996
+ /** Request body */
997
+ resource: MonitoredProject;
998
+ }): Request<Operation>;
999
+ create(
1000
+ request: {
1001
+ /** V1 error format. */
1002
+ '$.xgafv'?: '1' | '2';
1003
+ /** OAuth access token. */
1004
+ access_token?: string;
1005
+ /** Data format for response. */
1006
+ alt?: 'json' | 'media' | 'proto';
1007
+ /** JSONP */
1008
+ callback?: string;
1009
+ /** Selector specifying which fields to include in a partial response. */
1010
+ fields?: string;
1011
+ /** 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. */
1012
+ key?: string;
1013
+ /** OAuth 2.0 token for the current user. */
1014
+ oauth_token?: string;
1015
+ /** Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER} */
1016
+ parent: string;
1017
+ /** Returns response with indentations and line breaks. */
1018
+ prettyPrint?: boolean;
1019
+ /** 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. */
1020
+ quotaUser?: string;
1021
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1022
+ upload_protocol?: string;
1023
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1024
+ uploadType?: string;
1025
+ },
1026
+ body: MonitoredProject,
1027
+ ): Request<Operation>;
1028
+ /** Deletes a MonitoredProject from the specified Metrics Scope. */
1029
+ delete(request?: {
1030
+ /** V1 error format. */
1031
+ '$.xgafv'?: '1' | '2';
1032
+ /** OAuth access token. */
1033
+ access_token?: string;
1034
+ /** Data format for response. */
1035
+ alt?: 'json' | 'media' | 'proto';
1036
+ /** JSONP */
1037
+ callback?: string;
1038
+ /** Selector specifying which fields to include in a partial response. */
1039
+ fields?: string;
1040
+ /** 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. */
1041
+ key?: string;
1042
+ /** Required. The resource name of the MonitoredProject. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}Authorization requires the following Google IAM (https://cloud.google.com/iam) permissions on both the Metrics Scope and on the MonitoredProject: monitoring.metricsScopes.link */
1043
+ name: string;
1044
+ /** OAuth 2.0 token for the current user. */
1045
+ oauth_token?: string;
1046
+ /** Returns response with indentations and line breaks. */
1047
+ prettyPrint?: boolean;
1048
+ /** 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. */
1049
+ quotaUser?: string;
1050
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1051
+ upload_protocol?: string;
1052
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1053
+ uploadType?: string;
1054
+ }): Request<Operation>;
1055
+ };
1056
+ };
1057
+ };
1058
+ };
1059
+
1060
+ const operations: {
1062
1061
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1063
1062
  get(request?: {
1064
1063
  /** V1 error format. */
@@ -1086,41 +1085,12 @@ declare namespace gapi.client {
1086
1085
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1087
1086
  uploadType?: string;
1088
1087
  }): Request<Operation>;
1089
- }
1090
- interface DashboardsResource {
1091
- /** Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see Managing dashboards by API (https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the monitoring.dashboards.create permission on the specified project. For more information about permissions, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1092
- create(request: {
1093
- /** V1 error format. */
1094
- '$.xgafv'?: '1' | '2';
1095
- /** OAuth access token. */
1096
- access_token?: string;
1097
- /** Data format for response. */
1098
- alt?: 'json' | 'media' | 'proto';
1099
- /** JSONP */
1100
- callback?: string;
1101
- /** Selector specifying which fields to include in a partial response. */
1102
- fields?: string;
1103
- /** 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. */
1104
- key?: string;
1105
- /** OAuth 2.0 token for the current user. */
1106
- oauth_token?: string;
1107
- /** Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name. */
1108
- parent: string;
1109
- /** Returns response with indentations and line breaks. */
1110
- prettyPrint?: boolean;
1111
- /** 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. */
1112
- quotaUser?: string;
1113
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1114
- upload_protocol?: string;
1115
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1116
- uploadType?: string;
1117
- /** If set, validate the request and preview the review, but do not actually save it. */
1118
- validateOnly?: boolean;
1119
- /** Request body */
1120
- resource: Dashboard;
1121
- }): Request<Dashboard>;
1122
- create(
1123
- request: {
1088
+ };
1089
+
1090
+ const projects: {
1091
+ dashboards: {
1092
+ /** Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see Managing dashboards by API (https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the monitoring.dashboards.create permission on the specified project. For more information about permissions, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1093
+ create(request: {
1124
1094
  /** V1 error format. */
1125
1095
  '$.xgafv'?: '1' | '2';
1126
1096
  /** OAuth access token. */
@@ -1147,327 +1117,42 @@ declare namespace gapi.client {
1147
1117
  uploadType?: string;
1148
1118
  /** If set, validate the request and preview the review, but do not actually save it. */
1149
1119
  validateOnly?: boolean;
1150
- },
1151
- body: Dashboard,
1152
- ): Request<Dashboard>;
1153
- /** Deletes an existing custom dashboard.This method requires the monitoring.dashboards.delete permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1154
- delete(request?: {
1155
- /** V1 error format. */
1156
- '$.xgafv'?: '1' | '2';
1157
- /** OAuth access token. */
1158
- access_token?: string;
1159
- /** Data format for response. */
1160
- alt?: 'json' | 'media' | 'proto';
1161
- /** JSONP */
1162
- callback?: string;
1163
- /** Selector specifying which fields to include in a partial response. */
1164
- fields?: string;
1165
- /** 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. */
1166
- key?: string;
1167
- /** Required. The resource name of the Dashboard. The format is: projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] */
1168
- name: string;
1169
- /** OAuth 2.0 token for the current user. */
1170
- oauth_token?: string;
1171
- /** Returns response with indentations and line breaks. */
1172
- prettyPrint?: boolean;
1173
- /** 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. */
1174
- quotaUser?: string;
1175
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1176
- upload_protocol?: string;
1177
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1178
- uploadType?: string;
1179
- }): Request<{}>;
1180
- /** Fetches a specific dashboard.This method requires the monitoring.dashboards.get permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1181
- get(request?: {
1182
- /** V1 error format. */
1183
- '$.xgafv'?: '1' | '2';
1184
- /** OAuth access token. */
1185
- access_token?: string;
1186
- /** Data format for response. */
1187
- alt?: 'json' | 'media' | 'proto';
1188
- /** JSONP */
1189
- callback?: string;
1190
- /** Selector specifying which fields to include in a partial response. */
1191
- fields?: string;
1192
- /** 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. */
1193
- key?: string;
1194
- /** Required. The resource name of the Dashboard. The format is one of: dashboards/[DASHBOARD_ID] (for system dashboards) projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom dashboards). */
1195
- name: string;
1196
- /** OAuth 2.0 token for the current user. */
1197
- oauth_token?: string;
1198
- /** Returns response with indentations and line breaks. */
1199
- prettyPrint?: boolean;
1200
- /** 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. */
1201
- quotaUser?: string;
1202
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1203
- upload_protocol?: string;
1204
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1205
- uploadType?: string;
1206
- }): Request<Dashboard>;
1207
- /** Lists the existing dashboards.This method requires the monitoring.dashboards.list permission on the specified project. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1208
- list(request?: {
1209
- /** V1 error format. */
1210
- '$.xgafv'?: '1' | '2';
1211
- /** OAuth access token. */
1212
- access_token?: string;
1213
- /** Data format for response. */
1214
- alt?: 'json' | 'media' | 'proto';
1215
- /** JSONP */
1216
- callback?: string;
1217
- /** Selector specifying which fields to include in a partial response. */
1218
- fields?: string;
1219
- /** 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. */
1220
- key?: string;
1221
- /** OAuth 2.0 token for the current user. */
1222
- oauth_token?: string;
1223
- /** A positive number that is the maximum number of results to return. If unspecified, a default of 1000 is used. */
1224
- pageSize?: number;
1225
- /** 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 additional results from the previous method call. */
1226
- pageToken?: string;
1227
- /** Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER] */
1228
- parent: string;
1229
- /** Returns response with indentations and line breaks. */
1230
- prettyPrint?: boolean;
1231
- /** 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. */
1232
- quotaUser?: string;
1233
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1234
- upload_protocol?: string;
1235
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1236
- uploadType?: string;
1237
- }): Request<ListDashboardsResponse>;
1238
- /** Replaces an existing custom dashboard with a new definition.This method requires the monitoring.dashboards.update permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1239
- patch(request: {
1240
- /** V1 error format. */
1241
- '$.xgafv'?: '1' | '2';
1242
- /** OAuth access token. */
1243
- access_token?: string;
1244
- /** Data format for response. */
1245
- alt?: 'json' | 'media' | 'proto';
1246
- /** JSONP */
1247
- callback?: string;
1248
- /** Selector specifying which fields to include in a partial response. */
1249
- fields?: string;
1250
- /** 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. */
1251
- key?: string;
1252
- /** Identifier. The resource name of the dashboard. */
1253
- name: string;
1254
- /** OAuth 2.0 token for the current user. */
1255
- oauth_token?: string;
1256
- /** Returns response with indentations and line breaks. */
1257
- prettyPrint?: boolean;
1258
- /** 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. */
1259
- quotaUser?: string;
1260
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1261
- upload_protocol?: string;
1262
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1263
- uploadType?: string;
1264
- /** If set, validate the request and preview the review, but do not actually save it. */
1265
- validateOnly?: boolean;
1266
- /** Request body */
1267
- resource: Dashboard;
1268
- }): Request<Dashboard>;
1269
- patch(
1270
- request: {
1271
- /** V1 error format. */
1272
- '$.xgafv'?: '1' | '2';
1273
- /** OAuth access token. */
1274
- access_token?: string;
1275
- /** Data format for response. */
1276
- alt?: 'json' | 'media' | 'proto';
1277
- /** JSONP */
1278
- callback?: string;
1279
- /** Selector specifying which fields to include in a partial response. */
1280
- fields?: string;
1281
- /** 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. */
1282
- key?: string;
1283
- /** Identifier. The resource name of the dashboard. */
1284
- name: string;
1285
- /** OAuth 2.0 token for the current user. */
1286
- oauth_token?: string;
1287
- /** Returns response with indentations and line breaks. */
1288
- prettyPrint?: boolean;
1289
- /** 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. */
1290
- quotaUser?: string;
1291
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1292
- upload_protocol?: string;
1293
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1294
- uploadType?: string;
1295
- /** If set, validate the request and preview the review, but do not actually save it. */
1296
- validateOnly?: boolean;
1297
- },
1298
- body: Dashboard,
1299
- ): Request<Dashboard>;
1300
- }
1301
- interface LabelResource {
1302
- /** Lists possible values for a given label name. */
1303
- values(request?: {
1304
- /** V1 error format. */
1305
- '$.xgafv'?: '1' | '2';
1306
- /** OAuth access token. */
1307
- access_token?: string;
1308
- /** Data format for response. */
1309
- alt?: 'json' | 'media' | 'proto';
1310
- /** JSONP */
1311
- callback?: string;
1312
- /** The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
1313
- end?: string;
1314
- /** Selector specifying which fields to include in a partial response. */
1315
- fields?: string;
1316
- /** 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. */
1317
- key?: string;
1318
- /** The label name for which values are queried. */
1319
- label: string;
1320
- /** Location of the resource information. Has to be "global" now. */
1321
- location: string;
1322
- /** A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them. */
1323
- match?: string;
1324
- /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1325
- name: string;
1326
- /** OAuth 2.0 token for the current user. */
1327
- oauth_token?: string;
1328
- /** Returns response with indentations and line breaks. */
1329
- prettyPrint?: boolean;
1330
- /** 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. */
1331
- quotaUser?: string;
1332
- /** The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
1333
- start?: string;
1334
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1335
- upload_protocol?: string;
1336
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1337
- uploadType?: string;
1338
- }): Request<HttpBody>;
1339
- }
1340
- interface MetadataResource {
1341
- /** Lists metadata for metrics. */
1342
- list(request?: {
1343
- /** V1 error format. */
1344
- '$.xgafv'?: '1' | '2';
1345
- /** OAuth access token. */
1346
- access_token?: string;
1347
- /** Data format for response. */
1348
- alt?: 'json' | 'media' | 'proto';
1349
- /** JSONP */
1350
- callback?: string;
1351
- /** Selector specifying which fields to include in a partial response. */
1352
- fields?: string;
1353
- /** 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. */
1354
- key?: string;
1355
- /** Maximum number of metrics to return. */
1356
- limit?: string;
1357
- /** Location of the resource information. Has to be "global" for now. */
1358
- location: string;
1359
- /** The metric name for which to query metadata. If unset, all metric metadata is returned. */
1360
- metric?: string;
1361
- /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1362
- name: string;
1363
- /** OAuth 2.0 token for the current user. */
1364
- oauth_token?: string;
1365
- /** Returns response with indentations and line breaks. */
1366
- prettyPrint?: boolean;
1367
- /** 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. */
1368
- quotaUser?: string;
1369
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1370
- upload_protocol?: string;
1371
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1372
- uploadType?: string;
1373
- }): Request<HttpBody>;
1374
- }
1375
- interface V1Resource {
1376
- /** Lists labels for metrics. */
1377
- labels(request: {
1378
- /** V1 error format. */
1379
- '$.xgafv'?: '1' | '2';
1380
- /** OAuth access token. */
1381
- access_token?: string;
1382
- /** Data format for response. */
1383
- alt?: 'json' | 'media' | 'proto';
1384
- /** JSONP */
1385
- callback?: string;
1386
- /** Selector specifying which fields to include in a partial response. */
1387
- fields?: string;
1388
- /** 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. */
1389
- key?: string;
1390
- /** Location of the resource information. Has to be "global" now. */
1391
- location: string;
1392
- /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1393
- name: string;
1394
- /** OAuth 2.0 token for the current user. */
1395
- oauth_token?: string;
1396
- /** Returns response with indentations and line breaks. */
1397
- prettyPrint?: boolean;
1398
- /** 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. */
1399
- quotaUser?: string;
1400
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1401
- upload_protocol?: string;
1402
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1403
- uploadType?: string;
1404
- /** Request body */
1405
- resource: QueryLabelsRequest;
1406
- }): Request<HttpBody>;
1407
- labels(
1408
- request: {
1409
- /** V1 error format. */
1410
- '$.xgafv'?: '1' | '2';
1411
- /** OAuth access token. */
1412
- access_token?: string;
1413
- /** Data format for response. */
1414
- alt?: 'json' | 'media' | 'proto';
1415
- /** JSONP */
1416
- callback?: string;
1417
- /** Selector specifying which fields to include in a partial response. */
1418
- fields?: string;
1419
- /** 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. */
1420
- key?: string;
1421
- /** Location of the resource information. Has to be "global" now. */
1422
- location: string;
1423
- /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1424
- name: string;
1425
- /** OAuth 2.0 token for the current user. */
1426
- oauth_token?: string;
1427
- /** Returns response with indentations and line breaks. */
1428
- prettyPrint?: boolean;
1429
- /** 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. */
1430
- quotaUser?: string;
1431
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1432
- upload_protocol?: string;
1433
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1434
- uploadType?: string;
1435
- },
1436
- body: QueryLabelsRequest,
1437
- ): Request<HttpBody>;
1438
- /** Evaluate a PromQL query at a single point in time. */
1439
- query(request: {
1440
- /** V1 error format. */
1441
- '$.xgafv'?: '1' | '2';
1442
- /** OAuth access token. */
1443
- access_token?: string;
1444
- /** Data format for response. */
1445
- alt?: 'json' | 'media' | 'proto';
1446
- /** JSONP */
1447
- callback?: string;
1448
- /** Selector specifying which fields to include in a partial response. */
1449
- fields?: string;
1450
- /** 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. */
1451
- key?: string;
1452
- /** Location of the resource information. Has to be "global" now. */
1453
- location: string;
1454
- /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1455
- name: string;
1456
- /** OAuth 2.0 token for the current user. */
1457
- oauth_token?: string;
1458
- /** Returns response with indentations and line breaks. */
1459
- prettyPrint?: boolean;
1460
- /** 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. */
1461
- quotaUser?: string;
1462
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1463
- upload_protocol?: string;
1464
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1465
- uploadType?: string;
1466
- /** Request body */
1467
- resource: QueryInstantRequest;
1468
- }): Request<HttpBody>;
1469
- query(
1470
- request: {
1120
+ /** Request body */
1121
+ resource: Dashboard;
1122
+ }): Request<Dashboard>;
1123
+ create(
1124
+ request: {
1125
+ /** V1 error format. */
1126
+ '$.xgafv'?: '1' | '2';
1127
+ /** OAuth access token. */
1128
+ access_token?: string;
1129
+ /** Data format for response. */
1130
+ alt?: 'json' | 'media' | 'proto';
1131
+ /** JSONP */
1132
+ callback?: string;
1133
+ /** Selector specifying which fields to include in a partial response. */
1134
+ fields?: string;
1135
+ /** 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. */
1136
+ key?: string;
1137
+ /** OAuth 2.0 token for the current user. */
1138
+ oauth_token?: string;
1139
+ /** Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name. */
1140
+ parent: string;
1141
+ /** Returns response with indentations and line breaks. */
1142
+ prettyPrint?: boolean;
1143
+ /** 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. */
1144
+ quotaUser?: string;
1145
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1146
+ upload_protocol?: string;
1147
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1148
+ uploadType?: string;
1149
+ /** If set, validate the request and preview the review, but do not actually save it. */
1150
+ validateOnly?: boolean;
1151
+ },
1152
+ body: Dashboard,
1153
+ ): Request<Dashboard>;
1154
+ /** Deletes an existing custom dashboard.This method requires the monitoring.dashboards.delete permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1155
+ delete(request?: {
1471
1156
  /** V1 error format. */
1472
1157
  '$.xgafv'?: '1' | '2';
1473
1158
  /** OAuth access token. */
@@ -1480,9 +1165,7 @@ declare namespace gapi.client {
1480
1165
  fields?: string;
1481
1166
  /** 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. */
1482
1167
  key?: string;
1483
- /** Location of the resource information. Has to be "global" now. */
1484
- location: string;
1485
- /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1168
+ /** Required. The resource name of the Dashboard. The format is: projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] */
1486
1169
  name: string;
1487
1170
  /** OAuth 2.0 token for the current user. */
1488
1171
  oauth_token?: string;
@@ -1494,42 +1177,9 @@ declare namespace gapi.client {
1494
1177
  upload_protocol?: string;
1495
1178
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1496
1179
  uploadType?: string;
1497
- },
1498
- body: QueryInstantRequest,
1499
- ): Request<HttpBody>;
1500
- /** Lists exemplars relevant to a given PromQL query, */
1501
- query_exemplars(request: {
1502
- /** V1 error format. */
1503
- '$.xgafv'?: '1' | '2';
1504
- /** OAuth access token. */
1505
- access_token?: string;
1506
- /** Data format for response. */
1507
- alt?: 'json' | 'media' | 'proto';
1508
- /** JSONP */
1509
- callback?: string;
1510
- /** Selector specifying which fields to include in a partial response. */
1511
- fields?: string;
1512
- /** 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. */
1513
- key?: string;
1514
- /** Location of the resource information. Has to be "global" now. */
1515
- location: string;
1516
- /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1517
- name: string;
1518
- /** OAuth 2.0 token for the current user. */
1519
- oauth_token?: string;
1520
- /** Returns response with indentations and line breaks. */
1521
- prettyPrint?: boolean;
1522
- /** 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. */
1523
- quotaUser?: string;
1524
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1525
- upload_protocol?: string;
1526
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1527
- uploadType?: string;
1528
- /** Request body */
1529
- resource: QueryExemplarsRequest;
1530
- }): Request<HttpBody>;
1531
- query_exemplars(
1532
- request: {
1180
+ }): Request<{}>;
1181
+ /** Fetches a specific dashboard.This method requires the monitoring.dashboards.get permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1182
+ get(request?: {
1533
1183
  /** V1 error format. */
1534
1184
  '$.xgafv'?: '1' | '2';
1535
1185
  /** OAuth access token. */
@@ -1542,9 +1192,7 @@ declare namespace gapi.client {
1542
1192
  fields?: string;
1543
1193
  /** 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. */
1544
1194
  key?: string;
1545
- /** Location of the resource information. Has to be "global" now. */
1546
- location: string;
1547
- /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1195
+ /** Required. The resource name of the Dashboard. The format is one of: dashboards/[DASHBOARD_ID] (for system dashboards) projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom dashboards). */
1548
1196
  name: string;
1549
1197
  /** OAuth 2.0 token for the current user. */
1550
1198
  oauth_token?: string;
@@ -1556,42 +1204,9 @@ declare namespace gapi.client {
1556
1204
  upload_protocol?: string;
1557
1205
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1558
1206
  uploadType?: string;
1559
- },
1560
- body: QueryExemplarsRequest,
1561
- ): Request<HttpBody>;
1562
- /** Evaluate a PromQL query with start, end time range. */
1563
- query_range(request: {
1564
- /** V1 error format. */
1565
- '$.xgafv'?: '1' | '2';
1566
- /** OAuth access token. */
1567
- access_token?: string;
1568
- /** Data format for response. */
1569
- alt?: 'json' | 'media' | 'proto';
1570
- /** JSONP */
1571
- callback?: string;
1572
- /** Selector specifying which fields to include in a partial response. */
1573
- fields?: string;
1574
- /** 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. */
1575
- key?: string;
1576
- /** Location of the resource information. Has to be "global" now. */
1577
- location: string;
1578
- /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1579
- name: string;
1580
- /** OAuth 2.0 token for the current user. */
1581
- oauth_token?: string;
1582
- /** Returns response with indentations and line breaks. */
1583
- prettyPrint?: boolean;
1584
- /** 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. */
1585
- quotaUser?: string;
1586
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1587
- upload_protocol?: string;
1588
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1589
- uploadType?: string;
1590
- /** Request body */
1591
- resource: QueryRangeRequest;
1592
- }): Request<HttpBody>;
1593
- query_range(
1594
- request: {
1207
+ }): Request<Dashboard>;
1208
+ /** Lists the existing dashboards.This method requires the monitoring.dashboards.list permission on the specified project. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1209
+ list(request?: {
1595
1210
  /** V1 error format. */
1596
1211
  '$.xgafv'?: '1' | '2';
1597
1212
  /** OAuth access token. */
@@ -1604,12 +1219,14 @@ declare namespace gapi.client {
1604
1219
  fields?: string;
1605
1220
  /** 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. */
1606
1221
  key?: string;
1607
- /** Location of the resource information. Has to be "global" now. */
1608
- location: string;
1609
- /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1610
- name: string;
1611
1222
  /** OAuth 2.0 token for the current user. */
1612
1223
  oauth_token?: string;
1224
+ /** A positive number that is the maximum number of results to return. If unspecified, a default of 1000 is used. */
1225
+ pageSize?: number;
1226
+ /** 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 additional results from the previous method call. */
1227
+ pageToken?: string;
1228
+ /** Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER] */
1229
+ parent: string;
1613
1230
  /** Returns response with indentations and line breaks. */
1614
1231
  prettyPrint?: boolean;
1615
1232
  /** 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. */
@@ -1618,42 +1235,9 @@ declare namespace gapi.client {
1618
1235
  upload_protocol?: string;
1619
1236
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1620
1237
  uploadType?: string;
1621
- },
1622
- body: QueryRangeRequest,
1623
- ): Request<HttpBody>;
1624
- /** Lists metadata for metrics. */
1625
- series(request: {
1626
- /** V1 error format. */
1627
- '$.xgafv'?: '1' | '2';
1628
- /** OAuth access token. */
1629
- access_token?: string;
1630
- /** Data format for response. */
1631
- alt?: 'json' | 'media' | 'proto';
1632
- /** JSONP */
1633
- callback?: string;
1634
- /** Selector specifying which fields to include in a partial response. */
1635
- fields?: string;
1636
- /** 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. */
1637
- key?: string;
1638
- /** Location of the resource information. Has to be "global" for now. */
1639
- location: string;
1640
- /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1641
- name: string;
1642
- /** OAuth 2.0 token for the current user. */
1643
- oauth_token?: string;
1644
- /** Returns response with indentations and line breaks. */
1645
- prettyPrint?: boolean;
1646
- /** 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. */
1647
- quotaUser?: string;
1648
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1649
- upload_protocol?: string;
1650
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1651
- uploadType?: string;
1652
- /** Request body */
1653
- resource: QuerySeriesRequest;
1654
- }): Request<HttpBody>;
1655
- series(
1656
- request: {
1238
+ }): Request<ListDashboardsResponse>;
1239
+ /** Replaces an existing custom dashboard with a new definition.This method requires the monitoring.dashboards.update permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam). */
1240
+ patch(request: {
1657
1241
  /** V1 error format. */
1658
1242
  '$.xgafv'?: '1' | '2';
1659
1243
  /** OAuth access token. */
@@ -1666,9 +1250,7 @@ declare namespace gapi.client {
1666
1250
  fields?: string;
1667
1251
  /** 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. */
1668
1252
  key?: string;
1669
- /** Location of the resource information. Has to be "global" for now. */
1670
- location: string;
1671
- /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1253
+ /** Identifier. The resource name of the dashboard. */
1672
1254
  name: string;
1673
1255
  /** OAuth 2.0 token for the current user. */
1674
1256
  oauth_token?: string;
@@ -1680,30 +1262,435 @@ declare namespace gapi.client {
1680
1262
  upload_protocol?: string;
1681
1263
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1682
1264
  uploadType?: string;
1683
- },
1684
- body: QuerySeriesRequest,
1685
- ): Request<HttpBody>;
1686
- label: LabelResource;
1687
- metadata: MetadataResource;
1688
- }
1689
- interface ApiResource {
1690
- v1: V1Resource;
1691
- }
1692
- interface PrometheusResource {
1693
- api: ApiResource;
1694
- }
1695
- interface LocationResource {
1696
- prometheus: PrometheusResource;
1697
- }
1698
- interface ProjectsResource {
1699
- dashboards: DashboardsResource;
1700
- location: LocationResource;
1701
- }
1702
-
1703
- const locations: LocationsResource;
1704
-
1705
- const operations: OperationsResource;
1706
-
1707
- const projects: ProjectsResource;
1265
+ /** If set, validate the request and preview the review, but do not actually save it. */
1266
+ validateOnly?: boolean;
1267
+ /** Request body */
1268
+ resource: Dashboard;
1269
+ }): Request<Dashboard>;
1270
+ patch(
1271
+ request: {
1272
+ /** V1 error format. */
1273
+ '$.xgafv'?: '1' | '2';
1274
+ /** OAuth access token. */
1275
+ access_token?: string;
1276
+ /** Data format for response. */
1277
+ alt?: 'json' | 'media' | 'proto';
1278
+ /** JSONP */
1279
+ callback?: string;
1280
+ /** Selector specifying which fields to include in a partial response. */
1281
+ fields?: string;
1282
+ /** 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. */
1283
+ key?: string;
1284
+ /** Identifier. The resource name of the dashboard. */
1285
+ name: string;
1286
+ /** OAuth 2.0 token for the current user. */
1287
+ oauth_token?: string;
1288
+ /** Returns response with indentations and line breaks. */
1289
+ prettyPrint?: boolean;
1290
+ /** 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. */
1291
+ quotaUser?: string;
1292
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1293
+ upload_protocol?: string;
1294
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1295
+ uploadType?: string;
1296
+ /** If set, validate the request and preview the review, but do not actually save it. */
1297
+ validateOnly?: boolean;
1298
+ },
1299
+ body: Dashboard,
1300
+ ): Request<Dashboard>;
1301
+ };
1302
+ location: {
1303
+ prometheus: {
1304
+ api: {
1305
+ v1: {
1306
+ /** Lists labels for metrics. */
1307
+ labels(request: {
1308
+ /** V1 error format. */
1309
+ '$.xgafv'?: '1' | '2';
1310
+ /** OAuth access token. */
1311
+ access_token?: string;
1312
+ /** Data format for response. */
1313
+ alt?: 'json' | 'media' | 'proto';
1314
+ /** JSONP */
1315
+ callback?: string;
1316
+ /** Selector specifying which fields to include in a partial response. */
1317
+ fields?: string;
1318
+ /** 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. */
1319
+ key?: string;
1320
+ /** Location of the resource information. Has to be "global" now. */
1321
+ location: string;
1322
+ /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1323
+ name: string;
1324
+ /** OAuth 2.0 token for the current user. */
1325
+ oauth_token?: string;
1326
+ /** Returns response with indentations and line breaks. */
1327
+ prettyPrint?: boolean;
1328
+ /** 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. */
1329
+ quotaUser?: string;
1330
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1331
+ upload_protocol?: string;
1332
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1333
+ uploadType?: string;
1334
+ /** Request body */
1335
+ resource: QueryLabelsRequest;
1336
+ }): Request<HttpBody>;
1337
+ labels(
1338
+ request: {
1339
+ /** V1 error format. */
1340
+ '$.xgafv'?: '1' | '2';
1341
+ /** OAuth access token. */
1342
+ access_token?: string;
1343
+ /** Data format for response. */
1344
+ alt?: 'json' | 'media' | 'proto';
1345
+ /** JSONP */
1346
+ callback?: string;
1347
+ /** Selector specifying which fields to include in a partial response. */
1348
+ fields?: string;
1349
+ /** 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. */
1350
+ key?: string;
1351
+ /** Location of the resource information. Has to be "global" now. */
1352
+ location: string;
1353
+ /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1354
+ name: string;
1355
+ /** OAuth 2.0 token for the current user. */
1356
+ oauth_token?: string;
1357
+ /** Returns response with indentations and line breaks. */
1358
+ prettyPrint?: boolean;
1359
+ /** 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. */
1360
+ quotaUser?: string;
1361
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1362
+ upload_protocol?: string;
1363
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1364
+ uploadType?: string;
1365
+ },
1366
+ body: QueryLabelsRequest,
1367
+ ): Request<HttpBody>;
1368
+ /** Evaluate a PromQL query at a single point in time. */
1369
+ query(request: {
1370
+ /** V1 error format. */
1371
+ '$.xgafv'?: '1' | '2';
1372
+ /** OAuth access token. */
1373
+ access_token?: string;
1374
+ /** Data format for response. */
1375
+ alt?: 'json' | 'media' | 'proto';
1376
+ /** JSONP */
1377
+ callback?: string;
1378
+ /** Selector specifying which fields to include in a partial response. */
1379
+ fields?: string;
1380
+ /** 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. */
1381
+ key?: string;
1382
+ /** Location of the resource information. Has to be "global" now. */
1383
+ location: string;
1384
+ /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1385
+ name: string;
1386
+ /** OAuth 2.0 token for the current user. */
1387
+ oauth_token?: string;
1388
+ /** Returns response with indentations and line breaks. */
1389
+ prettyPrint?: boolean;
1390
+ /** 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. */
1391
+ quotaUser?: string;
1392
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1393
+ upload_protocol?: string;
1394
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1395
+ uploadType?: string;
1396
+ /** Request body */
1397
+ resource: QueryInstantRequest;
1398
+ }): Request<HttpBody>;
1399
+ query(
1400
+ request: {
1401
+ /** V1 error format. */
1402
+ '$.xgafv'?: '1' | '2';
1403
+ /** OAuth access token. */
1404
+ access_token?: string;
1405
+ /** Data format for response. */
1406
+ alt?: 'json' | 'media' | 'proto';
1407
+ /** JSONP */
1408
+ callback?: string;
1409
+ /** Selector specifying which fields to include in a partial response. */
1410
+ fields?: string;
1411
+ /** 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. */
1412
+ key?: string;
1413
+ /** Location of the resource information. Has to be "global" now. */
1414
+ location: string;
1415
+ /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1416
+ name: string;
1417
+ /** OAuth 2.0 token for the current user. */
1418
+ oauth_token?: string;
1419
+ /** Returns response with indentations and line breaks. */
1420
+ prettyPrint?: boolean;
1421
+ /** 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. */
1422
+ quotaUser?: string;
1423
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1424
+ upload_protocol?: string;
1425
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1426
+ uploadType?: string;
1427
+ },
1428
+ body: QueryInstantRequest,
1429
+ ): Request<HttpBody>;
1430
+ /** Lists exemplars relevant to a given PromQL query, */
1431
+ query_exemplars(request: {
1432
+ /** V1 error format. */
1433
+ '$.xgafv'?: '1' | '2';
1434
+ /** OAuth access token. */
1435
+ access_token?: string;
1436
+ /** Data format for response. */
1437
+ alt?: 'json' | 'media' | 'proto';
1438
+ /** JSONP */
1439
+ callback?: string;
1440
+ /** Selector specifying which fields to include in a partial response. */
1441
+ fields?: string;
1442
+ /** 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. */
1443
+ key?: string;
1444
+ /** Location of the resource information. Has to be "global" now. */
1445
+ location: string;
1446
+ /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1447
+ name: string;
1448
+ /** OAuth 2.0 token for the current user. */
1449
+ oauth_token?: string;
1450
+ /** Returns response with indentations and line breaks. */
1451
+ prettyPrint?: boolean;
1452
+ /** 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. */
1453
+ quotaUser?: string;
1454
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1455
+ upload_protocol?: string;
1456
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1457
+ uploadType?: string;
1458
+ /** Request body */
1459
+ resource: QueryExemplarsRequest;
1460
+ }): Request<HttpBody>;
1461
+ query_exemplars(
1462
+ request: {
1463
+ /** V1 error format. */
1464
+ '$.xgafv'?: '1' | '2';
1465
+ /** OAuth access token. */
1466
+ access_token?: string;
1467
+ /** Data format for response. */
1468
+ alt?: 'json' | 'media' | 'proto';
1469
+ /** JSONP */
1470
+ callback?: string;
1471
+ /** Selector specifying which fields to include in a partial response. */
1472
+ fields?: string;
1473
+ /** 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. */
1474
+ key?: string;
1475
+ /** Location of the resource information. Has to be "global" now. */
1476
+ location: string;
1477
+ /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1478
+ name: string;
1479
+ /** OAuth 2.0 token for the current user. */
1480
+ oauth_token?: string;
1481
+ /** Returns response with indentations and line breaks. */
1482
+ prettyPrint?: boolean;
1483
+ /** 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. */
1484
+ quotaUser?: string;
1485
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1486
+ upload_protocol?: string;
1487
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1488
+ uploadType?: string;
1489
+ },
1490
+ body: QueryExemplarsRequest,
1491
+ ): Request<HttpBody>;
1492
+ /** Evaluate a PromQL query with start, end time range. */
1493
+ query_range(request: {
1494
+ /** V1 error format. */
1495
+ '$.xgafv'?: '1' | '2';
1496
+ /** OAuth access token. */
1497
+ access_token?: string;
1498
+ /** Data format for response. */
1499
+ alt?: 'json' | 'media' | 'proto';
1500
+ /** JSONP */
1501
+ callback?: string;
1502
+ /** Selector specifying which fields to include in a partial response. */
1503
+ fields?: string;
1504
+ /** 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. */
1505
+ key?: string;
1506
+ /** Location of the resource information. Has to be "global" now. */
1507
+ location: string;
1508
+ /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1509
+ name: string;
1510
+ /** OAuth 2.0 token for the current user. */
1511
+ oauth_token?: string;
1512
+ /** Returns response with indentations and line breaks. */
1513
+ prettyPrint?: boolean;
1514
+ /** 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. */
1515
+ quotaUser?: string;
1516
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1517
+ upload_protocol?: string;
1518
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1519
+ uploadType?: string;
1520
+ /** Request body */
1521
+ resource: QueryRangeRequest;
1522
+ }): Request<HttpBody>;
1523
+ query_range(
1524
+ request: {
1525
+ /** V1 error format. */
1526
+ '$.xgafv'?: '1' | '2';
1527
+ /** OAuth access token. */
1528
+ access_token?: string;
1529
+ /** Data format for response. */
1530
+ alt?: 'json' | 'media' | 'proto';
1531
+ /** JSONP */
1532
+ callback?: string;
1533
+ /** Selector specifying which fields to include in a partial response. */
1534
+ fields?: string;
1535
+ /** 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. */
1536
+ key?: string;
1537
+ /** Location of the resource information. Has to be "global" now. */
1538
+ location: string;
1539
+ /** Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. */
1540
+ name: string;
1541
+ /** OAuth 2.0 token for the current user. */
1542
+ oauth_token?: string;
1543
+ /** Returns response with indentations and line breaks. */
1544
+ prettyPrint?: boolean;
1545
+ /** 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. */
1546
+ quotaUser?: string;
1547
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1548
+ upload_protocol?: string;
1549
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1550
+ uploadType?: string;
1551
+ },
1552
+ body: QueryRangeRequest,
1553
+ ): Request<HttpBody>;
1554
+ /** Lists metadata for metrics. */
1555
+ series(request: {
1556
+ /** V1 error format. */
1557
+ '$.xgafv'?: '1' | '2';
1558
+ /** OAuth access token. */
1559
+ access_token?: string;
1560
+ /** Data format for response. */
1561
+ alt?: 'json' | 'media' | 'proto';
1562
+ /** JSONP */
1563
+ callback?: string;
1564
+ /** Selector specifying which fields to include in a partial response. */
1565
+ fields?: string;
1566
+ /** 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. */
1567
+ key?: string;
1568
+ /** Location of the resource information. Has to be "global" for now. */
1569
+ location: string;
1570
+ /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1571
+ name: string;
1572
+ /** OAuth 2.0 token for the current user. */
1573
+ oauth_token?: string;
1574
+ /** Returns response with indentations and line breaks. */
1575
+ prettyPrint?: boolean;
1576
+ /** 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. */
1577
+ quotaUser?: string;
1578
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1579
+ upload_protocol?: string;
1580
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1581
+ uploadType?: string;
1582
+ /** Request body */
1583
+ resource: QuerySeriesRequest;
1584
+ }): Request<HttpBody>;
1585
+ series(
1586
+ request: {
1587
+ /** V1 error format. */
1588
+ '$.xgafv'?: '1' | '2';
1589
+ /** OAuth access token. */
1590
+ access_token?: string;
1591
+ /** Data format for response. */
1592
+ alt?: 'json' | 'media' | 'proto';
1593
+ /** JSONP */
1594
+ callback?: string;
1595
+ /** Selector specifying which fields to include in a partial response. */
1596
+ fields?: string;
1597
+ /** 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. */
1598
+ key?: string;
1599
+ /** Location of the resource information. Has to be "global" for now. */
1600
+ location: string;
1601
+ /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1602
+ name: string;
1603
+ /** OAuth 2.0 token for the current user. */
1604
+ oauth_token?: string;
1605
+ /** Returns response with indentations and line breaks. */
1606
+ prettyPrint?: boolean;
1607
+ /** 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. */
1608
+ quotaUser?: string;
1609
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1610
+ upload_protocol?: string;
1611
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1612
+ uploadType?: string;
1613
+ },
1614
+ body: QuerySeriesRequest,
1615
+ ): Request<HttpBody>;
1616
+ label: {
1617
+ /** Lists possible values for a given label name. */
1618
+ values(request?: {
1619
+ /** V1 error format. */
1620
+ '$.xgafv'?: '1' | '2';
1621
+ /** OAuth access token. */
1622
+ access_token?: string;
1623
+ /** Data format for response. */
1624
+ alt?: 'json' | 'media' | 'proto';
1625
+ /** JSONP */
1626
+ callback?: string;
1627
+ /** The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
1628
+ end?: string;
1629
+ /** Selector specifying which fields to include in a partial response. */
1630
+ fields?: string;
1631
+ /** 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. */
1632
+ key?: string;
1633
+ /** The label name for which values are queried. */
1634
+ label: string;
1635
+ /** Location of the resource information. Has to be "global" now. */
1636
+ location: string;
1637
+ /** A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them. */
1638
+ match?: string;
1639
+ /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1640
+ name: string;
1641
+ /** OAuth 2.0 token for the current user. */
1642
+ oauth_token?: string;
1643
+ /** Returns response with indentations and line breaks. */
1644
+ prettyPrint?: boolean;
1645
+ /** 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. */
1646
+ quotaUser?: string;
1647
+ /** The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. */
1648
+ start?: string;
1649
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1650
+ upload_protocol?: string;
1651
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1652
+ uploadType?: string;
1653
+ }): Request<HttpBody>;
1654
+ };
1655
+ metadata: {
1656
+ /** Lists metadata for metrics. */
1657
+ list(request?: {
1658
+ /** V1 error format. */
1659
+ '$.xgafv'?: '1' | '2';
1660
+ /** OAuth access token. */
1661
+ access_token?: string;
1662
+ /** Data format for response. */
1663
+ alt?: 'json' | 'media' | 'proto';
1664
+ /** JSONP */
1665
+ callback?: string;
1666
+ /** Selector specifying which fields to include in a partial response. */
1667
+ fields?: string;
1668
+ /** 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. */
1669
+ key?: string;
1670
+ /** Maximum number of metrics to return. */
1671
+ limit?: string;
1672
+ /** Location of the resource information. Has to be "global" for now. */
1673
+ location: string;
1674
+ /** The metric name for which to query metadata. If unset, all metric metadata is returned. */
1675
+ metric?: string;
1676
+ /** Required. The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER. */
1677
+ name: string;
1678
+ /** OAuth 2.0 token for the current user. */
1679
+ oauth_token?: string;
1680
+ /** Returns response with indentations and line breaks. */
1681
+ prettyPrint?: boolean;
1682
+ /** 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. */
1683
+ quotaUser?: string;
1684
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1685
+ upload_protocol?: string;
1686
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1687
+ uploadType?: string;
1688
+ }): Request<HttpBody>;
1689
+ };
1690
+ };
1691
+ };
1692
+ };
1693
+ };
1694
+ };
1708
1695
  }
1709
1696
  }