google-apis-developerconnect_v1 0.18.0 → 0.19.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: 2f3d0a1b1856d66b0d9fe344d24790e0e9ce798edd2356817b5dcfe3c02993dd
4
- data.tar.gz: 664b8c38c6902a8927403417d2b572c4479584a15d6e2ae9285bc7f35e98d33f
3
+ metadata.gz: f184a466f665259b919145afe99a2c69f7a87cd1c3e16f12d755315cb1563883
4
+ data.tar.gz: bd904007f1b24410631cc241925de19c703fd1f4c89924222df6c68b52628982
5
5
  SHA512:
6
- metadata.gz: 01fa0b059de1b016dd83bfd85f578ae69f571674fad6e69269eee5da2473c675cc491b4aca97c57b01efc3bcd28aa350a01c6f2cf2ff54f57fb5a9f9f38b4ddf
7
- data.tar.gz: a4fd0088de516664aa24ea609274075bdc066b6d73c8dbd1b24ee801bb71711b57b43d9fe639ac733ec7665bfa23000777c44d0bb805e855cbbe3e0375ecf68d
6
+ metadata.gz: 44f06e7911aeb616379fb5a46cae70133b996e59bd9e467e3378e4b4f46a78ea82eb650afc0e77cae4f5fff0ec16c0aa3573f9640ac4cbd53c0c9cd5975b07c0
7
+ data.tar.gz: 0db0f16b02d8890941a5493bd3438bea7e279f0996613bd2e3b20d98c27594ebd7dcf3387c17dc1d08aa6cdd1351ac7fef3eeab105228ebb0bc1870ad4e20032
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-developerconnect_v1
2
2
 
3
+ ### v0.19.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251209
6
+
3
7
  ### v0.18.0 (2025-12-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20251201
@@ -188,6 +188,67 @@ module Google
188
188
  end
189
189
  end
190
190
 
191
+ # The ArtifactDeployment resource represents the deployment of the artifact
192
+ # within the InsightsConfig resource.
193
+ class ArtifactDeployment
194
+ include Google::Apis::Core::Hashable
195
+
196
+ # Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-
197
+ # docker.pkg.dev/my-project/my-repo/image:1.0.0
198
+ # Corresponds to the JSON property `artifactAlias`
199
+ # @return [String]
200
+ attr_accessor :artifact_alias
201
+
202
+ # Output only. The artifact that is deployed.
203
+ # Corresponds to the JSON property `artifactReference`
204
+ # @return [String]
205
+ attr_accessor :artifact_reference
206
+
207
+ # Output only. The summary of container status of the artifact deployment.
208
+ # Format as `ContainerStatusState-Reason : restartCount` e.g. "Waiting-
209
+ # ImagePullBackOff : 3"
210
+ # Corresponds to the JSON property `containerStatusSummary`
211
+ # @return [String]
212
+ attr_accessor :container_status_summary
213
+
214
+ # Output only. The time at which the deployment was deployed.
215
+ # Corresponds to the JSON property `deployTime`
216
+ # @return [String]
217
+ attr_accessor :deploy_time
218
+
219
+ # Output only. Unique identifier of `ArtifactDeployment`.
220
+ # Corresponds to the JSON property `id`
221
+ # @return [String]
222
+ attr_accessor :id
223
+
224
+ # Output only. The source commits at which this artifact was built. Extracted
225
+ # from provenance.
226
+ # Corresponds to the JSON property `sourceCommitUris`
227
+ # @return [Array<String>]
228
+ attr_accessor :source_commit_uris
229
+
230
+ # Output only. The time at which the deployment was undeployed, all artifacts
231
+ # are considered undeployed once this time is set.
232
+ # Corresponds to the JSON property `undeployTime`
233
+ # @return [String]
234
+ attr_accessor :undeploy_time
235
+
236
+ def initialize(**args)
237
+ update!(**args)
238
+ end
239
+
240
+ # Update properties of this object
241
+ def update!(**args)
242
+ @artifact_alias = args[:artifact_alias] if args.key?(:artifact_alias)
243
+ @artifact_reference = args[:artifact_reference] if args.key?(:artifact_reference)
244
+ @container_status_summary = args[:container_status_summary] if args.key?(:container_status_summary)
245
+ @deploy_time = args[:deploy_time] if args.key?(:deploy_time)
246
+ @id = args[:id] if args.key?(:id)
247
+ @source_commit_uris = args[:source_commit_uris] if args.key?(:source_commit_uris)
248
+ @undeploy_time = args[:undeploy_time] if args.key?(:undeploy_time)
249
+ end
250
+ end
251
+
191
252
  # Configuration for connections to an instance of Bitbucket Cloud.
192
253
  class BitbucketCloudConfig
193
254
  include Google::Apis::Core::Hashable
@@ -466,6 +527,85 @@ module Google
466
527
  end
467
528
  end
468
529
 
530
+ # The DeploymentEvent resource represents the deployment of the artifact within
531
+ # the InsightsConfig resource.
532
+ class DeploymentEvent
533
+ include Google::Apis::Core::Hashable
534
+
535
+ # Output only. The artifact deployments of the DeploymentEvent. Each artifact
536
+ # deployment contains the artifact uri and the runtime configuration uri. For
537
+ # GKE, this would be all the containers images that are deployed in the pod.
538
+ # Corresponds to the JSON property `artifactDeployments`
539
+ # @return [Array<Google::Apis::DeveloperconnectV1::ArtifactDeployment>]
540
+ attr_accessor :artifact_deployments
541
+
542
+ # Output only. The create time of the DeploymentEvent.
543
+ # Corresponds to the JSON property `createTime`
544
+ # @return [String]
545
+ attr_accessor :create_time
546
+
547
+ # Output only. The time at which the DeploymentEvent was deployed. This would be
548
+ # the min of all ArtifactDeployment deploy_times.
549
+ # Corresponds to the JSON property `deployTime`
550
+ # @return [String]
551
+ attr_accessor :deploy_time
552
+
553
+ # Identifier. The name of the DeploymentEvent. This name is provided by DCI.
554
+ # Format: projects/`project`/locations/`location`/insightsConfigs/`
555
+ # insights_config`/deploymentEvents/`uuid`
556
+ # Corresponds to the JSON property `name`
557
+ # @return [String]
558
+ attr_accessor :name
559
+
560
+ # RuntimeConfig represents the runtimes where the application is deployed.
561
+ # Corresponds to the JSON property `runtimeConfig`
562
+ # @return [Google::Apis::DeveloperconnectV1::RuntimeConfig]
563
+ attr_accessor :runtime_config
564
+
565
+ # Output only. The runtime assigned URI of the DeploymentEvent. For GKE, this is
566
+ # the fully qualified replica set uri. e.g. container.googleapis.com/projects/`
567
+ # project`/locations/`location`/clusters/`cluster`/k8s/namespaces/`namespace`/
568
+ # apps/replicasets/`replica-set-id` For Cloud Run, this is the revision name.
569
+ # Corresponds to the JSON property `runtimeDeploymentUri`
570
+ # @return [String]
571
+ attr_accessor :runtime_deployment_uri
572
+
573
+ # Output only. The state of the DeploymentEvent.
574
+ # Corresponds to the JSON property `state`
575
+ # @return [String]
576
+ attr_accessor :state
577
+
578
+ # Output only. The time at which the DeploymentEvent was undeployed, all
579
+ # artifacts are considered undeployed once this time is set. This would be the
580
+ # max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is
581
+ # still active (i.e. does not have an undeploy_time), this field will be empty.
582
+ # Corresponds to the JSON property `undeployTime`
583
+ # @return [String]
584
+ attr_accessor :undeploy_time
585
+
586
+ # Output only. The update time of the DeploymentEvent.
587
+ # Corresponds to the JSON property `updateTime`
588
+ # @return [String]
589
+ attr_accessor :update_time
590
+
591
+ def initialize(**args)
592
+ update!(**args)
593
+ end
594
+
595
+ # Update properties of this object
596
+ def update!(**args)
597
+ @artifact_deployments = args[:artifact_deployments] if args.key?(:artifact_deployments)
598
+ @create_time = args[:create_time] if args.key?(:create_time)
599
+ @deploy_time = args[:deploy_time] if args.key?(:deploy_time)
600
+ @name = args[:name] if args.key?(:name)
601
+ @runtime_config = args[:runtime_config] if args.key?(:runtime_config)
602
+ @runtime_deployment_uri = args[:runtime_deployment_uri] if args.key?(:runtime_deployment_uri)
603
+ @state = args[:state] if args.key?(:state)
604
+ @undeploy_time = args[:undeploy_time] if args.key?(:undeploy_time)
605
+ @update_time = args[:update_time] if args.key?(:update_time)
606
+ end
607
+ end
608
+
469
609
  # A generic empty message that you can re-use to avoid defining duplicated empty
470
610
  # messages in your APIs. A typical example is to use it as the request or the
471
611
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -717,6 +857,25 @@ module Google
717
857
  end
718
858
  end
719
859
 
860
+ # Message for responding to finishing an OAuth flow.
861
+ class FinishOAuthResponse
862
+ include Google::Apis::Core::Hashable
863
+
864
+ # Message for representing an error from exchanging OAuth tokens.
865
+ # Corresponds to the JSON property `exchangeError`
866
+ # @return [Google::Apis::DeveloperconnectV1::ExchangeError]
867
+ attr_accessor :exchange_error
868
+
869
+ def initialize(**args)
870
+ update!(**args)
871
+ end
872
+
873
+ # Update properties of this object
874
+ def update!(**args)
875
+ @exchange_error = args[:exchange_error] if args.key?(:exchange_error)
876
+ end
877
+ end
878
+
720
879
  # GKEWorkload represents the Google Kubernetes Engine runtime.
721
880
  class GkeWorkload
722
881
  include Google::Apis::Core::Hashable
@@ -1234,6 +1393,11 @@ module Google
1234
1393
  # @return [String]
1235
1394
  attr_accessor :name
1236
1395
 
1396
+ # Projects represents the projects to track with the InsightsConfig.
1397
+ # Corresponds to the JSON property `projects`
1398
+ # @return [Google::Apis::DeveloperconnectV1::Projects]
1399
+ attr_accessor :projects
1400
+
1237
1401
  # Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to
1238
1402
  # true if the current state of InsightsConfig does not match the user's intended
1239
1403
  # state, and the service is actively updating the resource to reconcile them.
@@ -1272,6 +1436,7 @@ module Google
1272
1436
  @errors = args[:errors] if args.key?(:errors)
1273
1437
  @labels = args[:labels] if args.key?(:labels)
1274
1438
  @name = args[:name] if args.key?(:name)
1439
+ @projects = args[:projects] if args.key?(:projects)
1275
1440
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1276
1441
  @runtime_configs = args[:runtime_configs] if args.key?(:runtime_configs)
1277
1442
  @state = args[:state] if args.key?(:state)
@@ -1426,6 +1591,32 @@ module Google
1426
1591
  end
1427
1592
  end
1428
1593
 
1594
+ # Response to listing DeploymentEvents.
1595
+ class ListDeploymentEventsResponse
1596
+ include Google::Apis::Core::Hashable
1597
+
1598
+ # The list of DeploymentEvents.
1599
+ # Corresponds to the JSON property `deploymentEvents`
1600
+ # @return [Array<Google::Apis::DeveloperconnectV1::DeploymentEvent>]
1601
+ attr_accessor :deployment_events
1602
+
1603
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1604
+ # field is omitted, there are no subsequent pages.
1605
+ # Corresponds to the JSON property `nextPageToken`
1606
+ # @return [String]
1607
+ attr_accessor :next_page_token
1608
+
1609
+ def initialize(**args)
1610
+ update!(**args)
1611
+ end
1612
+
1613
+ # Update properties of this object
1614
+ def update!(**args)
1615
+ @deployment_events = args[:deployment_events] if args.key?(:deployment_events)
1616
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1617
+ end
1618
+ end
1619
+
1429
1620
  # Message for response to listing GitRepositoryLinks
1430
1621
  class ListGitRepositoryLinksResponse
1431
1622
  include Google::Apis::Core::Hashable
@@ -1946,6 +2137,25 @@ module Google
1946
2137
  end
1947
2138
  end
1948
2139
 
2140
+ # Projects represents the projects to track with the InsightsConfig.
2141
+ class Projects
2142
+ include Google::Apis::Core::Hashable
2143
+
2144
+ # Optional. The GCP Project IDs. Format: projects/`project`
2145
+ # Corresponds to the JSON property `projectIds`
2146
+ # @return [Array<String>]
2147
+ attr_accessor :project_ids
2148
+
2149
+ def initialize(**args)
2150
+ update!(**args)
2151
+ end
2152
+
2153
+ # Update properties of this object
2154
+ def update!(**args)
2155
+ @project_ids = args[:project_ids] if args.key?(:project_ids)
2156
+ end
2157
+ end
2158
+
1949
2159
  # ProviderOAuthConfig is the OAuth config for a provider.
1950
2160
  class ProviderOAuthConfig
1951
2161
  include Google::Apis::Core::Hashable
@@ -2044,6 +2254,63 @@ module Google
2044
2254
  end
2045
2255
  end
2046
2256
 
2257
+ # Message for responding to starting an OAuth flow.
2258
+ class StartOAuthResponse
2259
+ include Google::Apis::Core::Hashable
2260
+
2261
+ # The authorization server URL to the OAuth flow of the service provider.
2262
+ # Corresponds to the JSON property `authUri`
2263
+ # @return [String]
2264
+ attr_accessor :auth_uri
2265
+
2266
+ # The client ID to the OAuth App of the service provider.
2267
+ # Corresponds to the JSON property `clientId`
2268
+ # @return [String]
2269
+ attr_accessor :client_id
2270
+
2271
+ # https://datatracker.ietf.org/doc/html/rfc7636#section-4.1 Follow http://shortn/
2272
+ # _WFYl6U0NyC to include it in the AutoCodeURL.
2273
+ # Corresponds to the JSON property `codeChallenge`
2274
+ # @return [String]
2275
+ attr_accessor :code_challenge
2276
+
2277
+ # https://datatracker.ietf.org/doc/html/rfc7636#section-4.2
2278
+ # Corresponds to the JSON property `codeChallengeMethod`
2279
+ # @return [String]
2280
+ attr_accessor :code_challenge_method
2281
+
2282
+ # The list of scopes requested by the application.
2283
+ # Corresponds to the JSON property `scopes`
2284
+ # @return [Array<String>]
2285
+ attr_accessor :scopes
2286
+
2287
+ # The ID of the system provider.
2288
+ # Corresponds to the JSON property `systemProviderId`
2289
+ # @return [String]
2290
+ attr_accessor :system_provider_id
2291
+
2292
+ # The ticket to be used for post processing the callback from the service
2293
+ # provider.
2294
+ # Corresponds to the JSON property `ticket`
2295
+ # @return [String]
2296
+ attr_accessor :ticket
2297
+
2298
+ def initialize(**args)
2299
+ update!(**args)
2300
+ end
2301
+
2302
+ # Update properties of this object
2303
+ def update!(**args)
2304
+ @auth_uri = args[:auth_uri] if args.key?(:auth_uri)
2305
+ @client_id = args[:client_id] if args.key?(:client_id)
2306
+ @code_challenge = args[:code_challenge] if args.key?(:code_challenge)
2307
+ @code_challenge_method = args[:code_challenge_method] if args.key?(:code_challenge_method)
2308
+ @scopes = args[:scopes] if args.key?(:scopes)
2309
+ @system_provider_id = args[:system_provider_id] if args.key?(:system_provider_id)
2310
+ @ticket = args[:ticket] if args.key?(:ticket)
2311
+ end
2312
+ end
2313
+
2047
2314
  # The `Status` type defines a logical error model that is suitable for different
2048
2315
  # programming environments, including REST APIs and RPC APIs. It is used by [
2049
2316
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -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.18.0"
19
+ GEM_VERSION = "0.19.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 = "20251201"
25
+ REVISION = "20251209"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class ArtifactDeployment
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class BitbucketCloudConfig
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class DeploymentEvent
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class Empty
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -142,6 +154,12 @@ module Google
142
154
  include Google::Apis::Core::JsonObjectSupport
143
155
  end
144
156
 
157
+ class FinishOAuthResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
145
163
  class GkeWorkload
146
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
165
 
@@ -244,6 +262,12 @@ module Google
244
262
  include Google::Apis::Core::JsonObjectSupport
245
263
  end
246
264
 
265
+ class ListDeploymentEventsResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
247
271
  class ListGitRepositoryLinksResponse
248
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
273
 
@@ -328,6 +352,12 @@ module Google
328
352
  include Google::Apis::Core::JsonObjectSupport
329
353
  end
330
354
 
355
+ class Projects
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
331
361
  class ProviderOAuthConfig
332
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
363
 
@@ -346,6 +376,12 @@ module Google
346
376
  include Google::Apis::Core::JsonObjectSupport
347
377
  end
348
378
 
379
+ class StartOAuthResponse
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
349
385
  class Status
350
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
387
 
@@ -408,6 +444,19 @@ module Google
408
444
  end
409
445
  end
410
446
 
447
+ class ArtifactDeployment
448
+ # @private
449
+ class Representation < Google::Apis::Core::JsonRepresentation
450
+ property :artifact_alias, as: 'artifactAlias'
451
+ property :artifact_reference, as: 'artifactReference'
452
+ property :container_status_summary, as: 'containerStatusSummary'
453
+ property :deploy_time, as: 'deployTime'
454
+ property :id, as: 'id'
455
+ collection :source_commit_uris, as: 'sourceCommitUris'
456
+ property :undeploy_time, as: 'undeployTime'
457
+ end
458
+ end
459
+
411
460
  class BitbucketCloudConfig
412
461
  # @private
413
462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -483,6 +532,23 @@ module Google
483
532
  end
484
533
  end
485
534
 
535
+ class DeploymentEvent
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ collection :artifact_deployments, as: 'artifactDeployments', class: Google::Apis::DeveloperconnectV1::ArtifactDeployment, decorator: Google::Apis::DeveloperconnectV1::ArtifactDeployment::Representation
539
+
540
+ property :create_time, as: 'createTime'
541
+ property :deploy_time, as: 'deployTime'
542
+ property :name, as: 'name'
543
+ property :runtime_config, as: 'runtimeConfig', class: Google::Apis::DeveloperconnectV1::RuntimeConfig, decorator: Google::Apis::DeveloperconnectV1::RuntimeConfig::Representation
544
+
545
+ property :runtime_deployment_uri, as: 'runtimeDeploymentUri'
546
+ property :state, as: 'state'
547
+ property :undeploy_time, as: 'undeployTime'
548
+ property :update_time, as: 'updateTime'
549
+ end
550
+ end
551
+
486
552
  class Empty
487
553
  # @private
488
554
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -569,6 +635,14 @@ module Google
569
635
  end
570
636
  end
571
637
 
638
+ class FinishOAuthResponse
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :exchange_error, as: 'exchangeError', class: Google::Apis::DeveloperconnectV1::ExchangeError, decorator: Google::Apis::DeveloperconnectV1::ExchangeError::Representation
642
+
643
+ end
644
+ end
645
+
572
646
  class GkeWorkload
573
647
  # @private
574
648
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -700,6 +774,8 @@ module Google
700
774
 
701
775
  hash :labels, as: 'labels'
702
776
  property :name, as: 'name'
777
+ property :projects, as: 'projects', class: Google::Apis::DeveloperconnectV1::Projects, decorator: Google::Apis::DeveloperconnectV1::Projects::Representation
778
+
703
779
  property :reconciling, as: 'reconciling'
704
780
  collection :runtime_configs, as: 'runtimeConfigs', class: Google::Apis::DeveloperconnectV1::RuntimeConfig, decorator: Google::Apis::DeveloperconnectV1::RuntimeConfig::Representation
705
781
 
@@ -753,6 +829,15 @@ module Google
753
829
  end
754
830
  end
755
831
 
832
+ class ListDeploymentEventsResponse
833
+ # @private
834
+ class Representation < Google::Apis::Core::JsonRepresentation
835
+ collection :deployment_events, as: 'deploymentEvents', class: Google::Apis::DeveloperconnectV1::DeploymentEvent, decorator: Google::Apis::DeveloperconnectV1::DeploymentEvent::Representation
836
+
837
+ property :next_page_token, as: 'nextPageToken'
838
+ end
839
+ end
840
+
756
841
  class ListGitRepositoryLinksResponse
757
842
  # @private
758
843
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -886,6 +971,13 @@ module Google
886
971
  end
887
972
  end
888
973
 
974
+ class Projects
975
+ # @private
976
+ class Representation < Google::Apis::Core::JsonRepresentation
977
+ collection :project_ids, as: 'projectIds'
978
+ end
979
+ end
980
+
889
981
  class ProviderOAuthConfig
890
982
  # @private
891
983
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -917,6 +1009,19 @@ module Google
917
1009
  end
918
1010
  end
919
1011
 
1012
+ class StartOAuthResponse
1013
+ # @private
1014
+ class Representation < Google::Apis::Core::JsonRepresentation
1015
+ property :auth_uri, as: 'authUri'
1016
+ property :client_id, as: 'clientId'
1017
+ property :code_challenge, as: 'codeChallenge'
1018
+ property :code_challenge_method, as: 'codeChallengeMethod'
1019
+ collection :scopes, as: 'scopes'
1020
+ property :system_provider_id, as: 'systemProviderId'
1021
+ property :ticket, as: 'ticket'
1022
+ end
1023
+ end
1024
+
920
1025
  class Status
921
1026
  # @private
922
1027
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -512,6 +512,54 @@ module Google
512
512
  execute_or_queue_command(command, &block)
513
513
  end
514
514
 
515
+ # Finishes OAuth flow for an account connector.
516
+ # @param [String] account_connector
517
+ # Required. The resource name of the AccountConnector in the format `projects/*/
518
+ # locations/*/accountConnectors/*`.
519
+ # @param [Array<String>, String] google_oauth_params_scopes
520
+ # Required. The scopes returned by Google OAuth flow.
521
+ # @param [String] google_oauth_params_ticket
522
+ # Required. The ticket to be used for post processing the callback from Google
523
+ # OAuth flow.
524
+ # @param [String] google_oauth_params_version_info
525
+ # Optional. The version info returned by Google OAuth flow.
526
+ # @param [String] oauth_params_code
527
+ # Required. The code to be used for getting the token from SCM provider.
528
+ # @param [String] oauth_params_ticket
529
+ # Required. The ticket to be used for post processing the callback from SCM
530
+ # provider.
531
+ # @param [String] fields
532
+ # Selector specifying which fields to include in a partial response.
533
+ # @param [String] quota_user
534
+ # Available to use for quota purposes for server-side applications. Can be any
535
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
536
+ # @param [Google::Apis::RequestOptions] options
537
+ # Request-specific options
538
+ #
539
+ # @yield [result, err] Result & error if block supplied
540
+ # @yieldparam result [Google::Apis::DeveloperconnectV1::FinishOAuthResponse] parsed result object
541
+ # @yieldparam err [StandardError] error object if request failed
542
+ #
543
+ # @return [Google::Apis::DeveloperconnectV1::FinishOAuthResponse]
544
+ #
545
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
546
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
547
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
548
+ def finish_project_location_account_connector_user_o_auth_flow(account_connector, google_oauth_params_scopes: nil, google_oauth_params_ticket: nil, google_oauth_params_version_info: nil, oauth_params_code: nil, oauth_params_ticket: nil, fields: nil, quota_user: nil, options: nil, &block)
549
+ command = make_simple_command(:get, 'v1/{+accountConnector}/users:finishOAuthFlow', options)
550
+ command.response_representation = Google::Apis::DeveloperconnectV1::FinishOAuthResponse::Representation
551
+ command.response_class = Google::Apis::DeveloperconnectV1::FinishOAuthResponse
552
+ command.params['accountConnector'] = account_connector unless account_connector.nil?
553
+ command.query['googleOauthParams.scopes'] = google_oauth_params_scopes unless google_oauth_params_scopes.nil?
554
+ command.query['googleOauthParams.ticket'] = google_oauth_params_ticket unless google_oauth_params_ticket.nil?
555
+ command.query['googleOauthParams.versionInfo'] = google_oauth_params_version_info unless google_oauth_params_version_info.nil?
556
+ command.query['oauthParams.code'] = oauth_params_code unless oauth_params_code.nil?
557
+ command.query['oauthParams.ticket'] = oauth_params_ticket unless oauth_params_ticket.nil?
558
+ command.query['fields'] = fields unless fields.nil?
559
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
560
+ execute_or_queue_command(command, &block)
561
+ end
562
+
515
563
  # Lists Users in a given project, location, and account_connector.
516
564
  # @param [String] parent
517
565
  # Required. Parent value for ListUsersRequest
@@ -555,6 +603,37 @@ module Google
555
603
  execute_or_queue_command(command, &block)
556
604
  end
557
605
 
606
+ # Starts OAuth flow for an account connector.
607
+ # @param [String] account_connector
608
+ # Required. The resource name of the AccountConnector in the format `projects/*/
609
+ # locations/*/accountConnectors/*`.
610
+ # @param [String] fields
611
+ # Selector specifying which fields to include in a partial response.
612
+ # @param [String] quota_user
613
+ # Available to use for quota purposes for server-side applications. Can be any
614
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
615
+ # @param [Google::Apis::RequestOptions] options
616
+ # Request-specific options
617
+ #
618
+ # @yield [result, err] Result & error if block supplied
619
+ # @yieldparam result [Google::Apis::DeveloperconnectV1::StartOAuthResponse] parsed result object
620
+ # @yieldparam err [StandardError] error object if request failed
621
+ #
622
+ # @return [Google::Apis::DeveloperconnectV1::StartOAuthResponse]
623
+ #
624
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
625
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
626
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
627
+ def start_project_location_account_connector_user_o_auth_flow(account_connector, fields: nil, quota_user: nil, options: nil, &block)
628
+ command = make_simple_command(:get, 'v1/{+accountConnector}/users:startOAuthFlow', options)
629
+ command.response_representation = Google::Apis::DeveloperconnectV1::StartOAuthResponse::Representation
630
+ command.response_class = Google::Apis::DeveloperconnectV1::StartOAuthResponse
631
+ command.params['accountConnector'] = account_connector unless account_connector.nil?
632
+ command.query['fields'] = fields unless fields.nil?
633
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
634
+ execute_or_queue_command(command, &block)
635
+ end
636
+
558
637
  # Creates a new Connection in a given project and location.
559
638
  # @param [String] parent
560
639
  # Required. Value for parent.
@@ -1548,6 +1627,86 @@ module Google
1548
1627
  execute_or_queue_command(command, &block)
1549
1628
  end
1550
1629
 
1630
+ # Gets a single Deployment Event.
1631
+ # @param [String] name
1632
+ # Required. The name of the deployment event to retrieve. Format: projects/`
1633
+ # project`/locations/`location`/insightsConfigs/`insights_config`/
1634
+ # deploymentEvents/`uuid`
1635
+ # @param [String] fields
1636
+ # Selector specifying which fields to include in a partial response.
1637
+ # @param [String] quota_user
1638
+ # Available to use for quota purposes for server-side applications. Can be any
1639
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1640
+ # @param [Google::Apis::RequestOptions] options
1641
+ # Request-specific options
1642
+ #
1643
+ # @yield [result, err] Result & error if block supplied
1644
+ # @yieldparam result [Google::Apis::DeveloperconnectV1::DeploymentEvent] parsed result object
1645
+ # @yieldparam err [StandardError] error object if request failed
1646
+ #
1647
+ # @return [Google::Apis::DeveloperconnectV1::DeploymentEvent]
1648
+ #
1649
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1650
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1651
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1652
+ def get_project_location_insights_config_deployment_event(name, fields: nil, quota_user: nil, options: nil, &block)
1653
+ command = make_simple_command(:get, 'v1/{+name}', options)
1654
+ command.response_representation = Google::Apis::DeveloperconnectV1::DeploymentEvent::Representation
1655
+ command.response_class = Google::Apis::DeveloperconnectV1::DeploymentEvent
1656
+ command.params['name'] = name unless name.nil?
1657
+ command.query['fields'] = fields unless fields.nil?
1658
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1659
+ execute_or_queue_command(command, &block)
1660
+ end
1661
+
1662
+ # Lists Deployment Events in a given insights config.
1663
+ # @param [String] parent
1664
+ # Required. The parent insights config that owns this collection of deployment
1665
+ # events. Format: projects/`project`/locations/`location`/insightsConfigs/`
1666
+ # insights_config`
1667
+ # @param [String] filter
1668
+ # Optional. Filter expression that matches a subset of the DeploymentEvents.
1669
+ # https://google.aip.dev/160.
1670
+ # @param [Fixnum] page_size
1671
+ # Optional. The maximum number of deployment events to return. The service may
1672
+ # return fewer than this value. If unspecified, at most 50 deployment events
1673
+ # will be returned. The maximum value is 1000; values above 1000 will be coerced
1674
+ # to 1000.
1675
+ # @param [String] page_token
1676
+ # Optional. A page token, received from a previous `ListDeploymentEvents` call.
1677
+ # Provide this to retrieve the subsequent page. When paginating, all other
1678
+ # parameters provided to `ListDeploymentEvents` must match the call that
1679
+ # provided the page token.
1680
+ # @param [String] fields
1681
+ # Selector specifying which fields to include in a partial response.
1682
+ # @param [String] quota_user
1683
+ # Available to use for quota purposes for server-side applications. Can be any
1684
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1685
+ # @param [Google::Apis::RequestOptions] options
1686
+ # Request-specific options
1687
+ #
1688
+ # @yield [result, err] Result & error if block supplied
1689
+ # @yieldparam result [Google::Apis::DeveloperconnectV1::ListDeploymentEventsResponse] parsed result object
1690
+ # @yieldparam err [StandardError] error object if request failed
1691
+ #
1692
+ # @return [Google::Apis::DeveloperconnectV1::ListDeploymentEventsResponse]
1693
+ #
1694
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1695
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1696
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1697
+ def list_project_location_insights_config_deployment_events(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1698
+ command = make_simple_command(:get, 'v1/{+parent}/deploymentEvents', options)
1699
+ command.response_representation = Google::Apis::DeveloperconnectV1::ListDeploymentEventsResponse::Representation
1700
+ command.response_class = Google::Apis::DeveloperconnectV1::ListDeploymentEventsResponse
1701
+ command.params['parent'] = parent unless parent.nil?
1702
+ command.query['filter'] = filter unless filter.nil?
1703
+ command.query['pageSize'] = page_size unless page_size.nil?
1704
+ command.query['pageToken'] = page_token unless page_token.nil?
1705
+ command.query['fields'] = fields unless fields.nil?
1706
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1707
+ execute_or_queue_command(command, &block)
1708
+ end
1709
+
1551
1710
  # Starts asynchronous cancellation on a long-running operation. The server makes
1552
1711
  # a best effort to cancel the operation, but success is not guaranteed. If the
1553
1712
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
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.18.0
4
+ version: 0.19.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.18.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.19.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: