google-apis-gkehub_v2 0.6.0 → 0.7.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: f9bf8d992db46d8d9135ee4acbfb83241cb84419dfe90f3929ab78edc013d26a
|
4
|
+
data.tar.gz: 31bbd575fb14764195bae7a802b78ab0bd6a9850b0ac4be64cd9086686c9a93e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9078cd3a65715d36c09b8428b488e1d5056b026589b8b6e6c35f63ff1c42aea5d3c94ce3584e551aa0035ddba80e61a1352a0f362d4bfea2d9c33885c204464a
|
7
|
+
data.tar.gz: 7c6c355747fb1fca7e5ea788e1125f1fdc19a1350d5882f654e105a2fa11a7a02a6600f12bc68ae1aa73b17c6eaf7d2a5bc1528fffb45677d67d63715f9b1564
|
data/CHANGELOG.md
CHANGED
@@ -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::GkehubV2::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::GkehubV2::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 GkehubV2
|
18
18
|
# Version of the google-apis-gkehub_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.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 = "
|
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::GkehubV2::ConfigManagementDeploymentOverride, decorator: Google::Apis::GkehubV2::ConfigManagementDeploymentOverride::Representation
|
679
|
+
|
666
680
|
property :enabled, as: 'enabled'
|
667
681
|
property :git, as: 'git', class: Google::Apis::GkehubV2::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV2::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::GkehubV2::ConfigManagementContainerOverride, decorator: Google::Apis::GkehubV2::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_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
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_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2/v0.7.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|