Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::SpecContents.
The spec contents.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#contents
def contents() -> ::String
Returns
- (::String) — Required. The contents of the spec.
#contents=
def contents=(value) -> ::String
Parameter
- value (::String) — Required. The contents of the spec.
Returns
- (::String) — Required. The contents of the spec.
#mime_type
def mime_type() -> ::String
Returns
- (::String) — Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.
#mime_type=
def mime_type=(value) -> ::String
Parameter
- value (::String) — Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.
Returns
- (::String) — Required. The mime type of the content for example application/json, application/yaml, application/wsdl etc.