Reference documentation and code samples for the Artifact Registry V1beta2 API class Google::Cloud::ArtifactRegistry::V1beta2::Package.
Packages are named collections of versions.
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) — The time when the package was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time when the package was created.
Returns
- (::Google::Protobuf::Timestamp) — The time when the package was created.
#display_name
def display_name() -> ::String
Returns
- (::String) — The display name of the package.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — The display name of the package.
Returns
- (::String) — The display name of the package.
#name
def name() -> ::String
Returns
- (::String) — The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
Returns
- (::String) — The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time when the package was last updated. This includes publishing a new version of the package.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time when the package was last updated. This includes publishing a new version of the package.
Returns
- (::Google::Protobuf::Timestamp) — The time when the package was last updated. This includes publishing a new version of the package.