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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f71b8674992bb80972acd5a830117a1a858443e637d3e0f2f5bce87799a3c61
|
4
|
+
data.tar.gz: d8db3b2ab09d40d77f421b1db53ff63e9fd619a285a466a6e12ea64fef703db7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 384240535e4bb23065204b9ed3f1a6cdea736da139d26f881341827043afd935fae3f37c36f5a93148141a59d73658e8540e35bbac28088b3c246e76b7ead429
|
7
|
+
data.tar.gz: 717e114f01c34dc5fc2ea7eafd26b0fd3168d18d6a80c3b407b18d74d155a2099d2478e415f93cefc3bda1c1dc5eed3ba2576231676c218543251e7af26af37b
|
data/CHANGELOG.md
CHANGED
@@ -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@
|
337
|
-
# gserviceaccount.com`. * `
|
338
|
-
#
|
339
|
-
#
|
340
|
-
#
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
# emailid
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
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
|
-
#
|
2598
|
-
#
|
2599
|
-
# Corresponds to the JSON property `
|
2600
|
-
# @return [Google::Apis::GkehubV1beta::
|
2601
|
-
attr_accessor :
|
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
|
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
|
-
@
|
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.
|
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 = "
|
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
|
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
|
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
|
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
|
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
|
-
|
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.
|
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-
|
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.
|
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: []
|