Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::CapacityHistoryRequestLocationPolicy (v4.0.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityHistoryRequestLocationPolicy.

Location policy for this request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#location

def location() -> ::String
Returns
  • (::String) — 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.

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.