google-apis-migrationcenter_v1alpha1 0.47.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -397,6 +397,51 @@ module Google
397
397
  # @return [Hash<String,String>]
398
398
  attr_accessor :attributes
399
399
 
400
+ # Details of an AWS CloudFront distribution.
401
+ # Corresponds to the JSON property `awsCloudFrontDistributionDetails`
402
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsCloudFrontDistributionDetails]
403
+ attr_accessor :aws_cloud_front_distribution_details
404
+
405
+ # Details of an AWS ECS cluster.
406
+ # Corresponds to the JSON property `awsEcsClusterDetails`
407
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsEcsClusterDetails]
408
+ attr_accessor :aws_ecs_cluster_details
409
+
410
+ # Details of an AWS EFS file system.
411
+ # Corresponds to the JSON property `awsEfsFileSystemDetails`
412
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsEfsFileSystemDetails]
413
+ attr_accessor :aws_efs_file_system_details
414
+
415
+ # Asset information specific for AWS EKS clusters.
416
+ # Corresponds to the JSON property `awsEksClusterDetails`
417
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsEksClusterDetails]
418
+ attr_accessor :aws_eks_cluster_details
419
+
420
+ # Asset information specific for AWS Load Balancers.
421
+ # Corresponds to the JSON property `awsElbLoadBalancerDetails`
422
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsElbLoadBalancerDetails]
423
+ attr_accessor :aws_elb_load_balancer_details
424
+
425
+ # Asset information specific for AWS Lambda functions.
426
+ # Corresponds to the JSON property `awsLambdaFunctionDetails`
427
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsLambdaFunctionDetails]
428
+ attr_accessor :aws_lambda_function_details
429
+
430
+ # Details of an AWS Redshift cluster.
431
+ # Corresponds to the JSON property `awsRedshiftDetails`
432
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsRedshiftDetails]
433
+ attr_accessor :aws_redshift_details
434
+
435
+ # Asset information specific for AWS S3 buckets.
436
+ # Corresponds to the JSON property `awsS3BucketDetails`
437
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetails]
438
+ attr_accessor :aws_s3_bucket_details
439
+
440
+ # Asset information specific for AWS VPCs.
441
+ # Corresponds to the JSON property `awsVpcDetails`
442
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsVpcDetails]
443
+ attr_accessor :aws_vpc_details
444
+
400
445
  # Output only. The timestamp when the asset was created.
401
446
  # Corresponds to the JSON property `createTime`
402
447
  # @return [String]
@@ -428,6 +473,11 @@ module Google
428
473
  # @return [String]
429
474
  attr_accessor :hide_time
430
475
 
476
+ # Details about the hosting platform of the asset.
477
+ # Corresponds to the JSON property `hostingProviderDetails`
478
+ # @return [Google::Apis::MigrationcenterV1alpha1::HostingProviderDetails]
479
+ attr_accessor :hosting_provider_details
480
+
431
481
  # Message containing insights list.
432
482
  # Corresponds to the JSON property `insightList`
433
483
  # @return [Google::Apis::MigrationcenterV1alpha1::InsightList]
@@ -458,6 +508,11 @@ module Google
458
508
  # @return [Array<String>]
459
509
  attr_accessor :sources
460
510
 
511
+ # Optional. Generic structured asset attributes.
512
+ # Corresponds to the JSON property `structuredAttributes`
513
+ # @return [Hash<String,Object>]
514
+ attr_accessor :structured_attributes
515
+
461
516
  # Output only. Server generated human readable name of the asset.
462
517
  # Corresponds to the JSON property `title`
463
518
  # @return [String]
@@ -481,18 +536,29 @@ module Google
481
536
  def update!(**args)
482
537
  @assigned_groups = args[:assigned_groups] if args.key?(:assigned_groups)
483
538
  @attributes = args[:attributes] if args.key?(:attributes)
539
+ @aws_cloud_front_distribution_details = args[:aws_cloud_front_distribution_details] if args.key?(:aws_cloud_front_distribution_details)
540
+ @aws_ecs_cluster_details = args[:aws_ecs_cluster_details] if args.key?(:aws_ecs_cluster_details)
541
+ @aws_efs_file_system_details = args[:aws_efs_file_system_details] if args.key?(:aws_efs_file_system_details)
542
+ @aws_eks_cluster_details = args[:aws_eks_cluster_details] if args.key?(:aws_eks_cluster_details)
543
+ @aws_elb_load_balancer_details = args[:aws_elb_load_balancer_details] if args.key?(:aws_elb_load_balancer_details)
544
+ @aws_lambda_function_details = args[:aws_lambda_function_details] if args.key?(:aws_lambda_function_details)
545
+ @aws_redshift_details = args[:aws_redshift_details] if args.key?(:aws_redshift_details)
546
+ @aws_s3_bucket_details = args[:aws_s3_bucket_details] if args.key?(:aws_s3_bucket_details)
547
+ @aws_vpc_details = args[:aws_vpc_details] if args.key?(:aws_vpc_details)
484
548
  @create_time = args[:create_time] if args.key?(:create_time)
485
549
  @database_deployment_details = args[:database_deployment_details] if args.key?(:database_deployment_details)
486
550
  @database_details = args[:database_details] if args.key?(:database_details)
487
551
  @hidden = args[:hidden] if args.key?(:hidden)
488
552
  @hide_reason = args[:hide_reason] if args.key?(:hide_reason)
489
553
  @hide_time = args[:hide_time] if args.key?(:hide_time)
554
+ @hosting_provider_details = args[:hosting_provider_details] if args.key?(:hosting_provider_details)
490
555
  @insight_list = args[:insight_list] if args.key?(:insight_list)
491
556
  @labels = args[:labels] if args.key?(:labels)
492
557
  @machine_details = args[:machine_details] if args.key?(:machine_details)
493
558
  @name = args[:name] if args.key?(:name)
494
559
  @performance_data = args[:performance_data] if args.key?(:performance_data)
495
560
  @sources = args[:sources] if args.key?(:sources)
561
+ @structured_attributes = args[:structured_attributes] if args.key?(:structured_attributes)
496
562
  @title = args[:title] if args.key?(:title)
497
563
  @update_time = args[:update_time] if args.key?(:update_time)
498
564
  @virtual_machine_details = args[:virtual_machine_details] if args.key?(:virtual_machine_details)
@@ -508,6 +574,51 @@ module Google
508
574
  # @return [Hash<String,String>]
509
575
  attr_accessor :attributes
510
576
 
577
+ # Details of an AWS CloudFront distribution.
578
+ # Corresponds to the JSON property `awsCloudFrontDistributionDetails`
579
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsCloudFrontDistributionDetails]
580
+ attr_accessor :aws_cloud_front_distribution_details
581
+
582
+ # Details of an AWS ECS cluster.
583
+ # Corresponds to the JSON property `awsEcsClusterDetails`
584
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsEcsClusterDetails]
585
+ attr_accessor :aws_ecs_cluster_details
586
+
587
+ # Details of an AWS EFS file system.
588
+ # Corresponds to the JSON property `awsEfsFileSystemDetails`
589
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsEfsFileSystemDetails]
590
+ attr_accessor :aws_efs_file_system_details
591
+
592
+ # Asset information specific for AWS EKS clusters.
593
+ # Corresponds to the JSON property `awsEksClusterDetails`
594
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsEksClusterDetails]
595
+ attr_accessor :aws_eks_cluster_details
596
+
597
+ # Asset information specific for AWS Load Balancers.
598
+ # Corresponds to the JSON property `awsElbLoadBalancerDetails`
599
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsElbLoadBalancerDetails]
600
+ attr_accessor :aws_elb_load_balancer_details
601
+
602
+ # Asset information specific for AWS Lambda functions.
603
+ # Corresponds to the JSON property `awsLambdaFunctionDetails`
604
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsLambdaFunctionDetails]
605
+ attr_accessor :aws_lambda_function_details
606
+
607
+ # Details of an AWS Redshift cluster.
608
+ # Corresponds to the JSON property `awsRedshiftDetails`
609
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsRedshiftDetails]
610
+ attr_accessor :aws_redshift_details
611
+
612
+ # Asset information specific for AWS S3 buckets.
613
+ # Corresponds to the JSON property `awsS3BucketDetails`
614
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetails]
615
+ attr_accessor :aws_s3_bucket_details
616
+
617
+ # Asset information specific for AWS VPCs.
618
+ # Corresponds to the JSON property `awsVpcDetails`
619
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsVpcDetails]
620
+ attr_accessor :aws_vpc_details
621
+
511
622
  # Optional. Frame collection type, if not specified the collection type will be
512
623
  # based on the source type of the source the frame was reported on.
513
624
  # Corresponds to the JSON property `collectionType`
@@ -524,6 +635,11 @@ module Google
524
635
  # @return [Google::Apis::MigrationcenterV1alpha1::DatabaseDetails]
525
636
  attr_accessor :database_details
526
637
 
638
+ # Details about the hosting platform of the asset.
639
+ # Corresponds to the JSON property `hostingProviderDetails`
640
+ # @return [Google::Apis::MigrationcenterV1alpha1::HostingProviderDetails]
641
+ attr_accessor :hosting_provider_details
642
+
527
643
  # Labels as key value pairs.
528
644
  # Corresponds to the JSON property `labels`
529
645
  # @return [Hash<String,String>]
@@ -545,6 +661,11 @@ module Google
545
661
  # @return [String]
546
662
  attr_accessor :report_time
547
663
 
664
+ # Optional. Generic structured asset attributes.
665
+ # Corresponds to the JSON property `structuredAttributes`
666
+ # @return [Hash<String,Object>]
667
+ attr_accessor :structured_attributes
668
+
548
669
  # Optional. Trace token is optionally provided to assist with debugging and
549
670
  # traceability.
550
671
  # Corresponds to the JSON property `traceToken`
@@ -563,13 +684,24 @@ module Google
563
684
  # Update properties of this object
564
685
  def update!(**args)
565
686
  @attributes = args[:attributes] if args.key?(:attributes)
687
+ @aws_cloud_front_distribution_details = args[:aws_cloud_front_distribution_details] if args.key?(:aws_cloud_front_distribution_details)
688
+ @aws_ecs_cluster_details = args[:aws_ecs_cluster_details] if args.key?(:aws_ecs_cluster_details)
689
+ @aws_efs_file_system_details = args[:aws_efs_file_system_details] if args.key?(:aws_efs_file_system_details)
690
+ @aws_eks_cluster_details = args[:aws_eks_cluster_details] if args.key?(:aws_eks_cluster_details)
691
+ @aws_elb_load_balancer_details = args[:aws_elb_load_balancer_details] if args.key?(:aws_elb_load_balancer_details)
692
+ @aws_lambda_function_details = args[:aws_lambda_function_details] if args.key?(:aws_lambda_function_details)
693
+ @aws_redshift_details = args[:aws_redshift_details] if args.key?(:aws_redshift_details)
694
+ @aws_s3_bucket_details = args[:aws_s3_bucket_details] if args.key?(:aws_s3_bucket_details)
695
+ @aws_vpc_details = args[:aws_vpc_details] if args.key?(:aws_vpc_details)
566
696
  @collection_type = args[:collection_type] if args.key?(:collection_type)
567
697
  @database_deployment_details = args[:database_deployment_details] if args.key?(:database_deployment_details)
568
698
  @database_details = args[:database_details] if args.key?(:database_details)
699
+ @hosting_provider_details = args[:hosting_provider_details] if args.key?(:hosting_provider_details)
569
700
  @labels = args[:labels] if args.key?(:labels)
570
701
  @machine_details = args[:machine_details] if args.key?(:machine_details)
571
702
  @performance_samples = args[:performance_samples] if args.key?(:performance_samples)
572
703
  @report_time = args[:report_time] if args.key?(:report_time)
704
+ @structured_attributes = args[:structured_attributes] if args.key?(:structured_attributes)
573
705
  @trace_token = args[:trace_token] if args.key?(:trace_token)
574
706
  @virtual_machine_details = args[:virtual_machine_details] if args.key?(:virtual_machine_details)
575
707
  end
@@ -864,6 +996,19 @@ module Google
864
996
  end
865
997
  end
866
998
 
999
+ # Details of an AWS CloudFront distribution.
1000
+ class AwsCloudFrontDistributionDetails
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ def initialize(**args)
1004
+ update!(**args)
1005
+ end
1006
+
1007
+ # Update properties of this object
1008
+ def update!(**args)
1009
+ end
1010
+ end
1011
+
867
1012
  # AWS EC2 specific details.
868
1013
  class AwsEc2PlatformDetails
869
1014
  include Google::Apis::Core::Hashable
@@ -895,6 +1040,71 @@ module Google
895
1040
  end
896
1041
  end
897
1042
 
1043
+ # Details of an AWS ECS cluster.
1044
+ class AwsEcsClusterDetails
1045
+ include Google::Apis::Core::Hashable
1046
+
1047
+ def initialize(**args)
1048
+ update!(**args)
1049
+ end
1050
+
1051
+ # Update properties of this object
1052
+ def update!(**args)
1053
+ end
1054
+ end
1055
+
1056
+ # Details of an AWS EFS file system.
1057
+ class AwsEfsFileSystemDetails
1058
+ include Google::Apis::Core::Hashable
1059
+
1060
+ def initialize(**args)
1061
+ update!(**args)
1062
+ end
1063
+
1064
+ # Update properties of this object
1065
+ def update!(**args)
1066
+ end
1067
+ end
1068
+
1069
+ # Asset information specific for AWS EKS clusters.
1070
+ class AwsEksClusterDetails
1071
+ include Google::Apis::Core::Hashable
1072
+
1073
+ def initialize(**args)
1074
+ update!(**args)
1075
+ end
1076
+
1077
+ # Update properties of this object
1078
+ def update!(**args)
1079
+ end
1080
+ end
1081
+
1082
+ # Asset information specific for AWS Load Balancers.
1083
+ class AwsElbLoadBalancerDetails
1084
+ include Google::Apis::Core::Hashable
1085
+
1086
+ def initialize(**args)
1087
+ update!(**args)
1088
+ end
1089
+
1090
+ # Update properties of this object
1091
+ def update!(**args)
1092
+ end
1093
+ end
1094
+
1095
+ # Asset information specific for AWS Lambda functions.
1096
+ class AwsLambdaFunctionDetails
1097
+ include Google::Apis::Core::Hashable
1098
+
1099
+ def initialize(**args)
1100
+ update!(**args)
1101
+ end
1102
+
1103
+ # Update properties of this object
1104
+ def update!(**args)
1105
+ end
1106
+ end
1107
+
898
1108
  # Specific details for an AWS RDS database deployment.
899
1109
  class AwsRds
900
1110
  include Google::Apis::Core::Hashable
@@ -908,6 +1118,146 @@ module Google
908
1118
  end
909
1119
  end
910
1120
 
1121
+ # Details of an AWS Redshift cluster.
1122
+ class AwsRedshiftDetails
1123
+ include Google::Apis::Core::Hashable
1124
+
1125
+ def initialize(**args)
1126
+ update!(**args)
1127
+ end
1128
+
1129
+ # Update properties of this object
1130
+ def update!(**args)
1131
+ end
1132
+ end
1133
+
1134
+ # Asset information specific for AWS S3 buckets.
1135
+ class AwsS3BucketDetails
1136
+ include Google::Apis::Core::Hashable
1137
+
1138
+ # The metadata of the objects in the bucket.
1139
+ # Corresponds to the JSON property `objectsMetadata`
1140
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsObjectsMetadata]
1141
+ attr_accessor :objects_metadata
1142
+
1143
+ # Optional. The storage classes in the bucket.
1144
+ # Corresponds to the JSON property `storageClasses`
1145
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsStorageClass>]
1146
+ attr_accessor :storage_classes
1147
+
1148
+ # Versioning configuration of the bucket.
1149
+ # Corresponds to the JSON property `versioning`
1150
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsVersioning]
1151
+ attr_accessor :versioning
1152
+
1153
+ def initialize(**args)
1154
+ update!(**args)
1155
+ end
1156
+
1157
+ # Update properties of this object
1158
+ def update!(**args)
1159
+ @objects_metadata = args[:objects_metadata] if args.key?(:objects_metadata)
1160
+ @storage_classes = args[:storage_classes] if args.key?(:storage_classes)
1161
+ @versioning = args[:versioning] if args.key?(:versioning)
1162
+ end
1163
+ end
1164
+
1165
+ # The metadata of the objects in the bucket.
1166
+ class AwsS3BucketDetailsObjectsMetadata
1167
+ include Google::Apis::Core::Hashable
1168
+
1169
+ # Information about the total number of objects in the bucket.
1170
+ # Corresponds to the JSON property `totalObjects`
1171
+ # @return [Google::Apis::MigrationcenterV1alpha1::AwsS3BucketDetailsObjectsMetadataTotalObjects]
1172
+ attr_accessor :total_objects
1173
+
1174
+ def initialize(**args)
1175
+ update!(**args)
1176
+ end
1177
+
1178
+ # Update properties of this object
1179
+ def update!(**args)
1180
+ @total_objects = args[:total_objects] if args.key?(:total_objects)
1181
+ end
1182
+ end
1183
+
1184
+ # Information about the total number of objects in the bucket.
1185
+ class AwsS3BucketDetailsObjectsMetadataTotalObjects
1186
+ include Google::Apis::Core::Hashable
1187
+
1188
+ # Optional. The total number of objects in the bucket.
1189
+ # Corresponds to the JSON property `value`
1190
+ # @return [Fixnum]
1191
+ attr_accessor :value
1192
+
1193
+ def initialize(**args)
1194
+ update!(**args)
1195
+ end
1196
+
1197
+ # Update properties of this object
1198
+ def update!(**args)
1199
+ @value = args[:value] if args.key?(:value)
1200
+ end
1201
+ end
1202
+
1203
+ # Details about storage class.
1204
+ class AwsS3BucketDetailsStorageClass
1205
+ include Google::Apis::Core::Hashable
1206
+
1207
+ # Optional. The total size of the storage class in bytes.
1208
+ # Corresponds to the JSON property `totalBytes`
1209
+ # @return [Fixnum]
1210
+ attr_accessor :total_bytes
1211
+
1212
+ # Required. Type of the storage class.
1213
+ # Corresponds to the JSON property `type`
1214
+ # @return [String]
1215
+ attr_accessor :type
1216
+
1217
+ def initialize(**args)
1218
+ update!(**args)
1219
+ end
1220
+
1221
+ # Update properties of this object
1222
+ def update!(**args)
1223
+ @total_bytes = args[:total_bytes] if args.key?(:total_bytes)
1224
+ @type = args[:type] if args.key?(:type)
1225
+ end
1226
+ end
1227
+
1228
+ # Versioning configuration of the bucket.
1229
+ class AwsS3BucketDetailsVersioning
1230
+ include Google::Apis::Core::Hashable
1231
+
1232
+ # Optional. Whether versioning is enabled.
1233
+ # Corresponds to the JSON property `enabled`
1234
+ # @return [Boolean]
1235
+ attr_accessor :enabled
1236
+ alias_method :enabled?, :enabled
1237
+
1238
+ def initialize(**args)
1239
+ update!(**args)
1240
+ end
1241
+
1242
+ # Update properties of this object
1243
+ def update!(**args)
1244
+ @enabled = args[:enabled] if args.key?(:enabled)
1245
+ end
1246
+ end
1247
+
1248
+ # Asset information specific for AWS VPCs.
1249
+ class AwsVpcDetails
1250
+ include Google::Apis::Core::Hashable
1251
+
1252
+ def initialize(**args)
1253
+ update!(**args)
1254
+ end
1255
+
1256
+ # Update properties of this object
1257
+ def update!(**args)
1258
+ end
1259
+ end
1260
+
911
1261
  # Azure VM specific details.
912
1262
  class AzureVmPlatformDetails
913
1263
  include Google::Apis::Core::Hashable
@@ -1045,11 +1395,31 @@ module Google
1045
1395
  # @return [String]
1046
1396
  attr_accessor :bios_version
1047
1397
 
1398
+ # BIOS ID.
1399
+ # Corresponds to the JSON property `id`
1400
+ # @return [String]
1401
+ attr_accessor :id
1402
+
1403
+ # BIOS manufacturer.
1404
+ # Corresponds to the JSON property `manufacturer`
1405
+ # @return [String]
1406
+ attr_accessor :manufacturer
1407
+
1408
+ # BIOS release date.
1409
+ # Corresponds to the JSON property `releaseTime`
1410
+ # @return [String]
1411
+ attr_accessor :release_time
1412
+
1048
1413
  # SMBIOS UUID.
1049
1414
  # Corresponds to the JSON property `smbiosUuid`
1050
1415
  # @return [String]
1051
1416
  attr_accessor :smbios_uuid
1052
1417
 
1418
+ # BIOS version.
1419
+ # Corresponds to the JSON property `version`
1420
+ # @return [String]
1421
+ attr_accessor :version
1422
+
1053
1423
  def initialize(**args)
1054
1424
  update!(**args)
1055
1425
  end
@@ -1060,7 +1430,11 @@ module Google
1060
1430
  @bios_name = args[:bios_name] if args.key?(:bios_name)
1061
1431
  @bios_release_date = args[:bios_release_date] if args.key?(:bios_release_date)
1062
1432
  @bios_version = args[:bios_version] if args.key?(:bios_version)
1433
+ @id = args[:id] if args.key?(:id)
1434
+ @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
1435
+ @release_time = args[:release_time] if args.key?(:release_time)
1063
1436
  @smbios_uuid = args[:smbios_uuid] if args.key?(:smbios_uuid)
1437
+ @version = args[:version] if args.key?(:version)
1064
1438
  end
1065
1439
  end
1066
1440
 
@@ -2562,6 +2936,11 @@ module Google
2562
2936
  class DiskEntry
2563
2937
  include Google::Apis::Core::Hashable
2564
2938
 
2939
+ # Disk capacity.
2940
+ # Corresponds to the JSON property `capacityBytes`
2941
+ # @return [Fixnum]
2942
+ attr_accessor :capacity_bytes
2943
+
2565
2944
  # Disk label.
2566
2945
  # Corresponds to the JSON property `diskLabel`
2567
2946
  # @return [String]
@@ -2572,6 +2951,11 @@ module Google
2572
2951
  # @return [String]
2573
2952
  attr_accessor :disk_label_type
2574
2953
 
2954
+ # Disk free space.
2955
+ # Corresponds to the JSON property `freeSpaceBytes`
2956
+ # @return [Fixnum]
2957
+ attr_accessor :free_space_bytes
2958
+
2575
2959
  # Disk hardware address (e.g. 0:1 for SCSI).
2576
2960
  # Corresponds to the JSON property `hwAddress`
2577
2961
  # @return [String]
@@ -2608,8 +2992,10 @@ module Google
2608
2992
 
2609
2993
  # Update properties of this object
2610
2994
  def update!(**args)
2995
+ @capacity_bytes = args[:capacity_bytes] if args.key?(:capacity_bytes)
2611
2996
  @disk_label = args[:disk_label] if args.key?(:disk_label)
2612
2997
  @disk_label_type = args[:disk_label_type] if args.key?(:disk_label_type)
2998
+ @free_space_bytes = args[:free_space_bytes] if args.key?(:free_space_bytes)
2613
2999
  @hw_address = args[:hw_address] if args.key?(:hw_address)
2614
3000
  @interface_type = args[:interface_type] if args.key?(:interface_type)
2615
3001
  @partitions = args[:partitions] if args.key?(:partitions)
@@ -3222,6 +3608,11 @@ module Google
3222
3608
  # @return [Google::Apis::MigrationcenterV1alpha1::Selinux]
3223
3609
  attr_accessor :selinux
3224
3610
 
3611
+ # Security-Enhanced Linux (SELinux) mode.
3612
+ # Corresponds to the JSON property `selinuxMode`
3613
+ # @return [String]
3614
+ attr_accessor :selinux_mode
3615
+
3225
3616
  def initialize(**args)
3226
3617
  update!(**args)
3227
3618
  end
@@ -3233,6 +3624,7 @@ module Google
3233
3624
  @issue = args[:issue] if args.key?(:issue)
3234
3625
  @nfs_exports = args[:nfs_exports] if args.key?(:nfs_exports)
3235
3626
  @selinux = args[:selinux] if args.key?(:selinux)
3627
+ @selinux_mode = args[:selinux_mode] if args.key?(:selinux_mode)
3236
3628
  end
3237
3629
  end
3238
3630
 
@@ -3240,6 +3632,16 @@ module Google
3240
3632
  class GuestInstalledApplication
3241
3633
  include Google::Apis::Core::Hashable
3242
3634
 
3635
+ # Installed application name.
3636
+ # Corresponds to the JSON property `applicationName`
3637
+ # @return [String]
3638
+ attr_accessor :application_name
3639
+
3640
+ # The time when the application was installed.
3641
+ # Corresponds to the JSON property `installTime`
3642
+ # @return [String]
3643
+ attr_accessor :install_time
3644
+
3243
3645
  # License strings associated with the installed application.
3244
3646
  # Corresponds to the JSON property `licenses`
3245
3647
  # @return [Array<String>]
@@ -3276,6 +3678,8 @@ module Google
3276
3678
 
3277
3679
  # Update properties of this object
3278
3680
  def update!(**args)
3681
+ @application_name = args[:application_name] if args.key?(:application_name)
3682
+ @install_time = args[:install_time] if args.key?(:install_time)
3279
3683
  @licenses = args[:licenses] if args.key?(:licenses)
3280
3684
  @name = args[:name] if args.key?(:name)
3281
3685
  @path = args[:path] if args.key?(:path)
@@ -3313,11 +3717,26 @@ module Google
3313
3717
  # @return [Google::Apis::MigrationcenterV1alpha1::GuestConfigDetails]
3314
3718
  attr_accessor :config
3315
3719
 
3720
+ # What family the OS belong to, if known.
3721
+ # Corresponds to the JSON property `family`
3722
+ # @return [String]
3723
+ attr_accessor :family
3724
+
3725
+ # The name of the operating system.
3726
+ # Corresponds to the JSON property `osName`
3727
+ # @return [String]
3728
+ attr_accessor :os_name
3729
+
3316
3730
  # Guest OS runtime information.
3317
3731
  # Corresponds to the JSON property `runtime`
3318
3732
  # @return [Google::Apis::MigrationcenterV1alpha1::GuestRuntimeDetails]
3319
3733
  attr_accessor :runtime
3320
3734
 
3735
+ # The version of the operating system.
3736
+ # Corresponds to the JSON property `version`
3737
+ # @return [String]
3738
+ attr_accessor :version
3739
+
3321
3740
  def initialize(**args)
3322
3741
  update!(**args)
3323
3742
  end
@@ -3325,7 +3744,10 @@ module Google
3325
3744
  # Update properties of this object
3326
3745
  def update!(**args)
3327
3746
  @config = args[:config] if args.key?(:config)
3747
+ @family = args[:family] if args.key?(:family)
3748
+ @os_name = args[:os_name] if args.key?(:os_name)
3328
3749
  @runtime = args[:runtime] if args.key?(:runtime)
3750
+ @version = args[:version] if args.key?(:version)
3329
3751
  end
3330
3752
  end
3331
3753
 
@@ -3343,6 +3765,11 @@ module Google
3343
3765
  # @return [Google::Apis::MigrationcenterV1alpha1::GuestInstalledApplicationList]
3344
3766
  attr_accessor :installed_apps
3345
3767
 
3768
+ # Last time the OS was booted.
3769
+ # Corresponds to the JSON property `lastBootTime`
3770
+ # @return [String]
3771
+ attr_accessor :last_boot_time
3772
+
3346
3773
  # Represents a whole or partial calendar date, such as a birthday. The time of
3347
3774
  # day and time zone are either specified elsewhere or are insignificant. The
3348
3775
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -3388,6 +3815,7 @@ module Google
3388
3815
  def update!(**args)
3389
3816
  @domain = args[:domain] if args.key?(:domain)
3390
3817
  @installed_apps = args[:installed_apps] if args.key?(:installed_apps)
3818
+ @last_boot_time = args[:last_boot_time] if args.key?(:last_boot_time)
3391
3819
  @last_uptime = args[:last_uptime] if args.key?(:last_uptime)
3392
3820
  @machine_name = args[:machine_name] if args.key?(:machine_name)
3393
3821
  @network_info = args[:network_info] if args.key?(:network_info)
@@ -3397,6 +3825,68 @@ module Google
3397
3825
  end
3398
3826
  end
3399
3827
 
3828
+ # Details about the hosting platform of the asset.
3829
+ class HostingProviderDetails
3830
+ include Google::Apis::Core::Hashable
3831
+
3832
+ # Details for AWS platform.
3833
+ # Corresponds to the JSON property `aws`
3834
+ # @return [Google::Apis::MigrationcenterV1alpha1::HostingProviderDetailsAws]
3835
+ attr_accessor :aws
3836
+
3837
+ # Optional. The timestamp when resource was created in the hosting provider.
3838
+ # Corresponds to the JSON property `createTime`
3839
+ # @return [String]
3840
+ attr_accessor :create_time
3841
+
3842
+ # Optional. Display name of the asset.
3843
+ # Corresponds to the JSON property `displayName`
3844
+ # @return [String]
3845
+ attr_accessor :display_name
3846
+
3847
+ # Location of a resource.
3848
+ # Corresponds to the JSON property `location`
3849
+ # @return [Google::Apis::MigrationcenterV1alpha1::ResourceLocation]
3850
+ attr_accessor :location
3851
+
3852
+ # Optional. Unique identifier for the asset in the hosting provider.
3853
+ # Corresponds to the JSON property `originalId`
3854
+ # @return [String]
3855
+ attr_accessor :original_id
3856
+
3857
+ def initialize(**args)
3858
+ update!(**args)
3859
+ end
3860
+
3861
+ # Update properties of this object
3862
+ def update!(**args)
3863
+ @aws = args[:aws] if args.key?(:aws)
3864
+ @create_time = args[:create_time] if args.key?(:create_time)
3865
+ @display_name = args[:display_name] if args.key?(:display_name)
3866
+ @location = args[:location] if args.key?(:location)
3867
+ @original_id = args[:original_id] if args.key?(:original_id)
3868
+ end
3869
+ end
3870
+
3871
+ # Details for AWS platform.
3872
+ class HostingProviderDetailsAws
3873
+ include Google::Apis::Core::Hashable
3874
+
3875
+ # Optional. The AWS account ID owning the resource represented by this asset.
3876
+ # Corresponds to the JSON property `owningAccountId`
3877
+ # @return [String]
3878
+ attr_accessor :owning_account_id
3879
+
3880
+ def initialize(**args)
3881
+ update!(**args)
3882
+ end
3883
+
3884
+ # Update properties of this object
3885
+ def update!(**args)
3886
+ @owning_account_id = args[:owning_account_id] if args.key?(:owning_account_id)
3887
+ end
3888
+ end
3889
+
3400
3890
  # Single /etc/hosts entry.
3401
3891
  class HostsEntry
3402
3892
  include Google::Apis::Core::Hashable
@@ -4135,6 +4625,13 @@ module Google
4135
4625
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::Operation>]
4136
4626
  attr_accessor :operations
4137
4627
 
4628
+ # Unordered list. Unreachable resources. Populated when the request sets `
4629
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
4630
+ # when attempting to list all resources across all supported locations.
4631
+ # Corresponds to the JSON property `unreachable`
4632
+ # @return [Array<String>]
4633
+ attr_accessor :unreachable
4634
+
4138
4635
  def initialize(**args)
4139
4636
  update!(**args)
4140
4637
  end
@@ -4143,6 +4640,7 @@ module Google
4143
4640
  def update!(**args)
4144
4641
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4145
4642
  @operations = args[:operations] if args.key?(:operations)
4643
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
4146
4644
  end
4147
4645
  end
4148
4646
 
@@ -4944,6 +5442,11 @@ module Google
4944
5442
  class NetworkAdapterList
4945
5443
  include Google::Apis::Core::Hashable
4946
5444
 
5445
+ # Network adapter entries.
5446
+ # Corresponds to the JSON property `entries`
5447
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::NetworkAdapterDetails>]
5448
+ attr_accessor :entries
5449
+
4947
5450
  # Network adapter descriptions.
4948
5451
  # Corresponds to the JSON property `networkAdapters`
4949
5452
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::NetworkAdapterDetails>]
@@ -4955,6 +5458,7 @@ module Google
4955
5458
 
4956
5459
  # Update properties of this object
4957
5460
  def update!(**args)
5461
+ @entries = args[:entries] if args.key?(:entries)
4958
5462
  @network_adapters = args[:network_adapters] if args.key?(:network_adapters)
4959
5463
  end
4960
5464
  end
@@ -5011,6 +5515,11 @@ module Google
5011
5515
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::NetworkAddress>]
5012
5516
  attr_accessor :addresses
5013
5517
 
5518
+ # Network address entries.
5519
+ # Corresponds to the JSON property `entries`
5520
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::NetworkAddress>]
5521
+ attr_accessor :entries
5522
+
5014
5523
  def initialize(**args)
5015
5524
  update!(**args)
5016
5525
  end
@@ -5018,6 +5527,7 @@ module Google
5018
5527
  # Update properties of this object
5019
5528
  def update!(**args)
5020
5529
  @addresses = args[:addresses] if args.key?(:addresses)
5530
+ @entries = args[:entries] if args.key?(:entries)
5021
5531
  end
5022
5532
  end
5023
5533
 
@@ -6570,7 +7080,8 @@ module Google
6570
7080
  # @return [Fixnum]
6571
7081
  attr_accessor :allocated_asset_count
6572
7082
 
6573
- # Set of disk types allocated to assets.
7083
+ # @deprecated. Use storage_allocations instead. Set of disk types allocated to
7084
+ # assets.
6574
7085
  # Corresponds to the JSON property `allocatedDiskTypes`
6575
7086
  # @return [Array<String>]
6576
7087
  attr_accessor :allocated_disk_types
@@ -6796,6 +7307,25 @@ module Google
6796
7307
  end
6797
7308
  end
6798
7309
 
7310
+ # Location of a resource.
7311
+ class ResourceLocation
7312
+ include Google::Apis::Core::Hashable
7313
+
7314
+ # Optional. The name of the region.
7315
+ # Corresponds to the JSON property `region`
7316
+ # @return [String]
7317
+ attr_accessor :region
7318
+
7319
+ def initialize(**args)
7320
+ update!(**args)
7321
+ end
7322
+
7323
+ # Update properties of this object
7324
+ def update!(**args)
7325
+ @region = args[:region] if args.key?(:region)
7326
+ end
7327
+ end
7328
+
6799
7329
  # A request to run an assets export job.
6800
7330
  class RunAssetsExportJobRequest
6801
7331
  include Google::Apis::Core::Hashable
@@ -6918,6 +7448,11 @@ module Google
6918
7448
  class RunningProcessList
6919
7449
  include Google::Apis::Core::Hashable
6920
7450
 
7451
+ # Running process entries.
7452
+ # Corresponds to the JSON property `entries`
7453
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::RunningProcess>]
7454
+ attr_accessor :entries
7455
+
6921
7456
  # Running process entries.
6922
7457
  # Corresponds to the JSON property `processes`
6923
7458
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::RunningProcess>]
@@ -6929,6 +7464,7 @@ module Google
6929
7464
 
6930
7465
  # Update properties of this object
6931
7466
  def update!(**args)
7467
+ @entries = args[:entries] if args.key?(:entries)
6932
7468
  @processes = args[:processes] if args.key?(:processes)
6933
7469
  end
6934
7470
  end
@@ -6957,6 +7493,11 @@ module Google
6957
7493
  # @return [Fixnum]
6958
7494
  attr_accessor :pid
6959
7495
 
7496
+ # Service name.
7497
+ # Corresponds to the JSON property `serviceName`
7498
+ # @return [String]
7499
+ attr_accessor :service_name
7500
+
6960
7501
  # Service start mode (raw, OS-agnostic).
6961
7502
  # Corresponds to the JSON property `startMode`
6962
7503
  # @return [String]
@@ -6982,6 +7523,7 @@ module Google
6982
7523
  @exe_path = args[:exe_path] if args.key?(:exe_path)
6983
7524
  @name = args[:name] if args.key?(:name)
6984
7525
  @pid = args[:pid] if args.key?(:pid)
7526
+ @service_name = args[:service_name] if args.key?(:service_name)
6985
7527
  @start_mode = args[:start_mode] if args.key?(:start_mode)
6986
7528
  @state = args[:state] if args.key?(:state)
6987
7529
  @status = args[:status] if args.key?(:status)
@@ -6992,6 +7534,11 @@ module Google
6992
7534
  class RunningServiceList
6993
7535
  include Google::Apis::Core::Hashable
6994
7536
 
7537
+ # Running service entries.
7538
+ # Corresponds to the JSON property `entries`
7539
+ # @return [Array<Google::Apis::MigrationcenterV1alpha1::RunningService>]
7540
+ attr_accessor :entries
7541
+
6995
7542
  # Running service entries.
6996
7543
  # Corresponds to the JSON property `services`
6997
7544
  # @return [Array<Google::Apis::MigrationcenterV1alpha1::RunningService>]
@@ -7003,6 +7550,7 @@ module Google
7003
7550
 
7004
7551
  # Update properties of this object
7005
7552
  def update!(**args)
7553
+ @entries = args[:entries] if args.key?(:entries)
7006
7554
  @services = args[:services] if args.key?(:services)
7007
7555
  end
7008
7556
  end
@@ -7039,6 +7587,18 @@ module Google
7039
7587
  # @return [Google::Apis::MigrationcenterV1alpha1::DateTime]
7040
7588
  attr_accessor :netstat_time
7041
7589
 
7590
+ # Raw network scan result. This field is intended for human inspection. The
7591
+ # format of this field may be netstat output or any another raw output. The
7592
+ # exact format may change without notice and should not be relied upon.
7593
+ # Corresponds to the JSON property `rawScanResult`
7594
+ # @return [String]
7595
+ attr_accessor :raw_scan_result
7596
+
7597
+ # Time of the last network scan.
7598
+ # Corresponds to the JSON property `scanTime`
7599
+ # @return [String]
7600
+ attr_accessor :scan_time
7601
+
7042
7602
  def initialize(**args)
7043
7603
  update!(**args)
7044
7604
  end
@@ -7048,6 +7608,8 @@ module Google
7048
7608
  @connections = args[:connections] if args.key?(:connections)
7049
7609
  @netstat = args[:netstat] if args.key?(:netstat)
7050
7610
  @netstat_time = args[:netstat_time] if args.key?(:netstat_time)
7611
+ @raw_scan_result = args[:raw_scan_result] if args.key?(:raw_scan_result)
7612
+ @scan_time = args[:scan_time] if args.key?(:scan_time)
7051
7613
  end
7052
7614
  end
7053
7615
 
@@ -8246,11 +8808,26 @@ module Google
8246
8808
  # @return [String]
8247
8809
  attr_accessor :osid
8248
8810
 
8811
+ # Folder name in vCenter where asset resides.
8812
+ # Corresponds to the JSON property `vcenterFolder`
8813
+ # @return [String]
8814
+ attr_accessor :vcenter_folder
8815
+
8816
+ # vCenter URI used in collection.
8817
+ # Corresponds to the JSON property `vcenterUri`
8818
+ # @return [String]
8819
+ attr_accessor :vcenter_uri
8820
+
8249
8821
  # vCenter version.
8250
8822
  # Corresponds to the JSON property `vcenterVersion`
8251
8823
  # @return [String]
8252
8824
  attr_accessor :vcenter_version
8253
8825
 
8826
+ # vCenter VM ID.
8827
+ # Corresponds to the JSON property `vcenterVmId`
8828
+ # @return [String]
8829
+ attr_accessor :vcenter_vm_id
8830
+
8254
8831
  def initialize(**args)
8255
8832
  update!(**args)
8256
8833
  end
@@ -8260,7 +8837,10 @@ module Google
8260
8837
  @esx_hyperthreading = args[:esx_hyperthreading] if args.key?(:esx_hyperthreading)
8261
8838
  @esx_version = args[:esx_version] if args.key?(:esx_version)
8262
8839
  @osid = args[:osid] if args.key?(:osid)
8840
+ @vcenter_folder = args[:vcenter_folder] if args.key?(:vcenter_folder)
8841
+ @vcenter_uri = args[:vcenter_uri] if args.key?(:vcenter_uri)
8263
8842
  @vcenter_version = args[:vcenter_version] if args.key?(:vcenter_version)
8843
+ @vcenter_vm_id = args[:vcenter_vm_id] if args.key?(:vcenter_vm_id)
8264
8844
  end
8265
8845
  end
8266
8846