Skip to content

Commit 74ed4da

Browse files
feat(cloudbuild): update the api
#### cloudbuild:v2 The following keys were added: - schemas.Step.properties.onError.type (Total Keys: 1)
1 parent aee0987 commit 74ed4da

7 files changed

+96
-76
lines changed

docs/dyn/cloudbuild_v1.projects.githubEnterpriseConfigs.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -103,18 +103,18 @@ <h3>Method Details</h3>
103103
<pre>Create an association between a GCP project and a GitHub Enterprise server.
104104

105105
Args:
106-
parent: string, Name of the parent project. For example: projects/{$project_number} or projects/{$project_id} (required)
106+
parent: string, Required. Name of the parent project. For example: projects/{$project_number} or projects/{$project_id} (required)
107107
body: object, The request body.
108108
The object takes the form of:
109109

110110
{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
111111
&quot;appId&quot;: &quot;A String&quot;, # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
112112
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the installation was associated with the project.
113-
&quot;displayName&quot;: &quot;A String&quot;, # Name to display for this config.
113+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Name to display for this config.
114114
&quot;hostUrl&quot;: &quot;A String&quot;, # The URL of the github enterprise host the configuration is for.
115-
&quot;name&quot;: &quot;A String&quot;, # Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot;
115+
&quot;name&quot;: &quot;A String&quot;, # The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot;
116116
&quot;peeredNetwork&quot;: &quot;A String&quot;, # 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.
117-
&quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Names of secrets in Secret Manager.
117+
&quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Optional. Names of secrets in Secret Manager.
118118
&quot;oauthClientIdName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret in Secret Manager.
119119
&quot;oauthClientIdVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret version in Secret Manager.
120120
&quot;oauthSecretName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret in Secret Manager.
@@ -215,11 +215,11 @@ <h3>Method Details</h3>
215215
{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
216216
&quot;appId&quot;: &quot;A String&quot;, # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
217217
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the installation was associated with the project.
218-
&quot;displayName&quot;: &quot;A String&quot;, # Name to display for this config.
218+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Name to display for this config.
219219
&quot;hostUrl&quot;: &quot;A String&quot;, # The URL of the github enterprise host the configuration is for.
220-
&quot;name&quot;: &quot;A String&quot;, # Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot;
220+
&quot;name&quot;: &quot;A String&quot;, # The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot;
221221
&quot;peeredNetwork&quot;: &quot;A String&quot;, # 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.
222-
&quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Names of secrets in Secret Manager.
222+
&quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Optional. Names of secrets in Secret Manager.
223223
&quot;oauthClientIdName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret in Secret Manager.
224224
&quot;oauthClientIdVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret version in Secret Manager.
225225
&quot;oauthSecretName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret in Secret Manager.
@@ -254,11 +254,11 @@ <h3>Method Details</h3>
254254
{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
255255
&quot;appId&quot;: &quot;A String&quot;, # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
256256
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the installation was associated with the project.
257-
&quot;displayName&quot;: &quot;A String&quot;, # Name to display for this config.
257+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Name to display for this config.
258258
&quot;hostUrl&quot;: &quot;A String&quot;, # The URL of the github enterprise host the configuration is for.
259-
&quot;name&quot;: &quot;A String&quot;, # Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot;
259+
&quot;name&quot;: &quot;A String&quot;, # The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot;
260260
&quot;peeredNetwork&quot;: &quot;A String&quot;, # 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.
261-
&quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Names of secrets in Secret Manager.
261+
&quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Optional. Names of secrets in Secret Manager.
262262
&quot;oauthClientIdName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret in Secret Manager.
263263
&quot;oauthClientIdVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret version in Secret Manager.
264264
&quot;oauthSecretName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret in Secret Manager.
@@ -280,18 +280,18 @@ <h3>Method Details</h3>
280280
<pre>Update an association between a GCP project and a GitHub Enterprise server.
281281

282282
Args:
283-
name: string, Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot; (required)
283+
name: string, The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot; (required)
284284
body: object, The request body.
285285
The object takes the form of:
286286

287287
{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
288288
&quot;appId&quot;: &quot;A String&quot;, # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
289289
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when the installation was associated with the project.
290-
&quot;displayName&quot;: &quot;A String&quot;, # Name to display for this config.
290+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Name to display for this config.
291291
&quot;hostUrl&quot;: &quot;A String&quot;, # The URL of the github enterprise host the configuration is for.
292-
&quot;name&quot;: &quot;A String&quot;, # Optional. The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot;
292+
&quot;name&quot;: &quot;A String&quot;, # The full resource name for the GitHubEnterpriseConfig For example: &quot;projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}&quot;
293293
&quot;peeredNetwork&quot;: &quot;A String&quot;, # 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.
294-
&quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Names of secrets in Secret Manager.
294+
&quot;secrets&quot;: { # GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/. # Optional. Names of secrets in Secret Manager.
295295
&quot;oauthClientIdName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret in Secret Manager.
296296
&quot;oauthClientIdVersionName&quot;: &quot;A String&quot;, # The resource name for the OAuth client ID secret version in Secret Manager.
297297
&quot;oauthSecretName&quot;: &quot;A String&quot;, # The resource name for the OAuth secret in Secret Manager.

0 commit comments

Comments
 (0)