Google Cloud Dataplex V1 Client - Class GetAssetRequest (0.6.0)

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

Get asset request.

Generated from protobuf message google.cloud.dataplex.v1.GetAssetRequest

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the asset: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}.

getName

Required. The resource name of the asset: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}.

Returns
TypeDescription
string

setName

Required. The resource name of the asset: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The resource name of the asset: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}. Please see Google\Cloud\Dataplex\V1\DataplexServiceClient::assetName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\GetAssetRequest