Google Cloud Api Hub V1 Client - Class VersionMetadata (0.3.0)

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 \ V1

Methods

Constructor.

Parameters
Name
Description
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.

Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.

Returns
Type
Description
Version |null

Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.

Parameter
Name
Description
var
Returns
Type
Description
$this

Optional. The specs associated with this version.

Note that an API version can be associated with multiple specs.

Returns
Type
Description

Optional. The specs associated with this version.

Note that an API version can be associated with multiple specs.

Parameter
Name
Description
var
array< SpecMetadata >
Returns
Type
Description
$this

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
Type
Description

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.)

Parameter
Name
Description
var
Returns
Type
Description
$this

Optional. The unique identifier of the version in the system where it was originally created.

Returns
Type
Description
string

Optional. The unique identifier of the version in the system where it was originally created.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

Optional. Timestamp indicating when the version was created at the source.

Returns
Type
Description

Optional. Timestamp indicating when the version was created at the source.

Parameter
Name
Description
Returns
Type
Description
$this

Required. Timestamp indicating when the version was last updated at the source.

Returns
Type
Description

Required. Timestamp indicating when the version was last updated at the source.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: