# Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier (v0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier.

Identifier for a Google Cloud Platform location.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #linked_locations

    def linked_locations() -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier::LinkedLocation>

**Returns**

- (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier::LinkedLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-LocationIdentifier-LinkedLocation)\>) --- Optional. Other linked locations.

### #linked_locations=

    def linked_locations=(value) -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier::LinkedLocation>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier::LinkedLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-LocationIdentifier-LinkedLocation)\>) --- Optional. Other linked locations.
**Returns**

- (::Array\<[::Google::Cloud::CapacityPlanner::V1beta::LocationIdentifier::LinkedLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-LocationIdentifier-LinkedLocation)\>) --- Optional. Other linked locations.

### #location_level

    def location_level() -> ::Google::Cloud::CapacityPlanner::V1beta::LocationLevel

**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::LocationLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-LocationLevel)) --- The location level such as a region.

### #location_level=

    def location_level=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::LocationLevel

**Parameter**

- **value** ([::Google::Cloud::CapacityPlanner::V1beta::LocationLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-LocationLevel)) --- The location level such as a region.
**Returns**

- ([::Google::Cloud::CapacityPlanner::V1beta::LocationLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-capacity_planner-v1beta/latest/Google-Cloud-CapacityPlanner-V1beta-LocationLevel)) --- The location level such as a region.

### #source

    def source() -> ::String

**Returns**

- (::String) --- Required. Location where resource is sourced. For Cloud Storage, the alphabetically first location is the source.

### #source=

    def source=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Location where resource is sourced. For Cloud Storage, the alphabetically first location is the source.
**Returns**

- (::String) --- Required. Location where resource is sourced. For Cloud Storage, the alphabetically first location is the source.