Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class Fleet.
Fleet related configuration.
Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets.
Generated from protobuf message google.cloud.gkemulticloud.v1.Fleet
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project |
string
Required. The name of the Fleet host project where this cluster will be registered. Project names are formatted as |
↳ membership |
string
Output only. The name of the managed Hub Membership resource associated to this cluster. Membership names are formatted as |
getProject
Required. The name of the Fleet host project where this cluster will be registered.
Project names are formatted as
projects/<project-number>
.
Generated from protobuf field string project = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setProject
Required. The name of the Fleet host project where this cluster will be registered.
Project names are formatted as
projects/<project-number>
.
Generated from protobuf field string project = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMembership
Output only. The name of the managed Hub Membership resource associated to this cluster.
Membership names are formatted as
projects/<project-number>/locations/global/membership/<cluster-id>
.
Generated from protobuf field string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setMembership
Output only. The name of the managed Hub Membership resource associated to this cluster.
Membership names are formatted as
projects/<project-number>/locations/global/membership/<cluster-id>
.
Generated from protobuf field string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |