Google Cloud Dataplex V1 Client - Class ResourceSpec (0.5.1)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class ResourceSpec.

Settings for resources attached as assets within a zone.

Generated from protobuf message google.cloud.dataplex.v1.Zone.ResourceSpec

Namespace

Google \ Cloud \ Dataplex \ V1 \ Zone

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ location_type int

Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.

getLocationType

Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.

Returns
TypeDescription
int

setLocationType

Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.

Parameter
NameDescription
var int
Returns
TypeDescription
$this