google-apis-gkehub_v1beta 0.29.0 → 0.30.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: 0ee884924e4f5a2a6cd517887049db5232907c797daadb1463390ba4adcde449
4
- data.tar.gz: 02d521930614ddc72e91c39fad93930f678b6b176b7d9cc576623861ee2af185
3
+ metadata.gz: 7f71b8674992bb80972acd5a830117a1a858443e637d3e0f2f5bce87799a3c61
4
+ data.tar.gz: d8db3b2ab09d40d77f421b1db53ff63e9fd619a285a466a6e12ea64fef703db7
5
5
  SHA512:
6
- metadata.gz: 0bd61906b10ede140a0239f2914f15375b2e2177bd9b7c4f46414d04edc598d3638c694fe091b1dfc483d8ed77e4825b8dd435262bd11b30a273d4a38fdbcf1f
7
- data.tar.gz: 1b13b3da7c47f25b2709ffcf0c06435183ef59bd3a66a750ea32ee0627a5a1a017ba4f17a38bd7f0aaa9d0365e513b4241c52cd6d2dc8fe6ee2b4ef495d24ea5
6
+ metadata.gz: 384240535e4bb23065204b9ed3f1a6cdea736da139d26f881341827043afd935fae3f37c36f5a93148141a59d73658e8540e35bbac28088b3c246e76b7ead429
7
+ data.tar.gz: 717e114f01c34dc5fc2ea7eafd26b0fd3168d18d6a80c3b407b18d74d155a2099d2478e415f93cefc3bda1c1dc5eed3ba2576231676c218543251e7af26af37b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.30.0 (2022-08-14)
4
+
5
+ * Regenerated from discovery document revision 20220805
6
+
3
7
  ### v0.29.0 (2022-07-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20220706
@@ -333,25 +333,28 @@ module Google
333
333
  # anyone who is authenticated with a Google account or a service account. * `
334
334
  # user:`emailid``: An email address that represents a specific Google account.
335
335
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
336
- # address that represents a service account. For example, `my-other-app@appspot.
337
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
338
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
339
- # `uniqueid``: An email address (plus unique identifier) representing a user
340
- # that has been recently deleted. For example, `alice@example.com?uid=
341
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
342
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
343
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
344
- # identifier) representing a service account that has been recently deleted. For
345
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
346
- # If the service account is undeleted, this value reverts to `serviceAccount:`
347
- # emailid`` and the undeleted service account retains the role in the binding. *
348
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
349
- # identifier) representing a Google group that has been recently deleted. For
350
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
351
- # recovered, this value reverts to `group:`emailid`` and the recovered group
352
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
353
- # primary) that represents all the users of that domain. For example, `google.
354
- # com` or `example.com`.
336
+ # address that represents a Google service account. For example, `my-other-app@
337
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
338
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
339
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
340
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
341
+ # . * `group:`emailid``: An email address that represents a Google group. For
342
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
343
+ # email address (plus unique identifier) representing a user that has been
344
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
345
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
346
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
347
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
348
+ # representing a service account that has been recently deleted. For example, `
349
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
350
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
351
+ # and the undeleted service account retains the role in the binding. * `deleted:
352
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
353
+ # representing a Google group that has been recently deleted. For example, `
354
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
355
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
356
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
357
+ # all the users of that domain. For example, `google.com` or `example.com`.
355
358
  # Corresponds to the JSON property `members`
356
359
  # @return [Array<String>]
357
360
  attr_accessor :members
@@ -2509,53 +2512,6 @@ module Google
2509
2512
  end
2510
2513
  end
2511
2514
 
2512
- # State of the Policy Controller.
2513
- class PolicyControllerHubState
2514
- include Google::Apis::Core::Hashable
2515
-
2516
- # Map from deployment name to deployment state. Example deployments are
2517
- # gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
2518
- # mutation.
2519
- # Corresponds to the JSON property `deploymentStates`
2520
- # @return [Hash<String,String>]
2521
- attr_accessor :deployment_states
2522
-
2523
- # The build version of Gatekeeper that Policy Controller is using.
2524
- # Corresponds to the JSON property `version`
2525
- # @return [Google::Apis::GkehubV1beta::PolicyControllerHubVersion]
2526
- attr_accessor :version
2527
-
2528
- def initialize(**args)
2529
- update!(**args)
2530
- end
2531
-
2532
- # Update properties of this object
2533
- def update!(**args)
2534
- @deployment_states = args[:deployment_states] if args.key?(:deployment_states)
2535
- @version = args[:version] if args.key?(:version)
2536
- end
2537
- end
2538
-
2539
- # The build version of Gatekeeper that Policy Controller is using.
2540
- class PolicyControllerHubVersion
2541
- include Google::Apis::Core::Hashable
2542
-
2543
- # The gatekeeper image tag that is composed of ACM version, git tag, build
2544
- # number.
2545
- # Corresponds to the JSON property `version`
2546
- # @return [String]
2547
- attr_accessor :version
2548
-
2549
- def initialize(**args)
2550
- update!(**args)
2551
- end
2552
-
2553
- # Update properties of this object
2554
- def update!(**args)
2555
- @version = args[:version] if args.key?(:version)
2556
- end
2557
- end
2558
-
2559
2515
  # **Policy Controller**: Configuration for a single cluster. Intended to
2560
2516
  # parallel the PolicyController CR.
2561
2517
  class PolicyControllerMembershipSpec
@@ -2594,18 +2550,14 @@ module Google
2594
2550
  # @return [String]
2595
2551
  attr_accessor :cluster_name
2596
2552
 
2597
- # **Policy Controller**: Configuration for a single cluster. Intended to
2598
- # parallel the PolicyController CR.
2599
- # Corresponds to the JSON property `membershipSpec`
2600
- # @return [Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec]
2601
- attr_accessor :membership_spec
2602
-
2603
- # State of the Policy Controller.
2604
- # Corresponds to the JSON property `policyControllerHubState`
2605
- # @return [Google::Apis::GkehubV1beta::PolicyControllerHubState]
2606
- attr_accessor :policy_controller_hub_state
2553
+ # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
2554
+ # 3. "mutation" 4. "constraint template library"
2555
+ # Corresponds to the JSON property `componentStates`
2556
+ # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
2557
+ attr_accessor :component_states
2607
2558
 
2608
- # The lifecycle state Policy Controller is in.
2559
+ # The overall Policy Controller lifecycle state observed by the Hub Feature
2560
+ # controller.
2609
2561
  # Corresponds to the JSON property `state`
2610
2562
  # @return [String]
2611
2563
  attr_accessor :state
@@ -2617,8 +2569,7 @@ module Google
2617
2569
  # Update properties of this object
2618
2570
  def update!(**args)
2619
2571
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
2620
- @membership_spec = args[:membership_spec] if args.key?(:membership_spec)
2621
- @policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
2572
+ @component_states = args[:component_states] if args.key?(:component_states)
2622
2573
  @state = args[:state] if args.key?(:state)
2623
2574
  end
2624
2575
  end
@@ -2645,6 +2596,31 @@ module Google
2645
2596
  end
2646
2597
  end
2647
2598
 
2599
+ # OnClusterState represents the state of a sub-component of Policy Controller.
2600
+ class PolicyControllerOnClusterState
2601
+ include Google::Apis::Core::Hashable
2602
+
2603
+ # Surface potential errors or information logs.
2604
+ # Corresponds to the JSON property `details`
2605
+ # @return [String]
2606
+ attr_accessor :details
2607
+
2608
+ # The lifecycle state of this component.
2609
+ # Corresponds to the JSON property `state`
2610
+ # @return [String]
2611
+ attr_accessor :state
2612
+
2613
+ def initialize(**args)
2614
+ update!(**args)
2615
+ end
2616
+
2617
+ # Update properties of this object
2618
+ def update!(**args)
2619
+ @details = args[:details] if args.key?(:details)
2620
+ @state = args[:state] if args.key?(:state)
2621
+ end
2622
+ end
2623
+
2648
2624
  # The config specifying which default library templates to install.
2649
2625
  class PolicyControllerTemplateLibraryConfig
2650
2626
  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.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220706"
25
+ REVISION = "20220805"
26
26
  end
27
27
  end
28
28
  end
@@ -418,31 +418,25 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
- class PolicyControllerHubState
422
- class Representation < Google::Apis::Core::JsonRepresentation; end
423
-
424
- include Google::Apis::Core::JsonObjectSupport
425
- end
426
-
427
- class PolicyControllerHubVersion
421
+ class PolicyControllerMembershipSpec
428
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
423
 
430
424
  include Google::Apis::Core::JsonObjectSupport
431
425
  end
432
426
 
433
- class PolicyControllerMembershipSpec
427
+ class PolicyControllerMembershipState
434
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
429
 
436
430
  include Google::Apis::Core::JsonObjectSupport
437
431
  end
438
432
 
439
- class PolicyControllerMembershipState
433
+ class PolicyControllerMonitoringConfig
440
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
435
 
442
436
  include Google::Apis::Core::JsonObjectSupport
443
437
  end
444
438
 
445
- class PolicyControllerMonitoringConfig
439
+ class PolicyControllerOnClusterState
446
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
441
 
448
442
  include Google::Apis::Core::JsonObjectSupport
@@ -1204,22 +1198,6 @@ module Google
1204
1198
  end
1205
1199
  end
1206
1200
 
1207
- class PolicyControllerHubState
1208
- # @private
1209
- class Representation < Google::Apis::Core::JsonRepresentation
1210
- hash :deployment_states, as: 'deploymentStates'
1211
- property :version, as: 'version', class: Google::Apis::GkehubV1beta::PolicyControllerHubVersion, decorator: Google::Apis::GkehubV1beta::PolicyControllerHubVersion::Representation
1212
-
1213
- end
1214
- end
1215
-
1216
- class PolicyControllerHubVersion
1217
- # @private
1218
- class Representation < Google::Apis::Core::JsonRepresentation
1219
- property :version, as: 'version'
1220
- end
1221
- end
1222
-
1223
1201
  class PolicyControllerMembershipSpec
1224
1202
  # @private
1225
1203
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1233,9 +1211,7 @@ module Google
1233
1211
  # @private
1234
1212
  class Representation < Google::Apis::Core::JsonRepresentation
1235
1213
  property :cluster_name, as: 'clusterName'
1236
- property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec::Representation
1237
-
1238
- property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1beta::PolicyControllerHubState, decorator: Google::Apis::GkehubV1beta::PolicyControllerHubState::Representation
1214
+ hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1239
1215
 
1240
1216
  property :state, as: 'state'
1241
1217
  end
@@ -1248,6 +1224,14 @@ module Google
1248
1224
  end
1249
1225
  end
1250
1226
 
1227
+ class PolicyControllerOnClusterState
1228
+ # @private
1229
+ class Representation < Google::Apis::Core::JsonRepresentation
1230
+ property :details, as: 'details'
1231
+ property :state, as: 'state'
1232
+ end
1233
+ end
1234
+
1251
1235
  class PolicyControllerTemplateLibraryConfig
1252
1236
  # @private
1253
1237
  class Representation < Google::Apis::Core::JsonRepresentation
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.29.0
4
+ version: 0.30.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-07-18 00:00:00.000000000 Z
11
+ date: 2022-08-15 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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.30.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: []