google-apis-gkehub_v1alpha 0.30.0 → 0.33.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: d2ef9a855ad38e9b51d9d96076b6f2f8be2cbbcdc8315b20b30ea5ef0db33b5e
4
- data.tar.gz: 3d88e14ec569254aa6e154fb890b2353e2bbbb7658699ded05707770712b0214
3
+ metadata.gz: e0af1adaa546730469b513b87e36583b4e6e06aafb87c4a882fffcfe0be1d464
4
+ data.tar.gz: 3dfe542a0b7d0fba5851b089570253faff804c93c8e56d0f4b9d52a8c2325d7d
5
5
  SHA512:
6
- metadata.gz: b3885f5e7c549f82e67f63673a43edeb8ae5936d0fca0db51ce34f70545af9e4fced59c45e7a14e057bbead5d0ba3d623e0ea00eaeaa6dc6ada8251163ce007d
7
- data.tar.gz: 0ae81346f82201103017dde249a4e45122f9776af0d4f529379fde7438d9dd6259e9a91213fb48d169ee3a6a1c083f054ad30f6deb23c728c55940f9575f514a
6
+ metadata.gz: bd55fc8b9b0209a962d3a8eca26ab753b312d7121c8dd2d64df4ec06fcb202b5bc02b78e3c4c44b446c21c97cb95c9e4be8a4c67bb6923fe52da289e35b42297
7
+ data.tar.gz: c4a72c79a4a5c6f4828b026c7b42738fb4d2f9d13ece54e5cb59a7bb7acacd6d2b753dced7228774e7c7be54aede9759c61a1270dd89bb82e457326f1af0bfb4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.33.0 (2022-07-07)
4
+
5
+ * Regenerated from discovery document revision 20220628
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.32.0 (2022-07-01)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+ * Regenerated from discovery document revision 20220621
12
+
13
+ ### v0.31.0 (2022-06-19)
14
+
15
+ * Regenerated from discovery document revision 20220613
16
+ * Regenerated using generator version 0.7.0
17
+
3
18
  ### v0.30.0 (2022-06-12)
4
19
 
5
20
  * Regenerated from discovery document revision 20220603
@@ -1354,7 +1354,8 @@ module Google
1354
1354
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerMonitoring]
1355
1355
  attr_accessor :monitoring
1356
1356
 
1357
- # Enable users to try out mutation for PolicyController.
1357
+ # Enable or disable mutation in policy controller. If true, mutation CRDs,
1358
+ # webhook and controller deployment will be deployed to the cluster.
1358
1359
  # Corresponds to the JSON property `mutationEnabled`
1359
1360
  # @return [Boolean]
1360
1361
  attr_accessor :mutation_enabled
@@ -3001,6 +3002,11 @@ module Google
3001
3002
  attr_accessor :cluster_missing
3002
3003
  alias_method :cluster_missing?, :cluster_missing
3003
3004
 
3005
+ # Immutable. The on prem cluster's type.
3006
+ # Corresponds to the JSON property `clusterType`
3007
+ # @return [String]
3008
+ attr_accessor :cluster_type
3009
+
3004
3010
  # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
3005
3011
  # example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
3006
3012
  # vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
@@ -3017,6 +3023,7 @@ module Google
3017
3023
  def update!(**args)
3018
3024
  @admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster)
3019
3025
  @cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
3026
+ @cluster_type = args[:cluster_type] if args.key?(:cluster_type)
3020
3027
  @resource_link = args[:resource_link] if args.key?(:resource_link)
3021
3028
  end
3022
3029
  end
@@ -3267,6 +3274,13 @@ module Google
3267
3274
  attr_accessor :log_denies_enabled
3268
3275
  alias_method :log_denies_enabled?, :log_denies_enabled
3269
3276
 
3277
+ # MonitoringConfig specifies the backends Policy Controller should export
3278
+ # metrics to. For example, to specify metrics should be exported to Cloud
3279
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
3280
+ # Corresponds to the JSON property `monitoring`
3281
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig]
3282
+ attr_accessor :monitoring
3283
+
3270
3284
  # Enables the ability to mutate resources using Policy Controller.
3271
3285
  # Corresponds to the JSON property `mutationEnabled`
3272
3286
  # @return [Boolean]
@@ -3295,6 +3309,7 @@ module Google
3295
3309
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
3296
3310
  @install_spec = args[:install_spec] if args.key?(:install_spec)
3297
3311
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
3312
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
3298
3313
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
3299
3314
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
3300
3315
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
@@ -3415,6 +3430,28 @@ module Google
3415
3430
  end
3416
3431
  end
3417
3432
 
3433
+ # MonitoringConfig specifies the backends Policy Controller should export
3434
+ # metrics to. For example, to specify metrics should be exported to Cloud
3435
+ # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
3436
+ class PolicyControllerMonitoringConfig
3437
+ include Google::Apis::Core::Hashable
3438
+
3439
+ # Specifies the list of backends Policy Controller will export to. An empty list
3440
+ # would effectively disable metrics export.
3441
+ # Corresponds to the JSON property `backends`
3442
+ # @return [Array<String>]
3443
+ attr_accessor :backends
3444
+
3445
+ def initialize(**args)
3446
+ update!(**args)
3447
+ end
3448
+
3449
+ # Update properties of this object
3450
+ def update!(**args)
3451
+ @backends = args[:backends] if args.key?(:backends)
3452
+ end
3453
+ end
3454
+
3418
3455
  # The config specifying which default library templates to install.
3419
3456
  class PolicyControllerTemplateLibraryConfig
3420
3457
  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.30.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220603"
25
+ REVISION = "20220628"
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
 
@@ -1523,6 +1529,7 @@ module Google
1523
1529
  class Representation < Google::Apis::Core::JsonRepresentation
1524
1530
  property :admin_cluster, as: 'adminCluster'
1525
1531
  property :cluster_missing, as: 'clusterMissing'
1532
+ property :cluster_type, as: 'clusterType'
1526
1533
  property :resource_link, as: 'resourceLink'
1527
1534
  end
1528
1535
  end
@@ -1571,6 +1578,8 @@ module Google
1571
1578
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1572
1579
  property :install_spec, as: 'installSpec'
1573
1580
  property :log_denies_enabled, as: 'logDeniesEnabled'
1581
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig::Representation
1582
+
1574
1583
  property :mutation_enabled, as: 'mutationEnabled'
1575
1584
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1576
1585
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
@@ -1615,6 +1624,13 @@ module Google
1615
1624
  end
1616
1625
  end
1617
1626
 
1627
+ class PolicyControllerMonitoringConfig
1628
+ # @private
1629
+ class Representation < Google::Apis::Core::JsonRepresentation
1630
+ collection :backends, as: 'backends'
1631
+ end
1632
+ end
1633
+
1618
1634
  class PolicyControllerTemplateLibraryConfig
1619
1635
  # @private
1620
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.30.0
4
+ version: 0.33.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-13 00:00:00.000000000 Z
11
+ date: 2022-07-11 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.5'
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.5'
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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.33.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: []