@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20220908 → 0.0.20220916
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 +522 -1
- package/package.json +1 -1
- package/tests.ts +270 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://cloudbuild.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220916
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -93,6 +93,22 @@ declare namespace gapi.client {
|
|
|
93
93
|
/** Time the operation was created. */
|
|
94
94
|
createTime?: string;
|
|
95
95
|
}
|
|
96
|
+
interface BatchCreateGitLabConnectedRepositoriesRequest {
|
|
97
|
+
/** Required. Requests to connect GitLab repositories. */
|
|
98
|
+
requests?: CreateGitLabConnectedRepositoryRequest[];
|
|
99
|
+
}
|
|
100
|
+
interface BatchCreateGitLabConnectedRepositoriesResponse {
|
|
101
|
+
/** The GitLab connected repository requests' responses. */
|
|
102
|
+
gitlabConnectedRepositories?: GitLabConnectedRepository[];
|
|
103
|
+
}
|
|
104
|
+
interface BatchCreateGitLabConnectedRepositoriesResponseMetadata {
|
|
105
|
+
/** Time the operation was completed. */
|
|
106
|
+
completeTime?: string;
|
|
107
|
+
/** The name of the `GitLabConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
108
|
+
config?: string;
|
|
109
|
+
/** Time the operation was created. */
|
|
110
|
+
createTime?: string;
|
|
111
|
+
}
|
|
96
112
|
interface BitbucketServerConfig {
|
|
97
113
|
/**
|
|
98
114
|
* Required. Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another
|
|
@@ -415,6 +431,8 @@ declare namespace gapi.client {
|
|
|
415
431
|
gitFileSource?: GitFileSource;
|
|
416
432
|
/** GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. Mutually exclusive with `trigger_template`. */
|
|
417
433
|
github?: GitHubEventsConfig;
|
|
434
|
+
/** GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received. */
|
|
435
|
+
gitlabEnterpriseEventsConfig?: GitLabEventsConfig;
|
|
418
436
|
/** Output only. Unique identifier of the trigger. */
|
|
419
437
|
id?: string;
|
|
420
438
|
/**
|
|
@@ -506,6 +524,20 @@ declare namespace gapi.client {
|
|
|
506
524
|
/** The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. */
|
|
507
525
|
githubEnterpriseConfig?: string;
|
|
508
526
|
}
|
|
527
|
+
interface CreateGitLabConfigOperationMetadata {
|
|
528
|
+
/** Time the operation was completed. */
|
|
529
|
+
completeTime?: string;
|
|
530
|
+
/** Time the operation was created. */
|
|
531
|
+
createTime?: string;
|
|
532
|
+
/** The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`. */
|
|
533
|
+
gitlabConfig?: string;
|
|
534
|
+
}
|
|
535
|
+
interface CreateGitLabConnectedRepositoryRequest {
|
|
536
|
+
/** Required. The GitLab repository to connect. */
|
|
537
|
+
gitlabConnectedRepository?: GitLabConnectedRepository;
|
|
538
|
+
/** Required. The name of the `GitLabConfig` that adds connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
539
|
+
parent?: string;
|
|
540
|
+
}
|
|
509
541
|
interface CreateWorkerPoolOperationMetadata {
|
|
510
542
|
/** Time the operation was completed. */
|
|
511
543
|
completeTime?: string;
|
|
@@ -530,6 +562,14 @@ declare namespace gapi.client {
|
|
|
530
562
|
/** The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. */
|
|
531
563
|
githubEnterpriseConfig?: string;
|
|
532
564
|
}
|
|
565
|
+
interface DeleteGitLabConfigOperationMetadata {
|
|
566
|
+
/** Time the operation was completed. */
|
|
567
|
+
completeTime?: string;
|
|
568
|
+
/** Time the operation was created. */
|
|
569
|
+
createTime?: string;
|
|
570
|
+
/** The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`. */
|
|
571
|
+
gitlabConfig?: string;
|
|
572
|
+
}
|
|
533
573
|
interface DeleteWorkerPoolOperationMetadata {
|
|
534
574
|
/** Time the operation was completed. */
|
|
535
575
|
completeTime?: string;
|
|
@@ -631,6 +671,81 @@ declare namespace gapi.client {
|
|
|
631
671
|
/** filter to match changes in refs like branches, tags. */
|
|
632
672
|
push?: PushFilter;
|
|
633
673
|
}
|
|
674
|
+
interface GitLabConfig {
|
|
675
|
+
/** Connected GitLab.com or GitLabEnterprise repositories for this config. */
|
|
676
|
+
connectedRepositories?: GitLabRepositoryId[];
|
|
677
|
+
/** Output only. Time when the config was created. */
|
|
678
|
+
createTime?: string;
|
|
679
|
+
/** Optional. GitLabEnterprise config. */
|
|
680
|
+
enterpriseConfig?: GitLabEnterpriseConfig;
|
|
681
|
+
/** The resource name for the config. */
|
|
682
|
+
name?: string;
|
|
683
|
+
/** Required. Secret Manager secrets needed by the config. */
|
|
684
|
+
secrets?: GitLabSecrets;
|
|
685
|
+
/** Username of the GitLab.com or GitLab Enterprise account Cloud Build will use. */
|
|
686
|
+
username?: string;
|
|
687
|
+
/** Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config. */
|
|
688
|
+
webhookKey?: string;
|
|
689
|
+
}
|
|
690
|
+
interface GitLabConnectedRepository {
|
|
691
|
+
/** The name of the `GitLabConfig` that added connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
692
|
+
parent?: string;
|
|
693
|
+
/** The GitLab repositories to connect. */
|
|
694
|
+
repo?: GitLabRepositoryId;
|
|
695
|
+
/** Output only. The status of the repo connection request. */
|
|
696
|
+
status?: Status;
|
|
697
|
+
}
|
|
698
|
+
interface GitLabEnterpriseConfig {
|
|
699
|
+
/** Immutable. The URI of the GitlabEnterprise host. */
|
|
700
|
+
hostUri?: string;
|
|
701
|
+
/** The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance. */
|
|
702
|
+
serviceDirectoryConfig?: ServiceDirectoryConfig;
|
|
703
|
+
/** The SSL certificate to use in requests to GitLab Enterprise instances. */
|
|
704
|
+
sslCa?: string;
|
|
705
|
+
}
|
|
706
|
+
interface GitLabEventsConfig {
|
|
707
|
+
/** Output only. The GitLabConfig specified in the gitlab_config_resource field. */
|
|
708
|
+
gitlabConfig?: GitLabConfig;
|
|
709
|
+
/** The GitLab config resource that this trigger config maps to. */
|
|
710
|
+
gitlabConfigResource?: string;
|
|
711
|
+
/** Namespace of the GitLab project. */
|
|
712
|
+
projectNamespace?: string;
|
|
713
|
+
/** Filter to match changes in pull requests. */
|
|
714
|
+
pullRequest?: PullRequestFilter;
|
|
715
|
+
/** Filter to match changes in refs like branches, tags. */
|
|
716
|
+
push?: PushFilter;
|
|
717
|
+
}
|
|
718
|
+
interface GitLabRepository {
|
|
719
|
+
/** Link to the browse repo page on the GitLab instance */
|
|
720
|
+
browseUri?: string;
|
|
721
|
+
/** Description of the repository */
|
|
722
|
+
description?: string;
|
|
723
|
+
/** Display name of the repository */
|
|
724
|
+
displayName?: string;
|
|
725
|
+
/** The resource name of the repository */
|
|
726
|
+
name?: string;
|
|
727
|
+
/** Identifier for a repository */
|
|
728
|
+
repositoryId?: GitLabRepositoryId;
|
|
729
|
+
}
|
|
730
|
+
interface GitLabRepositoryId {
|
|
731
|
+
/** Required. Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID */
|
|
732
|
+
id?: string;
|
|
733
|
+
/** Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo. */
|
|
734
|
+
webhookId?: number;
|
|
735
|
+
}
|
|
736
|
+
interface GitLabSecrets {
|
|
737
|
+
/** Required. The resource name for the api access token’s secret version */
|
|
738
|
+
apiAccessTokenVersion?: string;
|
|
739
|
+
/** Required. Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build. */
|
|
740
|
+
apiKeyVersion?: string;
|
|
741
|
+
/** Required. The resource name for the read access token’s secret version */
|
|
742
|
+
readAccessTokenVersion?: string;
|
|
743
|
+
/**
|
|
744
|
+
* Required. Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another
|
|
745
|
+
* GitLabConfig.
|
|
746
|
+
*/
|
|
747
|
+
webhookSecretVersion?: string;
|
|
748
|
+
}
|
|
634
749
|
interface GitRepoSource {
|
|
635
750
|
/** The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`. */
|
|
636
751
|
bitbucketServerConfig?: string;
|
|
@@ -720,6 +835,18 @@ declare namespace gapi.client {
|
|
|
720
835
|
/** A list of GitHubEnterpriseConfigs */
|
|
721
836
|
configs?: GitHubEnterpriseConfig[];
|
|
722
837
|
}
|
|
838
|
+
interface ListGitLabConfigsResponse {
|
|
839
|
+
/** A list of GitLabConfigs */
|
|
840
|
+
gitlabConfigs?: GitLabConfig[];
|
|
841
|
+
/** A token that can be sent as `page_token` to retrieve the next page If this field is omitted, there are no subsequent pages. */
|
|
842
|
+
nextPageToken?: string;
|
|
843
|
+
}
|
|
844
|
+
interface ListGitLabRepositoriesResponse {
|
|
845
|
+
/** List of GitLab repositories */
|
|
846
|
+
gitlabRepositories?: GitLabRepository[];
|
|
847
|
+
/** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
848
|
+
nextPageToken?: string;
|
|
849
|
+
}
|
|
723
850
|
interface ListWorkerPoolsResponse {
|
|
724
851
|
/** Continuation token used to page through large result sets. Provide this value in a subsequent ListWorkerPoolsRequest to return the next page of results. */
|
|
725
852
|
nextPageToken?: string;
|
|
@@ -878,6 +1005,10 @@ declare namespace gapi.client {
|
|
|
878
1005
|
/** The connected repository to remove. */
|
|
879
1006
|
connectedRepository?: BitbucketServerRepositoryId;
|
|
880
1007
|
}
|
|
1008
|
+
interface RemoveGitLabConnectedRepositoryRequest {
|
|
1009
|
+
/** The connected repository to remove. */
|
|
1010
|
+
connectedRepository?: GitLabRepositoryId;
|
|
1011
|
+
}
|
|
881
1012
|
interface RepoSource {
|
|
882
1013
|
/** Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
|
|
883
1014
|
branchName?: string;
|
|
@@ -972,6 +1103,10 @@ declare namespace gapi.client {
|
|
|
972
1103
|
/** Secrets in Secret Manager and associated secret environment variable. */
|
|
973
1104
|
secretManager?: SecretManagerSecret[];
|
|
974
1105
|
}
|
|
1106
|
+
interface ServiceDirectoryConfig {
|
|
1107
|
+
/** The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. */
|
|
1108
|
+
service?: string;
|
|
1109
|
+
}
|
|
975
1110
|
interface SlackDelivery {
|
|
976
1111
|
/** The secret reference for the Slack webhook URI for sending messages to a channel. */
|
|
977
1112
|
webhookUri?: NotifierSecretRef;
|
|
@@ -1064,6 +1199,14 @@ declare namespace gapi.client {
|
|
|
1064
1199
|
/** The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. */
|
|
1065
1200
|
githubEnterpriseConfig?: string;
|
|
1066
1201
|
}
|
|
1202
|
+
interface UpdateGitLabConfigOperationMetadata {
|
|
1203
|
+
/** Time the operation was completed. */
|
|
1204
|
+
completeTime?: string;
|
|
1205
|
+
/** Time the operation was created. */
|
|
1206
|
+
createTime?: string;
|
|
1207
|
+
/** The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`. */
|
|
1208
|
+
gitlabConfig?: string;
|
|
1209
|
+
}
|
|
1067
1210
|
interface UpdateWorkerPoolOperationMetadata {
|
|
1068
1211
|
/** Time the operation was completed. */
|
|
1069
1212
|
completeTime?: string;
|
|
@@ -2808,6 +2951,383 @@ declare namespace gapi.client {
|
|
|
2808
2951
|
},
|
|
2809
2952
|
body: GitHubEnterpriseConfig): Request<Operation>;
|
|
2810
2953
|
}
|
|
2954
|
+
interface ConnectedRepositoriesResource {
|
|
2955
|
+
/** Batch connecting GitLab repositories to Cloud Build. This API is experimental. */
|
|
2956
|
+
batchCreate(request: {
|
|
2957
|
+
/** V1 error format. */
|
|
2958
|
+
"$.xgafv"?: string;
|
|
2959
|
+
/** OAuth access token. */
|
|
2960
|
+
access_token?: string;
|
|
2961
|
+
/** Data format for response. */
|
|
2962
|
+
alt?: string;
|
|
2963
|
+
/** JSONP */
|
|
2964
|
+
callback?: string;
|
|
2965
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2966
|
+
fields?: string;
|
|
2967
|
+
/** 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. */
|
|
2968
|
+
key?: string;
|
|
2969
|
+
/** OAuth 2.0 token for the current user. */
|
|
2970
|
+
oauth_token?: string;
|
|
2971
|
+
/** The name of the `GitLabConfig` that adds connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
2972
|
+
parent: string;
|
|
2973
|
+
/** Returns response with indentations and line breaks. */
|
|
2974
|
+
prettyPrint?: boolean;
|
|
2975
|
+
/** 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. */
|
|
2976
|
+
quotaUser?: string;
|
|
2977
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2978
|
+
upload_protocol?: string;
|
|
2979
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2980
|
+
uploadType?: string;
|
|
2981
|
+
/** Request body */
|
|
2982
|
+
resource: BatchCreateGitLabConnectedRepositoriesRequest;
|
|
2983
|
+
}): Request<Operation>;
|
|
2984
|
+
batchCreate(request: {
|
|
2985
|
+
/** V1 error format. */
|
|
2986
|
+
"$.xgafv"?: string;
|
|
2987
|
+
/** OAuth access token. */
|
|
2988
|
+
access_token?: string;
|
|
2989
|
+
/** Data format for response. */
|
|
2990
|
+
alt?: string;
|
|
2991
|
+
/** JSONP */
|
|
2992
|
+
callback?: string;
|
|
2993
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2994
|
+
fields?: string;
|
|
2995
|
+
/** 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. */
|
|
2996
|
+
key?: string;
|
|
2997
|
+
/** OAuth 2.0 token for the current user. */
|
|
2998
|
+
oauth_token?: string;
|
|
2999
|
+
/** The name of the `GitLabConfig` that adds connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
3000
|
+
parent: string;
|
|
3001
|
+
/** Returns response with indentations and line breaks. */
|
|
3002
|
+
prettyPrint?: boolean;
|
|
3003
|
+
/** 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. */
|
|
3004
|
+
quotaUser?: string;
|
|
3005
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3006
|
+
upload_protocol?: string;
|
|
3007
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3008
|
+
uploadType?: string;
|
|
3009
|
+
},
|
|
3010
|
+
body: BatchCreateGitLabConnectedRepositoriesRequest): Request<Operation>;
|
|
3011
|
+
}
|
|
3012
|
+
interface ReposResource {
|
|
3013
|
+
/** List all repositories for a given `GitLabConfig`. This API is experimental */
|
|
3014
|
+
list(request?: {
|
|
3015
|
+
/** V1 error format. */
|
|
3016
|
+
"$.xgafv"?: string;
|
|
3017
|
+
/** OAuth access token. */
|
|
3018
|
+
access_token?: string;
|
|
3019
|
+
/** Data format for response. */
|
|
3020
|
+
alt?: string;
|
|
3021
|
+
/** JSONP */
|
|
3022
|
+
callback?: string;
|
|
3023
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3024
|
+
fields?: string;
|
|
3025
|
+
/** 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. */
|
|
3026
|
+
key?: string;
|
|
3027
|
+
/** OAuth 2.0 token for the current user. */
|
|
3028
|
+
oauth_token?: string;
|
|
3029
|
+
/** The maximum number of repositories to return. The service may return fewer than this value. */
|
|
3030
|
+
pageSize?: number;
|
|
3031
|
+
/**
|
|
3032
|
+
* A page token, received from a previous ListGitLabRepositoriesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
3033
|
+
* `ListGitLabRepositoriesRequest` must match the call that provided the page token.
|
|
3034
|
+
*/
|
|
3035
|
+
pageToken?: string;
|
|
3036
|
+
/** Required. Name of the parent resource. */
|
|
3037
|
+
parent: string;
|
|
3038
|
+
/** Returns response with indentations and line breaks. */
|
|
3039
|
+
prettyPrint?: boolean;
|
|
3040
|
+
/** 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. */
|
|
3041
|
+
quotaUser?: string;
|
|
3042
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3043
|
+
upload_protocol?: string;
|
|
3044
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3045
|
+
uploadType?: string;
|
|
3046
|
+
}): Request<ListGitLabRepositoriesResponse>;
|
|
3047
|
+
}
|
|
3048
|
+
interface GitLabConfigsResource {
|
|
3049
|
+
/** Creates a new `GitLabConfig`. This API is experimental */
|
|
3050
|
+
create(request: {
|
|
3051
|
+
/** V1 error format. */
|
|
3052
|
+
"$.xgafv"?: string;
|
|
3053
|
+
/** OAuth access token. */
|
|
3054
|
+
access_token?: string;
|
|
3055
|
+
/** Data format for response. */
|
|
3056
|
+
alt?: string;
|
|
3057
|
+
/** JSONP */
|
|
3058
|
+
callback?: string;
|
|
3059
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3060
|
+
fields?: string;
|
|
3061
|
+
/**
|
|
3062
|
+
* Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: +
|
|
3063
|
+
* They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character
|
|
3064
|
+
*/
|
|
3065
|
+
gitlabConfigId?: string;
|
|
3066
|
+
/** 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. */
|
|
3067
|
+
key?: string;
|
|
3068
|
+
/** OAuth 2.0 token for the current user. */
|
|
3069
|
+
oauth_token?: string;
|
|
3070
|
+
/** Required. Name of the parent resource. */
|
|
3071
|
+
parent: string;
|
|
3072
|
+
/** Returns response with indentations and line breaks. */
|
|
3073
|
+
prettyPrint?: boolean;
|
|
3074
|
+
/** 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. */
|
|
3075
|
+
quotaUser?: string;
|
|
3076
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3077
|
+
upload_protocol?: string;
|
|
3078
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3079
|
+
uploadType?: string;
|
|
3080
|
+
/** Request body */
|
|
3081
|
+
resource: GitLabConfig;
|
|
3082
|
+
}): Request<Operation>;
|
|
3083
|
+
create(request: {
|
|
3084
|
+
/** V1 error format. */
|
|
3085
|
+
"$.xgafv"?: string;
|
|
3086
|
+
/** OAuth access token. */
|
|
3087
|
+
access_token?: string;
|
|
3088
|
+
/** Data format for response. */
|
|
3089
|
+
alt?: string;
|
|
3090
|
+
/** JSONP */
|
|
3091
|
+
callback?: string;
|
|
3092
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3093
|
+
fields?: string;
|
|
3094
|
+
/**
|
|
3095
|
+
* Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: +
|
|
3096
|
+
* They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character
|
|
3097
|
+
*/
|
|
3098
|
+
gitlabConfigId?: string;
|
|
3099
|
+
/** 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. */
|
|
3100
|
+
key?: string;
|
|
3101
|
+
/** OAuth 2.0 token for the current user. */
|
|
3102
|
+
oauth_token?: string;
|
|
3103
|
+
/** Required. Name of the parent resource. */
|
|
3104
|
+
parent: string;
|
|
3105
|
+
/** Returns response with indentations and line breaks. */
|
|
3106
|
+
prettyPrint?: boolean;
|
|
3107
|
+
/** 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. */
|
|
3108
|
+
quotaUser?: string;
|
|
3109
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3110
|
+
upload_protocol?: string;
|
|
3111
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3112
|
+
uploadType?: string;
|
|
3113
|
+
},
|
|
3114
|
+
body: GitLabConfig): Request<Operation>;
|
|
3115
|
+
/** Delete a `GitLabConfig`. This API is experimental */
|
|
3116
|
+
delete(request?: {
|
|
3117
|
+
/** V1 error format. */
|
|
3118
|
+
"$.xgafv"?: string;
|
|
3119
|
+
/** OAuth access token. */
|
|
3120
|
+
access_token?: string;
|
|
3121
|
+
/** Data format for response. */
|
|
3122
|
+
alt?: string;
|
|
3123
|
+
/** JSONP */
|
|
3124
|
+
callback?: string;
|
|
3125
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3126
|
+
fields?: string;
|
|
3127
|
+
/** 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. */
|
|
3128
|
+
key?: string;
|
|
3129
|
+
/** Required. The config resource name. */
|
|
3130
|
+
name: string;
|
|
3131
|
+
/** OAuth 2.0 token for the current user. */
|
|
3132
|
+
oauth_token?: string;
|
|
3133
|
+
/** Returns response with indentations and line breaks. */
|
|
3134
|
+
prettyPrint?: boolean;
|
|
3135
|
+
/** 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. */
|
|
3136
|
+
quotaUser?: string;
|
|
3137
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3138
|
+
upload_protocol?: string;
|
|
3139
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3140
|
+
uploadType?: string;
|
|
3141
|
+
}): Request<Operation>;
|
|
3142
|
+
/** Retrieves a `GitLabConfig`. This API is experimental */
|
|
3143
|
+
get(request?: {
|
|
3144
|
+
/** V1 error format. */
|
|
3145
|
+
"$.xgafv"?: string;
|
|
3146
|
+
/** OAuth access token. */
|
|
3147
|
+
access_token?: string;
|
|
3148
|
+
/** Data format for response. */
|
|
3149
|
+
alt?: string;
|
|
3150
|
+
/** JSONP */
|
|
3151
|
+
callback?: string;
|
|
3152
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3153
|
+
fields?: string;
|
|
3154
|
+
/** 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. */
|
|
3155
|
+
key?: string;
|
|
3156
|
+
/** Required. The config resource name. */
|
|
3157
|
+
name: string;
|
|
3158
|
+
/** OAuth 2.0 token for the current user. */
|
|
3159
|
+
oauth_token?: string;
|
|
3160
|
+
/** Returns response with indentations and line breaks. */
|
|
3161
|
+
prettyPrint?: boolean;
|
|
3162
|
+
/** 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. */
|
|
3163
|
+
quotaUser?: string;
|
|
3164
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3165
|
+
upload_protocol?: string;
|
|
3166
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3167
|
+
uploadType?: string;
|
|
3168
|
+
}): Request<GitLabConfig>;
|
|
3169
|
+
/** List all `GitLabConfigs` for a given project. This API is experimental */
|
|
3170
|
+
list(request?: {
|
|
3171
|
+
/** V1 error format. */
|
|
3172
|
+
"$.xgafv"?: string;
|
|
3173
|
+
/** OAuth access token. */
|
|
3174
|
+
access_token?: string;
|
|
3175
|
+
/** Data format for response. */
|
|
3176
|
+
alt?: string;
|
|
3177
|
+
/** JSONP */
|
|
3178
|
+
callback?: string;
|
|
3179
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3180
|
+
fields?: string;
|
|
3181
|
+
/** 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. */
|
|
3182
|
+
key?: string;
|
|
3183
|
+
/** OAuth 2.0 token for the current user. */
|
|
3184
|
+
oauth_token?: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 50 configs will be returned. The maximum value is 1000;, values
|
|
3187
|
+
* above 1000 will be coerced to 1000.
|
|
3188
|
+
*/
|
|
3189
|
+
pageSize?: number;
|
|
3190
|
+
/**
|
|
3191
|
+
* A page token, received from a previous ‘ListGitlabConfigsRequest’ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
3192
|
+
* ‘ListGitlabConfigsRequest’ must match the call that provided the page token.
|
|
3193
|
+
*/
|
|
3194
|
+
pageToken?: string;
|
|
3195
|
+
/** Required. Name of the parent resource */
|
|
3196
|
+
parent: string;
|
|
3197
|
+
/** Returns response with indentations and line breaks. */
|
|
3198
|
+
prettyPrint?: boolean;
|
|
3199
|
+
/** 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. */
|
|
3200
|
+
quotaUser?: string;
|
|
3201
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3202
|
+
upload_protocol?: string;
|
|
3203
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3204
|
+
uploadType?: string;
|
|
3205
|
+
}): Request<ListGitLabConfigsResponse>;
|
|
3206
|
+
/** Updates an existing `GitLabConfig`. This API is experimental */
|
|
3207
|
+
patch(request: {
|
|
3208
|
+
/** V1 error format. */
|
|
3209
|
+
"$.xgafv"?: string;
|
|
3210
|
+
/** OAuth access token. */
|
|
3211
|
+
access_token?: string;
|
|
3212
|
+
/** Data format for response. */
|
|
3213
|
+
alt?: string;
|
|
3214
|
+
/** JSONP */
|
|
3215
|
+
callback?: string;
|
|
3216
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3217
|
+
fields?: string;
|
|
3218
|
+
/** 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. */
|
|
3219
|
+
key?: string;
|
|
3220
|
+
/** The resource name for the config. */
|
|
3221
|
+
name: string;
|
|
3222
|
+
/** OAuth 2.0 token for the current user. */
|
|
3223
|
+
oauth_token?: string;
|
|
3224
|
+
/** Returns response with indentations and line breaks. */
|
|
3225
|
+
prettyPrint?: boolean;
|
|
3226
|
+
/** 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. */
|
|
3227
|
+
quotaUser?: string;
|
|
3228
|
+
/**
|
|
3229
|
+
* Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be
|
|
3230
|
+
* performed.
|
|
3231
|
+
*/
|
|
3232
|
+
updateMask?: string;
|
|
3233
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3234
|
+
upload_protocol?: string;
|
|
3235
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3236
|
+
uploadType?: string;
|
|
3237
|
+
/** Request body */
|
|
3238
|
+
resource: GitLabConfig;
|
|
3239
|
+
}): Request<Operation>;
|
|
3240
|
+
patch(request: {
|
|
3241
|
+
/** V1 error format. */
|
|
3242
|
+
"$.xgafv"?: string;
|
|
3243
|
+
/** OAuth access token. */
|
|
3244
|
+
access_token?: string;
|
|
3245
|
+
/** Data format for response. */
|
|
3246
|
+
alt?: string;
|
|
3247
|
+
/** JSONP */
|
|
3248
|
+
callback?: string;
|
|
3249
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3250
|
+
fields?: string;
|
|
3251
|
+
/** 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. */
|
|
3252
|
+
key?: string;
|
|
3253
|
+
/** The resource name for the config. */
|
|
3254
|
+
name: string;
|
|
3255
|
+
/** OAuth 2.0 token for the current user. */
|
|
3256
|
+
oauth_token?: string;
|
|
3257
|
+
/** Returns response with indentations and line breaks. */
|
|
3258
|
+
prettyPrint?: boolean;
|
|
3259
|
+
/** 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. */
|
|
3260
|
+
quotaUser?: string;
|
|
3261
|
+
/**
|
|
3262
|
+
* Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be
|
|
3263
|
+
* performed.
|
|
3264
|
+
*/
|
|
3265
|
+
updateMask?: string;
|
|
3266
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3267
|
+
upload_protocol?: string;
|
|
3268
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3269
|
+
uploadType?: string;
|
|
3270
|
+
},
|
|
3271
|
+
body: GitLabConfig): Request<Operation>;
|
|
3272
|
+
/** Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental. */
|
|
3273
|
+
removeGitLabConnectedRepository(request: {
|
|
3274
|
+
/** V1 error format. */
|
|
3275
|
+
"$.xgafv"?: string;
|
|
3276
|
+
/** OAuth access token. */
|
|
3277
|
+
access_token?: string;
|
|
3278
|
+
/** Data format for response. */
|
|
3279
|
+
alt?: string;
|
|
3280
|
+
/** JSONP */
|
|
3281
|
+
callback?: string;
|
|
3282
|
+
/** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
3283
|
+
config: string;
|
|
3284
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3285
|
+
fields?: string;
|
|
3286
|
+
/** 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. */
|
|
3287
|
+
key?: string;
|
|
3288
|
+
/** OAuth 2.0 token for the current user. */
|
|
3289
|
+
oauth_token?: string;
|
|
3290
|
+
/** Returns response with indentations and line breaks. */
|
|
3291
|
+
prettyPrint?: boolean;
|
|
3292
|
+
/** 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. */
|
|
3293
|
+
quotaUser?: string;
|
|
3294
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3295
|
+
upload_protocol?: string;
|
|
3296
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3297
|
+
uploadType?: string;
|
|
3298
|
+
/** Request body */
|
|
3299
|
+
resource: RemoveGitLabConnectedRepositoryRequest;
|
|
3300
|
+
}): Request<{}>;
|
|
3301
|
+
removeGitLabConnectedRepository(request: {
|
|
3302
|
+
/** V1 error format. */
|
|
3303
|
+
"$.xgafv"?: string;
|
|
3304
|
+
/** OAuth access token. */
|
|
3305
|
+
access_token?: string;
|
|
3306
|
+
/** Data format for response. */
|
|
3307
|
+
alt?: string;
|
|
3308
|
+
/** JSONP */
|
|
3309
|
+
callback?: string;
|
|
3310
|
+
/** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
3311
|
+
config: string;
|
|
3312
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3313
|
+
fields?: string;
|
|
3314
|
+
/** 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. */
|
|
3315
|
+
key?: string;
|
|
3316
|
+
/** OAuth 2.0 token for the current user. */
|
|
3317
|
+
oauth_token?: string;
|
|
3318
|
+
/** Returns response with indentations and line breaks. */
|
|
3319
|
+
prettyPrint?: boolean;
|
|
3320
|
+
/** 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. */
|
|
3321
|
+
quotaUser?: string;
|
|
3322
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3323
|
+
upload_protocol?: string;
|
|
3324
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3325
|
+
uploadType?: string;
|
|
3326
|
+
},
|
|
3327
|
+
body: RemoveGitLabConnectedRepositoryRequest): Request<{}>;
|
|
3328
|
+
connectedRepositories: ConnectedRepositoriesResource;
|
|
3329
|
+
repos: ReposResource;
|
|
3330
|
+
}
|
|
2811
3331
|
interface OperationsResource {
|
|
2812
3332
|
/**
|
|
2813
3333
|
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
|
|
@@ -3483,6 +4003,7 @@ declare namespace gapi.client {
|
|
|
3483
4003
|
bitbucketServerConfigs: BitbucketServerConfigsResource;
|
|
3484
4004
|
builds: BuildsResource;
|
|
3485
4005
|
githubEnterpriseConfigs: GithubEnterpriseConfigsResource;
|
|
4006
|
+
gitLabConfigs: GitLabConfigsResource;
|
|
3486
4007
|
operations: OperationsResource;
|
|
3487
4008
|
triggers: TriggersResource;
|
|
3488
4009
|
workerPools: WorkerPoolsResource;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20220916
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -915,6 +915,119 @@ gapi.load('client', async () => {
|
|
|
915
915
|
sslCa: "Test string",
|
|
916
916
|
webhookKey: "Test string",
|
|
917
917
|
});
|
|
918
|
+
/** Creates a new `GitLabConfig`. This API is experimental */
|
|
919
|
+
await gapi.client.cloudbuild.projects.locations.gitLabConfigs.create({
|
|
920
|
+
gitlabConfigId: "Test string",
|
|
921
|
+
parent: "Test string",
|
|
922
|
+
}, {
|
|
923
|
+
connectedRepositories: [
|
|
924
|
+
{
|
|
925
|
+
id: "Test string",
|
|
926
|
+
webhookId: 42,
|
|
927
|
+
}
|
|
928
|
+
],
|
|
929
|
+
createTime: "Test string",
|
|
930
|
+
enterpriseConfig: {
|
|
931
|
+
hostUri: "Test string",
|
|
932
|
+
serviceDirectoryConfig: {
|
|
933
|
+
service: "Test string",
|
|
934
|
+
},
|
|
935
|
+
sslCa: "Test string",
|
|
936
|
+
},
|
|
937
|
+
name: "Test string",
|
|
938
|
+
secrets: {
|
|
939
|
+
apiAccessTokenVersion: "Test string",
|
|
940
|
+
apiKeyVersion: "Test string",
|
|
941
|
+
readAccessTokenVersion: "Test string",
|
|
942
|
+
webhookSecretVersion: "Test string",
|
|
943
|
+
},
|
|
944
|
+
username: "Test string",
|
|
945
|
+
webhookKey: "Test string",
|
|
946
|
+
});
|
|
947
|
+
/** Delete a `GitLabConfig`. This API is experimental */
|
|
948
|
+
await gapi.client.cloudbuild.projects.locations.gitLabConfigs.delete({
|
|
949
|
+
name: "Test string",
|
|
950
|
+
});
|
|
951
|
+
/** Retrieves a `GitLabConfig`. This API is experimental */
|
|
952
|
+
await gapi.client.cloudbuild.projects.locations.gitLabConfigs.get({
|
|
953
|
+
name: "Test string",
|
|
954
|
+
});
|
|
955
|
+
/** List all `GitLabConfigs` for a given project. This API is experimental */
|
|
956
|
+
await gapi.client.cloudbuild.projects.locations.gitLabConfigs.list({
|
|
957
|
+
pageSize: 42,
|
|
958
|
+
pageToken: "Test string",
|
|
959
|
+
parent: "Test string",
|
|
960
|
+
});
|
|
961
|
+
/** Updates an existing `GitLabConfig`. This API is experimental */
|
|
962
|
+
await gapi.client.cloudbuild.projects.locations.gitLabConfigs.patch({
|
|
963
|
+
name: "Test string",
|
|
964
|
+
updateMask: "Test string",
|
|
965
|
+
}, {
|
|
966
|
+
connectedRepositories: [
|
|
967
|
+
{
|
|
968
|
+
id: "Test string",
|
|
969
|
+
webhookId: 42,
|
|
970
|
+
}
|
|
971
|
+
],
|
|
972
|
+
createTime: "Test string",
|
|
973
|
+
enterpriseConfig: {
|
|
974
|
+
hostUri: "Test string",
|
|
975
|
+
serviceDirectoryConfig: {
|
|
976
|
+
service: "Test string",
|
|
977
|
+
},
|
|
978
|
+
sslCa: "Test string",
|
|
979
|
+
},
|
|
980
|
+
name: "Test string",
|
|
981
|
+
secrets: {
|
|
982
|
+
apiAccessTokenVersion: "Test string",
|
|
983
|
+
apiKeyVersion: "Test string",
|
|
984
|
+
readAccessTokenVersion: "Test string",
|
|
985
|
+
webhookSecretVersion: "Test string",
|
|
986
|
+
},
|
|
987
|
+
username: "Test string",
|
|
988
|
+
webhookKey: "Test string",
|
|
989
|
+
});
|
|
990
|
+
/** Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental. */
|
|
991
|
+
await gapi.client.cloudbuild.projects.locations.gitLabConfigs.removeGitLabConnectedRepository({
|
|
992
|
+
config: "Test string",
|
|
993
|
+
}, {
|
|
994
|
+
connectedRepository: {
|
|
995
|
+
id: "Test string",
|
|
996
|
+
webhookId: 42,
|
|
997
|
+
},
|
|
998
|
+
});
|
|
999
|
+
/** Batch connecting GitLab repositories to Cloud Build. This API is experimental. */
|
|
1000
|
+
await gapi.client.cloudbuild.projects.locations.gitLabConfigs.connectedRepositories.batchCreate({
|
|
1001
|
+
parent: "Test string",
|
|
1002
|
+
}, {
|
|
1003
|
+
requests: [
|
|
1004
|
+
{
|
|
1005
|
+
gitlabConnectedRepository: {
|
|
1006
|
+
parent: "Test string",
|
|
1007
|
+
repo: {
|
|
1008
|
+
id: "Test string",
|
|
1009
|
+
webhookId: 42,
|
|
1010
|
+
},
|
|
1011
|
+
status: {
|
|
1012
|
+
code: 42,
|
|
1013
|
+
details: [
|
|
1014
|
+
{
|
|
1015
|
+
A: 42
|
|
1016
|
+
}
|
|
1017
|
+
],
|
|
1018
|
+
message: "Test string",
|
|
1019
|
+
},
|
|
1020
|
+
},
|
|
1021
|
+
parent: "Test string",
|
|
1022
|
+
}
|
|
1023
|
+
],
|
|
1024
|
+
});
|
|
1025
|
+
/** List all repositories for a given `GitLabConfig`. This API is experimental */
|
|
1026
|
+
await gapi.client.cloudbuild.projects.locations.gitLabConfigs.repos.list({
|
|
1027
|
+
pageSize: 42,
|
|
1028
|
+
pageToken: "Test string",
|
|
1029
|
+
parent: "Test string",
|
|
1030
|
+
});
|
|
918
1031
|
/**
|
|
919
1032
|
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this
|
|
920
1033
|
* method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
|
|
@@ -1250,6 +1363,45 @@ gapi.load('client', async () => {
|
|
|
1250
1363
|
tag: "Test string",
|
|
1251
1364
|
},
|
|
1252
1365
|
},
|
|
1366
|
+
gitlabEnterpriseEventsConfig: {
|
|
1367
|
+
gitlabConfig: {
|
|
1368
|
+
connectedRepositories: [
|
|
1369
|
+
{
|
|
1370
|
+
id: "Test string",
|
|
1371
|
+
webhookId: 42,
|
|
1372
|
+
}
|
|
1373
|
+
],
|
|
1374
|
+
createTime: "Test string",
|
|
1375
|
+
enterpriseConfig: {
|
|
1376
|
+
hostUri: "Test string",
|
|
1377
|
+
serviceDirectoryConfig: {
|
|
1378
|
+
service: "Test string",
|
|
1379
|
+
},
|
|
1380
|
+
sslCa: "Test string",
|
|
1381
|
+
},
|
|
1382
|
+
name: "Test string",
|
|
1383
|
+
secrets: {
|
|
1384
|
+
apiAccessTokenVersion: "Test string",
|
|
1385
|
+
apiKeyVersion: "Test string",
|
|
1386
|
+
readAccessTokenVersion: "Test string",
|
|
1387
|
+
webhookSecretVersion: "Test string",
|
|
1388
|
+
},
|
|
1389
|
+
username: "Test string",
|
|
1390
|
+
webhookKey: "Test string",
|
|
1391
|
+
},
|
|
1392
|
+
gitlabConfigResource: "Test string",
|
|
1393
|
+
projectNamespace: "Test string",
|
|
1394
|
+
pullRequest: {
|
|
1395
|
+
branch: "Test string",
|
|
1396
|
+
commentControl: "Test string",
|
|
1397
|
+
invertRegex: true,
|
|
1398
|
+
},
|
|
1399
|
+
push: {
|
|
1400
|
+
branch: "Test string",
|
|
1401
|
+
invertRegex: true,
|
|
1402
|
+
tag: "Test string",
|
|
1403
|
+
},
|
|
1404
|
+
},
|
|
1253
1405
|
id: "Test string",
|
|
1254
1406
|
ignoredFiles: [
|
|
1255
1407
|
"Test string"
|
|
@@ -1638,6 +1790,45 @@ gapi.load('client', async () => {
|
|
|
1638
1790
|
tag: "Test string",
|
|
1639
1791
|
},
|
|
1640
1792
|
},
|
|
1793
|
+
gitlabEnterpriseEventsConfig: {
|
|
1794
|
+
gitlabConfig: {
|
|
1795
|
+
connectedRepositories: [
|
|
1796
|
+
{
|
|
1797
|
+
id: "Test string",
|
|
1798
|
+
webhookId: 42,
|
|
1799
|
+
}
|
|
1800
|
+
],
|
|
1801
|
+
createTime: "Test string",
|
|
1802
|
+
enterpriseConfig: {
|
|
1803
|
+
hostUri: "Test string",
|
|
1804
|
+
serviceDirectoryConfig: {
|
|
1805
|
+
service: "Test string",
|
|
1806
|
+
},
|
|
1807
|
+
sslCa: "Test string",
|
|
1808
|
+
},
|
|
1809
|
+
name: "Test string",
|
|
1810
|
+
secrets: {
|
|
1811
|
+
apiAccessTokenVersion: "Test string",
|
|
1812
|
+
apiKeyVersion: "Test string",
|
|
1813
|
+
readAccessTokenVersion: "Test string",
|
|
1814
|
+
webhookSecretVersion: "Test string",
|
|
1815
|
+
},
|
|
1816
|
+
username: "Test string",
|
|
1817
|
+
webhookKey: "Test string",
|
|
1818
|
+
},
|
|
1819
|
+
gitlabConfigResource: "Test string",
|
|
1820
|
+
projectNamespace: "Test string",
|
|
1821
|
+
pullRequest: {
|
|
1822
|
+
branch: "Test string",
|
|
1823
|
+
commentControl: "Test string",
|
|
1824
|
+
invertRegex: true,
|
|
1825
|
+
},
|
|
1826
|
+
push: {
|
|
1827
|
+
branch: "Test string",
|
|
1828
|
+
invertRegex: true,
|
|
1829
|
+
tag: "Test string",
|
|
1830
|
+
},
|
|
1831
|
+
},
|
|
1641
1832
|
id: "Test string",
|
|
1642
1833
|
ignoredFiles: [
|
|
1643
1834
|
"Test string"
|
|
@@ -2116,6 +2307,45 @@ gapi.load('client', async () => {
|
|
|
2116
2307
|
tag: "Test string",
|
|
2117
2308
|
},
|
|
2118
2309
|
},
|
|
2310
|
+
gitlabEnterpriseEventsConfig: {
|
|
2311
|
+
gitlabConfig: {
|
|
2312
|
+
connectedRepositories: [
|
|
2313
|
+
{
|
|
2314
|
+
id: "Test string",
|
|
2315
|
+
webhookId: 42,
|
|
2316
|
+
}
|
|
2317
|
+
],
|
|
2318
|
+
createTime: "Test string",
|
|
2319
|
+
enterpriseConfig: {
|
|
2320
|
+
hostUri: "Test string",
|
|
2321
|
+
serviceDirectoryConfig: {
|
|
2322
|
+
service: "Test string",
|
|
2323
|
+
},
|
|
2324
|
+
sslCa: "Test string",
|
|
2325
|
+
},
|
|
2326
|
+
name: "Test string",
|
|
2327
|
+
secrets: {
|
|
2328
|
+
apiAccessTokenVersion: "Test string",
|
|
2329
|
+
apiKeyVersion: "Test string",
|
|
2330
|
+
readAccessTokenVersion: "Test string",
|
|
2331
|
+
webhookSecretVersion: "Test string",
|
|
2332
|
+
},
|
|
2333
|
+
username: "Test string",
|
|
2334
|
+
webhookKey: "Test string",
|
|
2335
|
+
},
|
|
2336
|
+
gitlabConfigResource: "Test string",
|
|
2337
|
+
projectNamespace: "Test string",
|
|
2338
|
+
pullRequest: {
|
|
2339
|
+
branch: "Test string",
|
|
2340
|
+
commentControl: "Test string",
|
|
2341
|
+
invertRegex: true,
|
|
2342
|
+
},
|
|
2343
|
+
push: {
|
|
2344
|
+
branch: "Test string",
|
|
2345
|
+
invertRegex: true,
|
|
2346
|
+
tag: "Test string",
|
|
2347
|
+
},
|
|
2348
|
+
},
|
|
2119
2349
|
id: "Test string",
|
|
2120
2350
|
ignoredFiles: [
|
|
2121
2351
|
"Test string"
|
|
@@ -2503,6 +2733,45 @@ gapi.load('client', async () => {
|
|
|
2503
2733
|
tag: "Test string",
|
|
2504
2734
|
},
|
|
2505
2735
|
},
|
|
2736
|
+
gitlabEnterpriseEventsConfig: {
|
|
2737
|
+
gitlabConfig: {
|
|
2738
|
+
connectedRepositories: [
|
|
2739
|
+
{
|
|
2740
|
+
id: "Test string",
|
|
2741
|
+
webhookId: 42,
|
|
2742
|
+
}
|
|
2743
|
+
],
|
|
2744
|
+
createTime: "Test string",
|
|
2745
|
+
enterpriseConfig: {
|
|
2746
|
+
hostUri: "Test string",
|
|
2747
|
+
serviceDirectoryConfig: {
|
|
2748
|
+
service: "Test string",
|
|
2749
|
+
},
|
|
2750
|
+
sslCa: "Test string",
|
|
2751
|
+
},
|
|
2752
|
+
name: "Test string",
|
|
2753
|
+
secrets: {
|
|
2754
|
+
apiAccessTokenVersion: "Test string",
|
|
2755
|
+
apiKeyVersion: "Test string",
|
|
2756
|
+
readAccessTokenVersion: "Test string",
|
|
2757
|
+
webhookSecretVersion: "Test string",
|
|
2758
|
+
},
|
|
2759
|
+
username: "Test string",
|
|
2760
|
+
webhookKey: "Test string",
|
|
2761
|
+
},
|
|
2762
|
+
gitlabConfigResource: "Test string",
|
|
2763
|
+
projectNamespace: "Test string",
|
|
2764
|
+
pullRequest: {
|
|
2765
|
+
branch: "Test string",
|
|
2766
|
+
commentControl: "Test string",
|
|
2767
|
+
invertRegex: true,
|
|
2768
|
+
},
|
|
2769
|
+
push: {
|
|
2770
|
+
branch: "Test string",
|
|
2771
|
+
invertRegex: true,
|
|
2772
|
+
tag: "Test string",
|
|
2773
|
+
},
|
|
2774
|
+
},
|
|
2506
2775
|
id: "Test string",
|
|
2507
2776
|
ignoredFiles: [
|
|
2508
2777
|
"Test string"
|