Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::Kubernetes.
Kubernetes-related attributes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_reviews
def access_reviews() -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::AccessReview>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::AccessReview>) — Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
#access_reviews=
def access_reviews=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::AccessReview>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::AccessReview>) — Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::AccessReview>) — Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
#bindings
def bindings() -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Binding>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Binding>) — Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.
#bindings=
def bindings=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Binding>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Binding>) — Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Binding>) — Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.
#node_pools
def node_pools() -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::NodePool>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::NodePool>) — GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.
#node_pools=
def node_pools=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::NodePool>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::NodePool>) — GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::NodePool>) — GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.
#nodes
def nodes() -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Node>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Node>) — Provides Kubernetes node information.
#nodes=
def nodes=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Node>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Node>) — Provides Kubernetes node information.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Node>) — Provides Kubernetes node information.
#pods
def pods() -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Pod>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Pod>) — Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.
#pods=
def pods=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Pod>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Pod>) — Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Pod>) — Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.
#roles
def roles() -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Role>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Role>) — Provides Kubernetes role information for findings that involve Roles or ClusterRoles.
#roles=
def roles=(value) -> ::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Role>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Role>) — Provides Kubernetes role information for findings that involve Roles or ClusterRoles.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Role>) — Provides Kubernetes role information for findings that involve Roles or ClusterRoles.