public sealed class UpdateSpecRequest : IMessage<UpdateSpecRequest>, IEquatable<UpdateSpecRequest>, IDeepCloneable<UpdateSpecRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class UpdateSpecRequest.
The [UpdateSpec][google.cloud.apihub.v1.ApiHub.UpdateSpec] method's request.
The spec's name field is used to identify the spec to
update. 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\u003eUpdateSpecRequest\u003c/code\u003e class is part of the API hub v1 API and is used to define a request for the \u003ccode\u003eUpdateSpec\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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 a constructor \u003ccode\u003eUpdateSpecRequest()\u003c/code\u003e for creating new instances and \u003ccode\u003eUpdateSpecRequest(UpdateSpecRequest other)\u003c/code\u003e for making a new instance from another instance.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two main properties: \u003ccode\u003eSpec\u003c/code\u003e, representing the spec to be updated, and \u003ccode\u003eUpdateMask\u003c/code\u003e, specifying the fields that should be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateSpecRequest\u003c/code\u003e class is found in the \u003ccode\u003eGoogle.Cloud.ApiHub.V1\u003c/code\u003e namespace and the \u003ccode\u003eGoogle.Cloud.ApiHub.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]