google-cloud-developer_connect-v1 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/developer_connect/v1/developer_connect/operations.rb +3 -10
- data/lib/google/cloud/developer_connect/v1/developer_connect/paths.rb +42 -0
- data/lib/google/cloud/developer_connect/v1/developer_connect/rest/operations.rb +3 -10
- data/lib/google/cloud/developer_connect/v1/version.rb +1 -1
- data/lib/google/cloud/developerconnect/v1/developer_connect_pb.rb +7 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/cloud/developerconnect/v1/developer_connect.rb +166 -3
- data/proto_docs/google/longrunning/operations.rb +19 -14
- 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: a053f4132c1e55aaa41fa087230c22349ee03f0d50ba0ef9cdfe1a2c1cd35c5e
|
4
|
+
data.tar.gz: 201c2db9e6f24446314b92c84b206cddf9182a342f1f7858000fdc7020794cbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a45f732f6bd69813bedde016c691ce27d9456d43d45591fc78251768dd9b7cf2b10620174367f1b6306a6df926680809d46dc08855c0c6ef172198d0800daba
|
7
|
+
data.tar.gz: 805a301e8724b035cc2036abc29092f73eba97716a36339eb484fa66d9de89895d39e94c6f08834d163f47f11d559639aa7059954001793987f2df60be1e31e3
|
@@ -124,14 +124,6 @@ module Google
|
|
124
124
|
# Lists operations that match the specified filter in the request. If the
|
125
125
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
126
|
#
|
127
|
-
# NOTE: the `name` binding allows API services to override the binding
|
128
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
129
|
-
# override the binding, API services can add a binding such as
|
130
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
131
|
-
# For backwards compatibility, the default name includes the operations
|
132
|
-
# collection id, however overriding users must ensure the name binding
|
133
|
-
# is the parent resource, without the operations collection id.
|
134
|
-
#
|
135
127
|
# @overload list_operations(request, options = nil)
|
136
128
|
# Pass arguments to `list_operations` via a request object, either of type
|
137
129
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -421,8 +413,9 @@ module Google
|
|
421
413
|
# other methods to check whether the cancellation succeeded or whether the
|
422
414
|
# operation completed despite cancellation. On successful cancellation,
|
423
415
|
# the operation is not deleted; instead, it becomes an operation with
|
424
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
425
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
426
419
|
#
|
427
420
|
# @overload cancel_operation(request, options = nil)
|
428
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -43,6 +43,27 @@ module Google
|
|
43
43
|
"projects/#{project}/locations/#{location}/connections/#{connection}"
|
44
44
|
end
|
45
45
|
|
46
|
+
##
|
47
|
+
# Create a fully-qualified CryptoKey resource string.
|
48
|
+
#
|
49
|
+
# The resource will be in the following format:
|
50
|
+
#
|
51
|
+
# `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
|
52
|
+
#
|
53
|
+
# @param project [String]
|
54
|
+
# @param location [String]
|
55
|
+
# @param key_ring [String]
|
56
|
+
# @param crypto_key [String]
|
57
|
+
#
|
58
|
+
# @return [::String]
|
59
|
+
def crypto_key_path project:, location:, key_ring:, crypto_key:
|
60
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
61
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
62
|
+
raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
|
63
|
+
|
64
|
+
"projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}"
|
65
|
+
end
|
66
|
+
|
46
67
|
##
|
47
68
|
# Create a fully-qualified GitRepositoryLink resource string.
|
48
69
|
#
|
@@ -100,6 +121,27 @@ module Google
|
|
100
121
|
"projects/#{project}/secrets/#{secret}/versions/#{secret_version}"
|
101
122
|
end
|
102
123
|
|
124
|
+
##
|
125
|
+
# Create a fully-qualified Service resource string.
|
126
|
+
#
|
127
|
+
# The resource will be in the following format:
|
128
|
+
#
|
129
|
+
# `projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}`
|
130
|
+
#
|
131
|
+
# @param project [String]
|
132
|
+
# @param location [String]
|
133
|
+
# @param namespace [String]
|
134
|
+
# @param service [String]
|
135
|
+
#
|
136
|
+
# @return [::String]
|
137
|
+
def service_path project:, location:, namespace:, service:
|
138
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
139
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
140
|
+
raise ::ArgumentError, "namespace cannot contain /" if namespace.to_s.include? "/"
|
141
|
+
|
142
|
+
"projects/#{project}/locations/#{location}/namespaces/#{namespace}/services/#{service}"
|
143
|
+
end
|
144
|
+
|
103
145
|
extend self
|
104
146
|
end
|
105
147
|
end
|
@@ -115,14 +115,6 @@ module Google
|
|
115
115
|
# Lists operations that match the specified filter in the request. If the
|
116
116
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
117
117
|
#
|
118
|
-
# NOTE: the `name` binding allows API services to override the binding
|
119
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
120
|
-
# override the binding, API services can add a binding such as
|
121
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
122
|
-
# For backwards compatibility, the default name includes the operations
|
123
|
-
# collection id, however overriding users must ensure the name binding
|
124
|
-
# is the parent resource, without the operations collection id.
|
125
|
-
#
|
126
118
|
# @overload list_operations(request, options = nil)
|
127
119
|
# Pass arguments to `list_operations` via a request object, either of type
|
128
120
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -390,8 +382,9 @@ module Google
|
|
390
382
|
# other methods to check whether the cancellation succeeded or whether the
|
391
383
|
# operation completed despite cancellation. On successful cancellation,
|
392
384
|
# the operation is not deleted; instead, it becomes an operation with
|
393
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
394
|
-
# corresponding to
|
385
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
386
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
387
|
+
# `Code.CANCELLED`.
|
395
388
|
#
|
396
389
|
# @overload cancel_operation(request, options = nil)
|
397
390
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -15,7 +15,7 @@ require 'google/protobuf/field_mask_pb'
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n8google/cloud/developerconnect/v1/developer_connect.proto\x12 google.cloud.developerconnect.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\x06\n\nConnection\x12G\n\rgithub_config\x18\x05 \x01(\x0b\x32..google.cloud.developerconnect.v1.GitHubConfigH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.cloud.developerconnect.v1.Connection.LabelsEntryB\x03\xe0\x41\x01\x12T\n\x12installation_state\x18\x06 \x01(\x0b\x32\x33.google.cloud.developerconnect.v1.InstallationStateB\x03\xe0\x41\x03\x12\x15\n\x08\x64isabled\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0breconciling\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12W\n\x0b\x61nnotations\x18\t \x03(\x0b\x32=.google.cloud.developerconnect.v1.Connection.AnnotationsEntryB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x03uid\x18\x0c \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x8e\x01\xea\x41\x8a\x01\n*developerconnect.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}*\x0b\x63onnections2\nconnectionR\x01\x01\x42\x13\n\x11\x63onnection_config\"\x88\x02\n\x11InstallationState\x12M\n\x05stage\x18\x01 \x01(\x0e\x32\x39.google.cloud.developerconnect.v1.InstallationState.StageB\x03\xe0\x41\x03\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\naction_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\"u\n\x05Stage\x12\x15\n\x11STAGE_UNSPECIFIED\x10\x00\x12\x16\n\x12PENDING_CREATE_APP\x10\x01\x12\x16\n\x12PENDING_USER_OAUTH\x10\x02\x12\x17\n\x13PENDING_INSTALL_APP\x10\x03\x12\x0c\n\x08\x43OMPLETE\x10\n\"\xcb\x02\n\x0cGitHubConfig\x12T\n\ngithub_app\x18\x01 \x01(\x0e\x32\x38.google.cloud.developerconnect.v1.GitHubConfig.GitHubAppB\x06\xe0\x41\x02\xe0\x41\x05\x12U\n\x15\x61uthorizer_credential\x18\x02 \x01(\x0b\x32\x31.google.cloud.developerconnect.v1.OAuthCredentialB\x03\xe0\x41\x01\x12 \n\x13\x61pp_installation_id\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10installation_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03\"M\n\tGitHubApp\x12\x1b\n\x17GIT_HUB_APP_UNSPECIFIED\x10\x00\x12\x15\n\x11\x44\x45VELOPER_CONNECT\x10\x01\x12\x0c\n\x08\x46IREBASE\x10\x02\"\x80\x01\n\x0fOAuthCredential\x12V\n\x1aoauth_token_secret_version\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xb9\x01\n\x16ListConnectionsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*developerconnect.googleapis.com/Connection\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8a\x01\n\x17ListConnectionsResponse\x12\x41\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32,.google.cloud.developerconnect.v1.Connection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x14GetConnectionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*developerconnect.googleapis.com/Connection\"\xfd\x01\n\x17\x43reateConnectionRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*developerconnect.googleapis.com/Connection\x12\x1a\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x45\n\nconnection\x18\x03 \x01(\x0b\x32,.google.cloud.developerconnect.v1.ConnectionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xef\x01\n\x17UpdateConnectionRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x45\n\nconnection\x18\x02 \x01(\x0b\x32,.google.cloud.developerconnect.v1.ConnectionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xab\x01\n\x17\x44\x65leteConnectionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*developerconnect.googleapis.com/Connection\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\x8f\x06\n\x11GitRepositoryLink\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x16\n\tclone_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x06labels\x18\x06 \x03(\x0b\x32?.google.cloud.developerconnect.v1.GitRepositoryLink.LabelsEntryB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0breconciling\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12^\n\x0b\x61nnotations\x18\t \x03(\x0b\x32\x44.google.cloud.developerconnect.v1.GitRepositoryLink.AnnotationsEntryB\x03\xe0\x41\x01\x12\x18\n\x03uid\x18\n \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xcc\x01\xea\x41\xc8\x01\n1developerconnect.googleapis.com/GitRepositoryLink\x12iprojects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}*\x12gitRepositoryLinks2\x11gitRepositoryLinkR\x01\x01\"\xa4\x02\n\x1e\x43reateGitRepositoryLinkRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31\x64\x65veloperconnect.googleapis.com/GitRepositoryLink\x12U\n\x13git_repository_link\x18\x02 \x01(\x0b\x32\x33.google.cloud.developerconnect.v1.GitRepositoryLinkB\x03\xe0\x41\x02\x12#\n\x16git_repository_link_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xb9\x01\n\x1e\x44\x65leteGitRepositoryLinkRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xc7\x01\n\x1dListGitRepositoryLinksRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31\x64\x65veloperconnect.googleapis.com/GitRepositoryLink\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa1\x01\n\x1eListGitRepositoryLinksResponse\x12Q\n\x14git_repository_links\x18\x01 \x03(\x0b\x32\x33.google.cloud.developerconnect.v1.GitRepositoryLink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"f\n\x1bGetGitRepositoryLinkRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\"t\n\x1a\x46\x65tchReadWriteTokenRequest\x12V\n\x13git_repository_link\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\"o\n\x15\x46\x65tchReadTokenRequest\x12V\n\x13git_repository_link\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\"r\n\x16\x46\x65tchReadTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x33\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cgit_username\x18\x03 \x01(\t\"w\n\x1b\x46\x65tchReadWriteTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x33\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cgit_username\x18\x03 \x01(\t\"\x9e\x01\n#FetchLinkableGitRepositoriesRequest\x12\x46\n\nconnection\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*developerconnect.googleapis.com/Connection\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n$FetchLinkableGitRepositoriesResponse\x12Z\n\x19linkable_git_repositories\x18\x01 \x03(\x0b\x32\x37.google.cloud.developerconnect.v1.LinkableGitRepository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"*\n\x15LinkableGitRepository\x12\x11\n\tclone_uri\x18\x01 \x01(\t\"i\n\x1f\x46\x65tchGitHubInstallationsRequest\x12\x46\n\nconnection\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*developerconnect.googleapis.com/Connection\"\xc2\x01\n FetchGitHubInstallationsResponse\x12\x66\n\rinstallations\x18\x01 \x03(\x0b\x32O.google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation\x1a\x36\n\x0cInstallation\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xae\x02\n\x13\x46\x65tchGitRefsRequest\x12V\n\x13git_repository_link\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\x12T\n\x08ref_type\x18\x02 \x01(\x0e\x32=.google.cloud.developerconnect.v1.FetchGitRefsRequest.RefTypeB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\"8\n\x07RefType\x12\x18\n\x14REF_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03TAG\x10\x01\x12\n\n\x06\x42RANCH\x10\x02\"B\n\x14\x46\x65tchGitRefsResponse\x12\x11\n\tref_names\x18\x01 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xa7\x1c\n\x10\x44\x65veloperConnect\x12\xc8\x01\n\x0fListConnections\x12\x38.google.cloud.developerconnect.v1.ListConnectionsRequest\x1a\x39.google.cloud.developerconnect.v1.ListConnectionsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/connections\x12\xb5\x01\n\rGetConnection\x12\x36.google.cloud.developerconnect.v1.GetConnectionRequest\x1a,.google.cloud.developerconnect.v1.Connection\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/connections/*}\x12\xf6\x01\n\x10\x43reateConnection\x12\x39.google.cloud.developerconnect.v1.CreateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1f\n\nConnection\x12\x11OperationMetadata\xda\x41\x1fparent,connection,connection_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/connections:\nconnection\x12\xf8\x01\n\x10UpdateConnection\x12\x39.google.cloud.developerconnect.v1.UpdateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1f\n\nConnection\x12\x11OperationMetadata\xda\x41\x16\x63onnection,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{connection.name=projects/*/locations/*/connections/*}:\nconnection\x12\xd9\x01\n\x10\x44\x65leteConnection\x12\x39.google.cloud.developerconnect.v1.DeleteConnectionRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/connections/*}\x12\xbb\x02\n\x17\x43reateGitRepositoryLink\x12@.google.cloud.developerconnect.v1.CreateGitRepositoryLinkRequest\x1a\x1d.google.longrunning.Operation\"\xbe\x01\xca\x41&\n\x11GitRepositoryLink\x12\x11OperationMetadata\xda\x41\x31parent,git_repository_link,git_repository_link_id\x82\xd3\xe4\x93\x02[\"D/v1/{parent=projects/*/locations/*/connections/*}/gitRepositoryLinks:\x13git_repository_link\x12\xfd\x01\n\x17\x44\x65leteGitRepositoryLink\x12@.google.cloud.developerconnect.v1.DeleteGitRepositoryLinkRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46*D/v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}\x12\xf2\x01\n\x16ListGitRepositoryLinks\x12?.google.cloud.developerconnect.v1.ListGitRepositoryLinksRequest\x1a@.google.cloud.developerconnect.v1.ListGitRepositoryLinksResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/*/connections/*}/gitRepositoryLinks\x12\xdf\x01\n\x14GetGitRepositoryLink\x12=.google.cloud.developerconnect.v1.GetGitRepositoryLinkRequest\x1a\x33.google.cloud.developerconnect.v1.GitRepositoryLink\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}\x12\x9d\x02\n\x13\x46\x65tchReadWriteToken\x12<.google.cloud.developerconnect.v1.FetchReadWriteTokenRequest\x1a=.google.cloud.developerconnect.v1.FetchReadWriteTokenResponse\"\x88\x01\xda\x41\x13git_repository_link\x82\xd3\xe4\x93\x02l\"g/v1/{git_repository_link=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchReadWriteToken:\x01*\x12\x89\x02\n\x0e\x46\x65tchReadToken\x12\x37.google.cloud.developerconnect.v1.FetchReadTokenRequest\x1a\x38.google.cloud.developerconnect.v1.FetchReadTokenResponse\"\x83\x01\xda\x41\x13git_repository_link\x82\xd3\xe4\x93\x02g\"b/v1/{git_repository_link=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchReadToken:\x01*\x12\x96\x02\n\x1c\x46\x65tchLinkableGitRepositories\x12\x45.google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesRequest\x1a\x46.google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesResponse\"g\xda\x41\nconnection\x82\xd3\xe4\x93\x02T\x12R/v1/{connection=projects/*/locations/*/connections/*}:fetchLinkableGitRepositories\x12\x86\x02\n\x18\x46\x65tchGitHubInstallations\x12\x41.google.cloud.developerconnect.v1.FetchGitHubInstallationsRequest\x1a\x42.google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse\"c\xda\x41\nconnection\x82\xd3\xe4\x93\x02P\x12N/v1/{connection=projects/*/locations/*/connections/*}:fetchGitHubInstallations\x12\x87\x02\n\x0c\x46\x65tchGitRefs\x12\x35.google.cloud.developerconnect.v1.FetchGitRefsRequest\x1a\x36.google.cloud.developerconnect.v1.FetchGitRefsResponse\"\x87\x01\xda\x41\x1cgit_repository_link,ref_type\x82\xd3\xe4\x93\x02\x62\x12`/v1/{git_repository_link=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchGitRefs\x1aS\xca\x41\x1f\x64\x65veloperconnect.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfe\x02\n$com.google.cloud.developerconnect.v1B\x15\x44\x65veloperConnectProtoP\x01ZPcloud.google.com/go/developerconnect/apiv1/developerconnectpb;developerconnectpb\xa2\x02\x10\x44\x65veloperConnect\xaa\x02 Google.Cloud.DeveloperConnect.V1\xca\x02 Google\\Cloud\\DeveloperConnect\\V1\xea\x02#Google::Cloud::DeveloperConnect::V1\xea\x41k\n*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}b\x06proto3"
|
18
|
+
descriptor_data = "\n8google/cloud/developerconnect/v1/developer_connect.proto\x12 google.cloud.developerconnect.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc7\t\n\nConnection\x12G\n\rgithub_config\x18\x05 \x01(\x0b\x32..google.cloud.developerconnect.v1.GitHubConfigH\x00\x12\\\n\x18github_enterprise_config\x18\r \x01(\x0b\x32\x38.google.cloud.developerconnect.v1.GitHubEnterpriseConfigH\x00\x12G\n\rgitlab_config\x18\x0e \x01(\x0b\x32..google.cloud.developerconnect.v1.GitLabConfigH\x00\x12\\\n\x18gitlab_enterprise_config\x18\x10 \x01(\x0b\x32\x38.google.cloud.developerconnect.v1.GitLabEnterpriseConfigH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.cloud.developerconnect.v1.Connection.LabelsEntryB\x03\xe0\x41\x01\x12T\n\x12installation_state\x18\x06 \x01(\x0b\x32\x33.google.cloud.developerconnect.v1.InstallationStateB\x03\xe0\x41\x03\x12\x15\n\x08\x64isabled\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0breconciling\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12W\n\x0b\x61nnotations\x18\t \x03(\x0b\x32=.google.cloud.developerconnect.v1.Connection.AnnotationsEntryB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x03uid\x18\x0c \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12Q\n\x11\x63rypto_key_config\x18\x0f \x01(\x0b\x32\x31.google.cloud.developerconnect.v1.CryptoKeyConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x8e\x01\xea\x41\x8a\x01\n*developerconnect.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}*\x0b\x63onnections2\nconnectionR\x01\x01\x42\x13\n\x11\x63onnection_config\"S\n\x0f\x43ryptoKeyConfig\x12@\n\rkey_reference\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"\x88\x02\n\x11InstallationState\x12M\n\x05stage\x18\x01 \x01(\x0e\x32\x39.google.cloud.developerconnect.v1.InstallationState.StageB\x03\xe0\x41\x03\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\naction_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\"u\n\x05Stage\x12\x15\n\x11STAGE_UNSPECIFIED\x10\x00\x12\x16\n\x12PENDING_CREATE_APP\x10\x01\x12\x16\n\x12PENDING_USER_OAUTH\x10\x02\x12\x17\n\x13PENDING_INSTALL_APP\x10\x03\x12\x0c\n\x08\x43OMPLETE\x10\n\"\xcb\x02\n\x0cGitHubConfig\x12T\n\ngithub_app\x18\x01 \x01(\x0e\x32\x38.google.cloud.developerconnect.v1.GitHubConfig.GitHubAppB\x06\xe0\x41\x02\xe0\x41\x05\x12U\n\x15\x61uthorizer_credential\x18\x02 \x01(\x0b\x32\x31.google.cloud.developerconnect.v1.OAuthCredentialB\x03\xe0\x41\x01\x12 \n\x13\x61pp_installation_id\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10installation_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03\"M\n\tGitHubApp\x12\x1b\n\x17GIT_HUB_APP_UNSPECIFIED\x10\x00\x12\x15\n\x11\x44\x45VELOPER_CONNECT\x10\x01\x12\x0c\n\x08\x46IREBASE\x10\x02\"\xee\x03\n\x16GitHubEnterpriseConfig\x12\x15\n\x08host_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x61pp_id\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12\x15\n\x08\x61pp_slug\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12V\n\x1aprivate_key_secret_version\x18\x04 \x01(\tB2\xe0\x41\x01\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12Y\n\x1dwebhook_secret_secret_version\x18\x05 \x01(\tB2\xe0\x41\x01\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12 \n\x13\x61pp_installation_id\x18\x08 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1d\n\x10installation_uri\x18\t \x01(\tB\x03\xe0\x41\x03\x12_\n\x18service_directory_config\x18\n \x01(\x0b\x32\x38.google.cloud.developerconnect.v1.ServiceDirectoryConfigB\x03\xe0\x41\x01\x12\x1b\n\x0eserver_version\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12ssl_ca_certificate\x18\x0e \x01(\tB\x03\xe0\x41\x01\"Z\n\x16ServiceDirectoryConfig\x12@\n\x07service\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\"\x80\x01\n\x0fOAuthCredential\x12V\n\x1aoauth_token_secret_version\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\x9d\x02\n\x0cGitLabConfig\x12\\\n\x1dwebhook_secret_secret_version\x18\x01 \x01(\tB5\xe0\x41\x02\xe0\x41\x05\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12Y\n\x1aread_authorizer_credential\x18\x02 \x01(\x0b\x32\x30.google.cloud.developerconnect.v1.UserCredentialB\x03\xe0\x41\x02\x12T\n\x15\x61uthorizer_credential\x18\x03 \x01(\x0b\x32\x30.google.cloud.developerconnect.v1.UserCredentialB\x03\xe0\x41\x02\"~\n\x0eUserCredential\x12U\n\x19user_token_secret_version\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x15\n\x08username\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xdd\x03\n\x16GitLabEnterpriseConfig\x12\x15\n\x08host_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\\\n\x1dwebhook_secret_secret_version\x18\x02 \x01(\tB5\xe0\x41\x02\xe0\x41\x05\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12Y\n\x1aread_authorizer_credential\x18\x03 \x01(\x0b\x32\x30.google.cloud.developerconnect.v1.UserCredentialB\x03\xe0\x41\x02\x12T\n\x15\x61uthorizer_credential\x18\x04 \x01(\x0b\x32\x30.google.cloud.developerconnect.v1.UserCredentialB\x03\xe0\x41\x02\x12_\n\x18service_directory_config\x18\x05 \x01(\x0b\x32\x38.google.cloud.developerconnect.v1.ServiceDirectoryConfigB\x03\xe0\x41\x01\x12\x1f\n\x12ssl_ca_certificate\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0eserver_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xb9\x01\n\x16ListConnectionsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*developerconnect.googleapis.com/Connection\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x8a\x01\n\x17ListConnectionsResponse\x12\x41\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32,.google.cloud.developerconnect.v1.Connection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x14GetConnectionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*developerconnect.googleapis.com/Connection\"\xfd\x01\n\x17\x43reateConnectionRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*developerconnect.googleapis.com/Connection\x12\x1a\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x45\n\nconnection\x18\x03 \x01(\x0b\x32,.google.cloud.developerconnect.v1.ConnectionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xef\x01\n\x17UpdateConnectionRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x45\n\nconnection\x18\x02 \x01(\x0b\x32,.google.cloud.developerconnect.v1.ConnectionB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xab\x01\n\x17\x44\x65leteConnectionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*developerconnect.googleapis.com/Connection\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xa8\x06\n\x11GitRepositoryLink\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x16\n\tclone_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12T\n\x06labels\x18\x06 \x03(\x0b\x32?.google.cloud.developerconnect.v1.GitRepositoryLink.LabelsEntryB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0breconciling\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12^\n\x0b\x61nnotations\x18\t \x03(\x0b\x32\x44.google.cloud.developerconnect.v1.GitRepositoryLink.AnnotationsEntryB\x03\xe0\x41\x01\x12\x18\n\x03uid\x18\n \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x17\n\nwebhook_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xcc\x01\xea\x41\xc8\x01\n1developerconnect.googleapis.com/GitRepositoryLink\x12iprojects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}*\x12gitRepositoryLinks2\x11gitRepositoryLinkR\x01\x01\"\xa4\x02\n\x1e\x43reateGitRepositoryLinkRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31\x64\x65veloperconnect.googleapis.com/GitRepositoryLink\x12U\n\x13git_repository_link\x18\x02 \x01(\x0b\x32\x33.google.cloud.developerconnect.v1.GitRepositoryLinkB\x03\xe0\x41\x02\x12#\n\x16git_repository_link_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\xb9\x01\n\x1e\x44\x65leteGitRepositoryLinkRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xc7\x01\n\x1dListGitRepositoryLinksRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31\x64\x65veloperconnect.googleapis.com/GitRepositoryLink\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xa1\x01\n\x1eListGitRepositoryLinksResponse\x12Q\n\x14git_repository_links\x18\x01 \x03(\x0b\x32\x33.google.cloud.developerconnect.v1.GitRepositoryLink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"f\n\x1bGetGitRepositoryLinkRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\"t\n\x1a\x46\x65tchReadWriteTokenRequest\x12V\n\x13git_repository_link\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\"o\n\x15\x46\x65tchReadTokenRequest\x12V\n\x13git_repository_link\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\"r\n\x16\x46\x65tchReadTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x33\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cgit_username\x18\x03 \x01(\t\"w\n\x1b\x46\x65tchReadWriteTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x33\n\x0f\x65xpiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cgit_username\x18\x03 \x01(\t\"\x9e\x01\n#FetchLinkableGitRepositoriesRequest\x12\x46\n\nconnection\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*developerconnect.googleapis.com/Connection\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n$FetchLinkableGitRepositoriesResponse\x12Z\n\x19linkable_git_repositories\x18\x01 \x03(\x0b\x32\x37.google.cloud.developerconnect.v1.LinkableGitRepository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"*\n\x15LinkableGitRepository\x12\x11\n\tclone_uri\x18\x01 \x01(\t\"i\n\x1f\x46\x65tchGitHubInstallationsRequest\x12\x46\n\nconnection\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*developerconnect.googleapis.com/Connection\"\xc2\x01\n FetchGitHubInstallationsResponse\x12\x66\n\rinstallations\x18\x01 \x03(\x0b\x32O.google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation\x1a\x36\n\x0cInstallation\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xae\x02\n\x13\x46\x65tchGitRefsRequest\x12V\n\x13git_repository_link\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\x12T\n\x08ref_type\x18\x02 \x01(\x0e\x32=.google.cloud.developerconnect.v1.FetchGitRefsRequest.RefTypeB\x03\xe0\x41\x02\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\"8\n\x07RefType\x12\x18\n\x14REF_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03TAG\x10\x01\x12\n\n\x06\x42RANCH\x10\x02\"B\n\x14\x46\x65tchGitRefsResponse\x12\x11\n\tref_names\x18\x01 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xa7\x1c\n\x10\x44\x65veloperConnect\x12\xc8\x01\n\x0fListConnections\x12\x38.google.cloud.developerconnect.v1.ListConnectionsRequest\x1a\x39.google.cloud.developerconnect.v1.ListConnectionsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/connections\x12\xb5\x01\n\rGetConnection\x12\x36.google.cloud.developerconnect.v1.GetConnectionRequest\x1a,.google.cloud.developerconnect.v1.Connection\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/connections/*}\x12\xf6\x01\n\x10\x43reateConnection\x12\x39.google.cloud.developerconnect.v1.CreateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\xca\x41\x1f\n\nConnection\x12\x11OperationMetadata\xda\x41\x1fparent,connection,connection_id\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/connections:\nconnection\x12\xf8\x01\n\x10UpdateConnection\x12\x39.google.cloud.developerconnect.v1.UpdateConnectionRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41\x1f\n\nConnection\x12\x11OperationMetadata\xda\x41\x16\x63onnection,update_mask\x82\xd3\xe4\x93\x02H2:/v1/{connection.name=projects/*/locations/*/connections/*}:\nconnection\x12\xd9\x01\n\x10\x44\x65leteConnection\x12\x39.google.cloud.developerconnect.v1.DeleteConnectionRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/connections/*}\x12\xbb\x02\n\x17\x43reateGitRepositoryLink\x12@.google.cloud.developerconnect.v1.CreateGitRepositoryLinkRequest\x1a\x1d.google.longrunning.Operation\"\xbe\x01\xca\x41&\n\x11GitRepositoryLink\x12\x11OperationMetadata\xda\x41\x31parent,git_repository_link,git_repository_link_id\x82\xd3\xe4\x93\x02[\"D/v1/{parent=projects/*/locations/*/connections/*}/gitRepositoryLinks:\x13git_repository_link\x12\xfd\x01\n\x17\x44\x65leteGitRepositoryLink\x12@.google.cloud.developerconnect.v1.DeleteGitRepositoryLinkRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46*D/v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}\x12\xf2\x01\n\x16ListGitRepositoryLinks\x12?.google.cloud.developerconnect.v1.ListGitRepositoryLinksRequest\x1a@.google.cloud.developerconnect.v1.ListGitRepositoryLinksResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/*/connections/*}/gitRepositoryLinks\x12\xdf\x01\n\x14GetGitRepositoryLink\x12=.google.cloud.developerconnect.v1.GetGitRepositoryLinkRequest\x1a\x33.google.cloud.developerconnect.v1.GitRepositoryLink\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/connections/*/gitRepositoryLinks/*}\x12\x9d\x02\n\x13\x46\x65tchReadWriteToken\x12<.google.cloud.developerconnect.v1.FetchReadWriteTokenRequest\x1a=.google.cloud.developerconnect.v1.FetchReadWriteTokenResponse\"\x88\x01\xda\x41\x13git_repository_link\x82\xd3\xe4\x93\x02l\"g/v1/{git_repository_link=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchReadWriteToken:\x01*\x12\x89\x02\n\x0e\x46\x65tchReadToken\x12\x37.google.cloud.developerconnect.v1.FetchReadTokenRequest\x1a\x38.google.cloud.developerconnect.v1.FetchReadTokenResponse\"\x83\x01\xda\x41\x13git_repository_link\x82\xd3\xe4\x93\x02g\"b/v1/{git_repository_link=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchReadToken:\x01*\x12\x96\x02\n\x1c\x46\x65tchLinkableGitRepositories\x12\x45.google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesRequest\x1a\x46.google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesResponse\"g\xda\x41\nconnection\x82\xd3\xe4\x93\x02T\x12R/v1/{connection=projects/*/locations/*/connections/*}:fetchLinkableGitRepositories\x12\x86\x02\n\x18\x46\x65tchGitHubInstallations\x12\x41.google.cloud.developerconnect.v1.FetchGitHubInstallationsRequest\x1a\x42.google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse\"c\xda\x41\nconnection\x82\xd3\xe4\x93\x02P\x12N/v1/{connection=projects/*/locations/*/connections/*}:fetchGitHubInstallations\x12\x87\x02\n\x0c\x46\x65tchGitRefs\x12\x35.google.cloud.developerconnect.v1.FetchGitRefsRequest\x1a\x36.google.cloud.developerconnect.v1.FetchGitRefsResponse\"\x87\x01\xda\x41\x1cgit_repository_link,ref_type\x82\xd3\xe4\x93\x02\x62\x12`/v1/{git_repository_link=projects/*/locations/*/connections/*/gitRepositoryLinks/*}:fetchGitRefs\x1aS\xca\x41\x1f\x64\x65veloperconnect.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf8\x04\n$com.google.cloud.developerconnect.v1B\x15\x44\x65veloperConnectProtoP\x01ZPcloud.google.com/go/developerconnect/apiv1/developerconnectpb;developerconnectpb\xa2\x02\x10\x44\x65veloperConnect\xaa\x02 Google.Cloud.DeveloperConnect.V1\xca\x02 Google\\Cloud\\DeveloperConnect\\V1\xea\x02#Google::Cloud::DeveloperConnect::V1\xea\x41k\n*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}b\x06proto3"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -48,11 +48,17 @@ module Google
|
|
48
48
|
module DeveloperConnect
|
49
49
|
module V1
|
50
50
|
Connection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.Connection").msgclass
|
51
|
+
CryptoKeyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.CryptoKeyConfig").msgclass
|
51
52
|
InstallationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.InstallationState").msgclass
|
52
53
|
InstallationState::Stage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.InstallationState.Stage").enummodule
|
53
54
|
GitHubConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GitHubConfig").msgclass
|
54
55
|
GitHubConfig::GitHubApp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GitHubConfig.GitHubApp").enummodule
|
56
|
+
GitHubEnterpriseConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GitHubEnterpriseConfig").msgclass
|
57
|
+
ServiceDirectoryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ServiceDirectoryConfig").msgclass
|
55
58
|
OAuthCredential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.OAuthCredential").msgclass
|
59
|
+
GitLabConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GitLabConfig").msgclass
|
60
|
+
UserCredential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.UserCredential").msgclass
|
61
|
+
GitLabEnterpriseConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GitLabEnterpriseConfig").msgclass
|
56
62
|
ListConnectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ListConnectionsRequest").msgclass
|
57
63
|
ListConnectionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ListConnectionsResponse").msgclass
|
58
64
|
GetConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GetConnectionRequest").msgclass
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -375,6 +384,17 @@ module Google
|
|
375
384
|
end
|
376
385
|
end
|
377
386
|
|
387
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
388
|
+
# a service for client libraries.
|
389
|
+
# @!attribute [rw] methods
|
390
|
+
# @return [::Array<::String>]
|
391
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
392
|
+
# on public client surfaces.
|
393
|
+
class SelectiveGapicGeneration
|
394
|
+
include ::Google::Protobuf::MessageExts
|
395
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
396
|
+
end
|
397
|
+
|
378
398
|
# The organization for which the client libraries are being published.
|
379
399
|
# Affects the url where generated docs are published, etc.
|
380
400
|
module ClientLibraryOrganization
|
@@ -25,6 +25,15 @@ module Google
|
|
25
25
|
# @!attribute [rw] github_config
|
26
26
|
# @return [::Google::Cloud::DeveloperConnect::V1::GitHubConfig]
|
27
27
|
# Configuration for connections to github.com.
|
28
|
+
# @!attribute [rw] github_enterprise_config
|
29
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig]
|
30
|
+
# Configuration for connections to an instance of GitHub Enterprise.
|
31
|
+
# @!attribute [rw] gitlab_config
|
32
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::GitLabConfig]
|
33
|
+
# Configuration for connections to gitlab.com.
|
34
|
+
# @!attribute [rw] gitlab_enterprise_config
|
35
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig]
|
36
|
+
# Configuration for connections to an instance of GitLab Enterprise.
|
28
37
|
# @!attribute [rw] name
|
29
38
|
# @return [::String]
|
30
39
|
# Identifier. The resource name of the connection, in the format
|
@@ -65,6 +74,10 @@ module Google
|
|
65
74
|
# @return [::String]
|
66
75
|
# Output only. A system-assigned unique identifier for a the
|
67
76
|
# GitRepositoryLink.
|
77
|
+
# @!attribute [rw] crypto_key_config
|
78
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::CryptoKeyConfig]
|
79
|
+
# Optional. The crypto key configuration. This field is used by the
|
80
|
+
# Customer-Managed Encryption Keys (CMEK) feature.
|
68
81
|
class Connection
|
69
82
|
include ::Google::Protobuf::MessageExts
|
70
83
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -88,6 +101,18 @@ module Google
|
|
88
101
|
end
|
89
102
|
end
|
90
103
|
|
104
|
+
# The crypto key configuration. This field is used by the Customer-managed
|
105
|
+
# encryption keys (CMEK) feature.
|
106
|
+
# @!attribute [rw] key_reference
|
107
|
+
# @return [::String]
|
108
|
+
# Required. The name of the key which is used to encrypt/decrypt customer
|
109
|
+
# data. For key in Cloud KMS, the key should be in the format of
|
110
|
+
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
111
|
+
class CryptoKeyConfig
|
112
|
+
include ::Google::Protobuf::MessageExts
|
113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
114
|
+
end
|
115
|
+
|
91
116
|
# Describes stage and necessary actions to be taken by the
|
92
117
|
# user to complete the installation. Used for GitHub and GitHub Enterprise
|
93
118
|
# based connections.
|
@@ -161,6 +186,61 @@ module Google
|
|
161
186
|
end
|
162
187
|
end
|
163
188
|
|
189
|
+
# Configuration for connections to an instance of GitHub Enterprise.
|
190
|
+
# @!attribute [rw] host_uri
|
191
|
+
# @return [::String]
|
192
|
+
# Required. The URI of the GitHub Enterprise host this connection is for.
|
193
|
+
# @!attribute [rw] app_id
|
194
|
+
# @return [::Integer]
|
195
|
+
# Optional. ID of the GitHub App created from the manifest.
|
196
|
+
# @!attribute [r] app_slug
|
197
|
+
# @return [::String]
|
198
|
+
# Output only. The URL-friendly name of the GitHub App.
|
199
|
+
# @!attribute [rw] private_key_secret_version
|
200
|
+
# @return [::String]
|
201
|
+
# Optional. SecretManager resource containing the private key of the GitHub
|
202
|
+
# App, formatted as `projects/*/secrets/*/versions/*`.
|
203
|
+
# @!attribute [rw] webhook_secret_secret_version
|
204
|
+
# @return [::String]
|
205
|
+
# Optional. SecretManager resource containing the webhook secret of the
|
206
|
+
# GitHub App, formatted as `projects/*/secrets/*/versions/*`.
|
207
|
+
# @!attribute [rw] app_installation_id
|
208
|
+
# @return [::Integer]
|
209
|
+
# Optional. ID of the installation of the GitHub App.
|
210
|
+
# @!attribute [r] installation_uri
|
211
|
+
# @return [::String]
|
212
|
+
# Output only. The URI to navigate to in order to manage the installation
|
213
|
+
# associated with this GitHubEnterpriseConfig.
|
214
|
+
# @!attribute [rw] service_directory_config
|
215
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig]
|
216
|
+
# Optional. Configuration for using Service Directory to privately connect to
|
217
|
+
# a GitHub Enterprise server. This should only be set if the GitHub
|
218
|
+
# Enterprise server is hosted on-premises and not reachable by public
|
219
|
+
# internet. If this field is left empty, calls to the GitHub Enterprise
|
220
|
+
# server will be made over the public internet.
|
221
|
+
# @!attribute [r] server_version
|
222
|
+
# @return [::String]
|
223
|
+
# Output only. GitHub Enterprise version installed at the host_uri.
|
224
|
+
# @!attribute [rw] ssl_ca_certificate
|
225
|
+
# @return [::String]
|
226
|
+
# Optional. SSL certificate to use for requests to GitHub Enterprise.
|
227
|
+
class GitHubEnterpriseConfig
|
228
|
+
include ::Google::Protobuf::MessageExts
|
229
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
230
|
+
end
|
231
|
+
|
232
|
+
# ServiceDirectoryConfig represents Service Directory configuration for a
|
233
|
+
# connection.
|
234
|
+
# @!attribute [rw] service
|
235
|
+
# @return [::String]
|
236
|
+
# Required. The Service Directory service name.
|
237
|
+
# Format:
|
238
|
+
# projects/\\{project}/locations/\\{location}/namespaces/\\{namespace}/services/\\{service}.
|
239
|
+
class ServiceDirectoryConfig
|
240
|
+
include ::Google::Protobuf::MessageExts
|
241
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
242
|
+
end
|
243
|
+
|
164
244
|
# Represents an OAuth token of the account that authorized the Connection,
|
165
245
|
# and associated metadata.
|
166
246
|
# @!attribute [rw] oauth_token_secret_version
|
@@ -175,6 +255,85 @@ module Google
|
|
175
255
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
176
256
|
end
|
177
257
|
|
258
|
+
# Configuration for connections to gitlab.com.
|
259
|
+
# @!attribute [rw] webhook_secret_secret_version
|
260
|
+
# @return [::String]
|
261
|
+
# Required. Immutable. SecretManager resource containing the webhook secret
|
262
|
+
# of a GitLab project, formatted as `projects/*/secrets/*/versions/*`. This
|
263
|
+
# is used to validate webhooks.
|
264
|
+
# @!attribute [rw] read_authorizer_credential
|
265
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::UserCredential]
|
266
|
+
# Required. A GitLab personal access token with the minimum `read_api` scope
|
267
|
+
# access and a minimum role of `reporter`. The GitLab Projects visible to
|
268
|
+
# this Personal Access Token will control which Projects Developer Connect
|
269
|
+
# has access to.
|
270
|
+
# @!attribute [rw] authorizer_credential
|
271
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::UserCredential]
|
272
|
+
# Required. A GitLab personal access token with the minimum `api` scope
|
273
|
+
# access and a minimum role of `maintainer`. The GitLab Projects visible to
|
274
|
+
# this Personal Access Token will control which Projects Developer Connect
|
275
|
+
# has access to.
|
276
|
+
class GitLabConfig
|
277
|
+
include ::Google::Protobuf::MessageExts
|
278
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
279
|
+
end
|
280
|
+
|
281
|
+
# Represents a personal access token that authorized the Connection,
|
282
|
+
# and associated metadata.
|
283
|
+
# @!attribute [rw] user_token_secret_version
|
284
|
+
# @return [::String]
|
285
|
+
# Required. A SecretManager resource containing the user token that
|
286
|
+
# authorizes the Developer Connect connection. Format:
|
287
|
+
# `projects/*/secrets/*/versions/*`.
|
288
|
+
# @!attribute [r] username
|
289
|
+
# @return [::String]
|
290
|
+
# Output only. The username associated with this token.
|
291
|
+
class UserCredential
|
292
|
+
include ::Google::Protobuf::MessageExts
|
293
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
294
|
+
end
|
295
|
+
|
296
|
+
# Configuration for connections to an instance of GitLab Enterprise.
|
297
|
+
# @!attribute [rw] host_uri
|
298
|
+
# @return [::String]
|
299
|
+
# Required. The URI of the GitLab Enterprise host this connection is for.
|
300
|
+
# @!attribute [rw] webhook_secret_secret_version
|
301
|
+
# @return [::String]
|
302
|
+
# Required. Immutable. SecretManager resource containing the webhook secret
|
303
|
+
# of a GitLab project, formatted as `projects/*/secrets/*/versions/*`. This
|
304
|
+
# is used to validate webhooks.
|
305
|
+
# @!attribute [rw] read_authorizer_credential
|
306
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::UserCredential]
|
307
|
+
# Required. A GitLab personal access token with the minimum `read_api` scope
|
308
|
+
# access and a minimum role of `reporter`. The GitLab Projects visible to
|
309
|
+
# this Personal Access Token will control which Projects Developer Connect
|
310
|
+
# has access to.
|
311
|
+
# @!attribute [rw] authorizer_credential
|
312
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::UserCredential]
|
313
|
+
# Required. A GitLab personal access token with the minimum `api` scope
|
314
|
+
# access and a minimum role of `maintainer`. The GitLab Projects visible to
|
315
|
+
# this Personal Access Token will control which Projects Developer Connect
|
316
|
+
# has access to.
|
317
|
+
# @!attribute [rw] service_directory_config
|
318
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::ServiceDirectoryConfig]
|
319
|
+
# Optional. Configuration for using Service Directory to privately connect to
|
320
|
+
# a GitLab Enterprise instance. This should only be set if the GitLab
|
321
|
+
# Enterprise server is hosted on-premises and not reachable by public
|
322
|
+
# internet. If this field is left empty, calls to the GitLab Enterprise
|
323
|
+
# server will be made over the public internet.
|
324
|
+
# @!attribute [rw] ssl_ca_certificate
|
325
|
+
# @return [::String]
|
326
|
+
# Optional. SSL Certificate Authority certificate to use for requests to
|
327
|
+
# GitLab Enterprise instance.
|
328
|
+
# @!attribute [r] server_version
|
329
|
+
# @return [::String]
|
330
|
+
# Output only. Version of the GitLab Enterprise server running on the
|
331
|
+
# `host_uri`.
|
332
|
+
class GitLabEnterpriseConfig
|
333
|
+
include ::Google::Protobuf::MessageExts
|
334
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
335
|
+
end
|
336
|
+
|
178
337
|
# Message for requesting list of Connections
|
179
338
|
# @!attribute [rw] parent
|
180
339
|
# @return [::String]
|
@@ -349,9 +508,10 @@ module Google
|
|
349
508
|
# @return [::Boolean]
|
350
509
|
# Output only. Identifies whether the user has requested cancellation
|
351
510
|
# of the operation. Operations that have been cancelled successfully
|
352
|
-
# have
|
353
|
-
# {::Google::
|
354
|
-
#
|
511
|
+
# have
|
512
|
+
# {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
|
513
|
+
# value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
514
|
+
# corresponding to `Code.CANCELLED`.
|
355
515
|
# @!attribute [r] api_version
|
356
516
|
# @return [::String]
|
357
517
|
# Output only. API version used to start the operation.
|
@@ -396,6 +556,9 @@ module Google
|
|
396
556
|
# @return [::String]
|
397
557
|
# Output only. A system-assigned unique identifier for a the
|
398
558
|
# GitRepositoryLink.
|
559
|
+
# @!attribute [r] webhook_id
|
560
|
+
# @return [::String]
|
561
|
+
# Output only. External ID of the webhook created for the repository.
|
399
562
|
class GitRepositoryLink
|
400
563
|
include ::Google::Protobuf::MessageExts
|
401
564
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
43
|
# @!attribute [rw] response
|
44
44
|
# @return [::Google::Protobuf::Any]
|
45
|
-
# The normal response of the operation
|
45
|
+
# The normal, successful response of the operation. If the original
|
46
46
|
# method returns no data on success, such as `Delete`, the response is
|
47
47
|
# `google.protobuf.Empty`. If the original method is standard
|
48
48
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -55,7 +55,8 @@ module Google
|
|
55
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
end
|
57
57
|
|
58
|
-
# The request message for
|
58
|
+
# The request message for
|
59
|
+
# Operations.GetOperation.
|
59
60
|
# @!attribute [rw] name
|
60
61
|
# @return [::String]
|
61
62
|
# The name of the operation resource.
|
@@ -64,7 +65,8 @@ module Google
|
|
64
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
66
|
end
|
66
67
|
|
67
|
-
# The request message for
|
68
|
+
# The request message for
|
69
|
+
# Operations.ListOperations.
|
68
70
|
# @!attribute [rw] name
|
69
71
|
# @return [::String]
|
70
72
|
# The name of the operation's parent resource.
|
@@ -82,7 +84,8 @@ module Google
|
|
82
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
85
|
end
|
84
86
|
|
85
|
-
# The response message for
|
87
|
+
# The response message for
|
88
|
+
# Operations.ListOperations.
|
86
89
|
# @!attribute [rw] operations
|
87
90
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
91
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +97,8 @@ module Google
|
|
94
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
98
|
end
|
96
99
|
|
97
|
-
# The request message for
|
100
|
+
# The request message for
|
101
|
+
# Operations.CancelOperation.
|
98
102
|
# @!attribute [rw] name
|
99
103
|
# @return [::String]
|
100
104
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +107,8 @@ module Google
|
|
103
107
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
108
|
end
|
105
109
|
|
106
|
-
# The request message for
|
110
|
+
# The request message for
|
111
|
+
# Operations.DeleteOperation.
|
107
112
|
# @!attribute [rw] name
|
108
113
|
# @return [::String]
|
109
114
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +117,8 @@ module Google
|
|
112
117
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
118
|
end
|
114
119
|
|
115
|
-
# The request message for
|
120
|
+
# The request message for
|
121
|
+
# Operations.WaitOperation.
|
116
122
|
# @!attribute [rw] name
|
117
123
|
# @return [::String]
|
118
124
|
# The name of the operation resource to wait on.
|
@@ -130,13 +136,12 @@ module Google
|
|
130
136
|
#
|
131
137
|
# Example:
|
132
138
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
139
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
140
|
+
# option (google.longrunning.operation_info) = {
|
141
|
+
# response_type: "ExportResponse"
|
142
|
+
# metadata_type: "ExportMetadata"
|
143
|
+
# };
|
144
|
+
# }
|
140
145
|
# @!attribute [rw] response_type
|
141
146
|
# @return [::String]
|
142
147
|
# Required. The message name of the primary return type for this
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-developer_connect-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-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
|
-
rubygems_version: 3.5.
|
130
|
+
rubygems_version: 3.5.22
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Connect third-party source code management to Google.
|