public interface FutureResourcesSpecLocationPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLocations(String key)
public abstract boolean containsLocations(String key)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.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getLocations() (deprecated)
public abstract Map<String,FutureResourcesSpecLocationPolicyLocation> getLocations()Use #getLocationsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,FutureResourcesSpecLocationPolicyLocation> |
|
getLocationsCount()
public abstract int getLocationsCount()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.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLocationsMap()
public abstract Map<String,FutureResourcesSpecLocationPolicyLocation> getLocationsMap()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.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454;
| Returns | |
|---|---|
| Type | Description |
Map<String,FutureResourcesSpecLocationPolicyLocation> |
|
getLocationsOrDefault(String key, FutureResourcesSpecLocationPolicyLocation defaultValue)
public abstract FutureResourcesSpecLocationPolicyLocation getLocationsOrDefault(String key, FutureResourcesSpecLocationPolicyLocation defaultValue)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.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
FutureResourcesSpecLocationPolicyLocation |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpecLocationPolicyLocation |
|
getLocationsOrThrow(String key)
public abstract FutureResourcesSpecLocationPolicyLocation getLocationsOrThrow(String key)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.
map<string, .google.cloud.compute.v1.FutureResourcesSpecLocationPolicyLocation> locations = 413423454;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
FutureResourcesSpecLocationPolicyLocation |
|