google-apis-developerconnect_v1 0.22.0 → 0.23.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: 6b9e72b61f61b6fe8ba09f5f17fc0db7e5ba828ce1ae758df9e6fea61c0c5e80
4
- data.tar.gz: 453f13264faf7c7637085d993dbc0109ca322c4f9781769840b6bd4b81a10d8b
3
+ metadata.gz: 764c40e6979e522ad5c4fa6ee8d264ff5322f95f85b41dd1022080e0726099f6
4
+ data.tar.gz: ca6f33733fe846c5e61f353792d543142b042599a19372556b2ed71228696cf5
5
5
  SHA512:
6
- metadata.gz: e5bb49c679b210d8b29d7685c0ea85712c659c6b80c20038177337680e787c4aa8fcf0a54112742df19503003ee678624088f2f339c13de57ff35746f06a742e
7
- data.tar.gz: d74cf469ae3432ce00c38e5d949e9ed8110b6e1c6792e2164b5cbfc435792660b4d1e0204d2ae0f1e8b2211ff596669ca1bb3d3c9a4a4b6ee0e3dae4cf7424af
6
+ metadata.gz: 77f2462236a06cd4f0ec1280b6fdbc9043cb9971593d365fa2b68e02a1a107891b0cc366432ce2bd0207b2ba13297aaa7998449ec50000f11ca31ddc3550a639
7
+ data.tar.gz: 2d50e0d8242542f7f40ad307fb43ddc9d8ed427042c5fd7f260e3b70fbdfcee4a85e5358eea27de4ab3b13972c8853496bb450a5512d766b3e3da3971a2e1c48
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-developerconnect_v1
2
2
 
3
+ ### v0.23.0 (2026-03-22)
4
+
5
+ * Regenerated from discovery document revision 20260313
6
+
3
7
  ### v0.22.0 (2026-03-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20260223
@@ -39,6 +39,11 @@ module Google
39
39
  # @return [String]
40
40
  attr_accessor :create_time
41
41
 
42
+ # Message for a customized OAuth config.
43
+ # Corresponds to the JSON property `customOauthConfig`
44
+ # @return [Google::Apis::DeveloperconnectV1::CustomOAuthConfig]
45
+ attr_accessor :custom_oauth_config
46
+
42
47
  # Optional. This checksum is computed by the server based on the value of other
43
48
  # fields, and may be sent on update and delete requests to ensure the client has
44
49
  # an up-to-date value before proceeding.
@@ -67,6 +72,11 @@ module Google
67
72
  # @return [Google::Apis::DeveloperconnectV1::ProviderOAuthConfig]
68
73
  attr_accessor :provider_oauth_config
69
74
 
75
+ # The proxy configuration.
76
+ # Corresponds to the JSON property `proxyConfig`
77
+ # @return [Google::Apis::DeveloperconnectV1::ProxyConfig]
78
+ attr_accessor :proxy_config
79
+
70
80
  # Output only. The timestamp when the accountConnector was updated.
71
81
  # Corresponds to the JSON property `updateTime`
72
82
  # @return [String]
@@ -80,11 +90,13 @@ module Google
80
90
  def update!(**args)
81
91
  @annotations = args[:annotations] if args.key?(:annotations)
82
92
  @create_time = args[:create_time] if args.key?(:create_time)
93
+ @custom_oauth_config = args[:custom_oauth_config] if args.key?(:custom_oauth_config)
83
94
  @etag = args[:etag] if args.key?(:etag)
84
95
  @labels = args[:labels] if args.key?(:labels)
85
96
  @name = args[:name] if args.key?(:name)
86
97
  @oauth_start_uri = args[:oauth_start_uri] if args.key?(:oauth_start_uri)
87
98
  @provider_oauth_config = args[:provider_oauth_config] if args.key?(:provider_oauth_config)
99
+ @proxy_config = args[:proxy_config] if args.key?(:proxy_config)
88
100
  @update_time = args[:update_time] if args.key?(:update_time)
89
101
  end
90
102
  end
@@ -583,6 +595,89 @@ module Google
583
595
  end
584
596
  end
585
597
 
598
+ # Message for a customized OAuth config.
599
+ class CustomOAuthConfig
600
+ include Google::Apis::Core::Hashable
601
+
602
+ # Required. Immutable. The OAuth2 authorization server URL.
603
+ # Corresponds to the JSON property `authUri`
604
+ # @return [String]
605
+ attr_accessor :auth_uri
606
+
607
+ # Required. The client ID of the OAuth application.
608
+ # Corresponds to the JSON property `clientId`
609
+ # @return [String]
610
+ attr_accessor :client_id
611
+
612
+ # Required. Input only. The client secret of the OAuth application. It will be
613
+ # provided as plain text, but encrypted and stored in developer connect. As
614
+ # INPUT_ONLY field, it will not be included in the output.
615
+ # Corresponds to the JSON property `clientSecret`
616
+ # @return [String]
617
+ attr_accessor :client_secret
618
+
619
+ # Required. The host URI of the OAuth application.
620
+ # Corresponds to the JSON property `hostUri`
621
+ # @return [String]
622
+ attr_accessor :host_uri
623
+
624
+ # Optional. Disable PKCE for this OAuth config. PKCE is enabled by default.
625
+ # Corresponds to the JSON property `pkceDisabled`
626
+ # @return [Boolean]
627
+ attr_accessor :pkce_disabled
628
+ alias_method :pkce_disabled?, :pkce_disabled
629
+
630
+ # Required. The type of the SCM provider.
631
+ # Corresponds to the JSON property `scmProvider`
632
+ # @return [String]
633
+ attr_accessor :scm_provider
634
+
635
+ # Required. The scopes to be requested during OAuth.
636
+ # Corresponds to the JSON property `scopes`
637
+ # @return [Array<String>]
638
+ attr_accessor :scopes
639
+
640
+ # Output only. SCM server version installed at the host URI.
641
+ # Corresponds to the JSON property `serverVersion`
642
+ # @return [String]
643
+ attr_accessor :server_version
644
+
645
+ # ServiceDirectoryConfig represents Service Directory configuration for a
646
+ # connection.
647
+ # Corresponds to the JSON property `serviceDirectoryConfig`
648
+ # @return [Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig]
649
+ attr_accessor :service_directory_config
650
+
651
+ # Optional. SSL certificate to use for requests to a private service.
652
+ # Corresponds to the JSON property `sslCaCertificate`
653
+ # @return [String]
654
+ attr_accessor :ssl_ca_certificate
655
+
656
+ # Required. Immutable. The OAuth2 token request URL.
657
+ # Corresponds to the JSON property `tokenUri`
658
+ # @return [String]
659
+ attr_accessor :token_uri
660
+
661
+ def initialize(**args)
662
+ update!(**args)
663
+ end
664
+
665
+ # Update properties of this object
666
+ def update!(**args)
667
+ @auth_uri = args[:auth_uri] if args.key?(:auth_uri)
668
+ @client_id = args[:client_id] if args.key?(:client_id)
669
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
670
+ @host_uri = args[:host_uri] if args.key?(:host_uri)
671
+ @pkce_disabled = args[:pkce_disabled] if args.key?(:pkce_disabled)
672
+ @scm_provider = args[:scm_provider] if args.key?(:scm_provider)
673
+ @scopes = args[:scopes] if args.key?(:scopes)
674
+ @server_version = args[:server_version] if args.key?(:server_version)
675
+ @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
676
+ @ssl_ca_certificate = args[:ssl_ca_certificate] if args.key?(:ssl_ca_certificate)
677
+ @token_uri = args[:token_uri] if args.key?(:token_uri)
678
+ end
679
+ end
680
+
586
681
  # The DeploymentEvent resource represents the deployment of the artifact within
587
682
  # the InsightsConfig resource.
588
683
  class DeploymentEvent
@@ -913,6 +1008,31 @@ module Google
913
1008
  end
914
1009
  end
915
1010
 
1011
+ # Response message for FetchUserRepositories.
1012
+ class FetchUserRepositoriesResponse
1013
+ include Google::Apis::Core::Hashable
1014
+
1015
+ # A token identifying a page of results the server should return.
1016
+ # Corresponds to the JSON property `nextPageToken`
1017
+ # @return [String]
1018
+ attr_accessor :next_page_token
1019
+
1020
+ # The repositories that the user can access with this account connector.
1021
+ # Corresponds to the JSON property `userRepos`
1022
+ # @return [Array<Google::Apis::DeveloperconnectV1::UserRepository>]
1023
+ attr_accessor :user_repos
1024
+
1025
+ def initialize(**args)
1026
+ update!(**args)
1027
+ end
1028
+
1029
+ # Update properties of this object
1030
+ def update!(**args)
1031
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1032
+ @user_repos = args[:user_repos] if args.key?(:user_repos)
1033
+ end
1034
+ end
1035
+
916
1036
  # Message for responding to finishing an OAuth flow.
917
1037
  class FinishOAuthResponse
918
1038
  include Google::Apis::Core::Hashable
@@ -2299,6 +2419,27 @@ module Google
2299
2419
  end
2300
2420
  end
2301
2421
 
2422
+ # The proxy configuration.
2423
+ class ProxyConfig
2424
+ include Google::Apis::Core::Hashable
2425
+
2426
+ # Optional. Setting this to true allows the git and http proxies to perform
2427
+ # actions on behalf of the user configured under the account connector.
2428
+ # Corresponds to the JSON property `enabled`
2429
+ # @return [Boolean]
2430
+ attr_accessor :enabled
2431
+ alias_method :enabled?, :enabled
2432
+
2433
+ def initialize(**args)
2434
+ update!(**args)
2435
+ end
2436
+
2437
+ # Update properties of this object
2438
+ def update!(**args)
2439
+ @enabled = args[:enabled] if args.key?(:enabled)
2440
+ end
2441
+ end
2442
+
2302
2443
  # RuntimeConfig represents the runtimes where the application is deployed.
2303
2444
  class RuntimeConfig
2304
2445
  include Google::Apis::Core::Hashable
@@ -2553,6 +2694,42 @@ module Google
2553
2694
  @username = args[:username] if args.key?(:username)
2554
2695
  end
2555
2696
  end
2697
+
2698
+ # A user repository that can be linked to the account connector. Consists of the
2699
+ # repo name and the git proxy URL to forward requests to this repo.
2700
+ class UserRepository
2701
+ include Google::Apis::Core::Hashable
2702
+
2703
+ # Output only. The git clone URL of the repo. For example: https://github.com/
2704
+ # myuser/myrepo.git
2705
+ # Corresponds to the JSON property `cloneUri`
2706
+ # @return [String]
2707
+ attr_accessor :clone_uri
2708
+
2709
+ # Output only. The user friendly repo name (e.g., myuser/myrepo)
2710
+ # Corresponds to the JSON property `displayName`
2711
+ # @return [String]
2712
+ attr_accessor :display_name
2713
+
2714
+ # Output only. The Git proxy URL for this repo. For example: https://us-west1-
2715
+ # git.developerconnect.dev/a/my-proj/my-ac/myuser/myrepo.git. Populated only
2716
+ # when `proxy_config.enabled` is set to `true` in the Account Connector. This
2717
+ # URL is used by other Google services that integrate with Developer Connect.
2718
+ # Corresponds to the JSON property `gitProxyUri`
2719
+ # @return [String]
2720
+ attr_accessor :git_proxy_uri
2721
+
2722
+ def initialize(**args)
2723
+ update!(**args)
2724
+ end
2725
+
2726
+ # Update properties of this object
2727
+ def update!(**args)
2728
+ @clone_uri = args[:clone_uri] if args.key?(:clone_uri)
2729
+ @display_name = args[:display_name] if args.key?(:display_name)
2730
+ @git_proxy_uri = args[:git_proxy_uri] if args.key?(:git_proxy_uri)
2731
+ end
2732
+ end
2556
2733
  end
2557
2734
  end
2558
2735
  end
@@ -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.22.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260223"
25
+ REVISION = "20260313"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class CustomOAuthConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class DeploymentEvent
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -166,6 +172,12 @@ module Google
166
172
  include Google::Apis::Core::JsonObjectSupport
167
173
  end
168
174
 
175
+ class FetchUserRepositoriesResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class FinishOAuthResponse
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -382,6 +394,12 @@ module Google
382
394
  include Google::Apis::Core::JsonObjectSupport
383
395
  end
384
396
 
397
+ class ProxyConfig
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
385
403
  class RuntimeConfig
386
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
405
 
@@ -424,17 +442,27 @@ module Google
424
442
  include Google::Apis::Core::JsonObjectSupport
425
443
  end
426
444
 
445
+ class UserRepository
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
427
451
  class AccountConnector
428
452
  # @private
429
453
  class Representation < Google::Apis::Core::JsonRepresentation
430
454
  hash :annotations, as: 'annotations'
431
455
  property :create_time, as: 'createTime'
456
+ property :custom_oauth_config, as: 'customOauthConfig', class: Google::Apis::DeveloperconnectV1::CustomOAuthConfig, decorator: Google::Apis::DeveloperconnectV1::CustomOAuthConfig::Representation
457
+
432
458
  property :etag, as: 'etag'
433
459
  hash :labels, as: 'labels'
434
460
  property :name, as: 'name'
435
461
  property :oauth_start_uri, as: 'oauthStartUri'
436
462
  property :provider_oauth_config, as: 'providerOauthConfig', class: Google::Apis::DeveloperconnectV1::ProviderOAuthConfig, decorator: Google::Apis::DeveloperconnectV1::ProviderOAuthConfig::Representation
437
463
 
464
+ property :proxy_config, as: 'proxyConfig', class: Google::Apis::DeveloperconnectV1::ProxyConfig, decorator: Google::Apis::DeveloperconnectV1::ProxyConfig::Representation
465
+
438
466
  property :update_time, as: 'updateTime'
439
467
  end
440
468
  end
@@ -575,6 +603,24 @@ module Google
575
603
  end
576
604
  end
577
605
 
606
+ class CustomOAuthConfig
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :auth_uri, as: 'authUri'
610
+ property :client_id, as: 'clientId'
611
+ property :client_secret, as: 'clientSecret'
612
+ property :host_uri, as: 'hostUri'
613
+ property :pkce_disabled, as: 'pkceDisabled'
614
+ property :scm_provider, as: 'scmProvider'
615
+ collection :scopes, as: 'scopes'
616
+ property :server_version, as: 'serverVersion'
617
+ property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig, decorator: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig::Representation
618
+
619
+ property :ssl_ca_certificate, as: 'sslCaCertificate'
620
+ property :token_uri, as: 'tokenUri'
621
+ end
622
+ end
623
+
578
624
  class DeploymentEvent
579
625
  # @private
580
626
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -678,6 +724,15 @@ module Google
678
724
  end
679
725
  end
680
726
 
727
+ class FetchUserRepositoriesResponse
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :next_page_token, as: 'nextPageToken'
731
+ collection :user_repos, as: 'userRepos', class: Google::Apis::DeveloperconnectV1::UserRepository, decorator: Google::Apis::DeveloperconnectV1::UserRepository::Representation
732
+
733
+ end
734
+ end
735
+
681
736
  class FinishOAuthResponse
682
737
  # @private
683
738
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1045,6 +1100,13 @@ module Google
1045
1100
  end
1046
1101
  end
1047
1102
 
1103
+ class ProxyConfig
1104
+ # @private
1105
+ class Representation < Google::Apis::Core::JsonRepresentation
1106
+ property :enabled, as: 'enabled'
1107
+ end
1108
+ end
1109
+
1048
1110
  class RuntimeConfig
1049
1111
  # @private
1050
1112
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1114,6 +1176,15 @@ module Google
1114
1176
  property :username, as: 'username'
1115
1177
  end
1116
1178
  end
1179
+
1180
+ class UserRepository
1181
+ # @private
1182
+ class Representation < Google::Apis::Core::JsonRepresentation
1183
+ property :clone_uri, as: 'cloneUri'
1184
+ property :display_name, as: 'displayName'
1185
+ property :git_proxy_uri, as: 'gitProxyUri'
1186
+ end
1187
+ end
1117
1188
  end
1118
1189
  end
1119
1190
  end
@@ -241,6 +241,49 @@ module Google
241
241
  execute_or_queue_command(command, &block)
242
242
  end
243
243
 
244
+ # FetchUserRepositories returns a list of UserRepos that are available for an
245
+ # account connector resource.
246
+ # @param [String] account_connector
247
+ # Required. The name of the Account Connector resource in the format: `projects/*
248
+ # /locations/*/accountConnectors/*`.
249
+ # @param [Fixnum] page_size
250
+ # Optional. Number of results to return in the list. Defaults to 20.
251
+ # @param [String] page_token
252
+ # Optional. Page start.
253
+ # @param [String] repository
254
+ # Optional. The name of the repository. When specified, only the UserRepository
255
+ # with this name will be returned if the repository is accessible under this
256
+ # Account Connector for the calling user.
257
+ # @param [String] fields
258
+ # Selector specifying which fields to include in a partial response.
259
+ # @param [String] quota_user
260
+ # Available to use for quota purposes for server-side applications. Can be any
261
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
262
+ # @param [Google::Apis::RequestOptions] options
263
+ # Request-specific options
264
+ #
265
+ # @yield [result, err] Result & error if block supplied
266
+ # @yieldparam result [Google::Apis::DeveloperconnectV1::FetchUserRepositoriesResponse] parsed result object
267
+ # @yieldparam err [StandardError] error object if request failed
268
+ #
269
+ # @return [Google::Apis::DeveloperconnectV1::FetchUserRepositoriesResponse]
270
+ #
271
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
272
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
273
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
274
+ def fetch_project_location_account_connector_user_repositories(account_connector, page_size: nil, page_token: nil, repository: nil, fields: nil, quota_user: nil, options: nil, &block)
275
+ command = make_simple_command(:get, 'v1/{+accountConnector}:fetchUserRepositories', options)
276
+ command.response_representation = Google::Apis::DeveloperconnectV1::FetchUserRepositoriesResponse::Representation
277
+ command.response_class = Google::Apis::DeveloperconnectV1::FetchUserRepositoriesResponse
278
+ command.params['accountConnector'] = account_connector unless account_connector.nil?
279
+ command.query['pageSize'] = page_size unless page_size.nil?
280
+ command.query['pageToken'] = page_token unless page_token.nil?
281
+ command.query['repository'] = repository unless repository.nil?
282
+ command.query['fields'] = fields unless fields.nil?
283
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
284
+ execute_or_queue_command(command, &block)
285
+ end
286
+
244
287
  # Gets details of a single AccountConnector.
245
288
  # @param [String] name
246
289
  # Required. Name of the resource
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-developerconnect_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.22.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.23.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1
62
62
  rdoc_options: []
63
63
  require_paths: