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: clients/developer_connect/lib/google_api/developer_connect/v1/api/projects.ex
+144Lines changed: 144 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1303,6 +1303,150 @@ defmodule GoogleApi.DeveloperConnect.V1.Api.Projects do
1303
1303
)
1304
1304
end
1305
1305
1306
+
@doc"""
1307
+
ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events.
1308
+
1309
+
## Parameters
1310
+
1311
+
* `connection` (*type:* `GoogleApi.DeveloperConnect.V1.Connection.t`) - Connection to server
1312
+
* `name` (*type:* `String.t`) - Required. The GitRepositoryLink where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
* `:alt` (*type:* `String.t`) - Data format for response.
1317
+
* `:callback` (*type:* `String.t`) - JSONP
1318
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
1319
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
1320
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
1321
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
1322
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
1323
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
1324
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
ProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events.
1380
+
1381
+
## Parameters
1382
+
1383
+
* `connection` (*type:* `GoogleApi.DeveloperConnect.V1.Connection.t`) - Connection to server
1384
+
* `name` (*type:* `String.t`) - Required. The GitRepositoryLink where the webhook will be received. Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
* `:alt` (*type:* `String.t`) - Data format for response.
1389
+
* `:callback` (*type:* `String.t`) - JSONP
1390
+
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
1391
+
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
1392
+
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
1393
+
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
1394
+
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
1395
+
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
1396
+
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
Configuration for connections to an instance of Bitbucket Cloud.
21
+
22
+
## Attributes
23
+
24
+
* `authorizerCredential` (*type:* `GoogleApi.DeveloperConnect.V1.Model.UserCredential.t`, *default:* `nil`) - Required. An access token with the minimum `repository`, `pullrequest` and `webhook` scope access. It can either be a workspace, project or repository access token. This is needed to create webhooks. It's recommended to use a system account to generate these credentials.
25
+
* `readAuthorizerCredential` (*type:* `GoogleApi.DeveloperConnect.V1.Model.UserCredential.t`, *default:* `nil`) - Required. An access token with the minimum `repository` access. It can either be a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.
26
+
* `webhookSecretSecretVersion` (*type:* `String.t`, *default:* `nil`) - Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`. This is used to validate and create webhooks.
27
+
* `workspace` (*type:* `String.t`, *default:* `nil`) - Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
Configuration for connections to an instance of Bitbucket Data Center.
21
+
22
+
## Attributes
23
+
24
+
* `authorizerCredential` (*type:* `GoogleApi.DeveloperConnect.V1.Model.UserCredential.t`, *default:* `nil`) - Required. An http access token with the minimum `Repository admin` scope access. This is needed to create webhooks. It's recommended to use a system account to generate these credentials.
25
+
* `hostUri` (*type:* `String.t`, *default:* `nil`) - Required. The URI of the Bitbucket Data Center host this connection is for.
26
+
* `readAuthorizerCredential` (*type:* `GoogleApi.DeveloperConnect.V1.Model.UserCredential.t`, *default:* `nil`) - Required. An http access token with the minimum `Repository read` access. It's recommended to use a system account to generate the credentials.
27
+
* `serverVersion` (*type:* `String.t`, *default:* `nil`) - Output only. Version of the Bitbucket Data Center server running on the `host_uri`.
28
+
* `serviceDirectoryConfig` (*type:* `GoogleApi.DeveloperConnect.V1.Model.ServiceDirectoryConfig.t`, *default:* `nil`) - Optional. Configuration for using Service Directory to privately connect to a Bitbucket Data Center instance. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet.
29
+
* `sslCaCertificate` (*type:* `String.t`, *default:* `nil`) - Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.
30
+
* `webhookSecretSecretVersion` (*type:* `String.t`, *default:* `nil`) - Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`. This is used to validate webhooks.
Copy file name to clipboardExpand all lines: clients/developer_connect/lib/google_api/developer_connect/v1/model/connection.ex
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,14 @@ defmodule GoogleApi.DeveloperConnect.V1.Model.Connection do
22
22
## Attributes
23
23
24
24
* `annotations` (*type:* `map()`, *default:* `nil`) - Optional. Allows clients to store small amounts of arbitrary data.
25
+
* `bitbucketCloudConfig` (*type:* `GoogleApi.DeveloperConnect.V1.Model.BitbucketCloudConfig.t`, *default:* `nil`) - Configuration for connections to an instance of Bitbucket Clouds.
26
+
* `bitbucketDataCenterConfig` (*type:* `GoogleApi.DeveloperConnect.V1.Model.BitbucketDataCenterConfig.t`, *default:* `nil`) - Configuration for connections to an instance of Bitbucket Data Center.
* `cryptoKeyConfig` (*type:* `GoogleApi.DeveloperConnect.V1.Model.CryptoKeyConfig.t`, *default:* `nil`) - Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.
* `disabled` (*type:* `boolean()`, *default:* `nil`) - Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
29
31
* `etag` (*type:* `String.t`, *default:* `nil`) - Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
32
+
* `gitProxyConfig` (*type:* `GoogleApi.DeveloperConnect.V1.Model.GitProxyConfig.t`, *default:* `nil`) - Optional. Configuration for the git proxy feature. Enabling the git proxy allows clients to perform git operations on the repositories linked in the connection.
30
33
* `githubConfig` (*type:* `GoogleApi.DeveloperConnect.V1.Model.GitHubConfig.t`, *default:* `nil`) - Configuration for connections to github.com.
31
34
* `githubEnterpriseConfig` (*type:* `GoogleApi.DeveloperConnect.V1.Model.GitHubEnterpriseConfig.t`, *default:* `nil`) - Configuration for connections to an instance of GitHub Enterprise.
32
35
* `gitlabConfig` (*type:* `GoogleApi.DeveloperConnect.V1.Model.GitLabConfig.t`, *default:* `nil`) - Configuration for connections to gitlab.com.
@@ -43,11 +46,16 @@ defmodule GoogleApi.DeveloperConnect.V1.Model.Connection do
* `enabled` (*type:* `boolean()`, *default:* `nil`) - Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.
0 commit comments