public sealed class GetSpecRequest : IMessage<GetSpecRequest>, IEquatable<GetSpecRequest>, IDeepCloneable<GetSpecRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class GetSpecRequest.
The [GetSpec][google.cloud.apihub.v1.ApiHub.GetSpec] method's request.
Implements
IMessageGetSpecRequest, IEquatableGetSpecRequest, IDeepCloneableGetSpecRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
GetSpecRequest()
public GetSpecRequest()
GetSpecRequest(GetSpecRequest)
public GetSpecRequest(GetSpecRequest other)
Parameter | |
---|---|
Name | Description |
other |
GetSpecRequest |
Properties
Name
public string Name { get; set; }
Required. The name of the spec to retrieve.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
Property Value | |
---|---|
Type | Description |
string |
SpecName
public SpecName SpecName { get; set; }
Property Value | |
---|---|
Type | Description |
SpecName |