google-apis-managedkafka_v1 0.12.0 → 0.13.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: 2a27c712ff0464fc2a031d437900db637143cf7996ace03e2f0d3c1896c03d91
4
- data.tar.gz: 8d3b47ebf9bbaef9ecb1456757fbfa2ac9157c50318c6fc93dab5ed304af28ed
3
+ metadata.gz: eb7534fb96aff9b34fe9342664782639993ac605a8c3b63fffaf7465080bdf2d
4
+ data.tar.gz: 283d4de4797e64c4490a5f75b0b1a8ac9add9c4e9ef2d76fabd701e0e9e0a7d4
5
5
  SHA512:
6
- metadata.gz: 79605938d4124dc11892d3c4e1018e2640e7bf2da0a8aa75b3d3ad45d4f89cc884d9149f11e9808c521c9f5aa0f921df1464800f7129d764aff630033c52dd0e
7
- data.tar.gz: 38ba45405b76ba29f3d8fd091c415ad19872f1a5e3453a8e802303b6ae2cac0ff185bdf5f4ff945a5815fa119293af2f87926908d148f35a8de17cc692692e08
6
+ metadata.gz: 5fbe88ab2b71d2ef911f28b53478d09ec5bf89069bc56484105c706e84d18cf20fcba608a8fc2f61b9c8e388395c676a2c41c87c4889c71b42a3b6b75cdbb5dc
7
+ data.tar.gz: 3d9061e57bedb658da5e5dceda3e1e94cda8295d37c1bb51189991887a8ce904e5125a67279f0046cf677fda1bb1ddb949004d6508ec41abaec271029f2cc531
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-managedkafka_v1
2
2
 
3
+ ### v0.13.0 (2025-09-07)
4
+
5
+ * Regenerated from discovery document revision 20250901
6
+
3
7
  ### v0.12.0 (2025-08-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20250814
@@ -369,6 +369,13 @@ module Google
369
369
  # @return [Google::Apis::ManagedkafkaV1::TlsConfig]
370
370
  attr_accessor :tls_config
371
371
 
372
+ # UpdateOptions specifies options that influence how a cluster update is applied.
373
+ # These options control the behavior of the update process, rather than
374
+ # defining the desired end-state of a cluster.
375
+ # Corresponds to the JSON property `updateOptions`
376
+ # @return [Google::Apis::ManagedkafkaV1::UpdateOptions]
377
+ attr_accessor :update_options
378
+
372
379
  # Output only. The time when the cluster was last updated.
373
380
  # Corresponds to the JSON property `updateTime`
374
381
  # @return [String]
@@ -390,6 +397,7 @@ module Google
390
397
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
391
398
  @state = args[:state] if args.key?(:state)
392
399
  @tls_config = args[:tls_config] if args.key?(:tls_config)
400
+ @update_options = args[:update_options] if args.key?(:update_options)
393
401
  @update_time = args[:update_time] if args.key?(:update_time)
394
402
  end
395
403
  end
@@ -1925,6 +1933,33 @@ module Google
1925
1933
  end
1926
1934
  end
1927
1935
 
1936
+ # UpdateOptions specifies options that influence how a cluster update is applied.
1937
+ # These options control the behavior of the update process, rather than
1938
+ # defining the desired end-state of a cluster.
1939
+ class UpdateOptions
1940
+ include Google::Apis::Core::Hashable
1941
+
1942
+ # Optional. If true, allows an update operation that increases the total vCPU
1943
+ # and/or memory allocation of the cluster to significantly decrease the per-
1944
+ # broker vCPU and/or memory allocation. This can result in reduced performance
1945
+ # and availability. By default, the update operation will fail if an upscale
1946
+ # request results in a vCPU or memory allocation for the brokers that is smaller
1947
+ # than 90% of the current broker size.
1948
+ # Corresponds to the JSON property `allowBrokerDownscaleOnClusterUpscale`
1949
+ # @return [Boolean]
1950
+ attr_accessor :allow_broker_downscale_on_cluster_upscale
1951
+ alias_method :allow_broker_downscale_on_cluster_upscale?, :allow_broker_downscale_on_cluster_upscale
1952
+
1953
+ def initialize(**args)
1954
+ update!(**args)
1955
+ end
1956
+
1957
+ # Update properties of this object
1958
+ def update!(**args)
1959
+ @allow_broker_downscale_on_cluster_upscale = args[:allow_broker_downscale_on_cluster_upscale] if args.key?(:allow_broker_downscale_on_cluster_upscale)
1960
+ end
1961
+ end
1962
+
1928
1963
  # Request for updating schema config. On a SchemaSubject-level SchemaConfig, an
1929
1964
  # unset field will be removed from the SchemaConfig.
1930
1965
  class UpdateSchemaConfigRequest
@@ -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.12.0"
19
+ GEM_VERSION = "0.13.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 = "20250814"
25
+ REVISION = "20250901"
26
26
  end
27
27
  end
28
28
  end
@@ -382,6 +382,12 @@ module Google
382
382
  include Google::Apis::Core::JsonObjectSupport
383
383
  end
384
384
 
385
+ class UpdateOptions
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
385
391
  class UpdateSchemaConfigRequest
386
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
393
 
@@ -491,6 +497,8 @@ module Google
491
497
  property :state, as: 'state'
492
498
  property :tls_config, as: 'tlsConfig', class: Google::Apis::ManagedkafkaV1::TlsConfig, decorator: Google::Apis::ManagedkafkaV1::TlsConfig::Representation
493
499
 
500
+ property :update_options, as: 'updateOptions', class: Google::Apis::ManagedkafkaV1::UpdateOptions, decorator: Google::Apis::ManagedkafkaV1::UpdateOptions::Representation
501
+
494
502
  property :update_time, as: 'updateTime'
495
503
  end
496
504
  end
@@ -938,6 +946,13 @@ module Google
938
946
  end
939
947
  end
940
948
 
949
+ class UpdateOptions
950
+ # @private
951
+ class Representation < Google::Apis::Core::JsonRepresentation
952
+ property :allow_broker_downscale_on_cluster_upscale, as: 'allowBrokerDownscaleOnClusterUpscale'
953
+ end
954
+ end
955
+
941
956
  class UpdateSchemaConfigRequest
942
957
  # @private
943
958
  class Representation < Google::Apis::Core::JsonRepresentation
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.12.0
4
+ version: 0.13.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.12.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedkafka_v1/v0.13.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: