google-apis-gkehub_v1beta 0.26.0 → 0.29.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: 32c92e2b91556b164b236fc2a5b94512441f9e87fde99680bfe0e6a869ed7522
4
- data.tar.gz: 93baeeb91cf0fb8d3d5d385c34aab2019d6246199a6997233f40a439832e16df
3
+ metadata.gz: 0ee884924e4f5a2a6cd517887049db5232907c797daadb1463390ba4adcde449
4
+ data.tar.gz: 02d521930614ddc72e91c39fad93930f678b6b176b7d9cc576623861ee2af185
5
5
  SHA512:
6
- metadata.gz: c20d85adf318c5fc0406e21d45ef1bd166e6b08b42280e2988e1671973e74af5f81cd385c3791f2e5f3759a6c2262151eda4c3b6d536e1be3f8cf3d75445a043
7
- data.tar.gz: 783e7e3c00128f15eab5c9f8c2cf704068d7e3be4141a513d7c210a39b74842e33759b1a6e7b8bc43f80d221374e5dcc7fbb3a5b82a74aa149ff2b9dc0156e4c
6
+ metadata.gz: 0bd61906b10ede140a0239f2914f15375b2e2177bd9b7c4f46414d04edc598d3638c694fe091b1dfc483d8ed77e4825b8dd435262bd11b30a273d4a38fdbcf1f
7
+ data.tar.gz: 1b13b3da7c47f25b2709ffcf0c06435183ef59bd3a66a750ea32ee0627a5a1a017ba4f17a38bd7f0aaa9d0365e513b4241c52cd6d2dc8fe6ee2b4ef495d24ea5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.29.0 (2022-07-16)
4
+
5
+ * Regenerated from discovery document revision 20220706
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.28.0 (2022-07-03)
9
+
10
+ * Regenerated from discovery document revision 20220628
11
+ * Regenerated using generator version 0.8.0
12
+
13
+ ### v0.27.0 (2022-06-18)
14
+
15
+ * Regenerated using generator version 0.7.0
16
+
3
17
  ### v0.26.0 (2022-06-05)
4
18
 
5
19
  * Regenerated from discovery document revision 20220530
@@ -1205,6 +1205,13 @@ module Google
1205
1205
  # @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMonitoring]
1206
1206
  attr_accessor :monitoring
1207
1207
 
1208
+ # Enable or disable mutation in policy controller. If true, mutation CRDs,
1209
+ # webhook and controller deployment will be deployed to the cluster.
1210
+ # Corresponds to the JSON property `mutationEnabled`
1211
+ # @return [Boolean]
1212
+ attr_accessor :mutation_enabled
1213
+ alias_method :mutation_enabled?, :mutation_enabled
1214
+
1208
1215
  # Enables the ability to use Constraint Templates that reference to objects
1209
1216
  # other than the object currently being evaluated.
1210
1217
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -1229,6 +1236,7 @@ module Google
1229
1236
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
1230
1237
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
1231
1238
  @monitoring = args[:monitoring] if args.key?(:monitoring)
1239
+ @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
1232
1240
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
1233
1241
  @template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
1234
1242
  end
@@ -2459,6 +2467,19 @@ module Google
2459
2467
  attr_accessor :log_denies_enabled
2460
2468
  alias_method :log_denies_enabled?, :log_denies_enabled
2461
2469
 
2470
+ # MonitoringConfig specifies the backends Policy Controller should export
2471
+ # metrics to. For example, to specify metrics should be exported to Cloud
2472
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
2473
+ # Corresponds to the JSON property `monitoring`
2474
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig]
2475
+ attr_accessor :monitoring
2476
+
2477
+ # Enables the ability to mutate resources using Policy Controller.
2478
+ # Corresponds to the JSON property `mutationEnabled`
2479
+ # @return [Boolean]
2480
+ attr_accessor :mutation_enabled
2481
+ alias_method :mutation_enabled?, :mutation_enabled
2482
+
2462
2483
  # Enables the ability to use Constraint Templates that reference to objects
2463
2484
  # other than the object currently being evaluated.
2464
2485
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -2481,6 +2502,8 @@ module Google
2481
2502
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
2482
2503
  @install_spec = args[:install_spec] if args.key?(:install_spec)
2483
2504
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
2505
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
2506
+ @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
2484
2507
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
2485
2508
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
2486
2509
  end
@@ -2600,6 +2623,28 @@ module Google
2600
2623
  end
2601
2624
  end
2602
2625
 
2626
+ # MonitoringConfig specifies the backends Policy Controller should export
2627
+ # metrics to. For example, to specify metrics should be exported to Cloud
2628
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
2629
+ class PolicyControllerMonitoringConfig
2630
+ include Google::Apis::Core::Hashable
2631
+
2632
+ # Specifies the list of backends Policy Controller will export to. An empty list
2633
+ # would effectively disable metrics export.
2634
+ # Corresponds to the JSON property `backends`
2635
+ # @return [Array<String>]
2636
+ attr_accessor :backends
2637
+
2638
+ def initialize(**args)
2639
+ update!(**args)
2640
+ end
2641
+
2642
+ # Update properties of this object
2643
+ def update!(**args)
2644
+ @backends = args[:backends] if args.key?(:backends)
2645
+ end
2646
+ end
2647
+
2603
2648
  # The config specifying which default library templates to install.
2604
2649
  class PolicyControllerTemplateLibraryConfig
2605
2650
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220530"
25
+ REVISION = "20220706"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,12 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class PolicyControllerMonitoringConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
445
451
  class PolicyControllerTemplateLibraryConfig
446
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
453
 
@@ -857,6 +863,7 @@ module Google
857
863
  property :log_denies_enabled, as: 'logDeniesEnabled'
858
864
  property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMonitoring, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMonitoring::Representation
859
865
 
866
+ property :mutation_enabled, as: 'mutationEnabled'
860
867
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
861
868
  property :template_library_installed, as: 'templateLibraryInstalled'
862
869
  end
@@ -1188,6 +1195,9 @@ module Google
1188
1195
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1189
1196
  property :install_spec, as: 'installSpec'
1190
1197
  property :log_denies_enabled, as: 'logDeniesEnabled'
1198
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig::Representation
1199
+
1200
+ property :mutation_enabled, as: 'mutationEnabled'
1191
1201
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1192
1202
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
1193
1203
 
@@ -1231,6 +1241,13 @@ module Google
1231
1241
  end
1232
1242
  end
1233
1243
 
1244
+ class PolicyControllerMonitoringConfig
1245
+ # @private
1246
+ class Representation < Google::Apis::Core::JsonRepresentation
1247
+ collection :backends, as: 'backends'
1248
+ end
1249
+ end
1250
+
1234
1251
  class PolicyControllerTemplateLibraryConfig
1235
1252
  # @private
1236
1253
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.29.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: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []