Google Cloud Capacity Planner V1beta Client - Class LinkedLocation (0.1.0)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class LinkedLocation.

Generated from protobuf message google.cloud.capacityplanner.v1beta.LocationIdentifier.LinkedLocation

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta \ LocationIdentifier

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ location_level int

The location level such as a region.

↳ location string

Required. The linked cloud location.

↳ label string

getLocationLevel

The location level such as a region.

Returns
Type Description
int Enum of type LocationLevel.

setLocationLevel

The location level such as a region.

Parameter
Name Description
var int

Enum of type LocationLevel.

Returns
Type Description
$this

getLocation

Required. The linked cloud location.

Returns
Type Description
string

setLocation

Required. The linked cloud location.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabel

Generated from protobuf field string label = 3;

Returns
Type Description
string

setLabel

Generated from protobuf field string label = 3;

Parameter
Name Description
var string
Returns
Type Description
$this