Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::AdditionalSpecContent.
The additional spec content for the spec. This contains the metadata and the last update time for the additional spec content.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time at which the spec content was created.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels of the spec content e.g. specboost addon version.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels of the spec content e.g. specboost addon version.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels of the spec content e.g. specboost addon version.
#spec_content_type
def spec_content_type() -> ::Google::Cloud::ApiHub::V1::SpecContentType
Returns
- (::Google::Cloud::ApiHub::V1::SpecContentType) — Required. The type of the spec content.
#spec_content_type=
def spec_content_type=(value) -> ::Google::Cloud::ApiHub::V1::SpecContentType
Parameter
- value (::Google::Cloud::ApiHub::V1::SpecContentType) — Required. The type of the spec content.
Returns
- (::Google::Cloud::ApiHub::V1::SpecContentType) — Required. The type of the spec content.
#spec_contents
def spec_contents() -> ::Google::Cloud::ApiHub::V1::SpecContents
Returns
- (::Google::Cloud::ApiHub::V1::SpecContents) — Optional. The additional spec contents.
#spec_contents=
def spec_contents=(value) -> ::Google::Cloud::ApiHub::V1::SpecContents
Parameter
- value (::Google::Cloud::ApiHub::V1::SpecContents) — Optional. The additional spec contents.
Returns
- (::Google::Cloud::ApiHub::V1::SpecContents) — Optional. The additional spec contents.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time at which the spec content was last updated.