Class: Google::Cloud::SecurityCenter::V1::Kubernetes::Subject

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 subject.

Defined Under Namespace

Modules: AuthType

Instance Attribute Summary collapse

Instance Attribute Details

#kind::Google::Cloud::SecurityCenter::V1::Kubernetes::Subject::AuthType

Returns Authentication type for the subject.

Returns:



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 159

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

  # Auth types that can be used for the subject's kind field.
  module AuthType
    # Authentication is not specified.
    AUTH_TYPE_UNSPECIFIED = 0

    # User with valid certificate.
    USER = 1

    # Users managed by Kubernetes API with credentials stored as secrets.
    SERVICEACCOUNT = 2

    # Collection of users.
    GROUP = 3
  end
end

#name::String

Returns Name for the subject.

Returns:

  • (::String)

    Name for the subject.



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 159

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

  # Auth types that can be used for the subject's kind field.
  module AuthType
    # Authentication is not specified.
    AUTH_TYPE_UNSPECIFIED = 0

    # User with valid certificate.
    USER = 1

    # Users managed by Kubernetes API with credentials stored as secrets.
    SERVICEACCOUNT = 2

    # Collection of users.
    GROUP = 3
  end
end

#ns::String

Returns Namespace for the subject.

Returns:

  • (::String)

    Namespace for the subject.



159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 159

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

  # Auth types that can be used for the subject's kind field.
  module AuthType
    # Authentication is not specified.
    AUTH_TYPE_UNSPECIFIED = 0

    # User with valid certificate.
    USER = 1

    # Users managed by Kubernetes API with credentials stored as secrets.
    SERVICEACCOUNT = 2

    # Collection of users.
    GROUP = 3
  end
end