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.githubEnterpriseConfigs.html
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -103,18 +103,18 @@ <h3>Method Details</h3>
103
103
<pre>Create an association between a GCP project and a GitHub Enterprise server.
104
104
105
105
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)
107
107
body: object, The request body.
108
108
The object takes the form of:
109
109
110
110
{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
111
111
"appId": "A String", # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
112
112
"createTime": "A String", # Output only. Time when the installation was associated with the project.
113
-
"displayName": "A String", # Name to display for this config.
113
+
"displayName": "A String", # Optional. Name to display for this config.
114
114
"hostUrl": "A String", # The URL of the github enterprise host the configuration is for.
115
-
"name": "A String", # Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
115
+
"name": "A String", # The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
116
116
"peeredNetwork": "A String", # 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
-
"secrets": { # 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
+
"secrets": { # 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.
118
118
"oauthClientIdName": "A String", # The resource name for the OAuth client ID secret in Secret Manager.
119
119
"oauthClientIdVersionName": "A String", # The resource name for the OAuth client ID secret version in Secret Manager.
120
120
"oauthSecretName": "A String", # The resource name for the OAuth secret in Secret Manager.
@@ -215,11 +215,11 @@ <h3>Method Details</h3>
215
215
{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
216
216
"appId": "A String", # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
217
217
"createTime": "A String", # Output only. Time when the installation was associated with the project.
218
-
"displayName": "A String", # Name to display for this config.
218
+
"displayName": "A String", # Optional. Name to display for this config.
219
219
"hostUrl": "A String", # The URL of the github enterprise host the configuration is for.
220
-
"name": "A String", # Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
220
+
"name": "A String", # The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
221
221
"peeredNetwork": "A String", # 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
-
"secrets": { # 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
+
"secrets": { # 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.
223
223
"oauthClientIdName": "A String", # The resource name for the OAuth client ID secret in Secret Manager.
224
224
"oauthClientIdVersionName": "A String", # The resource name for the OAuth client ID secret version in Secret Manager.
225
225
"oauthSecretName": "A String", # The resource name for the OAuth secret in Secret Manager.
@@ -254,11 +254,11 @@ <h3>Method Details</h3>
254
254
{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
255
255
"appId": "A String", # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
256
256
"createTime": "A String", # Output only. Time when the installation was associated with the project.
257
-
"displayName": "A String", # Name to display for this config.
257
+
"displayName": "A String", # Optional. Name to display for this config.
258
258
"hostUrl": "A String", # The URL of the github enterprise host the configuration is for.
259
-
"name": "A String", # Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
259
+
"name": "A String", # The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
260
260
"peeredNetwork": "A String", # 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
-
"secrets": { # 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
+
"secrets": { # 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.
262
262
"oauthClientIdName": "A String", # The resource name for the OAuth client ID secret in Secret Manager.
263
263
"oauthClientIdVersionName": "A String", # The resource name for the OAuth client ID secret version in Secret Manager.
264
264
"oauthSecretName": "A String", # The resource name for the OAuth secret in Secret Manager.
@@ -280,18 +280,18 @@ <h3>Method Details</h3>
280
280
<pre>Update an association between a GCP project and a GitHub Enterprise server.
281
281
282
282
Args:
283
-
name: string, Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" (required)
283
+
name: string, The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" (required)
284
284
body: object, The request body.
285
285
The object takes the form of:
286
286
287
287
{ # GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
288
288
"appId": "A String", # Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
289
289
"createTime": "A String", # Output only. Time when the installation was associated with the project.
290
-
"displayName": "A String", # Name to display for this config.
290
+
"displayName": "A String", # Optional. Name to display for this config.
291
291
"hostUrl": "A String", # The URL of the github enterprise host the configuration is for.
292
-
"name": "A String", # Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
292
+
"name": "A String", # The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
293
293
"peeredNetwork": "A String", # 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
-
"secrets": { # 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
+
"secrets": { # 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.
295
295
"oauthClientIdName": "A String", # The resource name for the OAuth client ID secret in Secret Manager.
296
296
"oauthClientIdVersionName": "A String", # The resource name for the OAuth client ID secret version in Secret Manager.
297
297
"oauthSecretName": "A String", # The resource name for the OAuth secret in Secret Manager.
0 commit comments