Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::Source (v2.4.0)

Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::Source.

Source message describes a specific vm migration Source resource. It contains the source environment information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#aws

def aws() -> ::Google::Cloud::VMMigration::V1::AwsSourceDetails
Returns
  • (::Google::Cloud::VMMigration::V1::AwsSourceDetails) — AWS type source details.

    Note: The following fields are mutually exclusive: aws, vmware, azure. If a field in that set is populated, all other fields in the set will automatically be cleared.

#aws=

def aws=(value) -> ::Google::Cloud::VMMigration::V1::AwsSourceDetails
Parameter
  • value (::Google::Cloud::VMMigration::V1::AwsSourceDetails) — AWS type source details.

    Note: The following fields are mutually exclusive: aws, vmware, azure. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::VMMigration::V1::AwsSourceDetails) — AWS type source details.

    Note: The following fields are mutually exclusive: aws, vmware, azure. If a field in that set is populated, all other fields in the set will automatically be cleared.

#azure

def azure() -> ::Google::Cloud::VMMigration::V1::AzureSourceDetails
Returns

#azure=

def azure=(value) -> ::Google::Cloud::VMMigration::V1::AzureSourceDetails
Parameter
  • value (::Google::Cloud::VMMigration::V1::AzureSourceDetails) — Azure type source details.

    Note: The following fields are mutually exclusive: azure, vmware, aws. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — User-provided description of the source.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — User-provided description of the source.
Returns
  • (::String) — User-provided description of the source.

#encryption

def encryption() -> ::Google::Cloud::VMMigration::V1::Encryption
Returns

#encryption=

def encryption=(value) -> ::Google::Cloud::VMMigration::V1::Encryption
Parameter
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The labels of the source.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — The labels of the source.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The labels of the source.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The Source name.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#vmware

def vmware() -> ::Google::Cloud::VMMigration::V1::VmwareSourceDetails
Returns

#vmware=

def vmware=(value) -> ::Google::Cloud::VMMigration::V1::VmwareSourceDetails
Parameter
Returns