Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicy.
Specification of locations to create resources in.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#locations
def locations() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicyLocation}
Returns
- (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicyLocation}) — Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed.
#locations=
def locations=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicyLocation}
Parameter
- value (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicyLocation}) — Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed.
Returns
- (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::FutureResourcesSpecLocationPolicyLocation}) — Preferences for specified locations. Keys of the map are locations - zones, in format of 'zones/'. Values are preferences for the zones. If a zone is not specified in this map, it is ALLOWed.