Skip to content

Commit 031d43f

Browse files
feat: Automated regeneration of developerconnect v1 client (googleapis#21848)
Auto-created at 2025-02-26 21:04:36 +0000 using the toys pull request generator.
1 parent 8f904ce commit 031d43f

File tree

6 files changed

+412
-3
lines changed

6 files changed

+412
-3
lines changed

api_names_out.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149899,15 +149899,31 @@
149899149899
"/deploymentmanager:v2beta2/OperationsListResponse": list_operations_response
149900149900
"/deploymentmanager:v2beta2/ResourcesListResponse": list_resources_response
149901149901
"/deploymentmanager:v2beta2/TypesListResponse": list_types_response
149902+
"/developerconnect:v1/BitbucketCloudConfig": bitbucket_cloud_config
149903+
"/developerconnect:v1/BitbucketCloudConfig/authorizerCredential": authorizer_credential
149904+
"/developerconnect:v1/BitbucketCloudConfig/readAuthorizerCredential": read_authorizer_credential
149905+
"/developerconnect:v1/BitbucketCloudConfig/webhookSecretSecretVersion": webhook_secret_secret_version
149906+
"/developerconnect:v1/BitbucketCloudConfig/workspace": workspace
149907+
"/developerconnect:v1/BitbucketDataCenterConfig": bitbucket_data_center_config
149908+
"/developerconnect:v1/BitbucketDataCenterConfig/authorizerCredential": authorizer_credential
149909+
"/developerconnect:v1/BitbucketDataCenterConfig/hostUri": host_uri
149910+
"/developerconnect:v1/BitbucketDataCenterConfig/readAuthorizerCredential": read_authorizer_credential
149911+
"/developerconnect:v1/BitbucketDataCenterConfig/serverVersion": server_version
149912+
"/developerconnect:v1/BitbucketDataCenterConfig/serviceDirectoryConfig": service_directory_config
149913+
"/developerconnect:v1/BitbucketDataCenterConfig/sslCaCertificate": ssl_ca_certificate
149914+
"/developerconnect:v1/BitbucketDataCenterConfig/webhookSecretSecretVersion": webhook_secret_secret_version
149902149915
"/developerconnect:v1/CancelOperationRequest": cancel_operation_request
149903149916
"/developerconnect:v1/Connection": connection
149904149917
"/developerconnect:v1/Connection/annotations": annotations
149905149918
"/developerconnect:v1/Connection/annotations/annotation": annotation
149919+
"/developerconnect:v1/Connection/bitbucketCloudConfig": bitbucket_cloud_config
149920+
"/developerconnect:v1/Connection/bitbucketDataCenterConfig": bitbucket_data_center_config
149906149921
"/developerconnect:v1/Connection/createTime": create_time
149907149922
"/developerconnect:v1/Connection/cryptoKeyConfig": crypto_key_config
149908149923
"/developerconnect:v1/Connection/deleteTime": delete_time
149909149924
"/developerconnect:v1/Connection/disabled": disabled
149910149925
"/developerconnect:v1/Connection/etag": etag
149926+
"/developerconnect:v1/Connection/gitProxyConfig": git_proxy_config
149911149927
"/developerconnect:v1/Connection/githubConfig": github_config
149912149928
"/developerconnect:v1/Connection/githubEnterpriseConfig": github_enterprise_config
149913149929
"/developerconnect:v1/Connection/gitlabConfig": gitlab_config
@@ -149971,13 +149987,16 @@
149971149987
"/developerconnect:v1/GitLabEnterpriseConfig/serviceDirectoryConfig": service_directory_config
149972149988
"/developerconnect:v1/GitLabEnterpriseConfig/sslCaCertificate": ssl_ca_certificate
149973149989
"/developerconnect:v1/GitLabEnterpriseConfig/webhookSecretSecretVersion": webhook_secret_secret_version
149990+
"/developerconnect:v1/GitProxyConfig": git_proxy_config
149991+
"/developerconnect:v1/GitProxyConfig/enabled": enabled
149974149992
"/developerconnect:v1/GitRepositoryLink": git_repository_link
149975149993
"/developerconnect:v1/GitRepositoryLink/annotations": annotations
149976149994
"/developerconnect:v1/GitRepositoryLink/annotations/annotation": annotation
149977149995
"/developerconnect:v1/GitRepositoryLink/cloneUri": clone_uri
149978149996
"/developerconnect:v1/GitRepositoryLink/createTime": create_time
149979149997
"/developerconnect:v1/GitRepositoryLink/deleteTime": delete_time
149980149998
"/developerconnect:v1/GitRepositoryLink/etag": etag
149999+
"/developerconnect:v1/GitRepositoryLink/gitProxyUri": git_proxy_uri
149981150000
"/developerconnect:v1/GitRepositoryLink/labels": labels
149982150001
"/developerconnect:v1/GitRepositoryLink/labels/label": label
149983150002
"/developerconnect:v1/GitRepositoryLink/name": name
@@ -150048,6 +150067,10 @@
150048150067
"/developerconnect:v1/OperationMetadata/statusMessage": status_message
150049150068
"/developerconnect:v1/OperationMetadata/target": target
150050150069
"/developerconnect:v1/OperationMetadata/verb": verb
150070+
"/developerconnect:v1/ProcessBitbucketCloudWebhookRequest": process_bitbucket_cloud_webhook_request
150071+
"/developerconnect:v1/ProcessBitbucketCloudWebhookRequest/body": body
150072+
"/developerconnect:v1/ProcessBitbucketDataCenterWebhookRequest": process_bitbucket_data_center_webhook_request
150073+
"/developerconnect:v1/ProcessBitbucketDataCenterWebhookRequest/body": body
150051150074
"/developerconnect:v1/ProcessGitHubEnterpriseWebhookRequest": process_git_hub_enterprise_webhook_request
150052150075
"/developerconnect:v1/ProcessGitHubEnterpriseWebhookRequest/body": body
150053150076
"/developerconnect:v1/ProcessGitLabEnterpriseWebhookRequest": process_git_lab_enterprise_webhook_request
@@ -150110,6 +150133,10 @@
150110150133
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.list/pageSize": page_size
150111150134
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.list/pageToken": page_token
150112150135
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.list/parent": parent
150136+
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processBitbucketCloudWebhook": process_git_repository_link_bitbucket_cloud_webhook
150137+
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processBitbucketCloudWebhook/name": name
150138+
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processBitbucketDataCenterWebhook": process_git_repository_link_bitbucket_data_center_webhook
150139+
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processBitbucketDataCenterWebhook/name": name
150113150140
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabEnterpriseWebhook": process_git_repository_link_git_lab_enterprise_webhook
150114150141
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabEnterpriseWebhook/name": name
150115150142
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabWebhook": process_git_repository_link_git_lab_webhook

generated/google-apis-developerconnect_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-developerconnect_v1
22

3+
### v0.6.0 (2025-02-26)
4+
5+
* Regenerated from discovery document revision 20250129
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.5.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241205

generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/classes.rb

Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,110 @@ module Google
2222
module Apis
2323
module DeveloperconnectV1
2424

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+
25129
# The request message for Operations.CancelOperation.
26130
class CancelOperationRequest
27131
include Google::Apis::Core::Hashable
@@ -44,6 +148,16 @@ class Connection
44148
# @return [Hash<String,String>]
45149
attr_accessor :annotations
46150

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+
47161
# Output only. [Output only] Create timestamp
48162
# Corresponds to the JSON property `createTime`
49163
# @return [String]
@@ -75,6 +189,11 @@ class Connection
75189
# @return [String]
76190
attr_accessor :etag
77191

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+
78197
# Configuration for connections to github.com.
79198
# Corresponds to the JSON property `githubConfig`
80199
# @return [Google::Apis::DeveloperconnectV1::GitHubConfig]
@@ -136,11 +255,14 @@ def initialize(**args)
136255
# Update properties of this object
137256
def update!(**args)
138257
@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)
139260
@create_time = args[:create_time] if args.key?(:create_time)
140261
@crypto_key_config = args[:crypto_key_config] if args.key?(:crypto_key_config)
141262
@delete_time = args[:delete_time] if args.key?(:delete_time)
142263
@disabled = args[:disabled] if args.key?(:disabled)
143264
@etag = args[:etag] if args.key?(:etag)
265+
@git_proxy_config = args[:git_proxy_config] if args.key?(:git_proxy_config)
144266
@github_config = args[:github_config] if args.key?(:github_config)
145267
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
146268
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
@@ -565,6 +687,27 @@ def update!(**args)
565687
end
566688
end
567689

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+
568711
# Message describing the GitRepositoryLink object
569712
class GitRepositoryLink
570713
include Google::Apis::Core::Hashable
@@ -596,6 +739,12 @@ class GitRepositoryLink
596739
# @return [String]
597740
attr_accessor :etag
598741

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+
599748
# Optional. Labels as key value pairs
600749
# Corresponds to the JSON property `labels`
601750
# @return [Hash<String,String>]
@@ -640,6 +789,7 @@ def update!(**args)
640789
@create_time = args[:create_time] if args.key?(:create_time)
641790
@delete_time = args[:delete_time] if args.key?(:delete_time)
642791
@etag = args[:etag] if args.key?(:etag)
792+
@git_proxy_uri = args[:git_proxy_uri] if args.key?(:git_proxy_uri)
643793
@labels = args[:labels] if args.key?(:labels)
644794
@name = args[:name] if args.key?(:name)
645795
@reconciling = args[:reconciling] if args.key?(:reconciling)
@@ -1089,6 +1239,75 @@ def update!(**args)
10891239
end
10901240
end
10911241

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+
10921311
# RPC request object accepted by the ProcessGitHubEnterpriseWebhook RPC method.
10931312
class ProcessGitHubEnterpriseWebhookRequest
10941313
include Google::Apis::Core::Hashable

generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DeveloperconnectV1
1818
# Version of the google-apis-developerconnect_v1 gem
19-
GEM_VERSION = "0.5.0"
19+
GEM_VERSION = "0.6.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241205"
25+
REVISION = "20250129"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)