Google Cloud Dataplex V1 Client - Class GetAssetRequest (0.4.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

Methods

build

Parameter
Name Description
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 {@see \Google\Cloud\Dataplex\V1\DataplexServiceClient::assetName()} for help formatting this field.

Returns
Type Description
Google\Cloud\Dataplex\V1\GetAssetRequest

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this