google-apis-gkehub_v1alpha 0.35.0 → 0.36.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: 17ed99a8d0ee5072a938d16a92cc4eac92cda57f88e6f73d9029ac9853fc3f3d
|
4
|
+
data.tar.gz: 2091c5e6783cfd4388eb4e69f647d2eaa9d9b6ae1fb25a52c62f86769a5e6f81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92cd0d01e0961c3a30fa819f6b73fb9991a95d6b43d88d5620a048cfee8a3a853e09384f6ead363e5ef7b669d6cf23d7b0d66710a13030ee9aad9a827e3c83b8
|
7
|
+
data.tar.gz: f06c2e4935511a846b7dd2dd3a40b8052fdd7f231ebd2a876d571db6aaa39457f9bdc3eb905b5915ebc915483d45560930880f5d34e2bde2381fd7ccdebd7f28
|
data/CHANGELOG.md
CHANGED
@@ -408,25 +408,28 @@ module Google
|
|
408
408
|
# anyone who is authenticated with a Google account or a service account. * `
|
409
409
|
# user:`emailid``: An email address that represents a specific Google account.
|
410
410
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
411
|
-
# address that represents a service account. For example, `my-other-app@
|
412
|
-
# gserviceaccount.com`. * `
|
413
|
-
#
|
414
|
-
#
|
415
|
-
#
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
# emailid
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
429
|
-
#
|
411
|
+
# address that represents a Google service account. For example, `my-other-app@
|
412
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
413
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
414
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
415
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
416
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
417
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
418
|
+
# email address (plus unique identifier) representing a user that has been
|
419
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
420
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
421
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
422
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
423
|
+
# representing a service account that has been recently deleted. For example, `
|
424
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
425
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
426
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
427
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
428
|
+
# representing a Google group that has been recently deleted. For example, `
|
429
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
430
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
431
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
432
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
430
433
|
# Corresponds to the JSON property `members`
|
431
434
|
# @return [Array<String>]
|
432
435
|
attr_accessor :members
|
@@ -3411,53 +3414,6 @@ module Google
|
|
3411
3414
|
end
|
3412
3415
|
end
|
3413
3416
|
|
3414
|
-
# State of the Policy Controller.
|
3415
|
-
class PolicyControllerHubState
|
3416
|
-
include Google::Apis::Core::Hashable
|
3417
|
-
|
3418
|
-
# Map from deployment name to deployment state. Example deployments are
|
3419
|
-
# gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
|
3420
|
-
# mutation.
|
3421
|
-
# Corresponds to the JSON property `deploymentStates`
|
3422
|
-
# @return [Hash<String,String>]
|
3423
|
-
attr_accessor :deployment_states
|
3424
|
-
|
3425
|
-
# The build version of Gatekeeper that Policy Controller is using.
|
3426
|
-
# Corresponds to the JSON property `version`
|
3427
|
-
# @return [Google::Apis::GkehubV1alpha::PolicyControllerHubVersion]
|
3428
|
-
attr_accessor :version
|
3429
|
-
|
3430
|
-
def initialize(**args)
|
3431
|
-
update!(**args)
|
3432
|
-
end
|
3433
|
-
|
3434
|
-
# Update properties of this object
|
3435
|
-
def update!(**args)
|
3436
|
-
@deployment_states = args[:deployment_states] if args.key?(:deployment_states)
|
3437
|
-
@version = args[:version] if args.key?(:version)
|
3438
|
-
end
|
3439
|
-
end
|
3440
|
-
|
3441
|
-
# The build version of Gatekeeper that Policy Controller is using.
|
3442
|
-
class PolicyControllerHubVersion
|
3443
|
-
include Google::Apis::Core::Hashable
|
3444
|
-
|
3445
|
-
# The gatekeeper image tag that is composed of ACM version, git tag, build
|
3446
|
-
# number.
|
3447
|
-
# Corresponds to the JSON property `version`
|
3448
|
-
# @return [String]
|
3449
|
-
attr_accessor :version
|
3450
|
-
|
3451
|
-
def initialize(**args)
|
3452
|
-
update!(**args)
|
3453
|
-
end
|
3454
|
-
|
3455
|
-
# Update properties of this object
|
3456
|
-
def update!(**args)
|
3457
|
-
@version = args[:version] if args.key?(:version)
|
3458
|
-
end
|
3459
|
-
end
|
3460
|
-
|
3461
3417
|
# **Policy Controller**: Configuration for a single cluster. Intended to
|
3462
3418
|
# parallel the PolicyController CR.
|
3463
3419
|
class PolicyControllerMembershipSpec
|
@@ -3496,18 +3452,14 @@ module Google
|
|
3496
3452
|
# @return [String]
|
3497
3453
|
attr_accessor :cluster_name
|
3498
3454
|
|
3499
|
-
#
|
3500
|
-
#
|
3501
|
-
# Corresponds to the JSON property `
|
3502
|
-
# @return [Google::Apis::GkehubV1alpha::
|
3503
|
-
attr_accessor :
|
3504
|
-
|
3505
|
-
# State of the Policy Controller.
|
3506
|
-
# Corresponds to the JSON property `policyControllerHubState`
|
3507
|
-
# @return [Google::Apis::GkehubV1alpha::PolicyControllerHubState]
|
3508
|
-
attr_accessor :policy_controller_hub_state
|
3455
|
+
# Currently these include (also serving as map keys): 1. "admission" 2. "audit"
|
3456
|
+
# 3. "mutation" 4. "constraint template library"
|
3457
|
+
# Corresponds to the JSON property `componentStates`
|
3458
|
+
# @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
|
3459
|
+
attr_accessor :component_states
|
3509
3460
|
|
3510
|
-
# The lifecycle state
|
3461
|
+
# The overall Policy Controller lifecycle state observed by the Hub Feature
|
3462
|
+
# controller.
|
3511
3463
|
# Corresponds to the JSON property `state`
|
3512
3464
|
# @return [String]
|
3513
3465
|
attr_accessor :state
|
@@ -3519,8 +3471,7 @@ module Google
|
|
3519
3471
|
# Update properties of this object
|
3520
3472
|
def update!(**args)
|
3521
3473
|
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
3522
|
-
@
|
3523
|
-
@policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
|
3474
|
+
@component_states = args[:component_states] if args.key?(:component_states)
|
3524
3475
|
@state = args[:state] if args.key?(:state)
|
3525
3476
|
end
|
3526
3477
|
end
|
@@ -3547,6 +3498,31 @@ module Google
|
|
3547
3498
|
end
|
3548
3499
|
end
|
3549
3500
|
|
3501
|
+
# OnClusterState represents the state of a sub-component of Policy Controller.
|
3502
|
+
class PolicyControllerOnClusterState
|
3503
|
+
include Google::Apis::Core::Hashable
|
3504
|
+
|
3505
|
+
# Surface potential errors or information logs.
|
3506
|
+
# Corresponds to the JSON property `details`
|
3507
|
+
# @return [String]
|
3508
|
+
attr_accessor :details
|
3509
|
+
|
3510
|
+
# The lifecycle state of this component.
|
3511
|
+
# Corresponds to the JSON property `state`
|
3512
|
+
# @return [String]
|
3513
|
+
attr_accessor :state
|
3514
|
+
|
3515
|
+
def initialize(**args)
|
3516
|
+
update!(**args)
|
3517
|
+
end
|
3518
|
+
|
3519
|
+
# Update properties of this object
|
3520
|
+
def update!(**args)
|
3521
|
+
@details = args[:details] if args.key?(:details)
|
3522
|
+
@state = args[:state] if args.key?(:state)
|
3523
|
+
end
|
3524
|
+
end
|
3525
|
+
|
3550
3526
|
# The config specifying which default library templates to install.
|
3551
3527
|
class PolicyControllerTemplateLibraryConfig
|
3552
3528
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1alpha
|
18
18
|
# Version of the google-apis-gkehub_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.36.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
|
@@ -556,31 +556,25 @@ module Google
|
|
556
556
|
include Google::Apis::Core::JsonObjectSupport
|
557
557
|
end
|
558
558
|
|
559
|
-
class
|
560
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
-
|
562
|
-
include Google::Apis::Core::JsonObjectSupport
|
563
|
-
end
|
564
|
-
|
565
|
-
class PolicyControllerHubVersion
|
559
|
+
class PolicyControllerMembershipSpec
|
566
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
561
|
|
568
562
|
include Google::Apis::Core::JsonObjectSupport
|
569
563
|
end
|
570
564
|
|
571
|
-
class
|
565
|
+
class PolicyControllerMembershipState
|
572
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
567
|
|
574
568
|
include Google::Apis::Core::JsonObjectSupport
|
575
569
|
end
|
576
570
|
|
577
|
-
class
|
571
|
+
class PolicyControllerMonitoringConfig
|
578
572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
573
|
|
580
574
|
include Google::Apis::Core::JsonObjectSupport
|
581
575
|
end
|
582
576
|
|
583
|
-
class
|
577
|
+
class PolicyControllerOnClusterState
|
584
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
579
|
|
586
580
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1635,22 +1629,6 @@ module Google
|
|
1635
1629
|
end
|
1636
1630
|
end
|
1637
1631
|
|
1638
|
-
class PolicyControllerHubState
|
1639
|
-
# @private
|
1640
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1641
|
-
hash :deployment_states, as: 'deploymentStates'
|
1642
|
-
property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion::Representation
|
1643
|
-
|
1644
|
-
end
|
1645
|
-
end
|
1646
|
-
|
1647
|
-
class PolicyControllerHubVersion
|
1648
|
-
# @private
|
1649
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1650
|
-
property :version, as: 'version'
|
1651
|
-
end
|
1652
|
-
end
|
1653
|
-
|
1654
1632
|
class PolicyControllerMembershipSpec
|
1655
1633
|
# @private
|
1656
1634
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1664,9 +1642,7 @@ module Google
|
|
1664
1642
|
# @private
|
1665
1643
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1666
1644
|
property :cluster_name, as: 'clusterName'
|
1667
|
-
|
1668
|
-
|
1669
|
-
property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubState::Representation
|
1645
|
+
hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
|
1670
1646
|
|
1671
1647
|
property :state, as: 'state'
|
1672
1648
|
end
|
@@ -1679,6 +1655,14 @@ module Google
|
|
1679
1655
|
end
|
1680
1656
|
end
|
1681
1657
|
|
1658
|
+
class PolicyControllerOnClusterState
|
1659
|
+
# @private
|
1660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1661
|
+
property :details, as: 'details'
|
1662
|
+
property :state, as: 'state'
|
1663
|
+
end
|
1664
|
+
end
|
1665
|
+
|
1682
1666
|
class PolicyControllerTemplateLibraryConfig
|
1683
1667
|
# @private
|
1684
1668
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|