@maxim_mazurok/gapi.client.batch-v1 0.0.20250115 → 0.0.20250122
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 +67 -5
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
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://batch.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250122
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Batch API v1 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://batch.googleapis.com/$discovery/rest?version=v1'
|
|
19
|
+
urlOrObject: 'https://batch.googleapis.com/$discovery/rest?version=v1',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'batch', version: 'v1'): Promise<void>;
|
|
@@ -201,6 +201,10 @@ declare namespace gapi.client {
|
|
|
201
201
|
/** Barriers are identified by their index in runnable list. Names are not required, but if present should be an identifier. */
|
|
202
202
|
name?: string;
|
|
203
203
|
}
|
|
204
|
+
interface CancelJobRequest {
|
|
205
|
+
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
206
|
+
requestId?: string;
|
|
207
|
+
}
|
|
204
208
|
interface CancelOperationRequest {}
|
|
205
209
|
interface CloudLoggingOption {
|
|
206
210
|
/** Optional. Set this field to `true` to change the [monitored resource type](https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated by this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job) type to the formerly used [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task) type. */
|
|
@@ -673,6 +677,64 @@ declare namespace gapi.client {
|
|
|
673
677
|
tasks: TasksResource;
|
|
674
678
|
}
|
|
675
679
|
interface JobsResource {
|
|
680
|
+
/** Cancel a Job. */
|
|
681
|
+
cancel(request: {
|
|
682
|
+
/** V1 error format. */
|
|
683
|
+
'$.xgafv'?: string;
|
|
684
|
+
/** OAuth access token. */
|
|
685
|
+
access_token?: string;
|
|
686
|
+
/** Data format for response. */
|
|
687
|
+
alt?: string;
|
|
688
|
+
/** JSONP */
|
|
689
|
+
callback?: string;
|
|
690
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
691
|
+
fields?: string;
|
|
692
|
+
/** 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. */
|
|
693
|
+
key?: string;
|
|
694
|
+
/** Required. Job name. */
|
|
695
|
+
name: string;
|
|
696
|
+
/** OAuth 2.0 token for the current user. */
|
|
697
|
+
oauth_token?: string;
|
|
698
|
+
/** Returns response with indentations and line breaks. */
|
|
699
|
+
prettyPrint?: boolean;
|
|
700
|
+
/** 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. */
|
|
701
|
+
quotaUser?: string;
|
|
702
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
703
|
+
upload_protocol?: string;
|
|
704
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
705
|
+
uploadType?: string;
|
|
706
|
+
/** Request body */
|
|
707
|
+
resource: CancelJobRequest;
|
|
708
|
+
}): Request<Operation>;
|
|
709
|
+
cancel(
|
|
710
|
+
request: {
|
|
711
|
+
/** V1 error format. */
|
|
712
|
+
'$.xgafv'?: string;
|
|
713
|
+
/** OAuth access token. */
|
|
714
|
+
access_token?: string;
|
|
715
|
+
/** Data format for response. */
|
|
716
|
+
alt?: string;
|
|
717
|
+
/** JSONP */
|
|
718
|
+
callback?: string;
|
|
719
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
720
|
+
fields?: string;
|
|
721
|
+
/** 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. */
|
|
722
|
+
key?: string;
|
|
723
|
+
/** Required. Job name. */
|
|
724
|
+
name: string;
|
|
725
|
+
/** OAuth 2.0 token for the current user. */
|
|
726
|
+
oauth_token?: string;
|
|
727
|
+
/** Returns response with indentations and line breaks. */
|
|
728
|
+
prettyPrint?: boolean;
|
|
729
|
+
/** 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. */
|
|
730
|
+
quotaUser?: string;
|
|
731
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
732
|
+
upload_protocol?: string;
|
|
733
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
734
|
+
uploadType?: string;
|
|
735
|
+
},
|
|
736
|
+
body: CancelJobRequest,
|
|
737
|
+
): Request<Operation>;
|
|
676
738
|
/** Create a Job. */
|
|
677
739
|
create(request: {
|
|
678
740
|
/** V1 error format. */
|
|
@@ -737,7 +799,7 @@ declare namespace gapi.client {
|
|
|
737
799
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
738
800
|
uploadType?: string;
|
|
739
801
|
},
|
|
740
|
-
body: Job
|
|
802
|
+
body: Job,
|
|
741
803
|
): Request<Job>;
|
|
742
804
|
/** Delete a Job. */
|
|
743
805
|
delete(request?: {
|
|
@@ -891,7 +953,7 @@ declare namespace gapi.client {
|
|
|
891
953
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
892
954
|
uploadType?: string;
|
|
893
955
|
},
|
|
894
|
-
body: CancelOperationRequest
|
|
956
|
+
body: CancelOperationRequest,
|
|
895
957
|
): Request<{}>;
|
|
896
958
|
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
897
959
|
delete(request?: {
|
|
@@ -1038,7 +1100,7 @@ declare namespace gapi.client {
|
|
|
1038
1100
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1039
1101
|
uploadType?: string;
|
|
1040
1102
|
},
|
|
1041
|
-
body: ReportAgentStateRequest
|
|
1103
|
+
body: ReportAgentStateRequest,
|
|
1042
1104
|
): Request<ReportAgentStateResponse>;
|
|
1043
1105
|
}
|
|
1044
1106
|
interface LocationsResource {
|
package/package.json
CHANGED
package/readme.md
CHANGED