Class: Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
Response for GenerateRBACRoleBindingYAML.
Instance Attribute Summary collapse
-
#role_bindings_yaml ⇒ String
a yaml text blob including the RBAC policies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateMembershipRbacRoleBindingYamlResponse
constructor
A new instance of GenerateMembershipRbacRoleBindingYamlResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateMembershipRbacRoleBindingYamlResponse
Returns a new instance of GenerateMembershipRbacRoleBindingYamlResponse.
2841 2842 2843 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2841 def initialize(**args) update!(**args) end |
Instance Attribute Details
#role_bindings_yaml ⇒ String
a yaml text blob including the RBAC policies.
Corresponds to the JSON property roleBindingsYaml
2839 2840 2841 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2839 def role_bindings_yaml @role_bindings_yaml end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2846 2847 2848 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2846 def update!(**args) @role_bindings_yaml = args[:role_bindings_yaml] if args.key?(:role_bindings_yaml) end |