Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::Instance (v0.2.2)

Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::Instance.

A resource that represents a Secure Source Manager instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#host_config

def host_config() -> ::Google::Cloud::SecureSourceManager::V1::Instance::HostConfig
Returns

#kms_key

def kms_key() -> ::String
Returns
  • (::String) — Optional. Immutable. Customer-managed encryption key name, in the format projects//locations//keyRings//cryptoKeys/.

#kms_key=

def kms_key=(value) -> ::String
Parameter
  • value (::String) — Optional. Immutable. Customer-managed encryption key name, in the format projects//locations//keyRings//cryptoKeys/.
Returns
  • (::String) — Optional. Immutable. Customer-managed encryption key name, in the format projects//locations//keyRings//cryptoKeys/.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs.

#name

def name() -> ::String
Returns
  • (::String) — Optional. A unique identifier for an instance. The name should be of the format: projects/{project_number}/locations/{location_id}/instances/{instance_id}

    project_number: Maps to a unique int64 id assigned to each project.

    location_id: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions.

    instance_id: User provided name for the instance, must be unique for a project_number and location_id combination.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Optional. A unique identifier for an instance. The name should be of the format: projects/{project_number}/locations/{location_id}/instances/{instance_id}

    project_number: Maps to a unique int64 id assigned to each project.

    location_id: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions.

    instance_id: User provided name for the instance, must be unique for a project_number and location_id combination.

Returns
  • (::String) — Optional. A unique identifier for an instance. The name should be of the format: projects/{project_number}/locations/{location_id}/instances/{instance_id}

    project_number: Maps to a unique int64 id assigned to each project.

    location_id: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions.

    instance_id: User provided name for the instance, must be unique for a project_number and location_id combination.

#state

def state() -> ::Google::Cloud::SecureSourceManager::V1::Instance::State
Returns

#state_note

def state_note() -> ::Google::Cloud::SecureSourceManager::V1::Instance::StateNote
Returns

#update_time

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