public sealed class SpecContents : IMessage<SpecContents>, IEquatable<SpecContents>, IDeepCloneable<SpecContents>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class SpecContents.
The spec contents.
Implements
IMessageSpecContents, IEquatableSpecContents, IDeepCloneableSpecContents, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
SpecContents()
public SpecContents()
SpecContents(SpecContents)
public SpecContents(SpecContents other)
Parameter | |
---|---|
Name | Description |
other |
SpecContents |
Properties
Contents
public ByteString Contents { get; set; }
Required. The contents of the spec.
Property Value | |
---|---|
Type | Description |
ByteString |
MimeType
public string MimeType { get; set; }
Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.
Property Value | |
---|---|
Type | Description |
string |