google-cloud-developer_connect-v1 0.4.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/developer_connect/v1/developer_connect/client.rb +7 -0
- data/lib/google/cloud/developer_connect/v1/developer_connect/operations.rb +7 -0
- data/lib/google/cloud/developer_connect/v1/developer_connect/rest/client.rb +17 -8
- data/lib/google/cloud/developer_connect/v1/developer_connect/rest/operations.rb +7 -0
- data/lib/google/cloud/developer_connect/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/developerconnect/v1/developer_connect.rb +8 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e62195fd7bd05f2256132eb4a3f954932c7b262606537bacf7d0e40bcade35b
|
4
|
+
data.tar.gz: '09deb1dc17d46f420f63e7face32b18123487c0157912a72bf61ad52ad779af6'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9cce0b6dd5be27d2b9c72d192245b747a313dfa0b22fba63908b0dec36913ce7a0f9b3d6f17b015a88998ef321cbb0cc5a9349adf578bd772c57379d6732d16
|
7
|
+
data.tar.gz: 9b2ed684f5e47fa2dea28eca30687075e4bc8e412a649654cac9e6b153f1aef9cb6fdaacfad1d88a263555ea1f6e91609992ccf1dc08b280bba1242fb67cc327
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1724,6 +1724,13 @@ module Google
|
|
1724
1724
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1725
1725
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1726
1726
|
# * (`nil`) indicating no credentials
|
1727
|
+
#
|
1728
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1729
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1730
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1731
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1732
|
+
# For more information, refer to [Validate credential configurations from external
|
1733
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1727
1734
|
# @return [::Object]
|
1728
1735
|
# @!attribute [rw] scope
|
1729
1736
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -297,10 +297,10 @@ module Google
|
|
297
297
|
# @param order_by [::String]
|
298
298
|
# Optional. Hint for how to order the results
|
299
299
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
300
|
-
# @yieldparam result [::Google::Cloud::DeveloperConnect::V1::
|
300
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DeveloperConnect::V1::Connection>]
|
301
301
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
302
302
|
#
|
303
|
-
# @return [::Google::Cloud::DeveloperConnect::V1::
|
303
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DeveloperConnect::V1::Connection>]
|
304
304
|
#
|
305
305
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
306
306
|
#
|
@@ -352,7 +352,9 @@ module Google
|
|
352
352
|
retry_policy: @config.retry_policy
|
353
353
|
|
354
354
|
@developer_connect_stub.list_connections request, options do |result, operation|
|
355
|
+
result = ::Gapic::Rest::PagedEnumerable.new @developer_connect_stub, :list_connections, "connections", request, result, options
|
355
356
|
yield result, operation if block_given?
|
357
|
+
throw :response, result
|
356
358
|
end
|
357
359
|
rescue ::Gapic::Rest::Error => e
|
358
360
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1018,10 +1020,10 @@ module Google
|
|
1018
1020
|
# @param order_by [::String]
|
1019
1021
|
# Optional. Hint for how to order the results
|
1020
1022
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1021
|
-
# @yieldparam result [::Google::Cloud::DeveloperConnect::V1::
|
1023
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DeveloperConnect::V1::GitRepositoryLink>]
|
1022
1024
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1023
1025
|
#
|
1024
|
-
# @return [::Google::Cloud::DeveloperConnect::V1::
|
1026
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DeveloperConnect::V1::GitRepositoryLink>]
|
1025
1027
|
#
|
1026
1028
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1027
1029
|
#
|
@@ -1073,7 +1075,9 @@ module Google
|
|
1073
1075
|
retry_policy: @config.retry_policy
|
1074
1076
|
|
1075
1077
|
@developer_connect_stub.list_git_repository_links request, options do |result, operation|
|
1078
|
+
result = ::Gapic::Rest::PagedEnumerable.new @developer_connect_stub, :list_git_repository_links, "git_repository_links", request, result, options
|
1076
1079
|
yield result, operation if block_given?
|
1080
|
+
throw :response, result
|
1077
1081
|
end
|
1078
1082
|
rescue ::Gapic::Rest::Error => e
|
1079
1083
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1515,10 +1519,10 @@ module Google
|
|
1515
1519
|
# @param page_token [::String]
|
1516
1520
|
# Optional. Page start.
|
1517
1521
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1518
|
-
# @yieldparam result [::
|
1522
|
+
# @yieldparam result [::Google::Cloud::DeveloperConnect::V1::FetchGitRefsResponse]
|
1519
1523
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1520
1524
|
#
|
1521
|
-
# @return [::
|
1525
|
+
# @return [::Google::Cloud::DeveloperConnect::V1::FetchGitRefsResponse]
|
1522
1526
|
#
|
1523
1527
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1524
1528
|
#
|
@@ -1566,9 +1570,7 @@ module Google
|
|
1566
1570
|
retry_policy: @config.retry_policy
|
1567
1571
|
|
1568
1572
|
@developer_connect_stub.fetch_git_refs request, options do |result, operation|
|
1569
|
-
result = ::Gapic::Rest::PagedEnumerable.new @developer_connect_stub, :fetch_git_refs, "ref_names", request, result, options
|
1570
1573
|
yield result, operation if block_given?
|
1571
|
-
throw :response, result
|
1572
1574
|
end
|
1573
1575
|
rescue ::Gapic::Rest::Error => e
|
1574
1576
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1616,6 +1618,13 @@ module Google
|
|
1616
1618
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1617
1619
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1618
1620
|
# * (`nil`) indicating no credentials
|
1621
|
+
#
|
1622
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1623
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1624
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1625
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1626
|
+
# For more information, refer to [Validate credential configurations from external
|
1627
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1619
1628
|
# @return [::Object]
|
1620
1629
|
# @!attribute [rw] scope
|
1621
1630
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -409,6 +409,14 @@ module Google
|
|
409
409
|
# @return [::Array<::String>]
|
410
410
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
411
|
# on public client surfaces.
|
412
|
+
# @!attribute [rw] generate_omitted_as_internal
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Setting this to true indicates to the client generators that methods
|
415
|
+
# that would be excluded from the generation should instead be generated
|
416
|
+
# in a way that indicates these methods should not be consumed by
|
417
|
+
# end users. How this is expressed is up to individual language
|
418
|
+
# implementations to decide. Some examples may be: added annotations,
|
419
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
420
|
class SelectiveGapicGeneration
|
413
421
|
include ::Google::Protobuf::MessageExts
|
414
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -25,15 +25,23 @@ 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
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `github_config`, `github_enterprise_config`, `gitlab_config`, `gitlab_enterprise_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] github_enterprise_config
|
29
31
|
# @return [::Google::Cloud::DeveloperConnect::V1::GitHubEnterpriseConfig]
|
30
32
|
# Configuration for connections to an instance of GitHub Enterprise.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `github_enterprise_config`, `github_config`, `gitlab_config`, `gitlab_enterprise_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
# @!attribute [rw] gitlab_config
|
32
36
|
# @return [::Google::Cloud::DeveloperConnect::V1::GitLabConfig]
|
33
37
|
# Configuration for connections to gitlab.com.
|
38
|
+
#
|
39
|
+
# Note: The following fields are mutually exclusive: `gitlab_config`, `github_config`, `github_enterprise_config`, `gitlab_enterprise_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
40
|
# @!attribute [rw] gitlab_enterprise_config
|
35
41
|
# @return [::Google::Cloud::DeveloperConnect::V1::GitLabEnterpriseConfig]
|
36
42
|
# Configuration for connections to an instance of GitLab Enterprise.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `gitlab_enterprise_config`, `github_config`, `github_enterprise_config`, `gitlab_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
37
45
|
# @!attribute [rw] name
|
38
46
|
# @return [::String]
|
39
47
|
# Identifier. The resource name of the connection, in the format
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -112,7 +111,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
112
111
|
licenses:
|
113
112
|
- Apache-2.0
|
114
113
|
metadata: {}
|
115
|
-
post_install_message:
|
116
114
|
rdoc_options: []
|
117
115
|
require_paths:
|
118
116
|
- lib
|
@@ -120,15 +118,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
118
|
requirements:
|
121
119
|
- - ">="
|
122
120
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
121
|
+
version: '3.0'
|
124
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
123
|
requirements:
|
126
124
|
- - ">="
|
127
125
|
- !ruby/object:Gem::Version
|
128
126
|
version: '0'
|
129
127
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
131
|
-
signing_key:
|
128
|
+
rubygems_version: 3.6.3
|
132
129
|
specification_version: 4
|
133
130
|
summary: Connect third-party source code management to Google.
|
134
131
|
test_files: []
|