Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#membership
defmembership()->::String
Returns
(::String) — 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>.
#project
defproject()->::String
Returns
(::String) — Required. The name of the Fleet host project where this cluster will be
registered.
Project names are formatted as
projects/<project-number>.
#project=
defproject=(value)->::String
Parameter
value (::String) — Required. The name of the Fleet host project where this cluster will be
registered.
Project names are formatted as
projects/<project-number>.
Returns
(::String) — Required. The name of the Fleet host project where this cluster will be
registered.
Project names are formatted as
projects/<project-number>.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::Fleet (v0.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.15.0 (latest)](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.14.1](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.14.1/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.13.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.13.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.12.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.12.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.11.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.11.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.10.1](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.10.1/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.9.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.9.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.8.2](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.8.2/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.7.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.7.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.6.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.6.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.5.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.5.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.4.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.4.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.3.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.3.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.2.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.2.0/Google-Cloud-GkeMultiCloud-V1-Fleet)\n- [0.1.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.1.0/Google-Cloud-GkeMultiCloud-V1-Fleet) \nReference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::Fleet.\n\nFleet related configuration.\n\n\nFleets are a Google Cloud concept for logically organizing clusters,\nletting you use and manage multi-cluster capabilities and apply\nconsistent policies across your systems.\n\n\u003cbr /\u003e\n\nSee [Anthos\nFleets](https://cloud.google.com/anthos/multicluster-management/fleets) for\nmore details on Anthos multi-cluster capabilities using Fleets. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #membership\n\n def membership() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The name of the managed Hub Membership resource associated to this cluster.\n\n Membership names are formatted as\n `projects/\u003cproject-number\u003e/locations/global/membership/\u003ccluster-id\u003e`.\n\n### #project\n\n def project() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The name of the Fleet host project where this cluster will be registered.\n\n Project names are formatted as\n `projects/\u003cproject-number\u003e`.\n\n### #project=\n\n def project=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The name of the Fleet host project where this cluster will be registered.\n\n\n Project names are formatted as\n`projects/\u003cproject-number\u003e`. \n**Returns**\n\n- (::String) --- Required. The name of the Fleet host project where this cluster will be registered.\n\n Project names are formatted as\n `projects/\u003cproject-number\u003e`."]]