Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::Repository (v1.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

#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

#initial_config=

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

#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 (Control Plane API), this field is used as input. When creating repository via *.sourcemanager.dev (Data Plane API), 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 (Control Plane API), this field is used as input. When creating repository via *.sourcemanager.dev (Data Plane API), 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 (Control Plane API), this field is used as input. When creating repository via *.sourcemanager.dev (Data Plane API), this field is output only.

#name

def name() -> ::String
Returns
  • (::String) — Optional. 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) — Optional. A unique identifier for a repository. The name should be of the format: projects/{project}/locations/{location_id}/repositories/{repository_id}
Returns
  • (::String) — Optional. 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

#uris

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