Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::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::V1::Repository
Returns
- (::Google::Cloud::ArtifactRegistry::V1::Repository) — Required. The repository to be created.
#repository=
def repository=(value) -> ::Google::Cloud::ArtifactRegistry::V1::Repository
Parameter
- value (::Google::Cloud::ArtifactRegistry::V1::Repository) — Required. The repository to be created.
Returns
- (::Google::Cloud::ArtifactRegistry::V1::Repository) — Required. The repository to be created.
#repository_id
def repository_id() -> ::String
Returns
- (::String) — Required. The repository id to use for this repository.
#repository_id=
def repository_id=(value) -> ::String
Parameter
- value (::String) — Required. The repository id to use for this repository.
Returns
- (::String) — Required. The repository id to use for this repository.