google-apis-gkehub_v1beta 0.15.0 → 0.19.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: cd291b6e626e0b7e15b759f6bafb4eb650b64a4952fa7c7b2f4333f5eab29001
4
- data.tar.gz: e8ae6502f6d1f2785ff2514e93c2e9a662665b132e1ebae3a5eef9a2b32d736b
3
+ metadata.gz: 664a338a9a266bc2aaa9a019605e57a97d8f0a7bb3b6750901afcf7fade2c637
4
+ data.tar.gz: 71d7b511851f9988b2e53b74e4d0dfab6c0dd4e24f3c96d3a9d62c0cc636faeb
5
5
  SHA512:
6
- metadata.gz: 3afa6a1595bacf04e4f7de5c7804a5ab00f0c713a865cfb2c0c9ef838e0f66790ec40d2cec7876bda95af6b3bf14888ee71c1c49700f91f9764a6c2069fce319
7
- data.tar.gz: d8f40008ef965ae036abfba1c191ae76a6450fbd87771639718ecc490a4132b1848715870663e4dc24eb6b37a42b06577e984acc7a3b9b869dfa897b5c04f879
6
+ metadata.gz: 8dc3f9fd445184b117adbb4c77a525b87ae8445e84def8e4c2adc0976fe21d41564641e22466ddfac4b47a6666ca41d3407fba6bb252fa6907f29161e37ed3ad
7
+ data.tar.gz: ac47cc53af0562f1c1310701d67c231228d1a5743bb0c782d3ffa73ffd4b38a4734069f891ddd4e600ea8b2dff34778a92475dd340f28530e64477544173e564
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.19.0 (2022-02-12)
4
+
5
+ * Regenerated from discovery document revision 20220204
6
+
7
+ ### v0.18.0 (2022-02-05)
8
+
9
+ * Regenerated from discovery document revision 20220128
10
+
11
+ ### v0.17.0 (2022-01-30)
12
+
13
+ * Regenerated from discovery document revision 20220122
14
+
15
+ ### v0.16.0 (2022-01-15)
16
+
17
+ * Regenerated from discovery document revision 20220107
18
+ * Regenerated using generator version 0.4.1
19
+
3
20
  ### v0.15.0 (2021-12-16)
4
21
 
5
22
  * Unspecified changes
@@ -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
@@ -1483,6 +1513,11 @@ module Google
1483
1513
  # @return [String]
1484
1514
  attr_accessor :client_id
1485
1515
 
1516
+ # Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
1517
+ # Corresponds to the JSON property `clientSecret`
1518
+ # @return [String]
1519
+ attr_accessor :client_secret
1520
+
1486
1521
  # Flag to denote if reverse proxy is used to connect to auth provider. This flag
1487
1522
  # should be set to true when provider is not reachable by Google Cloud Console.
1488
1523
  # Corresponds to the JSON property `deployCloudConsoleProxy`
@@ -1490,6 +1525,12 @@ module Google
1490
1525
  attr_accessor :deploy_cloud_console_proxy
1491
1526
  alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
1492
1527
 
1528
+ # Output only. Encrypted OIDC Client secret
1529
+ # Corresponds to the JSON property `encryptedClientSecret`
1530
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1531
+ # @return [String]
1532
+ attr_accessor :encrypted_client_secret
1533
+
1493
1534
  # Comma-separated list of key-value pairs.
1494
1535
  # Corresponds to the JSON property `extraParams`
1495
1536
  # @return [String]
@@ -1540,7 +1581,9 @@ module Google
1540
1581
  def update!(**args)
1541
1582
  @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
1542
1583
  @client_id = args[:client_id] if args.key?(:client_id)
1584
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
1543
1585
  @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
1586
+ @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
1544
1587
  @extra_params = args[:extra_params] if args.key?(:extra_params)
1545
1588
  @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
1546
1589
  @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
@@ -1680,6 +1723,16 @@ module Google
1680
1723
  class MembershipFeatureSpec
1681
1724
  include Google::Apis::Core::Hashable
1682
1725
 
1726
+ # **Anthosobservability**: Per-Membership Feature spec.
1727
+ # Corresponds to the JSON property `anthosobservability`
1728
+ # @return [Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec]
1729
+ attr_accessor :anthosobservability
1730
+
1731
+ # **Cloud Build**: Configurations for each Cloud Build enabled cluster.
1732
+ # Corresponds to the JSON property `cloudbuild`
1733
+ # @return [Google::Apis::GkehubV1beta::MembershipSpec]
1734
+ attr_accessor :cloudbuild
1735
+
1683
1736
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
1684
1737
  # parallel the ConfigManagement CR.
1685
1738
  # Corresponds to the JSON property `configmanagement`
@@ -1691,14 +1744,23 @@ module Google
1691
1744
  # @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec]
1692
1745
  attr_accessor :identityservice
1693
1746
 
1747
+ # **Policy Controller**: Configuration for a single cluster. Intended to
1748
+ # parallel the PolicyController CR.
1749
+ # Corresponds to the JSON property `policycontroller`
1750
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec]
1751
+ attr_accessor :policycontroller
1752
+
1694
1753
  def initialize(**args)
1695
1754
  update!(**args)
1696
1755
  end
1697
1756
 
1698
1757
  # Update properties of this object
1699
1758
  def update!(**args)
1759
+ @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
1760
+ @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
1700
1761
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1701
1762
  @identityservice = args[:identityservice] if args.key?(:identityservice)
1763
+ @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
1702
1764
  end
1703
1765
  end
1704
1766
 
@@ -1727,6 +1789,11 @@ module Google
1727
1789
  # @return [Google::Apis::GkehubV1beta::MeteringMembershipState]
1728
1790
  attr_accessor :metering
1729
1791
 
1792
+ # **Policy Controller**: State for a single cluster.
1793
+ # Corresponds to the JSON property `policycontroller`
1794
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerMembershipState]
1795
+ attr_accessor :policycontroller
1796
+
1730
1797
  # FeatureState describes the high-level state of a Feature. It may be used to
1731
1798
  # describe a Feature's state at the environ-level, or per-membershop, depending
1732
1799
  # on the context.
@@ -1744,10 +1811,36 @@ module Google
1744
1811
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1745
1812
  @identityservice = args[:identityservice] if args.key?(:identityservice)
1746
1813
  @metering = args[:metering] if args.key?(:metering)
1814
+ @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
1747
1815
  @state = args[:state] if args.key?(:state)
1748
1816
  end
1749
1817
  end
1750
1818
 
1819
+ # **Cloud Build**: Configurations for each Cloud Build enabled cluster.
1820
+ class MembershipSpec
1821
+ include Google::Apis::Core::Hashable
1822
+
1823
+ # Whether it is allowed to run the privileged builds on the cluster or not.
1824
+ # Corresponds to the JSON property `securityPolicy`
1825
+ # @return [String]
1826
+ attr_accessor :security_policy
1827
+
1828
+ # Version of the cloud build software on the cluster.
1829
+ # Corresponds to the JSON property `version`
1830
+ # @return [String]
1831
+ attr_accessor :version
1832
+
1833
+ def initialize(**args)
1834
+ update!(**args)
1835
+ end
1836
+
1837
+ # Update properties of this object
1838
+ def update!(**args)
1839
+ @security_policy = args[:security_policy] if args.key?(:security_policy)
1840
+ @version = args[:version] if args.key?(:version)
1841
+ end
1842
+ end
1843
+
1751
1844
  # **Metering**: Per-Membership Feature State.
1752
1845
  class MeteringMembershipState
1753
1846
  include Google::Apis::Core::Hashable
@@ -2019,6 +2112,197 @@ module Google
2019
2112
  end
2020
2113
  end
2021
2114
 
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
+ # Configuration for Policy Controller
2183
+ class PolicyControllerPolicyControllerHubConfig
2184
+ include Google::Apis::Core::Hashable
2185
+
2186
+ # Sets the interval for Policy Controller Audit Scans (in seconds). When set to
2187
+ # 0, this disables audit functionality altogether.
2188
+ # Corresponds to the JSON property `auditIntervalSeconds`
2189
+ # @return [Fixnum]
2190
+ attr_accessor :audit_interval_seconds
2191
+
2192
+ # The set of namespaces that are excluded from Policy Controller checks.
2193
+ # Namespaces do not need to currently exist on the cluster.
2194
+ # Corresponds to the JSON property `exemptableNamespaces`
2195
+ # @return [Array<String>]
2196
+ attr_accessor :exemptable_namespaces
2197
+
2198
+ # The install_spec represents the intended state specified by the latest request
2199
+ # that mutated install_spec in the feature spec, not the lifecycle state of the
2200
+ # feature observed by the Hub feature controller that is reported in the feature
2201
+ # state.
2202
+ # Corresponds to the JSON property `installSpec`
2203
+ # @return [String]
2204
+ attr_accessor :install_spec
2205
+
2206
+ # Logs all denies and dry run failures.
2207
+ # Corresponds to the JSON property `logDeniesEnabled`
2208
+ # @return [Boolean]
2209
+ attr_accessor :log_denies_enabled
2210
+ alias_method :log_denies_enabled?, :log_denies_enabled
2211
+
2212
+ # Enables the ability to use Constraint Templates that reference to objects
2213
+ # other than the object currently being evaluated.
2214
+ # Corresponds to the JSON property `referentialRulesEnabled`
2215
+ # @return [Boolean]
2216
+ attr_accessor :referential_rules_enabled
2217
+ alias_method :referential_rules_enabled?, :referential_rules_enabled
2218
+
2219
+ # The config specifying which default library templates to install.
2220
+ # Corresponds to the JSON property `templateLibraryConfig`
2221
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig]
2222
+ attr_accessor :template_library_config
2223
+
2224
+ def initialize(**args)
2225
+ update!(**args)
2226
+ end
2227
+
2228
+ # Update properties of this object
2229
+ def update!(**args)
2230
+ @audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
2231
+ @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
2232
+ @install_spec = args[:install_spec] if args.key?(:install_spec)
2233
+ @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
2234
+ @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
2235
+ @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
2236
+ end
2237
+ end
2238
+
2239
+ # State of the Policy Controller.
2240
+ class PolicyControllerPolicyControllerHubState
2241
+ include Google::Apis::Core::Hashable
2242
+
2243
+ # Map from deployment name to deployment state. Example deployments are
2244
+ # gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
2245
+ # mutation.
2246
+ # Corresponds to the JSON property `deploymentStates`
2247
+ # @return [Hash<String,String>]
2248
+ attr_accessor :deployment_states
2249
+
2250
+ # The build version of Gatekeeper that Policy Controller is using.
2251
+ # Corresponds to the JSON property `version`
2252
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion]
2253
+ attr_accessor :version
2254
+
2255
+ def initialize(**args)
2256
+ update!(**args)
2257
+ end
2258
+
2259
+ # Update properties of this object
2260
+ def update!(**args)
2261
+ @deployment_states = args[:deployment_states] if args.key?(:deployment_states)
2262
+ @version = args[:version] if args.key?(:version)
2263
+ end
2264
+ end
2265
+
2266
+ # The build version of Gatekeeper that Policy Controller is using.
2267
+ class PolicyControllerPolicyControllerHubVersion
2268
+ include Google::Apis::Core::Hashable
2269
+
2270
+ # The gatekeeper image tag that is composed of ACM version, git tag, build
2271
+ # number.
2272
+ # Corresponds to the JSON property `version`
2273
+ # @return [String]
2274
+ attr_accessor :version
2275
+
2276
+ def initialize(**args)
2277
+ update!(**args)
2278
+ end
2279
+
2280
+ # Update properties of this object
2281
+ def update!(**args)
2282
+ @version = args[:version] if args.key?(:version)
2283
+ end
2284
+ end
2285
+
2286
+ # The config specifying which default library templates to install.
2287
+ class PolicyControllerTemplateLibraryConfig
2288
+ include Google::Apis::Core::Hashable
2289
+
2290
+ # Whether the standard template library should be installed or not.
2291
+ # Corresponds to the JSON property `included`
2292
+ # @return [Boolean]
2293
+ attr_accessor :included
2294
+ alias_method :included?, :included
2295
+
2296
+ def initialize(**args)
2297
+ update!(**args)
2298
+ end
2299
+
2300
+ # Update properties of this object
2301
+ def update!(**args)
2302
+ @included = args[:included] if args.key?(:included)
2303
+ end
2304
+ end
2305
+
2022
2306
  # Request message for `SetIamPolicy` method.
2023
2307
  class SetIamPolicyRequest
2024
2308
  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.15.0"
19
+ GEM_VERSION = "0.19.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 = "20220204"
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
@@ -780,7 +836,9 @@ module Google
780
836
  class Representation < Google::Apis::Core::JsonRepresentation
781
837
  property :certificate_authority_data, as: 'certificateAuthorityData'
782
838
  property :client_id, as: 'clientId'
839
+ property :client_secret, as: 'clientSecret'
783
840
  property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
841
+ property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
784
842
  property :extra_params, as: 'extraParams'
785
843
  property :group_prefix, as: 'groupPrefix'
786
844
  property :groups_claim, as: 'groupsClaim'
@@ -833,10 +891,16 @@ module Google
833
891
  class MembershipFeatureSpec
834
892
  # @private
835
893
  class Representation < Google::Apis::Core::JsonRepresentation
894
+ property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec::Representation
895
+
896
+ property :cloudbuild, as: 'cloudbuild', class: Google::Apis::GkehubV1beta::MembershipSpec, decorator: Google::Apis::GkehubV1beta::MembershipSpec::Representation
897
+
836
898
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec::Representation
837
899
 
838
900
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
839
901
 
902
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec::Representation
903
+
840
904
  end
841
905
  end
842
906
 
@@ -851,11 +915,21 @@ module Google
851
915
 
852
916
  property :metering, as: 'metering', class: Google::Apis::GkehubV1beta::MeteringMembershipState, decorator: Google::Apis::GkehubV1beta::MeteringMembershipState::Representation
853
917
 
918
+ property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipState::Representation
919
+
854
920
  property :state, as: 'state', class: Google::Apis::GkehubV1beta::FeatureState, decorator: Google::Apis::GkehubV1beta::FeatureState::Representation
855
921
 
856
922
  end
857
923
  end
858
924
 
925
+ class MembershipSpec
926
+ # @private
927
+ class Representation < Google::Apis::Core::JsonRepresentation
928
+ property :security_policy, as: 'securityPolicy'
929
+ property :version, as: 'version'
930
+ end
931
+ end
932
+
859
933
  class MeteringMembershipState
860
934
  # @private
861
935
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -909,6 +983,63 @@ module Google
909
983
  end
910
984
  end
911
985
 
986
+ class PolicyControllerMembershipSpec
987
+ # @private
988
+ 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
990
+
991
+ property :version, as: 'version'
992
+ end
993
+ end
994
+
995
+ class PolicyControllerMembershipState
996
+ # @private
997
+ 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
1002
+
1003
+ property :state, as: 'state'
1004
+ end
1005
+ end
1006
+
1007
+ class PolicyControllerPolicyControllerHubConfig
1008
+ # @private
1009
+ 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
+
1017
+ end
1018
+ end
1019
+
1020
+ class PolicyControllerPolicyControllerHubState
1021
+ # @private
1022
+ 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
1025
+
1026
+ end
1027
+ end
1028
+
1029
+ class PolicyControllerPolicyControllerHubVersion
1030
+ # @private
1031
+ class Representation < Google::Apis::Core::JsonRepresentation
1032
+ property :version, as: 'version'
1033
+ end
1034
+ end
1035
+
1036
+ class PolicyControllerTemplateLibraryConfig
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ property :included, as: 'included'
1040
+ end
1041
+ end
1042
+
912
1043
  class SetIamPolicyRequest
913
1044
  # @private
914
1045
  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.15.0
4
+ version: 0.19.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-01-10 00:00:00.000000000 Z
11
+ date: 2022-02-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.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.19.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.3.4
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