Class: Google::Apis::MigrationcenterV1alpha1::Asset
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::Asset
- 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
An asset represents a resource in your environment. Asset types include virtual machines and databases.
Instance Attribute Summary collapse
-
#assigned_groups ⇒ Array<String>
Output only.
-
#attributes ⇒ Hash<String,String>
Generic asset attributes.
-
#aws_cloud_front_distribution_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsCloudFrontDistributionDetails
Details of an AWS CloudFront distribution.
-
#aws_dynamodb_table_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsDynamoDbTableDetails
Details of an AWS DynamoDB table.
-
#aws_ecs_cluster_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsEcsClusterDetails
Details of an AWS ECS cluster.
-
#aws_efs_file_system_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsEfsFileSystemDetails
Details of an AWS EFS file system.
-
#aws_eks_cluster_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsEksClusterDetails
Asset information specific for AWS EKS clusters.
-
#aws_elb_load_balancer_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsElbLoadBalancerDetails
Asset information specific for AWS Load Balancers.
-
#aws_lambda_function_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsLambdaFunctionDetails
Asset information specific for AWS Lambda functions.
-
#aws_nat_gateway_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsNatGatewayDetails
Details of an AWS NAT Gateway.
-
#aws_redshift_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsRedshiftDetails
Details of an AWS Redshift cluster.
-
#aws_route53_hosted_zone_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsRoute53HostedZoneDetails
Details of an AWS Route 53 Hosted Zone.
-
#aws_s3_bucket_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetails
Asset information specific for AWS S3 buckets.
-
#aws_vpc_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsVpcDetails
Asset information specific for AWS VPCs.
-
#create_time ⇒ String
Output only.
-
#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.
-
#hidden ⇒ Boolean
(also: #hidden?)
Optional.
-
#hide_reason ⇒ String
Optional.
-
#hide_time ⇒ String
Output only.
-
#hosting_provider_details ⇒ Google::Apis::MigrationcenterV1alpha1::HostingProviderDetails
Details about the hosting platform of the asset.
-
#insight_list ⇒ Google::Apis::MigrationcenterV1alpha1::InsightList
Message containing insights list.
-
#labels ⇒ Hash<String,String>
Labels as key value pairs.
-
#machine_details ⇒ Google::Apis::MigrationcenterV1alpha1::MachineDetails
Details of a machine.
-
#name ⇒ String
Output only.
-
#performance_data ⇒ Google::Apis::MigrationcenterV1alpha1::AssetPerformanceData
Performance data for an asset.
-
#sources ⇒ Array<String>
Output only.
-
#structured_attributes ⇒ Hash<String,Object>
Optional.
-
#title ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#virtual_machine_details ⇒ Google::Apis::MigrationcenterV1alpha1::VirtualMachineDetails
Details of a VirtualMachine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Asset
constructor
A new instance of Asset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Asset
Returns a new instance of Asset.
546 547 548 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 546 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assigned_groups ⇒ Array<String>
Output only. The list of groups that the asset is assigned to.
Corresponds to the JSON property assignedGroups
393 394 395 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 393 def assigned_groups @assigned_groups end |
#attributes ⇒ Hash<String,String>
Generic asset attributes.
Corresponds to the JSON property attributes
398 399 400 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 398 def attributes @attributes end |
#aws_cloud_front_distribution_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsCloudFrontDistributionDetails
Details of an AWS CloudFront distribution.
Corresponds to the JSON property awsCloudFrontDistributionDetails
403 404 405 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 403 def aws_cloud_front_distribution_details @aws_cloud_front_distribution_details end |
#aws_dynamodb_table_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsDynamoDbTableDetails
Details of an AWS DynamoDB table.
Corresponds to the JSON property awsDynamodbTableDetails
408 409 410 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 408 def aws_dynamodb_table_details @aws_dynamodb_table_details end |
#aws_ecs_cluster_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsEcsClusterDetails
Details of an AWS ECS cluster.
Corresponds to the JSON property awsEcsClusterDetails
413 414 415 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 413 def aws_ecs_cluster_details @aws_ecs_cluster_details end |
#aws_efs_file_system_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsEfsFileSystemDetails
Details of an AWS EFS file system.
Corresponds to the JSON property awsEfsFileSystemDetails
418 419 420 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 418 def aws_efs_file_system_details @aws_efs_file_system_details end |
#aws_eks_cluster_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsEksClusterDetails
Asset information specific for AWS EKS clusters.
Corresponds to the JSON property awsEksClusterDetails
423 424 425 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 423 def aws_eks_cluster_details @aws_eks_cluster_details end |
#aws_elb_load_balancer_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsElbLoadBalancerDetails
Asset information specific for AWS Load Balancers.
Corresponds to the JSON property awsElbLoadBalancerDetails
428 429 430 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 428 def aws_elb_load_balancer_details @aws_elb_load_balancer_details end |
#aws_lambda_function_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsLambdaFunctionDetails
Asset information specific for AWS Lambda functions.
Corresponds to the JSON property awsLambdaFunctionDetails
433 434 435 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 433 def aws_lambda_function_details @aws_lambda_function_details end |
#aws_nat_gateway_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsNatGatewayDetails
Details of an AWS NAT Gateway.
Corresponds to the JSON property awsNatGatewayDetails
438 439 440 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 438 def aws_nat_gateway_details @aws_nat_gateway_details end |
#aws_redshift_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsRedshiftDetails
Details of an AWS Redshift cluster.
Corresponds to the JSON property awsRedshiftDetails
443 444 445 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 443 def aws_redshift_details @aws_redshift_details end |
#aws_route53_hosted_zone_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsRoute53HostedZoneDetails
Details of an AWS Route 53 Hosted Zone.
Corresponds to the JSON property awsRoute53HostedZoneDetails
448 449 450 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 448 def aws_route53_hosted_zone_details @aws_route53_hosted_zone_details end |
#aws_s3_bucket_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetails
Asset information specific for AWS S3 buckets.
Corresponds to the JSON property awsS3BucketDetails
453 454 455 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 453 def aws_s3_bucket_details @aws_s3_bucket_details end |
#aws_vpc_details ⇒ Google::Apis::MigrationcenterV1alpha1::AwsVpcDetails
Asset information specific for AWS VPCs.
Corresponds to the JSON property awsVpcDetails
458 459 460 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 458 def aws_vpc_details @aws_vpc_details end |
#create_time ⇒ String
Output only. The timestamp when the asset was created.
Corresponds to the JSON property createTime
463 464 465 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 463 def create_time @create_time end |
#database_deployment_details ⇒ Google::Apis::MigrationcenterV1alpha1::DatabaseDeploymentDetails
The details of a database deployment asset.
Corresponds to the JSON property databaseDeploymentDetails
468 469 470 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 468 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
473 474 475 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 473 def database_details @database_details end |
#hidden ⇒ Boolean Also known as:
Optional. Indicates if the asset is hidden.
Corresponds to the JSON property hidden
478 479 480 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 478 def hidden @hidden end |
#hide_reason ⇒ String
Optional. An optional reason for marking this asset as hidden.
Corresponds to the JSON property hideReason
484 485 486 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 484 def hide_reason @hide_reason end |
#hide_time ⇒ String
Output only. The timestamp when the asset was marked as hidden.
Corresponds to the JSON property hideTime
489 490 491 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 489 def hide_time @hide_time end |
#hosting_provider_details ⇒ Google::Apis::MigrationcenterV1alpha1::HostingProviderDetails
Details about the hosting platform of the asset.
Corresponds to the JSON property hostingProviderDetails
494 495 496 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 494 def hosting_provider_details @hosting_provider_details end |
#insight_list ⇒ Google::Apis::MigrationcenterV1alpha1::InsightList
Message containing insights list.
Corresponds to the JSON property insightList
499 500 501 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 499 def insight_list @insight_list end |
#labels ⇒ Hash<String,String>
Labels as key value pairs.
Corresponds to the JSON property labels
504 505 506 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 504 def labels @labels end |
#machine_details ⇒ Google::Apis::MigrationcenterV1alpha1::MachineDetails
Details of a machine.
Corresponds to the JSON property machineDetails
509 510 511 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 509 def machine_details @machine_details end |
#name ⇒ String
Output only. The full name of the asset.
Corresponds to the JSON property name
514 515 516 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 514 def name @name end |
#performance_data ⇒ Google::Apis::MigrationcenterV1alpha1::AssetPerformanceData
Performance data for an asset.
Corresponds to the JSON property performanceData
519 520 521 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 519 def performance_data @performance_data end |
#sources ⇒ Array<String>
Output only. The list of sources contributing to the asset.
Corresponds to the JSON property sources
524 525 526 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 524 def sources @sources end |
#structured_attributes ⇒ Hash<String,Object>
Optional. Generic structured asset attributes.
Corresponds to the JSON property structuredAttributes
529 530 531 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 529 def structured_attributes @structured_attributes end |
#title ⇒ String
Output only. Server generated human readable name of the asset.
Corresponds to the JSON property title
534 535 536 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 534 def title @title end |
#update_time ⇒ String
Output only. The timestamp when the asset was last updated.
Corresponds to the JSON property updateTime
539 540 541 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 539 def update_time @update_time end |
#virtual_machine_details ⇒ Google::Apis::MigrationcenterV1alpha1::VirtualMachineDetails
Details of a VirtualMachine.
Corresponds to the JSON property virtualMachineDetails
544 545 546 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 544 def virtual_machine_details @virtual_machine_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 551 def update!(**args) @assigned_groups = args[:assigned_groups] if args.key?(:assigned_groups) @attributes = args[:attributes] if args.key?(:attributes) @aws_cloud_front_distribution_details = args[:aws_cloud_front_distribution_details] if args.key?(:aws_cloud_front_distribution_details) @aws_dynamodb_table_details = args[:aws_dynamodb_table_details] if args.key?(:aws_dynamodb_table_details) @aws_ecs_cluster_details = args[:aws_ecs_cluster_details] if args.key?(:aws_ecs_cluster_details) @aws_efs_file_system_details = args[:aws_efs_file_system_details] if args.key?(:aws_efs_file_system_details) @aws_eks_cluster_details = args[:aws_eks_cluster_details] if args.key?(:aws_eks_cluster_details) @aws_elb_load_balancer_details = args[:aws_elb_load_balancer_details] if args.key?(:aws_elb_load_balancer_details) @aws_lambda_function_details = args[:aws_lambda_function_details] if args.key?(:aws_lambda_function_details) @aws_nat_gateway_details = args[:aws_nat_gateway_details] if args.key?(:aws_nat_gateway_details) @aws_redshift_details = args[:aws_redshift_details] if args.key?(:aws_redshift_details) @aws_route53_hosted_zone_details = args[:aws_route53_hosted_zone_details] if args.key?(:aws_route53_hosted_zone_details) @aws_s3_bucket_details = args[:aws_s3_bucket_details] if args.key?(:aws_s3_bucket_details) @aws_vpc_details = args[:aws_vpc_details] if args.key?(:aws_vpc_details) @create_time = args[:create_time] if args.key?(:create_time) @database_deployment_details = args[:database_deployment_details] if args.key?(:database_deployment_details) @database_details = args[:database_details] if args.key?(:database_details) @hidden = args[:hidden] if args.key?(:hidden) @hide_reason = args[:hide_reason] if args.key?(:hide_reason) @hide_time = args[:hide_time] if args.key?(:hide_time) @hosting_provider_details = args[:hosting_provider_details] if args.key?(:hosting_provider_details) @insight_list = args[:insight_list] if args.key?(:insight_list) @labels = args[:labels] if args.key?(:labels) @machine_details = args[:machine_details] if args.key?(:machine_details) @name = args[:name] if args.key?(:name) @performance_data = args[:performance_data] if args.key?(:performance_data) @sources = args[:sources] if args.key?(:sources) @structured_attributes = args[:structured_attributes] if args.key?(:structured_attributes) @title = args[:title] if args.key?(:title) @update_time = args[:update_time] if args.key?(:update_time) @virtual_machine_details = args[:virtual_machine_details] if args.key?(:virtual_machine_details) end |