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"]],[["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-03-21 UTC."],[[["The `GetSpecContentsRequest` class is used to request the contents of a specification in the API Hub v1 API."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering functionalities like message handling, equality comparison, deep cloning, and buffered message operations."],["It is part of the `Google.Cloud.ApiHub.V1` namespace and is defined within the `Google.Cloud.ApiHub.V1.dll` assembly."],["It has two constructors, one default and one that takes another `GetSpecContentsRequest` object as a parameter, allowing for object creation and copying."],["The `Name` property, which is a required field, specifies the spec whose content is to be retrieved, following a specific format, and the `SpecName` property is a typed view over the resource `Name` property."]]],[]]