API hub v1 API - Class GetSpecRequest (1.0.0-beta02)

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.

Inheritance

object > GetSpecRequest

Namespace

Google.Cloud.ApiHub.V1

Assembly

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; }

SpecName-typed view over the Name resource name property.

Property Value
Type Description
SpecName