Class: Google::Cloud::SecurityCenter::V1::Kubernetes::Role

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

Overview

Kubernetes Role or ClusterRole.

Defined Under Namespace

Modules: Kind

Instance Attribute Summary collapse

Instance Attribute Details

#kind::Google::Cloud::SecurityCenter::V1::Kubernetes::Role::Kind

Returns Role type.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 113

class Role
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of Kubernetes roles.
  module Kind
    # Role type is not specified.
    KIND_UNSPECIFIED = 0

    # Kubernetes Role.
    ROLE = 1

    # Kubernetes ClusterRole.
    CLUSTER_ROLE = 2
  end
end

#name::String

Returns Role name.

Returns:

  • (::String)

    Role name.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 113

class Role
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of Kubernetes roles.
  module Kind
    # Role type is not specified.
    KIND_UNSPECIFIED = 0

    # Kubernetes Role.
    ROLE = 1

    # Kubernetes ClusterRole.
    CLUSTER_ROLE = 2
  end
end

#ns::String

Returns Role namespace.

Returns:

  • (::String)

    Role namespace.



113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 113

class Role
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Types of Kubernetes roles.
  module Kind
    # Role type is not specified.
    KIND_UNSPECIFIED = 0

    # Kubernetes Role.
    ROLE = 1

    # Kubernetes ClusterRole.
    CLUSTER_ROLE = 2
  end
end