Reference documentation and code samples for the Google Cloud Artifact Registry V1beta2 Client class Package.
Packages are named collections of versions.
Generated from protobuf message google.devtools.artifactregistry.v1beta2.Package
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
↳ display_name
string
The display name of the package.
↳ create_time
↳ update_time
Google\Protobuf\Timestamp
The time when the package was last updated. This includes publishing a new version of the package.
getName
The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
string
setName
The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
var
string
$this
getDisplayName
The display name of the package.
string
setDisplayName
The display name of the package.
var
string
$this
getCreateTime
The time when the package was created.
hasCreateTime
clearCreateTime
setCreateTime
The time when the package was created.
$this
getUpdateTime
The time when the package was last updated. This includes publishing a new version of the package.
hasUpdateTime
clearUpdateTime
setUpdateTime
The time when the package was last updated. This includes publishing a new version of the package.
$this