Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::APIMetadata.
The API metadata.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#api
def api() -> ::Google::Cloud::ApiHub::V1::Api
Returns
- (::Google::Cloud::ApiHub::V1::Api) — Required. The API resource to be pushed to Hub's collect layer. The ID of the API resource will be generated by Hub to ensure uniqueness across all APIs across systems.
#api=
def api=(value) -> ::Google::Cloud::ApiHub::V1::Api
Parameter
- value (::Google::Cloud::ApiHub::V1::Api) — Required. The API resource to be pushed to Hub's collect layer. The ID of the API resource will be generated by Hub to ensure uniqueness across all APIs across systems.
Returns
- (::Google::Cloud::ApiHub::V1::Api) — Required. The API resource to be pushed to Hub's collect layer. The ID of the API resource will be generated by Hub to ensure uniqueness across all APIs across systems.
#original_create_time
def original_create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp indicating when the API 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 API was created at the source.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp indicating when the API was created at the source.
#original_id
def original_id() -> ::String
Returns
- (::String) — Optional. The unique identifier of the API in the system where it was originally created.
#original_id=
def original_id=(value) -> ::String
Parameter
- value (::String) — Optional. The unique identifier of the API in the system where it was originally created.
Returns
- (::String) — Optional. The unique identifier of the API 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 API 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 API was last updated at the source.
Returns
- (::Google::Protobuf::Timestamp) — Required. Timestamp indicating when the API was last updated at the source.
#versions
def versions() -> ::Array<::Google::Cloud::ApiHub::V1::VersionMetadata>
Returns
- (::Array<::Google::Cloud::ApiHub::V1::VersionMetadata>) — Optional. The list of versions present in an API resource.
#versions=
def versions=(value) -> ::Array<::Google::Cloud::ApiHub::V1::VersionMetadata>
Parameter
- value (::Array<::Google::Cloud::ApiHub::V1::VersionMetadata>) — Optional. The list of versions present in an API resource.
Returns
- (::Array<::Google::Cloud::ApiHub::V1::VersionMetadata>) — Optional. The list of versions present in an API resource.