google-cloud-developer_connect-v1 0.a → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/developer_connect/v1/bindings_override.rb +102 -0
  6. data/lib/google/cloud/developer_connect/v1/developer_connect/client.rb +1932 -0
  7. data/lib/google/cloud/developer_connect/v1/developer_connect/credentials.rb +47 -0
  8. data/lib/google/cloud/developer_connect/v1/developer_connect/operations.rb +809 -0
  9. data/lib/google/cloud/developer_connect/v1/developer_connect/paths.rb +109 -0
  10. data/lib/google/cloud/developer_connect/v1/developer_connect/rest/client.rb +1815 -0
  11. data/lib/google/cloud/developer_connect/v1/developer_connect/rest/operations.rb +902 -0
  12. data/lib/google/cloud/developer_connect/v1/developer_connect/rest/service_stub.rb +900 -0
  13. data/lib/google/cloud/developer_connect/v1/developer_connect/rest.rb +54 -0
  14. data/lib/google/cloud/developer_connect/v1/developer_connect.rb +56 -0
  15. data/lib/google/cloud/developer_connect/v1/rest.rb +38 -0
  16. data/lib/google/cloud/developer_connect/v1/version.rb +7 -2
  17. data/lib/google/cloud/developer_connect/v1.rb +45 -0
  18. data/lib/google/cloud/developerconnect/v1/developer_connect_pb.rb +85 -0
  19. data/lib/google/cloud/developerconnect/v1/developer_connect_services_pb.rb +79 -0
  20. data/lib/google-cloud-developer_connect-v1.rb +21 -0
  21. data/proto_docs/README.md +4 -0
  22. data/proto_docs/google/api/client.rb +399 -0
  23. data/proto_docs/google/api/field_behavior.rb +85 -0
  24. data/proto_docs/google/api/field_info.rb +65 -0
  25. data/proto_docs/google/api/launch_stage.rb +71 -0
  26. data/proto_docs/google/api/resource.rb +222 -0
  27. data/proto_docs/google/cloud/developerconnect/v1/developer_connect.rb +708 -0
  28. data/proto_docs/google/longrunning/operations.rb +164 -0
  29. data/proto_docs/google/protobuf/any.rb +145 -0
  30. data/proto_docs/google/protobuf/duration.rb +98 -0
  31. data/proto_docs/google/protobuf/empty.rb +34 -0
  32. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  33. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  34. data/proto_docs/google/rpc/status.rb +48 -0
  35. metadata +95 -10
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/developer_connect/v1/version"
24
+ require "google/cloud/developer_connect/v1/bindings_override"
25
+
26
+ require "google/cloud/developer_connect/v1/developer_connect/credentials"
27
+ require "google/cloud/developer_connect/v1/developer_connect/paths"
28
+ require "google/cloud/developer_connect/v1/developer_connect/rest/operations"
29
+ require "google/cloud/developer_connect/v1/developer_connect/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module DeveloperConnect
34
+ module V1
35
+ ##
36
+ # Service describing handlers for resources
37
+ #
38
+ # To load this service and instantiate a REST client:
39
+ #
40
+ # require "google/cloud/developer_connect/v1/developer_connect/rest"
41
+ # client = ::Google::Cloud::DeveloperConnect::V1::DeveloperConnect::Rest::Client.new
42
+ #
43
+ module DeveloperConnect
44
+ # Client for the REST transport
45
+ module Rest
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+
53
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
54
+ require "google/cloud/developer_connect/v1/developer_connect/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/developer_connect/v1/version"
24
+
25
+ require "google/cloud/developer_connect/v1/developer_connect/credentials"
26
+ require "google/cloud/developer_connect/v1/developer_connect/paths"
27
+ require "google/cloud/developer_connect/v1/developer_connect/operations"
28
+ require "google/cloud/developer_connect/v1/developer_connect/client"
29
+ require "google/cloud/developer_connect/v1/developer_connect/rest"
30
+
31
+ module Google
32
+ module Cloud
33
+ module DeveloperConnect
34
+ module V1
35
+ ##
36
+ # Service describing handlers for resources
37
+ #
38
+ # @example Load this service and instantiate a gRPC client
39
+ #
40
+ # require "google/cloud/developer_connect/v1/developer_connect"
41
+ # client = ::Google::Cloud::DeveloperConnect::V1::DeveloperConnect::Client.new
42
+ #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/cloud/developer_connect/v1/developer_connect/rest"
46
+ # client = ::Google::Cloud::DeveloperConnect::V1::DeveloperConnect::Rest::Client.new
47
+ #
48
+ module DeveloperConnect
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+
55
+ helper_path = ::File.join __dir__, "developer_connect", "helpers.rb"
56
+ require "google/cloud/developer_connect/v1/developer_connect/helpers" if ::File.file? helper_path
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/developer_connect/v1/developer_connect/rest"
20
+ require "google/cloud/developer_connect/v1/bindings_override"
21
+ require "google/cloud/developer_connect/v1/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module DeveloperConnect
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/cloud/developer_connect/v1/rest"
32
+ # client = ::Google::Cloud::DeveloperConnect::V1::DeveloperConnect::Rest::Client.new
33
+ #
34
+ module V1
35
+ end
36
+ end
37
+ end
38
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2024 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,11 +14,14 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module DeveloperConnect
18
23
  module V1
19
- VERSION = "0.a"
24
+ VERSION = "0.1.0"
20
25
  end
21
26
  end
22
27
  end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/developer_connect/v1/developer_connect"
20
+ require "google/cloud/developer_connect/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module DeveloperConnect
25
+ ##
26
+ # API client module.
27
+ #
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
+ #
30
+ # require "google/cloud/developer_connect/v1"
31
+ # client = ::Google::Cloud::DeveloperConnect::V1::DeveloperConnect::Client.new
32
+ #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/developer_connect/v1"
36
+ # client = ::Google::Cloud::DeveloperConnect::V1::DeveloperConnect::Rest::Client.new
37
+ #
38
+ module V1
39
+ end
40
+ end
41
+ end
42
+ end
43
+
44
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
45
+ require "google/cloud/developer_connect/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,85 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/developerconnect/v1/developer_connect.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/field_info_pb'
11
+ require 'google/api/resource_pb'
12
+ require 'google/longrunning/operations_pb'
13
+ require 'google/protobuf/empty_pb'
14
+ require 'google/protobuf/field_mask_pb'
15
+ require 'google/protobuf/timestamp_pb'
16
+
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"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
34
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
40
+ end
41
+ end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
44
+ end
45
+
46
+ module Google
47
+ module Cloud
48
+ module DeveloperConnect
49
+ module V1
50
+ Connection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.Connection").msgclass
51
+ InstallationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.InstallationState").msgclass
52
+ InstallationState::Stage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.InstallationState.Stage").enummodule
53
+ GitHubConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GitHubConfig").msgclass
54
+ GitHubConfig::GitHubApp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GitHubConfig.GitHubApp").enummodule
55
+ OAuthCredential = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.OAuthCredential").msgclass
56
+ ListConnectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ListConnectionsRequest").msgclass
57
+ ListConnectionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ListConnectionsResponse").msgclass
58
+ GetConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GetConnectionRequest").msgclass
59
+ CreateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.CreateConnectionRequest").msgclass
60
+ UpdateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.UpdateConnectionRequest").msgclass
61
+ DeleteConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.DeleteConnectionRequest").msgclass
62
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.OperationMetadata").msgclass
63
+ GitRepositoryLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GitRepositoryLink").msgclass
64
+ CreateGitRepositoryLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.CreateGitRepositoryLinkRequest").msgclass
65
+ DeleteGitRepositoryLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.DeleteGitRepositoryLinkRequest").msgclass
66
+ ListGitRepositoryLinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ListGitRepositoryLinksRequest").msgclass
67
+ ListGitRepositoryLinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.ListGitRepositoryLinksResponse").msgclass
68
+ GetGitRepositoryLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.GetGitRepositoryLinkRequest").msgclass
69
+ FetchReadWriteTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchReadWriteTokenRequest").msgclass
70
+ FetchReadTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchReadTokenRequest").msgclass
71
+ FetchReadTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchReadTokenResponse").msgclass
72
+ FetchReadWriteTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchReadWriteTokenResponse").msgclass
73
+ FetchLinkableGitRepositoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesRequest").msgclass
74
+ FetchLinkableGitRepositoriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesResponse").msgclass
75
+ LinkableGitRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.LinkableGitRepository").msgclass
76
+ FetchGitHubInstallationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchGitHubInstallationsRequest").msgclass
77
+ FetchGitHubInstallationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse").msgclass
78
+ FetchGitHubInstallationsResponse::Installation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse.Installation").msgclass
79
+ FetchGitRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchGitRefsRequest").msgclass
80
+ FetchGitRefsRequest::RefType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchGitRefsRequest.RefType").enummodule
81
+ FetchGitRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.developerconnect.v1.FetchGitRefsResponse").msgclass
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,79 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/developerconnect/v1/developer_connect.proto for package 'Google.Cloud.DeveloperConnect.V1'
3
+ # Original file comments:
4
+ # Copyright 2024 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/developerconnect/v1/developer_connect_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module DeveloperConnect
25
+ module V1
26
+ module DeveloperConnect
27
+ # Service describing handlers for resources
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.developerconnect.v1.DeveloperConnect'
35
+
36
+ # Lists Connections in a given project and location.
37
+ rpc :ListConnections, ::Google::Cloud::DeveloperConnect::V1::ListConnectionsRequest, ::Google::Cloud::DeveloperConnect::V1::ListConnectionsResponse
38
+ # Gets details of a single Connection.
39
+ rpc :GetConnection, ::Google::Cloud::DeveloperConnect::V1::GetConnectionRequest, ::Google::Cloud::DeveloperConnect::V1::Connection
40
+ # Creates a new Connection in a given project and location.
41
+ rpc :CreateConnection, ::Google::Cloud::DeveloperConnect::V1::CreateConnectionRequest, ::Google::Longrunning::Operation
42
+ # Updates the parameters of a single Connection.
43
+ rpc :UpdateConnection, ::Google::Cloud::DeveloperConnect::V1::UpdateConnectionRequest, ::Google::Longrunning::Operation
44
+ # Deletes a single Connection.
45
+ rpc :DeleteConnection, ::Google::Cloud::DeveloperConnect::V1::DeleteConnectionRequest, ::Google::Longrunning::Operation
46
+ # Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
47
+ # Connect will configure the Git Repository to send webhook events to
48
+ # Developer Connect. Connections that use Firebase GitHub Application will
49
+ # have events forwarded to the Firebase service. All other Connections will
50
+ # have events forwarded to Cloud Build.
51
+ rpc :CreateGitRepositoryLink, ::Google::Cloud::DeveloperConnect::V1::CreateGitRepositoryLinkRequest, ::Google::Longrunning::Operation
52
+ # Deletes a single GitRepositoryLink.
53
+ rpc :DeleteGitRepositoryLink, ::Google::Cloud::DeveloperConnect::V1::DeleteGitRepositoryLinkRequest, ::Google::Longrunning::Operation
54
+ # Lists GitRepositoryLinks in a given project, location, and connection.
55
+ rpc :ListGitRepositoryLinks, ::Google::Cloud::DeveloperConnect::V1::ListGitRepositoryLinksRequest, ::Google::Cloud::DeveloperConnect::V1::ListGitRepositoryLinksResponse
56
+ # Gets details of a single GitRepositoryLink.
57
+ rpc :GetGitRepositoryLink, ::Google::Cloud::DeveloperConnect::V1::GetGitRepositoryLinkRequest, ::Google::Cloud::DeveloperConnect::V1::GitRepositoryLink
58
+ # Fetches read/write token of a given gitRepositoryLink.
59
+ rpc :FetchReadWriteToken, ::Google::Cloud::DeveloperConnect::V1::FetchReadWriteTokenRequest, ::Google::Cloud::DeveloperConnect::V1::FetchReadWriteTokenResponse
60
+ # Fetches read token of a given gitRepositoryLink.
61
+ rpc :FetchReadToken, ::Google::Cloud::DeveloperConnect::V1::FetchReadTokenRequest, ::Google::Cloud::DeveloperConnect::V1::FetchReadTokenResponse
62
+ # FetchLinkableGitRepositories returns a list of git repositories from an SCM
63
+ # that are available to be added to a Connection.
64
+ rpc :FetchLinkableGitRepositories, ::Google::Cloud::DeveloperConnect::V1::FetchLinkableGitRepositoriesRequest, ::Google::Cloud::DeveloperConnect::V1::FetchLinkableGitRepositoriesResponse
65
+ # FetchGitHubInstallations returns the list of GitHub Installations that
66
+ # are available to be added to a Connection.
67
+ # For github.com, only installations accessible to the authorizer token
68
+ # are returned. For GitHub Enterprise, all installations are returned.
69
+ rpc :FetchGitHubInstallations, ::Google::Cloud::DeveloperConnect::V1::FetchGitHubInstallationsRequest, ::Google::Cloud::DeveloperConnect::V1::FetchGitHubInstallationsResponse
70
+ # Fetch the list of branches or tags for a given repository.
71
+ rpc :FetchGitRefs, ::Google::Cloud::DeveloperConnect::V1::FetchGitRefsRequest, ::Google::Cloud::DeveloperConnect::V1::FetchGitRefsResponse
72
+ end
73
+
74
+ Stub = Service.rpc_stub_class
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/developer_connect/v1"
@@ -0,0 +1,4 @@
1
+ # Developer Connect V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.