@maxim_mazurok/gapi.client.developerconnect-v1 0.0.20241010 → 0.0.20241017
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 +197 -3
- 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://developerconnect.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241017
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -182,6 +182,14 @@ declare namespace gapi.client {
|
|
|
182
182
|
/** Output only. External ID of the webhook created for the repository. */
|
|
183
183
|
webhookId?: string;
|
|
184
184
|
}
|
|
185
|
+
interface HttpBody {
|
|
186
|
+
/** The HTTP Content-Type header value specifying the content type of the body. */
|
|
187
|
+
contentType?: string;
|
|
188
|
+
/** The HTTP request/response body as raw binary. */
|
|
189
|
+
data?: string;
|
|
190
|
+
/** Application specific response metadata. Must be set in the first response for streaming APIs. */
|
|
191
|
+
extensions?: Array<{[P in string]: any}>;
|
|
192
|
+
}
|
|
185
193
|
interface Installation {
|
|
186
194
|
/** ID of the installation in GitHub. */
|
|
187
195
|
id?: string;
|
|
@@ -276,6 +284,18 @@ declare namespace gapi.client {
|
|
|
276
284
|
/** Output only. Name of the verb executed by the operation. */
|
|
277
285
|
verb?: string;
|
|
278
286
|
}
|
|
287
|
+
interface ProcessGitHubEnterpriseWebhookRequest {
|
|
288
|
+
/** Required. HTTP request body. */
|
|
289
|
+
body?: HttpBody;
|
|
290
|
+
}
|
|
291
|
+
interface ProcessGitLabEnterpriseWebhookRequest {
|
|
292
|
+
/** Required. HTTP request body. */
|
|
293
|
+
body?: HttpBody;
|
|
294
|
+
}
|
|
295
|
+
interface ProcessGitLabWebhookRequest {
|
|
296
|
+
/** Required. HTTP request body. */
|
|
297
|
+
body?: HttpBody;
|
|
298
|
+
}
|
|
279
299
|
interface ServiceDirectoryConfig {
|
|
280
300
|
/** Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. */
|
|
281
301
|
service?: string;
|
|
@@ -609,6 +629,122 @@ declare namespace gapi.client {
|
|
|
609
629
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
610
630
|
uploadType?: string;
|
|
611
631
|
}): Request<ListGitRepositoryLinksResponse>;
|
|
632
|
+
/** ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events. */
|
|
633
|
+
processGitLabEnterpriseWebhook(request: {
|
|
634
|
+
/** V1 error format. */
|
|
635
|
+
'$.xgafv'?: string;
|
|
636
|
+
/** OAuth access token. */
|
|
637
|
+
access_token?: string;
|
|
638
|
+
/** Data format for response. */
|
|
639
|
+
alt?: string;
|
|
640
|
+
/** JSONP */
|
|
641
|
+
callback?: string;
|
|
642
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
643
|
+
fields?: string;
|
|
644
|
+
/** 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. */
|
|
645
|
+
key?: string;
|
|
646
|
+
/** Required. The GitRepositoryLink resource where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. */
|
|
647
|
+
name: string;
|
|
648
|
+
/** OAuth 2.0 token for the current user. */
|
|
649
|
+
oauth_token?: string;
|
|
650
|
+
/** Returns response with indentations and line breaks. */
|
|
651
|
+
prettyPrint?: boolean;
|
|
652
|
+
/** 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. */
|
|
653
|
+
quotaUser?: string;
|
|
654
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
655
|
+
upload_protocol?: string;
|
|
656
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
657
|
+
uploadType?: string;
|
|
658
|
+
/** Request body */
|
|
659
|
+
resource: ProcessGitLabEnterpriseWebhookRequest;
|
|
660
|
+
}): Request<{}>;
|
|
661
|
+
processGitLabEnterpriseWebhook(
|
|
662
|
+
request: {
|
|
663
|
+
/** V1 error format. */
|
|
664
|
+
'$.xgafv'?: string;
|
|
665
|
+
/** OAuth access token. */
|
|
666
|
+
access_token?: string;
|
|
667
|
+
/** Data format for response. */
|
|
668
|
+
alt?: string;
|
|
669
|
+
/** JSONP */
|
|
670
|
+
callback?: string;
|
|
671
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
672
|
+
fields?: string;
|
|
673
|
+
/** 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. */
|
|
674
|
+
key?: string;
|
|
675
|
+
/** Required. The GitRepositoryLink resource where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. */
|
|
676
|
+
name: string;
|
|
677
|
+
/** OAuth 2.0 token for the current user. */
|
|
678
|
+
oauth_token?: string;
|
|
679
|
+
/** Returns response with indentations and line breaks. */
|
|
680
|
+
prettyPrint?: boolean;
|
|
681
|
+
/** 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. */
|
|
682
|
+
quotaUser?: string;
|
|
683
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
684
|
+
upload_protocol?: string;
|
|
685
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
686
|
+
uploadType?: string;
|
|
687
|
+
},
|
|
688
|
+
body: ProcessGitLabEnterpriseWebhookRequest
|
|
689
|
+
): Request<{}>;
|
|
690
|
+
/** ProcessGitLabWebhook is called by the GitLab.com for notifying events. */
|
|
691
|
+
processGitLabWebhook(request: {
|
|
692
|
+
/** V1 error format. */
|
|
693
|
+
'$.xgafv'?: string;
|
|
694
|
+
/** OAuth access token. */
|
|
695
|
+
access_token?: string;
|
|
696
|
+
/** Data format for response. */
|
|
697
|
+
alt?: string;
|
|
698
|
+
/** JSONP */
|
|
699
|
+
callback?: string;
|
|
700
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
701
|
+
fields?: string;
|
|
702
|
+
/** 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. */
|
|
703
|
+
key?: string;
|
|
704
|
+
/** Required. The GitRepositoryLink resource where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. */
|
|
705
|
+
name: string;
|
|
706
|
+
/** OAuth 2.0 token for the current user. */
|
|
707
|
+
oauth_token?: string;
|
|
708
|
+
/** Returns response with indentations and line breaks. */
|
|
709
|
+
prettyPrint?: boolean;
|
|
710
|
+
/** 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. */
|
|
711
|
+
quotaUser?: string;
|
|
712
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
713
|
+
upload_protocol?: string;
|
|
714
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
715
|
+
uploadType?: string;
|
|
716
|
+
/** Request body */
|
|
717
|
+
resource: ProcessGitLabWebhookRequest;
|
|
718
|
+
}): Request<{}>;
|
|
719
|
+
processGitLabWebhook(
|
|
720
|
+
request: {
|
|
721
|
+
/** V1 error format. */
|
|
722
|
+
'$.xgafv'?: string;
|
|
723
|
+
/** OAuth access token. */
|
|
724
|
+
access_token?: string;
|
|
725
|
+
/** Data format for response. */
|
|
726
|
+
alt?: string;
|
|
727
|
+
/** JSONP */
|
|
728
|
+
callback?: string;
|
|
729
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
730
|
+
fields?: string;
|
|
731
|
+
/** 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. */
|
|
732
|
+
key?: string;
|
|
733
|
+
/** Required. The GitRepositoryLink resource where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. */
|
|
734
|
+
name: string;
|
|
735
|
+
/** OAuth 2.0 token for the current user. */
|
|
736
|
+
oauth_token?: string;
|
|
737
|
+
/** Returns response with indentations and line breaks. */
|
|
738
|
+
prettyPrint?: boolean;
|
|
739
|
+
/** 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. */
|
|
740
|
+
quotaUser?: string;
|
|
741
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
742
|
+
upload_protocol?: string;
|
|
743
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
744
|
+
uploadType?: string;
|
|
745
|
+
},
|
|
746
|
+
body: ProcessGitLabWebhookRequest
|
|
747
|
+
): Request<{}>;
|
|
612
748
|
}
|
|
613
749
|
interface ConnectionsResource {
|
|
614
750
|
/** Creates a new Connection in a given project and location. */
|
|
@@ -860,7 +996,7 @@ declare namespace gapi.client {
|
|
|
860
996
|
quotaUser?: string;
|
|
861
997
|
/** 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 since 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). */
|
|
862
998
|
requestId?: string;
|
|
863
|
-
/**
|
|
999
|
+
/** Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
|
|
864
1000
|
updateMask?: string;
|
|
865
1001
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
866
1002
|
upload_protocol?: string;
|
|
@@ -897,7 +1033,7 @@ declare namespace gapi.client {
|
|
|
897
1033
|
quotaUser?: string;
|
|
898
1034
|
/** 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 since 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). */
|
|
899
1035
|
requestId?: string;
|
|
900
|
-
/**
|
|
1036
|
+
/** Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */
|
|
901
1037
|
updateMask?: string;
|
|
902
1038
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
903
1039
|
upload_protocol?: string;
|
|
@@ -908,6 +1044,64 @@ declare namespace gapi.client {
|
|
|
908
1044
|
},
|
|
909
1045
|
body: Connection
|
|
910
1046
|
): Request<Operation>;
|
|
1047
|
+
/** ProcessGitHubEnterpriseWebhook is called by the external GitHub Enterprise instances for notifying events. */
|
|
1048
|
+
processGitHubEnterpriseWebhook(request: {
|
|
1049
|
+
/** V1 error format. */
|
|
1050
|
+
'$.xgafv'?: string;
|
|
1051
|
+
/** OAuth access token. */
|
|
1052
|
+
access_token?: string;
|
|
1053
|
+
/** Data format for response. */
|
|
1054
|
+
alt?: string;
|
|
1055
|
+
/** JSONP */
|
|
1056
|
+
callback?: string;
|
|
1057
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1058
|
+
fields?: string;
|
|
1059
|
+
/** 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. */
|
|
1060
|
+
key?: string;
|
|
1061
|
+
/** OAuth 2.0 token for the current user. */
|
|
1062
|
+
oauth_token?: string;
|
|
1063
|
+
/** Required. Project and location where the webhook will be received. Format: `projects/*/locations/*`. */
|
|
1064
|
+
parent: string;
|
|
1065
|
+
/** Returns response with indentations and line breaks. */
|
|
1066
|
+
prettyPrint?: boolean;
|
|
1067
|
+
/** 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. */
|
|
1068
|
+
quotaUser?: string;
|
|
1069
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1070
|
+
upload_protocol?: string;
|
|
1071
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1072
|
+
uploadType?: string;
|
|
1073
|
+
/** Request body */
|
|
1074
|
+
resource: ProcessGitHubEnterpriseWebhookRequest;
|
|
1075
|
+
}): Request<{}>;
|
|
1076
|
+
processGitHubEnterpriseWebhook(
|
|
1077
|
+
request: {
|
|
1078
|
+
/** V1 error format. */
|
|
1079
|
+
'$.xgafv'?: string;
|
|
1080
|
+
/** OAuth access token. */
|
|
1081
|
+
access_token?: string;
|
|
1082
|
+
/** Data format for response. */
|
|
1083
|
+
alt?: string;
|
|
1084
|
+
/** JSONP */
|
|
1085
|
+
callback?: string;
|
|
1086
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1087
|
+
fields?: string;
|
|
1088
|
+
/** 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. */
|
|
1089
|
+
key?: string;
|
|
1090
|
+
/** OAuth 2.0 token for the current user. */
|
|
1091
|
+
oauth_token?: string;
|
|
1092
|
+
/** Required. Project and location where the webhook will be received. Format: `projects/*/locations/*`. */
|
|
1093
|
+
parent: string;
|
|
1094
|
+
/** Returns response with indentations and line breaks. */
|
|
1095
|
+
prettyPrint?: boolean;
|
|
1096
|
+
/** 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. */
|
|
1097
|
+
quotaUser?: string;
|
|
1098
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1099
|
+
upload_protocol?: string;
|
|
1100
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1101
|
+
uploadType?: string;
|
|
1102
|
+
},
|
|
1103
|
+
body: ProcessGitHubEnterpriseWebhookRequest
|
|
1104
|
+
): Request<{}>;
|
|
911
1105
|
gitRepositoryLinks: GitRepositoryLinksResource;
|
|
912
1106
|
}
|
|
913
1107
|
interface OperationsResource {
|