Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class GoModule.
GoModule represents a Go module.
Generated from protobuf message google.devtools.artifactregistry.v1.GoModule
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name of a Go module.
↳ version
string
The version of the Go module. Must be a valid canonical version as defined in https://go.dev/ref/mod#glos-canonical-version .
↳ create_time
↳ update_time
getName
The resource name of a Go module.
string
setName
The resource name of a Go module.
var
string
$this
getVersion
The version of the Go module. Must be a valid canonical version as defined in https://go.dev/ref/mod#glos-canonical-version .
string
setVersion
The version of the Go module. Must be a valid canonical version as defined in https://go.dev/ref/mod#glos-canonical-version .
var
string
$this
getCreateTime
Output only. The time when the Go module is created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the Go module is created.
$this
getUpdateTime
Output only. The time when the Go module is updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the Go module is updated.
$this

