google-apis-developerconnect_v1 0.5.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5c53f57407b510a5a0cebe278f642c531d032daa28ca4a0d113ba149bd8dd2d
4
- data.tar.gz: 922bfc6ff0d2fa7ab36d72e359f5aa1abca0332d73566113c14409e815d6b113
3
+ metadata.gz: d9e488bfa4a1b444cd6e0aa503fa6c560e618f04bc9c452b27476a8b817e5a47
4
+ data.tar.gz: 52371a30e82a6704159e8b8bdeb188a79a7108651f2830ea558ed45af8aeae38
5
5
  SHA512:
6
- metadata.gz: 2726cdf57b713af19191d794cc6afba6de8b0d97f61c1b0a283c25616bc4ed6b9939fae621672427ed9262c742c9119abb7d201f00fcaaf7191b8b794d4d78ff
7
- data.tar.gz: ea9a24a2c5410180e37a72fc17a53c36f35fc772234121cd6f621fd52fdae968999f1f281e28c72acfc3bb03f439184d98a07763d18e1d6ed9dd3de2053a701f
6
+ metadata.gz: 050ce8ce9ada8cf21a7ad5b06665152a24e2d6230a184a84c470e649d568d21c67440a66179558cf563be2bdf7050835f29e2d60f497b2541c275790bba8292d
7
+ data.tar.gz: 1e0f07f0d71b0638cf750c529ef51244d0debb7b6358612b62a83fbd56cbd2867c535416d8731aa55057ba3d254889332c5cfc126c42f2cd162883b714d06457
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-developerconnect_v1
2
2
 
3
+ ### v0.7.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250324
6
+
7
+ ### v0.6.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250129
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.5.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241205
@@ -22,6 +22,177 @@ module Google
22
22
  module Apis
23
23
  module DeveloperconnectV1
24
24
 
25
+ # AccountConnector encapsulates what a platform administrator needs to configure
26
+ # for users to connect to the service providers, which includes, among other
27
+ # fields, the OAuth client ID, client secret, and authorization and token
28
+ # endpoints.
29
+ class AccountConnector
30
+ include Google::Apis::Core::Hashable
31
+
32
+ # Optional. Allows users to store small amounts of arbitrary data.
33
+ # Corresponds to the JSON property `annotations`
34
+ # @return [Hash<String,String>]
35
+ attr_accessor :annotations
36
+
37
+ # Output only. The timestamp when the userConnection was created.
38
+ # Corresponds to the JSON property `createTime`
39
+ # @return [String]
40
+ attr_accessor :create_time
41
+
42
+ # Optional. This checksum is computed by the server based on the value of other
43
+ # fields, and may be sent on update and delete requests to ensure the client has
44
+ # an up-to-date value before proceeding.
45
+ # Corresponds to the JSON property `etag`
46
+ # @return [String]
47
+ attr_accessor :etag
48
+
49
+ # Optional. Labels as key value pairs
50
+ # Corresponds to the JSON property `labels`
51
+ # @return [Hash<String,String>]
52
+ attr_accessor :labels
53
+
54
+ # Identifier. The resource name of the userConnection, in the format `projects/`
55
+ # project`/locations/`location`/accountConnectors/`account_connector_id``.
56
+ # Corresponds to the JSON property `name`
57
+ # @return [String]
58
+ attr_accessor :name
59
+
60
+ # Output only. Start OAuth flow by clicking on this URL.
61
+ # Corresponds to the JSON property `oauthStartUri`
62
+ # @return [String]
63
+ attr_accessor :oauth_start_uri
64
+
65
+ # ProviderOAuthConfig is the OAuth config for a provider.
66
+ # Corresponds to the JSON property `providerOauthConfig`
67
+ # @return [Google::Apis::DeveloperconnectV1::ProviderOAuthConfig]
68
+ attr_accessor :provider_oauth_config
69
+
70
+ # Output only. The timestamp when the userConnection was updated.
71
+ # Corresponds to the JSON property `updateTime`
72
+ # @return [String]
73
+ attr_accessor :update_time
74
+
75
+ def initialize(**args)
76
+ update!(**args)
77
+ end
78
+
79
+ # Update properties of this object
80
+ def update!(**args)
81
+ @annotations = args[:annotations] if args.key?(:annotations)
82
+ @create_time = args[:create_time] if args.key?(:create_time)
83
+ @etag = args[:etag] if args.key?(:etag)
84
+ @labels = args[:labels] if args.key?(:labels)
85
+ @name = args[:name] if args.key?(:name)
86
+ @oauth_start_uri = args[:oauth_start_uri] if args.key?(:oauth_start_uri)
87
+ @provider_oauth_config = args[:provider_oauth_config] if args.key?(:provider_oauth_config)
88
+ @update_time = args[:update_time] if args.key?(:update_time)
89
+ end
90
+ end
91
+
92
+ # Configuration for connections to an instance of Bitbucket Cloud.
93
+ class BitbucketCloudConfig
94
+ include Google::Apis::Core::Hashable
95
+
96
+ # Represents a personal access token that authorized the Connection, and
97
+ # associated metadata.
98
+ # Corresponds to the JSON property `authorizerCredential`
99
+ # @return [Google::Apis::DeveloperconnectV1::UserCredential]
100
+ attr_accessor :authorizer_credential
101
+
102
+ # Represents a personal access token that authorized the Connection, and
103
+ # associated metadata.
104
+ # Corresponds to the JSON property `readAuthorizerCredential`
105
+ # @return [Google::Apis::DeveloperconnectV1::UserCredential]
106
+ attr_accessor :read_authorizer_credential
107
+
108
+ # Required. Immutable. SecretManager resource containing the webhook secret used
109
+ # to verify webhook events, formatted as `projects/*/secrets/*/versions/*`. This
110
+ # is used to validate and create webhooks.
111
+ # Corresponds to the JSON property `webhookSecretSecretVersion`
112
+ # @return [String]
113
+ attr_accessor :webhook_secret_secret_version
114
+
115
+ # Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud
116
+ # Platform.
117
+ # Corresponds to the JSON property `workspace`
118
+ # @return [String]
119
+ attr_accessor :workspace
120
+
121
+ def initialize(**args)
122
+ update!(**args)
123
+ end
124
+
125
+ # Update properties of this object
126
+ def update!(**args)
127
+ @authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential)
128
+ @read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential)
129
+ @webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version)
130
+ @workspace = args[:workspace] if args.key?(:workspace)
131
+ end
132
+ end
133
+
134
+ # Configuration for connections to an instance of Bitbucket Data Center.
135
+ class BitbucketDataCenterConfig
136
+ include Google::Apis::Core::Hashable
137
+
138
+ # Represents a personal access token that authorized the Connection, and
139
+ # associated metadata.
140
+ # Corresponds to the JSON property `authorizerCredential`
141
+ # @return [Google::Apis::DeveloperconnectV1::UserCredential]
142
+ attr_accessor :authorizer_credential
143
+
144
+ # Required. The URI of the Bitbucket Data Center host this connection is for.
145
+ # Corresponds to the JSON property `hostUri`
146
+ # @return [String]
147
+ attr_accessor :host_uri
148
+
149
+ # Represents a personal access token that authorized the Connection, and
150
+ # associated metadata.
151
+ # Corresponds to the JSON property `readAuthorizerCredential`
152
+ # @return [Google::Apis::DeveloperconnectV1::UserCredential]
153
+ attr_accessor :read_authorizer_credential
154
+
155
+ # Output only. Version of the Bitbucket Data Center server running on the `
156
+ # host_uri`.
157
+ # Corresponds to the JSON property `serverVersion`
158
+ # @return [String]
159
+ attr_accessor :server_version
160
+
161
+ # ServiceDirectoryConfig represents Service Directory configuration for a
162
+ # connection.
163
+ # Corresponds to the JSON property `serviceDirectoryConfig`
164
+ # @return [Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig]
165
+ attr_accessor :service_directory_config
166
+
167
+ # Optional. SSL certificate authority to trust when making requests to Bitbucket
168
+ # Data Center.
169
+ # Corresponds to the JSON property `sslCaCertificate`
170
+ # @return [String]
171
+ attr_accessor :ssl_ca_certificate
172
+
173
+ # Required. Immutable. SecretManager resource containing the webhook secret used
174
+ # to verify webhook events, formatted as `projects/*/secrets/*/versions/*`. This
175
+ # is used to validate webhooks.
176
+ # Corresponds to the JSON property `webhookSecretSecretVersion`
177
+ # @return [String]
178
+ attr_accessor :webhook_secret_secret_version
179
+
180
+ def initialize(**args)
181
+ update!(**args)
182
+ end
183
+
184
+ # Update properties of this object
185
+ def update!(**args)
186
+ @authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential)
187
+ @host_uri = args[:host_uri] if args.key?(:host_uri)
188
+ @read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential)
189
+ @server_version = args[:server_version] if args.key?(:server_version)
190
+ @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
191
+ @ssl_ca_certificate = args[:ssl_ca_certificate] if args.key?(:ssl_ca_certificate)
192
+ @webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version)
193
+ end
194
+ end
195
+
25
196
  # The request message for Operations.CancelOperation.
26
197
  class CancelOperationRequest
27
198
  include Google::Apis::Core::Hashable
@@ -44,6 +215,16 @@ module Google
44
215
  # @return [Hash<String,String>]
45
216
  attr_accessor :annotations
46
217
 
218
+ # Configuration for connections to an instance of Bitbucket Cloud.
219
+ # Corresponds to the JSON property `bitbucketCloudConfig`
220
+ # @return [Google::Apis::DeveloperconnectV1::BitbucketCloudConfig]
221
+ attr_accessor :bitbucket_cloud_config
222
+
223
+ # Configuration for connections to an instance of Bitbucket Data Center.
224
+ # Corresponds to the JSON property `bitbucketDataCenterConfig`
225
+ # @return [Google::Apis::DeveloperconnectV1::BitbucketDataCenterConfig]
226
+ attr_accessor :bitbucket_data_center_config
227
+
47
228
  # Output only. [Output only] Create timestamp
48
229
  # Corresponds to the JSON property `createTime`
49
230
  # @return [String]
@@ -75,6 +256,11 @@ module Google
75
256
  # @return [String]
76
257
  attr_accessor :etag
77
258
 
259
+ # The git proxy configuration.
260
+ # Corresponds to the JSON property `gitProxyConfig`
261
+ # @return [Google::Apis::DeveloperconnectV1::GitProxyConfig]
262
+ attr_accessor :git_proxy_config
263
+
78
264
  # Configuration for connections to github.com.
79
265
  # Corresponds to the JSON property `githubConfig`
80
266
  # @return [Google::Apis::DeveloperconnectV1::GitHubConfig]
@@ -136,11 +322,14 @@ module Google
136
322
  # Update properties of this object
137
323
  def update!(**args)
138
324
  @annotations = args[:annotations] if args.key?(:annotations)
325
+ @bitbucket_cloud_config = args[:bitbucket_cloud_config] if args.key?(:bitbucket_cloud_config)
326
+ @bitbucket_data_center_config = args[:bitbucket_data_center_config] if args.key?(:bitbucket_data_center_config)
139
327
  @create_time = args[:create_time] if args.key?(:create_time)
140
328
  @crypto_key_config = args[:crypto_key_config] if args.key?(:crypto_key_config)
141
329
  @delete_time = args[:delete_time] if args.key?(:delete_time)
142
330
  @disabled = args[:disabled] if args.key?(:disabled)
143
331
  @etag = args[:etag] if args.key?(:etag)
332
+ @git_proxy_config = args[:git_proxy_config] if args.key?(:git_proxy_config)
144
333
  @github_config = args[:github_config] if args.key?(:github_config)
145
334
  @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
146
335
  @gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
@@ -192,6 +381,81 @@ module Google
192
381
  end
193
382
  end
194
383
 
384
+ # Message for representing an error from exchanging OAuth tokens.
385
+ class ExchangeError
386
+ include Google::Apis::Core::Hashable
387
+
388
+ # https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error
389
+ # Corresponds to the JSON property `code`
390
+ # @return [String]
391
+ attr_accessor :code
392
+
393
+ # https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
394
+ # Corresponds to the JSON property `description`
395
+ # @return [String]
396
+ attr_accessor :description
397
+
398
+ def initialize(**args)
399
+ update!(**args)
400
+ end
401
+
402
+ # Update properties of this object
403
+ def update!(**args)
404
+ @code = args[:code] if args.key?(:code)
405
+ @description = args[:description] if args.key?(:description)
406
+ end
407
+ end
408
+
409
+ # Message for fetching an OAuth access token.
410
+ class FetchAccessTokenRequest
411
+ include Google::Apis::Core::Hashable
412
+
413
+ def initialize(**args)
414
+ update!(**args)
415
+ end
416
+
417
+ # Update properties of this object
418
+ def update!(**args)
419
+ end
420
+ end
421
+
422
+ # Message for responding to getting an OAuth access token.
423
+ class FetchAccessTokenResponse
424
+ include Google::Apis::Core::Hashable
425
+
426
+ # Message for representing an error from exchanging OAuth tokens.
427
+ # Corresponds to the JSON property `exchangeError`
428
+ # @return [Google::Apis::DeveloperconnectV1::ExchangeError]
429
+ attr_accessor :exchange_error
430
+
431
+ # Expiration timestamp. Can be empty if unknown or non-expiring.
432
+ # Corresponds to the JSON property `expirationTime`
433
+ # @return [String]
434
+ attr_accessor :expiration_time
435
+
436
+ # The scopes of the access token.
437
+ # Corresponds to the JSON property `scopes`
438
+ # @return [Array<String>]
439
+ attr_accessor :scopes
440
+
441
+ # The token content.
442
+ # Corresponds to the JSON property `token`
443
+ # @return [String]
444
+ attr_accessor :token
445
+
446
+ def initialize(**args)
447
+ update!(**args)
448
+ end
449
+
450
+ # Update properties of this object
451
+ def update!(**args)
452
+ @exchange_error = args[:exchange_error] if args.key?(:exchange_error)
453
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
454
+ @scopes = args[:scopes] if args.key?(:scopes)
455
+ @token = args[:token] if args.key?(:token)
456
+ end
457
+ end
458
+
195
459
  # Response of fetching github installations.
196
460
  class FetchGitHubInstallationsResponse
197
461
  include Google::Apis::Core::Hashable
@@ -565,6 +829,27 @@ module Google
565
829
  end
566
830
  end
567
831
 
832
+ # The git proxy configuration.
833
+ class GitProxyConfig
834
+ include Google::Apis::Core::Hashable
835
+
836
+ # Optional. Setting this to true allows the git proxy to be used for performing
837
+ # git operations on the repositories linked in the connection.
838
+ # Corresponds to the JSON property `enabled`
839
+ # @return [Boolean]
840
+ attr_accessor :enabled
841
+ alias_method :enabled?, :enabled
842
+
843
+ def initialize(**args)
844
+ update!(**args)
845
+ end
846
+
847
+ # Update properties of this object
848
+ def update!(**args)
849
+ @enabled = args[:enabled] if args.key?(:enabled)
850
+ end
851
+ end
852
+
568
853
  # Message describing the GitRepositoryLink object
569
854
  class GitRepositoryLink
570
855
  include Google::Apis::Core::Hashable
@@ -596,6 +881,12 @@ module Google
596
881
  # @return [String]
597
882
  attr_accessor :etag
598
883
 
884
+ # Output only. URI to access the linked repository through the Git Proxy. This
885
+ # field is only populated if the git proxy is enabled for the connection.
886
+ # Corresponds to the JSON property `gitProxyUri`
887
+ # @return [String]
888
+ attr_accessor :git_proxy_uri
889
+
599
890
  # Optional. Labels as key value pairs
600
891
  # Corresponds to the JSON property `labels`
601
892
  # @return [Hash<String,String>]
@@ -640,6 +931,7 @@ module Google
640
931
  @create_time = args[:create_time] if args.key?(:create_time)
641
932
  @delete_time = args[:delete_time] if args.key?(:delete_time)
642
933
  @etag = args[:etag] if args.key?(:etag)
934
+ @git_proxy_uri = args[:git_proxy_uri] if args.key?(:git_proxy_uri)
643
935
  @labels = args[:labels] if args.key?(:labels)
644
936
  @name = args[:name] if args.key?(:name)
645
937
  @reconciling = args[:reconciling] if args.key?(:reconciling)
@@ -782,6 +1074,37 @@ module Google
782
1074
  end
783
1075
  end
784
1076
 
1077
+ # Message for response to listing AccountConnectors
1078
+ class ListAccountConnectorsResponse
1079
+ include Google::Apis::Core::Hashable
1080
+
1081
+ # The list of AccountConnectors
1082
+ # Corresponds to the JSON property `accountConnectors`
1083
+ # @return [Array<Google::Apis::DeveloperconnectV1::AccountConnector>]
1084
+ attr_accessor :account_connectors
1085
+
1086
+ # A token identifying a page of results the server should return.
1087
+ # Corresponds to the JSON property `nextPageToken`
1088
+ # @return [String]
1089
+ attr_accessor :next_page_token
1090
+
1091
+ # Locations that could not be reached.
1092
+ # Corresponds to the JSON property `unreachable`
1093
+ # @return [Array<String>]
1094
+ attr_accessor :unreachable
1095
+
1096
+ def initialize(**args)
1097
+ update!(**args)
1098
+ end
1099
+
1100
+ # Update properties of this object
1101
+ def update!(**args)
1102
+ @account_connectors = args[:account_connectors] if args.key?(:account_connectors)
1103
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1104
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1105
+ end
1106
+ end
1107
+
785
1108
  # Message for response to listing Connections
786
1109
  class ListConnectionsResponse
787
1110
  include Google::Apis::Core::Hashable
@@ -894,6 +1217,37 @@ module Google
894
1217
  end
895
1218
  end
896
1219
 
1220
+ # Message for response to listing Users
1221
+ class ListUsersResponse
1222
+ include Google::Apis::Core::Hashable
1223
+
1224
+ # A token identifying a page of results the server should return.
1225
+ # Corresponds to the JSON property `nextPageToken`
1226
+ # @return [String]
1227
+ attr_accessor :next_page_token
1228
+
1229
+ # Locations that could not be reached.
1230
+ # Corresponds to the JSON property `unreachable`
1231
+ # @return [Array<String>]
1232
+ attr_accessor :unreachable
1233
+
1234
+ # The list of Users
1235
+ # Corresponds to the JSON property `users`
1236
+ # @return [Array<Google::Apis::DeveloperconnectV1::User>]
1237
+ attr_accessor :users
1238
+
1239
+ def initialize(**args)
1240
+ update!(**args)
1241
+ end
1242
+
1243
+ # Update properties of this object
1244
+ def update!(**args)
1245
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1246
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1247
+ @users = args[:users] if args.key?(:users)
1248
+ end
1249
+ end
1250
+
897
1251
  # A resource that represents a Google Cloud location.
898
1252
  class Location
899
1253
  include Google::Apis::Core::Hashable
@@ -1089,6 +1443,75 @@ module Google
1089
1443
  end
1090
1444
  end
1091
1445
 
1446
+ # RPC request object accepted by the ProcessBitbucketCloudWebhook RPC method.
1447
+ class ProcessBitbucketCloudWebhookRequest
1448
+ include Google::Apis::Core::Hashable
1449
+
1450
+ # Message that represents an arbitrary HTTP body. It should only be used for
1451
+ # payload formats that can't be represented as JSON, such as raw binary or an
1452
+ # HTML page. This message can be used both in streaming and non-streaming API
1453
+ # methods in the request as well as the response. It can be used as a top-level
1454
+ # request field, which is convenient if one wants to extract parameters from
1455
+ # either the URL or HTTP template into the request fields and also want access
1456
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
1457
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
1458
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
1459
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
1460
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
1461
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
1462
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
1463
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
1464
+ # only changes how the request and response bodies are handled, all other
1465
+ # features will continue to work unchanged.
1466
+ # Corresponds to the JSON property `body`
1467
+ # @return [Google::Apis::DeveloperconnectV1::HttpBody]
1468
+ attr_accessor :body
1469
+
1470
+ def initialize(**args)
1471
+ update!(**args)
1472
+ end
1473
+
1474
+ # Update properties of this object
1475
+ def update!(**args)
1476
+ @body = args[:body] if args.key?(:body)
1477
+ end
1478
+ end
1479
+
1480
+ # RPC request object accepted by the ProcessBitbucketDataCenterWebhook RPC
1481
+ # method.
1482
+ class ProcessBitbucketDataCenterWebhookRequest
1483
+ include Google::Apis::Core::Hashable
1484
+
1485
+ # Message that represents an arbitrary HTTP body. It should only be used for
1486
+ # payload formats that can't be represented as JSON, such as raw binary or an
1487
+ # HTML page. This message can be used both in streaming and non-streaming API
1488
+ # methods in the request as well as the response. It can be used as a top-level
1489
+ # request field, which is convenient if one wants to extract parameters from
1490
+ # either the URL or HTTP template into the request fields and also want access
1491
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
1492
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
1493
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
1494
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
1495
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
1496
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
1497
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
1498
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
1499
+ # only changes how the request and response bodies are handled, all other
1500
+ # features will continue to work unchanged.
1501
+ # Corresponds to the JSON property `body`
1502
+ # @return [Google::Apis::DeveloperconnectV1::HttpBody]
1503
+ attr_accessor :body
1504
+
1505
+ def initialize(**args)
1506
+ update!(**args)
1507
+ end
1508
+
1509
+ # Update properties of this object
1510
+ def update!(**args)
1511
+ @body = args[:body] if args.key?(:body)
1512
+ end
1513
+ end
1514
+
1092
1515
  # RPC request object accepted by the ProcessGitHubEnterpriseWebhook RPC method.
1093
1516
  class ProcessGitHubEnterpriseWebhookRequest
1094
1517
  include Google::Apis::Core::Hashable
@@ -1191,6 +1614,33 @@ module Google
1191
1614
  end
1192
1615
  end
1193
1616
 
1617
+ # ProviderOAuthConfig is the OAuth config for a provider.
1618
+ class ProviderOAuthConfig
1619
+ include Google::Apis::Core::Hashable
1620
+
1621
+ # Required. User selected scopes to apply to the Oauth config In the event of
1622
+ # changing scopes, user records under AccountConnector will be deleted and users
1623
+ # will re-auth again.
1624
+ # Corresponds to the JSON property `scopes`
1625
+ # @return [Array<String>]
1626
+ attr_accessor :scopes
1627
+
1628
+ # Immutable. Developer Connect provided OAuth.
1629
+ # Corresponds to the JSON property `systemProviderId`
1630
+ # @return [String]
1631
+ attr_accessor :system_provider_id
1632
+
1633
+ def initialize(**args)
1634
+ update!(**args)
1635
+ end
1636
+
1637
+ # Update properties of this object
1638
+ def update!(**args)
1639
+ @scopes = args[:scopes] if args.key?(:scopes)
1640
+ @system_provider_id = args[:system_provider_id] if args.key?(:system_provider_id)
1641
+ end
1642
+ end
1643
+
1194
1644
  # ServiceDirectoryConfig represents Service Directory configuration for a
1195
1645
  # connection.
1196
1646
  class ServiceDirectoryConfig
@@ -1251,6 +1701,46 @@ module Google
1251
1701
  end
1252
1702
  end
1253
1703
 
1704
+ # User represents a user connected to the service providers through a
1705
+ # AccountConnector.
1706
+ class User
1707
+ include Google::Apis::Core::Hashable
1708
+
1709
+ # Output only. The timestamp when the user was created.
1710
+ # Corresponds to the JSON property `createTime`
1711
+ # @return [String]
1712
+ attr_accessor :create_time
1713
+
1714
+ # Output only. Developer Connect automatically converts user identity to some
1715
+ # human readable description, e.g., email address.
1716
+ # Corresponds to the JSON property `displayName`
1717
+ # @return [String]
1718
+ attr_accessor :display_name
1719
+
1720
+ # Output only. The timestamp when the token was last requested.
1721
+ # Corresponds to the JSON property `lastTokenRequestTime`
1722
+ # @return [String]
1723
+ attr_accessor :last_token_request_time
1724
+
1725
+ # Identifier. Resource name of the user, in the format `projects/*/locations/*/
1726
+ # accountConnectors/*/users/*`.
1727
+ # Corresponds to the JSON property `name`
1728
+ # @return [String]
1729
+ attr_accessor :name
1730
+
1731
+ def initialize(**args)
1732
+ update!(**args)
1733
+ end
1734
+
1735
+ # Update properties of this object
1736
+ def update!(**args)
1737
+ @create_time = args[:create_time] if args.key?(:create_time)
1738
+ @display_name = args[:display_name] if args.key?(:display_name)
1739
+ @last_token_request_time = args[:last_token_request_time] if args.key?(:last_token_request_time)
1740
+ @name = args[:name] if args.key?(:name)
1741
+ end
1742
+ end
1743
+
1254
1744
  # Represents a personal access token that authorized the Connection, and
1255
1745
  # associated metadata.
1256
1746
  class UserCredential
@@ -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.5.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241205"
25
+ REVISION = "20250324"
26
26
  end
27
27
  end
28
28
  end