Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::TargetProject.
TargetProject message represents a target Compute Engine project for a
migration or a clone.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#create_time
defcreate_time()->::Google::Protobuf::Timestamp
Returns
(::Google::Protobuf::Timestamp) — Output only. The time this target project resource was created (not related
to when the Compute Engine project it points to was created).
#description
defdescription()->::String
Returns
(::String) — The target project's description.
#description=
defdescription=(value)->::String
Parameter
value (::String) — The target project's description.
Returns
(::String) — The target project's description.
#name
defname()->::String
Returns
(::String) — Output only. The name of the target project.
#project
defproject()->::String
Returns
(::String) — The target project ID (number) or project name.
#project=
defproject=(value)->::String
Parameter
value (::String) — The target project ID (number) or project name.
Returns
(::String) — The target project ID (number) or project name.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::TargetProject (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-TargetProject)\n- [2.1.1](/ruby/docs/reference/google-cloud-vm_migration-v1/2.1.1/Google-Cloud-VMMigration-V1-TargetProject)\n- [2.0.0](/ruby/docs/reference/google-cloud-vm_migration-v1/2.0.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [1.3.0](/ruby/docs/reference/google-cloud-vm_migration-v1/1.3.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [1.2.0](/ruby/docs/reference/google-cloud-vm_migration-v1/1.2.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [1.1.0](/ruby/docs/reference/google-cloud-vm_migration-v1/1.1.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [1.0.2](/ruby/docs/reference/google-cloud-vm_migration-v1/1.0.2/Google-Cloud-VMMigration-V1-TargetProject)\n- [0.9.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.9.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [0.8.2](/ruby/docs/reference/google-cloud-vm_migration-v1/0.8.2/Google-Cloud-VMMigration-V1-TargetProject)\n- [0.7.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.7.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [0.6.1](/ruby/docs/reference/google-cloud-vm_migration-v1/0.6.1/Google-Cloud-VMMigration-V1-TargetProject)\n- [0.5.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.5.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [0.4.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.4.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [0.3.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.3.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [0.2.0](/ruby/docs/reference/google-cloud-vm_migration-v1/0.2.0/Google-Cloud-VMMigration-V1-TargetProject)\n- [0.1.1](/ruby/docs/reference/google-cloud-vm_migration-v1/0.1.1/Google-Cloud-VMMigration-V1-TargetProject) \nReference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::TargetProject.\n\nTargetProject message represents a target Compute Engine project for a\nmigration or a clone. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).\n\n### #description\n\n def description() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The target project's description.\n\n### #description=\n\n def description=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The target project's description. \n**Returns**\n\n- (::String) --- The target project's description.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The name of the target project.\n\n### #project\n\n def project() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The target project ID (number) or project name.\n\n### #project=\n\n def project=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The target project ID (number) or project name. \n**Returns**\n\n- (::String) --- The target project ID (number) or project name.\n\n### #update_time\n\n def update_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The last time the target project resource was updated."]]