Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class Repository.
Metadata of a Secure Source Manager repository.
Generated from protobuf message google.cloud.securesourcemanager.v1.Repository
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ name | stringOptional. A unique identifier for a repository. The name should be of the format:  | 
| ↳ description | stringOptional. Description of the repository, which cannot exceed 500 characters. | 
| ↳ instance | stringOptional. The name of the instance in which the repository is hosted, formatted as  | 
| ↳ uid | stringOutput only. Unique identifier of the repository. | 
| ↳ create_time | Google\Protobuf\TimestampOutput only. Create timestamp. | 
| ↳ update_time | Google\Protobuf\TimestampOutput only. Update timestamp. | 
| ↳ etag | stringOptional. 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. | 
| ↳ uris | Repository\URIsOutput only. URIs for the repository. | 
| ↳ initial_config | Repository\InitialConfigInput only. Initial configurations for the repository. | 
getName
Optional. A unique identifier for a repository. The name should be of the
format:
projects/{project}/locations/{location_id}/repositories/{repository_id}
| Returns | |
|---|---|
| Type | Description | 
| string | |
setName
Optional. A unique identifier for a repository. The name should be of the
format:
projects/{project}/locations/{location_id}/repositories/{repository_id}
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getDescription
Optional. Description of the repository, which cannot exceed 500 characters.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setDescription
Optional. Description of the repository, which cannot exceed 500 characters.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getInstance
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 | |
|---|---|
| Type | Description | 
| string | |
setInstance
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.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getUid
Output only. Unique identifier of the repository.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setUid
Output only. Unique identifier of the repository.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getCreateTime
Output only. Create timestamp.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Timestamp|null | |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create timestamp.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Protobuf\Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getUpdateTime
Output only. Update timestamp.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Timestamp|null | |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update timestamp.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Protobuf\Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getEtag
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 | |
|---|---|
| Type | Description | 
| string | |
setEtag
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.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getUris
Output only. URIs for the repository.
| Returns | |
|---|---|
| Type | Description | 
| Repository\URIs|null | |
hasUris
clearUris
setUris
Output only. URIs for the repository.
| Parameter | |
|---|---|
| Name | Description | 
| var | Repository\URIs | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getInitialConfig
Input only. Initial configurations for the repository.
| Returns | |
|---|---|
| Type | Description | 
| Repository\InitialConfig|null | |
hasInitialConfig
clearInitialConfig
setInitialConfig
Input only. Initial configurations for the repository.
| Parameter | |
|---|---|
| Name | Description | 
| var | Repository\InitialConfig | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |