attributes = $attributes; } /** * @return string[] */ public function getAttributes() { return $this->attributes; } /** * 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. * * Accepted values: SOURCE_TYPE_UNKNOWN, SOURCE_TYPE_UPLOAD, * SOURCE_TYPE_GUEST_OS_SCAN, SOURCE_TYPE_INVENTORY_SCAN, SOURCE_TYPE_CUSTOM, * SOURCE_TYPE_DISCOVERY_CLIENT * * @param self::COLLECTION_TYPE_* $collectionType */ public function setCollectionType($collectionType) { $this->collectionType = $collectionType; } /** * @return self::COLLECTION_TYPE_* */ public function getCollectionType() { return $this->collectionType; } /** * Asset information specific for database deployments. * * @param DatabaseDeploymentDetails $databaseDeploymentDetails */ public function setDatabaseDeploymentDetails(DatabaseDeploymentDetails $databaseDeploymentDetails) { $this->databaseDeploymentDetails = $databaseDeploymentDetails; } /** * @return DatabaseDeploymentDetails */ public function getDatabaseDeploymentDetails() { return $this->databaseDeploymentDetails; } /** * Asset information specific for logical databases. * * @param DatabaseDetails $databaseDetails */ public function setDatabaseDetails(DatabaseDetails $databaseDetails) { $this->databaseDetails = $databaseDetails; } /** * @return DatabaseDetails */ public function getDatabaseDetails() { return $this->databaseDetails; } /** * Labels as key value pairs. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * Asset information specific for virtual machines. * * @param MachineDetails $machineDetails */ public function setMachineDetails(MachineDetails $machineDetails) { $this->machineDetails = $machineDetails; } /** * @return MachineDetails */ public function getMachineDetails() { return $this->machineDetails; } /** * Asset performance data samples. Samples that are from more than 40 days ago * or after tomorrow are ignored. * * @param PerformanceSample[] $performanceSamples */ public function setPerformanceSamples($performanceSamples) { $this->performanceSamples = $performanceSamples; } /** * @return PerformanceSample[] */ public function getPerformanceSamples() { return $this->performanceSamples; } /** * The time the data was reported. * * @param string $reportTime */ public function setReportTime($reportTime) { $this->reportTime = $reportTime; } /** * @return string */ public function getReportTime() { return $this->reportTime; } /** * Optional. Trace token is optionally provided to assist with debugging and * traceability. * * @param string $traceToken */ public function setTraceToken($traceToken) { $this->traceToken = $traceToken; } /** * @return string */ public function getTraceToken() { return $this->traceToken; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AssetFrame::class, 'Google_Service_MigrationCenterAPI_AssetFrame');