# Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::Repository (v2.7.0)

2.7.0 (latest) 2.6.1 2.5.0 2.4.0 2.3.0 2.2.1 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.4.0 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::Repository.

Metadata of a Secure Source Manager repository.

## 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Create timestamp.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Optional. Description of the repository, which cannot exceed 500 characters.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Description of the repository, which cannot exceed 500 characters.
**Returns**

- (::String) --- Optional. Description of the repository, which cannot exceed 500 characters.

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- 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.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #initial_config

    def initial_config() -> ::Google::Cloud::SecureSourceManager::V1::Repository::InitialConfig

**Returns**

- ([::Google::Cloud::SecureSourceManager::V1::Repository::InitialConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-Repository-InitialConfig)) --- Input only. Initial configurations for the repository.

### #initial_config=

    def initial_config=(value) -> ::Google::Cloud::SecureSourceManager::V1::Repository::InitialConfig

**Parameter**

- **value** ([::Google::Cloud::SecureSourceManager::V1::Repository::InitialConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-Repository-InitialConfig)) --- Input only. Initial configurations for the repository.
**Returns**

- ([::Google::Cloud::SecureSourceManager::V1::Repository::InitialConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-Repository-InitialConfig)) --- Input only. Initial configurations for the repository.

### #instance

    def instance() -> ::String

**Returns**

- (::String) --- 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.

### #instance=

    def instance=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}`
**Returns**

- (::String) --- Identifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}`

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. Unique identifier of the repository.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Update timestamp.

### #uris

    def uris() -> ::Google::Cloud::SecureSourceManager::V1::Repository::URIs

**Returns**

- ([::Google::Cloud::SecureSourceManager::V1::Repository::URIs](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-Repository-URIs)) --- Output only. URIs for the repository.