Class: Google::Apis::MigrationcenterV1alpha1::AssetFrame
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::AssetFrame
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Contains data reported from an inventory source on an asset.
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
Generic asset attributes.
-
#collection_type ⇒ String
Optional.
-
#database_deployment_details ⇒ Google::Apis::MigrationcenterV1alpha1::DatabaseDeploymentDetails
The details of a database deployment asset.
-
#database_details ⇒ Google::Apis::MigrationcenterV1alpha1::DatabaseDetails
Details of a logical database.
-
#labels ⇒ Hash<String,String>
Labels as key value pairs.
-
#performance_samples ⇒ Array<Google::Apis::MigrationcenterV1alpha1::PerformanceSample>
Asset performance data samples.
-
#report_time ⇒ String
The time the data was reported.
-
#trace_token ⇒ String
Optional.
-
#virtual_machine_details ⇒ Google::Apis::MigrationcenterV1alpha1::VirtualMachineDetails
Details of a VirtualMachine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetFrame
constructor
A new instance of AssetFrame.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssetFrame
Returns a new instance of AssetFrame.
548 549 550 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 548 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Hash<String,String>
Generic asset attributes.
Corresponds to the JSON property attributes
503 504 505 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 503 def attributes @attributes end |
#collection_type ⇒ String
Optional. Frame collection type, if not specified the collection type will be
based on the source type of the source the frame was reported on.
Corresponds to the JSON property collectionType
509 510 511 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 509 def collection_type @collection_type end |
#database_deployment_details ⇒ Google::Apis::MigrationcenterV1alpha1::DatabaseDeploymentDetails
The details of a database deployment asset.
Corresponds to the JSON property databaseDeploymentDetails
514 515 516 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 514 def database_deployment_details @database_deployment_details end |
#database_details ⇒ Google::Apis::MigrationcenterV1alpha1::DatabaseDetails
Details of a logical database.
Corresponds to the JSON property databaseDetails
519 520 521 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 519 def database_details @database_details end |
#labels ⇒ Hash<String,String>
Labels as key value pairs.
Corresponds to the JSON property labels
524 525 526 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 524 def labels @labels end |
#performance_samples ⇒ Array<Google::Apis::MigrationcenterV1alpha1::PerformanceSample>
Asset performance data samples. Samples that are from more than 40 days ago or
after tomorrow are ignored.
Corresponds to the JSON property performanceSamples
530 531 532 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 530 def performance_samples @performance_samples end |
#report_time ⇒ String
The time the data was reported.
Corresponds to the JSON property reportTime
535 536 537 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 535 def report_time @report_time end |
#trace_token ⇒ String
Optional. Trace token is optionally provided to assist with debugging and
traceability.
Corresponds to the JSON property traceToken
541 542 543 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 541 def trace_token @trace_token end |
#virtual_machine_details ⇒ Google::Apis::MigrationcenterV1alpha1::VirtualMachineDetails
Details of a VirtualMachine.
Corresponds to the JSON property virtualMachineDetails
546 547 548 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 546 def virtual_machine_details @virtual_machine_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
553 554 555 556 557 558 559 560 561 562 563 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 553 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @collection_type = args[:collection_type] if args.key?(:collection_type) @database_deployment_details = args[:database_deployment_details] if args.key?(:database_deployment_details) @database_details = args[:database_details] if args.key?(:database_details) @labels = args[:labels] if args.key?(:labels) @performance_samples = args[:performance_samples] if args.key?(:performance_samples) @report_time = args[:report_time] if args.key?(:report_time) @trace_token = args[:trace_token] if args.key?(:trace_token) @virtual_machine_details = args[:virtual_machine_details] if args.key?(:virtual_machine_details) end |