google-apis-gkehub_v1beta 0.25.0 → 0.26.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: 87680abc7ac92c7e6e68d1458bc8c7b68be9a7b0562f2107a597e9c53ada524b
4
- data.tar.gz: 7d66419ee857f399e4e4dd53a6809c7fce0b9ab2a21cfbe55a1055ae6aefaa8b
3
+ metadata.gz: 32c92e2b91556b164b236fc2a5b94512441f9e87fde99680bfe0e6a869ed7522
4
+ data.tar.gz: 93baeeb91cf0fb8d3d5d385c34aab2019d6246199a6997233f40a439832e16df
5
5
  SHA512:
6
- metadata.gz: c4c203b7cf0c845ec514cba60d118e1f69cf7d5918a91ff631829ed60a1258685e85fe3ec314687e0b968d0c96bc5af162048c699518f4f484a039e9ca7e1ed7
7
- data.tar.gz: 0ce42fd7743d525a9f2967c2f38918d37e44b5b0d60076fdd25acfdf7059531b6db7167cc27f69f9dac2a4ffefa42e09381efe86f2f42d891fedfc15e22af2bd
6
+ metadata.gz: c20d85adf318c5fc0406e21d45ef1bd166e6b08b42280e2988e1671973e74af5f81cd385c3791f2e5f3759a6c2262151eda4c3b6d536e1be3f8cf3d75445a043
7
+ data.tar.gz: 783e7e3c00128f15eab5c9f8c2cf704068d7e3be4141a513d7c210a39b74842e33759b1a6e7b8bc43f80d221374e5dcc7fbb3a5b82a74aa149ff2b9dc0156e4c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.26.0 (2022-06-05)
4
+
5
+ * Regenerated from discovery document revision 20220530
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.25.0 (2022-05-16)
4
9
 
5
10
  * 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,13 @@ 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
+
1149
1208
  # Enables the ability to use Constraint Templates that reference to objects
1150
1209
  # other than the object currently being evaluated.
1151
1210
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -1169,11 +1228,34 @@ module Google
1169
1228
  @enabled = args[:enabled] if args.key?(:enabled)
1170
1229
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
1171
1230
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
1231
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
1172
1232
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
1173
1233
  @template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
1174
1234
  end
1175
1235
  end
1176
1236
 
1237
+ # PolicyControllerMonitoring specifies the backends Policy Controller should
1238
+ # export metrics to. For example, to specify metrics should be exported to Cloud
1239
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
1240
+ class ConfigManagementPolicyControllerMonitoring
1241
+ include Google::Apis::Core::Hashable
1242
+
1243
+ # Specifies the list of backends Policy Controller will export to. An empty list
1244
+ # would effectively disable metrics export.
1245
+ # Corresponds to the JSON property `backends`
1246
+ # @return [Array<String>]
1247
+ attr_accessor :backends
1248
+
1249
+ def initialize(**args)
1250
+ update!(**args)
1251
+ end
1252
+
1253
+ # Update properties of this object
1254
+ def update!(**args)
1255
+ @backends = args[:backends] if args.key?(:backends)
1256
+ end
1257
+ end
1258
+
1177
1259
  # State for PolicyControllerState.
1178
1260
  class ConfigManagementPolicyControllerState
1179
1261
  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.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220505"
25
+ REVISION = "20220530"
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
 
@@ -652,6 +664,8 @@ module Google
652
664
  property :enabled, as: 'enabled'
653
665
  property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
654
666
 
667
+ property :oci, as: 'oci', class: Google::Apis::GkehubV1beta::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementOciConfig::Representation
668
+
655
669
  property :prevent_drift, as: 'preventDrift'
656
670
  property :source_format, as: 'sourceFormat'
657
671
  end
@@ -813,6 +827,17 @@ module Google
813
827
  end
814
828
  end
815
829
 
830
+ class ConfigManagementOciConfig
831
+ # @private
832
+ class Representation < Google::Apis::Core::JsonRepresentation
833
+ property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
834
+ property :policy_dir, as: 'policyDir'
835
+ property :secret_type, as: 'secretType'
836
+ property :sync_repo, as: 'syncRepo'
837
+ property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
838
+ end
839
+ end
840
+
816
841
  class ConfigManagementOperatorState
817
842
  # @private
818
843
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -830,11 +855,20 @@ module Google
830
855
  property :enabled, as: 'enabled'
831
856
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
832
857
  property :log_denies_enabled, as: 'logDeniesEnabled'
858
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMonitoring, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMonitoring::Representation
859
+
833
860
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
834
861
  property :template_library_installed, as: 'templateLibraryInstalled'
835
862
  end
836
863
  end
837
864
 
865
+ class ConfigManagementPolicyControllerMonitoring
866
+ # @private
867
+ class Representation < Google::Apis::Core::JsonRepresentation
868
+ collection :backends, as: 'backends'
869
+ end
870
+ end
871
+
838
872
  class ConfigManagementPolicyControllerState
839
873
  # @private
840
874
  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.25.0
4
+ version: 0.26.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-05-23 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.4'
19
+ version: '0.5'
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.4'
29
+ version: '0.5'
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.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.26.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.5
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