Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::SpecMetadata.
The metadata associated with a spec of the API version.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#original_create_time
def original_create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp indicating when the spec was created at the source.
#original_create_time=
def original_create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. Timestamp indicating when the spec was created at the source.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp indicating when the spec was created at the source.
#original_id
def original_id() -> ::String
Returns
- (::String) — Optional. The unique identifier of the spec in the system where it was originally created.
#original_id=
def original_id=(value) -> ::String
Parameter
- value (::String) — Optional. The unique identifier of the spec in the system where it was originally created.
Returns
- (::String) — Optional. The unique identifier of the spec in the system where it was originally created.
#original_update_time
def original_update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Required. Timestamp indicating when the spec was last updated at the source.
#original_update_time=
def original_update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Required. Timestamp indicating when the spec was last updated at the source.
Returns
- (::Google::Protobuf::Timestamp) — Required. Timestamp indicating when the spec was last updated at the source.
#spec
def spec() -> ::Google::Cloud::ApiHub::V1::Spec
Returns
- (::Google::Cloud::ApiHub::V1::Spec) — Required. The spec resource to be pushed to Hub's collect layer. The ID of the spec will be generated by Hub.
#spec=
def spec=(value) -> ::Google::Cloud::ApiHub::V1::Spec
Parameter
- value (::Google::Cloud::ApiHub::V1::Spec) — Required. The spec resource to be pushed to Hub's collect layer. The ID of the spec will be generated by Hub.
Returns
- (::Google::Cloud::ApiHub::V1::Spec) — Required. The spec resource to be pushed to Hub's collect layer. The ID of the spec will be generated by Hub.