[[["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\u003eThe \u003ccode\u003eCaseAttachmentServiceClientImpl\u003c/code\u003e class is a client wrapper implementation for the Google Cloud Support v2 API, designed for convenient use in managing file attachments for support cases.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eCaseAttachmentServiceClient\u003c/code\u003e and provides methods for listing attachments, including \u003ccode\u003eListAttachments\u003c/code\u003e and \u003ccode\u003eListAttachmentsAsync\u003c/code\u003e, which allow retrieving all attachments associated with a support case.\u003c/p\u003e\n"],["\u003cp\u003eIt offers constructor options to configure the client with a gRPC client, settings, and an optional logger, offering flexibility in integration and operation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCaseAttachmentServiceClientImpl\u003c/code\u003e class supports different versions of the API, with the latest being 1.3.0, and previous versions 1.2.0, 1.1.0, and 1.0.0 being available for use as well.\u003c/p\u003e\n"],["\u003cp\u003eIt overrides methods from \u003ccode\u003eCaseAttachmentServiceClient\u003c/code\u003e, such as \u003ccode\u003eGrpcClient\u003c/code\u003e, \u003ccode\u003eListAttachments\u003c/code\u003e, and \u003ccode\u003eListAttachmentsAsync\u003c/code\u003e, providing tailored functionality for interacting with the underlying gRPC service.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Support v2 API - Class CaseAttachmentServiceClientImpl (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClientImpl)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Support.V2/1.3.0/Google.Cloud.Support.V2.CaseAttachmentServiceClientImpl)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Support.V2/1.2.0/Google.Cloud.Support.V2.CaseAttachmentServiceClientImpl)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Support.V2/1.1.0/Google.Cloud.Support.V2.CaseAttachmentServiceClientImpl)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Support.V2/1.0.0/Google.Cloud.Support.V2.CaseAttachmentServiceClientImpl) \n\n public sealed class CaseAttachmentServiceClientImpl : CaseAttachmentServiceClient\n\nReference documentation and code samples for the Google Cloud Support v2 API class CaseAttachmentServiceClientImpl.\n\nCaseAttachmentService client wrapper implementation, for convenient use. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [CaseAttachmentServiceClient](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient) \\\u003e CaseAttachmentServiceClientImpl \n\nInherited Members\n-----------------\n\n[CaseAttachmentServiceClient.DefaultEndpoint](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_DefaultEndpoint) \n[CaseAttachmentServiceClient.DefaultScopes](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_DefaultScopes) \n[CaseAttachmentServiceClient.ServiceMetadata](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_ServiceMetadata) \n[CaseAttachmentServiceClient.CreateAsync(CancellationToken)](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_CreateAsync_System_Threading_CancellationToken_) \n[CaseAttachmentServiceClient.Create()](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_Create) \n[CaseAttachmentServiceClient.ShutdownDefaultChannelsAsync()](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_ShutdownDefaultChannelsAsync) \n[CaseAttachmentServiceClient.ListAttachments(string, string, int?, CallSettings)](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_ListAttachments_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) \n[CaseAttachmentServiceClient.ListAttachmentsAsync(string, string, int?, CallSettings)](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_ListAttachmentsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) \n[CaseAttachmentServiceClient.ListAttachments(CaseName, string, int?, CallSettings)](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_ListAttachments_Google_Cloud_Support_V2_CaseName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) \n[CaseAttachmentServiceClient.ListAttachmentsAsync(CaseName, string, int?, CallSettings)](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_ListAttachmentsAsync_Google_Cloud_Support_V2_CaseName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) \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.Support.V2](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Support.V2.dll\n\nRemarks\n-------\n\nA service to manage file attachments for Google Cloud support cases.\n\nConstructors\n------------\n\n### CaseAttachmentServiceClientImpl(CaseAttachmentServiceClient, CaseAttachmentServiceSettings, ILogger)\n\n public CaseAttachmentServiceClientImpl(CaseAttachmentService.CaseAttachmentServiceClient grpcClient, CaseAttachmentServiceSettings settings, ILogger logger)\n\nConstructs a client wrapper for the CaseAttachmentService service, with the specified gRPC client and\nsettings.\n\nProperties\n----------\n\n### GrpcClient\n\n public override CaseAttachmentService.CaseAttachmentServiceClient GrpcClient { get; }\n\nThe underlying gRPC CaseAttachmentService client\n\n**Overrides** \n[CaseAttachmentServiceClient.GrpcClient](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_GrpcClient)\n\nMethods\n-------\n\n### ListAttachments(ListAttachmentsRequest, CallSettings)\n\n public override PagedEnumerable\u003cListAttachmentsResponse, Attachment\u003e ListAttachments(ListAttachmentsRequest request, CallSettings callSettings = null)\n\nList all the attachments associated with a support case.\n\nEXAMPLES:\n\ncURL: \n\n case=\"projects/some-project/cases/23598314\"\n curl \\\n --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n \"https://cloudsupport.googleapis.com/v2/$case/attachments\"\n\nPython: \n\n import googleapiclient.discovery\n\n api_version = \"v2\"\n supportApiService = googleapiclient.discovery.build(\n serviceName=\"cloudsupport\",\n version=api_version,\n discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\",\n )\n request = (\n supportApiService.cases()\n .attachments()\n .list(parent=\"projects/some-project/cases/43595344\")\n )\n print(request.execute())\n\n**Overrides** \n[CaseAttachmentServiceClient.ListAttachments(ListAttachmentsRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_ListAttachments_Google_Cloud_Support_V2_ListAttachmentsRequest_Google_Api_Gax_Grpc_CallSettings_)\n\n### ListAttachmentsAsync(ListAttachmentsRequest, CallSettings)\n\n public override PagedAsyncEnumerable\u003cListAttachmentsResponse, Attachment\u003e ListAttachmentsAsync(ListAttachmentsRequest request, CallSettings callSettings = null)\n\nList all the attachments associated with a support case.\n\nEXAMPLES:\n\ncURL: \n\n case=\"projects/some-project/cases/23598314\"\n curl \\\n --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n \"https://cloudsupport.googleapis.com/v2/$case/attachments\"\n\nPython: \n\n import googleapiclient.discovery\n\n api_version = \"v2\"\n supportApiService = googleapiclient.discovery.build(\n serviceName=\"cloudsupport\",\n version=api_version,\n discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}\",\n )\n request = (\n supportApiService.cases()\n .attachments()\n .list(parent=\"projects/some-project/cases/43595344\")\n )\n print(request.execute())\n\n**Overrides** \n[CaseAttachmentServiceClient.ListAttachmentsAsync(ListAttachmentsRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.CaseAttachmentServiceClient#Google_Cloud_Support_V2_CaseAttachmentServiceClient_ListAttachmentsAsync_Google_Cloud_Support_V2_ListAttachmentsRequest_Google_Api_Gax_Grpc_CallSettings_)"]]