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
#deployment_resource_uris
def deployment_resource_uris() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. The gateway-side URIs of deployments that serve this spec. If provided, the API Hub service creates links between this spec and the deployments identified by these URIs. URIs that don't match any known deployment are ignored; a subsequent ingestion cycle that includes the missing deployment will re-establish the link. The maximum number of URIs allowed is 100.
#deployment_resource_uris=
def deployment_resource_uris=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. The gateway-side URIs of deployments that serve this spec. If provided, the API Hub service creates links between this spec and the deployments identified by these URIs. URIs that don't match any known deployment are ignored; a subsequent ingestion cycle that includes the missing deployment will re-establish the link. The maximum number of URIs allowed is 100.
Returns
- (::Array<::String>) — Optional. The gateway-side URIs of deployments that serve this spec. If provided, the API Hub service creates links between this spec and the deployments identified by these URIs. URIs that don't match any known deployment are ignored; a subsequent ingestion cycle that includes the missing deployment will re-establish the link. The maximum number of URIs allowed is 100.
#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.