Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::RegionPreferences (v0.1.0)

Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::RegionPreferences.

The user preferences relating to target regions.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#preferred_regions

def preferred_regions() -> ::Array<::String>
Returns
  • (::Array<::String>) — A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.

#preferred_regions=

def preferred_regions=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.
Returns
  • (::Array<::String>) — A list of preferred regions, ordered by the most preferred region first. Set only valid Google Cloud region names. See https://cloud.google.com/compute/docs/regions-zones for available regions.