google-apis-gkehub_v1beta 0.19.0 → 0.20.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: 664a338a9a266bc2aaa9a019605e57a97d8f0a7bb3b6750901afcf7fade2c637
4
- data.tar.gz: 71d7b511851f9988b2e53b74e4d0dfab6c0dd4e24f3c96d3a9d62c0cc636faeb
3
+ metadata.gz: cb9b5a0d8deecd2d6ce568e16a52dac9cb3adc59510ac272dc3117aae611c4a6
4
+ data.tar.gz: 1f33f0efaecd75d56ad864f9c845491783e503ad850a7e465513089221ec8c74
5
5
  SHA512:
6
- metadata.gz: 8dc3f9fd445184b117adbb4c77a525b87ae8445e84def8e4c2adc0976fe21d41564641e22466ddfac4b47a6666ca41d3407fba6bb252fa6907f29161e37ed3ad
7
- data.tar.gz: ac47cc53af0562f1c1310701d67c231228d1a5743bb0c782d3ffa73ffd4b38a4734069f891ddd4e600ea8b2dff34778a92475dd340f28530e64477544173e564
6
+ metadata.gz: 3fc35b03471a1d4ba013cb9073a311159471276f9d9269b47492b5b5e01c2ffd1b072de47e447cd47c48949616ac48233cf2c4c1187759151f8cdc88f7736dfa
7
+ data.tar.gz: 80edb11e51e6a24d0616f3b5b0c9068d559392bd26c701a0679726dfce2552a0d8bd8a4287e16b96583d7db79ee4aaa815ede87f59b8682cccb9e04451c11682
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.20.0 (2022-03-12)
4
+
5
+ * Regenerated from discovery document revision 20220303
6
+
3
7
  ### v0.19.0 (2022-02-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20220204
@@ -22,6 +22,25 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1beta
24
24
 
25
+ # **Anthos Observability**: Spec
26
+ class AnthosObservabilityFeatureSpec
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # **Anthosobservability**: Per-Membership Feature spec.
30
+ # Corresponds to the JSON property `defaultMembershipSpec`
31
+ # @return [Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec]
32
+ attr_accessor :default_membership_spec
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @default_membership_spec = args[:default_membership_spec] if args.key?(:default_membership_spec)
41
+ end
42
+ end
43
+
25
44
  # **Anthosobservability**: Per-Membership Feature spec.
26
45
  class AnthosObservabilityMembershipSpec
27
46
  include Google::Apis::Core::Hashable
@@ -41,6 +60,11 @@ module Google
41
60
  attr_accessor :enable_stackdriver_on_applications
42
61
  alias_method :enable_stackdriver_on_applications?, :enable_stackdriver_on_applications
43
62
 
63
+ # the version of stackdriver operator used by this feature
64
+ # Corresponds to the JSON property `version`
65
+ # @return [String]
66
+ attr_accessor :version
67
+
44
68
  def initialize(**args)
45
69
  update!(**args)
46
70
  end
@@ -49,6 +73,7 @@ module Google
49
73
  def update!(**args)
50
74
  @do_not_optimize_metrics = args[:do_not_optimize_metrics] if args.key?(:do_not_optimize_metrics)
51
75
  @enable_stackdriver_on_applications = args[:enable_stackdriver_on_applications] if args.key?(:enable_stackdriver_on_applications)
76
+ @version = args[:version] if args.key?(:version)
52
77
  end
53
78
  end
54
79
 
@@ -243,6 +268,11 @@ module Google
243
268
  class CommonFeatureSpec
244
269
  include Google::Apis::Core::Hashable
245
270
 
271
+ # **Anthos Observability**: Spec
272
+ # Corresponds to the JSON property `anthosobservability`
273
+ # @return [Google::Apis::GkehubV1beta::AnthosObservabilityFeatureSpec]
274
+ attr_accessor :anthosobservability
275
+
246
276
  # Spec for App Dev Experience Feature.
247
277
  # Corresponds to the JSON property `appdevexperience`
248
278
  # @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec]
@@ -260,6 +290,7 @@ module Google
260
290
 
261
291
  # Update properties of this object
262
292
  def update!(**args)
293
+ @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
263
294
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
264
295
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
265
296
  end
@@ -2112,75 +2143,8 @@ module Google
2112
2143
  end
2113
2144
  end
2114
2145
 
2115
- # **Policy Controller**: Configuration for a single cluster. Intended to
2116
- # parallel the PolicyController CR.
2117
- class PolicyControllerMembershipSpec
2118
- include Google::Apis::Core::Hashable
2119
-
2120
- # Configuration for Policy Controller
2121
- # Corresponds to the JSON property `policyControllerHubConfig`
2122
- # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubConfig]
2123
- attr_accessor :policy_controller_hub_config
2124
-
2125
- # Version of Policy Controller installed.
2126
- # Corresponds to the JSON property `version`
2127
- # @return [String]
2128
- attr_accessor :version
2129
-
2130
- def initialize(**args)
2131
- update!(**args)
2132
- end
2133
-
2134
- # Update properties of this object
2135
- def update!(**args)
2136
- @policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
2137
- @version = args[:version] if args.key?(:version)
2138
- end
2139
- end
2140
-
2141
- # **Policy Controller**: State for a single cluster.
2142
- class PolicyControllerMembershipState
2143
- include Google::Apis::Core::Hashable
2144
-
2145
- # The user-defined name for the cluster used by ClusterSelectors to group
2146
- # clusters together. This should match Membership's membership_name, unless the
2147
- # user installed PC on the cluster manually prior to enabling the PC hub feature.
2148
- # Unique within a Policy Controller installation.
2149
- # Corresponds to the JSON property `clusterName`
2150
- # @return [String]
2151
- attr_accessor :cluster_name
2152
-
2153
- # **Policy Controller**: Configuration for a single cluster. Intended to
2154
- # parallel the PolicyController CR.
2155
- # Corresponds to the JSON property `membershipSpec`
2156
- # @return [Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec]
2157
- attr_accessor :membership_spec
2158
-
2159
- # State of the Policy Controller.
2160
- # Corresponds to the JSON property `policyControllerHubState`
2161
- # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState]
2162
- attr_accessor :policy_controller_hub_state
2163
-
2164
- # The lifecycle state Policy Controller is in.
2165
- # Corresponds to the JSON property `state`
2166
- # @return [String]
2167
- attr_accessor :state
2168
-
2169
- def initialize(**args)
2170
- update!(**args)
2171
- end
2172
-
2173
- # Update properties of this object
2174
- def update!(**args)
2175
- @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
2176
- @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
2177
- @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
2178
- @state = args[:state] if args.key?(:state)
2179
- end
2180
- end
2181
-
2182
2146
  # Configuration for Policy Controller
2183
- class PolicyControllerPolicyControllerHubConfig
2147
+ class PolicyControllerHubConfig
2184
2148
  include Google::Apis::Core::Hashable
2185
2149
 
2186
2150
  # Sets the interval for Policy Controller Audit Scans (in seconds). When set to
@@ -2237,7 +2201,7 @@ module Google
2237
2201
  end
2238
2202
 
2239
2203
  # State of the Policy Controller.
2240
- class PolicyControllerPolicyControllerHubState
2204
+ class PolicyControllerHubState
2241
2205
  include Google::Apis::Core::Hashable
2242
2206
 
2243
2207
  # Map from deployment name to deployment state. Example deployments are
@@ -2249,7 +2213,7 @@ module Google
2249
2213
 
2250
2214
  # The build version of Gatekeeper that Policy Controller is using.
2251
2215
  # Corresponds to the JSON property `version`
2252
- # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion]
2216
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerHubVersion]
2253
2217
  attr_accessor :version
2254
2218
 
2255
2219
  def initialize(**args)
@@ -2264,7 +2228,7 @@ module Google
2264
2228
  end
2265
2229
 
2266
2230
  # The build version of Gatekeeper that Policy Controller is using.
2267
- class PolicyControllerPolicyControllerHubVersion
2231
+ class PolicyControllerHubVersion
2268
2232
  include Google::Apis::Core::Hashable
2269
2233
 
2270
2234
  # The gatekeeper image tag that is composed of ACM version, git tag, build
@@ -2283,6 +2247,73 @@ module Google
2283
2247
  end
2284
2248
  end
2285
2249
 
2250
+ # **Policy Controller**: Configuration for a single cluster. Intended to
2251
+ # parallel the PolicyController CR.
2252
+ class PolicyControllerMembershipSpec
2253
+ include Google::Apis::Core::Hashable
2254
+
2255
+ # Configuration for Policy Controller
2256
+ # Corresponds to the JSON property `policyControllerHubConfig`
2257
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerHubConfig]
2258
+ attr_accessor :policy_controller_hub_config
2259
+
2260
+ # Version of Policy Controller installed.
2261
+ # Corresponds to the JSON property `version`
2262
+ # @return [String]
2263
+ attr_accessor :version
2264
+
2265
+ def initialize(**args)
2266
+ update!(**args)
2267
+ end
2268
+
2269
+ # Update properties of this object
2270
+ def update!(**args)
2271
+ @policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
2272
+ @version = args[:version] if args.key?(:version)
2273
+ end
2274
+ end
2275
+
2276
+ # **Policy Controller**: State for a single cluster.
2277
+ class PolicyControllerMembershipState
2278
+ include Google::Apis::Core::Hashable
2279
+
2280
+ # The user-defined name for the cluster used by ClusterSelectors to group
2281
+ # clusters together. This should match Membership's membership_name, unless the
2282
+ # user installed PC on the cluster manually prior to enabling the PC hub feature.
2283
+ # Unique within a Policy Controller installation.
2284
+ # Corresponds to the JSON property `clusterName`
2285
+ # @return [String]
2286
+ attr_accessor :cluster_name
2287
+
2288
+ # **Policy Controller**: Configuration for a single cluster. Intended to
2289
+ # parallel the PolicyController CR.
2290
+ # Corresponds to the JSON property `membershipSpec`
2291
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec]
2292
+ attr_accessor :membership_spec
2293
+
2294
+ # State of the Policy Controller.
2295
+ # Corresponds to the JSON property `policyControllerHubState`
2296
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerHubState]
2297
+ attr_accessor :policy_controller_hub_state
2298
+
2299
+ # The lifecycle state Policy Controller is in.
2300
+ # Corresponds to the JSON property `state`
2301
+ # @return [String]
2302
+ attr_accessor :state
2303
+
2304
+ def initialize(**args)
2305
+ update!(**args)
2306
+ end
2307
+
2308
+ # Update properties of this object
2309
+ def update!(**args)
2310
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
2311
+ @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
2312
+ @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
2313
+ @state = args[:state] if args.key?(:state)
2314
+ end
2315
+ end
2316
+
2286
2317
  # The config specifying which default library templates to install.
2287
2318
  class PolicyControllerTemplateLibraryConfig
2288
2319
  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.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220204"
25
+ REVISION = "20220303"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1beta
24
24
 
25
+ class AnthosObservabilityFeatureSpec
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AnthosObservabilityMembershipSpec
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -352,31 +358,31 @@ module Google
352
358
  include Google::Apis::Core::JsonObjectSupport
353
359
  end
354
360
 
355
- class PolicyControllerMembershipSpec
361
+ class PolicyControllerHubConfig
356
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
363
 
358
364
  include Google::Apis::Core::JsonObjectSupport
359
365
  end
360
366
 
361
- class PolicyControllerMembershipState
367
+ class PolicyControllerHubState
362
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
369
 
364
370
  include Google::Apis::Core::JsonObjectSupport
365
371
  end
366
372
 
367
- class PolicyControllerPolicyControllerHubConfig
373
+ class PolicyControllerHubVersion
368
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
375
 
370
376
  include Google::Apis::Core::JsonObjectSupport
371
377
  end
372
378
 
373
- class PolicyControllerPolicyControllerHubState
379
+ class PolicyControllerMembershipSpec
374
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
381
 
376
382
  include Google::Apis::Core::JsonObjectSupport
377
383
  end
378
384
 
379
- class PolicyControllerPolicyControllerHubVersion
385
+ class PolicyControllerMembershipState
380
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
387
 
382
388
  include Google::Apis::Core::JsonObjectSupport
@@ -412,11 +418,20 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class AnthosObservabilityFeatureSpec
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :default_membership_spec, as: 'defaultMembershipSpec', class: Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec::Representation
425
+
426
+ end
427
+ end
428
+
415
429
  class AnthosObservabilityMembershipSpec
416
430
  # @private
417
431
  class Representation < Google::Apis::Core::JsonRepresentation
418
432
  property :do_not_optimize_metrics, as: 'doNotOptimizeMetrics'
419
433
  property :enable_stackdriver_on_applications, as: 'enableStackdriverOnApplications'
434
+ property :version, as: 'version'
420
435
  end
421
436
  end
422
437
 
@@ -470,6 +485,8 @@ module Google
470
485
  class CommonFeatureSpec
471
486
  # @private
472
487
  class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1beta::AnthosObservabilityFeatureSpec, decorator: Google::Apis::GkehubV1beta::AnthosObservabilityFeatureSpec::Representation
489
+
473
490
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec::Representation
474
491
 
475
492
  property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec::Representation
@@ -983,53 +1000,53 @@ module Google
983
1000
  end
984
1001
  end
985
1002
 
986
- class PolicyControllerMembershipSpec
1003
+ class PolicyControllerHubConfig
987
1004
  # @private
988
1005
  class Representation < Google::Apis::Core::JsonRepresentation
989
- property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubConfig::Representation
1006
+ property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1007
+ collection :exemptable_namespaces, as: 'exemptableNamespaces'
1008
+ property :install_spec, as: 'installSpec'
1009
+ property :log_denies_enabled, as: 'logDeniesEnabled'
1010
+ property :referential_rules_enabled, as: 'referentialRulesEnabled'
1011
+ property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
990
1012
 
991
- property :version, as: 'version'
992
1013
  end
993
1014
  end
994
1015
 
995
- class PolicyControllerMembershipState
1016
+ class PolicyControllerHubState
996
1017
  # @private
997
1018
  class Representation < Google::Apis::Core::JsonRepresentation
998
- property :cluster_name, as: 'clusterName'
999
- property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec::Representation
1000
-
1001
- property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState::Representation
1019
+ hash :deployment_states, as: 'deploymentStates'
1020
+ property :version, as: 'version', class: Google::Apis::GkehubV1beta::PolicyControllerHubVersion, decorator: Google::Apis::GkehubV1beta::PolicyControllerHubVersion::Representation
1002
1021
 
1003
- property :state, as: 'state'
1004
1022
  end
1005
1023
  end
1006
1024
 
1007
- class PolicyControllerPolicyControllerHubConfig
1025
+ class PolicyControllerHubVersion
1008
1026
  # @private
1009
1027
  class Representation < Google::Apis::Core::JsonRepresentation
1010
- property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1011
- collection :exemptable_namespaces, as: 'exemptableNamespaces'
1012
- property :install_spec, as: 'installSpec'
1013
- property :log_denies_enabled, as: 'logDeniesEnabled'
1014
- property :referential_rules_enabled, as: 'referentialRulesEnabled'
1015
- property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
1016
-
1028
+ property :version, as: 'version'
1017
1029
  end
1018
1030
  end
1019
1031
 
1020
- class PolicyControllerPolicyControllerHubState
1032
+ class PolicyControllerMembershipSpec
1021
1033
  # @private
1022
1034
  class Representation < Google::Apis::Core::JsonRepresentation
1023
- hash :deployment_states, as: 'deploymentStates'
1024
- property :version, as: 'version', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion::Representation
1035
+ property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1beta::PolicyControllerHubConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerHubConfig::Representation
1025
1036
 
1037
+ property :version, as: 'version'
1026
1038
  end
1027
1039
  end
1028
1040
 
1029
- class PolicyControllerPolicyControllerHubVersion
1041
+ class PolicyControllerMembershipState
1030
1042
  # @private
1031
1043
  class Representation < Google::Apis::Core::JsonRepresentation
1032
- property :version, as: 'version'
1044
+ property :cluster_name, as: 'clusterName'
1045
+ property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec::Representation
1046
+
1047
+ property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1beta::PolicyControllerHubState, decorator: Google::Apis::GkehubV1beta::PolicyControllerHubState::Representation
1048
+
1049
+ property :state, as: 'state'
1033
1050
  end
1034
1051
  end
1035
1052
 
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.19.0
4
+ version: 0.20.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-02-14 00:00:00.000000000 Z
11
+ date: 2022-03-14 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.20.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: []