NAME
Google::Cloud::Securitycenter::V2::Kubernetes - Compiled Protocol Buffers messages for google/cloud/securitycenter/v2/kubernetes.proto
SYNOPSIS
use Google::Cloud::Securitycenter::V2::Kubernetes;
my $msg = Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes->new({
pods => $pods,
nodes => $nodes,
node_pools => $node_pools,
roles => $roles,
});
# Read or update a field
my $val = $msg->pods();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v2/kubernetes.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes
Kubernetes-related attributes.
Inherits from Protobuf::Message.
Accessors
$msg->pods()/$msg->pods($value)Type:
Message(Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes::Pod)Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.
$msg->nodes()/$msg->nodes($value)Type:
Message(Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes::Node)Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.
$msg->node_pools()/$msg->node_pools($value)Type:
Message(Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes::NodePool)GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.
$msg->roles()/$msg->roles($value)Type:
Message(Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes::Role)Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
$msg->bindings()/$msg->bindings($value)Type:
Message(Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes::Binding)Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).
$msg->access_reviews()/$msg->access_reviews($value)Type:
Message(Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes::AccessReview)Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
$msg->objects()/$msg->objects($value)Type:
Message(Google::Cloud::Securitycenter::V2::Kubernetes::Kubernetes::Object)Kubernetes objects related to the finding.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V2::Kubernetes::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.