Class: Google::Cloud::ApiHub::V1::SpecContents

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/apihub/v1/common_fields.rb

Overview

The spec contents.

Instance Attribute Summary collapse

Instance Attribute Details

#contents::String

Returns Required. The contents of the spec.

Returns:

  • (::String)

    Required. The contents of the spec.



675
676
677
678
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 675

class SpecContents
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#mime_type::String

Returns 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.



675
676
677
678
# File 'proto_docs/google/cloud/apihub/v1/common_fields.rb', line 675

class SpecContents
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end