UNPKG

googleapis

Version:
1,657 lines 202 kB
/// <reference types="node" /> import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common'; import { Readable } from 'stream'; export declare namespace migrationcenter_v1 { export interface Options extends GlobalOptions { version: 'v1'; } interface StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth; /** * V1 error format. */ '$.xgafv'?: string; /** * OAuth access token. */ access_token?: string; /** * Data format for response. */ alt?: string; /** * JSONP */ callback?: string; /** * Selector specifying which fields to include in a partial response. */ fields?: string; /** * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** * OAuth 2.0 token for the current user. */ oauth_token?: string; /** * Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** * Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** * Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; } /** * Migration Center API * * A unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud. * * @example * ```js * const {google} = require('googleapis'); * const migrationcenter = google.migrationcenter('v1'); * ``` */ export class Migrationcenter { context: APIRequestContext; projects: Resource$Projects; constructor(options: GlobalOptions, google?: GoogleConfigurable); } /** * A request to add assets to a group. */ export interface Schema$AddAssetsToGroupRequest { /** * Optional. When this value is set to `false` and one of the given assets is already an existing member of the group, the operation fails with an `Already Exists` error. When set to `true` this situation is silently ignored by the server. Default value is `false`. */ allowExisting?: boolean | null; /** * Required. List of assets to be added. The maximum number of assets that can be added in a single request is 1000. */ assets?: Schema$AssetList; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: string | null; } /** * A request to aggregate one or more values. */ export interface Schema$AggregateAssetsValuesRequest { /** * Array of aggregations to perform. Up to 25 aggregations can be defined. */ aggregations?: Schema$Aggregation[]; /** * The aggregation will be performed on assets that match the provided filter. */ filter?: string | null; } /** * A response to a request to aggregated assets values. */ export interface Schema$AggregateAssetsValuesResponse { /** * The aggregation results. */ results?: Schema$AggregationResult[]; } /** * Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation. */ export interface Schema$Aggregation { /** * Count the number of matching objects. */ count?: Schema$AggregationCount; /** * The name of the field on which to aggregate. */ field?: string | null; /** * Creates a frequency distribution of all field values. */ frequency?: Schema$AggregationFrequency; /** * Creates a bucketed histogram of field values. */ histogram?: Schema$AggregationHistogram; /** * Sum over a numeric field. */ sum?: Schema$AggregationSum; } /** * Object count. */ export interface Schema$AggregationCount { } /** * Frequency distribution of all field values. */ export interface Schema$AggregationFrequency { } /** * Histogram of bucketed assets counts by field value. */ export interface Schema$AggregationHistogram { /** * Lower bounds of buckets. The response will contain `n+1` buckets for `n` bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds. */ lowerBounds?: number[] | null; } /** * Message describing a result of an aggregation. */ export interface Schema$AggregationResult { count?: Schema$AggregationResultCount; field?: string | null; frequency?: Schema$AggregationResultFrequency; histogram?: Schema$AggregationResultHistogram; sum?: Schema$AggregationResultSum; } /** * The result of a count aggregation. */ export interface Schema$AggregationResultCount { value?: string | null; } /** * The result of a frequency distribution aggregation. */ export interface Schema$AggregationResultFrequency { values?: { [key: string]: string; } | null; } /** * The result of a bucketed histogram aggregation. */ export interface Schema$AggregationResultHistogram { /** * Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity. */ buckets?: Schema$AggregationResultHistogramBucket[]; } /** * A histogram bucket with a lower and upper bound, and a count of items with a field value between those bounds. The lower bound is inclusive and the upper bound is exclusive. Lower bound may be -infinity and upper bound may be infinity. */ export interface Schema$AggregationResultHistogramBucket { /** * Count of items in the bucket. */ count?: string | null; /** * Lower bound - inclusive. */ lowerBound?: number | null; /** * Upper bound - exclusive. */ upperBound?: number | null; } /** * The result of a sum aggregation. */ export interface Schema$AggregationResultSum { value?: number | null; } /** * Sum of field values. */ export interface Schema$AggregationSum { } /** * An asset represents a resource in your environment. Asset types include virtual machines and databases. */ export interface Schema$Asset { /** * Output only. The list of groups that the asset is assigned to. */ assignedGroups?: string[] | null; /** * Generic asset attributes. */ attributes?: { [key: string]: string; } | null; /** * Output only. The timestamp when the asset was created. */ createTime?: string | null; /** * Output only. The list of insights associated with the asset. */ insightList?: Schema$InsightList; /** * Labels as key value pairs. */ labels?: { [key: string]: string; } | null; /** * Output only. Asset information specific for virtual and physical machines. */ machineDetails?: Schema$MachineDetails; /** * Output only. The full name of the asset. */ name?: string | null; /** * Output only. Performance data for the asset. */ performanceData?: Schema$AssetPerformanceData; /** * Output only. The list of sources contributing to the asset. */ sources?: string[] | null; /** * Output only. The timestamp when the asset was last updated. */ updateTime?: string | null; } /** * Contains data reported from an inventory source on an asset. */ export interface Schema$AssetFrame { /** * Generic asset attributes. */ attributes?: { [key: string]: string; } | null; /** * Labels as key value pairs. */ labels?: { [key: string]: string; } | null; /** * Asset information specific for virtual machines. */ machineDetails?: Schema$MachineDetails; /** * Asset performance data samples. Samples that are from more than 40 days ago or after tomorrow are ignored. */ performanceSamples?: Schema$PerformanceSample[]; /** * The time the data was reported. */ reportTime?: string | null; /** * Optional. Trace token is optionally provided to assist with debugging and traceability. */ traceToken?: string | null; } /** * Lists the asset IDs of all assets. */ export interface Schema$AssetList { /** * Required. A list of asset IDs */ assetIds?: string[] | null; } /** * Performance data for an asset. */ export interface Schema$AssetPerformanceData { /** * Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent. */ dailyResourceUsageAggregations?: Schema$DailyResourceUsageAggregation[]; } /** * AWS EC2 specific details. */ export interface Schema$AwsEc2PlatformDetails { /** * The location of the machine in the AWS format. */ location?: string | null; /** * AWS platform's machine type label. */ machineTypeLabel?: string | null; } /** * Azure VM specific details. */ export interface Schema$AzureVmPlatformDetails { /** * The location of the machine in the Azure format. */ location?: string | null; /** * Azure platform's machine type label. */ machineTypeLabel?: string | null; /** * Azure platform's provisioning state. */ provisioningState?: string | null; } /** * A request to delete a list of asset. */ export interface Schema$BatchDeleteAssetsRequest { /** * Optional. When this value is set to `true` the request is a no-op for non-existing assets. See https://google.aip.dev/135#delete-if-existing for additional details. Default value is `false`. */ allowMissing?: boolean | null; /** * Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. Format: projects/{project\}/locations/{location\}/assets/{name\}. */ names?: string[] | null; } /** * A request to update a list of assets. */ export interface Schema$BatchUpdateAssetsRequest { /** * Required. The request message specifying the resources to update. A maximum of 1000 assets can be modified in a batch. */ requests?: Schema$UpdateAssetRequest[]; } /** * Response for updating a list of assets. */ export interface Schema$BatchUpdateAssetsResponse { /** * Update asset content. The content only includes values after field mask being applied. */ assets?: Schema$Asset[]; } /** * Details about the BIOS. */ export interface Schema$BiosDetails { /** * BIOS name. This fields is deprecated. Please use the `id` field instead. */ biosName?: string | null; /** * BIOS ID. */ id?: string | null; /** * BIOS manufacturer. */ manufacturer?: string | null; /** * BIOS release date. */ releaseDate?: Schema$Date; /** * SMBIOS UUID. */ smbiosUuid?: string | null; /** * BIOS version. */ version?: string | null; } /** * The request message for Operations.CancelOperation. */ export interface Schema$CancelOperationRequest { } /** * Compute engine migration target. */ export interface Schema$ComputeEngineMigrationTarget { /** * Description of the suggested shape for the migration target. */ shape?: Schema$ComputeEngineShapeDescriptor; } /** * The user preferences relating to Compute Engine target platform. */ export interface Schema$ComputeEnginePreferences { /** * License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. */ licenseType?: string | null; /** * Preferences concerning the machine types to consider on Compute Engine. */ machinePreferences?: Schema$MachinePreferences; } /** * Compute Engine target shape descriptor. */ export interface Schema$ComputeEngineShapeDescriptor { /** * Number of logical cores. */ logicalCoreCount?: number | null; /** * Compute Engine machine type. */ machineType?: string | null; /** * Memory in mebibytes. */ memoryMb?: number | null; /** * Number of physical cores. */ physicalCoreCount?: number | null; /** * Compute Engine machine series. */ series?: string | null; /** * Compute Engine storage. Never empty. */ storage?: Schema$ComputeStorageDescriptor[]; } /** * Compute Engine storage option descriptor. */ export interface Schema$ComputeStorageDescriptor { /** * Disk size in GiB. */ sizeGb?: number | null; /** * Disk type backing the storage. */ type?: string | null; } /** * CPU usage sample. */ export interface Schema$CpuUsageSample { /** * Percentage of total CPU capacity utilized. Must be in the interval [0, 100]. On most systems can be calculated using 100 - idle percentage. */ utilizedPercentage?: number | null; } /** * Usage data aggregation for a single day. */ export interface Schema$DailyResourceUsageAggregation { /** * CPU usage. */ cpu?: Schema$DailyResourceUsageAggregationCPU; /** * Aggregation date. Day boundaries are at midnight UTC. */ date?: Schema$Date; /** * Disk usage. */ disk?: Schema$DailyResourceUsageAggregationDisk; /** * Memory usage. */ memory?: Schema$DailyResourceUsageAggregationMemory; /** * Network usage. */ network?: Schema$DailyResourceUsageAggregationNetwork; } /** * Statistical aggregation of CPU usage. */ export interface Schema$DailyResourceUsageAggregationCPU { /** * CPU utilization percentage. */ utilizationPercentage?: Schema$DailyResourceUsageAggregationStats; } /** * Statistical aggregation of disk usage. */ export interface Schema$DailyResourceUsageAggregationDisk { /** * Disk I/O operations per second. */ iops?: Schema$DailyResourceUsageAggregationStats; } /** * Statistical aggregation of memory usage. */ export interface Schema$DailyResourceUsageAggregationMemory { /** * Memory utilization percentage. */ utilizationPercentage?: Schema$DailyResourceUsageAggregationStats; } /** * Statistical aggregation of network usage. */ export interface Schema$DailyResourceUsageAggregationNetwork { /** * Network egress in B/s. */ egressBps?: Schema$DailyResourceUsageAggregationStats; /** * Network ingress in B/s. */ ingressBps?: Schema$DailyResourceUsageAggregationStats; } /** * Statistical aggregation of samples for a single resource usage. */ export interface Schema$DailyResourceUsageAggregationStats { /** * Average usage value. */ average?: number | null; /** * Median usage value. */ median?: number | null; /** * 95th percentile usage value. */ ninteyFifthPercentile?: number | null; /** * Peak usage value. */ peak?: number | null; } /** * Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp */ export interface Schema$Date { /** * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */ day?: number | null; /** * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */ month?: number | null; /** * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */ year?: number | null; } /** * Single disk entry. */ export interface Schema$DiskEntry { /** * Disk capacity. */ capacityBytes?: string | null; /** * Disk label. */ diskLabel?: string | null; /** * Disk label type (e.g. BIOS/GPT) */ diskLabelType?: string | null; /** * Disk free space. */ freeBytes?: string | null; /** * Disk hardware address (e.g. 0:1 for SCSI). */ hwAddress?: string | null; /** * Disks interface type. */ interfaceType?: string | null; /** * Partition layout. */ partitions?: Schema$DiskPartitionList; /** * VMware disk details. */ vmware?: Schema$VmwareDiskConfig; } /** * VM disks. */ export interface Schema$DiskEntryList { /** * Disk entries. */ entries?: Schema$DiskEntry[]; } /** * Disk Partition details. */ export interface Schema$DiskPartition { /** * Partition capacity. */ capacityBytes?: string | null; /** * Partition file system. */ fileSystem?: string | null; /** * Partition free space. */ freeBytes?: string | null; /** * Mount pount (Linux/Windows) or drive letter (Windows). */ mountPoint?: string | null; /** * Sub-partitions. */ subPartitions?: Schema$DiskPartitionList; /** * Partition type. */ type?: string | null; /** * Partition UUID. */ uuid?: string | null; } /** * Disk partition list. */ export interface Schema$DiskPartitionList { /** * Partition entries. */ entries?: Schema$DiskPartition[]; } /** * Disk usage sample. Values are across all disks. */ export interface Schema$DiskUsageSample { /** * Average IOPS sampled over a short window. Must be non-negative. */ averageIops?: number | null; } /** * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ export interface Schema$Empty { } /** * Message representing a frame which failed to be processed due to an error. */ export interface Schema$ErrorFrame { /** * Output only. Frame ingestion time. */ ingestionTime?: string | null; /** * Output only. The identifier of the ErrorFrame. */ name?: string | null; /** * Output only. The frame that was originally reported. */ originalFrame?: Schema$AssetFrame; /** * Output only. All the violations that were detected for the frame. */ violations?: Schema$FrameViolationEntry[]; } /** * A resource that reports result of the import job execution. */ export interface Schema$ExecutionReport { /** * Validation errors encountered during the execution of the import job. */ executionErrors?: Schema$ValidationReport; /** * Total number of asset frames reported for the import job. */ framesReported?: number | null; /** * Total number of rows in the import job. */ totalRowsCount?: number | null; } /** * A resource that aggregates the validation errors found in an import job file. */ export interface Schema$FileValidationReport { /** * List of file level errors. */ fileErrors?: Schema$ImportError[]; /** * The name of the file. */ fileName?: string | null; /** * Flag indicating that processing was aborted due to maximum number of errors. */ partialReport?: boolean | null; /** * Partial list of rows that encountered validation error. */ rowErrors?: Schema$ImportRowError[]; } /** * Describes the fit level of an asset for migration to a specific target. */ export interface Schema$FitDescriptor { /** * Fit level. */ fitLevel?: string | null; } /** * Collection of frame data. */ export interface Schema$Frames { /** * A repeated field of asset data. */ framesData?: Schema$AssetFrame[]; } /** * A resource that contains a single violation of a reported `AssetFrame` resource. */ export interface Schema$FrameViolationEntry { /** * The field of the original frame where the violation occurred. */ field?: string | null; /** * A message describing the violation. */ violation?: string | null; } /** * Single fstab entry. */ export interface Schema$FstabEntry { /** * The mount point for the filesystem. */ file?: string | null; /** * Used by dump to determine which filesystems need to be dumped. */ freq?: number | null; /** * Mount options associated with the filesystem. */ mntops?: string | null; /** * Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. */ passno?: number | null; /** * The block special device or remote filesystem to be mounted. */ spec?: string | null; /** * The type of the filesystem. */ vfstype?: string | null; } /** * Fstab content. */ export interface Schema$FstabEntryList { /** * Fstab entries. */ entries?: Schema$FstabEntry[]; } /** * Generic platform details. */ export interface Schema$GenericPlatformDetails { /** * Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field. */ location?: string | null; } /** * A resource that represents an asset group. The purpose of an asset group is to bundle a set of assets that have something in common, while allowing users to add annotations to the group. An asset can belong to multiple groups. */ export interface Schema$Group { /** * Output only. The timestamp when the group was created. */ createTime?: string | null; /** * The description of the resource. */ description?: string | null; /** * User-friendly display name. */ displayName?: string | null; /** * Labels as key value pairs. */ labels?: { [key: string]: string; } | null; /** * Output only. The name of the group. */ name?: string | null; /** * Output only. The timestamp when the group was last updated. */ updateTime?: string | null; } /** * Guest OS config information. */ export interface Schema$GuestConfigDetails { /** * Mount list (Linux fstab). */ fstab?: Schema$FstabEntryList; /** * Hosts file (/etc/hosts). */ hosts?: Schema$HostsEntryList; /** * OS issue (typically /etc/issue in Linux). */ issue?: string | null; /** * NFS exports. */ nfsExports?: Schema$NfsExportList; /** * Security-Enhanced Linux (SELinux) mode. */ selinuxMode?: string | null; } /** * Guest installed application information. */ export interface Schema$GuestInstalledApplication { /** * Installed application name. */ applicationName?: string | null; /** * The time when the application was installed. */ installTime?: string | null; /** * Source path. */ path?: string | null; /** * Installed application vendor. */ vendor?: string | null; /** * Installed application version. */ version?: string | null; } /** * Guest installed application list. */ export interface Schema$GuestInstalledApplicationList { /** * Application entries. */ entries?: Schema$GuestInstalledApplication[]; } /** * Information from Guest-level collections. */ export interface Schema$GuestOsDetails { /** * OS and app configuration. */ config?: Schema$GuestConfigDetails; /** * What family the OS belong to, if known. */ family?: string | null; /** * The name of the operating system. */ osName?: string | null; /** * Runtime information. */ runtime?: Schema$GuestRuntimeDetails; /** * The version of the operating system. */ version?: string | null; } /** * Guest OS runtime information. */ export interface Schema$GuestRuntimeDetails { /** * Domain, e.g. c.stratozone-development.internal. */ domain?: string | null; /** * Installed applications information. */ installedApps?: Schema$GuestInstalledApplicationList; /** * Last time the OS was booted. */ lastBootTime?: string | null; /** * Machine name. */ machineName?: string | null; /** * Runtime network information (connections, ports). */ network?: Schema$RuntimeNetworkInfo; /** * Open files information. */ openFileList?: Schema$OpenFileList; /** * Running processes. */ processes?: Schema$RunningProcessList; /** * Running background services. */ services?: Schema$RunningServiceList; } /** * Single /etc/hosts entry. */ export interface Schema$HostsEntry { /** * List of host names / aliases. */ hostNames?: string[] | null; /** * IP (raw, IPv4/6 agnostic). */ ip?: string | null; } /** * Hosts content. */ export interface Schema$HostsEntryList { /** * Hosts entries. */ entries?: Schema$HostsEntry[]; } /** * A resource that represents a payload file in an import job. */ export interface Schema$ImportDataFile { /** * Output only. The timestamp when the file was created. */ createTime?: string | null; /** * User-friendly display name. Maximum length is 63 characters. */ displayName?: string | null; /** * Required. The payload format. */ format?: string | null; /** * Output only. The name of the file. */ name?: string | null; /** * Output only. The state of the import data file. */ state?: string | null; /** * Information about a file that is uploaded to a storage service. */ uploadFileInfo?: Schema$UploadFileInfo; } /** * A resource that reports the errors encountered while processing an import job. */ export interface Schema$ImportError { /** * The error information. */ errorDetails?: string | null; /** * The severity of the error. */ severity?: string | null; } /** * A resource that represents the background job that imports asset frames. */ export interface Schema$ImportJob { /** * Required. Reference to a source. */ assetSource?: string | null; /** * Output only. The timestamp when the import job was completed. */ completeTime?: string | null; /** * Output only. The timestamp when the import job was created. */ createTime?: string | null; /** * User-friendly display name. Maximum length is 63 characters. */ displayName?: string | null; /** * Output only. The report with the results of running the import job. */ executionReport?: Schema$ExecutionReport; /** * Labels as key value pairs. */ labels?: { [key: string]: string; } | null; /** * Output only. The full name of the import job. */ name?: string | null; /** * Output only. The state of the import job. */ state?: string | null; /** * Output only. The timestamp when the import job was last updated. */ updateTime?: string | null; /** * Output only. The report with the validation results of the import job. */ validationReport?: Schema$ValidationReport; } /** * A resource that reports the import job errors at row level. */ export interface Schema$ImportRowError { /** * The list of errors detected in the row. */ errors?: Schema$ImportError[]; /** * The row number where the error was detected. */ rowNumber?: number | null; /** * The name of the VM in the row. */ vmName?: string | null; /** * The VM UUID. */ vmUuid?: string | null; } /** * An insight about an asset. */ export interface Schema$Insight { /** * Output only. An insight about potential migrations for an asset. */ migrationInsight?: Schema$MigrationInsight; } /** * Message containing insights list. */ export interface Schema$InsightList { /** * Output only. Insights of the list. */ insights?: Schema$Insight[]; /** * Output only. Update timestamp. */ updateTime?: string | null; } /** * Response message for listing assets. */ export interface Schema$ListAssetsResponse { /** * A list of assets. */ assets?: Schema$Asset[]; /** * A token identifying a page of results the server should return. */ nextPageToken?: string | null; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * A response for listing error frames. */ export interface Schema$ListErrorFramesResponse { /** * The list of error frames. */ errorFrames?: Schema$ErrorFrame[]; /** * A token identifying a page of results the server should return. */ nextPageToken?: string | null; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * A response for listing groups. */ export interface Schema$ListGroupsResponse { /** * The list of Group */ groups?: Schema$Group[]; /** * A token identifying a page of results the server should return. */ nextPageToken?: string | null; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * Response for listing payload files of an import job. */ export interface Schema$ListImportDataFilesResponse { /** * The list of import data files. */ importDataFiles?: Schema$ImportDataFile[]; /** * A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */ nextPageToken?: string | null; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * A response for listing import jobs. */ export interface Schema$ListImportJobsResponse { /** * The list of import jobs. */ importJobs?: Schema$ImportJob[]; /** * A token identifying a page of results the server should return. */ nextPageToken?: string | null; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * The response message for Locations.ListLocations. */ export interface Schema$ListLocationsResponse { /** * A list of locations that matches the specified filter in the request. */ locations?: Schema$Location[]; /** * The standard List next-page token. */ nextPageToken?: string | null; } /** * The response message for Operations.ListOperations. */ export interface Schema$ListOperationsResponse { /** * The standard List next-page token. */ nextPageToken?: string | null; /** * A list of operations that matches the specified filter in the request. */ operations?: Schema$Operation[]; } /** * Response message for listing preference sets. */ export interface Schema$ListPreferenceSetsResponse { /** * A token identifying a page of results the server should return. */ nextPageToken?: string | null; /** * The list of PreferenceSets */ preferenceSets?: Schema$PreferenceSet[]; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * Response message for listing report configs. */ export interface Schema$ListReportConfigsResponse { /** * A token identifying a page of results the server should return. */ nextPageToken?: string | null; /** * A list of report configs. */ reportConfigs?: Schema$ReportConfig[]; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * Response message for listing Reports. */ export interface Schema$ListReportsResponse { /** * A token identifying a page of results the server should return. */ nextPageToken?: string | null; /** * The list of Reports. */ reports?: Schema$Report[]; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * Response message for listing sources. */ export interface Schema$ListSourcesResponse { /** * A token identifying a page of results the server should return. */ nextPageToken?: string | null; /** * The list of sources. */ sources?: Schema$Source[]; /** * Locations that could not be reached. */ unreachable?: string[] | null; } /** * A resource that represents a Google Cloud location. */ export interface Schema$Location { /** * The friendly name for this location, typically a nearby city name. For example, "Tokyo". */ displayName?: string | null; /** * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} */ labels?: { [key: string]: string; } | null; /** * The canonical id for this location. For example: `"us-east1"`. */ locationId?: string | null; /** * Service-specific metadata. For example the available capacity at the given location. */ metadata?: { [key: string]: any; } | null; /** * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */ name?: string | null; } /** * Details of the machine architecture. */ export interface Schema$MachineArchitectureDetails { /** * BIOS Details. */ bios?: Schema$BiosDetails; /** * CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc. */ cpuArchitecture?: string | null; /** * CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc. */ cpuName?: string | null; /** * Number of processor sockets allocated to the machine. */ cpuSocketCount?: number | null; /** * Number of CPU threads allocated to the machine. */ cpuThreadCount?: number | null; /** * Firmware type. */ firmwareType?: string | null; /** * CPU hyper-threading support. */ hyperthreading?: string | null; /** * Hardware vendor. */ vendor?: string | null; } /** * Details of a machine. */ export interface Schema$MachineDetails { /** * Architecture details (vendor, CPU architecture). */ architecture?: Schema$MachineArchitectureDetails; /** * Number of CPU cores in the machine. Must be non-negative. */ coreCount?: number | null; /** * Machine creation time. */ createTime?: string | null; /** * Disk details. */ disks?: Schema$MachineDiskDetails; /** * Guest OS information. */ guestOs?: Schema$GuestOsDetails; /** * Machine name. */ machineName?: string | null; /** * The amount of memory in the machine. Must be non-negative. */ memoryMb?: number | null; /** * Network details. */ network?: Schema$MachineNetworkDetails; /** * Platform specific information. */ platform?: Schema$PlatformDetails; /** * Power state of the machine. */ powerState?: string | null; /** * Machine unique identifier. */ uuid?: string | null; } /** * Details of machine disks. */ export interface Schema$MachineDiskDetails { /** * List of disks. */ disks?: Schema$DiskEntryList; /** * Disk total Capacity. */ totalCapacityBytes?: string | null; /** * Total disk free space. */ totalFreeBytes?: string | null; } /** * Details of network adapters and settings. */ export interface Schema$MachineNetworkDetails { /** * List of network adapters. */ adapters?: Schema$NetworkAdapterList; /** * The primary IP address of the machine. */ primaryIpAddress?: string | null; /** * MAC address of the machine. This property is used to uniqly identify the machine. */ primaryMacAddress?: string | null; /** * The public IP address of the machine. */ publicIpAddress?: string | null; } /** * The type of machines to consider when calculating virtual machine migration insights and recommendations. Not all machine types are available in all zones and regions. */ export interface Schema$MachinePreferences { /** * Compute Engine machine series to consider for insights and recommendations. If empty, no restriction is applied on the machine series. */ allowedMachineSeries?: Schema$MachineSeries[]; } /** * A Compute Engine machine series. */ export interface Schema$MachineSeries { /** * Code to identify a Compute Engine machine series. Consult https://cloud.google.com/compute/docs/machine-resource#machine_type_comparison for more details on the available series. */ code?: string | null; } /** * Memory usage sample. */ export interface Schema$MemoryUsageSample { /** * Percentage of system memory utilized. Must be in the interval [0, 100]. */ utilizedPercentage?: number | null; } /** * An insight about potential migrations for an asset. */ export interface Schema$MigrationInsight { /** * Output only. A Google Compute Engine target. */ computeEngineTarget?: Schema$ComputeEngineMigrationTarget; /** * Output only. Description of how well the asset this insight is associated with fits the proposed migration. */ fit?: Schema$FitDescriptor; } /** * Represents an amount of money with its currency type. */ export interface Schema$Money { /** * The three-letter currency code defined in ISO 4217. */ currencyCode?: string | null; /** * Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. */ nanos?: number | null; /** * The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */ units?: string | null; } /** * Details of network adapter. */ export interface Schema$NetworkAdapterDetails { /** * Network adapter type (e.g. VMXNET3). */ adapterType?: string | null; /** * NetworkAddressList */ addresses?: Schema$NetworkAddressList; /** * MAC address. */ macAddress?: string | null; } /** * List of network adapters. */ export interface Schema$NetworkAdapterList { /** * Network adapter entries. */ entries?: Schema$NetworkAdapterDetails[]; } /** * Details of network address. */ export interface Schema$NetworkAddress { /** * Whether DHCP is used to assign addresses. */ assignment?: string | null; /** * Broadcast address. */ bcast?: string | null; /** * Fully qualified domain name. */ fqdn?: string | null; /** * Assigned or configured IP Address. */ ipAddress?: string | null; /** * Subnet mask. */ subnetMask?: string | null; } /** * List of allocated/assigned network addresses. */ export interface Schema$NetworkAddressList { /** * Network address entries. */ entries?: Schema$NetworkAddress[]; } export interface Schema$NetworkConnection { /** * Local IP address. */ localIpAddress?: string | null; /** * Local port. */ localPort?: number | null; /** * Process ID. */ pid?: string | null; /** * Process or service name. */ processName?: string | null; /** * Connection protocol (e.g. TCP/UDP). */ protocol?: string | null; /** * Remote IP address. */ remoteIpAddress?: string | null; /** * Remote port. */ remotePort?: number | null; /** * Network connection state. */ state?: string | null; } /** * Network connection list. */ export interface Schema$NetworkConnectionList { /** * Network connection entries. */ entries?: Schema$NetworkConnection[]; } /** * Network usage sample. Values are across all network interfaces. */ export interface Schema$NetworkUsageSample { /** * Average network egress in B/s sampled over a short window. Must be non-negative. */ averageEgressBps?: number | null; /** * Average network ingress in B/s sampled over a short window. Must be non-negative. */ averageIngressBps?: number | null; } /** * NFS export. */ export interface Schema$NfsExport { /** * The directory being exported. */ exportDirectory?: string | null; /** * The hosts or networks to which the export is being shared. */ hosts?: string[] | null; } /** * NFS exports. */ export interface Schema$NfsExportList { /** * N