Skip to content

Commit dcd2c37

Browse files
feat(cloudbuild): update the api
#### cloudbuild:v1 The following keys were added: - schemas.GitFileSource.properties.bitbucketServerConfig.type (Total Keys: 1) - schemas.GitFileSource.properties.githubEnterpriseConfig.type (Total Keys: 1) - schemas.GitRepoSource.properties.bitbucketServerConfig.type (Total Keys: 1) - schemas.GitRepoSource.properties.githubEnterpriseConfig.type (Total Keys: 1) - schemas.RunWorkflowCustomOperationMetadata (Total Keys: 18) #### cloudbuild:v1alpha1 The following keys were added: - schemas.RunWorkflowCustomOperationMetadata (Total Keys: 18) #### cloudbuild:v1alpha2 The following keys were added: - schemas.RunWorkflowCustomOperationMetadata (Total Keys: 18) #### cloudbuild:v1beta1 The following keys were added: - schemas.RunWorkflowCustomOperationMetadata (Total Keys: 18)
1 parent 72c1cbc commit dcd2c37

6 files changed

+252
-8
lines changed

docs/dyn/cloudbuild_v1.projects.locations.triggers.html

+24
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,8 @@ <h3>Method Details</h3>
405405
&quot;filename&quot;: &quot;A String&quot;, # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
406406
&quot;filter&quot;: &quot;A String&quot;, # A Common Expression Language string.
407407
&quot;gitFileSource&quot;: { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
408+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
409+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
408410
&quot;path&quot;: &quot;A String&quot;, # The path of the file, with the repo root as the root of the path.
409411
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType above.
410412
&quot;revision&quot;: &quot;A String&quot;, # 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>
443445
&quot;resourceName&quot;: &quot;A String&quot;, # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
444446
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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}`
445447
&quot;sourceToBuild&quot;: { # 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+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
449+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
446450
&quot;ref&quot;: &quot;A String&quot;, # The branch or tag to use. Must start with &quot;refs/&quot; (required).
447451
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType below.
448452
&quot;uri&quot;: &quot;A String&quot;, # The URI of the repo (required).
@@ -769,6 +773,8 @@ <h3>Method Details</h3>
769773
&quot;filename&quot;: &quot;A String&quot;, # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
770774
&quot;filter&quot;: &quot;A String&quot;, # A Common Expression Language string.
771775
&quot;gitFileSource&quot;: { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
776+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
777+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
772778
&quot;path&quot;: &quot;A String&quot;, # The path of the file, with the repo root as the root of the path.
773779
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType above.
774780
&quot;revision&quot;: &quot;A String&quot;, # 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>
807813
&quot;resourceName&quot;: &quot;A String&quot;, # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
808814
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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}`
809815
&quot;sourceToBuild&quot;: { # 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+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
817+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
810818
&quot;ref&quot;: &quot;A String&quot;, # The branch or tag to use. Must start with &quot;refs/&quot; (required).
811819
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType below.
812820
&quot;uri&quot;: &quot;A String&quot;, # The URI of the repo (required).
@@ -1161,6 +1169,8 @@ <h3>Method Details</h3>
11611169
&quot;filename&quot;: &quot;A String&quot;, # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
11621170
&quot;filter&quot;: &quot;A String&quot;, # A Common Expression Language string.
11631171
&quot;gitFileSource&quot;: { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
1172+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1173+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
11641174
&quot;path&quot;: &quot;A String&quot;, # The path of the file, with the repo root as the root of the path.
11651175
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType above.
11661176
&quot;revision&quot;: &quot;A String&quot;, # 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>
11991209
&quot;resourceName&quot;: &quot;A String&quot;, # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
12001210
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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}`
12011211
&quot;sourceToBuild&quot;: { # 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+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1213+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
12021214
&quot;ref&quot;: &quot;A String&quot;, # The branch or tag to use. Must start with &quot;refs/&quot; (required).
12031215
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType below.
12041216
&quot;uri&quot;: &quot;A String&quot;, # The URI of the repo (required).
@@ -1537,6 +1549,8 @@ <h3>Method Details</h3>
15371549
&quot;filename&quot;: &quot;A String&quot;, # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
15381550
&quot;filter&quot;: &quot;A String&quot;, # A Common Expression Language string.
15391551
&quot;gitFileSource&quot;: { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
1552+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1553+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
15401554
&quot;path&quot;: &quot;A String&quot;, # The path of the file, with the repo root as the root of the path.
15411555
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType above.
15421556
&quot;revision&quot;: &quot;A String&quot;, # 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>
15751589
&quot;resourceName&quot;: &quot;A String&quot;, # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
15761590
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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}`
15771591
&quot;sourceToBuild&quot;: { # 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+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1593+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
15781594
&quot;ref&quot;: &quot;A String&quot;, # The branch or tag to use. Must start with &quot;refs/&quot; (required).
15791595
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType below.
15801596
&quot;uri&quot;: &quot;A String&quot;, # The URI of the repo (required).
@@ -1918,6 +1934,8 @@ <h3>Method Details</h3>
19181934
&quot;filename&quot;: &quot;A String&quot;, # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
19191935
&quot;filter&quot;: &quot;A String&quot;, # A Common Expression Language string.
19201936
&quot;gitFileSource&quot;: { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
1937+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1938+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
19211939
&quot;path&quot;: &quot;A String&quot;, # The path of the file, with the repo root as the root of the path.
19221940
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType above.
19231941
&quot;revision&quot;: &quot;A String&quot;, # 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>
19561974
&quot;resourceName&quot;: &quot;A String&quot;, # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
19571975
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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}`
19581976
&quot;sourceToBuild&quot;: { # 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+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
1978+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
19591979
&quot;ref&quot;: &quot;A String&quot;, # The branch or tag to use. Must start with &quot;refs/&quot; (required).
19601980
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType below.
19611981
&quot;uri&quot;: &quot;A String&quot;, # The URI of the repo (required).
@@ -2283,6 +2303,8 @@ <h3>Method Details</h3>
22832303
&quot;filename&quot;: &quot;A String&quot;, # Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).
22842304
&quot;filter&quot;: &quot;A String&quot;, # A Common Expression Language string.
22852305
&quot;gitFileSource&quot;: { # GitFileSource describes a file within a (possibly remote) code repository. # The file source describing the local or remote Build template.
2306+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
2307+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
22862308
&quot;path&quot;: &quot;A String&quot;, # The path of the file, with the repo root as the root of the path.
22872309
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType above.
22882310
&quot;revision&quot;: &quot;A String&quot;, # 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>
23212343
&quot;resourceName&quot;: &quot;A String&quot;, # The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.
23222344
&quot;serviceAccount&quot;: &quot;A String&quot;, # 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}`
23232345
&quot;sourceToBuild&quot;: { # 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+
&quot;bitbucketServerConfig&quot;: &quot;A String&quot;, # The full resource name of the bitbucket server config. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{id}`.
2347+
&quot;githubEnterpriseConfig&quot;: &quot;A String&quot;, # The full resource name of the github enterprise config. Format: `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. `projects/{project}/githubEnterpriseConfigs/{id}`.
23242348
&quot;ref&quot;: &quot;A String&quot;, # The branch or tag to use. Must start with &quot;refs/&quot; (required).
23252349
&quot;repoType&quot;: &quot;A String&quot;, # See RepoType below.
23262350
&quot;uri&quot;: &quot;A String&quot;, # The URI of the repo (required).

0 commit comments

Comments
 (0)