Class: Google::Cloud::MigrationCenter::V1::Source
- Inherits:
-
Object
- Object
- Google::Cloud::MigrationCenter::V1::Source
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb
Overview
Source represents an object from which asset information is streamed to Migration Center.
Defined Under Namespace
Modules: SourceType, State
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Free-text description.
-
#display_name ⇒ ::String
User-friendly display name.
-
#error_frame_count ⇒ ::Integer
readonly
Output only.
-
#managed ⇒ ::Boolean
If
true
, the source is managed by other service(s). -
#name ⇒ ::String
readonly
Output only.
-
#pending_frame_count ⇒ ::Integer
readonly
Output only.
-
#priority ⇒ ::Integer
The information confidence of the source.
-
#state ⇒ ::Google::Cloud::MigrationCenter::V1::Source::State
readonly
Output only.
-
#type ⇒ ::Google::Cloud::MigrationCenter::V1::Source::SourceType
Data source type.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp when the source was created.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#description ⇒ ::String
Returns Free-text description.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#display_name ⇒ ::String
Returns User-friendly display name.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#error_frame_count ⇒ ::Integer (readonly)
Returns Output only. The number of frames that were reported by the source and contained errors.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#managed ⇒ ::Boolean
Returns If true
, the source is managed by other service(s).
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#name ⇒ ::String (readonly)
Returns Output only. The full name of the source.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#pending_frame_count ⇒ ::Integer (readonly)
Returns Output only. Number of frames that are still being processed.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#priority ⇒ ::Integer
Returns The information confidence of the source. The higher the value, the higher the confidence.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#state ⇒ ::Google::Cloud::MigrationCenter::V1::Source::State (readonly)
Returns Output only. The state of the source.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#type ⇒ ::Google::Cloud::MigrationCenter::V1::Source::SourceType
Returns Data source type.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp when the source was last updated.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 303 class Source include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods module SourceType # Unspecified SOURCE_TYPE_UNKNOWN = 0 # Manually uploaded file (e.g. CSV) SOURCE_TYPE_UPLOAD = 1 # Guest-level info SOURCE_TYPE_GUEST_OS_SCAN = 2 # Inventory-level scan SOURCE_TYPE_INVENTORY_SCAN = 3 # Third-party owned sources. SOURCE_TYPE_CUSTOM = 4 end # Enumerates possible states of a source. module State # Unspecified. STATE_UNSPECIFIED = 0 # The source is active and ready to be used. ACTIVE = 1 # In the process of being deleted. DELETING = 2 # Source is in an invalid state. Asset frames reported to it will be # ignored. INVALID = 3 end end |