google-apis-gkehub_v1alpha 0.31.0 → 0.32.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: '096e3aae0db5163accd551f60bf18dc5608e2ce4c953d3d32a51d01a087c7842'
4
- data.tar.gz: 0da7599d4c6e2922c432179bb5f823010f650dc6737c532ddaf1cecc839383ef
3
+ metadata.gz: 8d7bb06d5ddad3f02e37c70c90a28e5cac5e402827a15b4428517bdc479d3b4b
4
+ data.tar.gz: 4bc33dcf21b9972f89d2d2e2e2f8ede807ec660ad22ef828ad1b08431e796df5
5
5
  SHA512:
6
- metadata.gz: b9d8dc84d90b75e2d33f783b5255ea3150d0c5422e64affd5a01aad1d5a585cd4274edaec256b1eb5eea98f907d9176804d2461d644889d72316c2c3fc101517
7
- data.tar.gz: 18cb2e79ecab0edad1d37f671078381e0f46a6caeecaffae1207c6826f93b232c2c73bf260f05d43426f9d505409aee5dcb1fb9c6c55fa8b287ea6f4ace6d316
6
+ metadata.gz: 067e483a757f75deabdb34eea1415bdc30347a978945da0193a0ff03aba57e5490825e01555224f4e5e42fb070c618b6a52848f6bf763ed86da3f967b1ad88df
7
+ data.tar.gz: fcb9771d774df47b0783ab53f739a192a87bb0edaf04bcff57225032a7960540f0b912675437e6733373d04341bf04697ff8ca96797e8dbe63db28c217de71d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.32.0 (2022-07-01)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+ * Regenerated from discovery document revision 20220621
7
+
3
8
  ### v0.31.0 (2022-06-19)
4
9
 
5
10
  * Regenerated from discovery document revision 20220613
@@ -3273,6 +3273,13 @@ module Google
3273
3273
  attr_accessor :log_denies_enabled
3274
3274
  alias_method :log_denies_enabled?, :log_denies_enabled
3275
3275
 
3276
+ # MonitoringConfig specifies the backends Policy Controller should export
3277
+ # metrics to. For example, to specify metrics should be exported to Cloud
3278
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
3279
+ # Corresponds to the JSON property `monitoring`
3280
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig]
3281
+ attr_accessor :monitoring
3282
+
3276
3283
  # Enables the ability to mutate resources using Policy Controller.
3277
3284
  # Corresponds to the JSON property `mutationEnabled`
3278
3285
  # @return [Boolean]
@@ -3301,6 +3308,7 @@ module Google
3301
3308
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
3302
3309
  @install_spec = args[:install_spec] if args.key?(:install_spec)
3303
3310
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
3311
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
3304
3312
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
3305
3313
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
3306
3314
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
@@ -3421,6 +3429,28 @@ module Google
3421
3429
  end
3422
3430
  end
3423
3431
 
3432
+ # MonitoringConfig specifies the backends Policy Controller should export
3433
+ # metrics to. For example, to specify metrics should be exported to Cloud
3434
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
3435
+ class PolicyControllerMonitoringConfig
3436
+ include Google::Apis::Core::Hashable
3437
+
3438
+ # Specifies the list of backends Policy Controller will export to. An empty list
3439
+ # would effectively disable metrics export.
3440
+ # Corresponds to the JSON property `backends`
3441
+ # @return [Array<String>]
3442
+ attr_accessor :backends
3443
+
3444
+ def initialize(**args)
3445
+ update!(**args)
3446
+ end
3447
+
3448
+ # Update properties of this object
3449
+ def update!(**args)
3450
+ @backends = args[:backends] if args.key?(:backends)
3451
+ end
3452
+ end
3453
+
3424
3454
  # The config specifying which default library templates to install.
3425
3455
  class PolicyControllerTemplateLibraryConfig
3426
3456
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220613"
25
+ REVISION = "20220621"
26
26
  end
27
27
  end
28
28
  end
@@ -562,6 +562,12 @@ module Google
562
562
  include Google::Apis::Core::JsonObjectSupport
563
563
  end
564
564
 
565
+ class PolicyControllerMonitoringConfig
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
565
571
  class PolicyControllerTemplateLibraryConfig
566
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
573
 
@@ -1572,6 +1578,8 @@ module Google
1572
1578
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1573
1579
  property :install_spec, as: 'installSpec'
1574
1580
  property :log_denies_enabled, as: 'logDeniesEnabled'
1581
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig::Representation
1582
+
1575
1583
  property :mutation_enabled, as: 'mutationEnabled'
1576
1584
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1577
1585
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
@@ -1616,6 +1624,13 @@ module Google
1616
1624
  end
1617
1625
  end
1618
1626
 
1627
+ class PolicyControllerMonitoringConfig
1628
+ # @private
1629
+ class Representation < Google::Apis::Core::JsonRepresentation
1630
+ collection :backends, as: 'backends'
1631
+ end
1632
+ end
1633
+
1619
1634
  class PolicyControllerTemplateLibraryConfig
1620
1635
  # @private
1621
1636
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.32.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-20 00:00:00.000000000 Z
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.6'
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.6'
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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []