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."],[[["This page provides documentation for the `GetSpecContentsRequest` class, which is part of the Google Cloud API Hub v1 API."],["The `GetSpecContentsRequest` class is used to create requests for the `GetSpecContents` method, which retrieves the contents of a specified API spec."],["The class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for use with various Protobuf functionalities."],["The `GetSpecContentsRequest` class includes properties for setting the `Name` of the spec to retrieve, as well as a typed view of it with `SpecName`."],["The latest version of the class is 1.0.0, with a previous beta version available at 1.0.0-beta02."]]],[]]