Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class Namespaces.
A list of Kubernetes Namespaces.
Generated from protobuf message google.cloud.gkebackup.v1.Namespaces
Namespace
Google \ Cloud \ GkeBackup \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ namespaces | arrayOptional. A list of Kubernetes Namespaces. | 
getNamespaces
Optional. A list of Kubernetes Namespaces.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setNamespaces
Optional. A list of Kubernetes Namespaces.
| Parameter | |
|---|---|
| Name | Description | 
| var | string[] | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |