google-apis-gkehub_v1alpha 0.21.0 → 0.24.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: c1e61da74bda01c7fe6fec2a93956084c90cec23ae4a67e21d77d76f1cb8eb12
|
4
|
+
data.tar.gz: 837d06561dea7382b40b5004b4358f6eaa52bad468d499b749daf13903809fae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c7d3b3b15e9434a94dbb483dfc0d6eeaeab03c69c3cc9dc43c4afcc8d0960c87e17dda0fe18f91da16d2d6c65865ff9f8263067629fa99848d2d7968c0350b1
|
7
|
+
data.tar.gz: ad4dda282556dc8f4188dca811a7964c1282359a982b63e09fdf2e01e7bb2190eef8119fe7d2c5e5e9b1d6ce807000889be8276cf4cba61280b32cc72f107dcf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.24.0 (2022-03-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220318
|
6
|
+
|
7
|
+
### v0.23.0 (2022-03-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220303
|
10
|
+
|
11
|
+
### v0.22.0 (2022-02-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220204
|
14
|
+
|
3
15
|
### v0.21.0 (2022-02-05)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220128
|
@@ -22,6 +22,25 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GkehubV1alpha
|
24
24
|
|
25
|
+
# **Anthos Observability**: Spec
|
26
|
+
class AnthosObservabilityFeatureSpec
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# **Anthosobservability**: Per-Membership Feature spec.
|
30
|
+
# Corresponds to the JSON property `defaultMembershipSpec`
|
31
|
+
# @return [Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec]
|
32
|
+
attr_accessor :default_membership_spec
|
33
|
+
|
34
|
+
def initialize(**args)
|
35
|
+
update!(**args)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Update properties of this object
|
39
|
+
def update!(**args)
|
40
|
+
@default_membership_spec = args[:default_membership_spec] if args.key?(:default_membership_spec)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
25
44
|
# **Anthosobservability**: Per-Membership Feature spec.
|
26
45
|
class AnthosObservabilityMembershipSpec
|
27
46
|
include Google::Apis::Core::Hashable
|
@@ -41,6 +60,11 @@ module Google
|
|
41
60
|
attr_accessor :enable_stackdriver_on_applications
|
42
61
|
alias_method :enable_stackdriver_on_applications?, :enable_stackdriver_on_applications
|
43
62
|
|
63
|
+
# the version of stackdriver operator used by this feature
|
64
|
+
# Corresponds to the JSON property `version`
|
65
|
+
# @return [String]
|
66
|
+
attr_accessor :version
|
67
|
+
|
44
68
|
def initialize(**args)
|
45
69
|
update!(**args)
|
46
70
|
end
|
@@ -49,6 +73,7 @@ module Google
|
|
49
73
|
def update!(**args)
|
50
74
|
@do_not_optimize_metrics = args[:do_not_optimize_metrics] if args.key?(:do_not_optimize_metrics)
|
51
75
|
@enable_stackdriver_on_applications = args[:enable_stackdriver_on_applications] if args.key?(:enable_stackdriver_on_applications)
|
76
|
+
@version = args[:version] if args.key?(:version)
|
52
77
|
end
|
53
78
|
end
|
54
79
|
|
@@ -345,6 +370,11 @@ module Google
|
|
345
370
|
class CommonFeatureSpec
|
346
371
|
include Google::Apis::Core::Hashable
|
347
372
|
|
373
|
+
# **Anthos Observability**: Spec
|
374
|
+
# Corresponds to the JSON property `anthosobservability`
|
375
|
+
# @return [Google::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec]
|
376
|
+
attr_accessor :anthosobservability
|
377
|
+
|
348
378
|
# Spec for App Dev Experience Feature.
|
349
379
|
# Corresponds to the JSON property `appdevexperience`
|
350
380
|
# @return [Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec]
|
@@ -373,6 +403,7 @@ module Google
|
|
373
403
|
|
374
404
|
# Update properties of this object
|
375
405
|
def update!(**args)
|
406
|
+
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
376
407
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
377
408
|
@cloudauditlogging = args[:cloudauditlogging] if args.key?(:cloudauditlogging)
|
378
409
|
@multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
|
@@ -1341,8 +1372,7 @@ module Google
|
|
1341
1372
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1342
1373
|
# messages in your APIs. A typical example is to use it as the request or the
|
1343
1374
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1344
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1345
|
-
# `Empty` is empty JSON object ````.
|
1375
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1346
1376
|
class Empty
|
1347
1377
|
include Google::Apis::Core::Hashable
|
1348
1378
|
|
@@ -1839,6 +1869,11 @@ module Google
|
|
1839
1869
|
# @return [String]
|
1840
1870
|
attr_accessor :client_id
|
1841
1871
|
|
1872
|
+
# Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
|
1873
|
+
# Corresponds to the JSON property `clientSecret`
|
1874
|
+
# @return [String]
|
1875
|
+
attr_accessor :client_secret
|
1876
|
+
|
1842
1877
|
# Flag to denote if reverse proxy is used to connect to auth provider. This flag
|
1843
1878
|
# should be set to true when provider is not reachable by Google Cloud Console.
|
1844
1879
|
# Corresponds to the JSON property `deployCloudConsoleProxy`
|
@@ -1846,6 +1881,12 @@ module Google
|
|
1846
1881
|
attr_accessor :deploy_cloud_console_proxy
|
1847
1882
|
alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
|
1848
1883
|
|
1884
|
+
# Output only. Encrypted OIDC Client secret
|
1885
|
+
# Corresponds to the JSON property `encryptedClientSecret`
|
1886
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1887
|
+
# @return [String]
|
1888
|
+
attr_accessor :encrypted_client_secret
|
1889
|
+
|
1849
1890
|
# Comma-separated list of key-value pairs.
|
1850
1891
|
# Corresponds to the JSON property `extraParams`
|
1851
1892
|
# @return [String]
|
@@ -1896,7 +1937,9 @@ module Google
|
|
1896
1937
|
def update!(**args)
|
1897
1938
|
@certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
|
1898
1939
|
@client_id = args[:client_id] if args.key?(:client_id)
|
1940
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
1899
1941
|
@deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
|
1942
|
+
@encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
|
1900
1943
|
@extra_params = args[:extra_params] if args.key?(:extra_params)
|
1901
1944
|
@group_prefix = args[:group_prefix] if args.key?(:group_prefix)
|
1902
1945
|
@groups_claim = args[:groups_claim] if args.key?(:groups_claim)
|
@@ -2078,6 +2121,32 @@ module Google
|
|
2078
2121
|
end
|
2079
2122
|
end
|
2080
2123
|
|
2124
|
+
# Response message for the `GkeHub.ListFleetsResponse` method.
|
2125
|
+
class ListFleetsResponse
|
2126
|
+
include Google::Apis::Core::Hashable
|
2127
|
+
|
2128
|
+
# The list of matching fleets.
|
2129
|
+
# Corresponds to the JSON property `fleets`
|
2130
|
+
# @return [Array<Google::Apis::GkehubV1alpha::Fleet>]
|
2131
|
+
attr_accessor :fleets
|
2132
|
+
|
2133
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2134
|
+
# field is omitted, there are no subsequent pages.
|
2135
|
+
# Corresponds to the JSON property `nextPageToken`
|
2136
|
+
# @return [String]
|
2137
|
+
attr_accessor :next_page_token
|
2138
|
+
|
2139
|
+
def initialize(**args)
|
2140
|
+
update!(**args)
|
2141
|
+
end
|
2142
|
+
|
2143
|
+
# Update properties of this object
|
2144
|
+
def update!(**args)
|
2145
|
+
@fleets = args[:fleets] if args.key?(:fleets)
|
2146
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2147
|
+
end
|
2148
|
+
end
|
2149
|
+
|
2081
2150
|
# The response message for Locations.ListLocations.
|
2082
2151
|
class ListLocationsResponse
|
2083
2152
|
include Google::Apis::Core::Hashable
|
@@ -2398,7 +2467,7 @@ module Google
|
|
2398
2467
|
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2399
2468
|
# parallel the PolicyController CR.
|
2400
2469
|
# Corresponds to the JSON property `policycontroller`
|
2401
|
-
# @return [Google::Apis::GkehubV1alpha::
|
2470
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
|
2402
2471
|
attr_accessor :policycontroller
|
2403
2472
|
|
2404
2473
|
# **Workload Certificate**: The membership-specific input for
|
@@ -2450,7 +2519,7 @@ module Google
|
|
2450
2519
|
|
2451
2520
|
# **Policy Controller**: State for a single cluster.
|
2452
2521
|
# Corresponds to the JSON property `policycontroller`
|
2453
|
-
# @return [Google::Apis::GkehubV1alpha::
|
2522
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipState]
|
2454
2523
|
attr_accessor :policycontroller
|
2455
2524
|
|
2456
2525
|
# **Service Mesh**: State for a single Membership, as analyzed by the Service
|
@@ -2859,75 +2928,8 @@ module Google
|
|
2859
2928
|
end
|
2860
2929
|
end
|
2861
2930
|
|
2862
|
-
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2863
|
-
# parallel the PolicyController CR.
|
2864
|
-
class PolicycontrollerMembershipSpec
|
2865
|
-
include Google::Apis::Core::Hashable
|
2866
|
-
|
2867
|
-
# Configuration for Policy Controller
|
2868
|
-
# Corresponds to the JSON property `policyControllerHubConfig`
|
2869
|
-
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig]
|
2870
|
-
attr_accessor :policy_controller_hub_config
|
2871
|
-
|
2872
|
-
# Version of Policy Controller installed.
|
2873
|
-
# Corresponds to the JSON property `version`
|
2874
|
-
# @return [String]
|
2875
|
-
attr_accessor :version
|
2876
|
-
|
2877
|
-
def initialize(**args)
|
2878
|
-
update!(**args)
|
2879
|
-
end
|
2880
|
-
|
2881
|
-
# Update properties of this object
|
2882
|
-
def update!(**args)
|
2883
|
-
@policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
|
2884
|
-
@version = args[:version] if args.key?(:version)
|
2885
|
-
end
|
2886
|
-
end
|
2887
|
-
|
2888
|
-
# **Policy Controller**: State for a single cluster.
|
2889
|
-
class PolicycontrollerMembershipState
|
2890
|
-
include Google::Apis::Core::Hashable
|
2891
|
-
|
2892
|
-
# The user-defined name for the cluster used by ClusterSelectors to group
|
2893
|
-
# clusters together. This should match Membership's membership_name, unless the
|
2894
|
-
# user installed PC on the cluster manually prior to enabling the PC hub feature.
|
2895
|
-
# Unique within a Policy Controller installation.
|
2896
|
-
# Corresponds to the JSON property `clusterName`
|
2897
|
-
# @return [String]
|
2898
|
-
attr_accessor :cluster_name
|
2899
|
-
|
2900
|
-
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2901
|
-
# parallel the PolicyController CR.
|
2902
|
-
# Corresponds to the JSON property `membershipSpec`
|
2903
|
-
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec]
|
2904
|
-
attr_accessor :membership_spec
|
2905
|
-
|
2906
|
-
# State of the Policy Controller.
|
2907
|
-
# Corresponds to the JSON property `policyControllerHubState`
|
2908
|
-
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState]
|
2909
|
-
attr_accessor :policy_controller_hub_state
|
2910
|
-
|
2911
|
-
# The lifecycle state Policy Controller is in.
|
2912
|
-
# Corresponds to the JSON property `state`
|
2913
|
-
# @return [String]
|
2914
|
-
attr_accessor :state
|
2915
|
-
|
2916
|
-
def initialize(**args)
|
2917
|
-
update!(**args)
|
2918
|
-
end
|
2919
|
-
|
2920
|
-
# Update properties of this object
|
2921
|
-
def update!(**args)
|
2922
|
-
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
2923
|
-
@membership_spec = args[:membership_spec] if args.key?(:membership_spec)
|
2924
|
-
@policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
|
2925
|
-
@state = args[:state] if args.key?(:state)
|
2926
|
-
end
|
2927
|
-
end
|
2928
|
-
|
2929
2931
|
# Configuration for Policy Controller
|
2930
|
-
class
|
2932
|
+
class PolicyControllerHubConfig
|
2931
2933
|
include Google::Apis::Core::Hashable
|
2932
2934
|
|
2933
2935
|
# Sets the interval for Policy Controller Audit Scans (in seconds). When set to
|
@@ -2971,7 +2973,7 @@ module Google
|
|
2971
2973
|
|
2972
2974
|
# The config specifying which default library templates to install.
|
2973
2975
|
# Corresponds to the JSON property `templateLibraryConfig`
|
2974
|
-
# @return [Google::Apis::GkehubV1alpha::
|
2976
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig]
|
2975
2977
|
attr_accessor :template_library_config
|
2976
2978
|
|
2977
2979
|
def initialize(**args)
|
@@ -2991,7 +2993,7 @@ module Google
|
|
2991
2993
|
end
|
2992
2994
|
|
2993
2995
|
# State of the Policy Controller.
|
2994
|
-
class
|
2996
|
+
class PolicyControllerHubState
|
2995
2997
|
include Google::Apis::Core::Hashable
|
2996
2998
|
|
2997
2999
|
# Map from deployment name to deployment state. Example deployments are
|
@@ -3003,7 +3005,7 @@ module Google
|
|
3003
3005
|
|
3004
3006
|
# The build version of Gatekeeper that Policy Controller is using.
|
3005
3007
|
# Corresponds to the JSON property `version`
|
3006
|
-
# @return [Google::Apis::GkehubV1alpha::
|
3008
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerHubVersion]
|
3007
3009
|
attr_accessor :version
|
3008
3010
|
|
3009
3011
|
def initialize(**args)
|
@@ -3018,7 +3020,7 @@ module Google
|
|
3018
3020
|
end
|
3019
3021
|
|
3020
3022
|
# The build version of Gatekeeper that Policy Controller is using.
|
3021
|
-
class
|
3023
|
+
class PolicyControllerHubVersion
|
3022
3024
|
include Google::Apis::Core::Hashable
|
3023
3025
|
|
3024
3026
|
# The gatekeeper image tag that is composed of ACM version, git tag, build
|
@@ -3037,8 +3039,75 @@ module Google
|
|
3037
3039
|
end
|
3038
3040
|
end
|
3039
3041
|
|
3042
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
3043
|
+
# parallel the PolicyController CR.
|
3044
|
+
class PolicyControllerMembershipSpec
|
3045
|
+
include Google::Apis::Core::Hashable
|
3046
|
+
|
3047
|
+
# Configuration for Policy Controller
|
3048
|
+
# Corresponds to the JSON property `policyControllerHubConfig`
|
3049
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerHubConfig]
|
3050
|
+
attr_accessor :policy_controller_hub_config
|
3051
|
+
|
3052
|
+
# Version of Policy Controller installed.
|
3053
|
+
# Corresponds to the JSON property `version`
|
3054
|
+
# @return [String]
|
3055
|
+
attr_accessor :version
|
3056
|
+
|
3057
|
+
def initialize(**args)
|
3058
|
+
update!(**args)
|
3059
|
+
end
|
3060
|
+
|
3061
|
+
# Update properties of this object
|
3062
|
+
def update!(**args)
|
3063
|
+
@policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
|
3064
|
+
@version = args[:version] if args.key?(:version)
|
3065
|
+
end
|
3066
|
+
end
|
3067
|
+
|
3068
|
+
# **Policy Controller**: State for a single cluster.
|
3069
|
+
class PolicyControllerMembershipState
|
3070
|
+
include Google::Apis::Core::Hashable
|
3071
|
+
|
3072
|
+
# The user-defined name for the cluster used by ClusterSelectors to group
|
3073
|
+
# clusters together. This should match Membership's membership_name, unless the
|
3074
|
+
# user installed PC on the cluster manually prior to enabling the PC hub feature.
|
3075
|
+
# Unique within a Policy Controller installation.
|
3076
|
+
# Corresponds to the JSON property `clusterName`
|
3077
|
+
# @return [String]
|
3078
|
+
attr_accessor :cluster_name
|
3079
|
+
|
3080
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
3081
|
+
# parallel the PolicyController CR.
|
3082
|
+
# Corresponds to the JSON property `membershipSpec`
|
3083
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
|
3084
|
+
attr_accessor :membership_spec
|
3085
|
+
|
3086
|
+
# State of the Policy Controller.
|
3087
|
+
# Corresponds to the JSON property `policyControllerHubState`
|
3088
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerHubState]
|
3089
|
+
attr_accessor :policy_controller_hub_state
|
3090
|
+
|
3091
|
+
# The lifecycle state Policy Controller is in.
|
3092
|
+
# Corresponds to the JSON property `state`
|
3093
|
+
# @return [String]
|
3094
|
+
attr_accessor :state
|
3095
|
+
|
3096
|
+
def initialize(**args)
|
3097
|
+
update!(**args)
|
3098
|
+
end
|
3099
|
+
|
3100
|
+
# Update properties of this object
|
3101
|
+
def update!(**args)
|
3102
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
3103
|
+
@membership_spec = args[:membership_spec] if args.key?(:membership_spec)
|
3104
|
+
@policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
|
3105
|
+
@state = args[:state] if args.key?(:state)
|
3106
|
+
end
|
3107
|
+
end
|
3108
|
+
|
3040
3109
|
# The config specifying which default library templates to install.
|
3041
|
-
class
|
3110
|
+
class PolicyControllerTemplateLibraryConfig
|
3042
3111
|
include Google::Apis::Core::Hashable
|
3043
3112
|
|
3044
3113
|
# Whether the standard template library should be installed or not.
|
@@ -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.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220318"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GkehubV1alpha
|
24
24
|
|
25
|
+
class AnthosObservabilityFeatureSpec
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AnthosObservabilityMembershipSpec
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -358,6 +364,12 @@ module Google
|
|
358
364
|
include Google::Apis::Core::JsonObjectSupport
|
359
365
|
end
|
360
366
|
|
367
|
+
class ListFleetsResponse
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
361
373
|
class ListLocationsResponse
|
362
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
375
|
|
@@ -460,37 +472,37 @@ module Google
|
|
460
472
|
include Google::Apis::Core::JsonObjectSupport
|
461
473
|
end
|
462
474
|
|
463
|
-
class
|
475
|
+
class PolicyControllerHubConfig
|
464
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
477
|
|
466
478
|
include Google::Apis::Core::JsonObjectSupport
|
467
479
|
end
|
468
480
|
|
469
|
-
class
|
481
|
+
class PolicyControllerHubState
|
470
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
483
|
|
472
484
|
include Google::Apis::Core::JsonObjectSupport
|
473
485
|
end
|
474
486
|
|
475
|
-
class
|
487
|
+
class PolicyControllerHubVersion
|
476
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
489
|
|
478
490
|
include Google::Apis::Core::JsonObjectSupport
|
479
491
|
end
|
480
492
|
|
481
|
-
class
|
493
|
+
class PolicyControllerMembershipSpec
|
482
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
495
|
|
484
496
|
include Google::Apis::Core::JsonObjectSupport
|
485
497
|
end
|
486
498
|
|
487
|
-
class
|
499
|
+
class PolicyControllerMembershipState
|
488
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
501
|
|
490
502
|
include Google::Apis::Core::JsonObjectSupport
|
491
503
|
end
|
492
504
|
|
493
|
-
class
|
505
|
+
class PolicyControllerTemplateLibraryConfig
|
494
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
507
|
|
496
508
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -586,11 +598,20 @@ module Google
|
|
586
598
|
include Google::Apis::Core::JsonObjectSupport
|
587
599
|
end
|
588
600
|
|
601
|
+
class AnthosObservabilityFeatureSpec
|
602
|
+
# @private
|
603
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
604
|
+
property :default_membership_spec, as: 'defaultMembershipSpec', class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec::Representation
|
605
|
+
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
589
609
|
class AnthosObservabilityMembershipSpec
|
590
610
|
# @private
|
591
611
|
class Representation < Google::Apis::Core::JsonRepresentation
|
592
612
|
property :do_not_optimize_metrics, as: 'doNotOptimizeMetrics'
|
593
613
|
property :enable_stackdriver_on_applications, as: 'enableStackdriverOnApplications'
|
614
|
+
property :version, as: 'version'
|
594
615
|
end
|
595
616
|
end
|
596
617
|
|
@@ -669,6 +690,8 @@ module Google
|
|
669
690
|
class CommonFeatureSpec
|
670
691
|
# @private
|
671
692
|
class Representation < Google::Apis::Core::JsonRepresentation
|
693
|
+
property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec::Representation
|
694
|
+
|
672
695
|
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec::Representation
|
673
696
|
|
674
697
|
property :cloudauditlogging, as: 'cloudauditlogging', class: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec, decorator: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec::Representation
|
@@ -1097,7 +1120,9 @@ module Google
|
|
1097
1120
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1098
1121
|
property :certificate_authority_data, as: 'certificateAuthorityData'
|
1099
1122
|
property :client_id, as: 'clientId'
|
1123
|
+
property :client_secret, as: 'clientSecret'
|
1100
1124
|
property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
|
1125
|
+
property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
|
1101
1126
|
property :extra_params, as: 'extraParams'
|
1102
1127
|
property :group_prefix, as: 'groupPrefix'
|
1103
1128
|
property :groups_claim, as: 'groupsClaim'
|
@@ -1153,6 +1178,15 @@ module Google
|
|
1153
1178
|
end
|
1154
1179
|
end
|
1155
1180
|
|
1181
|
+
class ListFleetsResponse
|
1182
|
+
# @private
|
1183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1184
|
+
collection :fleets, as: 'fleets', class: Google::Apis::GkehubV1alpha::Fleet, decorator: Google::Apis::GkehubV1alpha::Fleet::Representation
|
1185
|
+
|
1186
|
+
property :next_page_token, as: 'nextPageToken'
|
1187
|
+
end
|
1188
|
+
end
|
1189
|
+
|
1156
1190
|
class ListLocationsResponse
|
1157
1191
|
# @private
|
1158
1192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1244,7 +1278,7 @@ module Google
|
|
1244
1278
|
|
1245
1279
|
property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
|
1246
1280
|
|
1247
|
-
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::
|
1281
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
|
1248
1282
|
|
1249
1283
|
property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
|
1250
1284
|
|
@@ -1262,7 +1296,7 @@ module Google
|
|
1262
1296
|
|
1263
1297
|
property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
|
1264
1298
|
|
1265
|
-
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::
|
1299
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState::Representation
|
1266
1300
|
|
1267
1301
|
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
|
1268
1302
|
|
@@ -1355,58 +1389,58 @@ module Google
|
|
1355
1389
|
end
|
1356
1390
|
end
|
1357
1391
|
|
1358
|
-
class
|
1392
|
+
class PolicyControllerHubConfig
|
1359
1393
|
# @private
|
1360
1394
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1361
|
-
property :
|
1395
|
+
property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
|
1396
|
+
collection :exemptable_namespaces, as: 'exemptableNamespaces'
|
1397
|
+
property :install_spec, as: 'installSpec'
|
1398
|
+
property :log_denies_enabled, as: 'logDeniesEnabled'
|
1399
|
+
property :mutation_enabled, as: 'mutationEnabled'
|
1400
|
+
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
1401
|
+
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
|
1362
1402
|
|
1363
|
-
property :version, as: 'version'
|
1364
1403
|
end
|
1365
1404
|
end
|
1366
1405
|
|
1367
|
-
class
|
1406
|
+
class PolicyControllerHubState
|
1368
1407
|
# @private
|
1369
1408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1370
|
-
|
1371
|
-
property :
|
1372
|
-
|
1373
|
-
property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState::Representation
|
1409
|
+
hash :deployment_states, as: 'deploymentStates'
|
1410
|
+
property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubVersion::Representation
|
1374
1411
|
|
1375
|
-
property :state, as: 'state'
|
1376
1412
|
end
|
1377
1413
|
end
|
1378
1414
|
|
1379
|
-
class
|
1415
|
+
class PolicyControllerHubVersion
|
1380
1416
|
# @private
|
1381
1417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1382
|
-
property :
|
1383
|
-
collection :exemptable_namespaces, as: 'exemptableNamespaces'
|
1384
|
-
property :install_spec, as: 'installSpec'
|
1385
|
-
property :log_denies_enabled, as: 'logDeniesEnabled'
|
1386
|
-
property :mutation_enabled, as: 'mutationEnabled'
|
1387
|
-
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
1388
|
-
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig::Representation
|
1389
|
-
|
1418
|
+
property :version, as: 'version'
|
1390
1419
|
end
|
1391
1420
|
end
|
1392
1421
|
|
1393
|
-
class
|
1422
|
+
class PolicyControllerMembershipSpec
|
1394
1423
|
# @private
|
1395
1424
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1396
|
-
|
1397
|
-
property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion::Representation
|
1425
|
+
property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerHubConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubConfig::Representation
|
1398
1426
|
|
1427
|
+
property :version, as: 'version'
|
1399
1428
|
end
|
1400
1429
|
end
|
1401
1430
|
|
1402
|
-
class
|
1431
|
+
class PolicyControllerMembershipState
|
1403
1432
|
# @private
|
1404
1433
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1405
|
-
property :
|
1434
|
+
property :cluster_name, as: 'clusterName'
|
1435
|
+
property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
|
1436
|
+
|
1437
|
+
property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerHubState::Representation
|
1438
|
+
|
1439
|
+
property :state, as: 'state'
|
1406
1440
|
end
|
1407
1441
|
end
|
1408
1442
|
|
1409
|
-
class
|
1443
|
+
class PolicyControllerTemplateLibraryConfig
|
1410
1444
|
# @private
|
1411
1445
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1412
1446
|
property :included, as: 'included'
|
@@ -49,6 +49,43 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Returns all fleets within an organization or a project that the caller has
|
53
|
+
# access to.
|
54
|
+
# @param [String] parent
|
55
|
+
# Required. The organization or project to list for Fleets under, in the format `
|
56
|
+
# organizations/*/locations/*` or `projects/*/locations/*`.
|
57
|
+
# @param [String] page_token
|
58
|
+
# A page token, received from a previous `ListFleets` call. Provide this to
|
59
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
60
|
+
# to `ListFleets` must match the call that provided the page token.
|
61
|
+
# @param [String] fields
|
62
|
+
# Selector specifying which fields to include in a partial response.
|
63
|
+
# @param [String] quota_user
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
66
|
+
# @param [Google::Apis::RequestOptions] options
|
67
|
+
# Request-specific options
|
68
|
+
#
|
69
|
+
# @yield [result, err] Result & error if block supplied
|
70
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::ListFleetsResponse] parsed result object
|
71
|
+
# @yieldparam err [StandardError] error object if request failed
|
72
|
+
#
|
73
|
+
# @return [Google::Apis::GkehubV1alpha::ListFleetsResponse]
|
74
|
+
#
|
75
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
76
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
77
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
78
|
+
def list_organization_location_fleets(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
79
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/fleets', options)
|
80
|
+
command.response_representation = Google::Apis::GkehubV1alpha::ListFleetsResponse::Representation
|
81
|
+
command.response_class = Google::Apis::GkehubV1alpha::ListFleetsResponse
|
82
|
+
command.params['parent'] = parent unless parent.nil?
|
83
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
52
89
|
# Gets information about a location.
|
53
90
|
# @param [String] name
|
54
91
|
# Resource name for the location.
|
@@ -564,6 +601,43 @@ module Google
|
|
564
601
|
execute_or_queue_command(command, &block)
|
565
602
|
end
|
566
603
|
|
604
|
+
# Returns all fleets within an organization or a project that the caller has
|
605
|
+
# access to.
|
606
|
+
# @param [String] parent
|
607
|
+
# Required. The organization or project to list for Fleets under, in the format `
|
608
|
+
# organizations/*/locations/*` or `projects/*/locations/*`.
|
609
|
+
# @param [String] page_token
|
610
|
+
# A page token, received from a previous `ListFleets` call. Provide this to
|
611
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
612
|
+
# to `ListFleets` must match the call that provided the page token.
|
613
|
+
# @param [String] fields
|
614
|
+
# Selector specifying which fields to include in a partial response.
|
615
|
+
# @param [String] quota_user
|
616
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
617
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
618
|
+
# @param [Google::Apis::RequestOptions] options
|
619
|
+
# Request-specific options
|
620
|
+
#
|
621
|
+
# @yield [result, err] Result & error if block supplied
|
622
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::ListFleetsResponse] parsed result object
|
623
|
+
# @yieldparam err [StandardError] error object if request failed
|
624
|
+
#
|
625
|
+
# @return [Google::Apis::GkehubV1alpha::ListFleetsResponse]
|
626
|
+
#
|
627
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
628
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
629
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
630
|
+
def list_project_location_fleets(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
631
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/fleets', options)
|
632
|
+
command.response_representation = Google::Apis::GkehubV1alpha::ListFleetsResponse::Representation
|
633
|
+
command.response_class = Google::Apis::GkehubV1alpha::ListFleetsResponse
|
634
|
+
command.params['parent'] = parent unless parent.nil?
|
635
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
636
|
+
command.query['fields'] = fields unless fields.nil?
|
637
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
638
|
+
execute_or_queue_command(command, &block)
|
639
|
+
end
|
640
|
+
|
567
641
|
# Updates a fleet.
|
568
642
|
# @param [String] name
|
569
643
|
# Output only. The full, unique resource name of this fleet in the format of `
|
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.24.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-03-28 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.24.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: []
|