@maxim_mazurok/gapi.client.cloudbuild-v1 0.0.20221027 → 0.0.20221103
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 +13 -1
- package/package.json +1 -1
- package/tests.ts +57 -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: 20221103
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -468,6 +468,8 @@ declare namespace gapi.client {
|
|
|
468
468
|
name?: string;
|
|
469
469
|
/** PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published. */
|
|
470
470
|
pubsubConfig?: PubsubConfig;
|
|
471
|
+
/** The configuration of a trigger that creates a build whenever an event from Repo API is received. */
|
|
472
|
+
repositoryEventConfig?: RepositoryEventConfig;
|
|
471
473
|
/** The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service. */
|
|
472
474
|
resourceName?: string;
|
|
473
475
|
/**
|
|
@@ -1026,6 +1028,16 @@ declare namespace gapi.client {
|
|
|
1026
1028
|
/** The connected repository to remove. */
|
|
1027
1029
|
connectedRepository?: GitLabRepositoryId;
|
|
1028
1030
|
}
|
|
1031
|
+
interface RepositoryEventConfig {
|
|
1032
|
+
/** Filter to match changes in pull requests. */
|
|
1033
|
+
pullRequest?: PullRequestFilter;
|
|
1034
|
+
/** Filter to match changes in refs like branches, tags. */
|
|
1035
|
+
push?: PushFilter;
|
|
1036
|
+
/** The resource name of the Repo API resource. */
|
|
1037
|
+
repository?: string;
|
|
1038
|
+
/** Output only. The type of the SCM vendor the repository points to. */
|
|
1039
|
+
repositoryType?: string;
|
|
1040
|
+
}
|
|
1029
1041
|
interface RepoSource {
|
|
1030
1042
|
/** 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 */
|
|
1031
1043
|
branchName?: string;
|
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: 20221103
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1570,6 +1570,20 @@ gapi.load('client', async () => {
|
|
|
1570
1570
|
subscription: "Test string",
|
|
1571
1571
|
topic: "Test string",
|
|
1572
1572
|
},
|
|
1573
|
+
repositoryEventConfig: {
|
|
1574
|
+
pullRequest: {
|
|
1575
|
+
branch: "Test string",
|
|
1576
|
+
commentControl: "Test string",
|
|
1577
|
+
invertRegex: true,
|
|
1578
|
+
},
|
|
1579
|
+
push: {
|
|
1580
|
+
branch: "Test string",
|
|
1581
|
+
invertRegex: true,
|
|
1582
|
+
tag: "Test string",
|
|
1583
|
+
},
|
|
1584
|
+
repository: "Test string",
|
|
1585
|
+
repositoryType: "Test string",
|
|
1586
|
+
},
|
|
1573
1587
|
resourceName: "Test string",
|
|
1574
1588
|
serviceAccount: "Test string",
|
|
1575
1589
|
sourceToBuild: {
|
|
@@ -2048,6 +2062,20 @@ gapi.load('client', async () => {
|
|
|
2048
2062
|
subscription: "Test string",
|
|
2049
2063
|
topic: "Test string",
|
|
2050
2064
|
},
|
|
2065
|
+
repositoryEventConfig: {
|
|
2066
|
+
pullRequest: {
|
|
2067
|
+
branch: "Test string",
|
|
2068
|
+
commentControl: "Test string",
|
|
2069
|
+
invertRegex: true,
|
|
2070
|
+
},
|
|
2071
|
+
push: {
|
|
2072
|
+
branch: "Test string",
|
|
2073
|
+
invertRegex: true,
|
|
2074
|
+
tag: "Test string",
|
|
2075
|
+
},
|
|
2076
|
+
repository: "Test string",
|
|
2077
|
+
repositoryType: "Test string",
|
|
2078
|
+
},
|
|
2051
2079
|
resourceName: "Test string",
|
|
2052
2080
|
serviceAccount: "Test string",
|
|
2053
2081
|
sourceToBuild: {
|
|
@@ -2616,6 +2644,20 @@ gapi.load('client', async () => {
|
|
|
2616
2644
|
subscription: "Test string",
|
|
2617
2645
|
topic: "Test string",
|
|
2618
2646
|
},
|
|
2647
|
+
repositoryEventConfig: {
|
|
2648
|
+
pullRequest: {
|
|
2649
|
+
branch: "Test string",
|
|
2650
|
+
commentControl: "Test string",
|
|
2651
|
+
invertRegex: true,
|
|
2652
|
+
},
|
|
2653
|
+
push: {
|
|
2654
|
+
branch: "Test string",
|
|
2655
|
+
invertRegex: true,
|
|
2656
|
+
tag: "Test string",
|
|
2657
|
+
},
|
|
2658
|
+
repository: "Test string",
|
|
2659
|
+
repositoryType: "Test string",
|
|
2660
|
+
},
|
|
2619
2661
|
resourceName: "Test string",
|
|
2620
2662
|
serviceAccount: "Test string",
|
|
2621
2663
|
sourceToBuild: {
|
|
@@ -3093,6 +3135,20 @@ gapi.load('client', async () => {
|
|
|
3093
3135
|
subscription: "Test string",
|
|
3094
3136
|
topic: "Test string",
|
|
3095
3137
|
},
|
|
3138
|
+
repositoryEventConfig: {
|
|
3139
|
+
pullRequest: {
|
|
3140
|
+
branch: "Test string",
|
|
3141
|
+
commentControl: "Test string",
|
|
3142
|
+
invertRegex: true,
|
|
3143
|
+
},
|
|
3144
|
+
push: {
|
|
3145
|
+
branch: "Test string",
|
|
3146
|
+
invertRegex: true,
|
|
3147
|
+
tag: "Test string",
|
|
3148
|
+
},
|
|
3149
|
+
repository: "Test string",
|
|
3150
|
+
repositoryType: "Test string",
|
|
3151
|
+
},
|
|
3096
3152
|
resourceName: "Test string",
|
|
3097
3153
|
serviceAccount: "Test string",
|
|
3098
3154
|
sourceToBuild: {
|