google-apis-gkehub_v1beta 0.50.0 → 0.51.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: a7b3eea39059255377f15ab4a9c12b2966cb0b36513af014639fbd76556963bb
4
- data.tar.gz: e45458a3722184fa98df07b0e6a598f13ec60ecf2e6256c9709559692f405d73
3
+ metadata.gz: 6f0698c84a56bf557bc84a1542e8a34c70b09dbede18a46394c909c09130397a
4
+ data.tar.gz: a699c24b2f318e2b236b3d858cafd394af82469078da79b75144ab555c2ce571
5
5
  SHA512:
6
- metadata.gz: 076d4bc1b386442538ade736e33e76186a2d222072f44950e9dc39cab133cb43a4985ff70dd3410682d2f15a85fd50ab0a4d70bce8b7a7a100482f2f2c0bae34
7
- data.tar.gz: dbbdece3321247db9cbfa38cc5725b30cd00d78126af7e3af5caeefb62c82b887a5c44b52f90460e3a22856f0b36f4107d648bc782242effc3099e6d8188d4c4
6
+ metadata.gz: b867bfd71409afd340ae37ebdb86b2bd68132d8aca432fd986f1bd363b491e171708594974b57b5ecf28ffa81079d69e874867716127c02576bcd6b80b7e60b7
7
+ data.tar.gz: 9c0afd46aa845874f7a3963441d461d667cae2f6c7c8d941eb0dca1b5ce27c730c6a128f3ade76cc3ddb20a7ea7724ed856b06fc82e02a24d3c1fa3e7fd3dd9b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.51.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230627
6
+
3
7
  ### v0.50.0 (2023-06-25)
4
8
 
5
9
  * Regenerated from discovery document revision 20230620
@@ -1751,6 +1751,31 @@ module Google
1751
1751
  end
1752
1752
  end
1753
1753
 
1754
+ # All error details of the fleet observability feature.
1755
+ class FleetObservabilityFeatureError
1756
+ include Google::Apis::Core::Hashable
1757
+
1758
+ # The code of the error.
1759
+ # Corresponds to the JSON property `code`
1760
+ # @return [String]
1761
+ attr_accessor :code
1762
+
1763
+ # A human-readable description of the current status.
1764
+ # Corresponds to the JSON property `description`
1765
+ # @return [String]
1766
+ attr_accessor :description
1767
+
1768
+ def initialize(**args)
1769
+ update!(**args)
1770
+ end
1771
+
1772
+ # Update properties of this object
1773
+ def update!(**args)
1774
+ @code = args[:code] if args.key?(:code)
1775
+ @description = args[:description] if args.key?(:description)
1776
+ end
1777
+ end
1778
+
1754
1779
  # **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
1755
1780
  class FleetObservabilityFeatureSpec
1756
1781
  include Google::Apis::Core::Hashable
@@ -1774,12 +1799,94 @@ module Google
1774
1799
  class FleetObservabilityFeatureState
1775
1800
  include Google::Apis::Core::Hashable
1776
1801
 
1802
+ # Feature state for logging feature.
1803
+ # Corresponds to the JSON property `logging`
1804
+ # @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityLoggingState]
1805
+ attr_accessor :logging
1806
+
1807
+ # Feature state for monitoring feature.
1808
+ # Corresponds to the JSON property `monitoring`
1809
+ # @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityMonitoringState]
1810
+ attr_accessor :monitoring
1811
+
1812
+ def initialize(**args)
1813
+ update!(**args)
1814
+ end
1815
+
1816
+ # Update properties of this object
1817
+ def update!(**args)
1818
+ @logging = args[:logging] if args.key?(:logging)
1819
+ @monitoring = args[:monitoring] if args.key?(:monitoring)
1820
+ end
1821
+ end
1822
+
1823
+ # Base state for fleet observability feature.
1824
+ class FleetObservabilityFleetObservabilityBaseFeatureState
1825
+ include Google::Apis::Core::Hashable
1826
+
1827
+ # The high-level, machine-readable status of this Feature.
1828
+ # Corresponds to the JSON property `code`
1829
+ # @return [String]
1830
+ attr_accessor :code
1831
+
1832
+ # Errors after reconciling the monitoring and logging feature if the code is not
1833
+ # OK.
1834
+ # Corresponds to the JSON property `errors`
1835
+ # @return [Array<Google::Apis::GkehubV1beta::FleetObservabilityFeatureError>]
1836
+ attr_accessor :errors
1837
+
1838
+ def initialize(**args)
1839
+ update!(**args)
1840
+ end
1841
+
1842
+ # Update properties of this object
1843
+ def update!(**args)
1844
+ @code = args[:code] if args.key?(:code)
1845
+ @errors = args[:errors] if args.key?(:errors)
1846
+ end
1847
+ end
1848
+
1849
+ # Feature state for logging feature.
1850
+ class FleetObservabilityFleetObservabilityLoggingState
1851
+ include Google::Apis::Core::Hashable
1852
+
1853
+ # Base state for fleet observability feature.
1854
+ # Corresponds to the JSON property `defaultLog`
1855
+ # @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState]
1856
+ attr_accessor :default_log
1857
+
1858
+ # Base state for fleet observability feature.
1859
+ # Corresponds to the JSON property `scopeLog`
1860
+ # @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState]
1861
+ attr_accessor :scope_log
1862
+
1777
1863
  def initialize(**args)
1778
1864
  update!(**args)
1779
1865
  end
1780
1866
 
1781
1867
  # Update properties of this object
1782
1868
  def update!(**args)
1869
+ @default_log = args[:default_log] if args.key?(:default_log)
1870
+ @scope_log = args[:scope_log] if args.key?(:scope_log)
1871
+ end
1872
+ end
1873
+
1874
+ # Feature state for monitoring feature.
1875
+ class FleetObservabilityFleetObservabilityMonitoringState
1876
+ include Google::Apis::Core::Hashable
1877
+
1878
+ # Base state for fleet observability feature.
1879
+ # Corresponds to the JSON property `state`
1880
+ # @return [Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState]
1881
+ attr_accessor :state
1882
+
1883
+ def initialize(**args)
1884
+ update!(**args)
1885
+ end
1886
+
1887
+ # Update properties of this object
1888
+ def update!(**args)
1889
+ @state = args[:state] if args.key?(:state)
1783
1890
  end
1784
1891
  end
1785
1892
 
@@ -3081,16 +3188,11 @@ module Google
3081
3188
  class PolicyControllerBundleInstallSpec
3082
3189
  include Google::Apis::Core::Hashable
3083
3190
 
3084
- # the set of namespaces to be exempted from the bundle
3191
+ # The set of namespaces to be exempted from the bundle.
3085
3192
  # Corresponds to the JSON property `exemptedNamespaces`
3086
3193
  # @return [Array<String>]
3087
3194
  attr_accessor :exempted_namespaces
3088
3195
 
3089
- # Management specifies how the bundle will be managed by the controller.
3090
- # Corresponds to the JSON property `management`
3091
- # @return [String]
3092
- attr_accessor :management
3093
-
3094
3196
  def initialize(**args)
3095
3197
  update!(**args)
3096
3198
  end
@@ -3098,7 +3200,6 @@ module Google
3098
3200
  # Update properties of this object
3099
3201
  def update!(**args)
3100
3202
  @exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
3101
- @management = args[:management] if args.key?(:management)
3102
3203
  end
3103
3204
  end
3104
3205
 
@@ -3169,11 +3270,6 @@ module Google
3169
3270
  attr_accessor :referential_rules_enabled
3170
3271
  alias_method :referential_rules_enabled?, :referential_rules_enabled
3171
3272
 
3172
- # The config specifying which default library templates to install.
3173
- # Corresponds to the JSON property `templateLibraryConfig`
3174
- # @return [Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig]
3175
- attr_accessor :template_library_config
3176
-
3177
3273
  def initialize(**args)
3178
3274
  update!(**args)
3179
3275
  end
@@ -3190,7 +3286,6 @@ module Google
3190
3286
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
3191
3287
  @policy_content = args[:policy_content] if args.key?(:policy_content)
3192
3288
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
3193
- @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
3194
3289
  end
3195
3290
  end
3196
3291
 
@@ -3230,12 +3325,6 @@ module Google
3230
3325
  # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
3231
3326
  attr_accessor :component_states
3232
3327
 
3233
- # The state of the template library and any bundles included in the chosen
3234
- # version of the manifest
3235
- # Corresponds to the JSON property `contentStates`
3236
- # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
3237
- attr_accessor :content_states
3238
-
3239
3328
  # The state of the policy controller policy content
3240
3329
  # Corresponds to the JSON property `policyContentState`
3241
3330
  # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyContentState]
@@ -3254,7 +3343,6 @@ module Google
3254
3343
  # Update properties of this object
3255
3344
  def update!(**args)
3256
3345
  @component_states = args[:component_states] if args.key?(:component_states)
3257
- @content_states = args[:content_states] if args.key?(:content_states)
3258
3346
  @policy_content_state = args[:policy_content_state] if args.key?(:policy_content_state)
3259
3347
  @state = args[:state] if args.key?(:state)
3260
3348
  end
@@ -3375,6 +3463,11 @@ module Google
3375
3463
  # @return [Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements]
3376
3464
  attr_accessor :container_resources
3377
3465
 
3466
+ # Pod affinity configuration.
3467
+ # Corresponds to the JSON property `podAffinity`
3468
+ # @return [String]
3469
+ attr_accessor :pod_affinity
3470
+
3378
3471
  # Pod anti-affinity enablement.
3379
3472
  # Corresponds to the JSON property `podAntiAffinity`
3380
3473
  # @return [Boolean]
@@ -3398,6 +3491,7 @@ module Google
3398
3491
  # Update properties of this object
3399
3492
  def update!(**args)
3400
3493
  @container_resources = args[:container_resources] if args.key?(:container_resources)
3494
+ @pod_affinity = args[:pod_affinity] if args.key?(:pod_affinity)
3401
3495
  @pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
3402
3496
  @pod_tolerations = args[:pod_tolerations] if args.key?(:pod_tolerations)
3403
3497
  @replica_count = args[:replica_count] if args.key?(:replica_count)
@@ -3458,12 +3552,6 @@ module Google
3458
3552
  class PolicyControllerTemplateLibraryConfig
3459
3553
  include Google::Apis::Core::Hashable
3460
3554
 
3461
- # Whether the standard template library should be installed or not.
3462
- # Corresponds to the JSON property `included`
3463
- # @return [Boolean]
3464
- attr_accessor :included
3465
- alias_method :included?, :included
3466
-
3467
3555
  # Configures the manner in which the template library is installed on the
3468
3556
  # cluster.
3469
3557
  # Corresponds to the JSON property `installation`
@@ -3476,7 +3564,6 @@ module Google
3476
3564
 
3477
3565
  # Update properties of this object
3478
3566
  def update!(**args)
3479
- @included = args[:included] if args.key?(:included)
3480
3567
  @installation = args[:installation] if args.key?(:installation)
3481
3568
  end
3482
3569
  end
@@ -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.50.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230620"
25
+ REVISION = "20230627"
26
26
  end
27
27
  end
28
28
  end
@@ -298,6 +298,12 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class FleetObservabilityFeatureError
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
301
307
  class FleetObservabilityFeatureSpec
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
@@ -310,6 +316,24 @@ module Google
310
316
  include Google::Apis::Core::JsonObjectSupport
311
317
  end
312
318
 
319
+ class FleetObservabilityFleetObservabilityBaseFeatureState
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class FleetObservabilityFleetObservabilityLoggingState
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class FleetObservabilityFleetObservabilityMonitoringState
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
313
337
  class FleetObservabilityLoggingConfig
314
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
339
 
@@ -1174,6 +1198,14 @@ module Google
1174
1198
  end
1175
1199
  end
1176
1200
 
1201
+ class FleetObservabilityFeatureError
1202
+ # @private
1203
+ class Representation < Google::Apis::Core::JsonRepresentation
1204
+ property :code, as: 'code'
1205
+ property :description, as: 'description'
1206
+ end
1207
+ end
1208
+
1177
1209
  class FleetObservabilityFeatureSpec
1178
1210
  # @private
1179
1211
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1185,6 +1217,37 @@ module Google
1185
1217
  class FleetObservabilityFeatureState
1186
1218
  # @private
1187
1219
  class Representation < Google::Apis::Core::JsonRepresentation
1220
+ property :logging, as: 'logging', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityLoggingState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityLoggingState::Representation
1221
+
1222
+ property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityMonitoringState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityMonitoringState::Representation
1223
+
1224
+ end
1225
+ end
1226
+
1227
+ class FleetObservabilityFleetObservabilityBaseFeatureState
1228
+ # @private
1229
+ class Representation < Google::Apis::Core::JsonRepresentation
1230
+ property :code, as: 'code'
1231
+ collection :errors, as: 'errors', class: Google::Apis::GkehubV1beta::FleetObservabilityFeatureError, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFeatureError::Representation
1232
+
1233
+ end
1234
+ end
1235
+
1236
+ class FleetObservabilityFleetObservabilityLoggingState
1237
+ # @private
1238
+ class Representation < Google::Apis::Core::JsonRepresentation
1239
+ property :default_log, as: 'defaultLog', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
1240
+
1241
+ property :scope_log, as: 'scopeLog', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
1242
+
1243
+ end
1244
+ end
1245
+
1246
+ class FleetObservabilityFleetObservabilityMonitoringState
1247
+ # @private
1248
+ class Representation < Google::Apis::Core::JsonRepresentation
1249
+ property :state, as: 'state', class: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
1250
+
1188
1251
  end
1189
1252
  end
1190
1253
 
@@ -1555,7 +1618,6 @@ module Google
1555
1618
  # @private
1556
1619
  class Representation < Google::Apis::Core::JsonRepresentation
1557
1620
  collection :exempted_namespaces, as: 'exemptedNamespaces'
1558
- property :management, as: 'management'
1559
1621
  end
1560
1622
  end
1561
1623
 
@@ -1575,8 +1637,6 @@ module Google
1575
1637
  property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec::Representation
1576
1638
 
1577
1639
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1578
- property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
1579
-
1580
1640
  end
1581
1641
  end
1582
1642
 
@@ -1594,8 +1654,6 @@ module Google
1594
1654
  class Representation < Google::Apis::Core::JsonRepresentation
1595
1655
  hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1596
1656
 
1597
- hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1598
-
1599
1657
  property :policy_content_state, as: 'policyContentState', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentState, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentState::Representation
1600
1658
 
1601
1659
  property :state, as: 'state'
@@ -1644,6 +1702,7 @@ module Google
1644
1702
  class Representation < Google::Apis::Core::JsonRepresentation
1645
1703
  property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements::Representation
1646
1704
 
1705
+ property :pod_affinity, as: 'podAffinity'
1647
1706
  property :pod_anti_affinity, as: 'podAntiAffinity'
1648
1707
  collection :pod_tolerations, as: 'podTolerations', class: Google::Apis::GkehubV1beta::PolicyControllerToleration, decorator: Google::Apis::GkehubV1beta::PolicyControllerToleration::Representation
1649
1708
 
@@ -1672,7 +1731,6 @@ module Google
1672
1731
  class PolicyControllerTemplateLibraryConfig
1673
1732
  # @private
1674
1733
  class Representation < Google::Apis::Core::JsonRepresentation
1675
- property :included, as: 'included'
1676
1734
  property :installation, as: 'installation'
1677
1735
  end
1678
1736
  end
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.50.0
4
+ version: 0.51.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: 2023-06-25 00:00:00.000000000 Z
11
+ date: 2023-07-02 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.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.51.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: []