You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/cloudbuild_v1.projects.locations.triggers.html
+24
Original file line number
Diff line number
Diff line change
@@ -405,6 +405,8 @@ <h3>Method Details</h3>
405
405
"filename": "A String", # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
406
406
"filter": "A String", # A Common Expression Language string.
407
407
"gitFileSource": { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
408
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
409
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
408
410
"path": "A String", # The path of the file, with the repo root as the root of the path.
409
411
"repoType": "A String", # See RepoType above.
410
412
"revision": "A String", # The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
@@ -443,6 +445,8 @@ <h3>Method Details</h3>
443
445
"resourceName": "A String", # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
444
446
"serviceAccount": "A String", # The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`
445
447
"sourceToBuild": { # GitRepoSource describes a repo and ref of a code repository. # The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
448
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
449
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
446
450
"ref": "A String", # The branch or tag to use. Must start with "refs/" (required).
447
451
"repoType": "A String", # See RepoType below.
448
452
"uri": "A String", # The URI of the repo (required).
@@ -769,6 +773,8 @@ <h3>Method Details</h3>
769
773
"filename": "A String", # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
770
774
"filter": "A String", # A Common Expression Language string.
771
775
"gitFileSource": { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
776
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
777
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
772
778
"path": "A String", # The path of the file, with the repo root as the root of the path.
773
779
"repoType": "A String", # See RepoType above.
774
780
"revision": "A String", # The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
@@ -807,6 +813,8 @@ <h3>Method Details</h3>
807
813
"resourceName": "A String", # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
808
814
"serviceAccount": "A String", # The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`
809
815
"sourceToBuild": { # GitRepoSource describes a repo and ref of a code repository. # The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
816
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
817
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
810
818
"ref": "A String", # The branch or tag to use. Must start with "refs/" (required).
811
819
"repoType": "A String", # See RepoType below.
812
820
"uri": "A String", # The URI of the repo (required).
@@ -1161,6 +1169,8 @@ <h3>Method Details</h3>
1161
1169
"filename": "A String", # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
1162
1170
"filter": "A String", # A Common Expression Language string.
1163
1171
"gitFileSource": { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
1172
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1173
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
1164
1174
"path": "A String", # The path of the file, with the repo root as the root of the path.
1165
1175
"repoType": "A String", # See RepoType above.
1166
1176
"revision": "A String", # The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
@@ -1199,6 +1209,8 @@ <h3>Method Details</h3>
1199
1209
"resourceName": "A String", # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
1200
1210
"serviceAccount": "A String", # The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`
1201
1211
"sourceToBuild": { # GitRepoSource describes a repo and ref of a code repository. # The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
1212
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1213
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
1202
1214
"ref": "A String", # The branch or tag to use. Must start with "refs/" (required).
1203
1215
"repoType": "A String", # See RepoType below.
1204
1216
"uri": "A String", # The URI of the repo (required).
@@ -1537,6 +1549,8 @@ <h3>Method Details</h3>
1537
1549
"filename": "A String", # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
1538
1550
"filter": "A String", # A Common Expression Language string.
1539
1551
"gitFileSource": { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
1552
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1553
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
1540
1554
"path": "A String", # The path of the file, with the repo root as the root of the path.
1541
1555
"repoType": "A String", # See RepoType above.
1542
1556
"revision": "A String", # The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
@@ -1575,6 +1589,8 @@ <h3>Method Details</h3>
1575
1589
"resourceName": "A String", # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
1576
1590
"serviceAccount": "A String", # The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`
1577
1591
"sourceToBuild": { # GitRepoSource describes a repo and ref of a code repository. # The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
1592
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1593
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
1578
1594
"ref": "A String", # The branch or tag to use. Must start with "refs/" (required).
1579
1595
"repoType": "A String", # See RepoType below.
1580
1596
"uri": "A String", # The URI of the repo (required).
@@ -1918,6 +1934,8 @@ <h3>Method Details</h3>
1918
1934
"filename": "A String", # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
1919
1935
"filter": "A String", # A Common Expression Language string.
1920
1936
"gitFileSource": { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
1937
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1938
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
1921
1939
"path": "A String", # The path of the file, with the repo root as the root of the path.
1922
1940
"repoType": "A String", # See RepoType above.
1923
1941
"revision": "A String", # The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
@@ -1956,6 +1974,8 @@ <h3>Method Details</h3>
1956
1974
"resourceName": "A String", # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
1957
1975
"serviceAccount": "A String", # The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`
1958
1976
"sourceToBuild": { # GitRepoSource describes a repo and ref of a code repository. # The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
1977
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1978
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
1959
1979
"ref": "A String", # The branch or tag to use. Must start with "refs/" (required).
1960
1980
"repoType": "A String", # See RepoType below.
1961
1981
"uri": "A String", # The URI of the repo (required).
@@ -2283,6 +2303,8 @@ <h3>Method Details</h3>
2283
2303
"filename": "A String", # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
2284
2304
"filter": "A String", # A Common Expression Language string.
2285
2305
"gitFileSource": { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
2306
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
2307
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
2286
2308
"path": "A String", # The path of the file, with the repo root as the root of the path.
2287
2309
"repoType": "A String", # See RepoType above.
2288
2310
"revision": "A String", # The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
@@ -2321,6 +2343,8 @@ <h3>Method Details</h3>
2321
2343
"resourceName": "A String", # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
2322
2344
"serviceAccount": "A String", # The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}`
2323
2345
"sourceToBuild": { # GitRepoSource describes a repo and ref of a code repository. # The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
2346
+
"bitbucketServerConfig": "A String", # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
2347
+
"githubEnterpriseConfig": "A String", # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
2324
2348
"ref": "A String", # The branch or tag to use. Must start with "refs/" (required).
2325
2349
"repoType": "A String", # See RepoType below.
2326
2350
"uri": "A String", # The URI of the repo (required).
0 commit comments