Reference documentation and code samples for the Google Cloud Api Hub V1 Client class SpecContents.
The spec contents.
Generated from protobuf message google.cloud.apihub.v1.SpecContents
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ contents
string
Required. The contents of the spec.
↳ mime_type
string
Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.
getContents
Required. The contents of the spec.
string
setContents
Required. The contents of the spec.
var
string
$this
getMimeType
Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.
string
setMimeType
Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.
var
string
$this

