Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::Source.
Source represents an object from which asset information is streamed to Migration Center.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the source was created.
#description
def description() -> ::String
Returns
- (::String) — Free-text description.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Free-text description.
Returns
- (::String) — Free-text description.
#display_name
def display_name() -> ::String
Returns
- (::String) — User-friendly display name.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — User-friendly display name.
Returns
- (::String) — User-friendly display name.
#error_frame_count
def error_frame_count() -> ::Integer
Returns
- (::Integer) — Output only. The number of frames that were reported by the source and contained errors.
#managed
def managed() -> ::Boolean
Returns
-
(::Boolean) — If
true
, the source is managed by other service(s).
#managed=
def managed=(value) -> ::Boolean
Parameter
-
value (::Boolean) — If
true
, the source is managed by other service(s).
Returns
-
(::Boolean) — If
true
, the source is managed by other service(s).
#name
def name() -> ::String
Returns
- (::String) — Output only. The full name of the source.
#pending_frame_count
def pending_frame_count() -> ::Integer
Returns
- (::Integer) — Output only. Number of frames that are still being processed.
#priority
def priority() -> ::Integer
Returns
- (::Integer) — The information confidence of the source. The higher the value, the higher the confidence.
#priority=
def priority=(value) -> ::Integer
Parameter
- value (::Integer) — The information confidence of the source. The higher the value, the higher the confidence.
Returns
- (::Integer) — The information confidence of the source. The higher the value, the higher the confidence.
#state
def state() -> ::Google::Cloud::MigrationCenter::V1::Source::State
Returns
- (::Google::Cloud::MigrationCenter::V1::Source::State) — Output only. The state of the source.
#type
def type() -> ::Google::Cloud::MigrationCenter::V1::Source::SourceType
Returns
- (::Google::Cloud::MigrationCenter::V1::Source::SourceType) — Data source type.
#type=
def type=(value) -> ::Google::Cloud::MigrationCenter::V1::Source::SourceType
Parameter
- value (::Google::Cloud::MigrationCenter::V1::Source::SourceType) — Data source type.
Returns
- (::Google::Cloud::MigrationCenter::V1::Source::SourceType) — Data source type.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the source was last updated.