google-apis-gkehub_v1alpha 0.49.0 → 0.50.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: f9f8d7459f6f631409d88e7a6e21dc3d22e6123e8ed771843b735836e71d0103
4
- data.tar.gz: 4d398cc07ba52dd98521251438928bf269ac591c81ef47b72e9eb560e22962f0
3
+ metadata.gz: bc9e03caeab77acf057f962fe7b8bf1247bcb45624df3f97e2a9cd563baaaa8f
4
+ data.tar.gz: 7ea36fa7d28416a78d13ebe94deffc7223a371775603a18a19134e4081c96967
5
5
  SHA512:
6
- metadata.gz: 1cd0b2280096ddfcc310effb548f9799edf47d23e720ed35bfdf4ad065352cca60f265d4959059ad16316226f0145998ecab95ffcc0a5b134dc4cdc65dfd04d7
7
- data.tar.gz: e0fe9c7e76c2b8eccd257b73ba42f73b1a19824528d9568646770d565e09dbcda1ca7e100ccfcf1dcd583438dd68623272d3e187a83ef1d8e1144061fc0d46a8
6
+ metadata.gz: 9453c375fa5e4f466be65d8b59940dca25afa1111bd0336198cefffa88194becdd40c7a1130d348d74905198e1b2e1481c3063182cb038baa46ac0c56a40e8bf
7
+ data.tar.gz: e15066ec663f53fb88e347da1e330472c1bd38b5f72297c275f4a7381f123dcdf12bb505f52d073d63d9f518dadcdf3821a4b93326694a205f1ac430765e5895
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.50.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230316
6
+
3
7
  ### v0.49.0 (2023-03-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20230310
@@ -3607,12 +3607,14 @@ module Google
3607
3607
  class PolicyControllerBundleInstallSpec
3608
3608
  include Google::Apis::Core::Hashable
3609
3609
 
3610
- # the set of namespaces to be exempted from the bundle
3610
+ # the set of namespaces to be exempted from the bundle TODO (b/271878194):
3611
+ # Decrement this
3611
3612
  # Corresponds to the JSON property `exemptedNamespaces`
3612
3613
  # @return [Array<String>]
3613
3614
  attr_accessor :exempted_namespaces
3614
3615
 
3615
- # Management specifies how the bundle will be managed by the controller.
3616
+ # Management specifies how the bundle will be managed by the controller. TODO (b/
3617
+ # 271878194): Remove this
3616
3618
  # Corresponds to the JSON property `management`
3617
3619
  # @return [String]
3618
3620
  attr_accessor :management
@@ -3757,11 +3759,16 @@ module Google
3757
3759
  attr_accessor :component_states
3758
3760
 
3759
3761
  # The state of the template library and any bundles included in the chosen
3760
- # version of the manifest
3762
+ # version of the manifest TODO (b/271878194): Remove this
3761
3763
  # Corresponds to the JSON property `contentStates`
3762
3764
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3763
3765
  attr_accessor :content_states
3764
3766
 
3767
+ # The state of the policy controller policy content
3768
+ # Corresponds to the JSON property `policyContentState`
3769
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState]
3770
+ attr_accessor :policy_content_state
3771
+
3765
3772
  # The overall Policy Controller lifecycle state observed by the Hub Feature
3766
3773
  # controller.
3767
3774
  # Corresponds to the JSON property `state`
@@ -3776,6 +3783,7 @@ module Google
3776
3783
  def update!(**args)
3777
3784
  @component_states = args[:component_states] if args.key?(:component_states)
3778
3785
  @content_states = args[:content_states] if args.key?(:content_states)
3786
+ @policy_content_state = args[:policy_content_state] if args.key?(:policy_content_state)
3779
3787
  @state = args[:state] if args.key?(:state)
3780
3788
  end
3781
3789
  end
@@ -3839,6 +3847,11 @@ module Google
3839
3847
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec>]
3840
3848
  attr_accessor :bundles
3841
3849
 
3850
+ # The config specifying which default library templates to install.
3851
+ # Corresponds to the JSON property `templateLibrary`
3852
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig]
3853
+ attr_accessor :template_library
3854
+
3842
3855
  def initialize(**args)
3843
3856
  update!(**args)
3844
3857
  end
@@ -3846,6 +3859,32 @@ module Google
3846
3859
  # Update properties of this object
3847
3860
  def update!(**args)
3848
3861
  @bundles = args[:bundles] if args.key?(:bundles)
3862
+ @template_library = args[:template_library] if args.key?(:template_library)
3863
+ end
3864
+ end
3865
+
3866
+ # The state of the policy controller policy content
3867
+ class PolicyControllerPolicyContentState
3868
+ include Google::Apis::Core::Hashable
3869
+
3870
+ # The state of the any bundles included in the chosen version of the manifest
3871
+ # Corresponds to the JSON property `bundleStates`
3872
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3873
+ attr_accessor :bundle_states
3874
+
3875
+ # OnClusterState represents the state of a sub-component of Policy Controller.
3876
+ # Corresponds to the JSON property `templateLibraryState`
3877
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState]
3878
+ attr_accessor :template_library_state
3879
+
3880
+ def initialize(**args)
3881
+ update!(**args)
3882
+ end
3883
+
3884
+ # Update properties of this object
3885
+ def update!(**args)
3886
+ @bundle_states = args[:bundle_states] if args.key?(:bundle_states)
3887
+ @template_library_state = args[:template_library_state] if args.key?(:template_library_state)
3849
3888
  end
3850
3889
  end
3851
3890
 
@@ -3941,12 +3980,19 @@ module Google
3941
3980
  class PolicyControllerTemplateLibraryConfig
3942
3981
  include Google::Apis::Core::Hashable
3943
3982
 
3944
- # Whether the standard template library should be installed or not.
3983
+ # Whether the standard template library should be installed or not. TODO (b/
3984
+ # 271878194): Remove this
3945
3985
  # Corresponds to the JSON property `included`
3946
3986
  # @return [Boolean]
3947
3987
  attr_accessor :included
3948
3988
  alias_method :included?, :included
3949
3989
 
3990
+ # Configures the manner in which the template library is installed on the
3991
+ # cluster. TODO (b/271878194): Decrement this
3992
+ # Corresponds to the JSON property `installation`
3993
+ # @return [String]
3994
+ attr_accessor :installation
3995
+
3950
3996
  def initialize(**args)
3951
3997
  update!(**args)
3952
3998
  end
@@ -3954,6 +4000,7 @@ module Google
3954
4000
  # Update properties of this object
3955
4001
  def update!(**args)
3956
4002
  @included = args[:included] if args.key?(:included)
4003
+ @installation = args[:installation] if args.key?(:installation)
3957
4004
  end
3958
4005
  end
3959
4006
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230310"
25
+ REVISION = "20230316"
26
26
  end
27
27
  end
28
28
  end
@@ -634,6 +634,12 @@ module Google
634
634
  include Google::Apis::Core::JsonObjectSupport
635
635
  end
636
636
 
637
+ class PolicyControllerPolicyContentState
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
637
643
  class PolicyControllerPolicyControllerDeploymentConfig
638
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
645
 
@@ -1856,6 +1862,8 @@ module Google
1856
1862
 
1857
1863
  hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1858
1864
 
1865
+ property :policy_content_state, as: 'policyContentState', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState::Representation
1866
+
1859
1867
  property :state, as: 'state'
1860
1868
  end
1861
1869
  end
@@ -1880,6 +1888,18 @@ module Google
1880
1888
  class Representation < Google::Apis::Core::JsonRepresentation
1881
1889
  hash :bundles, as: 'bundles', class: Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec::Representation
1882
1890
 
1891
+ property :template_library, as: 'templateLibrary', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
1892
+
1893
+ end
1894
+ end
1895
+
1896
+ class PolicyControllerPolicyContentState
1897
+ # @private
1898
+ class Representation < Google::Apis::Core::JsonRepresentation
1899
+ hash :bundle_states, as: 'bundleStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1900
+
1901
+ property :template_library_state, as: 'templateLibraryState', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1902
+
1883
1903
  end
1884
1904
  end
1885
1905
 
@@ -1917,6 +1937,7 @@ module Google
1917
1937
  # @private
1918
1938
  class Representation < Google::Apis::Core::JsonRepresentation
1919
1939
  property :included, as: 'included'
1940
+ property :installation, as: 'installation'
1920
1941
  end
1921
1942
  end
1922
1943
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-19 00:00:00.000000000 Z
11
+ date: 2023-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []