public sealed class Fleet : IMessage<Fleet>, IEquatable<Fleet>, IDeepCloneable<Fleet>, IBufferMessage, IMessage
Reference documentation and code samples for the Anthos Multi-Cloud v1 API 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eFleet\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.GkeMultiCloud.V1\u003c/code\u003e API is 2.8.0, with previous versions ranging from 2.7.0 down to 1.0.0-beta01 available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFleet\u003c/code\u003e class, part of the Anthos Multi-Cloud v1 API, is used for managing and configuring fleets, which are a Google Cloud concept for logically organizing clusters.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFleet\u003c/code\u003e objects implement several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and inherit from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of a \u003ccode\u003eFleet\u003c/code\u003e object include \u003ccode\u003eMembership\u003c/code\u003e, which represents the managed Hub Membership resource associated with a cluster, and \u003ccode\u003eProject\u003c/code\u003e, which is the required name of the Fleet host project where the cluster is registered.\u003c/p\u003e\n"],["\u003cp\u003eThe Fleet class has 2 constructors, one being empty and the second taking in another fleet object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Anthos Multi-Cloud v1 API - Class Fleet (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.Fleet)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.Fleet)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.Fleet)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.Fleet)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.Fleet)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.Fleet)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.Fleet)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.Fleet)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.Fleet)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.Fleet) \n\n public sealed class Fleet : IMessage\u003cFleet\u003e, IEquatable\u003cFleet\u003e, IDeepCloneable\u003cFleet\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Anthos Multi-Cloud v1 API class Fleet.\n\nFleet related configuration.\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\nSee [Anthos\nFleets](https://cloud.google.com/anthos/multicluster-management/fleets) for\nmore details on Anthos multi-cluster capabilities using Fleets. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Fleet \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Fleet](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.Fleet), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Fleet](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.Fleet), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Fleet](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.Fleet), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GkeMultiCloud.V1](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeMultiCloud.V1.dll\n\nConstructors\n------------\n\n### Fleet()\n\n public Fleet()\n\n### Fleet(Fleet)\n\n public Fleet(Fleet other)\n\nProperties\n----------\n\n### Membership\n\n public string Membership { get; set; }\n\nOutput only. The name of the managed Hub Membership resource associated to\nthis cluster.\n\nMembership names are formatted as\n`projects/\u003cproject-number\u003e/locations/global/membership/\u003ccluster-id\u003e`.\n\n### Project\n\n public string Project { get; set; }\n\nRequired. The name of the Fleet host project where this cluster will be\nregistered.\n\nProject names are formatted as\n`projects/\u003cproject-number\u003e`."]]