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
- (::Google::Protobuf::Timestamp) — Output only. Create timestamp.
#host_config
def host_config() -> ::Google::Cloud::SecureSourceManager::V1::Instance::HostConfig
- (::Google::Cloud::SecureSourceManager::V1::Instance::HostConfig) — Output only. A list of hostnames for this instance.
#kms_key
def kms_key() -> ::String
- (::String) — Optional. Immutable. Customer-managed encryption key name, in the format projects//locations//keyRings//cryptoKeys/.
#kms_key=
def kms_key=(value) -> ::String
- value (::String) — Optional. Immutable. Customer-managed encryption key name, in the format projects//locations//keyRings//cryptoKeys/.
- (::String) — Optional. Immutable. Customer-managed encryption key name, in the format projects//locations//keyRings//cryptoKeys/.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs.
#name
def name() -> ::String
-
(::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
-
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.
-
(::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
- (::Google::Cloud::SecureSourceManager::V1::Instance::State) — Output only. Current state of the instance.
#state_note
def state_note() -> ::Google::Cloud::SecureSourceManager::V1::Instance::StateNote
- (::Google::Cloud::SecureSourceManager::V1::Instance::StateNote) — Output only. An optional field providing information about the current instance state.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Update timestamp.