Google Cloud Dataplex V1 Client - Class ResourceSpec (0.1.6)

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

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.

Generated from protobuf field .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

setLocationType

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

Generated from protobuf field .google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
var int
Returns
TypeDescription
$this