Google Cloud Network Management V1 Client - Class GkePodInfo (2.9.1)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class GkePodInfo.

For display only. Metadata associated with a Google Kubernetes Engine (GKE) Pod.

Generated from protobuf message google.cloud.networkmanagement.v1.GkePodInfo

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ pod_uri
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}

↳ ip_address
string

IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.

↳ network_uri
string

URI of the network containing the GKE Pod.

getPodUri

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
Type
Description
string

setPodUri

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}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getIpAddress

IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.

Returns
Type
Description
string

setIpAddress

IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getNetworkUri

URI of the network containing the GKE Pod.

Returns
Type
Description
string

setNetworkUri

URI of the network containing the GKE Pod.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: