google-apis-gkehub_v1 0.59.0 → 0.61.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: c7e80d6c23ea2f24a31eb5e7bfb1da494108483b990e6bca27e2f2b57539aeac
4
- data.tar.gz: 69d97280a3a09a32aa244db2e52622c8cf74f202eb5af5095581dd67fabf69c9
3
+ metadata.gz: bde9e6deab7739f58cf4bc88057842bb1bf260e94f8f887c8f36f1e100428ffa
4
+ data.tar.gz: 3ad2a75029d12a88d5b48e386f65e4ee376a44c3ce1c5a78fabfd38b42f0a13f
5
5
  SHA512:
6
- metadata.gz: e720d1b65f5cb6e9a093fd0b6c591afbb59e22d83ef665fda2d6a518cb956c511d49726ec4ebcf4a908e1c998629f84aed60c2ea75234064d272819fe7feaad2
7
- data.tar.gz: aa027a52493afe964a2592804d6c2196e6d86fb13bdec3164a54bd225af2b205ded494f0192c9d94c24784b0610351b705b2c8cac0bcfb1a92305327e6d30d78
6
+ metadata.gz: 34bdd07754dc99d21d8e2a83143a61d051c62e0398606662f8ea165e8d9d3ac972cda23f8f682c761a8fcd5b673f211b24d996dea055655e633d98f0b2bb696d
7
+ data.tar.gz: e547bca345eda7b23a50ecc4d1db08670634127d31801505690b89d6e667758dd4af6cf3251e4618092d5702461e0b8d0d71f2bf22896f9319525337ee1ae04e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.61.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231030
6
+
7
+ ### v0.60.0 (2023-10-22)
8
+
9
+ * Regenerated from discovery document revision 20231013
10
+
3
11
  ### v0.59.0 (2023-10-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20231006
@@ -365,6 +365,22 @@ module Google
365
365
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipSpec]
366
366
  attr_accessor :configmanagement
367
367
 
368
+ # **Anthos Identity Service**: Configuration for a single Membership.
369
+ # Corresponds to the JSON property `identityservice`
370
+ # @return [Google::Apis::GkehubV1::IdentityServiceMembershipSpec]
371
+ attr_accessor :identityservice
372
+
373
+ # **Service Mesh**: Spec for a single Membership for the servicemesh feature
374
+ # Corresponds to the JSON property `mesh`
375
+ # @return [Google::Apis::GkehubV1::ServiceMeshMembershipSpec]
376
+ attr_accessor :mesh
377
+
378
+ # **Policy Controller**: Configuration for a single cluster. Intended to
379
+ # parallel the PolicyController CR.
380
+ # Corresponds to the JSON property `policycontroller`
381
+ # @return [Google::Apis::GkehubV1::PolicyControllerMembershipSpec]
382
+ attr_accessor :policycontroller
383
+
368
384
  def initialize(**args)
369
385
  update!(**args)
370
386
  end
@@ -372,6 +388,9 @@ module Google
372
388
  # Update properties of this object
373
389
  def update!(**args)
374
390
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
391
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
392
+ @mesh = args[:mesh] if args.key?(:mesh)
393
+ @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
375
394
  end
376
395
  end
377
396
 
@@ -3011,6 +3030,12 @@ module Google
3011
3030
  # @return [Google::Apis::GkehubV1::Origin]
3012
3031
  attr_accessor :origin
3013
3032
 
3033
+ # **Policy Controller**: Configuration for a single cluster. Intended to
3034
+ # parallel the PolicyController CR.
3035
+ # Corresponds to the JSON property `policycontroller`
3036
+ # @return [Google::Apis::GkehubV1::PolicyControllerMembershipSpec]
3037
+ attr_accessor :policycontroller
3038
+
3014
3039
  def initialize(**args)
3015
3040
  update!(**args)
3016
3041
  end
@@ -3022,6 +3047,7 @@ module Google
3022
3047
  @identityservice = args[:identityservice] if args.key?(:identityservice)
3023
3048
  @mesh = args[:mesh] if args.key?(:mesh)
3024
3049
  @origin = args[:origin] if args.key?(:origin)
3050
+ @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
3025
3051
  end
3026
3052
  end
3027
3053
 
@@ -3051,6 +3077,11 @@ module Google
3051
3077
  # @return [Google::Apis::GkehubV1::IdentityServiceMembershipState]
3052
3078
  attr_accessor :identityservice
3053
3079
 
3080
+ # **Policy Controller**: State for a single cluster.
3081
+ # Corresponds to the JSON property `policycontroller`
3082
+ # @return [Google::Apis::GkehubV1::PolicyControllerMembershipState]
3083
+ attr_accessor :policycontroller
3084
+
3054
3085
  # **Service Mesh**: State for a single Membership, as analyzed by the Service
3055
3086
  # Mesh Hub Controller.
3056
3087
  # Corresponds to the JSON property `servicemesh`
@@ -3074,6 +3105,7 @@ module Google
3074
3105
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
3075
3106
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
3076
3107
  @identityservice = args[:identityservice] if args.key?(:identityservice)
3108
+ @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
3077
3109
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
3078
3110
  @state = args[:state] if args.key?(:state)
3079
3111
  end
@@ -3574,6 +3606,428 @@ module Google
3574
3606
  end
3575
3607
  end
3576
3608
 
3609
+ # BundleInstallSpec is the specification configuration for a single managed
3610
+ # bundle.
3611
+ class PolicyControllerBundleInstallSpec
3612
+ include Google::Apis::Core::Hashable
3613
+
3614
+ # The set of namespaces to be exempted from the bundle.
3615
+ # Corresponds to the JSON property `exemptedNamespaces`
3616
+ # @return [Array<String>]
3617
+ attr_accessor :exempted_namespaces
3618
+
3619
+ def initialize(**args)
3620
+ update!(**args)
3621
+ end
3622
+
3623
+ # Update properties of this object
3624
+ def update!(**args)
3625
+ @exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
3626
+ end
3627
+ end
3628
+
3629
+ # Configuration for Policy Controller
3630
+ class PolicyControllerHubConfig
3631
+ include Google::Apis::Core::Hashable
3632
+
3633
+ # Sets the interval for Policy Controller Audit Scans (in seconds). When set to
3634
+ # 0, this disables audit functionality altogether.
3635
+ # Corresponds to the JSON property `auditIntervalSeconds`
3636
+ # @return [Fixnum]
3637
+ attr_accessor :audit_interval_seconds
3638
+
3639
+ # The maximum number of audit violations to be stored in a constraint. If not
3640
+ # set, the internal default (currently 20) will be used.
3641
+ # Corresponds to the JSON property `constraintViolationLimit`
3642
+ # @return [Fixnum]
3643
+ attr_accessor :constraint_violation_limit
3644
+
3645
+ # Map of deployment configs to deployments ("admission", "audit", "mutation').
3646
+ # Corresponds to the JSON property `deploymentConfigs`
3647
+ # @return [Hash<String,Google::Apis::GkehubV1::PolicyControllerPolicyControllerDeploymentConfig>]
3648
+ attr_accessor :deployment_configs
3649
+
3650
+ # The set of namespaces that are excluded from Policy Controller checks.
3651
+ # Namespaces do not need to currently exist on the cluster.
3652
+ # Corresponds to the JSON property `exemptableNamespaces`
3653
+ # @return [Array<String>]
3654
+ attr_accessor :exemptable_namespaces
3655
+
3656
+ # The install_spec represents the intended state specified by the latest request
3657
+ # that mutated install_spec in the feature spec, not the lifecycle state of the
3658
+ # feature observed by the Hub feature controller that is reported in the feature
3659
+ # state.
3660
+ # Corresponds to the JSON property `installSpec`
3661
+ # @return [String]
3662
+ attr_accessor :install_spec
3663
+
3664
+ # Logs all denies and dry run failures.
3665
+ # Corresponds to the JSON property `logDeniesEnabled`
3666
+ # @return [Boolean]
3667
+ attr_accessor :log_denies_enabled
3668
+ alias_method :log_denies_enabled?, :log_denies_enabled
3669
+
3670
+ # MonitoringConfig specifies the backends Policy Controller should export
3671
+ # metrics to. For example, to specify metrics should be exported to Cloud
3672
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
3673
+ # Corresponds to the JSON property `monitoring`
3674
+ # @return [Google::Apis::GkehubV1::PolicyControllerMonitoringConfig]
3675
+ attr_accessor :monitoring
3676
+
3677
+ # Enables the ability to mutate resources using Policy Controller.
3678
+ # Corresponds to the JSON property `mutationEnabled`
3679
+ # @return [Boolean]
3680
+ attr_accessor :mutation_enabled
3681
+ alias_method :mutation_enabled?, :mutation_enabled
3682
+
3683
+ # PolicyContentSpec defines the user's desired content configuration on the
3684
+ # cluster.
3685
+ # Corresponds to the JSON property `policyContent`
3686
+ # @return [Google::Apis::GkehubV1::PolicyControllerPolicyContentSpec]
3687
+ attr_accessor :policy_content
3688
+
3689
+ # Enables the ability to use Constraint Templates that reference to objects
3690
+ # other than the object currently being evaluated.
3691
+ # Corresponds to the JSON property `referentialRulesEnabled`
3692
+ # @return [Boolean]
3693
+ attr_accessor :referential_rules_enabled
3694
+ alias_method :referential_rules_enabled?, :referential_rules_enabled
3695
+
3696
+ def initialize(**args)
3697
+ update!(**args)
3698
+ end
3699
+
3700
+ # Update properties of this object
3701
+ def update!(**args)
3702
+ @audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
3703
+ @constraint_violation_limit = args[:constraint_violation_limit] if args.key?(:constraint_violation_limit)
3704
+ @deployment_configs = args[:deployment_configs] if args.key?(:deployment_configs)
3705
+ @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
3706
+ @install_spec = args[:install_spec] if args.key?(:install_spec)
3707
+ @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
3708
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
3709
+ @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
3710
+ @policy_content = args[:policy_content] if args.key?(:policy_content)
3711
+ @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
3712
+ end
3713
+ end
3714
+
3715
+ # **Policy Controller**: Configuration for a single cluster. Intended to
3716
+ # parallel the PolicyController CR.
3717
+ class PolicyControllerMembershipSpec
3718
+ include Google::Apis::Core::Hashable
3719
+
3720
+ # Configuration for Policy Controller
3721
+ # Corresponds to the JSON property `policyControllerHubConfig`
3722
+ # @return [Google::Apis::GkehubV1::PolicyControllerHubConfig]
3723
+ attr_accessor :policy_controller_hub_config
3724
+
3725
+ # Version of Policy Controller installed.
3726
+ # Corresponds to the JSON property `version`
3727
+ # @return [String]
3728
+ attr_accessor :version
3729
+
3730
+ def initialize(**args)
3731
+ update!(**args)
3732
+ end
3733
+
3734
+ # Update properties of this object
3735
+ def update!(**args)
3736
+ @policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
3737
+ @version = args[:version] if args.key?(:version)
3738
+ end
3739
+ end
3740
+
3741
+ # **Policy Controller**: State for a single cluster.
3742
+ class PolicyControllerMembershipState
3743
+ include Google::Apis::Core::Hashable
3744
+
3745
+ # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
3746
+ # 3. "mutation"
3747
+ # Corresponds to the JSON property `componentStates`
3748
+ # @return [Hash<String,Google::Apis::GkehubV1::PolicyControllerOnClusterState>]
3749
+ attr_accessor :component_states
3750
+
3751
+ # The state of the policy controller policy content
3752
+ # Corresponds to the JSON property `policyContentState`
3753
+ # @return [Google::Apis::GkehubV1::PolicyControllerPolicyContentState]
3754
+ attr_accessor :policy_content_state
3755
+
3756
+ # The overall Policy Controller lifecycle state observed by the Hub Feature
3757
+ # controller.
3758
+ # Corresponds to the JSON property `state`
3759
+ # @return [String]
3760
+ attr_accessor :state
3761
+
3762
+ def initialize(**args)
3763
+ update!(**args)
3764
+ end
3765
+
3766
+ # Update properties of this object
3767
+ def update!(**args)
3768
+ @component_states = args[:component_states] if args.key?(:component_states)
3769
+ @policy_content_state = args[:policy_content_state] if args.key?(:policy_content_state)
3770
+ @state = args[:state] if args.key?(:state)
3771
+ end
3772
+ end
3773
+
3774
+ # MonitoringConfig specifies the backends Policy Controller should export
3775
+ # metrics to. For example, to specify metrics should be exported to Cloud
3776
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
3777
+ class PolicyControllerMonitoringConfig
3778
+ include Google::Apis::Core::Hashable
3779
+
3780
+ # Specifies the list of backends Policy Controller will export to. An empty list
3781
+ # would effectively disable metrics export.
3782
+ # Corresponds to the JSON property `backends`
3783
+ # @return [Array<String>]
3784
+ attr_accessor :backends
3785
+
3786
+ def initialize(**args)
3787
+ update!(**args)
3788
+ end
3789
+
3790
+ # Update properties of this object
3791
+ def update!(**args)
3792
+ @backends = args[:backends] if args.key?(:backends)
3793
+ end
3794
+ end
3795
+
3796
+ # OnClusterState represents the state of a sub-component of Policy Controller.
3797
+ class PolicyControllerOnClusterState
3798
+ include Google::Apis::Core::Hashable
3799
+
3800
+ # Surface potential errors or information logs.
3801
+ # Corresponds to the JSON property `details`
3802
+ # @return [String]
3803
+ attr_accessor :details
3804
+
3805
+ # The lifecycle state of this component.
3806
+ # Corresponds to the JSON property `state`
3807
+ # @return [String]
3808
+ attr_accessor :state
3809
+
3810
+ def initialize(**args)
3811
+ update!(**args)
3812
+ end
3813
+
3814
+ # Update properties of this object
3815
+ def update!(**args)
3816
+ @details = args[:details] if args.key?(:details)
3817
+ @state = args[:state] if args.key?(:state)
3818
+ end
3819
+ end
3820
+
3821
+ # PolicyContentSpec defines the user's desired content configuration on the
3822
+ # cluster.
3823
+ class PolicyControllerPolicyContentSpec
3824
+ include Google::Apis::Core::Hashable
3825
+
3826
+ # map of bundle name to BundleInstallSpec. The bundle name maps to the `
3827
+ # bundleName` key in the `policycontroller.gke.io/constraintData` annotation on
3828
+ # a constraint.
3829
+ # Corresponds to the JSON property `bundles`
3830
+ # @return [Hash<String,Google::Apis::GkehubV1::PolicyControllerBundleInstallSpec>]
3831
+ attr_accessor :bundles
3832
+
3833
+ # The config specifying which default library templates to install.
3834
+ # Corresponds to the JSON property `templateLibrary`
3835
+ # @return [Google::Apis::GkehubV1::PolicyControllerTemplateLibraryConfig]
3836
+ attr_accessor :template_library
3837
+
3838
+ def initialize(**args)
3839
+ update!(**args)
3840
+ end
3841
+
3842
+ # Update properties of this object
3843
+ def update!(**args)
3844
+ @bundles = args[:bundles] if args.key?(:bundles)
3845
+ @template_library = args[:template_library] if args.key?(:template_library)
3846
+ end
3847
+ end
3848
+
3849
+ # The state of the policy controller policy content
3850
+ class PolicyControllerPolicyContentState
3851
+ include Google::Apis::Core::Hashable
3852
+
3853
+ # The state of the any bundles included in the chosen version of the manifest
3854
+ # Corresponds to the JSON property `bundleStates`
3855
+ # @return [Hash<String,Google::Apis::GkehubV1::PolicyControllerOnClusterState>]
3856
+ attr_accessor :bundle_states
3857
+
3858
+ # OnClusterState represents the state of a sub-component of Policy Controller.
3859
+ # Corresponds to the JSON property `referentialSyncConfigState`
3860
+ # @return [Google::Apis::GkehubV1::PolicyControllerOnClusterState]
3861
+ attr_accessor :referential_sync_config_state
3862
+
3863
+ # OnClusterState represents the state of a sub-component of Policy Controller.
3864
+ # Corresponds to the JSON property `templateLibraryState`
3865
+ # @return [Google::Apis::GkehubV1::PolicyControllerOnClusterState]
3866
+ attr_accessor :template_library_state
3867
+
3868
+ def initialize(**args)
3869
+ update!(**args)
3870
+ end
3871
+
3872
+ # Update properties of this object
3873
+ def update!(**args)
3874
+ @bundle_states = args[:bundle_states] if args.key?(:bundle_states)
3875
+ @referential_sync_config_state = args[:referential_sync_config_state] if args.key?(:referential_sync_config_state)
3876
+ @template_library_state = args[:template_library_state] if args.key?(:template_library_state)
3877
+ end
3878
+ end
3879
+
3880
+ # Deployment-specific configuration.
3881
+ class PolicyControllerPolicyControllerDeploymentConfig
3882
+ include Google::Apis::Core::Hashable
3883
+
3884
+ # ResourceRequirements describes the compute resource requirements.
3885
+ # Corresponds to the JSON property `containerResources`
3886
+ # @return [Google::Apis::GkehubV1::PolicyControllerResourceRequirements]
3887
+ attr_accessor :container_resources
3888
+
3889
+ # Pod affinity configuration.
3890
+ # Corresponds to the JSON property `podAffinity`
3891
+ # @return [String]
3892
+ attr_accessor :pod_affinity
3893
+
3894
+ # Pod anti-affinity enablement.
3895
+ # Corresponds to the JSON property `podAntiAffinity`
3896
+ # @return [Boolean]
3897
+ attr_accessor :pod_anti_affinity
3898
+ alias_method :pod_anti_affinity?, :pod_anti_affinity
3899
+
3900
+ # Pod tolerations of node taints.
3901
+ # Corresponds to the JSON property `podTolerations`
3902
+ # @return [Array<Google::Apis::GkehubV1::PolicyControllerToleration>]
3903
+ attr_accessor :pod_tolerations
3904
+
3905
+ # Pod replica count.
3906
+ # Corresponds to the JSON property `replicaCount`
3907
+ # @return [Fixnum]
3908
+ attr_accessor :replica_count
3909
+
3910
+ def initialize(**args)
3911
+ update!(**args)
3912
+ end
3913
+
3914
+ # Update properties of this object
3915
+ def update!(**args)
3916
+ @container_resources = args[:container_resources] if args.key?(:container_resources)
3917
+ @pod_affinity = args[:pod_affinity] if args.key?(:pod_affinity)
3918
+ @pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
3919
+ @pod_tolerations = args[:pod_tolerations] if args.key?(:pod_tolerations)
3920
+ @replica_count = args[:replica_count] if args.key?(:replica_count)
3921
+ end
3922
+ end
3923
+
3924
+ # ResourceList contains container resource requirements.
3925
+ class PolicyControllerResourceList
3926
+ include Google::Apis::Core::Hashable
3927
+
3928
+ # CPU requirement expressed in Kubernetes resource units.
3929
+ # Corresponds to the JSON property `cpu`
3930
+ # @return [String]
3931
+ attr_accessor :cpu
3932
+
3933
+ # Memory requirement expressed in Kubernetes resource units.
3934
+ # Corresponds to the JSON property `memory`
3935
+ # @return [String]
3936
+ attr_accessor :memory
3937
+
3938
+ def initialize(**args)
3939
+ update!(**args)
3940
+ end
3941
+
3942
+ # Update properties of this object
3943
+ def update!(**args)
3944
+ @cpu = args[:cpu] if args.key?(:cpu)
3945
+ @memory = args[:memory] if args.key?(:memory)
3946
+ end
3947
+ end
3948
+
3949
+ # ResourceRequirements describes the compute resource requirements.
3950
+ class PolicyControllerResourceRequirements
3951
+ include Google::Apis::Core::Hashable
3952
+
3953
+ # ResourceList contains container resource requirements.
3954
+ # Corresponds to the JSON property `limits`
3955
+ # @return [Google::Apis::GkehubV1::PolicyControllerResourceList]
3956
+ attr_accessor :limits
3957
+
3958
+ # ResourceList contains container resource requirements.
3959
+ # Corresponds to the JSON property `requests`
3960
+ # @return [Google::Apis::GkehubV1::PolicyControllerResourceList]
3961
+ attr_accessor :requests
3962
+
3963
+ def initialize(**args)
3964
+ update!(**args)
3965
+ end
3966
+
3967
+ # Update properties of this object
3968
+ def update!(**args)
3969
+ @limits = args[:limits] if args.key?(:limits)
3970
+ @requests = args[:requests] if args.key?(:requests)
3971
+ end
3972
+ end
3973
+
3974
+ # The config specifying which default library templates to install.
3975
+ class PolicyControllerTemplateLibraryConfig
3976
+ include Google::Apis::Core::Hashable
3977
+
3978
+ # Configures the manner in which the template library is installed on the
3979
+ # cluster.
3980
+ # Corresponds to the JSON property `installation`
3981
+ # @return [String]
3982
+ attr_accessor :installation
3983
+
3984
+ def initialize(**args)
3985
+ update!(**args)
3986
+ end
3987
+
3988
+ # Update properties of this object
3989
+ def update!(**args)
3990
+ @installation = args[:installation] if args.key?(:installation)
3991
+ end
3992
+ end
3993
+
3994
+ # Toleration of a node taint.
3995
+ class PolicyControllerToleration
3996
+ include Google::Apis::Core::Hashable
3997
+
3998
+ # Matches a taint effect.
3999
+ # Corresponds to the JSON property `effect`
4000
+ # @return [String]
4001
+ attr_accessor :effect
4002
+
4003
+ # Matches a taint key (not necessarily unique).
4004
+ # Corresponds to the JSON property `key`
4005
+ # @return [String]
4006
+ attr_accessor :key
4007
+
4008
+ # Matches a taint operator.
4009
+ # Corresponds to the JSON property `operator`
4010
+ # @return [String]
4011
+ attr_accessor :operator
4012
+
4013
+ # Matches a taint value.
4014
+ # Corresponds to the JSON property `value`
4015
+ # @return [String]
4016
+ attr_accessor :value
4017
+
4018
+ def initialize(**args)
4019
+ update!(**args)
4020
+ end
4021
+
4022
+ # Update properties of this object
4023
+ def update!(**args)
4024
+ @effect = args[:effect] if args.key?(:effect)
4025
+ @key = args[:key] if args.key?(:key)
4026
+ @operator = args[:operator] if args.key?(:operator)
4027
+ @value = args[:value] if args.key?(:value)
4028
+ end
4029
+ end
4030
+
3577
4031
  # RBACRoleBinding represents a rbacrolebinding across the Fleet
3578
4032
  class RbacRoleBinding
3579
4033
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1
18
18
  # Version of the google-apis-gkehub_v1 gem
19
- GEM_VERSION = "0.59.0"
19
+ GEM_VERSION = "0.61.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 = "20231006"
25
+ REVISION = "20231030"
26
26
  end
27
27
  end
28
28
  end
@@ -580,6 +580,84 @@ module Google
580
580
  include Google::Apis::Core::JsonObjectSupport
581
581
  end
582
582
 
583
+ class PolicyControllerBundleInstallSpec
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class PolicyControllerHubConfig
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class PolicyControllerMembershipSpec
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class PolicyControllerMembershipState
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class PolicyControllerMonitoringConfig
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class PolicyControllerOnClusterState
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class PolicyControllerPolicyContentSpec
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class PolicyControllerPolicyContentState
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class PolicyControllerPolicyControllerDeploymentConfig
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class PolicyControllerResourceList
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class PolicyControllerResourceRequirements
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class PolicyControllerTemplateLibraryConfig
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class PolicyControllerToleration
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
583
661
  class RbacRoleBinding
584
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
663
 
@@ -787,6 +865,12 @@ module Google
787
865
  class Representation < Google::Apis::Core::JsonRepresentation
788
866
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipSpec::Representation
789
867
 
868
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipSpec::Representation
869
+
870
+ property :mesh, as: 'mesh', class: Google::Apis::GkehubV1::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1::ServiceMeshMembershipSpec::Representation
871
+
872
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1::PolicyControllerMembershipSpec::Representation
873
+
790
874
  end
791
875
  end
792
876
 
@@ -1537,6 +1621,8 @@ module Google
1537
1621
 
1538
1622
  property :origin, as: 'origin', class: Google::Apis::GkehubV1::Origin, decorator: Google::Apis::GkehubV1::Origin::Representation
1539
1623
 
1624
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1::PolicyControllerMembershipSpec::Representation
1625
+
1540
1626
  end
1541
1627
  end
1542
1628
 
@@ -1551,6 +1637,8 @@ module Google
1551
1637
 
1552
1638
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipState::Representation
1553
1639
 
1640
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1::PolicyControllerMembershipState::Representation
1641
+
1554
1642
  property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1::ServiceMeshMembershipState::Representation
1555
1643
 
1556
1644
  property :state, as: 'state', class: Google::Apis::GkehubV1::FeatureState, decorator: Google::Apis::GkehubV1::FeatureState::Representation
@@ -1668,6 +1756,137 @@ module Google
1668
1756
  end
1669
1757
  end
1670
1758
 
1759
+ class PolicyControllerBundleInstallSpec
1760
+ # @private
1761
+ class Representation < Google::Apis::Core::JsonRepresentation
1762
+ collection :exempted_namespaces, as: 'exemptedNamespaces'
1763
+ end
1764
+ end
1765
+
1766
+ class PolicyControllerHubConfig
1767
+ # @private
1768
+ class Representation < Google::Apis::Core::JsonRepresentation
1769
+ property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1770
+ property :constraint_violation_limit, :numeric_string => true, as: 'constraintViolationLimit'
1771
+ hash :deployment_configs, as: 'deploymentConfigs', class: Google::Apis::GkehubV1::PolicyControllerPolicyControllerDeploymentConfig, decorator: Google::Apis::GkehubV1::PolicyControllerPolicyControllerDeploymentConfig::Representation
1772
+
1773
+ collection :exemptable_namespaces, as: 'exemptableNamespaces'
1774
+ property :install_spec, as: 'installSpec'
1775
+ property :log_denies_enabled, as: 'logDeniesEnabled'
1776
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1::PolicyControllerMonitoringConfig::Representation
1777
+
1778
+ property :mutation_enabled, as: 'mutationEnabled'
1779
+ property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1::PolicyControllerPolicyContentSpec::Representation
1780
+
1781
+ property :referential_rules_enabled, as: 'referentialRulesEnabled'
1782
+ end
1783
+ end
1784
+
1785
+ class PolicyControllerMembershipSpec
1786
+ # @private
1787
+ class Representation < Google::Apis::Core::JsonRepresentation
1788
+ property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1::PolicyControllerHubConfig, decorator: Google::Apis::GkehubV1::PolicyControllerHubConfig::Representation
1789
+
1790
+ property :version, as: 'version'
1791
+ end
1792
+ end
1793
+
1794
+ class PolicyControllerMembershipState
1795
+ # @private
1796
+ class Representation < Google::Apis::Core::JsonRepresentation
1797
+ hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1::PolicyControllerOnClusterState::Representation
1798
+
1799
+ property :policy_content_state, as: 'policyContentState', class: Google::Apis::GkehubV1::PolicyControllerPolicyContentState, decorator: Google::Apis::GkehubV1::PolicyControllerPolicyContentState::Representation
1800
+
1801
+ property :state, as: 'state'
1802
+ end
1803
+ end
1804
+
1805
+ class PolicyControllerMonitoringConfig
1806
+ # @private
1807
+ class Representation < Google::Apis::Core::JsonRepresentation
1808
+ collection :backends, as: 'backends'
1809
+ end
1810
+ end
1811
+
1812
+ class PolicyControllerOnClusterState
1813
+ # @private
1814
+ class Representation < Google::Apis::Core::JsonRepresentation
1815
+ property :details, as: 'details'
1816
+ property :state, as: 'state'
1817
+ end
1818
+ end
1819
+
1820
+ class PolicyControllerPolicyContentSpec
1821
+ # @private
1822
+ class Representation < Google::Apis::Core::JsonRepresentation
1823
+ hash :bundles, as: 'bundles', class: Google::Apis::GkehubV1::PolicyControllerBundleInstallSpec, decorator: Google::Apis::GkehubV1::PolicyControllerBundleInstallSpec::Representation
1824
+
1825
+ property :template_library, as: 'templateLibrary', class: Google::Apis::GkehubV1::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1::PolicyControllerTemplateLibraryConfig::Representation
1826
+
1827
+ end
1828
+ end
1829
+
1830
+ class PolicyControllerPolicyContentState
1831
+ # @private
1832
+ class Representation < Google::Apis::Core::JsonRepresentation
1833
+ hash :bundle_states, as: 'bundleStates', class: Google::Apis::GkehubV1::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1::PolicyControllerOnClusterState::Representation
1834
+
1835
+ property :referential_sync_config_state, as: 'referentialSyncConfigState', class: Google::Apis::GkehubV1::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1::PolicyControllerOnClusterState::Representation
1836
+
1837
+ property :template_library_state, as: 'templateLibraryState', class: Google::Apis::GkehubV1::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1::PolicyControllerOnClusterState::Representation
1838
+
1839
+ end
1840
+ end
1841
+
1842
+ class PolicyControllerPolicyControllerDeploymentConfig
1843
+ # @private
1844
+ class Representation < Google::Apis::Core::JsonRepresentation
1845
+ property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1::PolicyControllerResourceRequirements::Representation
1846
+
1847
+ property :pod_affinity, as: 'podAffinity'
1848
+ property :pod_anti_affinity, as: 'podAntiAffinity'
1849
+ collection :pod_tolerations, as: 'podTolerations', class: Google::Apis::GkehubV1::PolicyControllerToleration, decorator: Google::Apis::GkehubV1::PolicyControllerToleration::Representation
1850
+
1851
+ property :replica_count, :numeric_string => true, as: 'replicaCount'
1852
+ end
1853
+ end
1854
+
1855
+ class PolicyControllerResourceList
1856
+ # @private
1857
+ class Representation < Google::Apis::Core::JsonRepresentation
1858
+ property :cpu, as: 'cpu'
1859
+ property :memory, as: 'memory'
1860
+ end
1861
+ end
1862
+
1863
+ class PolicyControllerResourceRequirements
1864
+ # @private
1865
+ class Representation < Google::Apis::Core::JsonRepresentation
1866
+ property :limits, as: 'limits', class: Google::Apis::GkehubV1::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1::PolicyControllerResourceList::Representation
1867
+
1868
+ property :requests, as: 'requests', class: Google::Apis::GkehubV1::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1::PolicyControllerResourceList::Representation
1869
+
1870
+ end
1871
+ end
1872
+
1873
+ class PolicyControllerTemplateLibraryConfig
1874
+ # @private
1875
+ class Representation < Google::Apis::Core::JsonRepresentation
1876
+ property :installation, as: 'installation'
1877
+ end
1878
+ end
1879
+
1880
+ class PolicyControllerToleration
1881
+ # @private
1882
+ class Representation < Google::Apis::Core::JsonRepresentation
1883
+ property :effect, as: 'effect'
1884
+ property :key, as: 'key'
1885
+ property :operator, as: 'operator'
1886
+ property :value, as: 'value'
1887
+ end
1888
+ end
1889
+
1671
1890
  class RbacRoleBinding
1672
1891
  # @private
1673
1892
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.61.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-10-15 00:00:00.000000000 Z
11
+ date: 2023-11-05 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.61.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []