Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::VersionMetadata.
The metadata associated with a version of the API resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deployments
def deployments() -> ::Array<::Google::Cloud::ApiHub::V1::DeploymentMetadata>
Returns
- (::Array<::Google::Cloud::ApiHub::V1::DeploymentMetadata>) — Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)
#deployments=
def deployments=(value) -> ::Array<::Google::Cloud::ApiHub::V1::DeploymentMetadata>
Parameter
- value (::Array<::Google::Cloud::ApiHub::V1::DeploymentMetadata>) — Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)
Returns
- (::Array<::Google::Cloud::ApiHub::V1::DeploymentMetadata>) — Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)
#original_create_time
def original_create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp indicating when the version 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 version was created at the source.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Timestamp indicating when the version was created at the source.
#original_id
def original_id() -> ::String
Returns
- (::String) — Optional. The unique identifier of the version in the system where it was originally created.
#original_id=
def original_id=(value) -> ::String
Parameter
- value (::String) — Optional. The unique identifier of the version in the system where it was originally created.
Returns
- (::String) — Optional. The unique identifier of the version 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 version 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 version was last updated at the source.
Returns
- (::Google::Protobuf::Timestamp) — Required. Timestamp indicating when the version was last updated at the source.
#specs
def specs() -> ::Array<::Google::Cloud::ApiHub::V1::SpecMetadata>
Returns
- (::Array<::Google::Cloud::ApiHub::V1::SpecMetadata>) — Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
#specs=
def specs=(value) -> ::Array<::Google::Cloud::ApiHub::V1::SpecMetadata>
Parameter
- value (::Array<::Google::Cloud::ApiHub::V1::SpecMetadata>) — Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
Returns
- (::Array<::Google::Cloud::ApiHub::V1::SpecMetadata>) — Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
#version
def version() -> ::Google::Cloud::ApiHub::V1::Version
Returns
- (::Google::Cloud::ApiHub::V1::Version) — Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.
#version=
def version=(value) -> ::Google::Cloud::ApiHub::V1::Version
Parameter
- value (::Google::Cloud::ApiHub::V1::Version) — Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.
Returns
- (::Google::Cloud::ApiHub::V1::Version) — Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.