# Network Management V1 API - Class Google::Cloud::NetworkManagement::V1::GkePodInfo (v2.11.0)

2.11.0 (latest) 2.10.1 2.9.0 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.0 0.1.3 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}`