google-apis-gkehub_v1beta 0.27.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60913e9c4911b8b203a28276436c56c306472775fa99b6ce8cb05e0cd4b81808
|
4
|
+
data.tar.gz: 60abb9f7b104572b96d41941998392d997e9db7094365b5c64ca36f91345c473
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2170d6e8325aee6f1e42c120ccb51605c3680df2720c6ba95ba61c7b38c18e41ed280bc1b0bdb9a3ffc72c83d0c424bf158b54a15b49a8f963a0106fcc230de7
|
7
|
+
data.tar.gz: e0b2bacf1e25fb9fe1ec5730a5e7e3bc1a306c333676ab22eb506da0b1a7a6a7e746f26336a6eb58d4467bc8cecbec72bc915956e7190994304e3fc89db6d598
|
data/CHANGELOG.md
CHANGED
@@ -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,13 @@ 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
|
+
|
2462
2477
|
# Enables the ability to use Constraint Templates that reference to objects
|
2463
2478
|
# other than the object currently being evaluated.
|
2464
2479
|
# Corresponds to the JSON property `referentialRulesEnabled`
|
@@ -2481,6 +2496,7 @@ module Google
|
|
2481
2496
|
@exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
|
2482
2497
|
@install_spec = args[:install_spec] if args.key?(:install_spec)
|
2483
2498
|
@log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
|
2499
|
+
@monitoring = args[:monitoring] if args.key?(:monitoring)
|
2484
2500
|
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
2485
2501
|
@template_library_config = args[:template_library_config] if args.key?(:template_library_config)
|
2486
2502
|
end
|
@@ -2600,6 +2616,28 @@ module Google
|
|
2600
2616
|
end
|
2601
2617
|
end
|
2602
2618
|
|
2619
|
+
# MonitoringConfig specifies the backends Policy Controller should export
|
2620
|
+
# metrics to. For example, to specify metrics should be exported to Cloud
|
2621
|
+
# Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
|
2622
|
+
class PolicyControllerMonitoringConfig
|
2623
|
+
include Google::Apis::Core::Hashable
|
2624
|
+
|
2625
|
+
# Specifies the list of backends Policy Controller will export to. An empty list
|
2626
|
+
# would effectively disable metrics export.
|
2627
|
+
# Corresponds to the JSON property `backends`
|
2628
|
+
# @return [Array<String>]
|
2629
|
+
attr_accessor :backends
|
2630
|
+
|
2631
|
+
def initialize(**args)
|
2632
|
+
update!(**args)
|
2633
|
+
end
|
2634
|
+
|
2635
|
+
# Update properties of this object
|
2636
|
+
def update!(**args)
|
2637
|
+
@backends = args[:backends] if args.key?(:backends)
|
2638
|
+
end
|
2639
|
+
end
|
2640
|
+
|
2603
2641
|
# The config specifying which default library templates to install.
|
2604
2642
|
class PolicyControllerTemplateLibraryConfig
|
2605
2643
|
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.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220628"
|
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,8 @@ 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
|
+
|
1191
1200
|
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
1192
1201
|
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
|
1193
1202
|
|
@@ -1231,6 +1240,13 @@ module Google
|
|
1231
1240
|
end
|
1232
1241
|
end
|
1233
1242
|
|
1243
|
+
class PolicyControllerMonitoringConfig
|
1244
|
+
# @private
|
1245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1246
|
+
collection :backends, as: 'backends'
|
1247
|
+
end
|
1248
|
+
end
|
1249
|
+
|
1234
1250
|
class PolicyControllerTemplateLibraryConfig
|
1235
1251
|
# @private
|
1236
1252
|
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.
|
4
|
+
version: 0.28.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-
|
11
|
+
date: 2022-07-04 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.28.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: []
|