google-cloud-developer_connect-v1 0.5.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19c4b96acc6276632d866d36173558f1b236149746c333f30b990ab27bf32b41
4
- data.tar.gz: 0f9add75b629a2cd35a89efc0f7e1776ec1d3b01de750f82cfe7cb1d18fa9f1d
3
+ metadata.gz: 49a4a0e8c5e64e5391d692b154136d109c64a0ca60d9ae2ad48d808cfa874123
4
+ data.tar.gz: e8972504edc7b3070c1f4da1271e23382a7e679999ee61faa1d1669f7fec51ee
5
5
  SHA512:
6
- metadata.gz: d2f074190c3e59b00695b395e67dc38dc4dd0604158133de09ef3441c453432a75914f6734b8ffb1f986d37908b514524070b354e354c68bba360cc13d282a9a
7
- data.tar.gz: 98f60e1729897a95ebe88f2b195a9c38e3c7762ad06037ce3bc2f3d41fd9aa81b5b60dcbfa6aae35b6405c7b3da24f4b210169cee0fe9b960688f1b15ff16894
6
+ metadata.gz: b6984341e723710b4395ac1f77327d6a2a3d4b21a3ec37c3c77f1c65849fcf89193b91c61ba6841d87ce2877c0297e6eeb5e4f32c5c587f02b927f9faca81cac
7
+ data.tar.gz: 9a8d5fc91a683d5b563e21d72fed29ec9c75a732b5548092c05315ec5dd8abf83c5af216ef78f81335d020ea2841fcdc3418dcc0c005017b4be9e0c657b2588b
@@ -1785,8 +1785,8 @@ module Google
1785
1785
 
1786
1786
  config_attr :endpoint, nil, ::String, nil
1787
1787
  config_attr :credentials, nil do |value|
1788
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1789
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1788
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1789
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1790
1790
  allowed.any? { |klass| klass === value }
1791
1791
  end
1792
1792
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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::ListConnectionsResponse]
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::ListConnectionsResponse]
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::ListGitRepositoryLinksResponse]
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::ListGitRepositoryLinksResponse]
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 [::Gapic::Rest::PagedEnumerable<::String>]
1522
+ # @yieldparam result [::Google::Cloud::DeveloperConnect::V1::FetchGitRefsResponse]
1519
1523
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1520
1524
  #
1521
- # @return [::Gapic::Rest::PagedEnumerable<::String>]
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)
@@ -1670,7 +1672,7 @@ module Google
1670
1672
 
1671
1673
  config_attr :endpoint, nil, ::String, nil
1672
1674
  config_attr :credentials, nil do |value|
1673
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1675
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1674
1676
  allowed.any? { |klass| klass === value }
1675
1677
  end
1676
1678
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DeveloperConnect
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "1.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +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.5.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.6.2
128
+ rubygems_version: 3.6.8
129
129
  specification_version: 4
130
130
  summary: Connect third-party source code management to Google.
131
131
  test_files: []