createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Optional. Description of the repository, which cannot exceed 500 * characters. * * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * Optional. This checksum is computed by the server based on the value of * other fields, and may be sent on update and delete requests to ensure the * client has an up-to-date value before proceeding. * * @param string $etag */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * Input only. Initial configurations for the repository. * * @param InitialConfig $initialConfig */ public function setInitialConfig(InitialConfig $initialConfig) { $this->initialConfig = $initialConfig; } /** * @return InitialConfig */ public function getInitialConfig() { return $this->initialConfig; } /** * Optional. The name of the instance in which the repository is hosted, * formatted as * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` * When creating repository via securesourcemanager.googleapis.com, this field * is used as input. When creating repository via *.sourcemanager.dev, this * field is output only. * * @param string $instance */ public function setInstance($instance) { $this->instance = $instance; } /** * @return string */ public function getInstance() { return $this->instance; } /** * Optional. A unique identifier for a repository. The name should be of the * format: * `projects/{project}/locations/{location_id}/repositories/{repository_id}` * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. Unique identifier of the repository. * * @param string $uid */ public function setUid($uid) { $this->uid = $uid; } /** * @return string */ public function getUid() { return $this->uid; } /** * Output only. Update timestamp. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } /** * Output only. URIs for the repository. * * @param URIs $uris */ public function setUris(URIs $uris) { $this->uris = $uris; } /** * @return URIs */ public function getUris() { return $this->uris; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Repository::class, 'Google_Service_SecureSourceManager_Repository');