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

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.

Inheritance

object > SpecContents

Namespace

Google.Cloud.ApiHub.V1

Assembly

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