google-apis-gkehub_v2 0.5.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: 0ec2e393529e36e2c4769a37b4b75f9683d47b2d4d960b13e5fcf44e1f47a8ff
4
- data.tar.gz: cfa9d9a72f710e49364c4c9b9428fe74f4d3bdaa9b09a0d07730b54cbaa969d0
3
+ metadata.gz: f9bf8d992db46d8d9135ee4acbfb83241cb84419dfe90f3929ab78edc013d26a
4
+ data.tar.gz: 31bbd575fb14764195bae7a802b78ab0bd6a9850b0ac4be64cd9086686c9a93e
5
5
  SHA512:
6
- metadata.gz: 63e947c9104460427528d5d33dda9af0c985ca402e6148eaefc10ec9e65a9f6132e5100ebf820bcc941f5b465bdd1ef962fac37c064bea7701effb2d7f87c547
7
- data.tar.gz: 66bb6d4efad9dfd93051c14c4ce5a686106d97eee9cc1c698909249017d6171507737d45b7c46978e12bfee585ae540813c0e30c95bd9aae265e30bd86ca3d77
6
+ metadata.gz: 9078cd3a65715d36c09b8428b488e1d5056b026589b8b6e6c35f63ff1c42aea5d3c94ce3584e551aa0035ddba80e61a1352a0f362d4bfea2d9c33885c204464a
7
+ data.tar.gz: 7c6c355747fb1fca7e5ea788e1125f1fdc19a1350d5882f654e105a2fa11a7a02a6600f12bc68ae1aa73b17c6eaf7d2a5bc1528fffb45677d67d63715f9b1564
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v2
2
2
 
3
+ ### v0.7.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250302
6
+
7
+ ### v0.6.0 (2025-01-19)
8
+
9
+ * Regenerated from discovery document revision 20250113
10
+
3
11
  ### v0.5.0 (2025-01-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20250103
@@ -307,12 +307,10 @@ module Google
307
307
  class ConfigManagementConfigSync
308
308
  include Google::Apis::Core::Hashable
309
309
 
310
- # Optional. Set to true to allow the vertical scaling. Defaults to false which
311
- # disallows vertical scaling. This field is deprecated.
312
- # Corresponds to the JSON property `allowVerticalScale`
313
- # @return [Boolean]
314
- attr_accessor :allow_vertical_scale
315
- alias_method :allow_vertical_scale?, :allow_vertical_scale
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
316
314
 
317
315
  # Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
318
316
  # resources will be created and the other ConfigSync fields will be applied if
@@ -374,7 +372,7 @@ module Google
374
372
 
375
373
  # Update properties of this object
376
374
  def update!(**args)
377
- @allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
375
+ @deployment_overrides = args[:deployment_overrides] if args.key?(:deployment_overrides)
378
376
  @enabled = args[:enabled] if args.key?(:enabled)
379
377
  @git = args[:git] if args.key?(:git)
380
378
  @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
@@ -607,6 +605,80 @@ module Google
607
605
  end
608
606
  end
609
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
+
610
682
  # Model for a config file in the git repo with an associated Sync error.
611
683
  class ConfigManagementErrorResource
612
684
  include Google::Apis::Core::Hashable
@@ -698,8 +770,8 @@ module Google
698
770
  attr_accessor :policy_dir
699
771
 
700
772
  # Required. Type of secret configured for access to the Git repo. Must be one of
701
- # ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of
702
- # this is case-sensitive. Required.
773
+ # ssh, cookiefile, gcenode, token, gcpserviceaccount, githubapp or none. The
774
+ # validation of this is case-sensitive.
703
775
  # Corresponds to the JSON property `secretType`
704
776
  # @return [String]
705
777
  attr_accessor :secret_type
@@ -709,7 +781,7 @@ module Google
709
781
  # @return [String]
710
782
  attr_accessor :sync_branch
711
783
 
712
- # Optional. The URL of the Git repository to use as the source of truth.
784
+ # Required. The URL of the Git repository to use as the source of truth.
713
785
  # Corresponds to the JSON property `syncRepo`
714
786
  # @return [String]
715
787
  attr_accessor :sync_repo
@@ -916,12 +988,14 @@ module Google
916
988
  # @return [String]
917
989
  attr_accessor :policy_dir
918
990
 
919
- # Optional. Type of secret configured for access to the Git repo.
991
+ # Required. Type of secret configured for access to the OCI repo. Must be one of
992
+ # gcenode, gcpserviceaccount, k8sserviceaccount or none. The validation of this
993
+ # is case-sensitive.
920
994
  # Corresponds to the JSON property `secretType`
921
995
  # @return [String]
922
996
  attr_accessor :secret_type
923
997
 
924
- # Optional. The OCI image repository URL for the package to sync from. e.g. `
998
+ # Required. The OCI image repository URL for the package to sync from. e.g. `
925
999
  # LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
926
1000
  # Corresponds to the JSON property `syncRepo`
927
1001
  # @return [String]
@@ -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.5.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 = "20250103"
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,7 +675,8 @@ module Google
663
675
  class ConfigManagementConfigSync
664
676
  # @private
665
677
  class Representation < Google::Apis::Core::JsonRepresentation
666
- property :allow_vertical_scale, as: 'allowVerticalScale'
678
+ collection :deployment_overrides, as: 'deploymentOverrides', class: Google::Apis::GkehubV2::ConfigManagementDeploymentOverride, decorator: Google::Apis::GkehubV2::ConfigManagementDeploymentOverride::Representation
679
+
667
680
  property :enabled, as: 'enabled'
668
681
  property :git, as: 'git', class: Google::Apis::GkehubV2::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV2::ConfigManagementGitConfig::Representation
669
682
 
@@ -732,6 +745,27 @@ module Google
732
745
  end
733
746
  end
734
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
+
735
769
  class ConfigManagementErrorResource
736
770
  # @private
737
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.5.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-01-12 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_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2/v0.5.0
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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.2
76
+ rubygems_version: 3.6.5
77
77
  specification_version: 4
78
78
  summary: Simple REST client for GKE Hub API V2
79
79
  test_files: []