Reference documentation and code samples for the Artifact Registry V1beta2 API class Google::Cloud::ArtifactRegistry::V1beta2::CreateRepositoryRequest.
The request to create a new repository.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. The name of the parent resource where the repository will be created.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The name of the parent resource where the repository will be created.
Returns
- (::String) — Required. The name of the parent resource where the repository will be created.
#repository
def repository() -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository
Returns
- (::Google::Cloud::ArtifactRegistry::V1beta2::Repository) — The repository to be created.
#repository=
def repository=(value) -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository
Parameter
- value (::Google::Cloud::ArtifactRegistry::V1beta2::Repository) — The repository to be created.
Returns
- (::Google::Cloud::ArtifactRegistry::V1beta2::Repository) — The repository to be created.
#repository_id
def repository_id() -> ::String
Returns
- (::String) — The repository id to use for this repository.
#repository_id=
def repository_id=(value) -> ::String
Parameter
- value (::String) — The repository id to use for this repository.
Returns
- (::String) — The repository id to use for this repository.