Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class GetAssetRequest.
Request message for GetAsset.
Generated from protobuf message google.cloud.visionai.v1.GetAssetRequest
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the asset to retrieve. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset} |
getName
Required. The name of the asset to retrieve.
Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the asset to retrieve.
Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|