@maxim_mazurok/gapi.client.cloudbuild-v1 0.3.20260612 → 0.3.20260814
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 +21 -524
- 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://cloudbuild.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260814
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -92,22 +92,6 @@ declare namespace gapi.client {
|
|
|
92
92
|
/** Time the operation was created. */
|
|
93
93
|
createTime?: string;
|
|
94
94
|
}
|
|
95
|
-
interface BatchCreateGitLabConnectedRepositoriesRequest {
|
|
96
|
-
/** Required. Requests to connect GitLab repositories. */
|
|
97
|
-
requests?: CreateGitLabConnectedRepositoryRequest[];
|
|
98
|
-
}
|
|
99
|
-
interface BatchCreateGitLabConnectedRepositoriesResponse {
|
|
100
|
-
/** The GitLab connected repository requests' responses. */
|
|
101
|
-
gitlabConnectedRepositories?: GitLabConnectedRepository[];
|
|
102
|
-
}
|
|
103
|
-
interface BatchCreateGitLabConnectedRepositoriesResponseMetadata {
|
|
104
|
-
/** Time the operation was completed. */
|
|
105
|
-
completeTime?: string;
|
|
106
|
-
/** The name of the `GitLabConfig` that added connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
107
|
-
config?: string;
|
|
108
|
-
/** Time the operation was created. */
|
|
109
|
-
createTime?: string;
|
|
110
|
-
}
|
|
111
95
|
interface BitbucketServerConfig {
|
|
112
96
|
/** 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 BitbucketServerConfig. */
|
|
113
97
|
apiKey?: string;
|
|
@@ -117,7 +101,7 @@ declare namespace gapi.client {
|
|
|
117
101
|
createTime?: string;
|
|
118
102
|
/** Required. Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig. */
|
|
119
103
|
hostUri?: string;
|
|
120
|
-
/** The resource name for the config. */
|
|
104
|
+
/** Identifier. The resource name for the config. */
|
|
121
105
|
name?: string;
|
|
122
106
|
/** Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project. */
|
|
123
107
|
peeredNetwork?: string;
|
|
@@ -409,8 +393,6 @@ declare namespace gapi.client {
|
|
|
409
393
|
gitFileSource?: GitFileSource;
|
|
410
394
|
/** GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. Mutually exclusive with `trigger_template`. */
|
|
411
395
|
github?: GitHubEventsConfig;
|
|
412
|
-
/** GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received. */
|
|
413
|
-
gitlabEnterpriseEventsConfig?: GitLabEventsConfig;
|
|
414
396
|
/** Output only. Unique identifier of the trigger. */
|
|
415
397
|
id?: string;
|
|
416
398
|
/** ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build. */
|
|
@@ -493,20 +475,6 @@ declare namespace gapi.client {
|
|
|
493
475
|
/** The resource name of the GitHubEnterprise to be created. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. */
|
|
494
476
|
githubEnterpriseConfig?: string;
|
|
495
477
|
}
|
|
496
|
-
interface CreateGitLabConfigOperationMetadata {
|
|
497
|
-
/** Time the operation was completed. */
|
|
498
|
-
completeTime?: string;
|
|
499
|
-
/** Time the operation was created. */
|
|
500
|
-
createTime?: string;
|
|
501
|
-
/** The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`. */
|
|
502
|
-
gitlabConfig?: string;
|
|
503
|
-
}
|
|
504
|
-
interface CreateGitLabConnectedRepositoryRequest {
|
|
505
|
-
/** Required. The GitLab repository to connect. */
|
|
506
|
-
gitlabConnectedRepository?: GitLabConnectedRepository;
|
|
507
|
-
/** Required. The name of the `GitLabConfig` that adds connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
508
|
-
parent?: string;
|
|
509
|
-
}
|
|
510
478
|
interface CreateWorkerPoolOperationMetadata {
|
|
511
479
|
/** Time the operation was completed. */
|
|
512
480
|
completeTime?: string;
|
|
@@ -537,14 +505,6 @@ declare namespace gapi.client {
|
|
|
537
505
|
/** The resource name of the GitHubEnterprise to be deleted. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. */
|
|
538
506
|
githubEnterpriseConfig?: string;
|
|
539
507
|
}
|
|
540
|
-
interface DeleteGitLabConfigOperationMetadata {
|
|
541
|
-
/** Time the operation was completed. */
|
|
542
|
-
completeTime?: string;
|
|
543
|
-
/** Time the operation was created. */
|
|
544
|
-
createTime?: string;
|
|
545
|
-
/** The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`. */
|
|
546
|
-
gitlabConfig?: string;
|
|
547
|
-
}
|
|
548
508
|
interface DeleteWorkerPoolOperationMetadata {
|
|
549
509
|
/** Time the operation was completed. */
|
|
550
510
|
completeTime?: string;
|
|
@@ -651,7 +611,7 @@ declare namespace gapi.client {
|
|
|
651
611
|
displayName?: string;
|
|
652
612
|
/** The URL of the github enterprise host the configuration is for. */
|
|
653
613
|
hostUrl?: string;
|
|
654
|
-
/** The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
614
|
+
/** Identifier. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
655
615
|
name?: string;
|
|
656
616
|
/** Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project. */
|
|
657
617
|
peeredNetwork?: string;
|
|
@@ -694,78 +654,6 @@ declare namespace gapi.client {
|
|
|
694
654
|
/** filter to match changes in refs like branches, tags. */
|
|
695
655
|
push?: PushFilter;
|
|
696
656
|
}
|
|
697
|
-
interface GitLabConfig {
|
|
698
|
-
/** Connected GitLab.com or GitLabEnterprise repositories for this config. */
|
|
699
|
-
connectedRepositories?: GitLabRepositoryId[];
|
|
700
|
-
/** Output only. Time when the config was created. */
|
|
701
|
-
createTime?: string;
|
|
702
|
-
/** Optional. GitLabEnterprise config. */
|
|
703
|
-
enterpriseConfig?: GitLabEnterpriseConfig;
|
|
704
|
-
/** The resource name for the config. */
|
|
705
|
-
name?: string;
|
|
706
|
-
/** Required. Secret Manager secrets needed by the config. */
|
|
707
|
-
secrets?: GitLabSecrets;
|
|
708
|
-
/** Username of the GitLab.com or GitLab Enterprise account Cloud Build will use. */
|
|
709
|
-
username?: string;
|
|
710
|
-
/** Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config. */
|
|
711
|
-
webhookKey?: string;
|
|
712
|
-
}
|
|
713
|
-
interface GitLabConnectedRepository {
|
|
714
|
-
/** The name of the `GitLabConfig` that added connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
715
|
-
parent?: string;
|
|
716
|
-
/** The GitLab repositories to connect. */
|
|
717
|
-
repo?: GitLabRepositoryId;
|
|
718
|
-
/** Output only. The status of the repo connection request. */
|
|
719
|
-
status?: Status;
|
|
720
|
-
}
|
|
721
|
-
interface GitLabEnterpriseConfig {
|
|
722
|
-
/** Immutable. The URI of the GitlabEnterprise host. */
|
|
723
|
-
hostUri?: string;
|
|
724
|
-
/** The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance. */
|
|
725
|
-
serviceDirectoryConfig?: ServiceDirectoryConfig;
|
|
726
|
-
/** The SSL certificate to use in requests to GitLab Enterprise instances. */
|
|
727
|
-
sslCa?: string;
|
|
728
|
-
}
|
|
729
|
-
interface GitLabEventsConfig {
|
|
730
|
-
/** Output only. The GitLabConfig specified in the gitlab_config_resource field. */
|
|
731
|
-
gitlabConfig?: GitLabConfig;
|
|
732
|
-
/** The GitLab config resource that this trigger config maps to. */
|
|
733
|
-
gitlabConfigResource?: string;
|
|
734
|
-
/** Namespace of the GitLab project. */
|
|
735
|
-
projectNamespace?: string;
|
|
736
|
-
/** Filter to match changes in pull requests. */
|
|
737
|
-
pullRequest?: PullRequestFilter;
|
|
738
|
-
/** Filter to match changes in refs like branches, tags. */
|
|
739
|
-
push?: PushFilter;
|
|
740
|
-
}
|
|
741
|
-
interface GitLabRepository {
|
|
742
|
-
/** Link to the browse repo page on the GitLab instance */
|
|
743
|
-
browseUri?: string;
|
|
744
|
-
/** Description of the repository */
|
|
745
|
-
description?: string;
|
|
746
|
-
/** Display name of the repository */
|
|
747
|
-
displayName?: string;
|
|
748
|
-
/** The resource name of the repository */
|
|
749
|
-
name?: string;
|
|
750
|
-
/** Identifier for a repository */
|
|
751
|
-
repositoryId?: GitLabRepositoryId;
|
|
752
|
-
}
|
|
753
|
-
interface GitLabRepositoryId {
|
|
754
|
-
/** Required. Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID */
|
|
755
|
-
id?: string;
|
|
756
|
-
/** 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. */
|
|
757
|
-
webhookId?: number;
|
|
758
|
-
}
|
|
759
|
-
interface GitLabSecrets {
|
|
760
|
-
/** Required. The resource name for the api access token’s secret version */
|
|
761
|
-
apiAccessTokenVersion?: string;
|
|
762
|
-
/** Required. Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build. */
|
|
763
|
-
apiKeyVersion?: string;
|
|
764
|
-
/** Required. The resource name for the read access token’s secret version */
|
|
765
|
-
readAccessTokenVersion?: string;
|
|
766
|
-
/** 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 GitLabConfig. */
|
|
767
|
-
webhookSecretVersion?: string;
|
|
768
|
-
}
|
|
769
657
|
interface GitRepoSource {
|
|
770
658
|
/** The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`. */
|
|
771
659
|
bitbucketServerConfig?: string;
|
|
@@ -799,6 +687,8 @@ declare namespace gapi.client {
|
|
|
799
687
|
depth?: string;
|
|
800
688
|
/** Required. Where should the files be placed on the worker. */
|
|
801
689
|
destPath?: string;
|
|
690
|
+
/** Optional. True if remote tags should be fetched too (default false). Note: when depth is 1 (default), git fetch only retrieves tags pointing to commits within the shallow boundary. Set depth to -1 to fetch all historical tags. */
|
|
691
|
+
fetchTags?: boolean;
|
|
802
692
|
/** Optional. True if submodules should be fetched too (default false). */
|
|
803
693
|
recurseSubmodules?: boolean;
|
|
804
694
|
/** Required. The kind of repo (url or dev connect). */
|
|
@@ -879,18 +769,6 @@ declare namespace gapi.client {
|
|
|
879
769
|
/** A list of GitHubEnterpriseConfigs */
|
|
880
770
|
configs?: GitHubEnterpriseConfig[];
|
|
881
771
|
}
|
|
882
|
-
interface ListGitLabConfigsResponse {
|
|
883
|
-
/** A list of GitLabConfigs */
|
|
884
|
-
gitlabConfigs?: GitLabConfig[];
|
|
885
|
-
/** A token that can be sent as `page_token` to retrieve the next page If this field is omitted, there are no subsequent pages. */
|
|
886
|
-
nextPageToken?: string;
|
|
887
|
-
}
|
|
888
|
-
interface ListGitLabRepositoriesResponse {
|
|
889
|
-
/** List of GitLab repositories */
|
|
890
|
-
gitlabRepositories?: GitLabRepository[];
|
|
891
|
-
/** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
892
|
-
nextPageToken?: string;
|
|
893
|
-
}
|
|
894
772
|
interface ListWorkerPoolsResponse {
|
|
895
773
|
/** Continuation token used to page through large result sets. Provide this value in a subsequent ListWorkerPoolsRequest to return the next page of results. */
|
|
896
774
|
nextPageToken?: string;
|
|
@@ -1035,10 +913,6 @@ declare namespace gapi.client {
|
|
|
1035
913
|
/** The connected repository to remove. */
|
|
1036
914
|
connectedRepository?: BitbucketServerRepositoryId;
|
|
1037
915
|
}
|
|
1038
|
-
interface RemoveGitLabConnectedRepositoryRequest {
|
|
1039
|
-
/** The connected repository to remove. */
|
|
1040
|
-
connectedRepository?: GitLabRepositoryId;
|
|
1041
|
-
}
|
|
1042
916
|
interface RepositoryEventConfig {
|
|
1043
917
|
/** Filter to match changes in pull requests. */
|
|
1044
918
|
pullRequest?: PullRequestFilter;
|
|
@@ -1133,10 +1007,6 @@ declare namespace gapi.client {
|
|
|
1133
1007
|
/** Secrets in Secret Manager and associated secret environment variable. */
|
|
1134
1008
|
secretManager?: SecretManagerSecret[];
|
|
1135
1009
|
}
|
|
1136
|
-
interface ServiceDirectoryConfig {
|
|
1137
|
-
/** The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. */
|
|
1138
|
-
service?: string;
|
|
1139
|
-
}
|
|
1140
1010
|
interface Source {
|
|
1141
1011
|
/** Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource. */
|
|
1142
1012
|
connectedRepository?: ConnectedRepository;
|
|
@@ -1221,14 +1091,6 @@ declare namespace gapi.client {
|
|
|
1221
1091
|
/** The resource name of the GitHubEnterprise to be updated. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. */
|
|
1222
1092
|
githubEnterpriseConfig?: string;
|
|
1223
1093
|
}
|
|
1224
|
-
interface UpdateGitLabConfigOperationMetadata {
|
|
1225
|
-
/** Time the operation was completed. */
|
|
1226
|
-
completeTime?: string;
|
|
1227
|
-
/** Time the operation was created. */
|
|
1228
|
-
createTime?: string;
|
|
1229
|
-
/** The resource name of the GitLabConfig to be created. Format: `projects/{project}/locations/{location}/gitlabConfigs/{id}`. */
|
|
1230
|
-
gitlabConfig?: string;
|
|
1231
|
-
}
|
|
1232
1094
|
interface UpdateWorkerPoolOperationMetadata {
|
|
1233
1095
|
/** Time the operation was completed. */
|
|
1234
1096
|
completeTime?: string;
|
|
@@ -1613,7 +1475,7 @@ declare namespace gapi.client {
|
|
|
1613
1475
|
},
|
|
1614
1476
|
body: ApproveBuildRequest,
|
|
1615
1477
|
): Request<Operation>;
|
|
1616
|
-
/** Cancels a build in progress. */
|
|
1478
|
+
/** Cancels a build in progress. Note: This method only cancels builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:cancel. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:cancel`. */
|
|
1617
1479
|
cancel(request: {
|
|
1618
1480
|
/** V1 error format. */
|
|
1619
1481
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1675,7 +1537,7 @@ declare namespace gapi.client {
|
|
|
1675
1537
|
},
|
|
1676
1538
|
body: CancelBuildRequest,
|
|
1677
1539
|
): Request<Build>;
|
|
1678
|
-
/** Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). */
|
|
1540
|
+
/** Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). Note: This method only creates builds in the "global" region when using the legacy resource path projects/{project_id}/builds. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds`. */
|
|
1679
1541
|
create(request: {
|
|
1680
1542
|
/** V1 error format. */
|
|
1681
1543
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1737,7 +1599,7 @@ declare namespace gapi.client {
|
|
|
1737
1599
|
},
|
|
1738
1600
|
body: Build,
|
|
1739
1601
|
): Request<Operation>;
|
|
1740
|
-
/** Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information. */
|
|
1602
|
+
/** Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information. Note: This method only gets builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}`. */
|
|
1741
1603
|
get(request?: {
|
|
1742
1604
|
/** V1 error format. */
|
|
1743
1605
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1768,7 +1630,7 @@ declare namespace gapi.client {
|
|
|
1768
1630
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1769
1631
|
uploadType?: string;
|
|
1770
1632
|
}): Request<Build>;
|
|
1771
|
-
/** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. */
|
|
1633
|
+
/** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. Note: This method only lists builds in the "global" region when using the legacy resource path projects/{project_id}/builds. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds`. */
|
|
1772
1634
|
list(request?: {
|
|
1773
1635
|
/** V1 error format. */
|
|
1774
1636
|
'$.xgafv'?: '1' | '2';
|
|
@@ -1803,7 +1665,7 @@ declare namespace gapi.client {
|
|
|
1803
1665
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1804
1666
|
uploadType?: string;
|
|
1805
1667
|
}): Request<ListBuildsResponse>;
|
|
1806
|
-
/** Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings. */
|
|
1668
|
+
/** Creates a new build based on the specified build. Note: This method only creates builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:retry. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:retry`. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings. */
|
|
1807
1669
|
retry(request: {
|
|
1808
1670
|
/** V1 error format. */
|
|
1809
1671
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2038,7 +1900,7 @@ declare namespace gapi.client {
|
|
|
2038
1900
|
fields?: string;
|
|
2039
1901
|
/** 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. */
|
|
2040
1902
|
key?: string;
|
|
2041
|
-
/** The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
1903
|
+
/** Identifier. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
2042
1904
|
name: string;
|
|
2043
1905
|
/** OAuth 2.0 token for the current user. */
|
|
2044
1906
|
oauth_token?: string;
|
|
@@ -2069,7 +1931,7 @@ declare namespace gapi.client {
|
|
|
2069
1931
|
fields?: string;
|
|
2070
1932
|
/** 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. */
|
|
2071
1933
|
key?: string;
|
|
2072
|
-
/** The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
1934
|
+
/** Identifier. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
2073
1935
|
name: string;
|
|
2074
1936
|
/** OAuth 2.0 token for the current user. */
|
|
2075
1937
|
oauth_token?: string;
|
|
@@ -2342,7 +2204,7 @@ declare namespace gapi.client {
|
|
|
2342
2204
|
fields?: string;
|
|
2343
2205
|
/** 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. */
|
|
2344
2206
|
key?: string;
|
|
2345
|
-
/** The resource name for the config. */
|
|
2207
|
+
/** Identifier. The resource name for the config. */
|
|
2346
2208
|
name: string;
|
|
2347
2209
|
/** OAuth 2.0 token for the current user. */
|
|
2348
2210
|
oauth_token?: string;
|
|
@@ -2373,7 +2235,7 @@ declare namespace gapi.client {
|
|
|
2373
2235
|
fields?: string;
|
|
2374
2236
|
/** 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. */
|
|
2375
2237
|
key?: string;
|
|
2376
|
-
/** The resource name for the config. */
|
|
2238
|
+
/** Identifier. The resource name for the config. */
|
|
2377
2239
|
name: string;
|
|
2378
2240
|
/** OAuth 2.0 token for the current user. */
|
|
2379
2241
|
oauth_token?: string;
|
|
@@ -2510,7 +2372,7 @@ declare namespace gapi.client {
|
|
|
2510
2372
|
},
|
|
2511
2373
|
body: ApproveBuildRequest,
|
|
2512
2374
|
): Request<Operation>;
|
|
2513
|
-
/** Cancels a build in progress. */
|
|
2375
|
+
/** Cancels a build in progress. Note: This method only cancels builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:cancel. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:cancel`. */
|
|
2514
2376
|
cancel(request: {
|
|
2515
2377
|
/** V1 error format. */
|
|
2516
2378
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2568,7 +2430,7 @@ declare namespace gapi.client {
|
|
|
2568
2430
|
},
|
|
2569
2431
|
body: CancelBuildRequest,
|
|
2570
2432
|
): Request<Build>;
|
|
2571
|
-
/** Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). */
|
|
2433
|
+
/** Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`). Note: This method only creates builds in the "global" region when using the legacy resource path projects/{project_id}/builds. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds`. */
|
|
2572
2434
|
create(request: {
|
|
2573
2435
|
/** V1 error format. */
|
|
2574
2436
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2630,7 +2492,7 @@ declare namespace gapi.client {
|
|
|
2630
2492
|
},
|
|
2631
2493
|
body: Build,
|
|
2632
2494
|
): Request<Operation>;
|
|
2633
|
-
/** Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information. */
|
|
2495
|
+
/** Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information. Note: This method only gets builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}`. */
|
|
2634
2496
|
get(request?: {
|
|
2635
2497
|
/** V1 error format. */
|
|
2636
2498
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2661,7 +2523,7 @@ declare namespace gapi.client {
|
|
|
2661
2523
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2662
2524
|
uploadType?: string;
|
|
2663
2525
|
}): Request<Build>;
|
|
2664
|
-
/** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. */
|
|
2526
|
+
/** Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully. Note: This method only lists builds in the "global" region when using the legacy resource path projects/{project_id}/builds. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds`. */
|
|
2665
2527
|
list(request?: {
|
|
2666
2528
|
/** V1 error format. */
|
|
2667
2529
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2696,7 +2558,7 @@ declare namespace gapi.client {
|
|
|
2696
2558
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2697
2559
|
uploadType?: string;
|
|
2698
2560
|
}): Request<ListBuildsResponse>;
|
|
2699
|
-
/** Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings. */
|
|
2561
|
+
/** Creates a new build based on the specified build. Note: This method only creates builds in the "global" region when using the legacy resource path projects/{project_id}/builds/{id}:retry. For all regions, use the regional resource path: `projects/{project_id}/locations/{location}/builds/{id}:retry`. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings. */
|
|
2700
2562
|
retry(request: {
|
|
2701
2563
|
/** V1 error format. */
|
|
2702
2564
|
'$.xgafv'?: '1' | '2';
|
|
@@ -2927,7 +2789,7 @@ declare namespace gapi.client {
|
|
|
2927
2789
|
fields?: string;
|
|
2928
2790
|
/** 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. */
|
|
2929
2791
|
key?: string;
|
|
2930
|
-
/** The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
2792
|
+
/** Identifier. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
2931
2793
|
name: string;
|
|
2932
2794
|
/** OAuth 2.0 token for the current user. */
|
|
2933
2795
|
oauth_token?: string;
|
|
@@ -2958,7 +2820,7 @@ declare namespace gapi.client {
|
|
|
2958
2820
|
fields?: string;
|
|
2959
2821
|
/** 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. */
|
|
2960
2822
|
key?: string;
|
|
2961
|
-
/** The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
2823
|
+
/** Identifier. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" */
|
|
2962
2824
|
name: string;
|
|
2963
2825
|
/** OAuth 2.0 token for the current user. */
|
|
2964
2826
|
oauth_token?: string;
|
|
@@ -2976,370 +2838,6 @@ declare namespace gapi.client {
|
|
|
2976
2838
|
body: GitHubEnterpriseConfig,
|
|
2977
2839
|
): Request<Operation>;
|
|
2978
2840
|
}
|
|
2979
|
-
interface ConnectedRepositoriesResource {
|
|
2980
|
-
/** Batch connecting GitLab repositories to Cloud Build. This API is experimental. */
|
|
2981
|
-
batchCreate(request: {
|
|
2982
|
-
/** V1 error format. */
|
|
2983
|
-
'$.xgafv'?: '1' | '2';
|
|
2984
|
-
/** OAuth access token. */
|
|
2985
|
-
access_token?: string;
|
|
2986
|
-
/** Data format for response. */
|
|
2987
|
-
alt?: 'json' | 'media' | 'proto';
|
|
2988
|
-
/** JSONP */
|
|
2989
|
-
callback?: string;
|
|
2990
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
2991
|
-
fields?: string;
|
|
2992
|
-
/** 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. */
|
|
2993
|
-
key?: string;
|
|
2994
|
-
/** OAuth 2.0 token for the current user. */
|
|
2995
|
-
oauth_token?: string;
|
|
2996
|
-
/** The name of the `GitLabConfig` that adds connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
2997
|
-
parent: string;
|
|
2998
|
-
/** Returns response with indentations and line breaks. */
|
|
2999
|
-
prettyPrint?: boolean;
|
|
3000
|
-
/** 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. */
|
|
3001
|
-
quotaUser?: string;
|
|
3002
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3003
|
-
upload_protocol?: string;
|
|
3004
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3005
|
-
uploadType?: string;
|
|
3006
|
-
/** Request body */
|
|
3007
|
-
resource: BatchCreateGitLabConnectedRepositoriesRequest;
|
|
3008
|
-
}): Request<Operation>;
|
|
3009
|
-
batchCreate(
|
|
3010
|
-
request: {
|
|
3011
|
-
/** V1 error format. */
|
|
3012
|
-
'$.xgafv'?: '1' | '2';
|
|
3013
|
-
/** OAuth access token. */
|
|
3014
|
-
access_token?: string;
|
|
3015
|
-
/** Data format for response. */
|
|
3016
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3017
|
-
/** JSONP */
|
|
3018
|
-
callback?: string;
|
|
3019
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3020
|
-
fields?: string;
|
|
3021
|
-
/** 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. */
|
|
3022
|
-
key?: string;
|
|
3023
|
-
/** OAuth 2.0 token for the current user. */
|
|
3024
|
-
oauth_token?: string;
|
|
3025
|
-
/** The name of the `GitLabConfig` that adds connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
3026
|
-
parent: string;
|
|
3027
|
-
/** Returns response with indentations and line breaks. */
|
|
3028
|
-
prettyPrint?: boolean;
|
|
3029
|
-
/** 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. */
|
|
3030
|
-
quotaUser?: string;
|
|
3031
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3032
|
-
upload_protocol?: string;
|
|
3033
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3034
|
-
uploadType?: string;
|
|
3035
|
-
},
|
|
3036
|
-
body: BatchCreateGitLabConnectedRepositoriesRequest,
|
|
3037
|
-
): Request<Operation>;
|
|
3038
|
-
}
|
|
3039
|
-
interface ReposResource {
|
|
3040
|
-
/** List all repositories for a given `GitLabConfig`. This API is experimental */
|
|
3041
|
-
list(request?: {
|
|
3042
|
-
/** V1 error format. */
|
|
3043
|
-
'$.xgafv'?: '1' | '2';
|
|
3044
|
-
/** OAuth access token. */
|
|
3045
|
-
access_token?: string;
|
|
3046
|
-
/** Data format for response. */
|
|
3047
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3048
|
-
/** JSONP */
|
|
3049
|
-
callback?: string;
|
|
3050
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3051
|
-
fields?: string;
|
|
3052
|
-
/** 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. */
|
|
3053
|
-
key?: string;
|
|
3054
|
-
/** OAuth 2.0 token for the current user. */
|
|
3055
|
-
oauth_token?: string;
|
|
3056
|
-
/** The maximum number of repositories to return. The service may return fewer than this value. */
|
|
3057
|
-
pageSize?: number;
|
|
3058
|
-
/** A page token, received from a previous ListGitLabRepositoriesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGitLabRepositoriesRequest` must match the call that provided the page token. */
|
|
3059
|
-
pageToken?: string;
|
|
3060
|
-
/** Required. Name of the parent resource. */
|
|
3061
|
-
parent: string;
|
|
3062
|
-
/** Returns response with indentations and line breaks. */
|
|
3063
|
-
prettyPrint?: boolean;
|
|
3064
|
-
/** 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. */
|
|
3065
|
-
quotaUser?: string;
|
|
3066
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3067
|
-
upload_protocol?: string;
|
|
3068
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3069
|
-
uploadType?: string;
|
|
3070
|
-
}): Request<ListGitLabRepositoriesResponse>;
|
|
3071
|
-
}
|
|
3072
|
-
interface GitLabConfigsResource {
|
|
3073
|
-
/** Creates a new `GitLabConfig`. This API is experimental */
|
|
3074
|
-
create(request: {
|
|
3075
|
-
/** V1 error format. */
|
|
3076
|
-
'$.xgafv'?: '1' | '2';
|
|
3077
|
-
/** OAuth access token. */
|
|
3078
|
-
access_token?: string;
|
|
3079
|
-
/** Data format for response. */
|
|
3080
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3081
|
-
/** JSONP */
|
|
3082
|
-
callback?: string;
|
|
3083
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3084
|
-
fields?: string;
|
|
3085
|
-
/** 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: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character */
|
|
3086
|
-
gitlabConfigId?: string;
|
|
3087
|
-
/** 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. */
|
|
3088
|
-
key?: string;
|
|
3089
|
-
/** OAuth 2.0 token for the current user. */
|
|
3090
|
-
oauth_token?: string;
|
|
3091
|
-
/** Required. Name of the parent resource. */
|
|
3092
|
-
parent: string;
|
|
3093
|
-
/** Returns response with indentations and line breaks. */
|
|
3094
|
-
prettyPrint?: boolean;
|
|
3095
|
-
/** 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. */
|
|
3096
|
-
quotaUser?: string;
|
|
3097
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3098
|
-
upload_protocol?: string;
|
|
3099
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3100
|
-
uploadType?: string;
|
|
3101
|
-
/** Request body */
|
|
3102
|
-
resource: GitLabConfig;
|
|
3103
|
-
}): Request<Operation>;
|
|
3104
|
-
create(
|
|
3105
|
-
request: {
|
|
3106
|
-
/** V1 error format. */
|
|
3107
|
-
'$.xgafv'?: '1' | '2';
|
|
3108
|
-
/** OAuth access token. */
|
|
3109
|
-
access_token?: string;
|
|
3110
|
-
/** Data format for response. */
|
|
3111
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3112
|
-
/** JSONP */
|
|
3113
|
-
callback?: string;
|
|
3114
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3115
|
-
fields?: string;
|
|
3116
|
-
/** 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: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character */
|
|
3117
|
-
gitlabConfigId?: string;
|
|
3118
|
-
/** 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. */
|
|
3119
|
-
key?: string;
|
|
3120
|
-
/** OAuth 2.0 token for the current user. */
|
|
3121
|
-
oauth_token?: string;
|
|
3122
|
-
/** Required. Name of the parent resource. */
|
|
3123
|
-
parent: string;
|
|
3124
|
-
/** Returns response with indentations and line breaks. */
|
|
3125
|
-
prettyPrint?: boolean;
|
|
3126
|
-
/** 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. */
|
|
3127
|
-
quotaUser?: string;
|
|
3128
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3129
|
-
upload_protocol?: string;
|
|
3130
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3131
|
-
uploadType?: string;
|
|
3132
|
-
},
|
|
3133
|
-
body: GitLabConfig,
|
|
3134
|
-
): Request<Operation>;
|
|
3135
|
-
/** Delete a `GitLabConfig`. This API is experimental */
|
|
3136
|
-
delete(request?: {
|
|
3137
|
-
/** V1 error format. */
|
|
3138
|
-
'$.xgafv'?: '1' | '2';
|
|
3139
|
-
/** OAuth access token. */
|
|
3140
|
-
access_token?: string;
|
|
3141
|
-
/** Data format for response. */
|
|
3142
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3143
|
-
/** JSONP */
|
|
3144
|
-
callback?: string;
|
|
3145
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3146
|
-
fields?: string;
|
|
3147
|
-
/** 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. */
|
|
3148
|
-
key?: string;
|
|
3149
|
-
/** Required. The config resource name. */
|
|
3150
|
-
name: string;
|
|
3151
|
-
/** OAuth 2.0 token for the current user. */
|
|
3152
|
-
oauth_token?: string;
|
|
3153
|
-
/** Returns response with indentations and line breaks. */
|
|
3154
|
-
prettyPrint?: boolean;
|
|
3155
|
-
/** 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. */
|
|
3156
|
-
quotaUser?: string;
|
|
3157
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3158
|
-
upload_protocol?: string;
|
|
3159
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3160
|
-
uploadType?: string;
|
|
3161
|
-
}): Request<Operation>;
|
|
3162
|
-
/** Retrieves a `GitLabConfig`. This API is experimental */
|
|
3163
|
-
get(request?: {
|
|
3164
|
-
/** V1 error format. */
|
|
3165
|
-
'$.xgafv'?: '1' | '2';
|
|
3166
|
-
/** OAuth access token. */
|
|
3167
|
-
access_token?: string;
|
|
3168
|
-
/** Data format for response. */
|
|
3169
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3170
|
-
/** JSONP */
|
|
3171
|
-
callback?: string;
|
|
3172
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3173
|
-
fields?: string;
|
|
3174
|
-
/** 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. */
|
|
3175
|
-
key?: string;
|
|
3176
|
-
/** Required. The config resource name. */
|
|
3177
|
-
name: string;
|
|
3178
|
-
/** OAuth 2.0 token for the current user. */
|
|
3179
|
-
oauth_token?: string;
|
|
3180
|
-
/** Returns response with indentations and line breaks. */
|
|
3181
|
-
prettyPrint?: boolean;
|
|
3182
|
-
/** 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. */
|
|
3183
|
-
quotaUser?: string;
|
|
3184
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3185
|
-
upload_protocol?: string;
|
|
3186
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3187
|
-
uploadType?: string;
|
|
3188
|
-
}): Request<GitLabConfig>;
|
|
3189
|
-
/** List all `GitLabConfigs` for a given project. This API is experimental */
|
|
3190
|
-
list(request?: {
|
|
3191
|
-
/** V1 error format. */
|
|
3192
|
-
'$.xgafv'?: '1' | '2';
|
|
3193
|
-
/** OAuth access token. */
|
|
3194
|
-
access_token?: string;
|
|
3195
|
-
/** Data format for response. */
|
|
3196
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3197
|
-
/** JSONP */
|
|
3198
|
-
callback?: string;
|
|
3199
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3200
|
-
fields?: string;
|
|
3201
|
-
/** 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. */
|
|
3202
|
-
key?: string;
|
|
3203
|
-
/** OAuth 2.0 token for the current user. */
|
|
3204
|
-
oauth_token?: string;
|
|
3205
|
-
/** 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 above 1000 will be coerced to 1000. */
|
|
3206
|
-
pageSize?: number;
|
|
3207
|
-
/** A page token, received from a previous ‘ListGitlabConfigsRequest’ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ‘ListGitlabConfigsRequest’ must match the call that provided the page token. */
|
|
3208
|
-
pageToken?: string;
|
|
3209
|
-
/** Required. Name of the parent resource */
|
|
3210
|
-
parent: string;
|
|
3211
|
-
/** Returns response with indentations and line breaks. */
|
|
3212
|
-
prettyPrint?: boolean;
|
|
3213
|
-
/** 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. */
|
|
3214
|
-
quotaUser?: string;
|
|
3215
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3216
|
-
upload_protocol?: string;
|
|
3217
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3218
|
-
uploadType?: string;
|
|
3219
|
-
}): Request<ListGitLabConfigsResponse>;
|
|
3220
|
-
/** Updates an existing `GitLabConfig`. This API is experimental */
|
|
3221
|
-
patch(request: {
|
|
3222
|
-
/** V1 error format. */
|
|
3223
|
-
'$.xgafv'?: '1' | '2';
|
|
3224
|
-
/** OAuth access token. */
|
|
3225
|
-
access_token?: string;
|
|
3226
|
-
/** Data format for response. */
|
|
3227
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3228
|
-
/** JSONP */
|
|
3229
|
-
callback?: string;
|
|
3230
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3231
|
-
fields?: string;
|
|
3232
|
-
/** 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. */
|
|
3233
|
-
key?: string;
|
|
3234
|
-
/** The resource name for the config. */
|
|
3235
|
-
name: string;
|
|
3236
|
-
/** OAuth 2.0 token for the current user. */
|
|
3237
|
-
oauth_token?: string;
|
|
3238
|
-
/** Returns response with indentations and line breaks. */
|
|
3239
|
-
prettyPrint?: boolean;
|
|
3240
|
-
/** 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. */
|
|
3241
|
-
quotaUser?: string;
|
|
3242
|
-
/** 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 performed. */
|
|
3243
|
-
updateMask?: string;
|
|
3244
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3245
|
-
upload_protocol?: string;
|
|
3246
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3247
|
-
uploadType?: string;
|
|
3248
|
-
/** Request body */
|
|
3249
|
-
resource: GitLabConfig;
|
|
3250
|
-
}): Request<Operation>;
|
|
3251
|
-
patch(
|
|
3252
|
-
request: {
|
|
3253
|
-
/** V1 error format. */
|
|
3254
|
-
'$.xgafv'?: '1' | '2';
|
|
3255
|
-
/** OAuth access token. */
|
|
3256
|
-
access_token?: string;
|
|
3257
|
-
/** Data format for response. */
|
|
3258
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3259
|
-
/** JSONP */
|
|
3260
|
-
callback?: string;
|
|
3261
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3262
|
-
fields?: string;
|
|
3263
|
-
/** 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. */
|
|
3264
|
-
key?: string;
|
|
3265
|
-
/** The resource name for the config. */
|
|
3266
|
-
name: string;
|
|
3267
|
-
/** OAuth 2.0 token for the current user. */
|
|
3268
|
-
oauth_token?: string;
|
|
3269
|
-
/** Returns response with indentations and line breaks. */
|
|
3270
|
-
prettyPrint?: boolean;
|
|
3271
|
-
/** 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. */
|
|
3272
|
-
quotaUser?: string;
|
|
3273
|
-
/** 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 performed. */
|
|
3274
|
-
updateMask?: string;
|
|
3275
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3276
|
-
upload_protocol?: string;
|
|
3277
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3278
|
-
uploadType?: string;
|
|
3279
|
-
},
|
|
3280
|
-
body: GitLabConfig,
|
|
3281
|
-
): Request<Operation>;
|
|
3282
|
-
/** Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental. */
|
|
3283
|
-
removeGitLabConnectedRepository(request: {
|
|
3284
|
-
/** V1 error format. */
|
|
3285
|
-
'$.xgafv'?: '1' | '2';
|
|
3286
|
-
/** OAuth access token. */
|
|
3287
|
-
access_token?: string;
|
|
3288
|
-
/** Data format for response. */
|
|
3289
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3290
|
-
/** JSONP */
|
|
3291
|
-
callback?: string;
|
|
3292
|
-
/** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
3293
|
-
config: string;
|
|
3294
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3295
|
-
fields?: string;
|
|
3296
|
-
/** 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. */
|
|
3297
|
-
key?: string;
|
|
3298
|
-
/** OAuth 2.0 token for the current user. */
|
|
3299
|
-
oauth_token?: string;
|
|
3300
|
-
/** Returns response with indentations and line breaks. */
|
|
3301
|
-
prettyPrint?: boolean;
|
|
3302
|
-
/** 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. */
|
|
3303
|
-
quotaUser?: string;
|
|
3304
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3305
|
-
upload_protocol?: string;
|
|
3306
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3307
|
-
uploadType?: string;
|
|
3308
|
-
/** Request body */
|
|
3309
|
-
resource: RemoveGitLabConnectedRepositoryRequest;
|
|
3310
|
-
}): Request<{}>;
|
|
3311
|
-
removeGitLabConnectedRepository(
|
|
3312
|
-
request: {
|
|
3313
|
-
/** V1 error format. */
|
|
3314
|
-
'$.xgafv'?: '1' | '2';
|
|
3315
|
-
/** OAuth access token. */
|
|
3316
|
-
access_token?: string;
|
|
3317
|
-
/** Data format for response. */
|
|
3318
|
-
alt?: 'json' | 'media' | 'proto';
|
|
3319
|
-
/** JSONP */
|
|
3320
|
-
callback?: string;
|
|
3321
|
-
/** Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}` */
|
|
3322
|
-
config: string;
|
|
3323
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
3324
|
-
fields?: string;
|
|
3325
|
-
/** 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. */
|
|
3326
|
-
key?: string;
|
|
3327
|
-
/** OAuth 2.0 token for the current user. */
|
|
3328
|
-
oauth_token?: string;
|
|
3329
|
-
/** Returns response with indentations and line breaks. */
|
|
3330
|
-
prettyPrint?: boolean;
|
|
3331
|
-
/** 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. */
|
|
3332
|
-
quotaUser?: string;
|
|
3333
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3334
|
-
upload_protocol?: string;
|
|
3335
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3336
|
-
uploadType?: string;
|
|
3337
|
-
},
|
|
3338
|
-
body: RemoveGitLabConnectedRepositoryRequest,
|
|
3339
|
-
): Request<{}>;
|
|
3340
|
-
connectedRepositories: ConnectedRepositoriesResource;
|
|
3341
|
-
repos: ReposResource;
|
|
3342
|
-
}
|
|
3343
2841
|
interface OperationsResource {
|
|
3344
2842
|
/** 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 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 completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
3345
2843
|
cancel(request: {
|
|
@@ -4040,7 +3538,6 @@ declare namespace gapi.client {
|
|
|
4040
3538
|
bitbucketServerConfigs: BitbucketServerConfigsResource;
|
|
4041
3539
|
builds: BuildsResource;
|
|
4042
3540
|
githubEnterpriseConfigs: GithubEnterpriseConfigsResource;
|
|
4043
|
-
gitLabConfigs: GitLabConfigsResource;
|
|
4044
3541
|
operations: OperationsResource;
|
|
4045
3542
|
triggers: TriggersResource;
|
|
4046
3543
|
workerPools: WorkerPoolsResource;
|