Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::GoModule.
GoModule represents a Go module.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the Go module is created.
#name
def name() -> ::String
Returns
- (::String) — The resource name of a Go module.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The resource name of a Go module.
Returns
- (::String) — The resource name of a Go module.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the Go module is updated.
#version
def version() -> ::String
Returns
- (::String) — The version of the Go module. Must be a valid canonical version as defined in https://go.dev/ref/mod#glos-canonical-version.
#version=
def version=(value) -> ::String
Parameter
- value (::String) — The version of the Go module. Must be a valid canonical version as defined in https://go.dev/ref/mod#glos-canonical-version.
Returns
- (::String) — The version of the Go module. Must be a valid canonical version as defined in https://go.dev/ref/mod#glos-canonical-version.