google-apis-gkehub_v1beta 0.14.0 → 0.18.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: 3e9a7915f241415fae365f85bded2b331f0fc74cf71c1ac4bb7a61d97e9a4d67
4
- data.tar.gz: d29e52b48dae8b6567e531dc1bc90f3c27f2c60e9350f549881dbb0f3715b76a
3
+ metadata.gz: 3d470c7ad0c8ee76e7b73346d0055ae1b3dd3f898c1c18595246e34d11f82db1
4
+ data.tar.gz: 0e94452733cd4afe2356177055e4a908e3b2b4b77342b674ab541726ada58b0b
5
5
  SHA512:
6
- metadata.gz: 392808528d4f23d303e24341f23f308b241f82c7f84ed6527f926c2648e73f980196e8912b43971226de94f7a9e9a2098f57b223d0000f7ed3b7f7cdedba7d3c
7
- data.tar.gz: caa53324915b34b6b8ef274ccbf7a7b5e1893cfac2e4379338df4bbc60b3bd338dac05a45b795f2bb2d535b4efdfaca168e24b659716e899a2957623bdd6f629
6
+ metadata.gz: 6d7c5cf0a256cb928be4283950e78a7737343e637146409d059d160246df8e03ef41589c860fbc05df3c8d06fca28c6a214ef6bfb9be5782c12bfe96d3f5f046
7
+ data.tar.gz: e2398469ff4910782fbe375635ae4e4a04077c19367bc170df0a1f0aa19ffe9f8d56200301b52d9f3013a57d993929e792cf88c083ded389efde366e3d7cff38
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.18.0 (2022-02-05)
4
+
5
+ * Regenerated from discovery document revision 20220128
6
+
7
+ ### v0.17.0 (2022-01-30)
8
+
9
+ * Regenerated from discovery document revision 20220122
10
+
11
+ ### v0.16.0 (2022-01-15)
12
+
13
+ * Regenerated from discovery document revision 20220107
14
+ * Regenerated using generator version 0.4.1
15
+
16
+ ### v0.15.0 (2021-12-16)
17
+
18
+ * Unspecified changes
19
+
3
20
  ### v0.14.0 (2021-11-13)
4
21
 
5
22
  * Regenerated from discovery document revision 20211105
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/gkehub_v1beta"
51
51
  client = Google::Apis::GkehubV1beta::GKEHubService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -22,6 +22,36 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1beta
24
24
 
25
+ # **Anthosobservability**: Per-Membership Feature spec.
26
+ class AnthosObservabilityMembershipSpec
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # use full of metrics rather than optimized metrics. See https://cloud.google.
30
+ # com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#
31
+ # optimized_metrics_default_metrics
32
+ # Corresponds to the JSON property `doNotOptimizeMetrics`
33
+ # @return [Boolean]
34
+ attr_accessor :do_not_optimize_metrics
35
+ alias_method :do_not_optimize_metrics?, :do_not_optimize_metrics
36
+
37
+ # enable collecting and reporting metrics and logs from user apps See go/onyx-
38
+ # application-metrics-logs-user-guide
39
+ # Corresponds to the JSON property `enableStackdriverOnApplications`
40
+ # @return [Boolean]
41
+ attr_accessor :enable_stackdriver_on_applications
42
+ alias_method :enable_stackdriver_on_applications?, :enable_stackdriver_on_applications
43
+
44
+ def initialize(**args)
45
+ update!(**args)
46
+ end
47
+
48
+ # Update properties of this object
49
+ def update!(**args)
50
+ @do_not_optimize_metrics = args[:do_not_optimize_metrics] if args.key?(:do_not_optimize_metrics)
51
+ @enable_stackdriver_on_applications = args[:enable_stackdriver_on_applications] if args.key?(:enable_stackdriver_on_applications)
52
+ end
53
+ end
54
+
25
55
  # Spec for App Dev Experience Feature.
26
56
  class AppDevExperienceFeatureSpec
27
57
  include Google::Apis::Core::Hashable
@@ -1680,6 +1710,16 @@ module Google
1680
1710
  class MembershipFeatureSpec
1681
1711
  include Google::Apis::Core::Hashable
1682
1712
 
1713
+ # **Anthosobservability**: Per-Membership Feature spec.
1714
+ # Corresponds to the JSON property `anthosobservability`
1715
+ # @return [Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec]
1716
+ attr_accessor :anthosobservability
1717
+
1718
+ # **Cloud Build**: Configurations for each Cloud Build enabled cluster.
1719
+ # Corresponds to the JSON property `cloudbuild`
1720
+ # @return [Google::Apis::GkehubV1beta::MembershipSpec]
1721
+ attr_accessor :cloudbuild
1722
+
1683
1723
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
1684
1724
  # parallel the ConfigManagement CR.
1685
1725
  # Corresponds to the JSON property `configmanagement`
@@ -1697,6 +1737,8 @@ module Google
1697
1737
 
1698
1738
  # Update properties of this object
1699
1739
  def update!(**args)
1740
+ @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
1741
+ @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
1700
1742
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1701
1743
  @identityservice = args[:identityservice] if args.key?(:identityservice)
1702
1744
  end
@@ -1727,6 +1769,11 @@ module Google
1727
1769
  # @return [Google::Apis::GkehubV1beta::MeteringMembershipState]
1728
1770
  attr_accessor :metering
1729
1771
 
1772
+ # **Policy Controller**: State for a single cluster.
1773
+ # Corresponds to the JSON property `policycontroller`
1774
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerMembershipState]
1775
+ attr_accessor :policycontroller
1776
+
1730
1777
  # FeatureState describes the high-level state of a Feature. It may be used to
1731
1778
  # describe a Feature's state at the environ-level, or per-membershop, depending
1732
1779
  # on the context.
@@ -1744,10 +1791,36 @@ module Google
1744
1791
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1745
1792
  @identityservice = args[:identityservice] if args.key?(:identityservice)
1746
1793
  @metering = args[:metering] if args.key?(:metering)
1794
+ @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
1747
1795
  @state = args[:state] if args.key?(:state)
1748
1796
  end
1749
1797
  end
1750
1798
 
1799
+ # **Cloud Build**: Configurations for each Cloud Build enabled cluster.
1800
+ class MembershipSpec
1801
+ include Google::Apis::Core::Hashable
1802
+
1803
+ # Whether it is allowed to run the privileged builds on the cluster or not.
1804
+ # Corresponds to the JSON property `securityPolicy`
1805
+ # @return [String]
1806
+ attr_accessor :security_policy
1807
+
1808
+ # Version of the cloud build software on the cluster.
1809
+ # Corresponds to the JSON property `version`
1810
+ # @return [String]
1811
+ attr_accessor :version
1812
+
1813
+ def initialize(**args)
1814
+ update!(**args)
1815
+ end
1816
+
1817
+ # Update properties of this object
1818
+ def update!(**args)
1819
+ @security_policy = args[:security_policy] if args.key?(:security_policy)
1820
+ @version = args[:version] if args.key?(:version)
1821
+ end
1822
+ end
1823
+
1751
1824
  # **Metering**: Per-Membership Feature State.
1752
1825
  class MeteringMembershipState
1753
1826
  include Google::Apis::Core::Hashable
@@ -2019,6 +2092,197 @@ module Google
2019
2092
  end
2020
2093
  end
2021
2094
 
2095
+ # **Policy Controller**: Configuration for a single cluster. Intended to
2096
+ # parallel the PolicyController CR.
2097
+ class PolicyControllerMembershipSpec
2098
+ include Google::Apis::Core::Hashable
2099
+
2100
+ # Configuration for Policy Controller
2101
+ # Corresponds to the JSON property `policyControllerHubConfig`
2102
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubConfig]
2103
+ attr_accessor :policy_controller_hub_config
2104
+
2105
+ # Version of Policy Controller installed.
2106
+ # Corresponds to the JSON property `version`
2107
+ # @return [String]
2108
+ attr_accessor :version
2109
+
2110
+ def initialize(**args)
2111
+ update!(**args)
2112
+ end
2113
+
2114
+ # Update properties of this object
2115
+ def update!(**args)
2116
+ @policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
2117
+ @version = args[:version] if args.key?(:version)
2118
+ end
2119
+ end
2120
+
2121
+ # **Policy Controller**: State for a single cluster.
2122
+ class PolicyControllerMembershipState
2123
+ include Google::Apis::Core::Hashable
2124
+
2125
+ # The user-defined name for the cluster used by ClusterSelectors to group
2126
+ # clusters together. This should match Membership's membership_name, unless the
2127
+ # user installed PC on the cluster manually prior to enabling the PC hub feature.
2128
+ # Unique within a Policy Controller installation.
2129
+ # Corresponds to the JSON property `clusterName`
2130
+ # @return [String]
2131
+ attr_accessor :cluster_name
2132
+
2133
+ # **Policy Controller**: Configuration for a single cluster. Intended to
2134
+ # parallel the PolicyController CR.
2135
+ # Corresponds to the JSON property `membershipSpec`
2136
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec]
2137
+ attr_accessor :membership_spec
2138
+
2139
+ # State of the Policy Controller.
2140
+ # Corresponds to the JSON property `policyControllerHubState`
2141
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState]
2142
+ attr_accessor :policy_controller_hub_state
2143
+
2144
+ # The lifecycle state Policy Controller is in.
2145
+ # Corresponds to the JSON property `state`
2146
+ # @return [String]
2147
+ attr_accessor :state
2148
+
2149
+ def initialize(**args)
2150
+ update!(**args)
2151
+ end
2152
+
2153
+ # Update properties of this object
2154
+ def update!(**args)
2155
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
2156
+ @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
2157
+ @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
2158
+ @state = args[:state] if args.key?(:state)
2159
+ end
2160
+ end
2161
+
2162
+ # Configuration for Policy Controller
2163
+ class PolicyControllerPolicyControllerHubConfig
2164
+ include Google::Apis::Core::Hashable
2165
+
2166
+ # Sets the interval for Policy Controller Audit Scans (in seconds). When set to
2167
+ # 0, this disables audit functionality altogether.
2168
+ # Corresponds to the JSON property `auditIntervalSeconds`
2169
+ # @return [Fixnum]
2170
+ attr_accessor :audit_interval_seconds
2171
+
2172
+ # The set of namespaces that are excluded from Policy Controller checks.
2173
+ # Namespaces do not need to currently exist on the cluster.
2174
+ # Corresponds to the JSON property `exemptableNamespaces`
2175
+ # @return [Array<String>]
2176
+ attr_accessor :exemptable_namespaces
2177
+
2178
+ # The install_spec represents the intended state specified by the latest request
2179
+ # that mutated install_spec in the feature spec, not the lifecycle state of the
2180
+ # feature observed by the Hub feature controller that is reported in the feature
2181
+ # state.
2182
+ # Corresponds to the JSON property `installSpec`
2183
+ # @return [String]
2184
+ attr_accessor :install_spec
2185
+
2186
+ # Logs all denies and dry run failures.
2187
+ # Corresponds to the JSON property `logDeniesEnabled`
2188
+ # @return [Boolean]
2189
+ attr_accessor :log_denies_enabled
2190
+ alias_method :log_denies_enabled?, :log_denies_enabled
2191
+
2192
+ # Enables the ability to use Constraint Templates that reference to objects
2193
+ # other than the object currently being evaluated.
2194
+ # Corresponds to the JSON property `referentialRulesEnabled`
2195
+ # @return [Boolean]
2196
+ attr_accessor :referential_rules_enabled
2197
+ alias_method :referential_rules_enabled?, :referential_rules_enabled
2198
+
2199
+ # The config specifying which default library templates to install.
2200
+ # Corresponds to the JSON property `templateLibraryConfig`
2201
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig]
2202
+ attr_accessor :template_library_config
2203
+
2204
+ def initialize(**args)
2205
+ update!(**args)
2206
+ end
2207
+
2208
+ # Update properties of this object
2209
+ def update!(**args)
2210
+ @audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
2211
+ @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
2212
+ @install_spec = args[:install_spec] if args.key?(:install_spec)
2213
+ @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
2214
+ @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
2215
+ @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
2216
+ end
2217
+ end
2218
+
2219
+ # State of the Policy Controller.
2220
+ class PolicyControllerPolicyControllerHubState
2221
+ include Google::Apis::Core::Hashable
2222
+
2223
+ # Map from deployment name to deployment state. Example deployments are
2224
+ # gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
2225
+ # mutation.
2226
+ # Corresponds to the JSON property `deploymentStates`
2227
+ # @return [Hash<String,String>]
2228
+ attr_accessor :deployment_states
2229
+
2230
+ # The build version of Gatekeeper that Policy Controller is using.
2231
+ # Corresponds to the JSON property `version`
2232
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion]
2233
+ attr_accessor :version
2234
+
2235
+ def initialize(**args)
2236
+ update!(**args)
2237
+ end
2238
+
2239
+ # Update properties of this object
2240
+ def update!(**args)
2241
+ @deployment_states = args[:deployment_states] if args.key?(:deployment_states)
2242
+ @version = args[:version] if args.key?(:version)
2243
+ end
2244
+ end
2245
+
2246
+ # The build version of Gatekeeper that Policy Controller is using.
2247
+ class PolicyControllerPolicyControllerHubVersion
2248
+ include Google::Apis::Core::Hashable
2249
+
2250
+ # The gatekeeper image tag that is composed of ACM version, git tag, build
2251
+ # number.
2252
+ # Corresponds to the JSON property `version`
2253
+ # @return [String]
2254
+ attr_accessor :version
2255
+
2256
+ def initialize(**args)
2257
+ update!(**args)
2258
+ end
2259
+
2260
+ # Update properties of this object
2261
+ def update!(**args)
2262
+ @version = args[:version] if args.key?(:version)
2263
+ end
2264
+ end
2265
+
2266
+ # The config specifying which default library templates to install.
2267
+ class PolicyControllerTemplateLibraryConfig
2268
+ include Google::Apis::Core::Hashable
2269
+
2270
+ # Whether the standard template library should be installed or not.
2271
+ # Corresponds to the JSON property `included`
2272
+ # @return [Boolean]
2273
+ attr_accessor :included
2274
+ alias_method :included?, :included
2275
+
2276
+ def initialize(**args)
2277
+ update!(**args)
2278
+ end
2279
+
2280
+ # Update properties of this object
2281
+ def update!(**args)
2282
+ @included = args[:included] if args.key?(:included)
2283
+ end
2284
+ end
2285
+
2022
2286
  # Request message for `SetIamPolicy` method.
2023
2287
  class SetIamPolicyRequest
2024
2288
  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.14.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211105"
25
+ REVISION = "20220128"
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 AnthosObservabilityMembershipSpec
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AppDevExperienceFeatureSpec
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -310,6 +316,12 @@ module Google
310
316
  include Google::Apis::Core::JsonObjectSupport
311
317
  end
312
318
 
319
+ class MembershipSpec
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
313
325
  class MeteringMembershipState
314
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
327
 
@@ -340,6 +352,42 @@ module Google
340
352
  include Google::Apis::Core::JsonObjectSupport
341
353
  end
342
354
 
355
+ class PolicyControllerMembershipSpec
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class PolicyControllerMembershipState
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class PolicyControllerPolicyControllerHubConfig
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class PolicyControllerPolicyControllerHubState
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class PolicyControllerPolicyControllerHubVersion
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class PolicyControllerTemplateLibraryConfig
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
343
391
  class SetIamPolicyRequest
344
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
393
 
@@ -364,6 +412,14 @@ module Google
364
412
  include Google::Apis::Core::JsonObjectSupport
365
413
  end
366
414
 
415
+ class AnthosObservabilityMembershipSpec
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ property :do_not_optimize_metrics, as: 'doNotOptimizeMetrics'
419
+ property :enable_stackdriver_on_applications, as: 'enableStackdriverOnApplications'
420
+ end
421
+ end
422
+
367
423
  class AppDevExperienceFeatureSpec
368
424
  # @private
369
425
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -833,6 +889,10 @@ module Google
833
889
  class MembershipFeatureSpec
834
890
  # @private
835
891
  class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec::Representation
893
+
894
+ property :cloudbuild, as: 'cloudbuild', class: Google::Apis::GkehubV1beta::MembershipSpec, decorator: Google::Apis::GkehubV1beta::MembershipSpec::Representation
895
+
836
896
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec::Representation
837
897
 
838
898
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
@@ -851,11 +911,21 @@ module Google
851
911
 
852
912
  property :metering, as: 'metering', class: Google::Apis::GkehubV1beta::MeteringMembershipState, decorator: Google::Apis::GkehubV1beta::MeteringMembershipState::Representation
853
913
 
914
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipState::Representation
915
+
854
916
  property :state, as: 'state', class: Google::Apis::GkehubV1beta::FeatureState, decorator: Google::Apis::GkehubV1beta::FeatureState::Representation
855
917
 
856
918
  end
857
919
  end
858
920
 
921
+ class MembershipSpec
922
+ # @private
923
+ class Representation < Google::Apis::Core::JsonRepresentation
924
+ property :security_policy, as: 'securityPolicy'
925
+ property :version, as: 'version'
926
+ end
927
+ end
928
+
859
929
  class MeteringMembershipState
860
930
  # @private
861
931
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -909,6 +979,63 @@ module Google
909
979
  end
910
980
  end
911
981
 
982
+ class PolicyControllerMembershipSpec
983
+ # @private
984
+ class Representation < Google::Apis::Core::JsonRepresentation
985
+ property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubConfig::Representation
986
+
987
+ property :version, as: 'version'
988
+ end
989
+ end
990
+
991
+ class PolicyControllerMembershipState
992
+ # @private
993
+ class Representation < Google::Apis::Core::JsonRepresentation
994
+ property :cluster_name, as: 'clusterName'
995
+ property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec::Representation
996
+
997
+ property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState::Representation
998
+
999
+ property :state, as: 'state'
1000
+ end
1001
+ end
1002
+
1003
+ class PolicyControllerPolicyControllerHubConfig
1004
+ # @private
1005
+ class Representation < Google::Apis::Core::JsonRepresentation
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
1012
+
1013
+ end
1014
+ end
1015
+
1016
+ class PolicyControllerPolicyControllerHubState
1017
+ # @private
1018
+ class Representation < Google::Apis::Core::JsonRepresentation
1019
+ hash :deployment_states, as: 'deploymentStates'
1020
+ property :version, as: 'version', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion::Representation
1021
+
1022
+ end
1023
+ end
1024
+
1025
+ class PolicyControllerPolicyControllerHubVersion
1026
+ # @private
1027
+ class Representation < Google::Apis::Core::JsonRepresentation
1028
+ property :version, as: 'version'
1029
+ end
1030
+ end
1031
+
1032
+ class PolicyControllerTemplateLibraryConfig
1033
+ # @private
1034
+ class Representation < Google::Apis::Core::JsonRepresentation
1035
+ property :included, as: 'included'
1036
+ end
1037
+ end
1038
+
912
1039
  class SetIamPolicyRequest
913
1040
  # @private
914
1041
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -124,22 +124,22 @@ module Google
124
124
 
125
125
  # Adds a new Feature.
126
126
  # @param [String] parent
127
- # The parent (project and location) where the Feature will be created. Specified
128
- # in the format `projects/*/locations/*`.
127
+ # Required. The parent (project and location) where the Feature will be created.
128
+ # Specified in the format `projects/*/locations/*`.
129
129
  # @param [Google::Apis::GkehubV1beta::Feature] feature_object
130
130
  # @param [String] feature_id
131
131
  # The ID of the feature to create.
132
132
  # @param [String] request_id
133
- # Optional. A request ID to identify requests. Specify a unique request ID so
134
- # that if you must retry your request, the server will know to ignore the
135
- # request if it has already been completed. The server will guarantee that for
136
- # at least 60 minutes after the first request. For example, consider a situation
137
- # where you make an initial request and the request times out. If you make the
138
- # request again with the same request ID, the server can check if original
139
- # operation with the same request ID was received, and if so, will ignore the
140
- # second request. This prevents clients from accidentally creating duplicate
141
- # commitments. The request ID must be a valid UUID with the exception that zero
142
- # UUID is not supported (00000000-0000-0000-0000-000000000000).
133
+ # A request ID to identify requests. Specify a unique request ID so that if you
134
+ # must retry your request, the server will know to ignore the request if it has
135
+ # already been completed. The server will guarantee that for at least 60 minutes
136
+ # after the first request. For example, consider a situation where you make an
137
+ # initial request and the request times out. If you make the request again with
138
+ # the same request ID, the server can check if original operation with the same
139
+ # request ID was received, and if so, will ignore the second request. This
140
+ # prevents clients from accidentally creating duplicate commitments. The request
141
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
142
+ # 00000000-0000-0000-0000-000000000000).
143
143
  # @param [String] fields
144
144
  # Selector specifying which fields to include in a partial response.
145
145
  # @param [String] quota_user
@@ -173,7 +173,8 @@ module Google
173
173
 
174
174
  # Removes a Feature.
175
175
  # @param [String] name
176
- # The Feature resource name in the format `projects/*/locations/*/features/*`.
176
+ # Required. The Feature resource name in the format `projects/*/locations/*/
177
+ # features/*`.
177
178
  # @param [Boolean] force
178
179
  # If set to true, the delete will ignore any outstanding resources for this
179
180
  # Feature (that is, `FeatureState.has_resources` is set to true). These
@@ -220,7 +221,8 @@ module Google
220
221
 
221
222
  # Gets details of a single Feature.
222
223
  # @param [String] name
223
- # The Feature resource name in the format `projects/*/locations/*/features/*`
224
+ # Required. The Feature resource name in the format `projects/*/locations/*/
225
+ # features/*`
224
226
  # @param [String] fields
225
227
  # Selector specifying which fields to include in a partial response.
226
228
  # @param [String] quota_user
@@ -294,8 +296,8 @@ module Google
294
296
 
295
297
  # Lists Features in a given project and location.
296
298
  # @param [String] parent
297
- # The parent (project and location) where the Features will be listed. Specified
298
- # in the format `projects/*/locations/*`.
299
+ # Required. The parent (project and location) where the Features will be listed.
300
+ # Specified in the format `projects/*/locations/*`.
299
301
  # @param [String] filter
300
302
  # Lists Features that match the filter expression, following the syntax outlined
301
303
  # in https://google.aip.dev/160. Examples: - Feature with the name "servicemesh"
@@ -345,19 +347,20 @@ module Google
345
347
 
346
348
  # Updates an existing Feature.
347
349
  # @param [String] name
348
- # The Feature resource name in the format `projects/*/locations/*/features/*`.
350
+ # Required. The Feature resource name in the format `projects/*/locations/*/
351
+ # features/*`.
349
352
  # @param [Google::Apis::GkehubV1beta::Feature] feature_object
350
353
  # @param [String] request_id
351
- # Optional. A request ID to identify requests. Specify a unique request ID so
352
- # that if you must retry your request, the server will know to ignore the
353
- # request if it has already been completed. The server will guarantee that for
354
- # at least 60 minutes after the first request. For example, consider a situation
355
- # where you make an initial request and the request times out. If you make the
356
- # request again with the same request ID, the server can check if original
357
- # operation with the same request ID was received, and if so, will ignore the
358
- # second request. This prevents clients from accidentally creating duplicate
359
- # commitments. The request ID must be a valid UUID with the exception that zero
360
- # UUID is not supported (00000000-0000-0000-0000-000000000000).
354
+ # A request ID to identify requests. Specify a unique request ID so that if you
355
+ # must retry your request, the server will know to ignore the request if it has
356
+ # already been completed. The server will guarantee that for at least 60 minutes
357
+ # after the first request. For example, consider a situation where you make an
358
+ # initial request and the request times out. If you make the request again with
359
+ # the same request ID, the server can check if original operation with the same
360
+ # request ID was received, and if so, will ignore the second request. This
361
+ # prevents clients from accidentally creating duplicate commitments. The request
362
+ # ID must be a valid UUID with the exception that zero UUID is not supported (
363
+ # 00000000-0000-0000-0000-000000000000).
361
364
  # @param [String] update_mask
362
365
  # Mask of fields to update.
363
366
  # @param [String] fields
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.14.0
4
+ version: 0.18.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: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2022-02-07 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.18.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.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1beta