google-apis-gkehub_v1beta 0.13.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/gkehub_v1beta/classes.rb +240 -1
- data/lib/google/apis/gkehub_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/gkehub_v1beta/representations.rb +112 -0
- data/lib/google/apis/gkehub_v1beta/service.rb +50 -41
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3d74c5124c3a7b1357bdc032d294f63a242d8d4930415a525c7151a9da4ba60
|
4
|
+
data.tar.gz: 4f13bea1186f956d5acb674f344ddcd0e29a7d2acb2cebdab530923167574c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5549dced5e585da9d01b53bab73678147bbb64f9535b1ff26eca74ddffe0240df41db4751de698501613cc13976b20df49be2af949cb5b6d2a930b7d48399b60
|
7
|
+
data.tar.gz: 0f3ba712e694f59aeb74f1a7289d5acb8095be963ee8d5318ed86660c2ec29f190d6ee034b896bead8b96b02022726a7d014b5fa03de167402fe1bc2ee809813
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta
|
2
2
|
|
3
|
+
### v0.17.0 (2022-01-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220122
|
6
|
+
|
7
|
+
### v0.16.0 (2022-01-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220107
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.15.0 (2021-12-16)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.14.0 (2021-11-13)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211105
|
19
|
+
|
3
20
|
### v0.13.0 (2021-10-30)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211021
|
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.
|
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.
|
@@ -345,6 +345,14 @@ module Google
|
|
345
345
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
|
346
346
|
attr_accessor :git
|
347
347
|
|
348
|
+
# Set to true to enable the Config Sync admission webhook to prevent drifts. If
|
349
|
+
# set to `false`, disables the Config Sync admission webhook and does not
|
350
|
+
# prevent drifts.
|
351
|
+
# Corresponds to the JSON property `preventDrift`
|
352
|
+
# @return [Boolean]
|
353
|
+
attr_accessor :prevent_drift
|
354
|
+
alias_method :prevent_drift?, :prevent_drift
|
355
|
+
|
348
356
|
# Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
|
349
357
|
# mode.
|
350
358
|
# Corresponds to the JSON property `sourceFormat`
|
@@ -359,6 +367,7 @@ module Google
|
|
359
367
|
def update!(**args)
|
360
368
|
@enabled = args[:enabled] if args.key?(:enabled)
|
361
369
|
@git = args[:git] if args.key?(:git)
|
370
|
+
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
362
371
|
@source_format = args[:source_format] if args.key?(:source_format)
|
363
372
|
end
|
364
373
|
end
|
@@ -587,7 +596,9 @@ module Google
|
|
587
596
|
# @return [String]
|
588
597
|
attr_accessor :policy_dir
|
589
598
|
|
590
|
-
# Type of secret configured for access to the Git repo.
|
599
|
+
# Type of secret configured for access to the Git repo. Must be one of ssh,
|
600
|
+
# cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this
|
601
|
+
# is case-sensitive. Required.
|
591
602
|
# Corresponds to the JSON property `secretType`
|
592
603
|
# @return [String]
|
593
604
|
attr_accessor :secret_type
|
@@ -1669,6 +1680,11 @@ module Google
|
|
1669
1680
|
class MembershipFeatureSpec
|
1670
1681
|
include Google::Apis::Core::Hashable
|
1671
1682
|
|
1683
|
+
# **Cloud Build**: Configurations for each Cloud Build enabled cluster.
|
1684
|
+
# Corresponds to the JSON property `cloudbuild`
|
1685
|
+
# @return [Google::Apis::GkehubV1beta::MembershipSpec]
|
1686
|
+
attr_accessor :cloudbuild
|
1687
|
+
|
1672
1688
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
1673
1689
|
# parallel the ConfigManagement CR.
|
1674
1690
|
# Corresponds to the JSON property `configmanagement`
|
@@ -1686,6 +1702,7 @@ module Google
|
|
1686
1702
|
|
1687
1703
|
# Update properties of this object
|
1688
1704
|
def update!(**args)
|
1705
|
+
@cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
|
1689
1706
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
1690
1707
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
1691
1708
|
end
|
@@ -1716,6 +1733,11 @@ module Google
|
|
1716
1733
|
# @return [Google::Apis::GkehubV1beta::MeteringMembershipState]
|
1717
1734
|
attr_accessor :metering
|
1718
1735
|
|
1736
|
+
# **Policy Controller**: State for a single cluster.
|
1737
|
+
# Corresponds to the JSON property `policycontroller`
|
1738
|
+
# @return [Google::Apis::GkehubV1beta::PolicyControllerMembershipState]
|
1739
|
+
attr_accessor :policycontroller
|
1740
|
+
|
1719
1741
|
# FeatureState describes the high-level state of a Feature. It may be used to
|
1720
1742
|
# describe a Feature's state at the environ-level, or per-membershop, depending
|
1721
1743
|
# on the context.
|
@@ -1733,10 +1755,36 @@ module Google
|
|
1733
1755
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
1734
1756
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
1735
1757
|
@metering = args[:metering] if args.key?(:metering)
|
1758
|
+
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
1736
1759
|
@state = args[:state] if args.key?(:state)
|
1737
1760
|
end
|
1738
1761
|
end
|
1739
1762
|
|
1763
|
+
# **Cloud Build**: Configurations for each Cloud Build enabled cluster.
|
1764
|
+
class MembershipSpec
|
1765
|
+
include Google::Apis::Core::Hashable
|
1766
|
+
|
1767
|
+
# Whether it is allowed to run the privileged builds on the cluster or not.
|
1768
|
+
# Corresponds to the JSON property `securityPolicy`
|
1769
|
+
# @return [String]
|
1770
|
+
attr_accessor :security_policy
|
1771
|
+
|
1772
|
+
# Version of the cloud build software on the cluster.
|
1773
|
+
# Corresponds to the JSON property `version`
|
1774
|
+
# @return [String]
|
1775
|
+
attr_accessor :version
|
1776
|
+
|
1777
|
+
def initialize(**args)
|
1778
|
+
update!(**args)
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
# Update properties of this object
|
1782
|
+
def update!(**args)
|
1783
|
+
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
1784
|
+
@version = args[:version] if args.key?(:version)
|
1785
|
+
end
|
1786
|
+
end
|
1787
|
+
|
1740
1788
|
# **Metering**: Per-Membership Feature State.
|
1741
1789
|
class MeteringMembershipState
|
1742
1790
|
include Google::Apis::Core::Hashable
|
@@ -2008,6 +2056,197 @@ module Google
|
|
2008
2056
|
end
|
2009
2057
|
end
|
2010
2058
|
|
2059
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2060
|
+
# parallel the PolicyController CR.
|
2061
|
+
class PolicyControllerMembershipSpec
|
2062
|
+
include Google::Apis::Core::Hashable
|
2063
|
+
|
2064
|
+
# Configuration for Policy Controller
|
2065
|
+
# Corresponds to the JSON property `policyControllerHubConfig`
|
2066
|
+
# @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubConfig]
|
2067
|
+
attr_accessor :policy_controller_hub_config
|
2068
|
+
|
2069
|
+
# Version of Policy Controller installed.
|
2070
|
+
# Corresponds to the JSON property `version`
|
2071
|
+
# @return [String]
|
2072
|
+
attr_accessor :version
|
2073
|
+
|
2074
|
+
def initialize(**args)
|
2075
|
+
update!(**args)
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
# Update properties of this object
|
2079
|
+
def update!(**args)
|
2080
|
+
@policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
|
2081
|
+
@version = args[:version] if args.key?(:version)
|
2082
|
+
end
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
# **Policy Controller**: State for a single cluster.
|
2086
|
+
class PolicyControllerMembershipState
|
2087
|
+
include Google::Apis::Core::Hashable
|
2088
|
+
|
2089
|
+
# The user-defined name for the cluster used by ClusterSelectors to group
|
2090
|
+
# clusters together. This should match Membership's membership_name, unless the
|
2091
|
+
# user installed PC on the cluster manually prior to enabling the PC hub feature.
|
2092
|
+
# Unique within a Policy Controller installation.
|
2093
|
+
# Corresponds to the JSON property `clusterName`
|
2094
|
+
# @return [String]
|
2095
|
+
attr_accessor :cluster_name
|
2096
|
+
|
2097
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2098
|
+
# parallel the PolicyController CR.
|
2099
|
+
# Corresponds to the JSON property `membershipSpec`
|
2100
|
+
# @return [Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec]
|
2101
|
+
attr_accessor :membership_spec
|
2102
|
+
|
2103
|
+
# State of the Policy Controller.
|
2104
|
+
# Corresponds to the JSON property `policyControllerHubState`
|
2105
|
+
# @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState]
|
2106
|
+
attr_accessor :policy_controller_hub_state
|
2107
|
+
|
2108
|
+
# The lifecycle state Policy Controller is in.
|
2109
|
+
# Corresponds to the JSON property `state`
|
2110
|
+
# @return [String]
|
2111
|
+
attr_accessor :state
|
2112
|
+
|
2113
|
+
def initialize(**args)
|
2114
|
+
update!(**args)
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
# Update properties of this object
|
2118
|
+
def update!(**args)
|
2119
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
2120
|
+
@membership_spec = args[:membership_spec] if args.key?(:membership_spec)
|
2121
|
+
@policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
|
2122
|
+
@state = args[:state] if args.key?(:state)
|
2123
|
+
end
|
2124
|
+
end
|
2125
|
+
|
2126
|
+
# Configuration for Policy Controller
|
2127
|
+
class PolicyControllerPolicyControllerHubConfig
|
2128
|
+
include Google::Apis::Core::Hashable
|
2129
|
+
|
2130
|
+
# Sets the interval for Policy Controller Audit Scans (in seconds). When set to
|
2131
|
+
# 0, this disables audit functionality altogether.
|
2132
|
+
# Corresponds to the JSON property `auditIntervalSeconds`
|
2133
|
+
# @return [Fixnum]
|
2134
|
+
attr_accessor :audit_interval_seconds
|
2135
|
+
|
2136
|
+
# The set of namespaces that are excluded from Policy Controller checks.
|
2137
|
+
# Namespaces do not need to currently exist on the cluster.
|
2138
|
+
# Corresponds to the JSON property `exemptableNamespaces`
|
2139
|
+
# @return [Array<String>]
|
2140
|
+
attr_accessor :exemptable_namespaces
|
2141
|
+
|
2142
|
+
# The install_spec represents the intended state specified by the latest request
|
2143
|
+
# that mutated install_spec in the feature spec, not the lifecycle state of the
|
2144
|
+
# feature observed by the Hub feature controller that is reported in the feature
|
2145
|
+
# state.
|
2146
|
+
# Corresponds to the JSON property `installSpec`
|
2147
|
+
# @return [String]
|
2148
|
+
attr_accessor :install_spec
|
2149
|
+
|
2150
|
+
# Logs all denies and dry run failures.
|
2151
|
+
# Corresponds to the JSON property `logDeniesEnabled`
|
2152
|
+
# @return [Boolean]
|
2153
|
+
attr_accessor :log_denies_enabled
|
2154
|
+
alias_method :log_denies_enabled?, :log_denies_enabled
|
2155
|
+
|
2156
|
+
# Enables the ability to use Constraint Templates that reference to objects
|
2157
|
+
# other than the object currently being evaluated.
|
2158
|
+
# Corresponds to the JSON property `referentialRulesEnabled`
|
2159
|
+
# @return [Boolean]
|
2160
|
+
attr_accessor :referential_rules_enabled
|
2161
|
+
alias_method :referential_rules_enabled?, :referential_rules_enabled
|
2162
|
+
|
2163
|
+
# The config specifying which default library templates to install.
|
2164
|
+
# Corresponds to the JSON property `templateLibraryConfig`
|
2165
|
+
# @return [Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig]
|
2166
|
+
attr_accessor :template_library_config
|
2167
|
+
|
2168
|
+
def initialize(**args)
|
2169
|
+
update!(**args)
|
2170
|
+
end
|
2171
|
+
|
2172
|
+
# Update properties of this object
|
2173
|
+
def update!(**args)
|
2174
|
+
@audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
|
2175
|
+
@exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
|
2176
|
+
@install_spec = args[:install_spec] if args.key?(:install_spec)
|
2177
|
+
@log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
|
2178
|
+
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
2179
|
+
@template_library_config = args[:template_library_config] if args.key?(:template_library_config)
|
2180
|
+
end
|
2181
|
+
end
|
2182
|
+
|
2183
|
+
# State of the Policy Controller.
|
2184
|
+
class PolicyControllerPolicyControllerHubState
|
2185
|
+
include Google::Apis::Core::Hashable
|
2186
|
+
|
2187
|
+
# Map from deployment name to deployment state. Example deployments are
|
2188
|
+
# gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
|
2189
|
+
# mutation.
|
2190
|
+
# Corresponds to the JSON property `deploymentStates`
|
2191
|
+
# @return [Hash<String,String>]
|
2192
|
+
attr_accessor :deployment_states
|
2193
|
+
|
2194
|
+
# The build version of Gatekeeper that Policy Controller is using.
|
2195
|
+
# Corresponds to the JSON property `version`
|
2196
|
+
# @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion]
|
2197
|
+
attr_accessor :version
|
2198
|
+
|
2199
|
+
def initialize(**args)
|
2200
|
+
update!(**args)
|
2201
|
+
end
|
2202
|
+
|
2203
|
+
# Update properties of this object
|
2204
|
+
def update!(**args)
|
2205
|
+
@deployment_states = args[:deployment_states] if args.key?(:deployment_states)
|
2206
|
+
@version = args[:version] if args.key?(:version)
|
2207
|
+
end
|
2208
|
+
end
|
2209
|
+
|
2210
|
+
# The build version of Gatekeeper that Policy Controller is using.
|
2211
|
+
class PolicyControllerPolicyControllerHubVersion
|
2212
|
+
include Google::Apis::Core::Hashable
|
2213
|
+
|
2214
|
+
# The gatekeeper image tag that is composed of ACM version, git tag, build
|
2215
|
+
# number.
|
2216
|
+
# Corresponds to the JSON property `version`
|
2217
|
+
# @return [String]
|
2218
|
+
attr_accessor :version
|
2219
|
+
|
2220
|
+
def initialize(**args)
|
2221
|
+
update!(**args)
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
# Update properties of this object
|
2225
|
+
def update!(**args)
|
2226
|
+
@version = args[:version] if args.key?(:version)
|
2227
|
+
end
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
# The config specifying which default library templates to install.
|
2231
|
+
class PolicyControllerTemplateLibraryConfig
|
2232
|
+
include Google::Apis::Core::Hashable
|
2233
|
+
|
2234
|
+
# Whether the standard template library should be installed or not.
|
2235
|
+
# Corresponds to the JSON property `included`
|
2236
|
+
# @return [Boolean]
|
2237
|
+
attr_accessor :included
|
2238
|
+
alias_method :included?, :included
|
2239
|
+
|
2240
|
+
def initialize(**args)
|
2241
|
+
update!(**args)
|
2242
|
+
end
|
2243
|
+
|
2244
|
+
# Update properties of this object
|
2245
|
+
def update!(**args)
|
2246
|
+
@included = args[:included] if args.key?(:included)
|
2247
|
+
end
|
2248
|
+
end
|
2249
|
+
|
2011
2250
|
# Request message for `SetIamPolicy` method.
|
2012
2251
|
class SetIamPolicyRequest
|
2013
2252
|
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.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220122"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -310,6 +310,12 @@ module Google
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
311
311
|
end
|
312
312
|
|
313
|
+
class MembershipSpec
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
313
319
|
class MeteringMembershipState
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
321
|
|
@@ -340,6 +346,42 @@ module Google
|
|
340
346
|
include Google::Apis::Core::JsonObjectSupport
|
341
347
|
end
|
342
348
|
|
349
|
+
class PolicyControllerMembershipSpec
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class PolicyControllerMembershipState
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class PolicyControllerPolicyControllerHubConfig
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class PolicyControllerPolicyControllerHubState
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class PolicyControllerPolicyControllerHubVersion
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
379
|
+
class PolicyControllerTemplateLibraryConfig
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
343
385
|
class SetIamPolicyRequest
|
344
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
387
|
|
@@ -460,6 +502,7 @@ module Google
|
|
460
502
|
property :enabled, as: 'enabled'
|
461
503
|
property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
|
462
504
|
|
505
|
+
property :prevent_drift, as: 'preventDrift'
|
463
506
|
property :source_format, as: 'sourceFormat'
|
464
507
|
end
|
465
508
|
end
|
@@ -832,6 +875,8 @@ module Google
|
|
832
875
|
class MembershipFeatureSpec
|
833
876
|
# @private
|
834
877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
878
|
+
property :cloudbuild, as: 'cloudbuild', class: Google::Apis::GkehubV1beta::MembershipSpec, decorator: Google::Apis::GkehubV1beta::MembershipSpec::Representation
|
879
|
+
|
835
880
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec::Representation
|
836
881
|
|
837
882
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
|
@@ -850,11 +895,21 @@ module Google
|
|
850
895
|
|
851
896
|
property :metering, as: 'metering', class: Google::Apis::GkehubV1beta::MeteringMembershipState, decorator: Google::Apis::GkehubV1beta::MeteringMembershipState::Representation
|
852
897
|
|
898
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipState::Representation
|
899
|
+
|
853
900
|
property :state, as: 'state', class: Google::Apis::GkehubV1beta::FeatureState, decorator: Google::Apis::GkehubV1beta::FeatureState::Representation
|
854
901
|
|
855
902
|
end
|
856
903
|
end
|
857
904
|
|
905
|
+
class MembershipSpec
|
906
|
+
# @private
|
907
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
908
|
+
property :security_policy, as: 'securityPolicy'
|
909
|
+
property :version, as: 'version'
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
858
913
|
class MeteringMembershipState
|
859
914
|
# @private
|
860
915
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -908,6 +963,63 @@ module Google
|
|
908
963
|
end
|
909
964
|
end
|
910
965
|
|
966
|
+
class PolicyControllerMembershipSpec
|
967
|
+
# @private
|
968
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
969
|
+
property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubConfig::Representation
|
970
|
+
|
971
|
+
property :version, as: 'version'
|
972
|
+
end
|
973
|
+
end
|
974
|
+
|
975
|
+
class PolicyControllerMembershipState
|
976
|
+
# @private
|
977
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
978
|
+
property :cluster_name, as: 'clusterName'
|
979
|
+
property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec::Representation
|
980
|
+
|
981
|
+
property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubState::Representation
|
982
|
+
|
983
|
+
property :state, as: 'state'
|
984
|
+
end
|
985
|
+
end
|
986
|
+
|
987
|
+
class PolicyControllerPolicyControllerHubConfig
|
988
|
+
# @private
|
989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
990
|
+
property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
|
991
|
+
collection :exemptable_namespaces, as: 'exemptableNamespaces'
|
992
|
+
property :install_spec, as: 'installSpec'
|
993
|
+
property :log_denies_enabled, as: 'logDeniesEnabled'
|
994
|
+
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
995
|
+
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
|
996
|
+
|
997
|
+
end
|
998
|
+
end
|
999
|
+
|
1000
|
+
class PolicyControllerPolicyControllerHubState
|
1001
|
+
# @private
|
1002
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1003
|
+
hash :deployment_states, as: 'deploymentStates'
|
1004
|
+
property :version, as: 'version', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerHubVersion::Representation
|
1005
|
+
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
class PolicyControllerPolicyControllerHubVersion
|
1010
|
+
# @private
|
1011
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1012
|
+
property :version, as: 'version'
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
class PolicyControllerTemplateLibraryConfig
|
1017
|
+
# @private
|
1018
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1019
|
+
property :included, as: 'included'
|
1020
|
+
end
|
1021
|
+
end
|
1022
|
+
|
911
1023
|
class SetIamPolicyRequest
|
912
1024
|
# @private
|
913
1025
|
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.
|
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
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
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/*/
|
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/*/
|
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
|
@@ -254,13 +256,16 @@ module Google
|
|
254
256
|
# REQUIRED: The resource for which the policy is being requested. See the
|
255
257
|
# operation documentation for the appropriate value for this field.
|
256
258
|
# @param [Fixnum] options_requested_policy_version
|
257
|
-
# Optional. The policy
|
258
|
-
# 3. Requests specifying an invalid value will be
|
259
|
-
# policies with any conditional bindings must
|
260
|
-
#
|
261
|
-
# field unset.
|
262
|
-
#
|
263
|
-
#
|
259
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
260
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
261
|
+
# rejected. Requests for policies with any conditional role bindings must
|
262
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
263
|
+
# valid value or leave the field unset. The policy in the response might use the
|
264
|
+
# policy version that you specified, or it might use a lower policy version. For
|
265
|
+
# example, if you specify version 3, but the policy has no conditional role
|
266
|
+
# bindings, the response uses version 1. To learn which resources support
|
267
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
268
|
+
# google.com/iam/help/conditions/resource-policies).
|
264
269
|
# @param [String] fields
|
265
270
|
# Selector specifying which fields to include in a partial response.
|
266
271
|
# @param [String] quota_user
|
@@ -291,8 +296,8 @@ module Google
|
|
291
296
|
|
292
297
|
# Lists Features in a given project and location.
|
293
298
|
# @param [String] parent
|
294
|
-
# The parent (project and location) where the Features will be listed.
|
295
|
-
# 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/*`.
|
296
301
|
# @param [String] filter
|
297
302
|
# Lists Features that match the filter expression, following the syntax outlined
|
298
303
|
# in https://google.aip.dev/160. Examples: - Feature with the name "servicemesh"
|
@@ -342,19 +347,20 @@ module Google
|
|
342
347
|
|
343
348
|
# Updates an existing Feature.
|
344
349
|
# @param [String] name
|
345
|
-
# The Feature resource name in the format `projects/*/locations/*/
|
350
|
+
# Required. The Feature resource name in the format `projects/*/locations/*/
|
351
|
+
# features/*`.
|
346
352
|
# @param [Google::Apis::GkehubV1beta::Feature] feature_object
|
347
353
|
# @param [String] request_id
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
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).
|
358
364
|
# @param [String] update_mask
|
359
365
|
# Mask of fields to update.
|
360
366
|
# @param [String] fields
|
@@ -468,13 +474,16 @@ module Google
|
|
468
474
|
# REQUIRED: The resource for which the policy is being requested. See the
|
469
475
|
# operation documentation for the appropriate value for this field.
|
470
476
|
# @param [Fixnum] options_requested_policy_version
|
471
|
-
# Optional. The policy
|
472
|
-
# 3. Requests specifying an invalid value will be
|
473
|
-
# policies with any conditional bindings must
|
474
|
-
#
|
475
|
-
# field unset.
|
476
|
-
#
|
477
|
-
#
|
477
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
478
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
479
|
+
# rejected. Requests for policies with any conditional role bindings must
|
480
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
481
|
+
# valid value or leave the field unset. The policy in the response might use the
|
482
|
+
# policy version that you specified, or it might use a lower policy version. For
|
483
|
+
# example, if you specify version 3, but the policy has no conditional role
|
484
|
+
# bindings, the response uses version 1. To learn which resources support
|
485
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
486
|
+
# google.com/iam/help/conditions/resource-policies).
|
478
487
|
# @param [String] fields
|
479
488
|
# Selector specifying which fields to include in a partial response.
|
480
489
|
# @param [String] quota_user
|
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.17.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:
|
11
|
+
date: 2022-01-31 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.17.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.
|
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
|