google-apis-developerconnect_v1 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/developerconnect_v1/classes.rb +274 -0
- data/lib/google/apis/developerconnect_v1/gem_version.rb +3 -3
- data/lib/google/apis/developerconnect_v1/representations.rb +111 -0
- data/lib/google/apis/developerconnect_v1/service.rb +5 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 016b8e72a21bbe3cbfca80b377fefc4f4f7757845c56e4ebf003808ed78845c4
|
4
|
+
data.tar.gz: b7622da0bb0f8cbf47edc7a2772aa6a4c6a3da3014006d5921d162dd9c43a52b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e6a4ff791d132ea7a8a1764890125f0c9637548ea8a950e4c5b29bdad67bb7e907877707ab022d8a20e0dbf54f03c15550340f1859954c35839cbd7f1452f9
|
7
|
+
data.tar.gz: 8e2bcbb282e842e53af6df4080a809651ae1eca7e2c17134407335b8a6454ddeaf9114d61e8800d11fad56afcebee44e768d47bbd7b3fd15505f7c0906033a8d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-developerconnect_v1
|
2
2
|
|
3
|
+
### v0.2.0 (2024-09-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240919
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.1.0 (2024-05-26)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240523
|
@@ -49,6 +49,12 @@ module Google
|
|
49
49
|
# @return [String]
|
50
50
|
attr_accessor :create_time
|
51
51
|
|
52
|
+
# The crypto key configuration. This field is used by the Customer-managed
|
53
|
+
# encryption keys (CMEK) feature.
|
54
|
+
# Corresponds to the JSON property `cryptoKeyConfig`
|
55
|
+
# @return [Google::Apis::DeveloperconnectV1::CryptoKeyConfig]
|
56
|
+
attr_accessor :crypto_key_config
|
57
|
+
|
52
58
|
# Output only. [Output only] Delete timestamp
|
53
59
|
# Corresponds to the JSON property `deleteTime`
|
54
60
|
# @return [String]
|
@@ -74,6 +80,21 @@ module Google
|
|
74
80
|
# @return [Google::Apis::DeveloperconnectV1::GitHubConfig]
|
75
81
|
attr_accessor :github_config
|
76
82
|
|
83
|
+
# Configuration for connections to an instance of GitHub Enterprise.
|
84
|
+
# Corresponds to the JSON property `githubEnterpriseConfig`
|
85
|
+
# @return [Google::Apis::DeveloperconnectV1::GitHubEnterpriseConfig]
|
86
|
+
attr_accessor :github_enterprise_config
|
87
|
+
|
88
|
+
# Configuration for connections to gitlab.com.
|
89
|
+
# Corresponds to the JSON property `gitlabConfig`
|
90
|
+
# @return [Google::Apis::DeveloperconnectV1::GitLabConfig]
|
91
|
+
attr_accessor :gitlab_config
|
92
|
+
|
93
|
+
# Configuration for connections to an instance of GitLab Enterprise.
|
94
|
+
# Corresponds to the JSON property `gitlabEnterpriseConfig`
|
95
|
+
# @return [Google::Apis::DeveloperconnectV1::GitLabEnterpriseConfig]
|
96
|
+
attr_accessor :gitlab_enterprise_config
|
97
|
+
|
77
98
|
# Describes stage and necessary actions to be taken by the user to complete the
|
78
99
|
# installation. Used for GitHub and GitHub Enterprise based connections.
|
79
100
|
# Corresponds to the JSON property `installationState`
|
@@ -116,10 +137,14 @@ module Google
|
|
116
137
|
def update!(**args)
|
117
138
|
@annotations = args[:annotations] if args.key?(:annotations)
|
118
139
|
@create_time = args[:create_time] if args.key?(:create_time)
|
140
|
+
@crypto_key_config = args[:crypto_key_config] if args.key?(:crypto_key_config)
|
119
141
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
120
142
|
@disabled = args[:disabled] if args.key?(:disabled)
|
121
143
|
@etag = args[:etag] if args.key?(:etag)
|
122
144
|
@github_config = args[:github_config] if args.key?(:github_config)
|
145
|
+
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
146
|
+
@gitlab_config = args[:gitlab_config] if args.key?(:gitlab_config)
|
147
|
+
@gitlab_enterprise_config = args[:gitlab_enterprise_config] if args.key?(:gitlab_enterprise_config)
|
123
148
|
@installation_state = args[:installation_state] if args.key?(:installation_state)
|
124
149
|
@labels = args[:labels] if args.key?(:labels)
|
125
150
|
@name = args[:name] if args.key?(:name)
|
@@ -129,6 +154,28 @@ module Google
|
|
129
154
|
end
|
130
155
|
end
|
131
156
|
|
157
|
+
# The crypto key configuration. This field is used by the Customer-managed
|
158
|
+
# encryption keys (CMEK) feature.
|
159
|
+
class CryptoKeyConfig
|
160
|
+
include Google::Apis::Core::Hashable
|
161
|
+
|
162
|
+
# Required. The name of the key which is used to encrypt/decrypt customer data.
|
163
|
+
# For key in Cloud KMS, the key should be in the format of `projects/*/locations/
|
164
|
+
# */keyRings/*/cryptoKeys/*`.
|
165
|
+
# Corresponds to the JSON property `keyReference`
|
166
|
+
# @return [String]
|
167
|
+
attr_accessor :key_reference
|
168
|
+
|
169
|
+
def initialize(**args)
|
170
|
+
update!(**args)
|
171
|
+
end
|
172
|
+
|
173
|
+
# Update properties of this object
|
174
|
+
def update!(**args)
|
175
|
+
@key_reference = args[:key_reference] if args.key?(:key_reference)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
132
179
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
133
180
|
# messages in your APIs. A typical example is to use it as the request or the
|
134
181
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -345,6 +392,179 @@ module Google
|
|
345
392
|
end
|
346
393
|
end
|
347
394
|
|
395
|
+
# Configuration for connections to an instance of GitHub Enterprise.
|
396
|
+
class GitHubEnterpriseConfig
|
397
|
+
include Google::Apis::Core::Hashable
|
398
|
+
|
399
|
+
# Optional. ID of the GitHub App created from the manifest.
|
400
|
+
# Corresponds to the JSON property `appId`
|
401
|
+
# @return [Fixnum]
|
402
|
+
attr_accessor :app_id
|
403
|
+
|
404
|
+
# Optional. ID of the installation of the GitHub App.
|
405
|
+
# Corresponds to the JSON property `appInstallationId`
|
406
|
+
# @return [Fixnum]
|
407
|
+
attr_accessor :app_installation_id
|
408
|
+
|
409
|
+
# Output only. The URL-friendly name of the GitHub App.
|
410
|
+
# Corresponds to the JSON property `appSlug`
|
411
|
+
# @return [String]
|
412
|
+
attr_accessor :app_slug
|
413
|
+
|
414
|
+
# Required. The URI of the GitHub Enterprise host this connection is for.
|
415
|
+
# Corresponds to the JSON property `hostUri`
|
416
|
+
# @return [String]
|
417
|
+
attr_accessor :host_uri
|
418
|
+
|
419
|
+
# Output only. The URI to navigate to in order to manage the installation
|
420
|
+
# associated with this GitHubEnterpriseConfig.
|
421
|
+
# Corresponds to the JSON property `installationUri`
|
422
|
+
# @return [String]
|
423
|
+
attr_accessor :installation_uri
|
424
|
+
|
425
|
+
# Optional. SecretManager resource containing the private key of the GitHub App,
|
426
|
+
# formatted as `projects/*/secrets/*/versions/*`.
|
427
|
+
# Corresponds to the JSON property `privateKeySecretVersion`
|
428
|
+
# @return [String]
|
429
|
+
attr_accessor :private_key_secret_version
|
430
|
+
|
431
|
+
# Output only. GitHub Enterprise version installed at the host_uri.
|
432
|
+
# Corresponds to the JSON property `serverVersion`
|
433
|
+
# @return [String]
|
434
|
+
attr_accessor :server_version
|
435
|
+
|
436
|
+
# ServiceDirectoryConfig represents Service Directory configuration for a
|
437
|
+
# connection.
|
438
|
+
# Corresponds to the JSON property `serviceDirectoryConfig`
|
439
|
+
# @return [Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig]
|
440
|
+
attr_accessor :service_directory_config
|
441
|
+
|
442
|
+
# Optional. SSL certificate to use for requests to GitHub Enterprise.
|
443
|
+
# Corresponds to the JSON property `sslCaCertificate`
|
444
|
+
# @return [String]
|
445
|
+
attr_accessor :ssl_ca_certificate
|
446
|
+
|
447
|
+
# Optional. SecretManager resource containing the webhook secret of the GitHub
|
448
|
+
# App, formatted as `projects/*/secrets/*/versions/*`.
|
449
|
+
# Corresponds to the JSON property `webhookSecretSecretVersion`
|
450
|
+
# @return [String]
|
451
|
+
attr_accessor :webhook_secret_secret_version
|
452
|
+
|
453
|
+
def initialize(**args)
|
454
|
+
update!(**args)
|
455
|
+
end
|
456
|
+
|
457
|
+
# Update properties of this object
|
458
|
+
def update!(**args)
|
459
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
460
|
+
@app_installation_id = args[:app_installation_id] if args.key?(:app_installation_id)
|
461
|
+
@app_slug = args[:app_slug] if args.key?(:app_slug)
|
462
|
+
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
463
|
+
@installation_uri = args[:installation_uri] if args.key?(:installation_uri)
|
464
|
+
@private_key_secret_version = args[:private_key_secret_version] if args.key?(:private_key_secret_version)
|
465
|
+
@server_version = args[:server_version] if args.key?(:server_version)
|
466
|
+
@service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
|
467
|
+
@ssl_ca_certificate = args[:ssl_ca_certificate] if args.key?(:ssl_ca_certificate)
|
468
|
+
@webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version)
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
# Configuration for connections to gitlab.com.
|
473
|
+
class GitLabConfig
|
474
|
+
include Google::Apis::Core::Hashable
|
475
|
+
|
476
|
+
# Represents a personal access token that authorized the Connection, and
|
477
|
+
# associated metadata.
|
478
|
+
# Corresponds to the JSON property `authorizerCredential`
|
479
|
+
# @return [Google::Apis::DeveloperconnectV1::UserCredential]
|
480
|
+
attr_accessor :authorizer_credential
|
481
|
+
|
482
|
+
# Represents a personal access token that authorized the Connection, and
|
483
|
+
# associated metadata.
|
484
|
+
# Corresponds to the JSON property `readAuthorizerCredential`
|
485
|
+
# @return [Google::Apis::DeveloperconnectV1::UserCredential]
|
486
|
+
attr_accessor :read_authorizer_credential
|
487
|
+
|
488
|
+
# Required. Immutable. SecretManager resource containing the webhook secret of a
|
489
|
+
# GitLab project, formatted as `projects/*/secrets/*/versions/*`. This is used
|
490
|
+
# to validate webhooks.
|
491
|
+
# Corresponds to the JSON property `webhookSecretSecretVersion`
|
492
|
+
# @return [String]
|
493
|
+
attr_accessor :webhook_secret_secret_version
|
494
|
+
|
495
|
+
def initialize(**args)
|
496
|
+
update!(**args)
|
497
|
+
end
|
498
|
+
|
499
|
+
# Update properties of this object
|
500
|
+
def update!(**args)
|
501
|
+
@authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential)
|
502
|
+
@read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential)
|
503
|
+
@webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version)
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
507
|
+
# Configuration for connections to an instance of GitLab Enterprise.
|
508
|
+
class GitLabEnterpriseConfig
|
509
|
+
include Google::Apis::Core::Hashable
|
510
|
+
|
511
|
+
# Represents a personal access token that authorized the Connection, and
|
512
|
+
# associated metadata.
|
513
|
+
# Corresponds to the JSON property `authorizerCredential`
|
514
|
+
# @return [Google::Apis::DeveloperconnectV1::UserCredential]
|
515
|
+
attr_accessor :authorizer_credential
|
516
|
+
|
517
|
+
# Required. The URI of the GitLab Enterprise host this connection is for.
|
518
|
+
# Corresponds to the JSON property `hostUri`
|
519
|
+
# @return [String]
|
520
|
+
attr_accessor :host_uri
|
521
|
+
|
522
|
+
# Represents a personal access token that authorized the Connection, and
|
523
|
+
# associated metadata.
|
524
|
+
# Corresponds to the JSON property `readAuthorizerCredential`
|
525
|
+
# @return [Google::Apis::DeveloperconnectV1::UserCredential]
|
526
|
+
attr_accessor :read_authorizer_credential
|
527
|
+
|
528
|
+
# Output only. Version of the GitLab Enterprise server running on the `host_uri`.
|
529
|
+
# Corresponds to the JSON property `serverVersion`
|
530
|
+
# @return [String]
|
531
|
+
attr_accessor :server_version
|
532
|
+
|
533
|
+
# ServiceDirectoryConfig represents Service Directory configuration for a
|
534
|
+
# connection.
|
535
|
+
# Corresponds to the JSON property `serviceDirectoryConfig`
|
536
|
+
# @return [Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig]
|
537
|
+
attr_accessor :service_directory_config
|
538
|
+
|
539
|
+
# Optional. SSL Certificate Authority certificate to use for requests to GitLab
|
540
|
+
# Enterprise instance.
|
541
|
+
# Corresponds to the JSON property `sslCaCertificate`
|
542
|
+
# @return [String]
|
543
|
+
attr_accessor :ssl_ca_certificate
|
544
|
+
|
545
|
+
# Required. Immutable. SecretManager resource containing the webhook secret of a
|
546
|
+
# GitLab project, formatted as `projects/*/secrets/*/versions/*`. This is used
|
547
|
+
# to validate webhooks.
|
548
|
+
# Corresponds to the JSON property `webhookSecretSecretVersion`
|
549
|
+
# @return [String]
|
550
|
+
attr_accessor :webhook_secret_secret_version
|
551
|
+
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
555
|
+
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential)
|
559
|
+
@host_uri = args[:host_uri] if args.key?(:host_uri)
|
560
|
+
@read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential)
|
561
|
+
@server_version = args[:server_version] if args.key?(:server_version)
|
562
|
+
@service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
|
563
|
+
@ssl_ca_certificate = args[:ssl_ca_certificate] if args.key?(:ssl_ca_certificate)
|
564
|
+
@webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version)
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
348
568
|
# Message describing the GitRepositoryLink object
|
349
569
|
class GitRepositoryLink
|
350
570
|
include Google::Apis::Core::Hashable
|
@@ -404,6 +624,11 @@ module Google
|
|
404
624
|
# @return [String]
|
405
625
|
attr_accessor :update_time
|
406
626
|
|
627
|
+
# Output only. External ID of the webhook created for the repository.
|
628
|
+
# Corresponds to the JSON property `webhookId`
|
629
|
+
# @return [String]
|
630
|
+
attr_accessor :webhook_id
|
631
|
+
|
407
632
|
def initialize(**args)
|
408
633
|
update!(**args)
|
409
634
|
end
|
@@ -420,6 +645,7 @@ module Google
|
|
420
645
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
421
646
|
@uid = args[:uid] if args.key?(:uid)
|
422
647
|
@update_time = args[:update_time] if args.key?(:update_time)
|
648
|
+
@webhook_id = args[:webhook_id] if args.key?(:webhook_id)
|
423
649
|
end
|
424
650
|
end
|
425
651
|
|
@@ -815,6 +1041,27 @@ module Google
|
|
815
1041
|
end
|
816
1042
|
end
|
817
1043
|
|
1044
|
+
# ServiceDirectoryConfig represents Service Directory configuration for a
|
1045
|
+
# connection.
|
1046
|
+
class ServiceDirectoryConfig
|
1047
|
+
include Google::Apis::Core::Hashable
|
1048
|
+
|
1049
|
+
# Required. The Service Directory service name. Format: projects/`project`/
|
1050
|
+
# locations/`location`/namespaces/`namespace`/services/`service`.
|
1051
|
+
# Corresponds to the JSON property `service`
|
1052
|
+
# @return [String]
|
1053
|
+
attr_accessor :service
|
1054
|
+
|
1055
|
+
def initialize(**args)
|
1056
|
+
update!(**args)
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# Update properties of this object
|
1060
|
+
def update!(**args)
|
1061
|
+
@service = args[:service] if args.key?(:service)
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
818
1065
|
# The `Status` type defines a logical error model that is suitable for different
|
819
1066
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
820
1067
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -853,6 +1100,33 @@ module Google
|
|
853
1100
|
@message = args[:message] if args.key?(:message)
|
854
1101
|
end
|
855
1102
|
end
|
1103
|
+
|
1104
|
+
# Represents a personal access token that authorized the Connection, and
|
1105
|
+
# associated metadata.
|
1106
|
+
class UserCredential
|
1107
|
+
include Google::Apis::Core::Hashable
|
1108
|
+
|
1109
|
+
# Required. A SecretManager resource containing the user token that authorizes
|
1110
|
+
# the Developer Connect connection. Format: `projects/*/secrets/*/versions/*`.
|
1111
|
+
# Corresponds to the JSON property `userTokenSecretVersion`
|
1112
|
+
# @return [String]
|
1113
|
+
attr_accessor :user_token_secret_version
|
1114
|
+
|
1115
|
+
# Output only. The username associated with this token.
|
1116
|
+
# Corresponds to the JSON property `username`
|
1117
|
+
# @return [String]
|
1118
|
+
attr_accessor :username
|
1119
|
+
|
1120
|
+
def initialize(**args)
|
1121
|
+
update!(**args)
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
# Update properties of this object
|
1125
|
+
def update!(**args)
|
1126
|
+
@user_token_secret_version = args[:user_token_secret_version] if args.key?(:user_token_secret_version)
|
1127
|
+
@username = args[:username] if args.key?(:username)
|
1128
|
+
end
|
1129
|
+
end
|
856
1130
|
end
|
857
1131
|
end
|
858
1132
|
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.
|
19
|
+
GEM_VERSION = "0.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240919"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class CryptoKeyConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Empty
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -88,6 +94,24 @@ module Google
|
|
88
94
|
include Google::Apis::Core::JsonObjectSupport
|
89
95
|
end
|
90
96
|
|
97
|
+
class GitHubEnterpriseConfig
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GitLabConfig
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GitLabEnterpriseConfig
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
91
115
|
class GitRepositoryLink
|
92
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
117
|
|
@@ -160,12 +184,24 @@ module Google
|
|
160
184
|
include Google::Apis::Core::JsonObjectSupport
|
161
185
|
end
|
162
186
|
|
187
|
+
class ServiceDirectoryConfig
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
163
193
|
class Status
|
164
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
195
|
|
166
196
|
include Google::Apis::Core::JsonObjectSupport
|
167
197
|
end
|
168
198
|
|
199
|
+
class UserCredential
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
169
205
|
class CancelOperationRequest
|
170
206
|
# @private
|
171
207
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -177,11 +213,19 @@ module Google
|
|
177
213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
178
214
|
hash :annotations, as: 'annotations'
|
179
215
|
property :create_time, as: 'createTime'
|
216
|
+
property :crypto_key_config, as: 'cryptoKeyConfig', class: Google::Apis::DeveloperconnectV1::CryptoKeyConfig, decorator: Google::Apis::DeveloperconnectV1::CryptoKeyConfig::Representation
|
217
|
+
|
180
218
|
property :delete_time, as: 'deleteTime'
|
181
219
|
property :disabled, as: 'disabled'
|
182
220
|
property :etag, as: 'etag'
|
183
221
|
property :github_config, as: 'githubConfig', class: Google::Apis::DeveloperconnectV1::GitHubConfig, decorator: Google::Apis::DeveloperconnectV1::GitHubConfig::Representation
|
184
222
|
|
223
|
+
property :github_enterprise_config, as: 'githubEnterpriseConfig', class: Google::Apis::DeveloperconnectV1::GitHubEnterpriseConfig, decorator: Google::Apis::DeveloperconnectV1::GitHubEnterpriseConfig::Representation
|
224
|
+
|
225
|
+
property :gitlab_config, as: 'gitlabConfig', class: Google::Apis::DeveloperconnectV1::GitLabConfig, decorator: Google::Apis::DeveloperconnectV1::GitLabConfig::Representation
|
226
|
+
|
227
|
+
property :gitlab_enterprise_config, as: 'gitlabEnterpriseConfig', class: Google::Apis::DeveloperconnectV1::GitLabEnterpriseConfig, decorator: Google::Apis::DeveloperconnectV1::GitLabEnterpriseConfig::Representation
|
228
|
+
|
185
229
|
property :installation_state, as: 'installationState', class: Google::Apis::DeveloperconnectV1::InstallationState, decorator: Google::Apis::DeveloperconnectV1::InstallationState::Representation
|
186
230
|
|
187
231
|
hash :labels, as: 'labels'
|
@@ -192,6 +236,13 @@ module Google
|
|
192
236
|
end
|
193
237
|
end
|
194
238
|
|
239
|
+
class CryptoKeyConfig
|
240
|
+
# @private
|
241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
242
|
+
property :key_reference, as: 'keyReference'
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
195
246
|
class Empty
|
196
247
|
# @private
|
197
248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -264,6 +315,50 @@ module Google
|
|
264
315
|
end
|
265
316
|
end
|
266
317
|
|
318
|
+
class GitHubEnterpriseConfig
|
319
|
+
# @private
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
321
|
+
property :app_id, :numeric_string => true, as: 'appId'
|
322
|
+
property :app_installation_id, :numeric_string => true, as: 'appInstallationId'
|
323
|
+
property :app_slug, as: 'appSlug'
|
324
|
+
property :host_uri, as: 'hostUri'
|
325
|
+
property :installation_uri, as: 'installationUri'
|
326
|
+
property :private_key_secret_version, as: 'privateKeySecretVersion'
|
327
|
+
property :server_version, as: 'serverVersion'
|
328
|
+
property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig, decorator: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig::Representation
|
329
|
+
|
330
|
+
property :ssl_ca_certificate, as: 'sslCaCertificate'
|
331
|
+
property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion'
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
class GitLabConfig
|
336
|
+
# @private
|
337
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
338
|
+
property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation
|
339
|
+
|
340
|
+
property :read_authorizer_credential, as: 'readAuthorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation
|
341
|
+
|
342
|
+
property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion'
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
class GitLabEnterpriseConfig
|
347
|
+
# @private
|
348
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
349
|
+
property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation
|
350
|
+
|
351
|
+
property :host_uri, as: 'hostUri'
|
352
|
+
property :read_authorizer_credential, as: 'readAuthorizerCredential', class: Google::Apis::DeveloperconnectV1::UserCredential, decorator: Google::Apis::DeveloperconnectV1::UserCredential::Representation
|
353
|
+
|
354
|
+
property :server_version, as: 'serverVersion'
|
355
|
+
property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig, decorator: Google::Apis::DeveloperconnectV1::ServiceDirectoryConfig::Representation
|
356
|
+
|
357
|
+
property :ssl_ca_certificate, as: 'sslCaCertificate'
|
358
|
+
property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion'
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
267
362
|
class GitRepositoryLink
|
268
363
|
# @private
|
269
364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -277,6 +372,7 @@ module Google
|
|
277
372
|
property :reconciling, as: 'reconciling'
|
278
373
|
property :uid, as: 'uid'
|
279
374
|
property :update_time, as: 'updateTime'
|
375
|
+
property :webhook_id, as: 'webhookId'
|
280
376
|
end
|
281
377
|
end
|
282
378
|
|
@@ -387,6 +483,13 @@ module Google
|
|
387
483
|
end
|
388
484
|
end
|
389
485
|
|
486
|
+
class ServiceDirectoryConfig
|
487
|
+
# @private
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
489
|
+
property :service, as: 'service'
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
390
493
|
class Status
|
391
494
|
# @private
|
392
495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -395,6 +498,14 @@ module Google
|
|
395
498
|
property :message, as: 'message'
|
396
499
|
end
|
397
500
|
end
|
501
|
+
|
502
|
+
class UserCredential
|
503
|
+
# @private
|
504
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
505
|
+
property :user_token_secret_version, as: 'userTokenSecretVersion'
|
506
|
+
property :username, as: 'username'
|
507
|
+
end
|
508
|
+
end
|
398
509
|
end
|
399
510
|
end
|
400
511
|
end
|
@@ -393,11 +393,11 @@ module Google
|
|
393
393
|
# duplicate commitments. The request ID must be a valid UUID with the exception
|
394
394
|
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
395
395
|
# @param [String] update_mask
|
396
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
397
|
-
# Connection resource by the update. The fields specified in the
|
398
|
-
# relative to the resource, not the full request. A field will
|
399
|
-
# it is in the mask. If the user does not provide a mask then
|
400
|
-
# overwritten.
|
396
|
+
# Optional. Required. Field mask is used to specify the fields to be overwritten
|
397
|
+
# in the Connection resource by the update. The fields specified in the
|
398
|
+
# update_mask are relative to the resource, not the full request. A field will
|
399
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
400
|
+
# all fields will be overwritten.
|
401
401
|
# @param [Boolean] validate_only
|
402
402
|
# Optional. If set, validate the request, but do not actually post it.
|
403
403
|
# @param [String] fields
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-developerconnect_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.2.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|