Class: Google::Cloud::SecurityCenter::V1::Kubernetes::AccessReview

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

Overview

Conveys information about a Kubernetes access review (such as one returned by a kubectl auth can-i command) that was involved in a finding.

Instance Attribute Summary collapse

Instance Attribute Details

#group::String

Returns The API group of the resource. "*" means all.

Returns:

  • (::String)

    The API group of the resource. "*" means all.



207
208
209
210
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 207

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

#name::String

Returns The name of the resource being requested. Empty means all.

Returns:

  • (::String)

    The name of the resource being requested. Empty means all.



207
208
209
210
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 207

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

#ns::String

Returns Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).

Returns:

  • (::String)

    Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).



207
208
209
210
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 207

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

#resource::String

Returns The optional resource type requested. "*" means all.

Returns:

  • (::String)

    The optional resource type requested. "*" means all.



207
208
209
210
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 207

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

#subresource::String

Returns The optional subresource type.

Returns:

  • (::String)

    The optional subresource type.



207
208
209
210
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 207

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

#verb::String

Returns A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.

Returns:

  • (::String)

    A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.



207
208
209
210
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 207

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

#version::String

Returns The API version of the resource. "*" means all.

Returns:

  • (::String)

    The API version of the resource. "*" means all.



207
208
209
210
# File 'proto_docs/google/cloud/securitycenter/v1/kubernetes.rb', line 207

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