Class: Google::Cloud::SecurityCenter::V1::Kubernetes::Binding

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/kubernetes.rb

Overview

Represents a Kubernetes RoleBinding or ClusterRoleBinding.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Name for the binding.

Returns:

  • (::String)

    Name for the binding.



144
145
146
147
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 144

class Binding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ns::String

Returns Namespace for the binding.

Returns:

  • (::String)

    Namespace for the binding.



144
145
146
147
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 144

class Binding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#role::Google::Cloud::SecurityCenter::V1::Kubernetes::Role

Returns The Role or ClusterRole referenced by the binding.

Returns:



144
145
146
147
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 144

class Binding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#subjects::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Subject>

Returns Represents one or more subjects that are bound to the role. Not always available for PATCH requests.

Returns:



144
145
146
147
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 144

class Binding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end