Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::CreateRepositoryRequest.
Message for creating a Repository.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.
Returns
- (::String) — Required. The connection to contain the repository. If the request is part of a BatchCreateRepositoriesRequest, this field should be empty or match the parent specified there.
#repository
def repository() -> ::Google::Cloud::Build::V2::Repository
Returns
- (::Google::Cloud::Build::V2::Repository) — Required. The repository to create.
#repository=
def repository=(value) -> ::Google::Cloud::Build::V2::Repository
Parameter
- value (::Google::Cloud::Build::V2::Repository) — Required. The repository to create.
Returns
- (::Google::Cloud::Build::V2::Repository) — Required. The repository to create.
#repository_id
def repository_id() -> ::String
Returns
- (::String) — Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
#repository_id=
def repository_id=(value) -> ::String
Parameter
- value (::String) — Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
Returns
- (::String) — Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.