google-apis-gkehub_v2alpha 0.21.0 → 0.22.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: 49260cbc052b82839ce1f1c99c6e25687ed3196471ca3a3888dc4faf91788a33
4
- data.tar.gz: 6560ddc86e9368796958b7a5585366fd84e309ee24252bb52b27f74d7da744a5
3
+ metadata.gz: 9573f79f8345b5448391fbe2ffc21943efbec12dd64df23b271c3a28e83e17c6
4
+ data.tar.gz: fe0f9809d3c317ff304d86677dd5d9287576d39f6e275dcf5bba53d5c0b3906c
5
5
  SHA512:
6
- metadata.gz: 0b4deeb35542816e3170965c3b98b7f10b85c0a7902d316773160823d17db618b38fb1926ce2b13b1d62eb95a386742970c731817afb3bb9bab38c09d5f62131
7
- data.tar.gz: b548c3df02b2a59846c8529c0b4a82c525f22f6ff04c9c5b1786536c7ab33f22cd807a06db52627ae9b9b6e5286d4fcf08b38b4c2cbe0450ade02c3822d9fe40
6
+ metadata.gz: e4d9f6149e9458f73beaa409fc7136f162a2dbb7bde029afb1541b280b59bfdf6ef100f7837516ae71681d2202ae5ce479b7d2cadb7e875b91e02c7e018b5c49
7
+ data.tar.gz: 2286e6cddc8fd325d6920689cebae30e538c4bb804d2cdd8ad7453410dfec130ec82e0271a7db4e4e534d4398346639d741f9fa3619bd401bb7987c71cd83bc4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v2alpha
2
2
 
3
+ ### v0.22.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250302
6
+
3
7
  ### v0.21.0 (2025-01-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20250113
@@ -307,6 +307,11 @@ module Google
307
307
  class ConfigManagementConfigSync
308
308
  include Google::Apis::Core::Hashable
309
309
 
310
+ # Optional. Configuration for deployment overrides.
311
+ # Corresponds to the JSON property `deploymentOverrides`
312
+ # @return [Array<Google::Apis::GkehubV2alpha::ConfigManagementDeploymentOverride>]
313
+ attr_accessor :deployment_overrides
314
+
310
315
  # Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
311
316
  # resources will be created and the other ConfigSync fields will be applied if
312
317
  # exist. If set to false, all other ConfigSync fields will be ignored,
@@ -367,6 +372,7 @@ module Google
367
372
 
368
373
  # Update properties of this object
369
374
  def update!(**args)
375
+ @deployment_overrides = args[:deployment_overrides] if args.key?(:deployment_overrides)
370
376
  @enabled = args[:enabled] if args.key?(:enabled)
371
377
  @git = args[:git] if args.key?(:git)
372
378
  @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
@@ -599,6 +605,80 @@ module Google
599
605
  end
600
606
  end
601
607
 
608
+ # Configuration for a container override.
609
+ class ConfigManagementContainerOverride
610
+ include Google::Apis::Core::Hashable
611
+
612
+ # Required. The name of the container.
613
+ # Corresponds to the JSON property `containerName`
614
+ # @return [String]
615
+ attr_accessor :container_name
616
+
617
+ # Optional. The cpu limit of the container.
618
+ # Corresponds to the JSON property `cpuLimit`
619
+ # @return [String]
620
+ attr_accessor :cpu_limit
621
+
622
+ # Optional. The cpu request of the container.
623
+ # Corresponds to the JSON property `cpuRequest`
624
+ # @return [String]
625
+ attr_accessor :cpu_request
626
+
627
+ # Optional. The memory limit of the container.
628
+ # Corresponds to the JSON property `memoryLimit`
629
+ # @return [String]
630
+ attr_accessor :memory_limit
631
+
632
+ # Optional. The memory request of the container.
633
+ # Corresponds to the JSON property `memoryRequest`
634
+ # @return [String]
635
+ attr_accessor :memory_request
636
+
637
+ def initialize(**args)
638
+ update!(**args)
639
+ end
640
+
641
+ # Update properties of this object
642
+ def update!(**args)
643
+ @container_name = args[:container_name] if args.key?(:container_name)
644
+ @cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
645
+ @cpu_request = args[:cpu_request] if args.key?(:cpu_request)
646
+ @memory_limit = args[:memory_limit] if args.key?(:memory_limit)
647
+ @memory_request = args[:memory_request] if args.key?(:memory_request)
648
+ end
649
+ end
650
+
651
+ # Configuration for a deployment override.
652
+ class ConfigManagementDeploymentOverride
653
+ include Google::Apis::Core::Hashable
654
+
655
+ # Optional. The containers of the deployment resource to be overridden.
656
+ # Corresponds to the JSON property `containers`
657
+ # @return [Array<Google::Apis::GkehubV2alpha::ConfigManagementContainerOverride>]
658
+ attr_accessor :containers
659
+
660
+ # Required. The name of the deployment resource to be overridden.
661
+ # Corresponds to the JSON property `deploymentName`
662
+ # @return [String]
663
+ attr_accessor :deployment_name
664
+
665
+ # Required. The namespace of the deployment resource to be overridden..
666
+ # Corresponds to the JSON property `deploymentNamespace`
667
+ # @return [String]
668
+ attr_accessor :deployment_namespace
669
+
670
+ def initialize(**args)
671
+ update!(**args)
672
+ end
673
+
674
+ # Update properties of this object
675
+ def update!(**args)
676
+ @containers = args[:containers] if args.key?(:containers)
677
+ @deployment_name = args[:deployment_name] if args.key?(:deployment_name)
678
+ @deployment_namespace = args[:deployment_namespace] if args.key?(:deployment_namespace)
679
+ end
680
+ end
681
+
602
682
  # Model for a config file in the git repo with an associated Sync error.
603
683
  class ConfigManagementErrorResource
604
684
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV2alpha
18
18
  # Version of the google-apis-gkehub_v2alpha gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250113"
25
+ REVISION = "20250302"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,18 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class ConfigManagementContainerOverride
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ConfigManagementDeploymentOverride
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class ConfigManagementErrorResource
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -663,6 +675,8 @@ module Google
663
675
  class ConfigManagementConfigSync
664
676
  # @private
665
677
  class Representation < Google::Apis::Core::JsonRepresentation
678
+ collection :deployment_overrides, as: 'deploymentOverrides', class: Google::Apis::GkehubV2alpha::ConfigManagementDeploymentOverride, decorator: Google::Apis::GkehubV2alpha::ConfigManagementDeploymentOverride::Representation
679
+
666
680
  property :enabled, as: 'enabled'
667
681
  property :git, as: 'git', class: Google::Apis::GkehubV2alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV2alpha::ConfigManagementGitConfig::Representation
668
682
 
@@ -731,6 +745,27 @@ module Google
731
745
  end
732
746
  end
733
747
 
748
+ class ConfigManagementContainerOverride
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :container_name, as: 'containerName'
752
+ property :cpu_limit, as: 'cpuLimit'
753
+ property :cpu_request, as: 'cpuRequest'
754
+ property :memory_limit, as: 'memoryLimit'
755
+ property :memory_request, as: 'memoryRequest'
756
+ end
757
+ end
758
+
759
+ class ConfigManagementDeploymentOverride
760
+ # @private
761
+ class Representation < Google::Apis::Core::JsonRepresentation
762
+ collection :containers, as: 'containers', class: Google::Apis::GkehubV2alpha::ConfigManagementContainerOverride, decorator: Google::Apis::GkehubV2alpha::ConfigManagementContainerOverride::Representation
763
+
764
+ property :deployment_name, as: 'deploymentName'
765
+ property :deployment_namespace, as: 'deploymentNamespace'
766
+ end
767
+ end
768
+
734
769
  class ConfigManagementErrorResource
735
770
  # @private
736
771
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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-gkehub_v2alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2alpha/v0.21.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2alpha/v0.22.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v2alpha
62
62
  rdoc_options: []
63
63
  require_paths: