public sealed class GetSpecContentsRequest : IMessage<GetSpecContentsRequest>, IEquatable<GetSpecContentsRequest>, IDeepCloneable<GetSpecContentsRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class GetSpecContentsRequest.
The [GetSpecContents][google.cloud.apihub.v1.ApiHub.GetSpecContents] method's
request.
Required. The name of the spec whose contents need to be retrieved.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
[[["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 \u003ccode\u003eGetSpecContentsRequest\u003c/code\u003e class is used to request the contents of a specification in the API Hub v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities like message handling, equality comparison, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the \u003ccode\u003eGoogle.Cloud.ApiHub.V1\u003c/code\u003e namespace and is defined within the \u003ccode\u003eGoogle.Cloud.ApiHub.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, one default and one that takes another \u003ccode\u003eGetSpecContentsRequest\u003c/code\u003e object as a parameter, allowing for object creation and copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property, which is a required field, specifies the spec whose content is to be retrieved, following a specific format, and the \u003ccode\u003eSpecName\u003c/code\u003e property is a typed view over the resource \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,[]]