public sealed class GetConsumerGroupRequest : IMessage<GetConsumerGroupRequest>, IEquatable<GetConsumerGroupRequest>, IDeepCloneable<GetConsumerGroupRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class GetConsumerGroupRequest.
Required. The name of the consumer group whose configuration to return.
projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}.
[[["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-08-28 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eGetConsumerGroupRequest\u003c/code\u003e class within the Google Cloud Managed Kafka API v1, specifically for .NET developers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetConsumerGroupRequest\u003c/code\u003e class is used to make requests for retrieving consumer group configurations, and it implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two constructors, \u003ccode\u003eGetConsumerGroupRequest()\u003c/code\u003e and \u003ccode\u003eGetConsumerGroupRequest(GetConsumerGroupRequest other)\u003c/code\u003e, as well as properties like \u003ccode\u003eConsumerGroupName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e to define the details of the request.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e1.0.0-beta04\u003c/code\u003e, but the previous version, \u003ccode\u003e1.0.0-beta03\u003c/code\u003e, is also available for review.\u003c/p\u003e\n"]]],[],null,["# Managed Service for Apache Kafka API v1 API - Class GetConsumerGroupRequest (1.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.GetConsumerGroupRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/1.0.0-beta06/Google.Cloud.ManagedKafka.V1.GetConsumerGroupRequest) \n\n public sealed class GetConsumerGroupRequest : IMessage\u003cGetConsumerGroupRequest\u003e, IEquatable\u003cGetConsumerGroupRequest\u003e, IDeepCloneable\u003cGetConsumerGroupRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Managed Service for Apache Kafka API v1 API class GetConsumerGroupRequest.\n\nRequest for GetConsumerGroup. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetConsumerGroupRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetConsumerGroupRequest](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.GetConsumerGroupRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetConsumerGroupRequest](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.GetConsumerGroupRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetConsumerGroupRequest](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.GetConsumerGroupRequest), [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.ManagedKafka.V1](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ManagedKafka.V1.dll\n\nConstructors\n------------\n\n### GetConsumerGroupRequest()\n\n public GetConsumerGroupRequest()\n\n### GetConsumerGroupRequest(GetConsumerGroupRequest)\n\n public GetConsumerGroupRequest(GetConsumerGroupRequest other)\n\nProperties\n----------\n\n### ConsumerGroupName\n\n public ConsumerGroupName ConsumerGroupName { get; set; }\n\n[ConsumerGroupName](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.ConsumerGroupName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.GetConsumerGroupRequest#Google_Cloud_ManagedKafka_V1_GetConsumerGroupRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the consumer group whose configuration to return.\n`projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}`."]]