Class: Google::Apis::GkehubV1beta::GenerateMembershipRbacRoleBindingYamlResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb

Overview

Response for GenerateRBACRoleBindingYAML.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateMembershipRbacRoleBindingYamlResponse

Returns a new instance of GenerateMembershipRbacRoleBindingYamlResponse.



1987
1988
1989
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1987

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#role_bindings_yamlString

a yaml text blob including the RBAC policies. Corresponds to the JSON property roleBindingsYaml

Returns:

  • (String)


1985
1986
1987
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1985

def role_bindings_yaml
  @role_bindings_yaml
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1992
1993
1994
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1992

def update!(**args)
  @role_bindings_yaml = args[:role_bindings_yaml] if args.key?(:role_bindings_yaml)
end