google-cloud-managed_kafka-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/managed_kafka/v1/managed_kafka/client.rb +7 -0
- data/lib/google/cloud/managed_kafka/v1/managed_kafka/operations.rb +7 -0
- data/lib/google/cloud/managed_kafka/v1/managed_kafka/rest/client.rb +11 -2
- data/lib/google/cloud/managed_kafka/v1/managed_kafka/rest/operations.rb +7 -0
- data/lib/google/cloud/managed_kafka/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5efe4c7d3c2f7158feba00f974f04fd37b6969508d4fdff91708a3990d46cf31
|
4
|
+
data.tar.gz: 6a0bccc07dffb40500a8a65039b410060e2a773c4dd4560adcd5bb4f0a73e73a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 674635cb39e72305a8603ec3f160b44d31864b04f90dc380daa2a810477c064a1bbd60a47b2fc22c5a71ecca779893703a742410b6b829f8ef2bcf6e4ec2cdc5
|
7
|
+
data.tar.gz: b85569657fe976fe1b70aff74ef042ab0427d18b6e7b0468bd8aa836761b03f727a2d86d0bf143119fef6eefa5adafb4d341f633dfde131d56fc331b86fedbf0
|
data/README.md
CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
85
85
|
|
86
86
|
## Supported Ruby Versions
|
87
87
|
|
88
|
-
This library is supported on Ruby
|
88
|
+
This library is supported on Ruby 3.0+.
|
89
89
|
|
90
90
|
Google provides official support for Ruby versions that are actively supported
|
91
91
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1666,6 +1666,13 @@ module Google
|
|
1666
1666
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1667
1667
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1668
1668
|
# * (`nil`) indicating no credentials
|
1669
|
+
#
|
1670
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1671
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1672
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1673
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1674
|
+
# For more information, refer to [Validate credential configurations from external
|
1675
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1669
1676
|
# @return [::Object]
|
1670
1677
|
# @!attribute [rw] scope
|
1671
1678
|
# 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
|
@@ -290,10 +290,10 @@ module Google
|
|
290
290
|
# @param order_by [::String]
|
291
291
|
# Optional. Order by fields for the result.
|
292
292
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
293
|
-
# @yieldparam result [::Google::Cloud::ManagedKafka::V1::
|
293
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ManagedKafka::V1::Cluster>]
|
294
294
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
295
295
|
#
|
296
|
-
# @return [::Google::Cloud::ManagedKafka::V1::
|
296
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ManagedKafka::V1::Cluster>]
|
297
297
|
#
|
298
298
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
299
299
|
#
|
@@ -345,7 +345,9 @@ module Google
|
|
345
345
|
retry_policy: @config.retry_policy
|
346
346
|
|
347
347
|
@managed_kafka_stub.list_clusters request, options do |result, operation|
|
348
|
+
result = ::Gapic::Rest::PagedEnumerable.new @managed_kafka_stub, :list_clusters, "clusters", request, result, options
|
348
349
|
yield result, operation if block_given?
|
350
|
+
throw :response, result
|
349
351
|
end
|
350
352
|
rescue ::Gapic::Rest::Error => e
|
351
353
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1558,6 +1560,13 @@ module Google
|
|
1558
1560
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1559
1561
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1560
1562
|
# * (`nil`) indicating no credentials
|
1563
|
+
#
|
1564
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1565
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1566
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1567
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1568
|
+
# For more information, refer to [Validate credential configurations from external
|
1569
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1561
1570
|
# @return [::Object]
|
1562
1571
|
# @!attribute [rw] scope
|
1563
1572
|
# 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
|
@@ -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,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-managed_kafka-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
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -15,7 +15,7 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
19
19
|
- - "<"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 2.a
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
29
29
|
- - "<"
|
30
30
|
- !ruby/object:Gem::Version
|
31
31
|
version: 2.a
|
@@ -119,14 +119,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
119
|
requirements:
|
120
120
|
- - ">="
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
122
|
+
version: '3.0'
|
123
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
124
124
|
requirements:
|
125
125
|
- - ">="
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
|
-
rubygems_version: 3.6.
|
129
|
+
rubygems_version: 3.6.3
|
130
130
|
specification_version: 4
|
131
131
|
summary: Manage Apache Kafka clusters and resources.
|
132
132
|
test_files: []
|