Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class NamespacedName.
A reference to a namespaced resource in Kubernetes.
Generated from protobuf message google.cloud.gkebackup.v1.NamespacedName
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ namespace |
string
The Namespace of the Kubernetes resource. |
↳ name |
string
The name of the Kubernetes resource. |
getNamespace
The Namespace of the Kubernetes resource.
Returns | |
---|---|
Type | Description |
string |
setNamespace
The Namespace of the Kubernetes resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getName
The name of the Kubernetes resource.
Returns | |
---|---|
Type | Description |
string |
setName
The name of the Kubernetes resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |