public interface CapacityHistoryRequestLocationPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getLocation()
public abstract String getLocation()The region or zone to get capacity history for.
It can be a partial or full URL. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/zones/zone
- projects/project/zones/zone
- zones/zone
This field is optional.
optional string location = 290430901;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public abstract ByteString getLocationBytes()The region or zone to get capacity history for.
It can be a partial or full URL. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/zones/zone
- projects/project/zones/zone
- zones/zone
This field is optional.
optional string location = 290430901;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
hasLocation()
public abstract boolean hasLocation()The region or zone to get capacity history for.
It can be a partial or full URL. For example, the following are valid values:
- https://www.googleapis.com/compute/v1/projects/project/zones/zone
- projects/project/zones/zone
- zones/zone
This field is optional.
optional string location = 290430901;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the location field is set. |