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 |
array
Optional. Data for populating the Message object. |
↳ name |
string
Optional. A unique identifier for a repository. The name should be of the format: |
↳ description |
string
Optional. Description of the repository, which cannot exceed 500 characters. |
↳ instance |
string
Optional. The name of the instance in which the repository is hosted, formatted as |
↳ uid |
string
Output only. Unique identifier of the repository. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Create timestamp. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Update timestamp. |
↳ etag |
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. |
↳ uris |
Google\Cloud\SecureSourceManager\V1\Repository\URIs
Output only. URIs for the repository. |
↳ initial_config |
Google\Cloud\SecureSourceManager\V1\Repository\InitialConfig
Input 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 (Control Plane API), this field is used
as input.
When creating repository via *.sourcemanager.dev (Data Plane API), 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 (Control Plane API), this field is used
as input.
When creating repository via *.sourcemanager.dev (Data Plane API), 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 |
Google\Cloud\SecureSourceManager\V1\Repository\URIs|null |
hasUris
clearUris
setUris
Output only. URIs for the repository.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\SecureSourceManager\V1\Repository\URIs
|
Returns | |
---|---|
Type | Description |
$this |
getInitialConfig
Input only. Initial configurations for the repository.
Returns | |
---|---|
Type | Description |
Google\Cloud\SecureSourceManager\V1\Repository\InitialConfig|null |
hasInitialConfig
clearInitialConfig
setInitialConfig
Input only. Initial configurations for the repository.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\SecureSourceManager\V1\Repository\InitialConfig
|
Returns | |
---|---|
Type | Description |
$this |