Reference documentation and code samples for the Network Management V1 API class Google::Cloud::NetworkManagement::V1::GkePodInfo.
For display only. Metadata associated with a Google Kubernetes Engine (GKE) Pod.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ip_address
def ip_address() -> ::String
Returns
- (::String) — IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.
#ip_address=
def ip_address=(value) -> ::String
Parameter
- value (::String) — IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.
Returns
- (::String) — IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.
#network_uri
def network_uri() -> ::String
Returns
- (::String) — URI of the network containing the GKE Pod.
#network_uri=
def network_uri=(value) -> ::String
Parameter
- value (::String) — URI of the network containing the GKE Pod.
Returns
- (::String) — URI of the network containing the GKE Pod.
#pod_uri
def pod_uri() -> ::String
Returns
-
(::String) — URI of a GKE Pod.
For Pods in regional Clusters, the URI format is:
projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}For Pods in zonal Clusters, the URI format is:projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}
#pod_uri=
def pod_uri=(value) -> ::String
Parameter
-
value (::String) — URI of a GKE Pod.
For Pods in regional Clusters, the URI format is:
projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}For Pods in zonal Clusters, the URI format is:projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}
Returns
-
(::String) — URI of a GKE Pod.
For Pods in regional Clusters, the URI format is:
projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}For Pods in zonal Clusters, the URI format is:projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}