google-apis-gkehub_v1beta 0.39.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 562a324db0b4f6981d740d21ddb968d5dd69fa71950f0e8286a0d01e0b304efc
|
4
|
+
data.tar.gz: f820e55c69ed9fde06d9a3104e0827a7cd62d8faa571d59869ccf1bb3bb5b9c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aaded1c38528e5948b2c1d77b3a555a7fa20d2431466a02316dc94713f06977db54e36853fad4bede367aeb69c77d3a09515c32aae437c573a6a386704e4000
|
7
|
+
data.tar.gz: 9d7df2dec2a675dd10b6422df0c78faddb1aad567a5d39399372bb9f14ff55cc204105b3f7a3fe78853df1a0674da33604dd8cc96c8fdc234b0fb01c0eb463c9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta
|
2
2
|
|
3
|
+
### v0.41.0 (2023-03-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230224
|
6
|
+
|
7
|
+
### v0.40.0 (2023-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230219
|
10
|
+
* Regenerated using generator version 0.12.0
|
11
|
+
|
3
12
|
### v0.39.0 (2023-02-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20230129
|
@@ -2015,6 +2015,59 @@ module Google
|
|
2015
2015
|
end
|
2016
2016
|
end
|
2017
2017
|
|
2018
|
+
# List of MembershipBindings.
|
2019
|
+
class ListMembershipBindingsResponse
|
2020
|
+
include Google::Apis::Core::Hashable
|
2021
|
+
|
2022
|
+
# The list of membership_bindings
|
2023
|
+
# Corresponds to the JSON property `membershipBindings`
|
2024
|
+
# @return [Array<Google::Apis::GkehubV1beta::MembershipBinding>]
|
2025
|
+
attr_accessor :membership_bindings
|
2026
|
+
|
2027
|
+
# A token to request the next page of resources from the `ListMembershipBindings`
|
2028
|
+
# method. The value of an empty string means that there are no more resources
|
2029
|
+
# to return.
|
2030
|
+
# Corresponds to the JSON property `nextPageToken`
|
2031
|
+
# @return [String]
|
2032
|
+
attr_accessor :next_page_token
|
2033
|
+
|
2034
|
+
def initialize(**args)
|
2035
|
+
update!(**args)
|
2036
|
+
end
|
2037
|
+
|
2038
|
+
# Update properties of this object
|
2039
|
+
def update!(**args)
|
2040
|
+
@membership_bindings = args[:membership_bindings] if args.key?(:membership_bindings)
|
2041
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2042
|
+
end
|
2043
|
+
end
|
2044
|
+
|
2045
|
+
# List of fleet namespaces.
|
2046
|
+
class ListNamespacesResponse
|
2047
|
+
include Google::Apis::Core::Hashable
|
2048
|
+
|
2049
|
+
# The list of fleet namespaces
|
2050
|
+
# Corresponds to the JSON property `namespaces`
|
2051
|
+
# @return [Array<Google::Apis::GkehubV1beta::Namespace>]
|
2052
|
+
attr_accessor :namespaces
|
2053
|
+
|
2054
|
+
# A token to request the next page of resources from the `ListNamespaces` method.
|
2055
|
+
# The value of an empty string means that there are no more resources to return.
|
2056
|
+
# Corresponds to the JSON property `nextPageToken`
|
2057
|
+
# @return [String]
|
2058
|
+
attr_accessor :next_page_token
|
2059
|
+
|
2060
|
+
def initialize(**args)
|
2061
|
+
update!(**args)
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
# Update properties of this object
|
2065
|
+
def update!(**args)
|
2066
|
+
@namespaces = args[:namespaces] if args.key?(:namespaces)
|
2067
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2068
|
+
end
|
2069
|
+
end
|
2070
|
+
|
2018
2071
|
# The response message for Operations.ListOperations.
|
2019
2072
|
class ListOperationsResponse
|
2020
2073
|
include Google::Apis::Core::Hashable
|
@@ -2040,6 +2093,59 @@ module Google
|
|
2040
2093
|
end
|
2041
2094
|
end
|
2042
2095
|
|
2096
|
+
# List of RBACRoleBindings.
|
2097
|
+
class ListRbacRoleBindingsResponse
|
2098
|
+
include Google::Apis::Core::Hashable
|
2099
|
+
|
2100
|
+
# A token to request the next page of resources from the `ListRBACRoleBindings`
|
2101
|
+
# method. The value of an empty string means that there are no more resources to
|
2102
|
+
# return.
|
2103
|
+
# Corresponds to the JSON property `nextPageToken`
|
2104
|
+
# @return [String]
|
2105
|
+
attr_accessor :next_page_token
|
2106
|
+
|
2107
|
+
# The list of RBACRoleBindings
|
2108
|
+
# Corresponds to the JSON property `rbacrolebindings`
|
2109
|
+
# @return [Array<Google::Apis::GkehubV1beta::RbacRoleBinding>]
|
2110
|
+
attr_accessor :rbacrolebindings
|
2111
|
+
|
2112
|
+
def initialize(**args)
|
2113
|
+
update!(**args)
|
2114
|
+
end
|
2115
|
+
|
2116
|
+
# Update properties of this object
|
2117
|
+
def update!(**args)
|
2118
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2119
|
+
@rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
|
2120
|
+
end
|
2121
|
+
end
|
2122
|
+
|
2123
|
+
# List of Scopes.
|
2124
|
+
class ListScopesResponse
|
2125
|
+
include Google::Apis::Core::Hashable
|
2126
|
+
|
2127
|
+
# A token to request the next page of resources from the `ListScopes` method.
|
2128
|
+
# The value of an empty string means that there are no more resources to return.
|
2129
|
+
# Corresponds to the JSON property `nextPageToken`
|
2130
|
+
# @return [String]
|
2131
|
+
attr_accessor :next_page_token
|
2132
|
+
|
2133
|
+
# The list of Scopes
|
2134
|
+
# Corresponds to the JSON property `scopes`
|
2135
|
+
# @return [Array<Google::Apis::GkehubV1beta::Scope>]
|
2136
|
+
attr_accessor :scopes
|
2137
|
+
|
2138
|
+
def initialize(**args)
|
2139
|
+
update!(**args)
|
2140
|
+
end
|
2141
|
+
|
2142
|
+
# Update properties of this object
|
2143
|
+
def update!(**args)
|
2144
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2145
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
2146
|
+
end
|
2147
|
+
end
|
2148
|
+
|
2043
2149
|
# A resource that represents Google Cloud Platform location.
|
2044
2150
|
class Location
|
2045
2151
|
include Google::Apis::Core::Hashable
|
@@ -2087,6 +2193,92 @@ module Google
|
|
2087
2193
|
end
|
2088
2194
|
end
|
2089
2195
|
|
2196
|
+
# MembershipBinding is a subresource of a Membership, representing what Fleet
|
2197
|
+
# Scopes (or other, future Fleet resources) a Membership is bound to.
|
2198
|
+
class MembershipBinding
|
2199
|
+
include Google::Apis::Core::Hashable
|
2200
|
+
|
2201
|
+
# Output only. When the membership binding was created.
|
2202
|
+
# Corresponds to the JSON property `createTime`
|
2203
|
+
# @return [String]
|
2204
|
+
attr_accessor :create_time
|
2205
|
+
|
2206
|
+
# Output only. When the membership binding was deleted.
|
2207
|
+
# Corresponds to the JSON property `deleteTime`
|
2208
|
+
# @return [String]
|
2209
|
+
attr_accessor :delete_time
|
2210
|
+
|
2211
|
+
# Whether the membershipbinding is Fleet-wide; true means that this Membership
|
2212
|
+
# should be bound to all Namespaces in this entire Fleet.
|
2213
|
+
# Corresponds to the JSON property `fleet`
|
2214
|
+
# @return [Boolean]
|
2215
|
+
attr_accessor :fleet
|
2216
|
+
alias_method :fleet?, :fleet
|
2217
|
+
|
2218
|
+
# The resource name for the membershipbinding itself `projects/`project`/
|
2219
|
+
# locations/`location`/memberships/`membership`/bindings/`membershipbinding``
|
2220
|
+
# Corresponds to the JSON property `name`
|
2221
|
+
# @return [String]
|
2222
|
+
attr_accessor :name
|
2223
|
+
|
2224
|
+
# A Workspace resource name in the format `projects/*/locations/*/scopes/*`.
|
2225
|
+
# Corresponds to the JSON property `scope`
|
2226
|
+
# @return [String]
|
2227
|
+
attr_accessor :scope
|
2228
|
+
|
2229
|
+
# MembershipBindingLifecycleState describes the state of a Binding resource.
|
2230
|
+
# Corresponds to the JSON property `state`
|
2231
|
+
# @return [Google::Apis::GkehubV1beta::MembershipBindingLifecycleState]
|
2232
|
+
attr_accessor :state
|
2233
|
+
|
2234
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
2235
|
+
# all membershipbinding resources. If a membershipbinding resource is deleted
|
2236
|
+
# and another resource with the same name is created, it gets a different uid.
|
2237
|
+
# Corresponds to the JSON property `uid`
|
2238
|
+
# @return [String]
|
2239
|
+
attr_accessor :uid
|
2240
|
+
|
2241
|
+
# Output only. When the membership binding was last updated.
|
2242
|
+
# Corresponds to the JSON property `updateTime`
|
2243
|
+
# @return [String]
|
2244
|
+
attr_accessor :update_time
|
2245
|
+
|
2246
|
+
def initialize(**args)
|
2247
|
+
update!(**args)
|
2248
|
+
end
|
2249
|
+
|
2250
|
+
# Update properties of this object
|
2251
|
+
def update!(**args)
|
2252
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2253
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
2254
|
+
@fleet = args[:fleet] if args.key?(:fleet)
|
2255
|
+
@name = args[:name] if args.key?(:name)
|
2256
|
+
@scope = args[:scope] if args.key?(:scope)
|
2257
|
+
@state = args[:state] if args.key?(:state)
|
2258
|
+
@uid = args[:uid] if args.key?(:uid)
|
2259
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2260
|
+
end
|
2261
|
+
end
|
2262
|
+
|
2263
|
+
# MembershipBindingLifecycleState describes the state of a Binding resource.
|
2264
|
+
class MembershipBindingLifecycleState
|
2265
|
+
include Google::Apis::Core::Hashable
|
2266
|
+
|
2267
|
+
# Output only. The current state of the MembershipBinding resource.
|
2268
|
+
# Corresponds to the JSON property `code`
|
2269
|
+
# @return [String]
|
2270
|
+
attr_accessor :code
|
2271
|
+
|
2272
|
+
def initialize(**args)
|
2273
|
+
update!(**args)
|
2274
|
+
end
|
2275
|
+
|
2276
|
+
# Update properties of this object
|
2277
|
+
def update!(**args)
|
2278
|
+
@code = args[:code] if args.key?(:code)
|
2279
|
+
end
|
2280
|
+
end
|
2281
|
+
|
2090
2282
|
# MembershipFeatureSpec contains configuration information for a single
|
2091
2283
|
# Membership.
|
2092
2284
|
class MembershipFeatureSpec
|
@@ -2299,6 +2491,83 @@ module Google
|
|
2299
2491
|
end
|
2300
2492
|
end
|
2301
2493
|
|
2494
|
+
# Namespace represents a namespace across the Fleet
|
2495
|
+
class Namespace
|
2496
|
+
include Google::Apis::Core::Hashable
|
2497
|
+
|
2498
|
+
# Output only. When the namespace was created.
|
2499
|
+
# Corresponds to the JSON property `createTime`
|
2500
|
+
# @return [String]
|
2501
|
+
attr_accessor :create_time
|
2502
|
+
|
2503
|
+
# Output only. When the namespace was deleted.
|
2504
|
+
# Corresponds to the JSON property `deleteTime`
|
2505
|
+
# @return [String]
|
2506
|
+
attr_accessor :delete_time
|
2507
|
+
|
2508
|
+
# The resource name for the namespace `projects/`project`/locations/`location`/
|
2509
|
+
# namespaces/`namespace``
|
2510
|
+
# Corresponds to the JSON property `name`
|
2511
|
+
# @return [String]
|
2512
|
+
attr_accessor :name
|
2513
|
+
|
2514
|
+
# Required. Scope associated with the namespace
|
2515
|
+
# Corresponds to the JSON property `scope`
|
2516
|
+
# @return [String]
|
2517
|
+
attr_accessor :scope
|
2518
|
+
|
2519
|
+
# NamespaceLifecycleState describes the state of a Namespace resource.
|
2520
|
+
# Corresponds to the JSON property `state`
|
2521
|
+
# @return [Google::Apis::GkehubV1beta::NamespaceLifecycleState]
|
2522
|
+
attr_accessor :state
|
2523
|
+
|
2524
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
2525
|
+
# all namespace resources. If a namespace resource is deleted and another
|
2526
|
+
# resource with the same name is created, it gets a different uid.
|
2527
|
+
# Corresponds to the JSON property `uid`
|
2528
|
+
# @return [String]
|
2529
|
+
attr_accessor :uid
|
2530
|
+
|
2531
|
+
# Output only. When the namespace was last updated.
|
2532
|
+
# Corresponds to the JSON property `updateTime`
|
2533
|
+
# @return [String]
|
2534
|
+
attr_accessor :update_time
|
2535
|
+
|
2536
|
+
def initialize(**args)
|
2537
|
+
update!(**args)
|
2538
|
+
end
|
2539
|
+
|
2540
|
+
# Update properties of this object
|
2541
|
+
def update!(**args)
|
2542
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2543
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
2544
|
+
@name = args[:name] if args.key?(:name)
|
2545
|
+
@scope = args[:scope] if args.key?(:scope)
|
2546
|
+
@state = args[:state] if args.key?(:state)
|
2547
|
+
@uid = args[:uid] if args.key?(:uid)
|
2548
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2549
|
+
end
|
2550
|
+
end
|
2551
|
+
|
2552
|
+
# NamespaceLifecycleState describes the state of a Namespace resource.
|
2553
|
+
class NamespaceLifecycleState
|
2554
|
+
include Google::Apis::Core::Hashable
|
2555
|
+
|
2556
|
+
# Output only. The current state of the Namespace resource.
|
2557
|
+
# Corresponds to the JSON property `code`
|
2558
|
+
# @return [String]
|
2559
|
+
attr_accessor :code
|
2560
|
+
|
2561
|
+
def initialize(**args)
|
2562
|
+
update!(**args)
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
# Update properties of this object
|
2566
|
+
def update!(**args)
|
2567
|
+
@code = args[:code] if args.key?(:code)
|
2568
|
+
end
|
2569
|
+
end
|
2570
|
+
|
2302
2571
|
# This resource represents a long-running operation that is the result of a
|
2303
2572
|
# network API call.
|
2304
2573
|
class Operation
|
@@ -2777,6 +3046,11 @@ module Google
|
|
2777
3046
|
attr_accessor :pod_anti_affinity
|
2778
3047
|
alias_method :pod_anti_affinity?, :pod_anti_affinity
|
2779
3048
|
|
3049
|
+
# Pod tolerations of node taints.
|
3050
|
+
# Corresponds to the JSON property `podTolerations`
|
3051
|
+
# @return [Array<Google::Apis::GkehubV1beta::PolicyControllerToleration>]
|
3052
|
+
attr_accessor :pod_tolerations
|
3053
|
+
|
2780
3054
|
# Pod replica count.
|
2781
3055
|
# Corresponds to the JSON property `replicaCount`
|
2782
3056
|
# @return [Fixnum]
|
@@ -2790,6 +3064,7 @@ module Google
|
|
2790
3064
|
def update!(**args)
|
2791
3065
|
@container_resources = args[:container_resources] if args.key?(:container_resources)
|
2792
3066
|
@pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
|
3067
|
+
@pod_tolerations = args[:pod_tolerations] if args.key?(:pod_tolerations)
|
2793
3068
|
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
2794
3069
|
end
|
2795
3070
|
end
|
@@ -2864,6 +3139,208 @@ module Google
|
|
2864
3139
|
end
|
2865
3140
|
end
|
2866
3141
|
|
3142
|
+
# Toleration of a node taint.
|
3143
|
+
class PolicyControllerToleration
|
3144
|
+
include Google::Apis::Core::Hashable
|
3145
|
+
|
3146
|
+
# Matches a taint effect.
|
3147
|
+
# Corresponds to the JSON property `effect`
|
3148
|
+
# @return [String]
|
3149
|
+
attr_accessor :effect
|
3150
|
+
|
3151
|
+
# Matches a taint key (not necessarily unique).
|
3152
|
+
# Corresponds to the JSON property `key`
|
3153
|
+
# @return [String]
|
3154
|
+
attr_accessor :key
|
3155
|
+
|
3156
|
+
# Matches a taint operator.
|
3157
|
+
# Corresponds to the JSON property `operator`
|
3158
|
+
# @return [String]
|
3159
|
+
attr_accessor :operator
|
3160
|
+
|
3161
|
+
# Matches a taint value.
|
3162
|
+
# Corresponds to the JSON property `value`
|
3163
|
+
# @return [String]
|
3164
|
+
attr_accessor :value
|
3165
|
+
|
3166
|
+
def initialize(**args)
|
3167
|
+
update!(**args)
|
3168
|
+
end
|
3169
|
+
|
3170
|
+
# Update properties of this object
|
3171
|
+
def update!(**args)
|
3172
|
+
@effect = args[:effect] if args.key?(:effect)
|
3173
|
+
@key = args[:key] if args.key?(:key)
|
3174
|
+
@operator = args[:operator] if args.key?(:operator)
|
3175
|
+
@value = args[:value] if args.key?(:value)
|
3176
|
+
end
|
3177
|
+
end
|
3178
|
+
|
3179
|
+
# RBACRoleBinding represents a rbacrolebinding across the Fleet
|
3180
|
+
class RbacRoleBinding
|
3181
|
+
include Google::Apis::Core::Hashable
|
3182
|
+
|
3183
|
+
# Output only. When the rbacrolebinding was created.
|
3184
|
+
# Corresponds to the JSON property `createTime`
|
3185
|
+
# @return [String]
|
3186
|
+
attr_accessor :create_time
|
3187
|
+
|
3188
|
+
# Output only. When the rbacrolebinding was deleted.
|
3189
|
+
# Corresponds to the JSON property `deleteTime`
|
3190
|
+
# @return [String]
|
3191
|
+
attr_accessor :delete_time
|
3192
|
+
|
3193
|
+
# group is the group, as seen by the kubernetes cluster.
|
3194
|
+
# Corresponds to the JSON property `group`
|
3195
|
+
# @return [String]
|
3196
|
+
attr_accessor :group
|
3197
|
+
|
3198
|
+
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
3199
|
+
# location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
|
3200
|
+
# projects/`project`/locations/`location`/memberships/`membership`/
|
3201
|
+
# rbacrolebindings/`rbacrolebinding``
|
3202
|
+
# Corresponds to the JSON property `name`
|
3203
|
+
# @return [String]
|
3204
|
+
attr_accessor :name
|
3205
|
+
|
3206
|
+
# Role is the type for Kubernetes roles
|
3207
|
+
# Corresponds to the JSON property `role`
|
3208
|
+
# @return [Google::Apis::GkehubV1beta::Role]
|
3209
|
+
attr_accessor :role
|
3210
|
+
|
3211
|
+
# RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding
|
3212
|
+
# resource.
|
3213
|
+
# Corresponds to the JSON property `state`
|
3214
|
+
# @return [Google::Apis::GkehubV1beta::RbacRoleBindingLifecycleState]
|
3215
|
+
attr_accessor :state
|
3216
|
+
|
3217
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
3218
|
+
# all rbacrolebinding resources. If a rbacrolebinding resource is deleted and
|
3219
|
+
# another resource with the same name is created, it gets a different uid.
|
3220
|
+
# Corresponds to the JSON property `uid`
|
3221
|
+
# @return [String]
|
3222
|
+
attr_accessor :uid
|
3223
|
+
|
3224
|
+
# Output only. When the rbacrolebinding was last updated.
|
3225
|
+
# Corresponds to the JSON property `updateTime`
|
3226
|
+
# @return [String]
|
3227
|
+
attr_accessor :update_time
|
3228
|
+
|
3229
|
+
# user is the name of the user as seen by the kubernetes cluster, example "alice"
|
3230
|
+
# or "alice@domain.tld"
|
3231
|
+
# Corresponds to the JSON property `user`
|
3232
|
+
# @return [String]
|
3233
|
+
attr_accessor :user
|
3234
|
+
|
3235
|
+
def initialize(**args)
|
3236
|
+
update!(**args)
|
3237
|
+
end
|
3238
|
+
|
3239
|
+
# Update properties of this object
|
3240
|
+
def update!(**args)
|
3241
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3242
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
3243
|
+
@group = args[:group] if args.key?(:group)
|
3244
|
+
@name = args[:name] if args.key?(:name)
|
3245
|
+
@role = args[:role] if args.key?(:role)
|
3246
|
+
@state = args[:state] if args.key?(:state)
|
3247
|
+
@uid = args[:uid] if args.key?(:uid)
|
3248
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3249
|
+
@user = args[:user] if args.key?(:user)
|
3250
|
+
end
|
3251
|
+
end
|
3252
|
+
|
3253
|
+
# RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding
|
3254
|
+
# resource.
|
3255
|
+
class RbacRoleBindingLifecycleState
|
3256
|
+
include Google::Apis::Core::Hashable
|
3257
|
+
|
3258
|
+
# Output only. The current state of the rbacrolebinding resource.
|
3259
|
+
# Corresponds to the JSON property `code`
|
3260
|
+
# @return [String]
|
3261
|
+
attr_accessor :code
|
3262
|
+
|
3263
|
+
def initialize(**args)
|
3264
|
+
update!(**args)
|
3265
|
+
end
|
3266
|
+
|
3267
|
+
# Update properties of this object
|
3268
|
+
def update!(**args)
|
3269
|
+
@code = args[:code] if args.key?(:code)
|
3270
|
+
end
|
3271
|
+
end
|
3272
|
+
|
3273
|
+
# Role is the type for Kubernetes roles
|
3274
|
+
class Role
|
3275
|
+
include Google::Apis::Core::Hashable
|
3276
|
+
|
3277
|
+
# predefined_role is the Kubernetes default role to use
|
3278
|
+
# Corresponds to the JSON property `predefinedRole`
|
3279
|
+
# @return [String]
|
3280
|
+
attr_accessor :predefined_role
|
3281
|
+
|
3282
|
+
def initialize(**args)
|
3283
|
+
update!(**args)
|
3284
|
+
end
|
3285
|
+
|
3286
|
+
# Update properties of this object
|
3287
|
+
def update!(**args)
|
3288
|
+
@predefined_role = args[:predefined_role] if args.key?(:predefined_role)
|
3289
|
+
end
|
3290
|
+
end
|
3291
|
+
|
3292
|
+
# Scope represents a Scope in a Fleet.
|
3293
|
+
class Scope
|
3294
|
+
include Google::Apis::Core::Hashable
|
3295
|
+
|
3296
|
+
# Output only. When the scope was created.
|
3297
|
+
# Corresponds to the JSON property `createTime`
|
3298
|
+
# @return [String]
|
3299
|
+
attr_accessor :create_time
|
3300
|
+
|
3301
|
+
# Output only. When the scope was deleted.
|
3302
|
+
# Corresponds to the JSON property `deleteTime`
|
3303
|
+
# @return [String]
|
3304
|
+
attr_accessor :delete_time
|
3305
|
+
|
3306
|
+
# The resource name for the scope `projects/`project`/locations/`location`/
|
3307
|
+
# scopes/`scope``
|
3308
|
+
# Corresponds to the JSON property `name`
|
3309
|
+
# @return [String]
|
3310
|
+
attr_accessor :name
|
3311
|
+
|
3312
|
+
# ScopeLifecycleState describes the state of a Scope resource.
|
3313
|
+
# Corresponds to the JSON property `state`
|
3314
|
+
# @return [Google::Apis::GkehubV1beta::ScopeLifecycleState]
|
3315
|
+
attr_accessor :state
|
3316
|
+
|
3317
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
3318
|
+
# all scope resources. If a scope resource is deleted and another resource with
|
3319
|
+
# the same name is created, it gets a different uid.
|
3320
|
+
# Corresponds to the JSON property `uid`
|
3321
|
+
# @return [String]
|
3322
|
+
attr_accessor :uid
|
3323
|
+
|
3324
|
+
# Output only. When the scope was last updated.
|
3325
|
+
# Corresponds to the JSON property `updateTime`
|
3326
|
+
# @return [String]
|
3327
|
+
attr_accessor :update_time
|
3328
|
+
|
3329
|
+
def initialize(**args)
|
3330
|
+
update!(**args)
|
3331
|
+
end
|
3332
|
+
|
3333
|
+
# Update properties of this object
|
3334
|
+
def update!(**args)
|
3335
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3336
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
3337
|
+
@name = args[:name] if args.key?(:name)
|
3338
|
+
@state = args[:state] if args.key?(:state)
|
3339
|
+
@uid = args[:uid] if args.key?(:uid)
|
3340
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3341
|
+
end
|
3342
|
+
end
|
3343
|
+
|
2867
3344
|
# ScopeFeatureSpec contains feature specs for a fleet scope.
|
2868
3345
|
class ScopeFeatureSpec
|
2869
3346
|
include Google::Apis::Core::Hashable
|
@@ -2898,6 +3375,25 @@ module Google
|
|
2898
3375
|
end
|
2899
3376
|
end
|
2900
3377
|
|
3378
|
+
# ScopeLifecycleState describes the state of a Scope resource.
|
3379
|
+
class ScopeLifecycleState
|
3380
|
+
include Google::Apis::Core::Hashable
|
3381
|
+
|
3382
|
+
# Output only. The current state of the scope resource.
|
3383
|
+
# Corresponds to the JSON property `code`
|
3384
|
+
# @return [String]
|
3385
|
+
attr_accessor :code
|
3386
|
+
|
3387
|
+
def initialize(**args)
|
3388
|
+
update!(**args)
|
3389
|
+
end
|
3390
|
+
|
3391
|
+
# Update properties of this object
|
3392
|
+
def update!(**args)
|
3393
|
+
@code = args[:code] if args.key?(:code)
|
3394
|
+
end
|
3395
|
+
end
|
3396
|
+
|
2901
3397
|
# Status of control plane management.
|
2902
3398
|
class ServiceMeshControlPlaneManagement
|
2903
3399
|
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.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230224"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|