google-apis-gkehub_v1beta 0.25.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
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta
|
2
2
|
|
3
|
+
### v0.28.0 (2022-07-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220628
|
6
|
+
* Regenerated using generator version 0.8.0
|
7
|
+
|
8
|
+
### v0.27.0 (2022-06-18)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.7.0
|
11
|
+
|
12
|
+
### v0.26.0 (2022-06-05)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220530
|
15
|
+
* Regenerated using generator version 0.5.0
|
16
|
+
|
3
17
|
### v0.25.0 (2022-05-16)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20220505
|
@@ -529,6 +529,11 @@ module Google
|
|
529
529
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
|
530
530
|
attr_accessor :git
|
531
531
|
|
532
|
+
# OCI repo configuration for a single cluster
|
533
|
+
# Corresponds to the JSON property `oci`
|
534
|
+
# @return [Google::Apis::GkehubV1beta::ConfigManagementOciConfig]
|
535
|
+
attr_accessor :oci
|
536
|
+
|
532
537
|
# Set to true to enable the Config Sync admission webhook to prevent drifts. If
|
533
538
|
# set to `false`, disables the Config Sync admission webhook and does not
|
534
539
|
# prevent drifts.
|
@@ -551,6 +556,7 @@ module Google
|
|
551
556
|
def update!(**args)
|
552
557
|
@enabled = args[:enabled] if args.key?(:enabled)
|
553
558
|
@git = args[:git] if args.key?(:git)
|
559
|
+
@oci = args[:oci] if args.key?(:oci)
|
554
560
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
555
561
|
@source_format = args[:source_format] if args.key?(:source_format)
|
556
562
|
end
|
@@ -1086,6 +1092,52 @@ module Google
|
|
1086
1092
|
end
|
1087
1093
|
end
|
1088
1094
|
|
1095
|
+
# OCI repo configuration for a single cluster
|
1096
|
+
class ConfigManagementOciConfig
|
1097
|
+
include Google::Apis::Core::Hashable
|
1098
|
+
|
1099
|
+
# The GCP Service Account Email used for auth when secret_type is
|
1100
|
+
# gcpServiceAccount.
|
1101
|
+
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
1102
|
+
# @return [String]
|
1103
|
+
attr_accessor :gcp_service_account_email
|
1104
|
+
|
1105
|
+
# The absolute path of the directory that contains the local resources. Default:
|
1106
|
+
# the root directory of the image.
|
1107
|
+
# Corresponds to the JSON property `policyDir`
|
1108
|
+
# @return [String]
|
1109
|
+
attr_accessor :policy_dir
|
1110
|
+
|
1111
|
+
# Type of secret configured for access to the Git repo.
|
1112
|
+
# Corresponds to the JSON property `secretType`
|
1113
|
+
# @return [String]
|
1114
|
+
attr_accessor :secret_type
|
1115
|
+
|
1116
|
+
# The OCI image repository URL for the package to sync from. e.g. `LOCATION-
|
1117
|
+
# docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
|
1118
|
+
# Corresponds to the JSON property `syncRepo`
|
1119
|
+
# @return [String]
|
1120
|
+
attr_accessor :sync_repo
|
1121
|
+
|
1122
|
+
# Period in seconds between consecutive syncs. Default: 15.
|
1123
|
+
# Corresponds to the JSON property `syncWaitSecs`
|
1124
|
+
# @return [Fixnum]
|
1125
|
+
attr_accessor :sync_wait_secs
|
1126
|
+
|
1127
|
+
def initialize(**args)
|
1128
|
+
update!(**args)
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
# Update properties of this object
|
1132
|
+
def update!(**args)
|
1133
|
+
@gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
|
1134
|
+
@policy_dir = args[:policy_dir] if args.key?(:policy_dir)
|
1135
|
+
@secret_type = args[:secret_type] if args.key?(:secret_type)
|
1136
|
+
@sync_repo = args[:sync_repo] if args.key?(:sync_repo)
|
1137
|
+
@sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
|
1138
|
+
end
|
1139
|
+
end
|
1140
|
+
|
1089
1141
|
# State information for an ACM's Operator
|
1090
1142
|
class ConfigManagementOperatorState
|
1091
1143
|
include Google::Apis::Core::Hashable
|
@@ -1146,6 +1198,20 @@ module Google
|
|
1146
1198
|
attr_accessor :log_denies_enabled
|
1147
1199
|
alias_method :log_denies_enabled?, :log_denies_enabled
|
1148
1200
|
|
1201
|
+
# PolicyControllerMonitoring specifies the backends Policy Controller should
|
1202
|
+
# export metrics to. For example, to specify metrics should be exported to Cloud
|
1203
|
+
# Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
|
1204
|
+
# Corresponds to the JSON property `monitoring`
|
1205
|
+
# @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMonitoring]
|
1206
|
+
attr_accessor :monitoring
|
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
|
+
|
1149
1215
|
# Enables the ability to use Constraint Templates that reference to objects
|
1150
1216
|
# other than the object currently being evaluated.
|
1151
1217
|
# Corresponds to the JSON property `referentialRulesEnabled`
|
@@ -1169,11 +1235,35 @@ module Google
|
|
1169
1235
|
@enabled = args[:enabled] if args.key?(:enabled)
|
1170
1236
|
@exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
|
1171
1237
|
@log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
|
1238
|
+
@monitoring = args[:monitoring] if args.key?(:monitoring)
|
1239
|
+
@mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
|
1172
1240
|
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
1173
1241
|
@template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
|
1174
1242
|
end
|
1175
1243
|
end
|
1176
1244
|
|
1245
|
+
# PolicyControllerMonitoring specifies the backends Policy Controller should
|
1246
|
+
# export metrics to. For example, to specify metrics should be exported to Cloud
|
1247
|
+
# Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
|
1248
|
+
class ConfigManagementPolicyControllerMonitoring
|
1249
|
+
include Google::Apis::Core::Hashable
|
1250
|
+
|
1251
|
+
# Specifies the list of backends Policy Controller will export to. An empty list
|
1252
|
+
# would effectively disable metrics export.
|
1253
|
+
# Corresponds to the JSON property `backends`
|
1254
|
+
# @return [Array<String>]
|
1255
|
+
attr_accessor :backends
|
1256
|
+
|
1257
|
+
def initialize(**args)
|
1258
|
+
update!(**args)
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
# Update properties of this object
|
1262
|
+
def update!(**args)
|
1263
|
+
@backends = args[:backends] if args.key?(:backends)
|
1264
|
+
end
|
1265
|
+
end
|
1266
|
+
|
1177
1267
|
# State for PolicyControllerState.
|
1178
1268
|
class ConfigManagementPolicyControllerState
|
1179
1269
|
include Google::Apis::Core::Hashable
|
@@ -2377,6 +2467,13 @@ module Google
|
|
2377
2467
|
attr_accessor :log_denies_enabled
|
2378
2468
|
alias_method :log_denies_enabled?, :log_denies_enabled
|
2379
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
|
+
|
2380
2477
|
# Enables the ability to use Constraint Templates that reference to objects
|
2381
2478
|
# other than the object currently being evaluated.
|
2382
2479
|
# Corresponds to the JSON property `referentialRulesEnabled`
|
@@ -2399,6 +2496,7 @@ module Google
|
|
2399
2496
|
@exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
|
2400
2497
|
@install_spec = args[:install_spec] if args.key?(:install_spec)
|
2401
2498
|
@log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
|
2499
|
+
@monitoring = args[:monitoring] if args.key?(:monitoring)
|
2402
2500
|
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
2403
2501
|
@template_library_config = args[:template_library_config] if args.key?(:template_library_config)
|
2404
2502
|
end
|
@@ -2518,6 +2616,28 @@ module Google
|
|
2518
2616
|
end
|
2519
2617
|
end
|
2520
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
|
+
|
2521
2641
|
# The config specifying which default library templates to install.
|
2522
2642
|
class PolicyControllerTemplateLibraryConfig
|
2523
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
|
@@ -214,6 +214,12 @@ module Google
|
|
214
214
|
include Google::Apis::Core::JsonObjectSupport
|
215
215
|
end
|
216
216
|
|
217
|
+
class ConfigManagementOciConfig
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
217
223
|
class ConfigManagementOperatorState
|
218
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
225
|
|
@@ -226,6 +232,12 @@ module Google
|
|
226
232
|
include Google::Apis::Core::JsonObjectSupport
|
227
233
|
end
|
228
234
|
|
235
|
+
class ConfigManagementPolicyControllerMonitoring
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
229
241
|
class ConfigManagementPolicyControllerState
|
230
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
243
|
|
@@ -430,6 +442,12 @@ module Google
|
|
430
442
|
include Google::Apis::Core::JsonObjectSupport
|
431
443
|
end
|
432
444
|
|
445
|
+
class PolicyControllerMonitoringConfig
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
433
451
|
class PolicyControllerTemplateLibraryConfig
|
434
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
453
|
|
@@ -652,6 +670,8 @@ module Google
|
|
652
670
|
property :enabled, as: 'enabled'
|
653
671
|
property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
|
654
672
|
|
673
|
+
property :oci, as: 'oci', class: Google::Apis::GkehubV1beta::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementOciConfig::Representation
|
674
|
+
|
655
675
|
property :prevent_drift, as: 'preventDrift'
|
656
676
|
property :source_format, as: 'sourceFormat'
|
657
677
|
end
|
@@ -813,6 +833,17 @@ module Google
|
|
813
833
|
end
|
814
834
|
end
|
815
835
|
|
836
|
+
class ConfigManagementOciConfig
|
837
|
+
# @private
|
838
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
839
|
+
property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
|
840
|
+
property :policy_dir, as: 'policyDir'
|
841
|
+
property :secret_type, as: 'secretType'
|
842
|
+
property :sync_repo, as: 'syncRepo'
|
843
|
+
property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
816
847
|
class ConfigManagementOperatorState
|
817
848
|
# @private
|
818
849
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -830,11 +861,21 @@ module Google
|
|
830
861
|
property :enabled, as: 'enabled'
|
831
862
|
collection :exemptable_namespaces, as: 'exemptableNamespaces'
|
832
863
|
property :log_denies_enabled, as: 'logDeniesEnabled'
|
864
|
+
property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMonitoring, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMonitoring::Representation
|
865
|
+
|
866
|
+
property :mutation_enabled, as: 'mutationEnabled'
|
833
867
|
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
834
868
|
property :template_library_installed, as: 'templateLibraryInstalled'
|
835
869
|
end
|
836
870
|
end
|
837
871
|
|
872
|
+
class ConfigManagementPolicyControllerMonitoring
|
873
|
+
# @private
|
874
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
875
|
+
collection :backends, as: 'backends'
|
876
|
+
end
|
877
|
+
end
|
878
|
+
|
838
879
|
class ConfigManagementPolicyControllerState
|
839
880
|
# @private
|
840
881
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1154,6 +1195,8 @@ module Google
|
|
1154
1195
|
collection :exemptable_namespaces, as: 'exemptableNamespaces'
|
1155
1196
|
property :install_spec, as: 'installSpec'
|
1156
1197
|
property :log_denies_enabled, as: 'logDeniesEnabled'
|
1198
|
+
property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig::Representation
|
1199
|
+
|
1157
1200
|
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
1158
1201
|
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
|
1159
1202
|
|
@@ -1197,6 +1240,13 @@ module Google
|
|
1197
1240
|
end
|
1198
1241
|
end
|
1199
1242
|
|
1243
|
+
class PolicyControllerMonitoringConfig
|
1244
|
+
# @private
|
1245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1246
|
+
collection :backends, as: 'backends'
|
1247
|
+
end
|
1248
|
+
end
|
1249
|
+
|
1200
1250
|
class PolicyControllerTemplateLibraryConfig
|
1201
1251
|
# @private
|
1202
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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for GKE Hub API V1beta
|