google-apis-gkehub_v1alpha 0.46.0 → 0.47.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: b2cae1101c0ed82451fd14b66324efb2ec822ae28726b55b3a975c3992fe91a2
|
4
|
+
data.tar.gz: ef3b8e959e8a2c186cd72d81c4be0062abe12e3cbb0b4c9dcb2205b35f1cf359
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9e72b9e8b4fb04d2ad8256403b9fc474cdfa61593d7e3a1f5bf381dbca7455e5e2cdc4bf08cfaec17921047ba42977901133ef1f9d2b46e66eb3c69ae50c795
|
7
|
+
data.tar.gz: 7440fb4537f55c54ce58f734b1743dcc5b0cfd629bbed0b77c6c3882885749c1c560dd7971ad861a0a191a2e3566bc798e2436cff0e41709b644303247722f44
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.47.0 (2023-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230219
|
6
|
+
* Regenerated using generator version 0.12.0
|
7
|
+
|
3
8
|
### v0.46.0 (2023-02-12)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20230206
|
@@ -2535,6 +2535,33 @@ module Google
|
|
2535
2535
|
end
|
2536
2536
|
end
|
2537
2537
|
|
2538
|
+
# List of MembershipBindings.
|
2539
|
+
class ListMembershipBindingsResponse
|
2540
|
+
include Google::Apis::Core::Hashable
|
2541
|
+
|
2542
|
+
# The list of membership_bindings
|
2543
|
+
# Corresponds to the JSON property `membershipBindings`
|
2544
|
+
# @return [Array<Google::Apis::GkehubV1alpha::MembershipBinding>]
|
2545
|
+
attr_accessor :membership_bindings
|
2546
|
+
|
2547
|
+
# A token to request the next page of resources from the `ListMembershipBindings`
|
2548
|
+
# method. The value of an empty string means that there are no more resources
|
2549
|
+
# to return.
|
2550
|
+
# Corresponds to the JSON property `nextPageToken`
|
2551
|
+
# @return [String]
|
2552
|
+
attr_accessor :next_page_token
|
2553
|
+
|
2554
|
+
def initialize(**args)
|
2555
|
+
update!(**args)
|
2556
|
+
end
|
2557
|
+
|
2558
|
+
# Update properties of this object
|
2559
|
+
def update!(**args)
|
2560
|
+
@membership_bindings = args[:membership_bindings] if args.key?(:membership_bindings)
|
2561
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2562
|
+
end
|
2563
|
+
end
|
2564
|
+
|
2538
2565
|
# Response message for the `GkeHub.ListMemberships` method.
|
2539
2566
|
class ListMembershipsResponse
|
2540
2567
|
include Google::Apis::Core::Hashable
|
@@ -2568,6 +2595,32 @@ module Google
|
|
2568
2595
|
end
|
2569
2596
|
end
|
2570
2597
|
|
2598
|
+
# List of fleet namespaces.
|
2599
|
+
class ListNamespacesResponse
|
2600
|
+
include Google::Apis::Core::Hashable
|
2601
|
+
|
2602
|
+
# The list of fleet namespaces
|
2603
|
+
# Corresponds to the JSON property `namespaces`
|
2604
|
+
# @return [Array<Google::Apis::GkehubV1alpha::Namespace>]
|
2605
|
+
attr_accessor :namespaces
|
2606
|
+
|
2607
|
+
# A token to request the next page of resources from the `ListNamespaces` method.
|
2608
|
+
# The value of an empty string means that there are no more resources to return.
|
2609
|
+
# Corresponds to the JSON property `nextPageToken`
|
2610
|
+
# @return [String]
|
2611
|
+
attr_accessor :next_page_token
|
2612
|
+
|
2613
|
+
def initialize(**args)
|
2614
|
+
update!(**args)
|
2615
|
+
end
|
2616
|
+
|
2617
|
+
# Update properties of this object
|
2618
|
+
def update!(**args)
|
2619
|
+
@namespaces = args[:namespaces] if args.key?(:namespaces)
|
2620
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2621
|
+
end
|
2622
|
+
end
|
2623
|
+
|
2571
2624
|
# The response message for Operations.ListOperations.
|
2572
2625
|
class ListOperationsResponse
|
2573
2626
|
include Google::Apis::Core::Hashable
|
@@ -2593,6 +2646,59 @@ module Google
|
|
2593
2646
|
end
|
2594
2647
|
end
|
2595
2648
|
|
2649
|
+
# List of RBACRoleBindings.
|
2650
|
+
class ListRbacRoleBindingsResponse
|
2651
|
+
include Google::Apis::Core::Hashable
|
2652
|
+
|
2653
|
+
# A token to request the next page of resources from the `ListRBACRoleBindings`
|
2654
|
+
# method. The value of an empty string means that there are no more resources to
|
2655
|
+
# return.
|
2656
|
+
# Corresponds to the JSON property `nextPageToken`
|
2657
|
+
# @return [String]
|
2658
|
+
attr_accessor :next_page_token
|
2659
|
+
|
2660
|
+
# The list of RBACRoleBindings
|
2661
|
+
# Corresponds to the JSON property `rbacrolebindings`
|
2662
|
+
# @return [Array<Google::Apis::GkehubV1alpha::RbacRoleBinding>]
|
2663
|
+
attr_accessor :rbacrolebindings
|
2664
|
+
|
2665
|
+
def initialize(**args)
|
2666
|
+
update!(**args)
|
2667
|
+
end
|
2668
|
+
|
2669
|
+
# Update properties of this object
|
2670
|
+
def update!(**args)
|
2671
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2672
|
+
@rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
|
2673
|
+
end
|
2674
|
+
end
|
2675
|
+
|
2676
|
+
# List of Scopes.
|
2677
|
+
class ListScopesResponse
|
2678
|
+
include Google::Apis::Core::Hashable
|
2679
|
+
|
2680
|
+
# A token to request the next page of resources from the `ListScopes` method.
|
2681
|
+
# The value of an empty string means that there are no more resources to return.
|
2682
|
+
# Corresponds to the JSON property `nextPageToken`
|
2683
|
+
# @return [String]
|
2684
|
+
attr_accessor :next_page_token
|
2685
|
+
|
2686
|
+
# The list of Scopes
|
2687
|
+
# Corresponds to the JSON property `scopes`
|
2688
|
+
# @return [Array<Google::Apis::GkehubV1alpha::Scope>]
|
2689
|
+
attr_accessor :scopes
|
2690
|
+
|
2691
|
+
def initialize(**args)
|
2692
|
+
update!(**args)
|
2693
|
+
end
|
2694
|
+
|
2695
|
+
# Update properties of this object
|
2696
|
+
def update!(**args)
|
2697
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2698
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
2699
|
+
end
|
2700
|
+
end
|
2701
|
+
|
2596
2702
|
# A resource that represents Google Cloud Platform location.
|
2597
2703
|
class Location
|
2598
2704
|
include Google::Apis::Core::Hashable
|
@@ -2743,6 +2849,92 @@ module Google
|
|
2743
2849
|
end
|
2744
2850
|
end
|
2745
2851
|
|
2852
|
+
# MembershipBinding is a subresource of a Membership, representing what Fleet
|
2853
|
+
# Scopes (or other, future Fleet resources) a Membership is bound to.
|
2854
|
+
class MembershipBinding
|
2855
|
+
include Google::Apis::Core::Hashable
|
2856
|
+
|
2857
|
+
# Output only. When the membership binding was created.
|
2858
|
+
# Corresponds to the JSON property `createTime`
|
2859
|
+
# @return [String]
|
2860
|
+
attr_accessor :create_time
|
2861
|
+
|
2862
|
+
# Output only. When the membership binding was deleted.
|
2863
|
+
# Corresponds to the JSON property `deleteTime`
|
2864
|
+
# @return [String]
|
2865
|
+
attr_accessor :delete_time
|
2866
|
+
|
2867
|
+
# Whether the membershipbinding is Fleet-wide; true means that this Membership
|
2868
|
+
# should be bound to all Namespaces in this entire Fleet.
|
2869
|
+
# Corresponds to the JSON property `fleet`
|
2870
|
+
# @return [Boolean]
|
2871
|
+
attr_accessor :fleet
|
2872
|
+
alias_method :fleet?, :fleet
|
2873
|
+
|
2874
|
+
# The resource name for the membershipbinding itself `projects/`project`/
|
2875
|
+
# locations/`location`/memberships/`membership`/bindings/`membershipbinding``
|
2876
|
+
# Corresponds to the JSON property `name`
|
2877
|
+
# @return [String]
|
2878
|
+
attr_accessor :name
|
2879
|
+
|
2880
|
+
# A Workspace resource name in the format `projects/*/locations/*/scopes/*`.
|
2881
|
+
# Corresponds to the JSON property `scope`
|
2882
|
+
# @return [String]
|
2883
|
+
attr_accessor :scope
|
2884
|
+
|
2885
|
+
# MembershipBindingLifecycleState describes the state of a Binding resource.
|
2886
|
+
# Corresponds to the JSON property `state`
|
2887
|
+
# @return [Google::Apis::GkehubV1alpha::MembershipBindingLifecycleState]
|
2888
|
+
attr_accessor :state
|
2889
|
+
|
2890
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
2891
|
+
# all membershipbinding resources. If a membershipbinding resource is deleted
|
2892
|
+
# and another resource with the same name is created, it gets a different uid.
|
2893
|
+
# Corresponds to the JSON property `uid`
|
2894
|
+
# @return [String]
|
2895
|
+
attr_accessor :uid
|
2896
|
+
|
2897
|
+
# Output only. When the membership binding was last updated.
|
2898
|
+
# Corresponds to the JSON property `updateTime`
|
2899
|
+
# @return [String]
|
2900
|
+
attr_accessor :update_time
|
2901
|
+
|
2902
|
+
def initialize(**args)
|
2903
|
+
update!(**args)
|
2904
|
+
end
|
2905
|
+
|
2906
|
+
# Update properties of this object
|
2907
|
+
def update!(**args)
|
2908
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2909
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
2910
|
+
@fleet = args[:fleet] if args.key?(:fleet)
|
2911
|
+
@name = args[:name] if args.key?(:name)
|
2912
|
+
@scope = args[:scope] if args.key?(:scope)
|
2913
|
+
@state = args[:state] if args.key?(:state)
|
2914
|
+
@uid = args[:uid] if args.key?(:uid)
|
2915
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2916
|
+
end
|
2917
|
+
end
|
2918
|
+
|
2919
|
+
# MembershipBindingLifecycleState describes the state of a Binding resource.
|
2920
|
+
class MembershipBindingLifecycleState
|
2921
|
+
include Google::Apis::Core::Hashable
|
2922
|
+
|
2923
|
+
# Output only. The current state of the MembershipBinding resource.
|
2924
|
+
# Corresponds to the JSON property `code`
|
2925
|
+
# @return [String]
|
2926
|
+
attr_accessor :code
|
2927
|
+
|
2928
|
+
def initialize(**args)
|
2929
|
+
update!(**args)
|
2930
|
+
end
|
2931
|
+
|
2932
|
+
# Update properties of this object
|
2933
|
+
def update!(**args)
|
2934
|
+
@code = args[:code] if args.key?(:code)
|
2935
|
+
end
|
2936
|
+
end
|
2937
|
+
|
2746
2938
|
# MembershipEndpoint contains information needed to contact a Kubernetes API,
|
2747
2939
|
# endpoint and any additional Kubernetes metadata.
|
2748
2940
|
class MembershipEndpoint
|
@@ -3074,6 +3266,83 @@ module Google
|
|
3074
3266
|
end
|
3075
3267
|
end
|
3076
3268
|
|
3269
|
+
# Namespace represents a namespace across the Fleet
|
3270
|
+
class Namespace
|
3271
|
+
include Google::Apis::Core::Hashable
|
3272
|
+
|
3273
|
+
# Output only. When the namespace was created.
|
3274
|
+
# Corresponds to the JSON property `createTime`
|
3275
|
+
# @return [String]
|
3276
|
+
attr_accessor :create_time
|
3277
|
+
|
3278
|
+
# Output only. When the namespace was deleted.
|
3279
|
+
# Corresponds to the JSON property `deleteTime`
|
3280
|
+
# @return [String]
|
3281
|
+
attr_accessor :delete_time
|
3282
|
+
|
3283
|
+
# The resource name for the namespace `projects/`project`/locations/`location`/
|
3284
|
+
# namespaces/`namespace``
|
3285
|
+
# Corresponds to the JSON property `name`
|
3286
|
+
# @return [String]
|
3287
|
+
attr_accessor :name
|
3288
|
+
|
3289
|
+
# Required. Scope associated with the namespace
|
3290
|
+
# Corresponds to the JSON property `scope`
|
3291
|
+
# @return [String]
|
3292
|
+
attr_accessor :scope
|
3293
|
+
|
3294
|
+
# NamespaceLifecycleState describes the state of a Namespace resource.
|
3295
|
+
# Corresponds to the JSON property `state`
|
3296
|
+
# @return [Google::Apis::GkehubV1alpha::NamespaceLifecycleState]
|
3297
|
+
attr_accessor :state
|
3298
|
+
|
3299
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
3300
|
+
# all namespace resources. If a namespace resource is deleted and another
|
3301
|
+
# resource with the same name is created, it gets a different uid.
|
3302
|
+
# Corresponds to the JSON property `uid`
|
3303
|
+
# @return [String]
|
3304
|
+
attr_accessor :uid
|
3305
|
+
|
3306
|
+
# Output only. When the namespace was last updated.
|
3307
|
+
# Corresponds to the JSON property `updateTime`
|
3308
|
+
# @return [String]
|
3309
|
+
attr_accessor :update_time
|
3310
|
+
|
3311
|
+
def initialize(**args)
|
3312
|
+
update!(**args)
|
3313
|
+
end
|
3314
|
+
|
3315
|
+
# Update properties of this object
|
3316
|
+
def update!(**args)
|
3317
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3318
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
3319
|
+
@name = args[:name] if args.key?(:name)
|
3320
|
+
@scope = args[:scope] if args.key?(:scope)
|
3321
|
+
@state = args[:state] if args.key?(:state)
|
3322
|
+
@uid = args[:uid] if args.key?(:uid)
|
3323
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3324
|
+
end
|
3325
|
+
end
|
3326
|
+
|
3327
|
+
# NamespaceLifecycleState describes the state of a Namespace resource.
|
3328
|
+
class NamespaceLifecycleState
|
3329
|
+
include Google::Apis::Core::Hashable
|
3330
|
+
|
3331
|
+
# Output only. The current state of the Namespace resource.
|
3332
|
+
# Corresponds to the JSON property `code`
|
3333
|
+
# @return [String]
|
3334
|
+
attr_accessor :code
|
3335
|
+
|
3336
|
+
def initialize(**args)
|
3337
|
+
update!(**args)
|
3338
|
+
end
|
3339
|
+
|
3340
|
+
# Update properties of this object
|
3341
|
+
def update!(**args)
|
3342
|
+
@code = args[:code] if args.key?(:code)
|
3343
|
+
end
|
3344
|
+
end
|
3345
|
+
|
3077
3346
|
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
3078
3347
|
class OnPremCluster
|
3079
3348
|
include Google::Apis::Core::Hashable
|
@@ -3595,6 +3864,11 @@ module Google
|
|
3595
3864
|
attr_accessor :pod_anti_affinity
|
3596
3865
|
alias_method :pod_anti_affinity?, :pod_anti_affinity
|
3597
3866
|
|
3867
|
+
# Pod tolerations of node taints.
|
3868
|
+
# Corresponds to the JSON property `podTolerations`
|
3869
|
+
# @return [Array<Google::Apis::GkehubV1alpha::PolicyControllerToleration>]
|
3870
|
+
attr_accessor :pod_tolerations
|
3871
|
+
|
3598
3872
|
# Pod replica count.
|
3599
3873
|
# Corresponds to the JSON property `replicaCount`
|
3600
3874
|
# @return [Fixnum]
|
@@ -3608,6 +3882,7 @@ module Google
|
|
3608
3882
|
def update!(**args)
|
3609
3883
|
@container_resources = args[:container_resources] if args.key?(:container_resources)
|
3610
3884
|
@pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
|
3885
|
+
@pod_tolerations = args[:pod_tolerations] if args.key?(:pod_tolerations)
|
3611
3886
|
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
3612
3887
|
end
|
3613
3888
|
end
|
@@ -3682,6 +3957,135 @@ module Google
|
|
3682
3957
|
end
|
3683
3958
|
end
|
3684
3959
|
|
3960
|
+
# Toleration of a node taint.
|
3961
|
+
class PolicyControllerToleration
|
3962
|
+
include Google::Apis::Core::Hashable
|
3963
|
+
|
3964
|
+
# Matches a taint effect.
|
3965
|
+
# Corresponds to the JSON property `effect`
|
3966
|
+
# @return [String]
|
3967
|
+
attr_accessor :effect
|
3968
|
+
|
3969
|
+
# Matches a taint key (not necessarily unique).
|
3970
|
+
# Corresponds to the JSON property `key`
|
3971
|
+
# @return [String]
|
3972
|
+
attr_accessor :key
|
3973
|
+
|
3974
|
+
# Matches a taint operator.
|
3975
|
+
# Corresponds to the JSON property `operator`
|
3976
|
+
# @return [String]
|
3977
|
+
attr_accessor :operator
|
3978
|
+
|
3979
|
+
# Matches a taint value.
|
3980
|
+
# Corresponds to the JSON property `value`
|
3981
|
+
# @return [String]
|
3982
|
+
attr_accessor :value
|
3983
|
+
|
3984
|
+
def initialize(**args)
|
3985
|
+
update!(**args)
|
3986
|
+
end
|
3987
|
+
|
3988
|
+
# Update properties of this object
|
3989
|
+
def update!(**args)
|
3990
|
+
@effect = args[:effect] if args.key?(:effect)
|
3991
|
+
@key = args[:key] if args.key?(:key)
|
3992
|
+
@operator = args[:operator] if args.key?(:operator)
|
3993
|
+
@value = args[:value] if args.key?(:value)
|
3994
|
+
end
|
3995
|
+
end
|
3996
|
+
|
3997
|
+
# RBACRoleBinding represents a rbacrolebinding across the Fleet
|
3998
|
+
class RbacRoleBinding
|
3999
|
+
include Google::Apis::Core::Hashable
|
4000
|
+
|
4001
|
+
# Output only. When the rbacrolebinding was created.
|
4002
|
+
# Corresponds to the JSON property `createTime`
|
4003
|
+
# @return [String]
|
4004
|
+
attr_accessor :create_time
|
4005
|
+
|
4006
|
+
# Output only. When the rbacrolebinding was deleted.
|
4007
|
+
# Corresponds to the JSON property `deleteTime`
|
4008
|
+
# @return [String]
|
4009
|
+
attr_accessor :delete_time
|
4010
|
+
|
4011
|
+
# group is the group, as seen by the kubernetes cluster.
|
4012
|
+
# Corresponds to the JSON property `group`
|
4013
|
+
# @return [String]
|
4014
|
+
attr_accessor :group
|
4015
|
+
|
4016
|
+
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
4017
|
+
# location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding``
|
4018
|
+
# Corresponds to the JSON property `name`
|
4019
|
+
# @return [String]
|
4020
|
+
attr_accessor :name
|
4021
|
+
|
4022
|
+
# Role is the type for Kubernetes roles
|
4023
|
+
# Corresponds to the JSON property `role`
|
4024
|
+
# @return [Google::Apis::GkehubV1alpha::Role]
|
4025
|
+
attr_accessor :role
|
4026
|
+
|
4027
|
+
# RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding
|
4028
|
+
# resource.
|
4029
|
+
# Corresponds to the JSON property `state`
|
4030
|
+
# @return [Google::Apis::GkehubV1alpha::RbacRoleBindingLifecycleState]
|
4031
|
+
attr_accessor :state
|
4032
|
+
|
4033
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
4034
|
+
# all rbacrolebinding resources. If a rbacrolebinding resource is deleted and
|
4035
|
+
# another resource with the same name is created, it gets a different uid.
|
4036
|
+
# Corresponds to the JSON property `uid`
|
4037
|
+
# @return [String]
|
4038
|
+
attr_accessor :uid
|
4039
|
+
|
4040
|
+
# Output only. When the rbacrolebinding was last updated.
|
4041
|
+
# Corresponds to the JSON property `updateTime`
|
4042
|
+
# @return [String]
|
4043
|
+
attr_accessor :update_time
|
4044
|
+
|
4045
|
+
# user is the name of the user as seen by the kubernetes cluster, example "alice"
|
4046
|
+
# or "alice@domain.tld"
|
4047
|
+
# Corresponds to the JSON property `user`
|
4048
|
+
# @return [String]
|
4049
|
+
attr_accessor :user
|
4050
|
+
|
4051
|
+
def initialize(**args)
|
4052
|
+
update!(**args)
|
4053
|
+
end
|
4054
|
+
|
4055
|
+
# Update properties of this object
|
4056
|
+
def update!(**args)
|
4057
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4058
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
4059
|
+
@group = args[:group] if args.key?(:group)
|
4060
|
+
@name = args[:name] if args.key?(:name)
|
4061
|
+
@role = args[:role] if args.key?(:role)
|
4062
|
+
@state = args[:state] if args.key?(:state)
|
4063
|
+
@uid = args[:uid] if args.key?(:uid)
|
4064
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4065
|
+
@user = args[:user] if args.key?(:user)
|
4066
|
+
end
|
4067
|
+
end
|
4068
|
+
|
4069
|
+
# RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding
|
4070
|
+
# resource.
|
4071
|
+
class RbacRoleBindingLifecycleState
|
4072
|
+
include Google::Apis::Core::Hashable
|
4073
|
+
|
4074
|
+
# Output only. The current state of the rbacrolebinding resource.
|
4075
|
+
# Corresponds to the JSON property `code`
|
4076
|
+
# @return [String]
|
4077
|
+
attr_accessor :code
|
4078
|
+
|
4079
|
+
def initialize(**args)
|
4080
|
+
update!(**args)
|
4081
|
+
end
|
4082
|
+
|
4083
|
+
# Update properties of this object
|
4084
|
+
def update!(**args)
|
4085
|
+
@code = args[:code] if args.key?(:code)
|
4086
|
+
end
|
4087
|
+
end
|
4088
|
+
|
3685
4089
|
# ResourceManifest represents a single Kubernetes resource to be applied to the
|
3686
4090
|
# cluster.
|
3687
4091
|
class ResourceManifest
|
@@ -3749,6 +4153,77 @@ module Google
|
|
3749
4153
|
end
|
3750
4154
|
end
|
3751
4155
|
|
4156
|
+
# Role is the type for Kubernetes roles
|
4157
|
+
class Role
|
4158
|
+
include Google::Apis::Core::Hashable
|
4159
|
+
|
4160
|
+
# predefined_role is the Kubernetes default role to use
|
4161
|
+
# Corresponds to the JSON property `predefinedRole`
|
4162
|
+
# @return [String]
|
4163
|
+
attr_accessor :predefined_role
|
4164
|
+
|
4165
|
+
def initialize(**args)
|
4166
|
+
update!(**args)
|
4167
|
+
end
|
4168
|
+
|
4169
|
+
# Update properties of this object
|
4170
|
+
def update!(**args)
|
4171
|
+
@predefined_role = args[:predefined_role] if args.key?(:predefined_role)
|
4172
|
+
end
|
4173
|
+
end
|
4174
|
+
|
4175
|
+
# Scope represents a Scope in a Fleet.
|
4176
|
+
class Scope
|
4177
|
+
include Google::Apis::Core::Hashable
|
4178
|
+
|
4179
|
+
# Output only. When the scope was created.
|
4180
|
+
# Corresponds to the JSON property `createTime`
|
4181
|
+
# @return [String]
|
4182
|
+
attr_accessor :create_time
|
4183
|
+
|
4184
|
+
# Output only. When the scope was deleted.
|
4185
|
+
# Corresponds to the JSON property `deleteTime`
|
4186
|
+
# @return [String]
|
4187
|
+
attr_accessor :delete_time
|
4188
|
+
|
4189
|
+
# The resource name for the scope `projects/`project`/locations/`location`/
|
4190
|
+
# scopes/`scope``
|
4191
|
+
# Corresponds to the JSON property `name`
|
4192
|
+
# @return [String]
|
4193
|
+
attr_accessor :name
|
4194
|
+
|
4195
|
+
# ScopeLifecycleState describes the state of a Scope resource.
|
4196
|
+
# Corresponds to the JSON property `state`
|
4197
|
+
# @return [Google::Apis::GkehubV1alpha::ScopeLifecycleState]
|
4198
|
+
attr_accessor :state
|
4199
|
+
|
4200
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
4201
|
+
# all scope resources. If a scope resource is deleted and another resource with
|
4202
|
+
# the same name is created, it gets a different uid.
|
4203
|
+
# Corresponds to the JSON property `uid`
|
4204
|
+
# @return [String]
|
4205
|
+
attr_accessor :uid
|
4206
|
+
|
4207
|
+
# Output only. When the scope was last updated.
|
4208
|
+
# Corresponds to the JSON property `updateTime`
|
4209
|
+
# @return [String]
|
4210
|
+
attr_accessor :update_time
|
4211
|
+
|
4212
|
+
def initialize(**args)
|
4213
|
+
update!(**args)
|
4214
|
+
end
|
4215
|
+
|
4216
|
+
# Update properties of this object
|
4217
|
+
def update!(**args)
|
4218
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4219
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
4220
|
+
@name = args[:name] if args.key?(:name)
|
4221
|
+
@state = args[:state] if args.key?(:state)
|
4222
|
+
@uid = args[:uid] if args.key?(:uid)
|
4223
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4224
|
+
end
|
4225
|
+
end
|
4226
|
+
|
3752
4227
|
# ScopeFeatureSpec contains feature specs for a fleet scope.
|
3753
4228
|
class ScopeFeatureSpec
|
3754
4229
|
include Google::Apis::Core::Hashable
|
@@ -3783,6 +4258,25 @@ module Google
|
|
3783
4258
|
end
|
3784
4259
|
end
|
3785
4260
|
|
4261
|
+
# ScopeLifecycleState describes the state of a Scope resource.
|
4262
|
+
class ScopeLifecycleState
|
4263
|
+
include Google::Apis::Core::Hashable
|
4264
|
+
|
4265
|
+
# Output only. The current state of the scope resource.
|
4266
|
+
# Corresponds to the JSON property `code`
|
4267
|
+
# @return [String]
|
4268
|
+
attr_accessor :code
|
4269
|
+
|
4270
|
+
def initialize(**args)
|
4271
|
+
update!(**args)
|
4272
|
+
end
|
4273
|
+
|
4274
|
+
# Update properties of this object
|
4275
|
+
def update!(**args)
|
4276
|
+
@code = args[:code] if args.key?(:code)
|
4277
|
+
end
|
4278
|
+
end
|
4279
|
+
|
3786
4280
|
# AnalysisMessage is a single message produced by an analyzer, and it used to
|
3787
4281
|
# communicate to the end user about the state of their Service Mesh
|
3788
4282
|
# configuration.
|
@@ -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.47.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 = "20230219"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|