Google Cloud Secure Source Manager V1 Client - Class Repository (0.1.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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: projects/{project}/locations/{location_id}/repositories/{repository_id}

↳ description string

Optional. Description of the repository, which cannot exceed 500 characters.

↳ instance string

Output only. The name of the instance in which the repository is hosted, formatted as projects/{project_number}/locations/{location_id}/instances/{instance_id}

↳ 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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Optional. Description of the repository, which cannot exceed 500 characters.

Returns
TypeDescription
string

setDescription

Optional. Description of the repository, which cannot exceed 500 characters.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstance

Output only. The name of the instance in which the repository is hosted, formatted as projects/{project_number}/locations/{location_id}/instances/{instance_id}

Returns
TypeDescription
string

setInstance

Output only. The name of the instance in which the repository is hosted, formatted as projects/{project_number}/locations/{location_id}/instances/{instance_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUid

Output only. Unique identifier of the repository.

Returns
TypeDescription
string

setUid

Output only. Unique identifier of the repository.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Create timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create timestamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. Update timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Update timestamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getUris

Output only. URIs for the repository.

Returns
TypeDescription
Google\Cloud\SecureSourceManager\V1\Repository\URIs|null

hasUris

clearUris

setUris

Output only. URIs for the repository.

Parameter
NameDescription
var Google\Cloud\SecureSourceManager\V1\Repository\URIs
Returns
TypeDescription
$this

getInitialConfig

Input only. Initial configurations for the repository.

Returns
TypeDescription
Google\Cloud\SecureSourceManager\V1\Repository\InitialConfig|null

hasInitialConfig

clearInitialConfig

setInitialConfig

Input only. Initial configurations for the repository.

Parameter
NameDescription
var Google\Cloud\SecureSourceManager\V1\Repository\InitialConfig
Returns
TypeDescription
$this