google-apis-managedkafka_v1 0.18.0 → 0.19.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d4709c701cbadc8d8552a2bf1add122f2be62015c5b2c621dee218dec994d57
|
|
4
|
+
data.tar.gz: 51a5199142b886bb77f31f36663fe14d6881ef55b97f94d7d6b641dec1263cd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17429a275a9b0efc27483151039f17858eb683eff74e0418a419f5d0ce4e1b061375b85e3998608cf6616d868a688fba20199732fcb2a77d346763ca617ca1f0
|
|
7
|
+
data.tar.gz: 73efa5d17afa39bd7ed45aa4bb6407bb3fe2ec5046ec1a04d525f4a7aafbff6acd32157410dd3a617841dc30935e35f1639ab6300ea009b927caa197d41aa3ec
|
data/CHANGELOG.md
CHANGED
|
@@ -186,6 +186,37 @@ module Google
|
|
|
186
186
|
end
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
+
# Details of a broker in the Kafka cluster.
|
|
190
|
+
class BrokerDetails
|
|
191
|
+
include Google::Apis::Core::Hashable
|
|
192
|
+
|
|
193
|
+
# Output only. The index of the broker.
|
|
194
|
+
# Corresponds to the JSON property `brokerIndex`
|
|
195
|
+
# @return [Fixnum]
|
|
196
|
+
attr_accessor :broker_index
|
|
197
|
+
|
|
198
|
+
# Output only. The node id of the broker.
|
|
199
|
+
# Corresponds to the JSON property `nodeId`
|
|
200
|
+
# @return [Fixnum]
|
|
201
|
+
attr_accessor :node_id
|
|
202
|
+
|
|
203
|
+
# Output only. The rack of the broker.
|
|
204
|
+
# Corresponds to the JSON property `rack`
|
|
205
|
+
# @return [String]
|
|
206
|
+
attr_accessor :rack
|
|
207
|
+
|
|
208
|
+
def initialize(**args)
|
|
209
|
+
update!(**args)
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
# Update properties of this object
|
|
213
|
+
def update!(**args)
|
|
214
|
+
@broker_index = args[:broker_index] if args.key?(:broker_index)
|
|
215
|
+
@node_id = args[:node_id] if args.key?(:node_id)
|
|
216
|
+
@rack = args[:rack] if args.key?(:rack)
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
189
220
|
# The request message for Operations.CancelOperation.
|
|
190
221
|
class CancelOperationRequest
|
|
191
222
|
include Google::Apis::Core::Hashable
|
|
@@ -316,6 +347,12 @@ module Google
|
|
|
316
347
|
class Cluster
|
|
317
348
|
include Google::Apis::Core::Hashable
|
|
318
349
|
|
|
350
|
+
# Output only. Only populated when FULL view is requested. Details of each
|
|
351
|
+
# broker in the cluster.
|
|
352
|
+
# Corresponds to the JSON property `brokerDetails`
|
|
353
|
+
# @return [Array<Google::Apis::ManagedkafkaV1::BrokerDetails>]
|
|
354
|
+
attr_accessor :broker_details
|
|
355
|
+
|
|
319
356
|
# A capacity configuration of a Kafka cluster.
|
|
320
357
|
# Corresponds to the JSON property `capacityConfig`
|
|
321
358
|
# @return [Google::Apis::ManagedkafkaV1::CapacityConfig]
|
|
@@ -331,6 +368,12 @@ module Google
|
|
|
331
368
|
# @return [Google::Apis::ManagedkafkaV1::GcpConfig]
|
|
332
369
|
attr_accessor :gcp_config
|
|
333
370
|
|
|
371
|
+
# Output only. Only populated when FULL view is requested. The Kafka version of
|
|
372
|
+
# the cluster.
|
|
373
|
+
# Corresponds to the JSON property `kafkaVersion`
|
|
374
|
+
# @return [String]
|
|
375
|
+
attr_accessor :kafka_version
|
|
376
|
+
|
|
334
377
|
# Optional. Labels as key value pairs.
|
|
335
378
|
# Corresponds to the JSON property `labels`
|
|
336
379
|
# @return [Hash<String,String>]
|
|
@@ -387,9 +430,11 @@ module Google
|
|
|
387
430
|
|
|
388
431
|
# Update properties of this object
|
|
389
432
|
def update!(**args)
|
|
433
|
+
@broker_details = args[:broker_details] if args.key?(:broker_details)
|
|
390
434
|
@capacity_config = args[:capacity_config] if args.key?(:capacity_config)
|
|
391
435
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
392
436
|
@gcp_config = args[:gcp_config] if args.key?(:gcp_config)
|
|
437
|
+
@kafka_version = args[:kafka_version] if args.key?(:kafka_version)
|
|
393
438
|
@labels = args[:labels] if args.key?(:labels)
|
|
394
439
|
@name = args[:name] if args.key?(:name)
|
|
395
440
|
@rebalance_config = args[:rebalance_config] if args.key?(:rebalance_config)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ManagedkafkaV1
|
|
18
18
|
# Version of the google-apis-managedkafka_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.19.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251212"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -46,6 +46,12 @@ module Google
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
class BrokerDetails
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
49
55
|
class CancelOperationRequest
|
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
57
|
|
|
@@ -440,6 +446,15 @@ module Google
|
|
|
440
446
|
end
|
|
441
447
|
end
|
|
442
448
|
|
|
449
|
+
class BrokerDetails
|
|
450
|
+
# @private
|
|
451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
452
|
+
property :broker_index, :numeric_string => true, as: 'brokerIndex'
|
|
453
|
+
property :node_id, :numeric_string => true, as: 'nodeId'
|
|
454
|
+
property :rack, as: 'rack'
|
|
455
|
+
end
|
|
456
|
+
end
|
|
457
|
+
|
|
443
458
|
class CancelOperationRequest
|
|
444
459
|
# @private
|
|
445
460
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -483,11 +498,14 @@ module Google
|
|
|
483
498
|
class Cluster
|
|
484
499
|
# @private
|
|
485
500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
501
|
+
collection :broker_details, as: 'brokerDetails', class: Google::Apis::ManagedkafkaV1::BrokerDetails, decorator: Google::Apis::ManagedkafkaV1::BrokerDetails::Representation
|
|
502
|
+
|
|
486
503
|
property :capacity_config, as: 'capacityConfig', class: Google::Apis::ManagedkafkaV1::CapacityConfig, decorator: Google::Apis::ManagedkafkaV1::CapacityConfig::Representation
|
|
487
504
|
|
|
488
505
|
property :create_time, as: 'createTime'
|
|
489
506
|
property :gcp_config, as: 'gcpConfig', class: Google::Apis::ManagedkafkaV1::GcpConfig, decorator: Google::Apis::ManagedkafkaV1::GcpConfig::Representation
|
|
490
507
|
|
|
508
|
+
property :kafka_version, as: 'kafkaVersion'
|
|
491
509
|
hash :labels, as: 'labels'
|
|
492
510
|
property :name, as: 'name'
|
|
493
511
|
property :rebalance_config, as: 'rebalanceConfig', class: Google::Apis::ManagedkafkaV1::RebalanceConfig, decorator: Google::Apis::ManagedkafkaV1::RebalanceConfig::Representation
|
|
@@ -225,6 +225,9 @@ module Google
|
|
|
225
225
|
# Returns the properties of a single cluster.
|
|
226
226
|
# @param [String] name
|
|
227
227
|
# Required. The name of the cluster whose configuration to return.
|
|
228
|
+
# @param [String] view
|
|
229
|
+
# Optional. Specifies the view of the Cluster resource to be returned. Defaults
|
|
230
|
+
# to CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values.
|
|
228
231
|
# @param [String] fields
|
|
229
232
|
# Selector specifying which fields to include in a partial response.
|
|
230
233
|
# @param [String] quota_user
|
|
@@ -242,11 +245,12 @@ module Google
|
|
|
242
245
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
243
246
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
244
247
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
245
|
-
def get_project_location_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
248
|
+
def get_project_location_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
246
249
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
247
250
|
command.response_representation = Google::Apis::ManagedkafkaV1::Cluster::Representation
|
|
248
251
|
command.response_class = Google::Apis::ManagedkafkaV1::Cluster
|
|
249
252
|
command.params['name'] = name unless name.nil?
|
|
253
|
+
command.query['view'] = view unless view.nil?
|
|
250
254
|
command.query['fields'] = fields unless fields.nil?
|
|
251
255
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
252
256
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-managedkafka_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedkafka_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedkafka_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedkafka_v1/v0.19.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedkafka_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|