Reference documentation and code samples for the Google Cloud Api Hub V1 Client class VersionMetadata.
The metadata associated with a version of the API resource.
Generated from protobuf message google.cloud.apihub.v1.VersionMetadata
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ version
Version
Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.
↳ specs
array< SpecMetadata
>
Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
↳ deployments
array< 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_id
string
Optional. The unique identifier of the version in the system where it was originally created.
↳ original_create_time
Google\Protobuf\Timestamp
Optional. Timestamp indicating when the version was created at the source.
↳ original_update_time
Google\Protobuf\Timestamp
Required. Timestamp indicating when the version was last updated at the source.
getVersion
Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.
hasVersion
clearVersion
setVersion
Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.
$this
getSpecs
Optional. The specs associated with this version.
Note that an API version can be associated with multiple specs.
setSpecs
Optional. The specs associated with this version.
Note that an API version can be associated with multiple specs.
$this
getDeployments
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.)
setDeployments
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.)
$this
getOriginalId
Optional. The unique identifier of the version in the system where it was originally created.
string
setOriginalId
Optional. The unique identifier of the version in the system where it was originally created.
var
string
$this
getOriginalCreateTime
Optional. Timestamp indicating when the version was created at the source.
hasOriginalCreateTime
clearOriginalCreateTime
setOriginalCreateTime
Optional. Timestamp indicating when the version was created at the source.
$this
getOriginalUpdateTime
Required. Timestamp indicating when the version was last updated at the source.
hasOriginalUpdateTime
clearOriginalUpdateTime
setOriginalUpdateTime
Required. Timestamp indicating when the version was last updated at the source.
$this

