Class: Google::Cloud::MigrationCenter::V1::Source

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the source was created.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::Integer)

    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).

Returns:

  • (::Boolean)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::Integer)

    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.

Returns:

  • (::Integer)

    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.

Returns:



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.

Returns:



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