Skip to content

Commit 31c6477

Browse files
feat: Automated regeneration of gkehub v2 client (googleapis#22592)
Auto-created at 2025-04-27 10:45:09 +0000 using the toys pull request generator.
1 parent af52e61 commit 31c6477

File tree

5 files changed

+144
-2
lines changed

5 files changed

+144
-2
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247467,6 +247467,7 @@
247467247467
"/gkehub:v2/FeatureSpec/identityservice": identityservice
247468247468
"/gkehub:v2/FeatureSpec/origin": origin
247469247469
"/gkehub:v2/FeatureSpec/policycontroller": policycontroller
247470+
"/gkehub:v2/FeatureSpec/rbacrolebindingactuation": rbacrolebindingactuation
247470247471
"/gkehub:v2/FeatureSpec/servicemesh": servicemesh
247471247472
"/gkehub:v2/FeatureSpec/workloadcertificate": workloadcertificate
247472247473
"/gkehub:v2/FeatureState": feature_state
@@ -247476,6 +247477,7 @@
247476247477
"/gkehub:v2/FeatureState/identityservice": identityservice
247477247478
"/gkehub:v2/FeatureState/metering": metering
247478247479
"/gkehub:v2/FeatureState/policycontroller": policycontroller
247480+
"/gkehub:v2/FeatureState/rbacrolebindingactuation": rbacrolebindingactuation
247479247481
"/gkehub:v2/FeatureState/servicemesh": servicemesh
247480247482
"/gkehub:v2/FeatureState/state": state
247481247483
"/gkehub:v2/GoogleRpcStatus": google_rpc_status
@@ -247682,6 +247684,14 @@
247682247684
"/gkehub:v2/PolicyControllerToleration/key": key
247683247685
"/gkehub:v2/PolicyControllerToleration/operator": operator
247684247686
"/gkehub:v2/PolicyControllerToleration/value": value
247687+
"/gkehub:v2/RBACRoleBindingActuationRBACRoleBindingState": rbac_role_binding_actuation_rbac_role_binding_state
247688+
"/gkehub:v2/RBACRoleBindingActuationRBACRoleBindingState/description": description
247689+
"/gkehub:v2/RBACRoleBindingActuationRBACRoleBindingState/state": state
247690+
"/gkehub:v2/RBACRoleBindingActuationRBACRoleBindingState/updateTime": update_time
247691+
"/gkehub:v2/RBACRoleBindingActuationSpec": rbac_role_binding_actuation_spec
247692+
"/gkehub:v2/RBACRoleBindingActuationState": rbac_role_binding_actuation_state
247693+
"/gkehub:v2/RBACRoleBindingActuationState/rbacrolebindingStates": rbacrolebinding_states
247694+
"/gkehub:v2/RBACRoleBindingActuationState/rbacrolebindingStates/rbacrolebinding_state": rbacrolebinding_state
247685247695
"/gkehub:v2/ServiceMeshAnalysisMessage": service_mesh_analysis_message
247686247696
"/gkehub:v2/ServiceMeshAnalysisMessage/args": args
247687247697
"/gkehub:v2/ServiceMeshAnalysisMessage/args/arg": arg

generated/google-apis-gkehub_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-gkehub_v2
22

3+
### v0.9.0 (2025-04-27)
4+
5+
* Regenerated from discovery document revision 20250415
6+
37
### v0.8.0 (2025-03-30)
48

59
* Regenerated from discovery document revision 20250324

generated/google-apis-gkehub_v2/lib/google/apis/gkehub_v2/classes.rb

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,6 +1484,12 @@ class FeatureSpec
14841484
# @return [Google::Apis::GkehubV2::PolicyControllerSpec]
14851485
attr_accessor :policycontroller
14861486

1487+
# **RBAC RoleBinding Actuation**: The membership-specific input for
1488+
# RBACRoleBindingActuation feature.
1489+
# Corresponds to the JSON property `rbacrolebindingactuation`
1490+
# @return [Google::Apis::GkehubV2::RbacRoleBindingActuationSpec]
1491+
attr_accessor :rbacrolebindingactuation
1492+
14871493
# **Service Mesh**: Spec for a single Membership for the servicemesh feature
14881494
# Corresponds to the JSON property `servicemesh`
14891495
# @return [Google::Apis::GkehubV2::ServiceMeshSpec]
@@ -1506,6 +1512,7 @@ def update!(**args)
15061512
@identityservice = args[:identityservice] if args.key?(:identityservice)
15071513
@origin = args[:origin] if args.key?(:origin)
15081514
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
1515+
@rbacrolebindingactuation = args[:rbacrolebindingactuation] if args.key?(:rbacrolebindingactuation)
15091516
@servicemesh = args[:servicemesh] if args.key?(:servicemesh)
15101517
@workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
15111518
end
@@ -1548,6 +1555,12 @@ class FeatureState
15481555
# @return [Google::Apis::GkehubV2::PolicyControllerState]
15491556
attr_accessor :policycontroller
15501557

1558+
# **RBAC RoleBinding Actuation**: A membership-specific Feature state for the
1559+
# RBACRoleBindingActuation fleet feature.
1560+
# Corresponds to the JSON property `rbacrolebindingactuation`
1561+
# @return [Google::Apis::GkehubV2::RbacRoleBindingActuationState]
1562+
attr_accessor :rbacrolebindingactuation
1563+
15511564
# **Service Mesh**: State for a single Membership, as analyzed by the Service
15521565
# Mesh Hub Controller.
15531566
# Corresponds to the JSON property `servicemesh`
@@ -1571,6 +1584,7 @@ def update!(**args)
15711584
@identityservice = args[:identityservice] if args.key?(:identityservice)
15721585
@metering = args[:metering] if args.key?(:metering)
15731586
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
1587+
@rbacrolebindingactuation = args[:rbacrolebindingactuation] if args.key?(:rbacrolebindingactuation)
15741588
@servicemesh = args[:servicemesh] if args.key?(:servicemesh)
15751589
@state = args[:state] if args.key?(:state)
15761590
end
@@ -3067,6 +3081,75 @@ def update!(**args)
30673081
end
30683082
end
30693083

3084+
# RBACRoleBindingState is the status of an RBACRoleBinding which exists on a
3085+
# membership.
3086+
class RbacRoleBindingActuationRbacRoleBindingState
3087+
include Google::Apis::Core::Hashable
3088+
3089+
# The reason for the failure.
3090+
# Corresponds to the JSON property `description`
3091+
# @return [String]
3092+
attr_accessor :description
3093+
3094+
# Output only. The state of the RBACRoleBinding.
3095+
# Corresponds to the JSON property `state`
3096+
# @return [String]
3097+
attr_accessor :state
3098+
3099+
# The time the RBACRoleBinding status was last updated.
3100+
# Corresponds to the JSON property `updateTime`
3101+
# @return [String]
3102+
attr_accessor :update_time
3103+
3104+
def initialize(**args)
3105+
update!(**args)
3106+
end
3107+
3108+
# Update properties of this object
3109+
def update!(**args)
3110+
@description = args[:description] if args.key?(:description)
3111+
@state = args[:state] if args.key?(:state)
3112+
@update_time = args[:update_time] if args.key?(:update_time)
3113+
end
3114+
end
3115+
3116+
# **RBAC RoleBinding Actuation**: The membership-specific input for
3117+
# RBACRoleBindingActuation feature.
3118+
class RbacRoleBindingActuationSpec
3119+
include Google::Apis::Core::Hashable
3120+
3121+
def initialize(**args)
3122+
update!(**args)
3123+
end
3124+
3125+
# Update properties of this object
3126+
def update!(**args)
3127+
end
3128+
end
3129+
3130+
# **RBAC RoleBinding Actuation**: A membership-specific Feature state for the
3131+
# RBACRoleBindingActuation fleet feature.
3132+
class RbacRoleBindingActuationState
3133+
include Google::Apis::Core::Hashable
3134+
3135+
# Output only. The state of RBACRoleBindings using custom roles that exist on
3136+
# the cluster, keyed by RBACRoleBinding resource name with format: projects/`
3137+
# project`/locations/`location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`
3138+
# .
3139+
# Corresponds to the JSON property `rbacrolebindingStates`
3140+
# @return [Hash<String,Google::Apis::GkehubV2::RbacRoleBindingActuationRbacRoleBindingState>]
3141+
attr_accessor :rbacrolebinding_states
3142+
3143+
def initialize(**args)
3144+
update!(**args)
3145+
end
3146+
3147+
# Update properties of this object
3148+
def update!(**args)
3149+
@rbacrolebinding_states = args[:rbacrolebinding_states] if args.key?(:rbacrolebinding_states)
3150+
end
3151+
end
3152+
30703153
# AnalysisMessage is a single message produced by an analyzer, and it used to
30713154
# communicate to the end user about the state of their Service Mesh
30723155
# configuration.

generated/google-apis-gkehub_v2/lib/google/apis/gkehub_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module GkehubV2
1818
# Version of the google-apis-gkehub_v2 gem
19-
GEM_VERSION = "0.8.0"
19+
GEM_VERSION = "0.9.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250324"
25+
REVISION = "20250415"
2626
end
2727
end
2828
end

generated/google-apis-gkehub_v2/lib/google/apis/gkehub_v2/representations.rb

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
508508
include Google::Apis::Core::JsonObjectSupport
509509
end
510510

511+
class RbacRoleBindingActuationRbacRoleBindingState
512+
class Representation < Google::Apis::Core::JsonRepresentation; end
513+
514+
include Google::Apis::Core::JsonObjectSupport
515+
end
516+
517+
class RbacRoleBindingActuationSpec
518+
class Representation < Google::Apis::Core::JsonRepresentation; end
519+
520+
include Google::Apis::Core::JsonObjectSupport
521+
end
522+
523+
class RbacRoleBindingActuationState
524+
class Representation < Google::Apis::Core::JsonRepresentation; end
525+
526+
include Google::Apis::Core::JsonObjectSupport
527+
end
528+
511529
class ServiceMeshAnalysisMessage
512530
class Representation < Google::Apis::Core::JsonRepresentation; end
513531

@@ -1001,6 +1019,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
10011019

10021020
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV2::PolicyControllerSpec, decorator: Google::Apis::GkehubV2::PolicyControllerSpec::Representation
10031021

1022+
property :rbacrolebindingactuation, as: 'rbacrolebindingactuation', class: Google::Apis::GkehubV2::RbacRoleBindingActuationSpec, decorator: Google::Apis::GkehubV2::RbacRoleBindingActuationSpec::Representation
1023+
10041024
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV2::ServiceMeshSpec, decorator: Google::Apis::GkehubV2::ServiceMeshSpec::Representation
10051025

10061026
property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV2::WorkloadCertificateSpec, decorator: Google::Apis::GkehubV2::WorkloadCertificateSpec::Representation
@@ -1023,6 +1043,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
10231043

10241044
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV2::PolicyControllerState, decorator: Google::Apis::GkehubV2::PolicyControllerState::Representation
10251045

1046+
property :rbacrolebindingactuation, as: 'rbacrolebindingactuation', class: Google::Apis::GkehubV2::RbacRoleBindingActuationState, decorator: Google::Apis::GkehubV2::RbacRoleBindingActuationState::Representation
1047+
10261048
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV2::ServiceMeshState, decorator: Google::Apis::GkehubV2::ServiceMeshState::Representation
10271049

10281050
property :state, as: 'state', class: Google::Apis::GkehubV2::State, decorator: Google::Apis::GkehubV2::State::Representation
@@ -1442,6 +1464,29 @@ class Representation < Google::Apis::Core::JsonRepresentation
14421464
end
14431465
end
14441466

1467+
class RbacRoleBindingActuationRbacRoleBindingState
1468+
# @private
1469+
class Representation < Google::Apis::Core::JsonRepresentation
1470+
property :description, as: 'description'
1471+
property :state, as: 'state'
1472+
property :update_time, as: 'updateTime'
1473+
end
1474+
end
1475+
1476+
class RbacRoleBindingActuationSpec
1477+
# @private
1478+
class Representation < Google::Apis::Core::JsonRepresentation
1479+
end
1480+
end
1481+
1482+
class RbacRoleBindingActuationState
1483+
# @private
1484+
class Representation < Google::Apis::Core::JsonRepresentation
1485+
hash :rbacrolebinding_states, as: 'rbacrolebindingStates', class: Google::Apis::GkehubV2::RbacRoleBindingActuationRbacRoleBindingState, decorator: Google::Apis::GkehubV2::RbacRoleBindingActuationRbacRoleBindingState::Representation
1486+
1487+
end
1488+
end
1489+
14451490
class ServiceMeshAnalysisMessage
14461491
# @private
14471492
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)