Reference documentation and code samples for the Google Cloud Config Delivery V1 Client class Fleet.
The fleet where the FleetPackage
should be deployed.
Generated from protobuf message google.cloud.configdelivery.v1.Fleet
Namespace
Google \ Cloud \ ConfigDelivery \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project |
string
Required. The host project for the GKE fleet. Format is |
↳ selector |
Fleet\LabelSelector
Optional. selector allows targeting a subset of fleet members using their labels. |
getProject
Required. The host project for the GKE fleet. Format is
projects/{project}
.
Returns | |
---|---|
Type | Description |
string |
setProject
Required. The host project for the GKE fleet. Format is
projects/{project}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSelector
Optional. selector allows targeting a subset of fleet members using their labels.
Returns | |
---|---|
Type | Description |
Fleet\LabelSelector|null |
hasSelector
clearSelector
setSelector
Optional. selector allows targeting a subset of fleet members using their labels.
Parameter | |
---|---|
Name | Description |
var |
Fleet\LabelSelector
|
Returns | |
---|---|
Type | Description |
$this |