google-apis-developerconnect_v1 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/developerconnect_v1/classes.rb +219 -0
- data/lib/google/apis/developerconnect_v1/gem_version.rb +3 -3
- data/lib/google/apis/developerconnect_v1/representations.rb +88 -0
- data/lib/google/apis/developerconnect_v1/service.rb +70 -0
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2447ce71021b91dbe31641b958f196d897e168e2085a8fb5e974f28095e4364e
|
4
|
+
data.tar.gz: 272e7a5147a3a5b388c0ece85661b591a0698a4f49c8eea9f0c3adcb162034c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c25bf91850012f3a16323e6fe015b22f5929daa5a47614c57ab8c6cb72b55328a4215532007b749e3cf43ccf96b43cecd2e5459d54d00664eecbaf34fbf967e8
|
7
|
+
data.tar.gz: 8c185a18a62682d2e290ccbea7af3284564794770e3859118ecccf8bf8137c6e1279de2335c2bc5a56e9092e778333bcbc746aa4b2f56f280960e2ff454c2ada
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-developerconnect_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250129
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.5.0 (2024-12-15)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241205
|
@@ -22,6 +22,110 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DeveloperconnectV1
|
24
24
|
|
25
|
+
# Configuration for connections to an instance of Bitbucket Cloud.
|
26
|
+
class BitbucketCloudConfig
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Represents a personal access token that authorized the Connection, and
|
30
|
+
# associated metadata.
|
31
|
+
# Corresponds to the JSON property `authorizerCredential`
|
32
|
+
# @return [Google::Apis::DeveloperconnectV1::UserCredential]
|
33
|
+
attr_accessor :authorizer_credential
|
34
|
+
|
35
|
+
# Represents a personal access token that authorized the Connection, and
|
36
|
+
# associated metadata.
|
37
|
+
# Corresponds to the JSON property `readAuthorizerCredential`
|
38
|
+
# @return [Google::Apis::DeveloperconnectV1::UserCredential]
|
39
|
+
attr_accessor :read_authorizer_credential
|
40
|
+
|
41
|
+
# Required. Immutable. SecretManager resource containing the webhook secret used
|
42
|
+
# to verify webhook events, formatted as `projects/*/secrets/*/versions/*`. This
|
43
|
+
# is used to validate and create webhooks.
|
44
|
+
# Corresponds to the JSON property `webhookSecretSecretVersion`
|
45
|
+
# @return [String]
|
46
|
+
attr_accessor :webhook_secret_secret_version
|
47
|
+
|
48
|
+
# Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud
|
49
|
+
# Platform.
|
50
|
+
# Corresponds to the JSON property `workspace`
|
51
|
+
# @return [String]
|
52
|
+
attr_accessor :workspace
|
53
|
+
|
54
|
+
def initialize(**args)
|
55
|
+
update!(**args)
|
56
|
+
end
|
57
|
+
|
58
|
+
# Update properties of this object
|
59
|
+
def update!(**args)
|
60
|
+
@authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential)
|
61
|
+
@read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential)
|
62
|
+
@webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version)
|
63
|
+
@workspace = args[:workspace] if args.key?(:workspace)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# Configuration for connections to an instance of Bitbucket Data Center.
|
68
|
+
class BitbucketDataCenterConfig
|
69
|
+
include Google::Apis::Core::Hashable
|
70
|
+
|
71
|
+
# Represents a personal access token that authorized the Connection, and
|
72
|
+
# associated metadata.
|
73
|
+
# Corresponds to the JSON property `authorizerCredential`
|
74
|
+
# @return [Google::Apis::DeveloperconnectV1::UserCredential]
|
75
|
+
attr_accessor :authorizer_credential
|
76
|
+
|
77
|
+
# Required. The URI of the Bitbucket Data Center host this connection is for.
|
78
|
+
# Corresponds to the JSON property `hostUri`
|
79
|
+
# @return [String]
|
80
|
+
attr_accessor :host_uri
|
81
|
+
|
82
|
+
# Represents a personal access token that authorized the Connection, and
|
83
|
+
# associated metadata.
|
84
|
+
# Corresponds to the JSON property `readAuthorizerCredential`
|
85
|
+
# @return [Google::Apis::DeveloperconnectV1::UserCredential]
|
86
|
+
attr_accessor :read_authorizer_credential
|
87
|
+
|
88
|
+
# Output only. Version of the Bitbucket Data Center server running on the `
|
89
|
+
# host_uri`.
|
90
|
+
# Corresponds to the JSON property `serverVersion`
|
91
|
+
# @return [String]
|
92
|
+
attr_accessor :server_version
|
93
|
+
|
94
|
+
# ServiceDirectoryConfig represents Service Directory configuration for a
|
95
|
+
# connection.
|
96
|
+
# Corresponds to the JSON property `serviceDirectoryConfig`
|
97
|
+
# @return [Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig]
|
98
|
+
attr_accessor :service_directory_config
|
99
|
+
|
100
|
+
# Optional. SSL certificate authority to trust when making requests to Bitbucket
|
101
|
+
# Data Center.
|
102
|
+
# Corresponds to the JSON property `sslCaCertificate`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :ssl_ca_certificate
|
105
|
+
|
106
|
+
# Required. Immutable. SecretManager resource containing the webhook secret used
|
107
|
+
# to verify webhook events, formatted as `projects/*/secrets/*/versions/*`. This
|
108
|
+
# is used to validate webhooks.
|
109
|
+
# Corresponds to the JSON property `webhookSecretSecretVersion`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :webhook_secret_secret_version
|
112
|
+
|
113
|
+
def initialize(**args)
|
114
|
+
update!(**args)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Update properties of this object
|
118
|
+
def update!(**args)
|
119
|
+
@authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential)
|
120
|
+
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
121
|
+
@read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential)
|
122
|
+
@server_version = args[:server_version] if args.key?(:server_version)
|
123
|
+
@service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
|
124
|
+
@ssl_ca_certificate = args[:ssl_ca_certificate] if args.key?(:ssl_ca_certificate)
|
125
|
+
@webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version)
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
25
129
|
# The request message for Operations.CancelOperation.
|
26
130
|
class CancelOperationRequest
|
27
131
|
include Google::Apis::Core::Hashable
|
@@ -44,6 +148,16 @@ module Google
|
|
44
148
|
# @return [Hash<String,String>]
|
45
149
|
attr_accessor :annotations
|
46
150
|
|
151
|
+
# Configuration for connections to an instance of Bitbucket Cloud.
|
152
|
+
# Corresponds to the JSON property `bitbucketCloudConfig`
|
153
|
+
# @return [Google::Apis::DeveloperconnectV1::BitbucketCloudConfig]
|
154
|
+
attr_accessor :bitbucket_cloud_config
|
155
|
+
|
156
|
+
# Configuration for connections to an instance of Bitbucket Data Center.
|
157
|
+
# Corresponds to the JSON property `bitbucketDataCenterConfig`
|
158
|
+
# @return [Google::Apis::DeveloperconnectV1::BitbucketDataCenterConfig]
|
159
|
+
attr_accessor :bitbucket_data_center_config
|
160
|
+
|
47
161
|
# Output only. [Output only] Create timestamp
|
48
162
|
# Corresponds to the JSON property `createTime`
|
49
163
|
# @return [String]
|
@@ -75,6 +189,11 @@ module Google
|
|
75
189
|
# @return [String]
|
76
190
|
attr_accessor :etag
|
77
191
|
|
192
|
+
# The git proxy configuration.
|
193
|
+
# Corresponds to the JSON property `gitProxyConfig`
|
194
|
+
# @return [Google::Apis::DeveloperconnectV1::GitProxyConfig]
|
195
|
+
attr_accessor :git_proxy_config
|
196
|
+
|
78
197
|
# Configuration for connections to github.com.
|
79
198
|
# Corresponds to the JSON property `githubConfig`
|
80
199
|
# @return [Google::Apis::DeveloperconnectV1::GitHubConfig]
|
@@ -136,11 +255,14 @@ module Google
|
|
136
255
|
# Update properties of this object
|
137
256
|
def update!(**args)
|
138
257
|
@annotations = args[:annotations] if args.key?(:annotations)
|
258
|
+
@bitbucket_cloud_config = args[:bitbucket_cloud_config] if args.key?(:bitbucket_cloud_config)
|
259
|
+
@bitbucket_data_center_config = args[:bitbucket_data_center_config] if args.key?(:bitbucket_data_center_config)
|
139
260
|
@create_time = args[:create_time] if args.key?(:create_time)
|
140
261
|
@crypto_key_config = args[:crypto_key_config] if args.key?(:crypto_key_config)
|
141
262
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
142
263
|
@disabled = args[:disabled] if args.key?(:disabled)
|
143
264
|
@etag = args[:etag] if args.key?(:etag)
|
265
|
+
@git_proxy_config = args[:git_proxy_config] if args.key?(:git_proxy_config)
|
144
266
|
@github_config = args[:github_config] if args.key?(:github_config)
|
145
267
|
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
146
268
|
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
@@ -565,6 +687,27 @@ module Google
|
|
565
687
|
end
|
566
688
|
end
|
567
689
|
|
690
|
+
# The git proxy configuration.
|
691
|
+
class GitProxyConfig
|
692
|
+
include Google::Apis::Core::Hashable
|
693
|
+
|
694
|
+
# Optional. Setting this to true allows the git proxy to be used for performing
|
695
|
+
# git operations on the repositories linked in the connection.
|
696
|
+
# Corresponds to the JSON property `enabled`
|
697
|
+
# @return [Boolean]
|
698
|
+
attr_accessor :enabled
|
699
|
+
alias_method :enabled?, :enabled
|
700
|
+
|
701
|
+
def initialize(**args)
|
702
|
+
update!(**args)
|
703
|
+
end
|
704
|
+
|
705
|
+
# Update properties of this object
|
706
|
+
def update!(**args)
|
707
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
568
711
|
# Message describing the GitRepositoryLink object
|
569
712
|
class GitRepositoryLink
|
570
713
|
include Google::Apis::Core::Hashable
|
@@ -596,6 +739,12 @@ module Google
|
|
596
739
|
# @return [String]
|
597
740
|
attr_accessor :etag
|
598
741
|
|
742
|
+
# Output only. URI to access the linked repository through the Git Proxy. This
|
743
|
+
# field is only populated if the git proxy is enabled for the connection.
|
744
|
+
# Corresponds to the JSON property `gitProxyUri`
|
745
|
+
# @return [String]
|
746
|
+
attr_accessor :git_proxy_uri
|
747
|
+
|
599
748
|
# Optional. Labels as key value pairs
|
600
749
|
# Corresponds to the JSON property `labels`
|
601
750
|
# @return [Hash<String,String>]
|
@@ -640,6 +789,7 @@ module Google
|
|
640
789
|
@create_time = args[:create_time] if args.key?(:create_time)
|
641
790
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
642
791
|
@etag = args[:etag] if args.key?(:etag)
|
792
|
+
@git_proxy_uri = args[:git_proxy_uri] if args.key?(:git_proxy_uri)
|
643
793
|
@labels = args[:labels] if args.key?(:labels)
|
644
794
|
@name = args[:name] if args.key?(:name)
|
645
795
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
@@ -1089,6 +1239,75 @@ module Google
|
|
1089
1239
|
end
|
1090
1240
|
end
|
1091
1241
|
|
1242
|
+
# RPC request object accepted by the ProcessBitbucketCloudWebhook RPC method.
|
1243
|
+
class ProcessBitbucketCloudWebhookRequest
|
1244
|
+
include Google::Apis::Core::Hashable
|
1245
|
+
|
1246
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
1247
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
1248
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
1249
|
+
# methods in the request as well as the response. It can be used as a top-level
|
1250
|
+
# request field, which is convenient if one wants to extract parameters from
|
1251
|
+
# either the URL or HTTP template into the request fields and also want access
|
1252
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
1253
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
1254
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
1255
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
1256
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
1257
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
1258
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
1259
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
1260
|
+
# only changes how the request and response bodies are handled, all other
|
1261
|
+
# features will continue to work unchanged.
|
1262
|
+
# Corresponds to the JSON property `body`
|
1263
|
+
# @return [Google::Apis::DeveloperconnectV1::HttpBody]
|
1264
|
+
attr_accessor :body
|
1265
|
+
|
1266
|
+
def initialize(**args)
|
1267
|
+
update!(**args)
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
# Update properties of this object
|
1271
|
+
def update!(**args)
|
1272
|
+
@body = args[:body] if args.key?(:body)
|
1273
|
+
end
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
# RPC request object accepted by the ProcessBitbucketDataCenterWebhook RPC
|
1277
|
+
# method.
|
1278
|
+
class ProcessBitbucketDataCenterWebhookRequest
|
1279
|
+
include Google::Apis::Core::Hashable
|
1280
|
+
|
1281
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
1282
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
1283
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
1284
|
+
# methods in the request as well as the response. It can be used as a top-level
|
1285
|
+
# request field, which is convenient if one wants to extract parameters from
|
1286
|
+
# either the URL or HTTP template into the request fields and also want access
|
1287
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
1288
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
1289
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
1290
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
1291
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
1292
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
1293
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
1294
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
1295
|
+
# only changes how the request and response bodies are handled, all other
|
1296
|
+
# features will continue to work unchanged.
|
1297
|
+
# Corresponds to the JSON property `body`
|
1298
|
+
# @return [Google::Apis::DeveloperconnectV1::HttpBody]
|
1299
|
+
attr_accessor :body
|
1300
|
+
|
1301
|
+
def initialize(**args)
|
1302
|
+
update!(**args)
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# Update properties of this object
|
1306
|
+
def update!(**args)
|
1307
|
+
@body = args[:body] if args.key?(:body)
|
1308
|
+
end
|
1309
|
+
end
|
1310
|
+
|
1092
1311
|
# RPC request object accepted by the ProcessGitHubEnterpriseWebhook RPC method.
|
1093
1312
|
class ProcessGitHubEnterpriseWebhookRequest
|
1094
1313
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DeveloperconnectV1
|
18
18
|
# Version of the google-apis-developerconnect_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DeveloperconnectV1
|
24
24
|
|
25
|
+
class BitbucketCloudConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class BitbucketDataCenterConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class CancelOperationRequest
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -112,6 +124,12 @@ module Google
|
|
112
124
|
include Google::Apis::Core::JsonObjectSupport
|
113
125
|
end
|
114
126
|
|
127
|
+
class GitProxyConfig
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
115
133
|
class GitRepositoryLink
|
116
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
135
|
|
@@ -190,6 +208,18 @@ module Google
|
|
190
208
|
include Google::Apis::Core::JsonObjectSupport
|
191
209
|
end
|
192
210
|
|
211
|
+
class ProcessBitbucketCloudWebhookRequest
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class ProcessBitbucketDataCenterWebhookRequest
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
193
223
|
class ProcessGitHubEnterpriseWebhookRequest
|
194
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
225
|
|
@@ -226,6 +256,34 @@ module Google
|
|
226
256
|
include Google::Apis::Core::JsonObjectSupport
|
227
257
|
end
|
228
258
|
|
259
|
+
class BitbucketCloudConfig
|
260
|
+
# @private
|
261
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
262
|
+
property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation
|
263
|
+
|
264
|
+
property :read_authorizer_credential, as: 'readAuthorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation
|
265
|
+
|
266
|
+
property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion'
|
267
|
+
property :workspace, as: 'workspace'
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
class BitbucketDataCenterConfig
|
272
|
+
# @private
|
273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
274
|
+
property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation
|
275
|
+
|
276
|
+
property :host_uri, as: 'hostUri'
|
277
|
+
property :read_authorizer_credential, as: 'readAuthorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation
|
278
|
+
|
279
|
+
property :server_version, as: 'serverVersion'
|
280
|
+
property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig, decorator: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig::Representation
|
281
|
+
|
282
|
+
property :ssl_ca_certificate, as: 'sslCaCertificate'
|
283
|
+
property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion'
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
229
287
|
class CancelOperationRequest
|
230
288
|
# @private
|
231
289
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -236,12 +294,18 @@ module Google
|
|
236
294
|
# @private
|
237
295
|
class Representation < Google::Apis::Core::JsonRepresentation
|
238
296
|
hash :annotations, as: 'annotations'
|
297
|
+
property :bitbucket_cloud_config, as: 'bitbucketCloudConfig', class: Google::Apis::DeveloperconnectV1::BitbucketCloudConfig, decorator: Google::Apis::DeveloperconnectV1::BitbucketCloudConfig::Representation
|
298
|
+
|
299
|
+
property :bitbucket_data_center_config, as: 'bitbucketDataCenterConfig', class: Google::Apis::DeveloperconnectV1::BitbucketDataCenterConfig, decorator: Google::Apis::DeveloperconnectV1::BitbucketDataCenterConfig::Representation
|
300
|
+
|
239
301
|
property :create_time, as: 'createTime'
|
240
302
|
property :crypto_key_config, as: 'cryptoKeyConfig', class: Google::Apis::DeveloperconnectV1::CryptoKeyConfig, decorator: Google::Apis::DeveloperconnectV1::CryptoKeyConfig::Representation
|
241
303
|
|
242
304
|
property :delete_time, as: 'deleteTime'
|
243
305
|
property :disabled, as: 'disabled'
|
244
306
|
property :etag, as: 'etag'
|
307
|
+
property :git_proxy_config, as: 'gitProxyConfig', class: Google::Apis::DeveloperconnectV1::GitProxyConfig, decorator: Google::Apis::DeveloperconnectV1::GitProxyConfig::Representation
|
308
|
+
|
245
309
|
property :github_config, as: 'githubConfig', class: Google::Apis::DeveloperconnectV1::GitHubConfig, decorator: Google::Apis::DeveloperconnectV1::GitHubConfig::Representation
|
246
310
|
|
247
311
|
property :github_enterprise_config, as: 'githubEnterpriseConfig', class: Google::Apis::DeveloperconnectV1::GitHubEnterpriseConfig, decorator: Google::Apis::DeveloperconnectV1::GitHubEnterpriseConfig::Representation
|
@@ -383,6 +447,13 @@ module Google
|
|
383
447
|
end
|
384
448
|
end
|
385
449
|
|
450
|
+
class GitProxyConfig
|
451
|
+
# @private
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
453
|
+
property :enabled, as: 'enabled'
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
386
457
|
class GitRepositoryLink
|
387
458
|
# @private
|
388
459
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -391,6 +462,7 @@ module Google
|
|
391
462
|
property :create_time, as: 'createTime'
|
392
463
|
property :delete_time, as: 'deleteTime'
|
393
464
|
property :etag, as: 'etag'
|
465
|
+
property :git_proxy_uri, as: 'gitProxyUri'
|
394
466
|
hash :labels, as: 'labels'
|
395
467
|
property :name, as: 'name'
|
396
468
|
property :reconciling, as: 'reconciling'
|
@@ -516,6 +588,22 @@ module Google
|
|
516
588
|
end
|
517
589
|
end
|
518
590
|
|
591
|
+
class ProcessBitbucketCloudWebhookRequest
|
592
|
+
# @private
|
593
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
594
|
+
property :body, as: 'body', class: Google::Apis::DeveloperconnectV1::HttpBody, decorator: Google::Apis::DeveloperconnectV1::HttpBody::Representation
|
595
|
+
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
class ProcessBitbucketDataCenterWebhookRequest
|
600
|
+
# @private
|
601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
602
|
+
property :body, as: 'body', class: Google::Apis::DeveloperconnectV1::HttpBody, decorator: Google::Apis::DeveloperconnectV1::HttpBody::Representation
|
603
|
+
|
604
|
+
end
|
605
|
+
end
|
606
|
+
|
519
607
|
class ProcessGitHubEnterpriseWebhookRequest
|
520
608
|
# @private
|
521
609
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -756,6 +756,76 @@ module Google
|
|
756
756
|
execute_or_queue_command(command, &block)
|
757
757
|
end
|
758
758
|
|
759
|
+
# ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud
|
760
|
+
# instances for notifying events.
|
761
|
+
# @param [String] name
|
762
|
+
# Required. The GitRepositoryLink where the webhook will be received. Format: `
|
763
|
+
# projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
|
764
|
+
# @param [Google::Apis::DeveloperconnectV1::ProcessBitbucketCloudWebhookRequest] process_bitbucket_cloud_webhook_request_object
|
765
|
+
# @param [String] fields
|
766
|
+
# Selector specifying which fields to include in a partial response.
|
767
|
+
# @param [String] quota_user
|
768
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
769
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
770
|
+
# @param [Google::Apis::RequestOptions] options
|
771
|
+
# Request-specific options
|
772
|
+
#
|
773
|
+
# @yield [result, err] Result & error if block supplied
|
774
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::Empty] parsed result object
|
775
|
+
# @yieldparam err [StandardError] error object if request failed
|
776
|
+
#
|
777
|
+
# @return [Google::Apis::DeveloperconnectV1::Empty]
|
778
|
+
#
|
779
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
780
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
781
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
782
|
+
def process_git_repository_link_bitbucket_cloud_webhook(name, process_bitbucket_cloud_webhook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
783
|
+
command = make_simple_command(:post, 'v1/{+name}:processBitbucketCloudWebhook', options)
|
784
|
+
command.request_representation = Google::Apis::DeveloperconnectV1::ProcessBitbucketCloudWebhookRequest::Representation
|
785
|
+
command.request_object = process_bitbucket_cloud_webhook_request_object
|
786
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::Empty::Representation
|
787
|
+
command.response_class = Google::Apis::DeveloperconnectV1::Empty
|
788
|
+
command.params['name'] = name unless name.nil?
|
789
|
+
command.query['fields'] = fields unless fields.nil?
|
790
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
791
|
+
execute_or_queue_command(command, &block)
|
792
|
+
end
|
793
|
+
|
794
|
+
# ProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data
|
795
|
+
# Center instances for notifying events.
|
796
|
+
# @param [String] name
|
797
|
+
# Required. The GitRepositoryLink where the webhook will be received. Format: `
|
798
|
+
# projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
|
799
|
+
# @param [Google::Apis::DeveloperconnectV1::ProcessBitbucketDataCenterWebhookRequest] process_bitbucket_data_center_webhook_request_object
|
800
|
+
# @param [String] fields
|
801
|
+
# Selector specifying which fields to include in a partial response.
|
802
|
+
# @param [String] quota_user
|
803
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
804
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
805
|
+
# @param [Google::Apis::RequestOptions] options
|
806
|
+
# Request-specific options
|
807
|
+
#
|
808
|
+
# @yield [result, err] Result & error if block supplied
|
809
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::Empty] parsed result object
|
810
|
+
# @yieldparam err [StandardError] error object if request failed
|
811
|
+
#
|
812
|
+
# @return [Google::Apis::DeveloperconnectV1::Empty]
|
813
|
+
#
|
814
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
815
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
816
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
817
|
+
def process_git_repository_link_bitbucket_data_center_webhook(name, process_bitbucket_data_center_webhook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
818
|
+
command = make_simple_command(:post, 'v1/{+name}:processBitbucketDataCenterWebhook', options)
|
819
|
+
command.request_representation = Google::Apis::DeveloperconnectV1::ProcessBitbucketDataCenterWebhookRequest::Representation
|
820
|
+
command.request_object = process_bitbucket_data_center_webhook_request_object
|
821
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::Empty::Representation
|
822
|
+
command.response_class = Google::Apis::DeveloperconnectV1::Empty
|
823
|
+
command.params['name'] = name unless name.nil?
|
824
|
+
command.query['fields'] = fields unless fields.nil?
|
825
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
826
|
+
execute_or_queue_command(command, &block)
|
827
|
+
end
|
828
|
+
|
759
829
|
# ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise
|
760
830
|
# instances for notifying events.
|
761
831
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-developerconnect_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.6.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Developer Connect API V1
|
82
79
|
test_files: []
|